commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
3b1c0389a305e71275f2bbf85c66a4feea769f33 | add string format to PluralConverter | rudyhuyn/PluralNet | PluralNet.Shared/Converters/PluralConverter.cs | PluralNet.Shared/Converters/PluralConverter.cs | #if WINRT || SILVERLIGHT
using Huyn.PluralNet;
using System;
using System.Globalization;
#if WINRT
using Windows.ApplicationModel.Resources;
using Windows.UI.Xaml.Data;
#endif
#if SILVERLIGHT
using System.Windows.Data;
using System.Resources;
#endif
namespace Huyn.PluralNet.Converters
{
public class PluralConve... | #if WINRT || SILVERLIGHT
using Huyn.PluralNet;
using System;
using System.Globalization;
#if WINRT
using Windows.ApplicationModel.Resources;
using Windows.UI.Xaml.Data;
#endif
#if SILVERLIGHT
using System.Windows.Data;
using System.Resources;
#endif
namespace Huyn.PluralNet.Converters
{
public class PluralConve... | mit | C# |
ad502608ac9be5269cb7dd08ec43ecf7659d95da | Update MicrosoftBannerAdUnitBundleTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Advertising/MicrosoftBannerAdUnitBundleTests.cs | TIKSN.UnitTests.Shared/Advertising/MicrosoftBannerAdUnitBundleTests.cs | using FluentAssertions;
using Xunit;
namespace TIKSN.Advertising.Tests
{
public class MicrosoftBannerAdUnitBundleTests
{
[Fact]
public void CreateMicrosoftBannerAdUnitBundle()
{
string applicationId = "b008491d-9b9b-4b78-9d5c-28e08b573268";
string adUnitId = "d3... | using FluentAssertions;
using Xunit;
namespace TIKSN.Advertising.Tests
{
public class MicrosoftBannerAdUnitBundleTests
{
[Fact]
public void CreateMicrosoftBannerAdUnitBundle()
{
string tabletApplicationId = "b008491d-9b9b-4b78-9d5c-28e08b573268";
string tabletAd... | mit | C# |
976d1226cfd1194e181d7cbeddd9cd10492ae679 | Update ILogProvider.cs | damianh/LibLog | src/LibLog/ILogProvider.cs | src/LibLog/ILogProvider.cs | using System;
namespace YourRootNamespace.Logging
{
/// <summary>
/// Represents a way to get a <see cref="Logger"/>
/// </summary>
#if LIBLOG_PROVIDERS_ONLY
internal
#else
public
#endif
interface ILogProvider
{
/// <summary>
/// Gets the specified named logger.
///... | using System;
namespace YourRootNamespace.Logging
{
/// <summary>
/// Represents a way to get a <see cref="ILog"/>
/// </summary>
#if LIBLOG_PROVIDERS_ONLY
internal
#else
public
#endif
interface ILogProvider
{
/// <summary>
/// Gets the specified named logger.
/// <... | mit | C# |
8bf679db8be69f18ac06aba4972a14bcf5e8f513 | Fix nullref in date text box | smoogipooo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,peppy/osu-new,ppy/osu | osu.Game.Tournament/Components/DateTextBox.cs | osu.Game.Tournament/Components/DateTextBox.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Settings;
namespace osu.Game.Tournament.Components
{
publ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Settings;
namespace osu.Game.Tournament.Components
{
publ... | mit | C# |
bc805eba6d23d12c67a2bc6ead642122fe10afbf | Update AssemblyInfo.cs | AdysTech/InfluxDB.Client.Net | AdysTech.InfluxDB.Client.Net/Properties/AssemblyInfo.cs | AdysTech.InfluxDB.Client.Net/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ad... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ad... | mit | C# |
cfe4a592c6710ef79821cb79a4fc5e3e50c9d436 | bump to 1.17 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
9c3e67e531424fe5453ee825db74582f8031e353 | Use C# 9 top-level statements. | ejball/XmlDocMarkdown | src/xmldocmd/Program.cs | src/xmldocmd/Program.cs | using XmlDocMarkdown.Core;
return XmlDocMarkdownApp.Run(args);
| using XmlDocMarkdown.Core;
namespace XmlDocMarkdown
{
public static class Program
{
public static int Main(string[] args) => XmlDocMarkdownApp.Run(args);
}
}
| mit | C# |
109c2ae56e5387d701827b55020a7311b94f0959 | Fix SaaSBehavior | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.SystemConfig/Properties/AssemblyInfo.cs | InfinniPlatform.SystemConfig/Properties/AssemblyInfo.cs | // 1
// 0
// 0
// 87
// 3dbb67e9-cec8-4cb9-979d-256ebb464baf
// 4D908DD410F25EA9607950A27B66CB96
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("InfinniPlatform.SystemConfig")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyComp... | // 1
// 0
// 0
// 86
// 3dbb67e9-cec8-4cb9-979d-256ebb464baf
// D56B9499D7CBBDB3222BA7AE7D993849
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("InfinniPlatform.SystemConfig")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyComp... | agpl-3.0 | C# |
995f7c2d6c93c0ee92587afbc286cc499a3265f4 | Update Program.cs | SimonCropp/CaptureSnippets | src/GitHubMarkdownSnippets/Program.cs | src/GitHubMarkdownSnippets/Program.cs | using System;
using System.IO;
using CaptureSnippets;
class Program
{
static void Main(string[] args)
{
var targetDirectory = GetTargetDirectory(args);
try
{
DirectorySourceMarkdownProcessor.Run(targetDirectory);
}
catch (SnippetReadingException readingExcep... | using System;
using System.IO;
using CaptureSnippets;
class Program
{
static void Main(string[] args)
{
var targetDirectory = GetTargetDirectory(args);
try
{
DirectorySourceMarkdownProcessor.Run(targetDirectory);
}
catch (SnippetReadingException snippetReadi... | mit | C# |
eef32b80a765f179bf06845d09f3e83ba4684057 | Improve usability of ODBFactory | WaltChen/NDatabase,WaltChen/NDatabase | src/Odb/ODBFactory.cs | src/Odb/ODBFactory.cs | namespace NDatabase.Odb
{
/// <summary>
/// The NDatabase Factory to open new instance of local odb.
/// </summary>
public static class OdbFactory
{
private static string _last;
/// <summary>
/// Open a ODB database instance with a given name
/// </sum... | using NDatabase.Odb.Impl.Main;
namespace NDatabase.Odb
{
/// <summary>
/// The NDatabase Factory to open new instance of local odb.
/// </summary>
public static class OdbFactory
{
/// <summary>
/// Open a ODB database instance with a given name
/// </summary>
... | apache-2.0 | C# |
44271088ec96b4d16ae44895650a9f08e7447d3a | Fix again | SuperJMN/Zafiro | Source/Zafiro.Core/UI/DialogMixin.cs | Source/Zafiro.Core/UI/DialogMixin.cs | using System;
using System.Reactive.Linq;
using ReactiveUI;
namespace Zafiro.Core.UI
{
public static class DialogMixin
{
public static IDisposable HandleExceptionsFromCommand(this IDialogService dialogService,
IReactiveCommand command, string title = null, string message = null)
{
... | using System;
using System.Reactive.Linq;
using ReactiveUI;
namespace Zafiro.Core.UI
{
public static class DialogMixin
{
public static IDisposable HandleExceptionsFromCommand<TInput, TOutput>(this IDialogService dialogService,
IReactiveCommand command, string title = null, string message =... | mit | C# |
573901248f0e63c51c0fb569e1f690014041fd4b | improve debugging query | kreeben/resin,kreeben/resin | src/Sir.Store/Term.cs | src/Sir.Store/Term.cs | using System;
namespace Sir
{
/// <summary>
/// A query term.
/// </summary>
public class Term
{
public IComparable Key { get; private set; }
public AnalyzedString TokenizedString { get; set; }
public long KeyId { get; set; }
public int Index { get; set; }
... | using System;
namespace Sir
{
/// <summary>
/// A query term.
/// </summary>
[System.Diagnostics.DebuggerDisplay("{Key}:{TokenizedString.Original}")]
public class Term
{
public IComparable Key { get; private set; }
public AnalyzedString TokenizedString { get; set; }
pub... | mit | C# |
4a97ddd736aece816e80746d00cf29784f53ece2 | Add test TakeLastDisposesSequenceEnumerator | ddpruitt/morelinq,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ,morelinq/MoreLINQ,ddpruitt/morelinq | MoreLinq.Test/TakeLastTest.cs | MoreLinq.Test/TakeLastTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
fb9186281fa55d2084144decb627d529f2f917d3 | Fix unit list page | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Units/List.cshtml | Battery-Commander.Web/Views/Units/List.cshtml | @model IEnumerable<Unit>
<h2>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault... | @model IEnumerable<Unit>
<h2>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h2>
<table class="table table-striped">
<thead>
<tr>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault())</th>
<th>@Html.DisplayNameFor(_ => _.FirstOrDefault().UI... | mit | C# |
7d98263a8b5950516c091a8770ab108dc44757de | Extend character set of function names (including ".") (again) | Excel-DNA/IntelliSense | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
// TODO: What's the Unicode situation?
public static string fo... | using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace ExcelDna.IntelliSense
{
static class FormulaParser
{
// Set from IntelliSenseDisplay.Initialize
public static char ListSeparator = ',';
internal static bool TryGetFormulaInfo(string formulaPrefix, out stri... | mit | C# |
cd08912fcbbf228e5ae722e79d6863dbd34b1228 | Remove search page from top menu | TeaCommerce/Starter-kit-for-Umbraco,TeaCommerce/Starter-kit-for-Umbraco,TeaCommerce/Starter-kit-for-Umbraco | Source/Website/Views/Partials/Navigation/TopMenu.cshtml | Source/Website/Views/Partials/Navigation/TopMenu.cshtml | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
IPublishedContent currentContent = Model.Content,
home = currentContent.AncestorOrSelf( 1 );
//Get all child items of home, except for the Cart page
IReadOnlyList<IPublishedContent> menuItems = home.Children.Where( c => c.DocumentTypeAlias !... | @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@{
IPublishedContent currentContent = Model.Content,
home = currentContent.AncestorOrSelf( 1 );
//Get all child items of home, except for the Cart page
IReadOnlyList<IPublishedContent> menuItems = home.Children.Where( c => c.DocumentTypeAlias !... | mit | C# |
bb58997c7ad6465017d1961cec03939f5fef8f5e | Update to Unity 5.2 cleanup. | drawcode/game-lib-engine | Engine/Vehicle/AI/Scripts/ColliderFriction.cs | Engine/Vehicle/AI/Scripts/ColliderFriction.cs | using UnityEngine;
using System.Collections;
public class ColliderFriction : GameObjectBehavior {
public float frictionValue=0;
// Use this for initialization
void Start () {
collider.material.staticFriction = frictionValue;
//collider.material.staticFriction2 = frictionValue;
colli... | using UnityEngine;
using System.Collections;
public class ColliderFriction : GameObjectBehavior {
public float frictionValue=0;
// Use this for initialization
void Start () {
collider.material.staticFriction = frictionValue;
collider.material.staticFriction2 = frictionValue;
... | mit | C# |
9a996d3e2e2129efcdeb2ae411b644ce04ab67be | Fix version of .NET Framework used to look up XML documentation | ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab,ashmind/SharpLab | source/NetFramework/Server/Platform/Net48AssemblyDocumentationResolver.cs | source/NetFramework/Server/Platform/Net48AssemblyDocumentationResolver.cs | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using AshMind.Extensions;
using System;
using SharpLab.Server.Common.Internal;
namespace SharpLab.Server.Owin.Platform {
public class Net48AssemblyDocumentationResolver : IAssembly... | using System.Collections.Generic;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using AshMind.Extensions;
using System;
using SharpLab.Server.Common.Internal;
namespace SharpLab.Server.Owin.Platform {
public class Net48AssemblyDocumentationResolver : IAssembly... | bsd-2-clause | C# |
d830e8b2eba3138acf350063ee92fc1d7d99addc | Extend RegisterConfigSettings to also register MicrosoftConsoleLayoutRenderer (#567) | NLog/NLog.Extensions.Logging | src/NLog.Extensions.Logging/Config/SetupExtensionsBuilderExtensions.cs | src/NLog.Extensions.Logging/Config/SetupExtensionsBuilderExtensions.cs | using Microsoft.Extensions.Configuration;
using NLog.Config;
namespace NLog.Extensions.Logging
{
/// <summary>
/// Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
/// </summary>
public static class SetupExtensionsBuilderExtensions
{
/// ... | using Microsoft.Extensions.Configuration;
using NLog.Config;
namespace NLog.Extensions.Logging
{
/// <summary>
/// Extension methods to setup NLog extensions, so they are known when loading NLog LoggingConfiguration
/// </summary>
public static class SetupExtensionsBuilderExtensions
{
/// ... | bsd-2-clause | C# |
986abf088bfff87c19e21d9dca47f09daa444584 | Add property | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Web/ViewModels/Transfers/IndexViewModel.cs | src/SFA.DAS.EmployerFinance.Web/ViewModels/Transfers/IndexViewModel.cs | namespace SFA.DAS.EmployerFinance.Web.ViewModels.Transfers
{
public class IndexViewModel
{
public bool RenderCreateTransfersPledgeButton { get; set; }
public bool RenderApplicationListButton { get; set; }
public bool CanViewPledgesSection { get; set; }
public int PledgesCount { ... | namespace SFA.DAS.EmployerFinance.Web.ViewModels.Transfers
{
public class IndexViewModel
{
public bool RenderCreateTransfersPledgeButton { get; set; }
public bool RenderApplicationListButton { get; set; }
public bool CanViewPledgesSection { get; set; }
public int PledgesCount { ... | mit | C# |
9a35a3ebbaede38d33e0433594ffde3c79ca6460 | add cors policy | alkukampela/curling,alkukampela/curling,alkukampela/curling,alkukampela/curling,alkukampela/curling | results/Startup.cs | results/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace results
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace results
{
... | mit | C# |
3da2c78ba4433ffe48e1e5e7cb2ca55727bcca1b | check in rest | dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground,dbaeck/ai-playground | AIPlayground/AIPlayground/Search/Algorithm/GraphSearch/DepthFirstSearch.cs | AIPlayground/AIPlayground/Search/Algorithm/GraphSearch/DepthFirstSearch.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AIPlayground.Search.Problem;
namespace AIPlayground.Search.Algorithm.GraphSearch
{
public class DepthFirstSearch:GraphSearch
{
public DepthFirstSearch(SearchProblem problem) : base... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AIPlayground.Search.Problem;
namespace AIPlayground.Search.Algorithm.GraphSearch
{
public class DepthFirstSearch:GraphSearch
{
public DepthFirstSearch(SearchProblem problem) : base... | mit | C# |
26fa1577d54b790488e66221268962a7b6cca1ae | Update Version.cs for SdkVersion = 5.7.4 | plivo/plivo-dotnet,plivo/plivo-dotnet | src/Plivo/Version.cs | src/Plivo/Version.cs | using System;
namespace Plivo
{
/// <summary>
/// Version.
/// </summary>
public class Version
{
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "5.7.4";
/// <summary>
/// Plivo API version
/// </summary>
... | using System;
namespace Plivo
{
/// <summary>
/// Version.
/// </summary>
public class Version
{
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "5.7.3";
/// <summary>
/// Plivo API version
/// </summary>
... | mit | C# |
77f7ee161e997fd9474097f63dba38a8cbd44722 | Fix test file whitespace. | WebApiContrib/WebApiContrib.Formatting.Razor,WebApiContrib/WebApiContrib.Formatting.Razor,WebApiContrib/WebApiContrib.Formatting.Html,WebApiContrib/WebApiContrib.Formatting.Html,WebApiContrib/WebApiContrib.Formatting.RazorViewEngine,manesiotise/WebApiContrib.Formatting.Razor | test/WebApiContrib.Formatting.RazorViewEngine.Tests/ViewEngineTests.cs | test/WebApiContrib.Formatting.RazorViewEngine.Tests/ViewEngineTests.cs | using System.Net.Http;
using NUnit.Framework;
using WebApiContrib.Formatting.Html;
using WebApiContrib.Formatting.Html.Configuration;
using WebApiContrib.Formatting.Html.Formatters;
using WebApiContrib.Formatting.Razor;
namespace WebApiContrib.Formatting.RazorViewEngine.Tests
{
[TestFixture]
public class View... | using System.IO;
using System.Net.Http;
using System.Reflection;
using NUnit.Framework;
using WebApiContrib.Formatting.Html;
using WebApiContrib.Formatting.Html.Configuration;
using WebApiContrib.Formatting.Html.Formatters;
using WebApiContrib.Formatting.Razor;
namespace WebApiContrib.Formatting.RazorViewEngine.Tests... | mit | C# |
3ce2451faaee30ab500f95262c130e940483201d | remove NET_40 pragma | ZocDoc/ZocBuild.Database | ZocBuild.Database/Util/DbCommandExtensions.cs | ZocBuild.Database/Util/DbCommandExtensions.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZocBuild.Database.Util
{
internal static class DbCommandExtensions
{
public static async Task<IDataReader> ExecuteRe... | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZocBuild.Database.Util
{
internal static class DbCommandExtensions
{
public static async Task<IDataReader> ExecuteRe... | mit | C# |
78b73245d8611c448e2b99714f4c56009ecf931c | revert bug in GetCSharpSimpleName | the-ress/HarshPoint,NaseUkolyCZ/HarshPoint,HarshPoint/HarshPoint | src/HarshPoint/Extensions/TypeInfoExtensions.cs | src/HarshPoint/Extensions/TypeInfoExtensions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
namespace HarshPoint
{
public static class TypeInfoExtensions
{
public static String GetCSharpSimpleName(this TypeInfo typeInfo)
{
if (typeInfo == null)... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
namespace HarshPoint
{
public static class TypeInfoExtensions
{
public static String GetCSharpSimpleName(this TypeInfo typeInfo)
{
if (typeInfo == null)... | bsd-2-clause | C# |
57c46b18215c81594b1792aaa29fa40c28d38d57 | Fix output for overloaded operators | JakeGinnivan/ApiApprover | src/PublicApiGenerator/CSharpOperatorKeyword.cs | src/PublicApiGenerator/CSharpOperatorKeyword.cs | using System.Collections.Generic;
namespace PublicApiGenerator
{
internal static class CSharpOperatorKeyword
{
static readonly IDictionary<string, string> OperatorNameMap = new Dictionary<string, string>
{
{ "op_False", "false" },
{ "op_True", "true" },
{ "op... | using System.Collections.Generic;
namespace PublicApiGenerator
{
internal static class CSharpOperatorKeyword
{
static readonly IDictionary<string, string> OperatorNameMap = new Dictionary<string, string>
{
{ "op_Addition", "+" },
{ "op_UnaryPlus", "+" },
{ "o... | mit | C# |
f41076681028dd7d90f4240cca533ab539b22a0c | Make it possible to configure time to pulse | GMJS/gmjs_ocs_dpt | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOut... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOutput { get; ... | mit | C# |
bbcf485005a0e070ecef82209649c49e8a5ac319 | Fix comment | bartdesmet/roslyn,weltkante/roslyn,mavasani/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,dotnet/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotne... | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/FormattingOptions2.IndentStyle.cs | src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Formatting/FormattingOptions2.IndentStyle.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.Formatting
{
internal partial class FormattingOptions2
{
/// <summ... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Microsoft.CodeAnalysis.Formatting
{
internal partial class FormattingOptions2
{
/// <summ... | mit | C# |
90d93adf2c088794123dd158a7f98525b662788f | Tweak the Monokai color theme | jamesqo/Repository,jamesqo/Repository,jamesqo/Repository | Repository/Internal/EditorServices/SyntaxHighlighting/MonokaiColorTheme.cs | Repository/Internal/EditorServices/SyntaxHighlighting/MonokaiColorTheme.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.Graphics;
using Repository.EditorServices.SyntaxHighlighting;
namespace Repository.Internal.EditorServices.SyntaxHighlighting
{
internal class MonokaiColorTheme : IColorTheme
{
public Color B... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.Graphics;
using Repository.EditorServices.SyntaxHighlighting;
namespace Repository.Internal.EditorServices.SyntaxHighlighting
{
internal class MonokaiColorTheme : IColorTheme
{
public Color B... | mit | C# |
ab09e6f2fde0e7284d637cc84751e295659885f1 | Bump for next version | adamcaudill/libsodium-net,fraga/libsodium-net,BurningEnlightenment/libsodium-net,adamcaudill/libsodium-net,tabrath/libsodium-core,deckar01/libsodium-net,deckar01/libsodium-net,bitbeans/libsodium-net,bitbeans/libsodium-net,BurningEnlightenment/libsodium-net,fraga/libsodium-net | libsodium-net/Properties/AssemblyInfo.cs | libsodium-net/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("li... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("li... | mit | C# |
f8166e54c07804ab7e143b0a425384ea2c436499 | Use Interlocked | arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp | src/PendingCall.cs | src/PendingCall.cs | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace NDesk.DBus
{
class PendingCall
{
Connection conn;
Message reply = null;
object lockObj = new object ();
public PendingCall (Connec... | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Threading;
namespace NDesk.DBus
{
class PendingCall
{
Connection conn;
Message reply = null;
object lockObj = new object ();
public PendingCall (Connec... | mit | C# |
8ed7510c1f513eec3bc081921a438c640bc0be2f | return null on Zero for reference types | signumsoftware/framework,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework,MehdyKarimpour/extensions,MehdyKarimpour/extensions,AlejandroCano/extensions | Signum.Engine.MachineLearning.CNTK/CNTKDefault.cs | Signum.Engine.MachineLearning.CNTK/CNTKDefault.cs | using System;
using Signum.Entities.MachineLearning;
using Signum.Utilities;
namespace Signum.Engine.MachineLearning.CNTK
{
public static class CNTKDefault
{
static readonly object Zero = 0;
public static object GetDefaultValue(PredictorCodification c)
{
switch (... | using System;
using Signum.Entities.MachineLearning;
using Signum.Utilities;
namespace Signum.Engine.MachineLearning.CNTK
{
public static class CNTKDefault
{
public static object GetDefaultValue(PredictorCodification c)
{
switch (c.Column.NullHandling)
{
... | mit | C# |
d15cc9a192a492f96aa91f479aec730f571f79d3 | Delete usings | smoogipooo/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,default0/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-frame... | osu.Framework/Platform/Windows/WindowsGameWindow.cs | osu.Framework/Platform/Windows/WindowsGameWindow.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using OpenTK.Input;
namespace osu.Framework.Platform.Windows
{
internal class WindowsGameWindow : DesktopGameWindow
{
protected over... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using OpenTK.Input;
nam... | mit | C# |
a934c6a940c9bd4fde697e20534e17701792bf7d | Fix a unit test for new Delayer logic (immediate if possible) | charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui | Tests/Mapsui.Tests/Fetcher/FeatureFetcherTests.cs | Tests/Mapsui.Tests/Fetcher/FeatureFetcherTests.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Fetcher
{
[TestFixture]
public class FeatureFetcherTests
{
[Test]
public void TestFeatureFetcher... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Mapsui.Geometries;
using Mapsui.Layers;
using Mapsui.Providers;
using NUnit.Framework;
namespace Mapsui.Tests.Fetcher
{
[TestFixture]
public class FeatureFetcherTests
{
[Test]
public void TestFeatureFetcher... | mit | C# |
b00489faac8dec95784a1ef1217782616e516008 | Bump to v2.3.0.0 | bobus15/proshine,MeltWS/proshine,Silv3rPRO/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: As... | mit | C# |
21a26b9826158614f7ddc87f736ce207168804c3 | Expand /Puzzle | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Views/Puzzle/Index.cshtml | src/ChessVariantsTraining/Views/Puzzle/Index.cshtml | @section Title {Puzzles start page}
Choose one of the variants!
<ul>
<li>@Html.ActionLink("Antichess", "Train", "Puzzle", new { variant = "Antichess" }, null)</li>
<li>@Html.ActionLink("Atomic", "Train", "Puzzle", new { variant = "Atomic" }, null)</li>
<li>@Html.ActionLink("Horde", "Train", "Puzzle", new {... | @section Title {Puzzles start page}
Choose one of the variants!
<ul>
<li>@Html.ActionLink("Antichess", "Train", "Puzzle", new { variant = "Antichess" }, null)</li>
<li>@Html.ActionLink("Atomic", "Train", "Puzzle", new { variant = "Atomic" }, null)</li>
<li>@Html.ActionLink("Horde", "Train", "Puzzle", new {... | agpl-3.0 | C# |
14a21f1156ac4df4fa5521d248ddef0d7c3545e6 | Remove unused method. | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Base/PropertyStore/ValueFrame.cs | src/Avalonia.Base/PropertyStore/ValueFrame.cs | using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Avalonia.Data;
using Avalonia.Utilities;
namespace Avalonia.PropertyStore
{
internal abstract class ValueFrame
{
private readonly AvaloniaPropertyValueStore<IValueEntry> _entries = new();
public int EntryCount => _entries.... | using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using Avalonia.Data;
using Avalonia.Utilities;
namespace Avalonia.PropertyStore
{
internal abstract class ValueFrame
{
private readonly AvaloniaPropertyValueStore<IValueEntry> _entries = new();
public int EntryCount => _entries.... | mit | C# |
ecceae45212326f756255de8a9a4062a287230f7 | modify CatThreadLocal | chinaboard/PureCat | PureCat/Util/CatThreadLocal.cs | PureCat/Util/CatThreadLocal.cs | using System.Threading;
using System.Collections.Concurrent;
namespace PureCat.Util
{
public class CatThreadLocal<T> where T : class
{
private readonly ConcurrentDictionary<int, T> _mValues = new ConcurrentDictionary<int, T>();
public T Value
{
get
... | using System.Collections;
using System.Threading;
using System.Collections.Concurrent;
namespace PureCat.Util
{
public class CatThreadLocal<T> where T : class
{
private readonly ConcurrentDictionary<int, T> _mValues = new ConcurrentDictionary<int, T>();
public T Value
{
... | mit | C# |
9563e329ea67bb7e1f58797f59a169af5e02a0b3 | Fix binary GUIDs showing up in Mongo optionlists | sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge | src/LfMerge/LanguageForge/Model/LfOptionListItem.cs | src/LfMerge/LanguageForge/Model/LfOptionListItem.cs | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfOptionListItem
{
[BsonRepresentation(BsonType.String... | // Copyright (c) 2016 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
namespace LfMerge.LanguageForge.Model
{
public class LfOptionListItem
{
public Guid? Guid { get; set; }
public string Key { get; set; }
public string Value { get; set; ... | mit | C# |
31ebb29d5f63ddd96d40c539ecf29b670bf181c0 | Fix the spaces! | MiniProfiler/dotnet,MiniProfiler/dotnet | src/MiniProfiler.AspNetCore.Mvc/ProfileTagHelper.cs | src/MiniProfiler.AspNetCore.Mvc/ProfileTagHelper.cs | using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace StackExchange.Profiling
{
/// <summary>
/// Tag helper to profile child contents in ASP.NET Core views, e.g.
/// <profile name="My Step" />
/// ...child content...
/// </profile>
/// </summary>
... | using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace StackExchange.Profiling
{
/// <summary>
/// Tag helper to profile child contents in ASP.NET Core views, e.g.
/// <profile name="My Step" />
/// ...child content...
/// </profile>
/// </summary>
... | mit | C# |
70dfe1b5626cc47238637e77e3b7463e18ab15e9 | Improve voicestats command output. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/NadekoBot/Modules/Utility/VoiceStatsCommands.cs | src/NadekoBot/Modules/Utility/VoiceStatsCommands.cs | using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Modules.Utility.Services;
using Mitternacht.Services;
using System;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility
{
public partial class Utility
{
public class VoiceStatsCommands : Mitte... | using Discord;
using Discord.Commands;
using Mitternacht.Common.Attributes;
using Mitternacht.Modules.Utility.Services;
using Mitternacht.Services;
using System;
using System.Threading.Tasks;
namespace Mitternacht.Modules.Utility
{
public partial class Utility
{
public class VoiceStatsCommands : Mitte... | mit | C# |
db4b574689b6f4c0a6cd63e35c704d13bae705ee | fix indentation | vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/_Core/Utilities/Editor/EditorProjectUtilities.cs | Assets/MixedRealityToolkit/_Core/Utilities/Editor/EditorProjectUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
#if UNITY_EDITOR
namespace Microsoft.MixedReality.Toolkit.Core.Utilities.Editor
{
[InitializeOnLoad]
internal class EditorProjectUtiliti... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
#if UNITY_EDITOR
namespace Microsoft.MixedReality.Toolkit.Core.Utilities.Editor
{
[InitializeOnLoad]
internal class EditorProjectUtiliti... | mit | C# |
29df5476d7c56c2858c1c8426e1b54ae97f464a9 | 修复MessageController控制器的方法映射错误。 :taco: | Zongsoft/Zongsoft.Community | src/api/Http/Controllers/MessageController.cs | src/api/Http/Controllers/MessageController.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <95558... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <95558... | apache-2.0 | C# |
24ed75009ff5c544961b8a829fa747c76e90ac04 | add helper method InitializeDictionary | ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplat... | src/Abp/Localization/Dictionaries/LocalizationDictionaryProviderBase.cs | src/Abp/Localization/Dictionaries/LocalizationDictionaryProviderBase.cs | using System.Collections.Generic;
namespace Abp.Localization.Dictionaries
{
public abstract class LocalizationDictionaryProviderBase : ILocalizationDictionaryProvider
{
public string SourceName { get; private set; }
public ILocalizationDictionary DefaultDictionary { get; protected set; }
... | using System.Collections.Generic;
namespace Abp.Localization.Dictionaries
{
public abstract class LocalizationDictionaryProviderBase : ILocalizationDictionaryProvider
{
public string SourceName { get; private set; }
public ILocalizationDictionary DefaultDictionary { get; protected set; }
... | mit | C# |
c9466426b743471e36e4126f3637d44c00fc819c | Change field to local variable | smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.Setup
{
internal class TournamentSwitcher : ActionableInfo
{
private OsuDropdown<string> dropdown;
[Resolved]
private... | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
using osu.Game.Tournament.IO;
namespace osu.Game.Tournament.Screens.Setup
{
internal class TournamentSwitcher : ActionableInfo
{
private OsuDropdown<string> dropdown;
private string startupTour... | mit | C# |
951a309d0447ed06c6691a2faed003bcf6c3e291 | Increase placement testcase circlesize | UselessToucan/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,ZLima12/osu,naoey/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,smoog... | osu.Game/Tests/Visual/HitObjectPlacementMaskTestCase.cs | osu.Game/Tests/Visual/HitObjectPlacementMaskTestCase.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using os... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using os... | mit | C# |
30a2daf07816546b08fe46dab65bd4da70847911 | Update AppDbContext.cs | carldai0106/aspnetboilerplate,luchaoshuai/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspne... | test/Abp.Zero.SampleApp.EntityFramework/EntityFramework/AppDbContext.cs | test/Abp.Zero.SampleApp.EntityFramework/EntityFramework/AppDbContext.cs | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Common;
using System.Data.Entity;
using Abp.Zero.EntityFramework;
using Abp.Zero.SampleApp.BookStore;
using Abp.Zero.SampleApp.EntityHistory;
using Abp.Zero.SampleApp.MultiTenancy;
using Abp.Zero.SampleApp.Roles;
using Abp.Zero.SampleApp.Users;
nam... | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Common;
using System.Data.Entity;
using Abp.Zero.EntityFramework;
using Abp.Zero.SampleApp.BookStore;
using Abp.Zero.SampleApp.EntityHistory;
using Abp.Zero.SampleApp.MultiTenancy;
using Abp.Zero.SampleApp.Roles;
using Abp.Zero.SampleApp.Users;
nam... | mit | C# |
dd13e2508ae854c483b60afcfa8aadd994393bc5 | Add note about toast height | UselessToucan/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,Neo... | osu.Game/Overlays/OSD/Toast.cs | osu.Game/Overlays/OSD/Toast.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Overlays.OSD
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Game.Overlays.OSD
{
... | mit | C# |
475b7c78d9295905ee3bf942d1994ca0a7f7cfbf | Call GetServerInfo asynchronously | tvdburgt/subtle | Subtle.Gui/AboutForm.cs | Subtle.Gui/AboutForm.cs | using System.Windows.Forms;
using Octokit;
using Subtle.Model;
using Application = System.Windows.Forms.Application;
namespace Subtle.Gui
{
public partial class AboutForm : Form
{
private const string RepositoryOwner = "tvdburgt";
private const string RepositoryName = "subtle";
private... | using System.Windows.Forms;
using Octokit;
using Subtle.Model;
using Application = System.Windows.Forms.Application;
namespace Subtle.Gui
{
public partial class AboutForm : Form
{
private const string RepositoryOwner = "tvdburgt";
private const string RepositoryName = "subtle";
private... | mit | C# |
5a2220091e269710aedbec0509d20a3b4fa1e3ad | add filter for twitter user id | bodell/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,tonyeung/IdentityServer3,codeice/IdentityServer3,bestwpw/IdentityServer3,tonyeung/IdentityServer3,kouweizhong/IdentityServer3,tbitowner/IdentityServer3,remunda/IdentityServer3,bodell/IdentityServer3,uoko-J-Go/IdentityServer,tbitowner/IdentityServer3,ryanvgates... | source/Core/Services/DefaultExternalClaimsFilter.cs | source/Core/Services/DefaultExternalClaimsFilter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.Services
{
public class DefaultExternalClaimsFilter : IExternalClaimsFilter
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.IdentityServer.Core.Models;
namespace Thinktecture.IdentityServer.Core.Services
{
public class DefaultExternalClaimsFilter : IExternalClaimsFilter
... | apache-2.0 | C# |
9fb59a078a1157cddef0989cf03b75de15ee309e | remove redundant condition | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity | Assets/MRTK/SDK/Features/UX/Scripts/Utilities/ToggleHandVisualisation.cs | Assets/MRTK/SDK/Features/UX/Scripts/Utilities/ToggleHandVisualisation.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.UI
{
[AddComponentMenu("Scripts/MRTK/SDK/ToggleHandVisualisation")]
public class ToggleHandVisualisation : MonoBehaviour
{
... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.Input;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.UI
{
[AddComponentMenu("Scripts/MRTK/SDK/ToggleHandVisualisation")]
public class ToggleHandVisualisation : MonoBehaviour
{
... | mit | C# |
31258effe72baa57d3ebfedef197aa32d0ffaa06 | Increase horizontal camera turn speed | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | apache-2.0 | C# |
3f4ba93f4b3b925d310db8bce078c63606f2a76a | change default | davidbetz/nalarium | Nalarium/Text/Process.cs | Nalarium/Text/Process.cs | #region Copyright
//+ Copyright David Betz 2008-2015
#endregion
namespace Nalarium.Text
{
/// <summary>
/// General text manipulation.
/// </summary>
public static class Process
{
/// <summary>
/// Returns up to n-characters.
/// </summary>
/// <param name... | #region Copyright
//+ Copyright David Betz 2008-2015
#endregion
namespace Nalarium.Text
{
/// <summary>
/// General text manipulation.
/// </summary>
public static class Process
{
/// <summary>
/// Returns up to n-characters.
/// </summary>
/// <param name... | bsd-3-clause | C# |
03ae9db7c5ad37b658f88de942285b1499e5d8e8 | Fix versioning to 1.0.0 - adopting SemVer | managed-commons/managed-commons-getoptions,managed-commons/managed-commons-getoptions | Assembly/AssemblyInfo.cs | Assembly/AssemblyInfo.cs | // Commons.GetOptions Assembly Information
//
// Copyright ©2002-2014 Rafael 'Monoman' Teixeira, Managed Commons Team
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction... | // Commons.GetOptions Assembly Information
//
// Copyright ©2002-2007 Rafael 'Monoman' Teixeira
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without... | mit | C# |
fc05cfef9adf8ca40ba2286944673fb8f6380b1c | Move OutboundSocket.Connect() out of constructor. | danbarua/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket | src/NEventSocket/OutboundSocket.cs | src/NEventSocket/OutboundSocket.cs | namespace NEventSocket
{
using System;
using System.Net.Sockets;
using System.Reactive.Linq;
using System.Threading.Tasks;
using Common.Logging;
using NEventSocket.FreeSwitch;
using NEventSocket.Sockets;
public class OutboundSocket : EventSocket
{
private st... | namespace NEventSocket
{
using System;
using System.Net.Sockets;
using System.Reactive.Linq;
using Common.Logging;
using NEventSocket.FreeSwitch;
using NEventSocket.Sockets;
public class OutboundSocket : EventSocket
{
private static readonly ILog Log = LogManager... | mpl-2.0 | C# |
c31929597914ad1e1e8184a634250e48fc05d5fb | Send a MouseMove event between Down,Up | northwoodspd/uia,northwoodspd/uia,northwoodspd/uia,northwoodspd/uia | ext/UiaDll/UIA.Helper/Mouse.cs | ext/UiaDll/UIA.Helper/Mouse.cs | using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Forms;
namespace UIA.Helper
{
public class Mouse
{
[DllImport("user32.dll")]
static extern void mouse_event(uint flags, uint x, uint y, uint data, int extraInfo);
... | using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Forms;
namespace UIA.Helper
{
public class Mouse
{
[DllImport("user32.dll")]
static extern void mouse_event(uint flags, uint x, uint y, uint data, int extraInfo);
... | mit | C# |
d81771bf145e7e0de2e8734a962b21611429be56 | Use references in the documentation (this also removes the spelling warning). | peopleware/net-ppwcode-vernacular-wcf | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | src/PPWCode.Vernacular.Wcf.I/Config/WcfConstants.cs | // Copyright 2014 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | // Copyright 2014 by PeopleWare n.v..
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... | apache-2.0 | C# |
f6136797eab6de7f6436e60b2d0e8575a0e3ab89 | return picture base_link from pictures class | mfilippov/vimeo-dot-net | src/VimeoDotNet/Models/Pictures.cs | src/VimeoDotNet/Models/Pictures.cs | using System.Collections.Generic;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace VimeoDotNet.Models
{
/// <summary>
/// User pictures
/// </summary>
public class Pictures
{
/// <summary>
/// URI
/// </summary>
[PublicAPI]
[JsonProperty(Propert... | using System.Collections.Generic;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace VimeoDotNet.Models
{
/// <summary>
/// User pictures
/// </summary>
public class Pictures
{
/// <summary>
/// URI
/// </summary>
[PublicAPI]
[JsonProperty(Propert... | mit | C# |
6bdf139df079e3e1f489d622f2dce501a68e03c6 | Check for Enabled | angelapper/IdentityServer3,wondertrap/IdentityServer3,IdentityServer/IdentityServer3,angelapper/IdentityServer3,tonyeung/IdentityServer3,mvalipour/IdentityServer3,delloncba/IdentityServer3,kouweizhong/IdentityServer3,olohmann/IdentityServer3,paulofoliveira/IdentityServer3,codeice/IdentityServer3,iamkoch/IdentityServer3... | source/WsFed/Services/TestRelyingPartyService.cs | source/WsFed/Services/TestRelyingPartyService.cs | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System;
using System.Security.Claims;
using Thinktecture.IdentityServer.WsFed.Models;
namespace Thinktecture.IdentityServer.WsFed.Services
{
public class TestRelyingPartyService : IRelyingPartyService
{
pub... | /*
* Copyright (c) Dominick Baier, Brock Allen. All rights reserved.
* see license
*/
using System;
using System.Security.Claims;
using Thinktecture.IdentityServer.WsFed.Models;
namespace Thinktecture.IdentityServer.WsFed.Services
{
public class TestRelyingPartyService : IRelyingPartyService
{
pub... | apache-2.0 | C# |
7a753ad9e2750dcc6ee0f22b7748250edabf9e1f | Change grouping title colours to match white background | ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,ZLima12/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,pep... | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentGrouping.cs | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentGrouping.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using OpenTK.Graphics;
namespace osu.Game.Tournament.Screens.Lad... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Tournament.Screens.Ladder.Components
{
pu... | mit | C# |
6122ef5828afbbc9e55c098fdbf5f4b826457863 | Fix for poorly migrated Script Library | ostat/Console,ostat/Console | Core/Host/CommandHelp.cs | Core/Host/CommandHelp.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Management.Automation;
using System.Text;
using Cognifide.PowerShell.Core.Modules;
using Cognifide.PowerShell.Core.Settings;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Items;
namespace C... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Management.Automation;
using System.Text;
using Cognifide.PowerShell.Core.Modules;
using Sitecore.Data;
using Sitecore.Data.Items;
namespace Cognifide.PowerShell.Core.Host
{
public static class CommandHelp
... | mit | C# |
77f6724ca33850c359218c6c0f7bd1c00c13191c | Fix link to account page while in admin area | mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/... | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)" title="Register for a... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)" title="Register for a... | apache-2.0 | C# |
7e10a151d2b2aca2a74c641e6b8230e03c689b12 | Fix order of title/message in dialog | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Utils/SafeSyncthingExtensions.cs | src/SyncTrayzor/Utils/SafeSyncthingExtensions.cs | using Stylet;
using SyncTrayzor.Localization;
using SyncTrayzor.SyncThing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SyncTrayzor.Utils
{
public static class SafeSyncthingExtension... | using Stylet;
using SyncTrayzor.Localization;
using SyncTrayzor.SyncThing;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SyncTrayzor.Utils
{
public static class SafeSyncthingExtension... | mit | C# |
07391565989e8200ab496fffff8b62a14ddcc53f | Add back responsive view | wangkanai/Detection | src/DependencyInjection/BuilderExtensions/Responsive.cs | src/DependencyInjection/BuilderExtensions/Responsive.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInje... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInje... | apache-2.0 | C# |
e4af71d1098cf2d044f4179fe8e59a3dfe18f964 | update assembly info | jamesmontemagno/InAppBillingPlugin | src/Plugin.InAppBilling.tvOS/Properties/AssemblyInfo.cs | src/Plugin.InAppBilling.tvOS/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pl... | mit | C# |
660213a27fe34117a6b462dcb081db88bf673721 | clarify warning | strotz/pustota,strotz/pustota,strotz/pustota | src/Pustota.Maven/Validation/ProjecModulesValidation.cs | src/Pustota.Maven/Validation/ProjecModulesValidation.cs | using System.Collections.Generic;
using Pustota.Maven.Models;
namespace Pustota.Maven.Validation
{
class ProjecModulesValidation : IProjectValidator
{
public IEnumerable<IProjectValidationProblem> Validate(IExecutionContext context, IProject project)
{
foreach (var module in project.Operations().All... | using System.Collections.Generic;
using Pustota.Maven.Models;
namespace Pustota.Maven.Validation
{
class ProjecModulesValidation : IProjectValidator
{
public IEnumerable<IProjectValidationProblem> Validate(IExecutionContext context, IProject project)
{
foreach (var module in project.Operations().All... | mit | C# |
d301375ee5d2ed6d4b065656c569f204029e7f73 | test travis | riguelbf/SWITCH-OVER | src/SWITCH-OVER.Crosscutting.Ioc/ApiRegisterServices.cs | src/SWITCH-OVER.Crosscutting.Ioc/ApiRegisterServices.cs | using Microsoft.Extensions.DependencyInjection;
namespace SWITCH_OVER.Crosscutting.Ioc
{
public class ApiRegisterServices
{
public static void Register(IServiceCollection services)
{
//
}
}
}
| using Microsoft.Extensions.DependencyInjection;
namespace SWITCH_OVER.Crosscutting.Ioc
{
public class ApiRegisterServices
{
public static void Register(IServiceCollection services)
{
}
}
}
| mit | C# |
94e9242b08947f73d1c389221e828c9d918ce7c8 | Update BlobStructure.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Systems/Antagonists/Antags/Blob/BlobStructure.cs | UnityProject/Assets/Scripts/Systems/Antagonists/Antags/Blob/BlobStructure.cs | using System;
using System.Collections;
using System.Collections.Generic;
using Light2D;
using UnityEngine;
namespace Blob
{
/// <summary>
/// Class used as a data holder on an object, all logic is in BlobPlayer
/// </summary>
public class BlobStructure : MonoBehaviour
{
public bool isCore;
public bool isNod... | using System;
using System.Collections;
using System.Collections.Generic;
using Light2D;
using UnityEngine;
namespace Blob
{
/// <summary>
/// Class used as a data holder on an object, all logic is in BlobPlayer
/// </summary>
public class BlobStructure : MonoBehaviour
{
public bool isCore;
public bool isNod... | agpl-3.0 | C# |
bf76b803309e3d6fdd83d9ac776d92f9f3833005 | Make tests pass | kgiszewski/Archetype,kipusoep/Archetype,kipusoep/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,tomfulton/Archetype,tomfulton/Archetype,imulus/Archetype,tomfulton/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,kipusoep/Archetype,kjac/Archetype,imulus/Archetype,imul... | app/Umbraco/Umbraco.Archetype/PropertyConverters/ArchetypeValueConverter.cs | app/Umbraco/Umbraco.Archetype/PropertyConverters/ArchetypeValueConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Archetype.Umbraco.Extensions;
using Archetype.Umbraco.Models;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Services;
... | using System;
using System.Collections.Generic;
using System.Linq;
using Archetype.Umbraco.Extensions;
using Archetype.Umbraco.Models;
using Newtonsoft.Json;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEditors;
using Umbraco.Core.Services;
... | mit | C# |
70dca263a7a2df2a0c87dd159cefecc6c5570556 | Update CollectionTests.cs | hiddenswitch/Meteor-Unity,hiddenswitch/Meteor-Unity | Tests/CollectionTests.cs | Tests/CollectionTests.cs | #if TESTS
using System;
using Meteor;
using UnityEngine;
using Extensions;
using System.Collections;
using System.Linq;
using UnTested;
namespace Meteor.Tests
{
[TestFixture]
public class CollectionTests : ConnectionTestDependency
{
public class TestCollection1Type : MongoDocument {
public string field1;
pu... | #if TESTS
using System;
using Meteor;
using UnityEngine;
using Extensions;
using System.Collections;
using System.Linq;
using UnTested;
namespace Meteor.Tests
{
[TestFixture]
public class CollectionTests : ConnectionTestDependency
{
public class TestCollection1Type : MongoDocument {
public string field1;
pu... | mit | C# |
c2fe34ad50bd44595a1be2eedb48527130612d6b | add new services to mapimage plugin | brnkhy/MapzenGo,brnkhy/MapzenGo | Assets/MapzenGo/Models/Plugins/MapImagePlugin.cs | Assets/MapzenGo/Models/Plugins/MapImagePlugin.cs | using System;
using System.Collections.Generic;
using MapzenGo.Models.Plugins;
using UniRx;
using UnityEngine;
namespace MapzenGo.Models.Plugins
{
public class MapImagePlugin : Plugin
{
public enum TileServices
{
Default,
Satellite,
Terrain,
Tone... | using System;
using System.Collections.Generic;
using MapzenGo.Models.Plugins;
using UniRx;
using UnityEngine;
namespace MapzenGo.Models.Plugins
{
public class MapImagePlugin : Plugin
{
public string MapImageUrlBase = "http://b.tile.openstreetmap.org/";
public override void Create(Tile tile)
... | mit | C# |
49d1859bd10c6cffdc049c460d035db9fe6a241f | Fix build | gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Client/Systems/SettingsSys/SettingsStructures.cs | Client/Systems/SettingsSys/SettingsStructures.cs | using LunaClient.Systems.PlayerColorSys;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace LunaClient.Systems.SettingsSys
{
[Serializable]
public class SettingStructure
{
public string Language { get; set; } = "English";
public string PlayerName { get; set; } = "... | using LunaClient.Systems.PlayerColorSys;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace LunaClient.Systems.SettingsSys
{
[Serializable]
public class SettingStructure
{
public string Language { get; set; } = "English";
public string PlayerName { get; set; } = "... | mit | C# |
d2dc79d8ef663356c6d1111ae5707618fc4e59a9 | Add DX11Layout and DX11Shader as dx resources | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv | Core/VVVV.DX11.Core/Rendering/Layer/DX11Layer.cs | Core/VVVV.DX11.Core/Rendering/Layer/DX11Layer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
namespace VVVV.DX11
{
[Obsolete("This does access IPluginIO, which fails in case of multi core access, this will be ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using FeralTic.DX11;
using FeralTic.DX11.Resources;
namespace VVVV.DX11
{
[Obsolete("This does access IPluginIO, which fails in case of multi core access, this will be ... | bsd-3-clause | C# |
b75c0236ffd0f865ec61ae0047d38fb1f681c481 | extend the DataGridView with UIA.Extensions | modulexcite/RAutomation,jarmo/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,jarmo/RAutomation,jarmo/RAutomation,modulexcite/RAutomation,modulexcite/RAutomation | ext/WindowsForms/WindowsForms/DataGridView.cs | ext/WindowsForms/WindowsForms/DataGridView.cs | using System;
using System.Windows.Forms;
using FizzWare.NBuilder;
using UIA.Extensions;
namespace WindowsForms
{
public partial class DataGridView : Form
{
public DataGridView()
{
InitializeComponent();
dataGridView1.AsTable();
}
public class Person
... | using System;
using System.Linq;
using System.Windows.Forms;
using FizzWare.NBuilder;
namespace WindowsForms
{
public partial class DataGridView : Form
{
public DataGridView()
{
InitializeComponent();
}
public class Person
{
// ReSharper disable... | mit | C# |
a8fece7f218bffac5010d6d06086979f35de39ef | Fix sync issue | Evorlor/Fitachi,Evorlor/Fitachi,Evorlor/Fitachi | Assets/Scripts/AdventureScripts/AdventuringPlayer.cs | Assets/Scripts/AdventureScripts/AdventuringPlayer.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdventuringPlayer : MonoBehaviour {
private int AttackDamage;
private float attackSpeed;
public float weakenPlayerMultiplier = 10.0f;
List<Enemy> enemies = new List<Enemy>();
// Use this for initializati... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class AdventuringPlayer : MonoBehaviour {
private int AttackDamage;
private float attackSpeed;
public float weakenPlayerMultiplier = 10.0f;
List<Enemy> enemies = new List<Enemy>();
void Awake()
{
a... | mit | C# |
e7add19b9b51ffc439758fc481ced1667a55320b | Add sanity checking for AVPlayerLayer | martijn00/XamarinMediaManager,bubavanhalen/XamarinMediaManager,modplug/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager | MediaManager/Plugin.MediaManager.iOS/VideoSurface.cs | MediaManager/Plugin.MediaManager.iOS/VideoSurface.cs | using System;
using AVFoundation;
using CoreGraphics;
using Foundation;
using Plugin.MediaManager.Abstractions;
using UIKit;
namespace Plugin.MediaManager.iOS
{
public class VideoSurface : UIView, IVideoSurface
{
public override void LayoutSubviews()
{
base.LayoutSubviews();
if (Layer.Sublayers == ... | using AVFoundation;
using Plugin.MediaManager.Abstractions;
using UIKit;
namespace Plugin.MediaManager.iOS
{
public class VideoSurface : UIView, IVideoSurface
{
public override void LayoutSubviews()
{
foreach (var layer in Layer.Sublayers)
{
var avPlayerLayer = layer as AVPlayerLayer;
if (a... | mit | C# |
023318f7ca7dd8b4825f1ed74cb310ca0525d2e4 | Increment the app version. | ladimolnar/BitcoinBlockchain | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
81475e7baee5f7f5314c7e9c34d542835cc9a935 | Fix user name detection for some regions | Gl0/CasualMeter,lunyx/CasualMeter | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | Tera.Core/Game/Messages/Server/LoginServerMessage.cs | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Tera.Game.Messages
{
public class LoginServerMessage : ParsedMessage
{
public EntityId Id { get; private set; }
public uint PlayerId { get; private set; }
... | mit | C# |
9aa219c6f5dbbe3c3a6ff857c3e3613ea7f58b61 | test commit | lukaspicha/SimplyCounter | Models/TimeStampModel.cs | Models/TimeStampModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimplyCounter.Models
{
/// <summary>
/// TimeStampModel, implements ICounter.
/// </summary>
public class TimeStampModel : ICounter
{
private int value;
pri... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SimplyCounter.Models
{
/// <summary>
/// TimeStampModel, implements ICounter.
/// </summary>
public class TimeStampModel : ICounter
{
private int value;
pri... | mit | C# |
26a4701bf4545d1b4d47349e0737b7f0385f7559 | Fix Account Controller unittest | skynode/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnCon... | test/Services/UnitTest/Account/AccountControllerTest.cs | test/Services/UnitTest/Account/AccountControllerTest.cs | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.Controllers;
using Moq;
using System.Security.Claims;
using Xunit;
namespace UnitTest.Account
{
public class AccountControllerTest
{
private readonl... | using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.eShopOnContainers.WebMVC.Controllers;
using Microsoft.eShopOnContainers.WebMVC.Services;
using Microsoft.eShopOnContainers.WebMVC.ViewModels;
using... | mit | C# |
ebbbaec2be2c5342b2ca7661491f0b7d4749f071 | Update AssemblyInfo | lanayotech/vagrant-manager-windows | Lanayo.VagrantManager/Properties/AssemblyInfo.cs | Lanayo.VagrantManager/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Va... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Va... | mit | C# |
1f0537422af99bf356e27c11b492897010e757a6 | Update AddWorksheetsToExistingExcelFile.cs | asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,ma... | Examples/CSharp/Worksheets/Management/AddWorksheetsToExistingExcelFile.cs | Examples/CSharp/Worksheets/Management/AddWorksheetsToExistingExcelFile.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class AddWorksheetsToExistingExcelFile
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Worksheets.Management
{
public class AddWorksheetsToExistingExcelFile
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.Get... | mit | C# |
bcfbfcf97563dee3cbbf556c82fa1b0c6a00d0bd | Test change | michael-reichenauer/GitMind | GitMind/Common/ExceptionHandling.cs | GitMind/Common/ExceptionHandling.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using GitMind.Utils;
namespace GitMind.Common
{
internal static class ExceptionHandling
{
private static bool hasDisplayedErrorMessageBox;
private static bool hasFailed;
public static... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
using GitMind.Utils;
namespace GitMind.Common
{
internal static class ExceptionHandling
{
private static bool hasDisplayedErrorMessageBox;
private static bool hasFailed;
public static... | mit | C# |
0503477ef636b39e581a7e325d463c3246183c83 | Update AssemblyInfo.cs | 304NotModified/NLog.Web,mmaitre314/NLog.Web,NLog/NLog.Web | NLog.Web/Properties/AssemblyInfo.cs | NLog.Web/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NL... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NL... | bsd-3-clause | C# |
23fdd1af4486ee4c3b403f7cfa5cfeaa96af591c | Update SheetFilterOperator.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/SheetFilterOperator.cs | main/Smartsheet/Api/Models/SheetFilterOperator.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
4d94053c5a60654fb19b4c7a66278445223934e1 | Update LoadDocumentFromUrl.cs | groupdocsconversion/GroupDocs_Conversion_NET,groupdocsconversion/GroupDocs_Conversion_NET | Examples/GroupDocs.Conversion.Examples.CSharp/AdvancedUsage/Loading/LoadingDocumentsFromDifferentSources/LoadDocumentFromUrl.cs | Examples/GroupDocs.Conversion.Examples.CSharp/AdvancedUsage/Loading/LoadingDocumentsFromDifferentSources/LoadDocumentFromUrl.cs | using System;
using System.IO;
using System.Net;
using GroupDocs.Conversion.Options.Convert;
namespace GroupDocs.Conversion.Examples.CSharp.AdvancedUsage
{
/// <summary>
/// This example demonstrates how to download and convert document.
/// </summary>
class LoadDocumentFromUrl
{
public st... | using System;
using System.IO;
using System.Net;
using GroupDocs.Conversion.Options.Convert;
namespace GroupDocs.Conversion.Examples.CSharp.AdvancedUsage
{
/// <summary>
/// This example demonstrates how to download and convert document.
/// </summary>
class LoadDocumentFromUrl
{
public st... | mit | C# |
fd21e87670ebde3018e43a550aff6ef9b30383f9 | Disable adjusting volume via "select next" and "select previous" as fallbacks | UselessToucan/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | osu.Game/Overlays/Volume/VolumeControlReceptor.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.Input.Bindings;
using osu.Game.Input.Bindings;
namespace osu.Game.... | mit | C# |
24d0b84a7227601a74e3e775c981bbc345ea54a0 | Update LoggingSetupBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Logging/LoggingSetupBase.cs | TIKSN.Core/Analytics/Logging/LoggingSetupBase.cs | using Microsoft.Extensions.Logging;
namespace TIKSN.Analytics.Logging
{
public abstract class LoggingSetupBase : ILoggingSetup
{
public virtual void Setup(ILoggingBuilder loggingBuilder) => loggingBuilder.AddDebug();
}
}
| using Microsoft.Extensions.Logging;
namespace TIKSN.Analytics.Logging
{
public abstract class LoggingSetupBase : ILoggingSetup
{
public virtual void Setup(ILoggingBuilder loggingBuilder)
{
loggingBuilder.AddDebug();
}
}
} | mit | C# |
f3c967ef20e658b40c8a5217ed89f4f7a5de9de0 | Add method to extract rotation part of matrix | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | using System.DoubleNumerics;
using System.Text;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{
return
Matrix4x4.CreateTranslation(-p.Point)
... | using System.DoubleNumerics;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{
return
Matrix4x4.CreateTranslation(-p.Point)
*Mat... | mit | C# |
8c622e6333b2d4454fc277b6b48f65a9ddc297cf | Change image folder | frozenskys/appy-christmas,frozenskys/appy-christmas | src/ProductApi/Startup.cs | src/ProductApi/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using System.IO;
namespace ProductApi
{
p... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Logging;
using System.IO;
namespace ProductApi
{
p... | mit | C# |
37b5ea38c33427f58936c0d0723b2052171d0f48 | Update RavenUnitOfWorkFactoryOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/RavenDB/RavenUnitOfWorkFactoryOptions.cs | TIKSN.Core/Data/RavenDB/RavenUnitOfWorkFactoryOptions.cs | namespace TIKSN.Data.RavenDB
{
public class RavenUnitOfWorkFactoryOptions<TUnitOfWork>
where TUnitOfWork : IUnitOfWork
{
public string[] Urls { get; set; }
public string Database { get; set; }
}
} | namespace TIKSN.Data.RavenDB
{
public class RavenUnitOfWorkFactoryOptions<TUnitOfWork>
where TUnitOfWork : IUnitOfWork
{
public string[] Urls { get; set; }
public string Database { get; set; }
}
}
| mit | C# |
c3002c17396bc85454ec0c36c0dcb6c59042c0ac | Remove debug statement | wwarby/TraktSharp | TraktSharp.Examples.Wpf/ViewModels/AuthorizeViewModel.cs | TraktSharp.Examples.Wpf/ViewModels/AuthorizeViewModel.cs | using System;
using TraktSharp.Examples.Wpf.Interfaces;
namespace TraktSharp.Examples.Wpf.ViewModels {
internal class AuthorizeViewModel : ViewModelBase, ICloseable {
private string _address;
public bool Completed { get; private set; }
public event EventHandler<System.EventArgs> RequestClose;
internal A... | using System;
using System.Diagnostics;
using TraktSharp.Examples.Wpf.Interfaces;
namespace TraktSharp.Examples.Wpf.ViewModels {
internal class AuthorizeViewModel : ViewModelBase, ICloseable {
private string _address;
public bool Completed { get; private set; }
public event EventHandler<System.EventArgs> R... | mit | C# |
5c4e0297d31ed0bd2c676b64325dbd8dc69306e7 | Implement new item | SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake | Snowflake.Tests/Fakes/FakeGameInfo.cs | Snowflake.Tests/Fakes/FakeGameInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Game;
namespace Snowflake.Tests.Fakes
{
internal class FakeGameInfo : IGameInfo
{
public string CRC32
{
get { throw new NotImplementedException(); }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Snowflake.Game;
namespace Snowflake.Tests.Fakes
{
internal class FakeGameInfo : IGameInfo
{
public string CRC32
{
get { throw new NotImplementedException(); }
... | mpl-2.0 | C# |
8e26e83f0adb67a937598e94a82ce2ee40fca709 | Add PDB stream index checks. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.Symbols.Pdb/SerializedPdbImage.cs | src/AsmResolver.Symbols.Pdb/SerializedPdbImage.cs | using System;
using System.Collections.Generic;
using AsmResolver.Symbols.Pdb.Metadata.Dbi;
using AsmResolver.Symbols.Pdb.Metadata.Info;
using AsmResolver.Symbols.Pdb.Msf;
using AsmResolver.Symbols.Pdb.Records;
namespace AsmResolver.Symbols.Pdb;
/// <summary>
/// Provides an implementation for a PDB image that is rea... | using System.Collections.Generic;
using AsmResolver.Symbols.Pdb.Metadata.Dbi;
using AsmResolver.Symbols.Pdb.Metadata.Info;
using AsmResolver.Symbols.Pdb.Msf;
using AsmResolver.Symbols.Pdb.Records;
namespace AsmResolver.Symbols.Pdb;
/// <summary>
/// Provides an implementation for a PDB image that is read from an inpu... | mit | C# |
93b74f21c13b61712b497adec8ed7ac0367a93aa | Make Type[].Description null reference safe | pardeike/Harmony | Harmony/Tools/Extensions.cs | Harmony/Tools/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Harmony
{
public static class GeneralExtensions
{
public static string Description(this Type[] parameters)
{
if (parameters == null) return "NULL";
var types = parameters.Select(p => p == null ? "null" : p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Harmony
{
public static class GeneralExtensions
{
public static string Description(this Type[] parameters)
{
var types = parameters.Select(p => p == null ? "null" : p.FullName);
return "(" + types.Aggregat... | mit | C# |
0c6a0a2ea36c3b9944b4d640f68334793fadb4b3 | Update MediaContent | messagebird/csharp-rest-api | MessageBird/Objects/Conversations/MediaContent.cs | MessageBird/Objects/Conversations/MediaContent.cs | using Newtonsoft.Json;
namespace MessageBird.Objects.Conversations
{
public class MediaContent
{
[JsonProperty("url")]
public string Url { get; set; }
[JsonProperty("caption")]
public string Caption { get; set; }
}
}
| using Newtonsoft.Json;
namespace MessageBird.Objects.Conversations
{
public class MediaContent
{
[JsonProperty("url")]
public string Url { get; set; }
}
} | isc | C# |
8df30b843610c91d619c6bd738b398fcfeb87072 | Update Clan | FICTURE7/CoCSharp,FICTURE7/CoCSharp,FICTURE7/CoCSharp | CoCSharp/Logic/Clan.cs | CoCSharp/Logic/Clan.cs | namespace CoCSharp.Logic
{
/// <summary>
/// Represents a Clash of Clans clan (Alliance).
/// </summary>
public class Clan
{
/// <summary>
/// Initializes a new instance of the <see cref="Clan"/>.
/// </summary>
public Clan()
{
// Space
}
... | namespace CoCSharp.Logic
{
/// <summary>
/// Represents a Clash of Clans clan (Alliance).
/// </summary>
public class Clan
{
/// <summary>
/// Initializes a new instance of the <see cref="Clan"/>.
/// </summary>
public Clan()
{
// Space
}
... | mit | C# |
d97257b82f93e2b00cd8853affc3c385bfab38f2 | reset stream position | Bushtree/documentz-backend | Documentz/Controllers/AttachmentsController.cs | Documentz/Controllers/AttachmentsController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using System.IO;
using Documentz.Repositories;
using Documentz.Models;
using Documentz.Services;
namespace Documentz.Controllers
{
[Route("api/[controll... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using System.IO;
using Documentz.Repositories;
using Documentz.Models;
using Documentz.Services;
namespace Documentz.Controllers
{
[Route("api/[controll... | mit | C# |
373fe46e6c804223ccc1a3fdc80aabea849e2009 | Update EvenFibonacciNumbers.cs | DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges | Even_Fibonacci_Numbers/EvenFibonacciNumbers.cs | Even_Fibonacci_Numbers/EvenFibonacciNumbers.cs | using System;
namespace EvenFibonacciNumbers
{
class MainClass
{
public static void Main(string[] args)
{
if (args.Length != 3)
{
Console.WriteLine("This program requires 2 starting integers, and the max terms to count!\n");
Environment.Exit(0);
}
int start1 = Convert.ToInt32(args[0]);
in... | using System;
namespace EvenFibonacciNumbers
{
class MainClass
{
public static void Main(string[] args)
{
if (args.Length != 3)
{
Console.WriteLine("This program requires 2 starting integers, and the max terms to count!\n");
Environment.Exit(0);
}
int start1 = Convert.ToInt32(args[0]);
in... | unlicense | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.