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 |
|---|---|---|---|---|---|---|---|---|
6d43f6dbbe7c47ac78c251e78746b7345eed34ae | Set improved ThreadPool values for nancy | xitrum-framework/FrameworkBenchmarks,actframework/FrameworkBenchmarks,knewmanTE/FrameworkBenchmarks,Ocramius/FrameworkBenchmarks,zapov/FrameworkBenchmarks,Ocramius/FrameworkBenchmarks,jetty-project/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,knewmanTE/FrameworkBenchmarks,yunspace/FrameworkBenchmarks,testn/Framewor... | nancy/src/Global.asax.cs | nancy/src/Global.asax.cs | using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
using System.Threading;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
protected void Application_Start()
{
var threads = 40 * Environment.ProcessorCount;
... | using System;
using System.Collections.Generic;
using System.Web;
using Nancy;
using Nancy.ErrorHandling;
namespace NancyBenchmark
{
public class Global : HttpApplication
{
protected void Application_Start()
{
}
}
} | bsd-3-clause | C# |
31514213cc2a5ab87f86016cd3cc91268f7302b2 | Bump version | Deadpikle/NetSparkle,Deadpikle/NetSparkle | AssemblyInfo.cs | 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("Net... | 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("Net... | mit | C# |
73d53e64dcb398c4aefa767bfc09092116330327 | debug hooks into when a package is created | rzhw/Squirrel.Windows,rzhw/Squirrel.Windows | src/CreateReleasePackage/Program.cs | src/CreateReleasePackage/Program.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using MarkdownSharp;
using Shimmer.Core;
namespace CreateReleasePackage
{
public class Program
{
static int Main(string[] args)
{
#if DEBUG
// NB: If you want to debug through Setup.exe, ... | using System;
using System.IO;
using System.Linq;
using System.Text;
using MarkdownSharp;
using Shimmer.Core;
namespace CreateReleasePackage
{
public class Program
{
static int Main(string[] args)
{
var optParams = ParseCommands.ParseOptions(args);
if (optParams == null... | mit | C# |
8b28500020fe920441d12a155e160dc09788ed00 | correct work directory on startup | GangZhuo/kcptun-gui-windows | kcptun-gui/Program.cs | kcptun-gui/Program.cs | using System;
using System.IO;
using System.Windows.Forms;
using kcptun_gui.Controller;
using kcptun_gui.View;
namespace kcptun_gui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
... | using System;
using System.Windows.Forms;
using kcptun_gui.Controller;
using kcptun_gui.View;
namespace kcptun_gui
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
A... | mit | C# |
652ad264202769987b16c9083975d6ada5c7ef56 | Update dependencies for Cake 0.19.0 | bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents | common.cake | common.cake | #tool nuget:?package=XamarinComponent&version=1.1.0.42
#addin nuget:?package=Cake.XCode&version=2.0.13
#addin nuget:?package=Cake.Xamarin.Build&version=1.1.13
#addin nuget:?package=Cake.Xamarin&version=1.3.0.15
#addin nuget:?package=Cake.FileHelpers&version=1.0.4
void BuildXCodeFatLibrary(FilePath xcodeProject, strin... | #tool nuget:?package=XamarinComponent&version=1.1.0.42
#addin nuget:?package=Cake.XCode&version=2.0.9
#addin nuget:?package=Cake.Xamarin.Build&version=1.1.8
#addin nuget:?package=Cake.Xamarin&version=1.3.0.3
#addin nuget:?package=Cake.FileHelpers&version=1.0.3.2
void BuildXCodeFatLibrary(FilePath xcodeProject, string... | mit | C# |
2bc33d0c82601cc78ed3f88107daf49a3d1dc951 | Update CSharpCompiler.cs | drew-r/Goose | CSharpCompiler.cs | CSharpCompiler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom.Compiler;
using Microsoft.CSharp;
using System.IO;
using System.Reflection;
namespace Goose
{
static class CSharpCompiler
{
public static Assembly Compile(string assemblyName, string[] src)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.CodeDom.Compiler;
using Microsoft.CSharp;
using System.IO;
using System.Reflection;
namespace Goose
{
static class CSharpCompiler
{
public static Assembly Compile(string assemblyName, string[] src)
... | mit | C# |
b09ae2d0edb1cafe24a9ca920b5b3d48cfd604b0 | Fix model class | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/Scripts/CNTKManager.cs | Assets/UnityCNTK/Scripts/CNTKManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityCNTK{
public class CNTKManager : MonoBehaviour {
public static CNTKManager instance;
public List<Model> managedModels = new List<Model>();
void Start () {
MakeSingleton();
}
// Update is called once per f... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityCNTK{
public class CNTKManager : MonoBehaviour {
public static CNTKManager instance;
public List<StreamingModel<IConvertible, IConvertible>> managedModels = new List<StreamingModel<IConvertible, IConvertible>>();
v... | mit | C# |
f27214d7797b811e3f7bdbb558d072d1dfefaa5e | Remove unused TokenKind.Unknown. | plioi/parsley | src/Parsley/TokenKind.cs | src/Parsley/TokenKind.cs | using System.Text.RegularExpressions;
namespace Parsley;
public abstract class TokenKind
{
public static readonly TokenKind EndOfInput = new Empty("end of input");
readonly string name;
protected TokenKind(string name)
{
this.name = name;
}
public bool TryMatch(Text text, out Token ... | using System.Text.RegularExpressions;
namespace Parsley;
public abstract class TokenKind
{
public static readonly TokenKind EndOfInput = new Empty("end of input");
public static readonly TokenKind Unknown = new Pattern("Unknown", @".+");
readonly string name;
protected TokenKind(string name)
{
... | mit | C# |
bc0e1d8c37272acf7a75c048036c512d42777bcf | Remove dead newline | peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | osu.Game.Rulesets.Catch/Mods/CatchModFloatingFruits.cs | using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHi... | using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Catch.Mods
{
public class CatchModFloatingFruits : Mod, IApplicableToDrawableRuleset<CatchHi... | mit | C# |
a4390c5ca0cbadb34b55c1fe1996527a6c5ef980 | Rename TimeStamp to EventTimeStamp to avoid confusion with native Azure Table Storage "Timestamp" column | stemarie/log4net.Azure,GrzegorzBlok/log4net.Azure,BhupinderAnand/log4net.azure,baumerik/log4net.Azure | log4net.Azure/AzureLoggingEventEntity.cs | log4net.Azure/AzureLoggingEventEntity.cs | using System;
using System.Collections;
using System.Globalization;
using System.Text;
using Microsoft.WindowsAzure.Storage.Table;
using log4net.Core;
namespace log4net.Appender
{
internal sealed class AzureLoggingEventEntity : TableEntity
{
public AzureLoggingEventEntity(LoggingEvent e)
{
... | using System;
using System.Collections;
using System.Globalization;
using System.Text;
using Microsoft.WindowsAzure.Storage.Table;
using log4net.Core;
namespace log4net.Appender
{
internal sealed class AzureLoggingEventEntity : TableEntity
{
public AzureLoggingEventEntity(LoggingEvent e)
{
... | mit | C# |
a7ed373d784fa30215ee18ce403a346daefd4ce9 | Add support for vscode install via snap | droyad/Assent | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | src/Assent/Reporters/DiffPrograms/VsCodeDiffProgram.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Assent.Reporters.DiffPrograms
{
public class VsCodeDiffProgram : DiffProgramBase
{
static VsCodeDiffProgram()
{
var paths = new List<string>();
if (DiffReporter.IsWindows)
{
... | mit | C# |
3fe3f861a92c0a50c169f778a80ed7b861befe7a | Convert NameHint comment to a map, and parse the value | kamsar/Rainbow | src/Rainbow.Storage.Yaml/OutputModel/YamlFieldValue.cs | src/Rainbow.Storage.Yaml/OutputModel/YamlFieldValue.cs | using System;
using Rainbow.Formatting.FieldFormatters;
using Rainbow.Model;
namespace Rainbow.Storage.Yaml.OutputModel
{
public class YamlFieldValue : IComparable<YamlFieldValue>
{
public Guid Id { get; set; }
public string NameHint { get; set; }
public string Type { get; set; }
public string Value { get; ... | using System;
using Rainbow.Formatting.FieldFormatters;
using Rainbow.Model;
namespace Rainbow.Storage.Yaml.OutputModel
{
public class YamlFieldValue : IComparable<YamlFieldValue>
{
public Guid Id { get; set; }
public string NameHint { get; set; }
public string Type { get; set; }
public string Value { get; ... | mit | C# |
eb5e7402c3b86a4ce19243aaf678d8206c16edf3 | Remove obsolete method in `ModAutoplay` | smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu | osu.Game/Rulesets/Mods/ModAutoplay.cs | osu.Game/Rulesets/Mods/ModAutoplay.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 System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Replays;
using osu.... | // 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 System.Collections.Generic;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Replays;
using osu.... | mit | C# |
b317e257aac9965dfbf36a36049e5c403776cf5c | decrease car count on it's destroyed | shenchi/traffic_control_game | Assets/Scripts/GamePlay.cs | Assets/Scripts/GamePlay.cs | using UnityEngine;
using System.Collections;
/// <summary>
/// Overall control
/// </summary>
public class GamePlay : MonoBehaviour
{
public static GamePlay Instance { get; private set; }
/// <summary>
/// The main camera in the scene
/// </summary>
public Camera m_Camera;
/// <summary>
... | using UnityEngine;
using System.Collections;
/// <summary>
/// Overall control
/// </summary>
public class GamePlay : MonoBehaviour
{
public static GamePlay Instance { get; private set; }
/// <summary>
/// The main camera in the scene
/// </summary>
public Camera m_Camera;
/// <summary>
... | mit | C# |
e79fd665f146589e319d6dcf6d0c75b3146fa872 | Cover Ensure class | aritters/Ritter,arsouza/Aritter,arsouza/Aritter | tests/Infra.Crosscutting.Tests/Ensuring/Ensure_That.cs | tests/Infra.Crosscutting.Tests/Ensuring/Ensure_That.cs | using System;
using FluentAssertions;
using Xunit;
namespace Ritter.Infra.Crosscutting.Tests.Ensuring
{
public class Ensure_That
{
[Fact]
public void ThrowExceptionGivenFalse()
{
Action act = () => Ensure.That(false);
act.Should().Throw<Exception>().And.Message.S... | using FluentAssertions;
using System;
using Xunit;
namespace Ritter.Infra.Crosscutting.Tests.Ensuring
{
public class Ensure_That
{
[Fact]
public void ThrowExceptionGivenFalse()
{
Action act = () => Ensure.That(false);
act.Should().Throw<Exception>().And.Message.S... | mit | C# |
d88eb3de5f6c831acdbc9033b0092f3f6cade28e | test for gtalk integration | int32at/utils | src/Tests/ConfigTests.cs | src/Tests/ConfigTests.cs | using System;
using int32.Utils.Configuration;
using int32.Utils.Extensions;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class ConfigTests
{
[TestCase]
public void Config_Create_Object()
{
var config = new Config();
Assert.IsNotNull(config)... | using System;
using int32.Utils.Configuration;
using int32.Utils.Extensions;
using NUnit.Framework;
namespace Tests
{
[TestFixture]
public class ConfigTests
{
[TestCase]
public void Config_Create_Object()
{
var config = new Config();
Assert.IsNotNull(config)... | mit | C# |
ee5c4b563f0f9be715188d123a4bed3eddc8ae82 | delete japanese language | Codeer-Software/Friendly.XamControls | Project/Friendly.XamControls/Properties/AssemblyInfo.cs | Project/Friendly.XamControls/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Friendly.XamControls")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Friendly.XamControls")]
[assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Friendly.XamControls")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[ass... | apache-2.0 | C# |
c42dcd9133684e0697b5564ea3d786d8f48d40ba | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
de1b2ce9da6a18c2570728b62ef99782a1d0d59c | Add ignore route for favicon | JeremySkinner/git-dot-aspx,kaa/git-dot-aspx,kaa/git-dot-aspx,linquize/git-dot-aspx,akrisiun/git-dot-aspx,linquize/git-dot-aspx,JeremySkinner/git-dot-aspx,akrisiun/git-dot-aspx,hafstrom/git-dot-aspx,kaa/git-dot-aspx,hafstrom/git-dot-aspx,hafstrom/git-dot-aspx,JeremySkinner/git-dot-aspx,akrisiun/git-dot-aspx,linquize/git... | GitAspx/Global.asax.cs | GitAspx/Global.asax.cs | namespace GitAspx {
using System;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using GitAspx.Lib;
using StructureMap;
using StructureMap.Configuration.DSL;
public class MvcApplication : HttpApplication {
public static void RegisterRoutes(RouteCollection routes) {
routes.Ig... | namespace GitAspx {
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
using GitAspx.Lib;
using StructureMap;
using StructureMap.Configuration.DSL;
public class MvcApplication : HttpApplication {
public static void RegisterRoutes(RouteCollection routes) {
routes.IgnoreRoute("{reso... | apache-2.0 | C# |
ed1108cc64c680df3d93ea9fb93f4ccb010bb2b4 | bump version | distantcam/Anotar,mstyura/Anotar,modulexcite/Anotar,Fody/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("1.8.1.0")]
[assembly: AssemblyFileVersion("1.8.1.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
| mit | C# |
ed15c8b7680373929ed3f257de9c761e05e17191 | fix version | Fody/EmptyConstructor | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("EmptyConstructor")]
[assembly: AssemblyProduct("EmptyConstructor")]
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("EmptyConstructor")]
[assembly: AssemblyProduct("EmptyConstructor")]
[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
| mit | C# |
cac86181b7aac98713d056d2a7ffb56e7e0829ae | implement VerbAttribute | dimaaan/NOpt | NOpt/VerbAttribute.cs | NOpt/VerbAttribute.cs | using System;
namespace NOpt
{
/// <summary>
/// A command to execute.
/// Verb must be first argument.
/// <example>
/// "git commit". Commit is a verb.
/// Other examples:
/// program save -f file
/// program load -f file
/// "save" and "load" is a verbs
/// </example>
/... | using System;
namespace NOpt
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct,
AllowMultiple = false,
Inherited = true)]
public sealed class VerbAttribute : Attribute
{
}
} | mit | C# |
07296c1f3cc75d396b959ce25a57edceeaa45f41 | Update Exercise8A.cs | lizaamini/CSharpExercises | Sheet-8/Exercise8A.cs | Sheet-8/Exercise8A.cs | using System;
namespace Exercise8A
{
class MainClass
{
public static void Main (string[] args)
{
Console.WriteLine ("Please enter a sentence: ");
String input = Console.ReadLine ();
input = removeSpaces (input);
input = reverseSentence (input);
input = toggleCase (input);
Console.WriteLine (i... | mit | C# | |
cb102f3435f94ce84d740cd2ea38abe6cce3c650 | Remove unused property | z4kn4fein/stashbox | src/Exceptions/CompositionRootNotFoundException.cs | src/Exceptions/CompositionRootNotFoundException.cs | using System;
using System.Reflection;
#if HAS_SERIALIZABLE
using System.Runtime.Serialization;
#endif
namespace Stashbox.Exceptions
{
/// <summary>
/// Occurs when composing requested but no <see cref="ICompositionRoot"/> is present in the given assembly.
/// </summary>
#if HAS_SERIALIZABLE
[Serializ... | using System;
using System.Reflection;
#if HAS_SERIALIZABLE
using System.Runtime.Serialization;
#endif
namespace Stashbox.Exceptions
{
/// <summary>
/// Occurs when composing requested but no <see cref="ICompositionRoot"/> is present in the given assembly.
/// </summary>
#if HAS_SERIALIZABLE
[Serializ... | mit | C# |
97247b7a673fa552b9f8f5b66aa87e9dfe2293c0 | Fix unset key | peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu | osu.Game/Online/Multiplayer/MultiplayerRoomSettings.cs | osu.Game/Online/Multiplayer/MultiplayerRoomSettings.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.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using MessagePack;
using osu.Game.Online.API;
namespace... | // 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.
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using MessagePack;
using osu.Game.Online.API;
namespace... | mit | C# |
053175a5a6fc017cde833ec308e723a286d6ed0b | Fix http://issues.umbraco.org/issue/U4-9562 | tcmorris/Umbraco-CMS,abjerner/Umbraco-CMS,hfloyd/Umbraco-CMS,rasmuseeg/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,WebCentrum/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,bjar... | src/Umbraco.Web/HealthCheck/HealthCheckResolver.cs | src/Umbraco.Web/HealthCheck/HealthCheckResolver.cs | using System;
using System.Collections.Generic;
using System.Web;
using Umbraco.Core.Logging;
using Umbraco.Core.ObjectResolution;
namespace Umbraco.Web.HealthCheck
{
/// <summary>
/// Resolves all health check instances
/// </summary>
/// <remarks>
/// Each instance scoped to the lifespan of the ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.ObjectResolution;
using Umbraco.Core.Persistence.SqlSyntax;
namespace Umbraco.Web.HealthCheck
{
/// <summary>
... | mit | C# |
38fefdab56e31110b535bd892cb12e13d380a73f | Change comments header | Minesweeper-6-Team-Project-Telerik/Minesweeper-6 | src2/ConsoleMinesweeper/Properties/AssemblyInfo.cs | src2/ConsoleMinesweeper/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Telerik Academy">
// Teamwork Project "Minesweeper-6"
// </copyright>
// <summary>
// AssemblyInfo.cs
// </summary>
// ------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="">
//
// </copyright>
// <summary>
// AssemblyInfo.cs
// </summary>
// -----------------------------------------------------------------------------... | mit | C# |
412df5795756bd26fda0f3497d24a43be039b5d5 | Add the extension method ToSJIS() | y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2 | Common/StringExtensions.cs | Common/StringExtensions.cs | using System.Linq;
using System.Text;
namespace ReimuPlugins.Common
{
public static class StringExtensions
{
public static string ToCStr(this string str)
{
return str.Contains('\0') ? str : str + '\0';
}
public static string Convert(this string str, Encoding src, E... | using System.Linq;
using System.Text;
namespace ReimuPlugins.Common
{
public static class StringExtensions
{
public static string ToCStr(this string str)
{
return str.Contains('\0') ? str : str + '\0';
}
public static string Convert(this string str, Encoding src, E... | bsd-2-clause | C# |
e9ea56fe3d5375474069d401f5581addeb3469ea | Update TransformWalls.cs | softwarejimenez/funnyBall | Scripts/TransformWalls.cs | Scripts/TransformWalls.cs | using UnityEngine;
using System.Collections;
public class TransformWalls : MonoBehaviour {
//declare all atribute
public GameObject board;
public GameObject WallsHorizontal;
public GameObject WallsNorth;
public GameObject WallsSouth;
public GameObject WallsVertical;
public GameObject WallsWest;
public Game... | using UnityEngine;
using System.Collections;
public class TransforWalls : MonoBehaviour {
public GameObject board;
public GameObject WallsHorizontal;
public GameObject WallsNorth;
public GameObject WallsSouth;
public GameObject WallsVertical;
public GameObject WallsWest;
public GameObject WallsEast;
public... | agpl-3.0 | C# |
167e3c09577dcbd9295dbceed5afb7dc9d487d30 | Fix typo in build. We should add tests. | abock/EquifaxGuid | EquifaxGuid/EquifaxGuid.cs | EquifaxGuid/EquifaxGuid.cs | using System;
namespace Equifax
{
/// <summary>
/// Creates globally secure Equifax-style GUIDs.
/// </summary>
public static class Guid
{
/// <summary>
/// Creates a new Equifax secure GUID using the current UTC time.
/// UTC ensures global consistency and uniqueness.
... | using System;
namespace Equifax
{
/// <summary>
/// Creates globally secure Equifax-style GUIDs.
/// </summary>
public static class Guid
{
/// <summary>
/// Creates a new Equifax secure GUID using the current UTC time.
/// UTC ensures global consistency and uniqueness.
... | mit | C# |
6b521c6781347bb23e84e95c56130a9227a1eba0 | bump version to 3.0.2 | FatturaElettronicaPA/FatturaElettronicaPA.Forms | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
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("FatturaElettronica.Forms")]
[assembly: As... | using System.Reflection;
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("FatturaElettronica.Forms")]
[assembly: As... | bsd-3-clause | C# |
6a87faf65288f0ad5d1518eb8a24387b00b834c0 | Bump version | nixxquality/WebMConverter,Yuisbean/WebMConverter,o11c/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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("We... | mit | C# |
90aad3b785f4854e768922491bd7ad849fa82a18 | Stop the loop when there are no subscribers | AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,grokys/Perspex,w... | src/Avalonia.Visuals/Rendering/SleepLoopRenderTimer.cs | src/Avalonia.Visuals/Rendering/SleepLoopRenderTimer.cs | using System;
using System.Diagnostics;
using System.Threading;
namespace Avalonia.Rendering
{
public class SleepLoopRenderTimer : IRenderTimer
{
private Action<TimeSpan> _tick;
private int _count;
private readonly object _lock = new object();
private bool _running;
priv... | using System;
using System.Diagnostics;
using System.Threading;
namespace Avalonia.Rendering
{
public class SleepLoopRenderTimer : IRenderTimer
{
public event Action<TimeSpan> Tick;
public SleepLoopRenderTimer(int fps)
{
var timeBetweenTicks = TimeSpan.FromSeconds(1d / fps)... | mit | C# |
27ef556e272dc9a97f54cb0a3a06188dd72559bb | Remove ReSharper moans from MemberFactory. | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.BusinessLogic/ExcelImport/MemberFactory.cs | src/GiveCRM.BusinessLogic/ExcelImport/MemberFactory.cs | using System;
using System.Collections.Generic;
using GiveCRM.Models;
namespace GiveCRM.BusinessLogic.ExcelImport
{
internal class MemberFactory : IMemberFactory
{
public Member CreateMember(IDictionary<string, object> memberData)
{
return DictionaryToMember.ToMember(memberData);
... | using System;
using System.Collections.Generic;
using GiveCRM.Models;
namespace GiveCRM.BusinessLogic.ExcelImport
{
internal class MemberFactory : IMemberFactory
{
public Member CreateMember(IDictionary<string, object> memberData)
{
return DictionaryToMember.ToMember(memberData);
... | mit | C# |
32b99e82374700b728a0ef97d6a6380d0fa07ca0 | remove unnecessary parameters in StripeChargeListOptions | weizensnake/stripe.net,weizensnake/stripe.net | src/Stripe/Services/Charges/StripeChargeListOptions.cs | src/Stripe/Services/Charges/StripeChargeListOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeChargeListOptions : StripeListOptions
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("created")]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Stripe
{
public class StripeChargeListOptions : StripeListOptions
{
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("created")]
... | apache-2.0 | C# |
beb0e5f2505238cfaee13ebf7df3b3bdc578bd39 | Fix typo | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Supervisors/List.cshtml | Battery-Commander.Web/Views/Supervisors/List.cshtml | @model BatteryCommander.Web.Controllers.SupervisorsController.SupervisorListModel
@{
ViewBag.Title = "Batch Update Supervisors";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Rows.Count</span></h1>
</div>
@using (Html.BeginForm("Save", "Supervisors", FormMethod.Post))
{
@Html... | @model BatteryCommander.Web.Controllers.SupervisorsController.SupervisorListModel
@{
ViewBag.Title = "Batch Update Supervisors";
}
<div class="page-header">
<h1>@ViewBag.Title <span class="badge">@Model.Rows.Count</span></h1>
</div>
@using (Html.BeginForm("Save", "Supervisors", FormMethod.Post))
{
@Html... | mit | C# |
c741e9df4740dc8afa0ad324b272f2ad9f30ecb8 | Add `AuthenticationFlow` in `ChargePaymentMethodDetailsCardThreeDSecure` | stripe/stripe-dotnet | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails/ChargePaymentMethodDetailsCardThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity<ChargePaymentMethodDetailsCardThreeDSecure>
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
... | namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsCardThreeDSecure : StripeEntity<ChargePaymentMethodDetailsCardThreeDSecure>
{
/// <summary>
/// Whether or not authentication was performed. 3D Secure will succeed without
... | apache-2.0 | C# |
2711dca062dde45fa2257f27c45fdb25adb7f919 | Fix compile error. | jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr | test/HelloCoreClrApp.Test/WebApi/WebHostServiceTest.cs | test/HelloCoreClrApp.Test/WebApi/WebHostServiceTest.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using FakeItEasy;
using FluentAssertions;
using HelloCoreClrApp.WebApi;
using Microsoft.Extensions.Configuration;
using SimpleInjector;
using Xunit;
namespace HelloCoreClrApp.Test.WebApi
{
public class WebHostServiceTest
{
[Fact]
... | using System;
using System.Threading;
using System.Threading.Tasks;
using FakeItEasy;
using FluentAssertions;
using HelloCoreClrApp.WebApi;
using Microsoft.Extensions.Configuration;
using SimpleInjector;
using Xunit;
namespace HelloCoreClrApp.Test.WebApi
{
public class WebHostServiceTest
{
[Fact]
... | mit | C# |
510187a14a55157f1e3960bdc19a9baf59118639 | Revert The use of Post TFS2010 authentication method | jeremy-sylvis-tmg/git-tfs,modulexcite/git-tfs,codemerlin/git-tfs,guyboltonking/git-tfs,kgybels/git-tfs,codemerlin/git-tfs,adbre/git-tfs,jeremy-sylvis-tmg/git-tfs,WolfVR/git-tfs,WolfVR/git-tfs,PKRoma/git-tfs,WolfVR/git-tfs,bleissem/git-tfs,NathanLBCooper/git-tfs,modulexcite/git-tfs,git-tfs/git-tfs,bleissem/git-tfs,codem... | GitTfs.VsCommon/TfsHelper.Vs2012Base.cs | GitTfs.VsCommon/TfsHelper.Vs2012Base.cs | using System;
using System.IO;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Framework.Client;
using Microsoft.TeamFoundation.Framework.Common;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using Sep.Git.Tfs.Core.TfsInterop;
namespace Sep.Git.Tfs.VsCommon
{
publi... | using System;
using System.IO;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Framework.Client;
using Microsoft.TeamFoundation.Framework.Common;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using Sep.Git.Tfs.Core.TfsInterop;
namespace Sep.Git.Tfs.VsCommon
{
publi... | apache-2.0 | C# |
af7bd046408f9cd6fcd0f4ff97b1eef634205b6b | remove header forwarding | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | HiddenWallet.ChaumianTumbler/Startup.cs | HiddenWallet.ChaumianTumbler/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;
using Microsoft.Extensio... | 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;
using Microsoft.Extensio... | mit | C# |
83528e160251d1956bc2b2bba8dc9331c56180ce | Fix implement LLVMConstHelper#IntegerType | lury-lang/lury,HaiTo/lury,nokok/lury | src/Lury/Compiling/LLVMConstHelper.cs | src/Lury/Compiling/LLVMConstHelper.cs | //
// LLVMConstHelper.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), ... | //
// LLVMConstHelper.cs
//
// Author:
// Tomona Nanase <nanase@users.noreply.github.com>
//
// The MIT License (MIT)
//
// Copyright (c) 2015 Tomona Nanase
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), ... | mit | C# |
77406e47fc77e41f7d5d77c4ac71924efd59b41b | add dialog service to container | kdotdk/MVVMLightAndMVVMDialogs | MvvmLight/ViewModel/ViewModelLocator.cs | MvvmLight/ViewModel/ViewModelLocator.cs | /*
In App.xaml:
<Application.Resources>
<vm:ViewModelLocatorTemplate xmlns:vm="clr-namespace:MvvmLight.ViewModel"
x:Key="Locator" />
</Application.Resources>
In the View:
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}"
*/
using GalaSoft... | /*
In App.xaml:
<Application.Resources>
<vm:ViewModelLocatorTemplate xmlns:vm="clr-namespace:MvvmLight.ViewModel"
x:Key="Locator" />
</Application.Resources>
In the View:
DataContext="{Binding Source={StaticResource Locator}, Path=ViewModelName}"
*/
using GalaSoft... | mit | C# |
a4925997f3a43c3218b929a90686f9d60a3fc180 | add GetPropertyRoutes and GetTypeEntity | signumsoftware/framework,avifatal/framework,AlejandroCano/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework | Signum.React/ApiControllers/ReflectionController.cs | Signum.React/ApiControllers/ReflectionController.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Web.Http;
using Signum.Entities;
using Signum.React.Facades;
using Signum.Utilities;
using Signu... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Web.Http;
using Signum.Entities;
using Signum.React.Facades;
using Signum.Utilities;
using Signu... | mit | C# |
b029bc8a06d4e03657e165e62fbbf1997e347f53 | Add test | sakapon/Samples-2017 | ProxySample/ProxyableConsole/Program.cs | ProxySample/ProxyableConsole/Program.cs | using System;
namespace ProxyableConsole
{
class Program
{
static void Main(string[] args)
{
var result = Proxyable.Body(() =>
{
Console.WriteLine("Body");
return 123;
})
.Aspect(f ... | using System;
namespace ProxyableConsole
{
class Program
{
static void Main(string[] args)
{
var result = Proxyable.Body(() =>
{
Console.WriteLine("Body");
return 123;
})
.Aspect(f ... | mit | C# |
ec4917f19d2cd80bef7266eb9f1903145916f7ec | add RemoveCacheByPrefix method | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/Components/CacheHelper.cs | R7.University/Components/CacheHelper.cs | //
// CacheHelper.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014 Roman M. Yagodin
//
// 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 Softwa... | //
// CacheHelper.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2014 Roman M. Yagodin
//
// 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 Softwa... | agpl-3.0 | C# |
8fd8b43f1166f9baedca4b4d1d98a2429f537549 | Use th esupplied access mappign instead of looking it up a second time. | tfsaggregator/tfsaggregator,tfsaggregator/tfsaggregator-webhooks | Aggregator.Core/Extensions/LocationServiceExtensions.cs | Aggregator.Core/Extensions/LocationServiceExtensions.cs | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | #if TFS2015u2
using System;
using System.Diagnostics.CodeAnalysis;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.VisualStudio.Services.Location;
using Microsoft.VisualStudio.Services.Location.Server;
namespace Aggregator.Core.Extensions
{
public static class LocationServiceExtensions
{
... | apache-2.0 | C# |
81e3e8194591fafcd94252ac2ae2685671086f9b | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescrip... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescrip... | apache-2.0 | C# |
c1d32b40fdfdcfa3434bb97a9c110e6d80c5260e | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// 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(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
a733811b446384ac1e610d1aaf7e1d6b9f9aaa60 | remove unused methods | brandonprry/gray_hat_csharp_code | ch8_automating_cuckoo/cuckoo-sharp/CuckooManager.cs | ch8_automating_cuckoo/cuckoo-sharp/CuckooManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json.Linq;
namespace cuckoosharp
{
public class CuckooManager : IDisposable
{
CuckooSession _session = null;
public CuckooManager (CuckooSession session)
{
_session = session;
}
public int CreateTask(Task task)
{
str... | using System;
using System.Collections.Generic;
using System.IO;
using Newtonsoft.Json.Linq;
namespace cuckoosharp
{
public class CuckooManager : IDisposable
{
CuckooSession _session = null;
public CuckooManager (CuckooSession session)
{
_session = session;
}
public int CreateTask(Task task)
{
s... | bsd-3-clause | C# |
0050c84dce808dd4568c986725a7e1c2c3340bd4 | add some other string validators | gradientspace/frame3Sharp | util/StringValidators.cs | util/StringValidators.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace f3
{
public static class StringValidators
{
//
// only allows signed real-valued input
// valid characters are 0 to 9, . and - , strings with other char... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace f3
{
public static class StringValidators
{
//
// only allows signed real-valued input
// valid characters are 0 to 9, . and - , strings with other characters are rejected
// "." is ... | mit | C# |
d3b7d8d660dcc02b5be6956ce25071ca95dfbf9f | Add comment. | mavasani/roslyn,eriawan/roslyn,abock/roslyn,reaction1989/roslyn,genlu/roslyn,aelij/roslyn,genlu/roslyn,jmarolf/roslyn,gafter/roslyn,VSadov/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,dpoeschl/roslyn,stephentoub/roslyn,dpoeschl/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,weltkante/roslyn,swaroop-sridhar/rosly... | src/Features/CSharp/Portable/ConvertAnonymousTypeToTuple/CSharpConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | src/Features/CSharp/Portable/ConvertAnonymousTypeToTuple/CSharpConvertAnonymousTypeToTupleDiagnosticAnalyzer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.ConvertAnonymousType... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.CodeAnalysis.CodeStyle;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.ConvertAnonymousType... | mit | C# |
d7e6f63cfd02c775549da45ee895def4b640a575 | Mark assembly as CLSCompliant (#33) | ermshiperete/icu-dotnet,conniey/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,conniey/icu-dotnet,sillsdev/icu-dotnet | source/icu.net/Properties/AssemblyInfo.cs | source/icu.net/Properties/AssemblyInfo.cs | // Copyright (c) 2007-2017 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System;
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change th... | // Copyright (c) 2007-2017 SIL International
// This software is licensed under the MIT license (http://opensource.org/licenses/MIT)
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute v... | mit | C# |
b459d716d09e73682c5d8284aee795d36300b5d7 | Fix company name within assembly info. Previous version was part of namespace refactor. I used a global find/replace. | khalidabuhakmeh/descriptor,billboga/descriptor,ritterim/descriptor,kendaleiv/descriptor,kendaleiv/descriptor | src/Descriptor/Properties/AssemblyInfo.cs | src/Descriptor/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("De... | 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("De... | mit | C# |
6d24da0f4baa4b1f07436203178cd38d1c44d6a6 | Remove extra xml comment in ExecutionContext.cs (#1614) | joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet | src/GraphQL/Execution/ExecutionContext.cs | src/GraphQL/Execution/ExecutionContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using GraphQL.Instrumentation;
using GraphQL.Language.AST;
using GraphQL.Types;
namespace GraphQL.Execution
{
public class ExecutionContext : IExecutionContext
{
public Document Document { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using GraphQL.Instrumentation;
using GraphQL.Language.AST;
using GraphQL.Types;
namespace GraphQL.Execution
{
public class ExecutionContext : IExecutionContext
{
public Document Document { get; set; }
pu... | mit | C# |
fe58617b83f9c107ecdf8033e416d4a28eedcd71 | Add a comment so i dont forget to do this. | jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/mano... | src/Manos/Manos.IO/WriteBytesOperation.cs | src/Manos/Manos.IO/WriteBytesOperation.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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 limitation the rights to use,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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 limitation the rights to use,... | mit | C# |
68104c4fee33561a2e31a43a78a7e3cc3c4c52c6 | Fix NH-2927 - Oracle Dialect does not handle the correct resolution for timestamp version columns | fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,lnu/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,lnu/nhibernate-core... | src/NHibernate/Dialect/Oracle9iDialect.cs | src/NHibernate/Dialect/Oracle9iDialect.cs | using System.Data;
using NHibernate.SqlCommand;
using NHibernate.SqlTypes;
namespace NHibernate.Dialect
{
public class Oracle9iDialect : Oracle8iDialect
{
public override string CurrentTimestampSelectString
{
get { return "select systimestamp from dual"; }
}
public override string CurrentTim... | using System.Data;
using NHibernate.SqlCommand;
using NHibernate.SqlTypes;
namespace NHibernate.Dialect
{
public class Oracle9iDialect : Oracle8iDialect
{
public override string CurrentTimestampSelectString
{
get { return "select systimestamp from dual"; }
}
public override string CurrentTim... | lgpl-2.1 | C# |
5f1d44a2bef173fc2745e0e1212672db4e3b5d86 | Update inspectcode / CodeFileSanity versions used in CI | ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu | build/InspectCode.cake | build/InspectCode.cake | #addin "nuget:?package=CodeFileSanity&version=0.0.36"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2020.1.3"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | #addin "nuget:?package=CodeFileSanity&version=0.0.33"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2019.3.2"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
var nVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First();
///////////////////////////////////////////////////////... | mit | C# |
95f37e35fdfc7ecb8b98d2304930f5cd167ea5a3 | Fix for CA1826 Enumerable.First | pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,pakdev/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers | src/Microsoft.NetCore.Analyzers/Core/Runtime/DoNotUseEnumerableMethodsOnIndexableCollectionsInsteadUseTheCollectionDirectly.Fixer.cs | src/Microsoft.NetCore.Analyzers/Core/Runtime/DoNotUseEnumerableMethodsOnIndexableCollectionsInsteadUseTheCollectionDirectly.Fixer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
us... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CodeFixes;
using System.Collections.Immutable;
using System.Threading.Tasks;
namespace Microsoft.NetCore.Analyzers.Runtime
{
... | mit | C# |
93f629e61e3241f8cf9621aef09b5df33426d5a0 | Bump version. | mios-fi/mios.mail.templating | Library/Properties/AssemblyInfo.cs | Library/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: AssemblyTi... | 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: AssemblyTi... | bsd-2-clause | C# |
d21e5d4ec305a4197080030535551b4e74dce3be | Fix event | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | LmpClient/Harmony/Part_Decouple.cs | LmpClient/Harmony/Part_Decouple.cs | using Harmony;
using LmpClient.Events;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to trigger an event when decoupling a part
/// </summary>
[HarmonyPatch(typeof(Part))]
[HarmonyPatch("decouple")]
public class Part_Decouple
{
... | using Harmony;
using LmpClient.Events;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to trigger an event when decoupling a part
/// </summary>
[HarmonyPatch(typeof(Part))]
[HarmonyPatch("decouple")]
public class Part_Decouple
{
... | mit | C# |
1570deefae3e560568d071ae5cb171b1e90d8cff | Add some default text to the report issue link | kamsar/Unicorn,kamsar/Unicorn | src/Unicorn/ControlPanel/Controls/QuickReference.cs | src/Unicorn/ControlPanel/Controls/QuickReference.cs | using System.Web.UI;
using Sitecore.Configuration;
namespace Unicorn.ControlPanel.Controls
{
/// <summary>
/// Quick reference about what commands mean
/// </summary>
internal class QuickReference : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write(@"
<article>");
writ... | using System.Web.UI;
namespace Unicorn.ControlPanel.Controls
{
/// <summary>
/// Quick reference about what commands mean
/// </summary>
internal class QuickReference : IControlPanelControl
{
public void Render(HtmlTextWriter writer)
{
writer.Write(@"
<article>");
writer.Write(@"
<h2>Reference... | mit | C# |
c54e746370bd0ac8dc9136a7c329d835d82d0a0f | Integrate cell resources with player resources code | MarjieVolk/Backfire | Assets/CellFeatures/NurseryResource.cs | Assets/CellFeatures/NurseryResource.cs | using UnityEngine;
using System.Collections;
public class NurseryResource : CellFeature {
public override int Amount
{
set
{
_amount = value;
FindObjectOfType<Resources>().addPlacementResource(_amount - value);
}
}
// Use this for initialization
void Sta... | using UnityEngine;
using System.Collections;
public class NurseryResource : CellFeature {
public override int Amount
{
set
{
// add _amount - value to the player's resource store
_amount = value;
Debug.Log("child thingy");
}
}
// Use this for ... | mit | C# |
e8f0f9a8cec01995fdbb74089f51a7933b64d738 | use routing in aspnet core tests | luchaoshuai/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai0106/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,carldai... | test/Abp.AspNetCore.Tests/App/Startup.cs | test/Abp.AspNetCore.Tests/App/Startup.cs | using System;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.AspNetCore.TestBase;
using Abp.Reflection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.Extensions.DependencyInjection;... | using System;
using Abp.AspNetCore.Configuration;
using Abp.AspNetCore.Mvc.Extensions;
using Abp.AspNetCore.TestBase;
using Abp.Reflection.Extensions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.Extensions.DependencyInjection;... | mit | C# |
95fbf5a7c0e4a1ae9a2bb21c689e10479ccc527c | bump version | 0x53A/PropertyChanged,user1568891/PropertyChanged,Fody/PropertyChanged | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("1.50.0"... | using System.Reflection;
[assembly: AssemblyTitle("PropertyChanged")]
[assembly: AssemblyProduct("PropertyChanged")]
[assembly: AssemblyCompany("Simon Cropp and Contributors")]
[assembly: AssemblyDescription("Fody add-in for injecting INotifyPropertyChanged code into properties.")]
[assembly: AssemblyVersion("1.49.1"... | mit | C# |
40e6b68367ddd71edcb31664a54a9db42eb5b61d | Fix casing of jQuery validation fallback test | pakrym/kudutest,pakrym/kudutest,aspnet/live.asp.net,reactiveui/website,sejka/live.asp.net,aspnet/live.asp.net,sejka/live.asp.net,reactiveui/website,aspnet/live.asp.net,reactiveui/website,reactiveui/website | src/live.asp.net/Views/Shared/_ValidationScripts.cshtml | src/live.asp.net/Views/Shared/_ValidationScripts.cshtml | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validat... | <environment names="Development">
<script src="~/lib/jquery-validation/jquery.validate.js"></script>
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
</environment>
<environment names="Staging,Production">
<script src="https://ajax.aspnetcdn.com/ajax/jquery.validat... | mit | C# |
b4976cfcd1712cdf3a27f228f2f5358d10e83a38 | Implement IComparable interface for sorting | jsvasani/TFSHistorySearch | TfsHelper/TfsChangeset.cs | TfsHelper/TfsChangeset.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TfsHelperLib
{
public class TfsChangeset : IComparable
{
public int ChangesetId { get; set; }
public string Owner { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TfsHelperLib
{
public class TfsChangeset
{
public int ChangesetId { get; set; }
public string Owner { get; set; }
public DateTime CreationDate {... | mit | C# |
45472614ce77679a84ddcd4524c187f7255254f9 | Add test log row | michael-reichenauer/GitMind | GitMind/MainWindowViews/WindowOwner.cs | GitMind/MainWindowViews/WindowOwner.cs | using System;
using System.Windows;
using GitMind.Utils;
namespace GitMind.MainWindowViews
{
[SingleInstance]
internal class WindowOwner
{
private readonly Lazy<MainWindow> mainWindow;
public WindowOwner(Lazy<MainWindow> mainWindow)
{
this.mainWindow = mainWindow;
}
public static implicit operator... | using System;
using System.Windows;
using GitMind.Utils;
namespace GitMind.MainWindowViews
{
[SingleInstance]
internal class WindowOwner
{
private readonly Lazy<MainWindow> mainWindow;
public WindowOwner(Lazy<MainWindow> mainWindow)
{
this.mainWindow = mainWindow;
}
public static implicit operator... | mit | C# |
de6dbea40aceb695cfadb4b1394313f60eca32df | fix namespace | darrenkopp/SassyStudio | SassyStudio.2012/Resources.Designer.cs | SassyStudio.2012/Resources.Designer.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----... | mit | C# |
380f5b6d41769b6d0a40e46614d1251189e54c12 | Use CustomAlignedContainer to handle ImageViewBackend events | cra0zy/xwt,lytico/xwt,hamekoz/xwt,antmicro/xwt,mono/xwt,hwthomas/xwt,TheBrainTech/xwt | Xwt.XamMac/Xwt.Mac/ImageViewBackend.cs | Xwt.XamMac/Xwt.Mac/ImageViewBackend.cs | //
// ImageViewBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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 rest... | //
// ImageViewBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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 rest... | mit | C# |
b60ccec34933fdc44ced6061068c82ec262476ad | Bump version to 0.11.1 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
c86bd26e0ef4786f7f9ecfa7415df9d6d7e2dd2d | Delete previous files | sakapon/Samples-2013 | BasicSample/ExcelMediaConsole/Program.cs | BasicSample/ExcelMediaConsole/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
namespace ExcelMediaConsole
{
class Program
{
static void Main(string[] args)
{
var excelFilePath = "Book1.xlsx";
var outputDirPath = "Media";
D... | mit | C# |
6a433850145c487fe1db09ab9655fc685713050c | Change IGuild parameter to ulong | Nanabell/NoAdsHere | NoAdsHere/Commands/Master/MasterModule.cs | NoAdsHere/Commands/Master/MasterModule.cs | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NoAdsHere.Common;
using NoAdsHere.Common.Preconditions;
namespace NoAdsHere.Commands.Master
{
public class MasterModule : ModuleBase
{
[Command("Reset Guild")]
[RequirePermission(AccessLevel.Master)]
public async... | using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using NoAdsHere.Common;
using NoAdsHere.Common.Preconditions;
namespace NoAdsHere.Commands.Master
{
public class MasterModule : ModuleBase
{
[Command("Reset Guild")]
[RequirePermission(AccessLevel.Master)]
public async... | mit | C# |
a32cb1b8db80cec2bdd168fa00bdf2432ccdfa26 | Use correct JSON Converter | Baggykiin/Curse.NET | Curse.NET/SocketModel/MessageResponse.cs | Curse.NET/SocketModel/MessageResponse.cs | using System;
using Newtonsoft.Json;
namespace Curse.NET.SocketModel
{
public class MessageResponse : ResponseBody
{
public string ClientID { get; set; }
public string ServerID { get; set; }
public string ConversationID { get; set; }
public string ContactID { get; set; }
public int ConversationType { get;... | using System;
using Newtonsoft.Json;
namespace Curse.NET.SocketModel
{
public class MessageResponse : ResponseBody
{
public string ClientID { get; set; }
public string ServerID { get; set; }
public string ConversationID { get; set; }
public string ContactID { get; set; }
public int ConversationType { get;... | mit | C# |
4a0bc6be92d107675a40e24eae60e2b79f6a264f | Remove unused field | mika76/mamesaver | Mamesaver/MultiFormApplicationContext.cs | Mamesaver/MultiFormApplicationContext.cs | using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
namespace Mamesaver
{
public class MultiFormApplicationContext : ApplicationContext
{
private int _openForms;
public MultiFormApplicationContext(List<Form> forms)
{
foreach (var form in f... | using System.Collections.Generic;
using System.Threading;
using System.Windows.Forms;
namespace Mamesaver
{
public class MultiFormApplicationContext : ApplicationContext
{
private readonly List<Form> _forms;
private int _openForms;
public MultiFormApplicationContext(List<Form> forms)
... | mit | C# |
0292dd400c6f6ac75cd36ba4e275323cd8a9556d | Add classes for Formula | sakapon/Samples-2016,sakapon/Samples-2016 | MathSample/NumberGuessConsole/Program.cs | MathSample/NumberGuessConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Blaze.Propositions;
using static Blaze.Propositions.Formula;
namespace NumberGuessConsole
{
class Program
{
static void Main(string[] args)
{
}
}
public static class FormulaHelper
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NumberGuessConsole
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
68986cdc42332c63a3141b6cca4a45a1536ef869 | remove unused args | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/Controllers/PackageController.cs | NuCache/Controllers/PackageController.cs | using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading.Tasks;
using System.Web.Http;
using System.Xml.Linq;
using NuCache.Infrastructure;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly... | using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading.Tasks;
using System.Web.Http;
using System.Xml.Linq;
using NuCache.Infrastructure;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly... | lgpl-2.1 | C# |
92294677af403b460f3bbe5e3fbe48a35c2e8bb5 | remove unused imports | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/Controllers/PackageController.cs | NuCache/Controllers/PackageController.cs | using System.Net.Http;
using System.Web.Http;
using System.Threading.Tasks;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly IPackageSource _packageSource;
public PackagesController(IPackageSource source)
{
_packageSource = source;
}
[HttpGet]
publi... | using System.Net.Http;
using System.Web.Http;
using System.Threading.Tasks;
using NuCache.Infrastructure;
namespace NuCache.Controllers
{
public class PackagesController : ApiController
{
private readonly IPackageSource _packageSource;
public PackagesController(IPackageSource source)
{
_packageSource = s... | lgpl-2.1 | C# |
f239aa43d8665c4709258aab9cb255a8e348e2ba | Change model reference with old namespace to new | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Oogstplanner.Web/Views/Crop/Index.cshtml | Oogstplanner.Web/Views/Crop/Index.cshtml | @model IEnumerable<Oogstplanner.Models.Crop>
@{
ViewBag.Title = "Gewassen";
}
<div id="top"></div>
<div id="yearCalendar">
<h1>Dit zijn de gewassen in onze database:</h1>
<table class="table table-striped">
<tr>
<th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th>
<th>Opp. per zak</th><... | @model IEnumerable<Zk.Models.Crop>
@{
ViewBag.Title = "Gewassen";
}
<div id="top"></div>
<div id="yearCalendar">
<h1>Dit zijn de gewassen in onze database:</h1>
<table class="table table-striped">
<tr>
<th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th>
<th>Opp. per zak</th><th>Prijs p... | mit | C# |
02e72b76ae6ccff43d6c548e4b55b8be25779f37 | Make a call using System.Net.WebClient | ShippingEasy/shipping_easy-dotnet,ShippingEasy/shipping_easy-dotnet | ShippingEasy/Client.cs | ShippingEasy/Client.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ShippingEasy
{
public class Client
{
public string Greet()
{
var url = "172.16.65.1:5000/api/orders?api_key=f9a7c8ebdfd34beaf260d9b0296c7059&api_timestamp=1421359500&api_signature=28ecb6... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ShippingEasy
{
public class Client
{
public string Greet()
{
return "Hi there";
}
}
}
| mit | C# |
b7dacbd2918bde4615fa3e6c6b6da68166173ac5 | Fix magboots atmos wind protection (#7663) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Clothing/MagbootsSystem.cs | Content.Server/Clothing/MagbootsSystem.cs | using Content.Server.Atmos.Components;
using Content.Server.Clothing.Components;
using Content.Shared.Alert;
using Content.Shared.Clothing;
using Content.Shared.Inventory.Events;
namespace Content.Server.Clothing
{
public sealed class MagbootsSystem : SharedMagbootsSystem
{
[Dependency] private readonl... | using Content.Server.Atmos.Components;
using Content.Server.Clothing.Components;
using Content.Shared.Alert;
using Content.Shared.Clothing;
using Content.Shared.Inventory.Events;
namespace Content.Server.Clothing
{
public sealed class MagbootsSystem : SharedMagbootsSystem
{
[Dependency] private readonl... | mit | C# |
093e5a58d5e0f5de893e2f2d98248d65dfa6b870 | Fix reordering. I had accidentally put the Index hidden filed outside the <li> element. | ivanz/ASP.NET-MVC-Collection-Editing,ivanz/ASP.NET-MVC-Collection-Editing | CollectionEditing/Views/User/MovieEntryEditor.cshtml | CollectionEditing/Views/User/MovieEntryEditor.cshtml | @model CollectionEditing.Models.Movie
<li style="padding-bottom:15px">
@using (Html.BeginCollectionItem("FavouriteMovies")) {
<img src="@Url.Content("~/Content/images/draggable-icon.png")" style="cursor: move" alt=""/>
@Html.LabelFor(model => model.Title)
@Html.EditorFor... | @model CollectionEditing.Models.Movie
@using (Html.BeginCollectionItem("FavouriteMovies")) {
<li style="padding-bottom:15px">
<img src="@Url.Content("~/Content/images/draggable-icon.png")" style="cursor: move" alt=""/>
@Html.LabelFor(model => model.Title)
@Html.EditorFor(model => m... | mit | C# |
26091c87ed02aac7e705746a264e62bef4dbb9f7 | fix error | chinaboard/CoralSea,chinaboard/CoralSea,chinaboard/CoralSea | CoralSea/CoralSea.Business/Rank/RankLevelBusiness.cs | CoralSea/CoralSea.Business/Rank/RankLevelBusiness.cs | using CoralSea.IBusiness.Rank;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CoralSea.Model.Rank;
namespace CoralSea.Business.Rank
{
public class RankLevelBusiness : IRankLevelBusiness
{
public RankLevelModel GetRankLevel(int ... | using CoralSea.IBusiness.Rank;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CoralSea.Model.Rank;
namespace CoralSea.Business.Rank
{
public class RankLevelBusiness : IRankLevelBusiness
{
public RankLevelModel GetRankLevel(int ... | mit | C# |
5b2a1faa1d6a217281689a13fc901fb4b982d030 | Move next step calculation to a property | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs | DynamixelServo.Quadruped/BasicQuadrupedGaitEngine.cs | using System;
using System.Numerics;
namespace DynamixelServo.Quadruped
{
public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine
{
private const int Speed = 12;
private float NextStepLength => Speed * 0.001f * TimeSincelastTick;
private int _currentIndex;
private readonl... | using System;
using System.Numerics;
namespace DynamixelServo.Quadruped
{
public class BasicQuadrupedGaitEngine : QuadrupedGaitEngine
{
private const int Speed = 12;
private int _currentIndex;
private readonly Vector3[] _positions =
{
new Vector3(-5, 5, 3),
... | apache-2.0 | C# |
e13ad433ff4fe248ea4603235f4a383e54e9e798 | Update test console project | kdelmonte/active-directory-utilities | TestConsole/Program.cs | TestConsole/Program.cs | using System;
using ActiveDirectoryUtilities;
namespace TestConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter the domain name");
var domainName = Console.ReadLine();
// Set credentials of the user account that we will use ... | using System;
using ActiveDirectoryUtilities;
namespace Test
{
class Program
{
static void Main(string[] args)
{
var domainName = "";
// Set credentials of the user account that we will use to perform the domain
// the active directory operations. This use... | mit | C# |
d37f8b9dac4c164efa16be16df6894223a70bc0f | Fix crash when project settings do not deserialize properly (HT-268) | sillsdev/hearthis,sillsdev/hearthis,sillsdev/hearthis | src/HearThis/Script/ProjectSettings.cs | src/HearThis/Script/ProjectSettings.cs | // --------------------------------------------------------------------------------------------
#region // Copyright (c) 2016, SIL International. All Rights Reserved.
// <copyright from='2016' to='2016' company='SIL International'>
// Copyright (c) 2016, SIL International. All Rights Reserved.
//
// Distributable und... | // --------------------------------------------------------------------------------------------
#region // Copyright (c) 2016, SIL International. All Rights Reserved.
// <copyright from='2016' to='2016' company='SIL International'>
// Copyright (c) 2016, SIL International. All Rights Reserved.
//
// Distributable und... | mit | C# |
ceec4364dd3d0fbd94c3bc0aabf33fa65c87074c | Bump to 2.0.1 | hudl/Mjolnir,courtneyklatt/Mjolnir | Hudl.Mjolnir/Properties/AssemblyInfo.cs | Hudl.Mjolnir/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("Hu... | 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("Hu... | apache-2.0 | C# |
0e8e2d5980f8539c543695b3c2e24dda98ee2338 | 修正 FormButtonGroupItem 未完成的 Bug | yonglehou/Jumony,wukaixian/Jumony,wukaixian/Jumony,zpzgone/Jumony,zpzgone/Jumony,yonglehou/Jumony | Ivony.Html.Forms/FormButtonGroupItem.cs | Ivony.Html.Forms/FormButtonGroupItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivony.Fluent;
namespace Ivony.Html.Forms
{
/// <summary>
/// 定义按钮组组控件的项,即单个按钮
/// </summary>
public sealed class FormButtonGroupItem : FormGroupControlItem
{
internal FormButtonGroupItem( FormButtonGroup groupC... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivony.Fluent;
namespace Ivony.Html.Forms
{
/// <summary>
/// 定义按钮组组控件的项,即单个按钮
/// </summary>
public sealed class FormButtonGroupItem : FormGroupControlItem
{
internal FormButtonGroupItem( FormButtonGroup groupC... | apache-2.0 | C# |
72ab17cbf7fc5bbd65b15775ef37a5aca5a674e5 | make sure test db is created with all options | os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos | Tools.Test.Database/Model/Tasks/EnableAllOptionsTask.cs | Tools.Test.Database/Model/Tasks/EnableAllOptionsTask.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Core.DomainModel;
namespace Tools.Test.Database.Model.Tasks
{
public class EnableAllOptionsTask : DatabaseTask
{
public EnableAllOptionsTask(string connectionString) : base(connectionString)
{
... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Core.DomainModel;
namespace Tools.Test.Database.Model.Tasks
{
public class EnableAllOptionsTask : DatabaseTask
{
public EnableAllOptionsTask(string connectionString) : base(connectionString)
{
... | mpl-2.0 | C# |
ced0f8bf47d6f2875e7f225d1f6c542ba24b4460 | Implement IsValidDestination for Rook | ProgramFOX/Chess.NET | ChessDotNet/Pieces/Rook.cs | ChessDotNet/Pieces/Rook.cs | using System;
namespace ChessDotNet.Pieces
{
public class Rook : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Rook(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{... | namespace ChessDotNet.Pieces
{
public class Rook : ChessPiece
{
public override Player Owner
{
get;
set;
}
public Rook(Player owner)
{
Owner = owner;
}
public override string GetFenCharacter()
{
re... | mit | C# |
f5d2472462463f1aad1c1e6893488400119e1a51 | Update version to 1.2 | M-Yankov/SWapi-CSharp | SWapi-CSharp/Properties/AssemblyInfo.cs | SWapi-CSharp/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("SW... | 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("SW... | mit | C# |
0e9eebe60220fe91e797a470faec920a8c81184c | undo comment | BD-IATI/edi,BD-IATI/edi,BD-IATI/edi,BD-IATI/edi | AIMS_BD_IATI.Service/Program.cs | AIMS_BD_IATI.Service/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AIMS_BD_IATI.Library;
using AIMS_BD_IATI.Library.Parser;
using AIMS_BD_IATI.Library.Parser.ParserIATIv1;
using AIMS_BD_IATI.Library.Parser.ParserIATIv2;
namespace AIMS_BD_IATI.Se... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AIMS_BD_IATI.Library;
using AIMS_BD_IATI.Library.Parser;
using AIMS_BD_IATI.Library.Parser.ParserIATIv1;
using AIMS_BD_IATI.Library.Parser.ParserIATIv2;
namespace AIMS_BD_IATI.Se... | agpl-3.0 | C# |
20eedfc6c0245311c7fa4ceb6441f0ed24ba11ba | Add known default relations | pardahlman/akeneo-csharp | Akeneo/Common/AkeneoDefaults.cs | Akeneo/Common/AkeneoDefaults.cs | namespace Akeneo.Common
{
public class AkeneoDefaults
{
public const string DefaultAttributeGroup = "other";
public const string DefaultChannel = "ecommerce";
public const string Category = "master";
public const string IdentifierAttribute = "sku";
public const string PackAssociation = "PACK";
public con... | namespace Akeneo.Common
{
public class AkeneoDefaults
{
public const string DefaultAttributeGroup = "other";
public const string DefaultChannel = "ecommerce";
public const string Category = "master";
public const string IdentifierAttribute = "sku";
}
}
| mit | C# |
2dc61f77cba60aca1b8a8e9a762102e5d59d9b59 | Update CameraControl.cs | mitjmcc/Seasick,mitjmcc/Seasick | Assets/Scripts/CameraControl.cs | Assets/Scripts/CameraControl.cs | using UnityEngine;
using System.Collections;
public class CameraControl : MonoBehaviour {
public GameObject target;
public float maxSpeed;
public float maxVertSpeed;
public float maxDistance;
float horizAxis;
float vertAxis;
float mWheel;
int zoomSpeed = 4;
// Use this for initialization
void Start () {
}
... | using UnityEngine;
using System.Collections;
public class CameraControl : MonoBehaviour {
public GameObject target;
public float maxSpeed;
public float maxVertSpeed;
public float maxDistance;
float horizAxis;
float vertAxis;
float mWheel;
// Use this for initialization
void Start () {
}
// Update is call... | mit | C# |
0e966317c31f551cdf363a83ad6e682af41e501c | Remove studio repo Create call used for testing | meutley/ISTS | src/Application/Studios/StudioService.cs | src/Application/Studios/StudioService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using ISTS.Domain.Studios;
namespace ISTS.Application.Studios
{
public class StudioService : IStudioService
{
private readonly IStudioRepository _studioRepository;
private readonly IMapper _mapper;
p... | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using ISTS.Domain.Studios;
namespace ISTS.Application.Studios
{
public class StudioService : IStudioService
{
private readonly IStudioRepository _studioRepository;
private readonly IMapper _mapper;
p... | mit | C# |
4703ca17d088451ecbb8901cf5a5ea76708bf439 | Create canvas with live cells before drawing on screen. | kubkon/GameOfLifeApplication | GameOfLifeApplication/Form1.cs | GameOfLifeApplication/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GameOfLifeApplication
{
public partial class Form1 : Form
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GameOfLifeApplication
{
public partial class Form1 : Form
{
... | mit | C# |
07ba37326292ecec4a011f8f155cd7e3bfe5543e | disable machineip test | aloneguid/logmagic | test/LogMagic.Test/EnrichersTest.cs | test/LogMagic.Test/EnrichersTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogMagic.Enrichers;
using Xunit;
namespace LogMagic.Test
{
public class EnrichersTest
{
private TestWriter _writer;
private ILog _log;
public EnrichersTest()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LogMagic.Enrichers;
using Xunit;
namespace LogMagic.Test
{
public class EnrichersTest
{
private TestWriter _writer;
private ILog _log;
public EnrichersTest()
{
... | mit | C# |
d0a752248ec92ca0703a0439d1260cd81ba9dc2a | Make ActionDelete.ActionAlias public again | marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,abr... | src/Umbraco.Core/Actions/ActionDelete.cs | src/Umbraco.Core/Actions/ActionDelete.cs | // Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
/// </summary>
public class ActionDelete : IAction
{
/// <summary>
/// The unique action alias
/... | // Copyright (c) Umbraco.
// See LICENSE for more details.
namespace Umbraco.Cms.Core.Actions
{
/// <summary>
/// This action is invoked when a document, media, member is deleted
/// </summary>
public class ActionDelete : IAction
{
/// <summary>
/// The unique action alias
/... | mit | C# |
68d7acc201c77531a7816a032123f51213c527a2 | Add Initialize method | ektrah/nsec | src/Cryptography/Sodium.cs | src/Cryptography/Sodium.cs | using System;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
//
// Libsodium Versions
//
// Version | Major | Minor
// ------- | ----- | -----
// 1.0.0 | 7 | 2
// 1.0.1 | 7 | 3
// 1.0.2 | 7 | 4
// 1.0.3 | 7 ... | using System;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
//
// Libsodium Versions
//
// Version | Major | Minor
// ------- | ----- | -----
// 1.0.0 | 7 | 2
// 1.0.1 | 7 | 3
// 1.0.2 | 7 | 4
// 1.0.3 | 7 ... | mit | C# |
01ac19fdbb96cea3f36da3ce4b5ed39d1994658a | Set legacy version of osu!classic skin to 2.0 | NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new | osu.Game/Skinning/DefaultLegacySkin.cs | osu.Game/Skinning/DefaultLegacySkin.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.Audio;
using osu.Framework.IO.Stores;
using osuTK.Graphics;
namespace osu.Game.Skinning
{
public class DefaultLegacySkin : LegacySkin
{
... | // 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.Audio;
using osu.Framework.IO.Stores;
using osuTK.Graphics;
namespace osu.Game.Skinning
{
public class DefaultLegacySkin : LegacySkin
{
... | mit | C# |
114369831df684d05ee19ac70a9873ff8b5f8c9f | Update model data annotations | RubenLaube-Pohto/asp.net-project | Models/MessageModel.cs | Models/MessageModel.cs | using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
namespace ChatApp.Models
{
public class MessagesContext : DbContext
{
public MessagesContext(DbContextOptions<MessagesContext> options) : base(options) { }
public DbSet<Message> Messages { get; set;... | using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
namespace ChatApp.Models
{
public class MessagesContext : DbContext
{
public MessagesContext(DbContextOptions<MessagesContext> options) : base(options) { }
public DbSet<Message> Messages { get; set;... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.