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 |
|---|---|---|---|---|---|---|---|---|
4a10aec8d413787184a874b6c3878e96d0ec2cd0 | make map hack work in multiplayer | ad510/plausible-deniability | Assets/Scripts/SimEvt/CmdEvt/CmdEvt.cs | Assets/Scripts/SimEvt/CmdEvt/CmdEvt.cs | // Copyright (c) 2013-2014 Andrew Downing
// 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, copy, modify, merge, publish, distr... | // Copyright (c) 2013-2014 Andrew Downing
// 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, copy, modify, merge, publish, distr... | mit | C# |
4816c034cedac503688438f7296b2196db865166 | bump version number | vendettamit/BenchmarkIt,bodyloss/BenchmarkIt | BenchmarkIt/Properties/AssemblyInfo.cs | BenchmarkIt/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("BenchmarkIt")]
[assembly: AssemblyDescription ("Benchmark utility")]
[assembly: AssemblyConfigur... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("BenchmarkIt")]
[assembly: AssemblyDescription ("Benchmark utility")]
[assembly: AssemblyConfigur... | mit | C# |
b93ac92d8c02a573319fe8365ed1dcbc95849e90 | Rename to maui application | Caliburn-Micro/Caliburn.Micro | samples/setup/Setup.Maui/App.xaml.cs | samples/setup/Setup.Maui/App.xaml.cs | using Caliburn.Micro.Maui;
using Setup.Maui.ViewModels;
namespace Setup.Maui
{
public partial class App : Caliburn.Micro.Maui.MauiApplication
{
public App()
{
InitializeComponent();
Initialize();
DisplayRootViewForAsync<MainViewModel>();
}
}
}
| using Caliburn.Micro.Maui;
using Setup.Maui.ViewModels;
namespace Setup.Maui
{
public partial class App : Caliburn.Micro.Maui.FormsApplication
{
public App()
{
InitializeComponent();
Initialize();
DisplayRootViewForAsync<MainViewModel>();
}
}
}... | mit | C# |
1b04145b486e799ca8ad64d88c189ac038511a11 | Fix default color temperature values | fistak/MaterialColor | Common/Data/TemperatureOverlayState.cs | Common/Data/TemperatureOverlayState.cs | using System.Collections.Generic;
namespace Common.Data
{
public class TemperatureOverlayState
{
public bool CustomRangesEnabled { get; set; } = true;
public List<float> Temperatures => new List<float>
{
Aqua, Turquoise, Blue, Green, Lime, Orange, RedOrange, Red
};... | using System.Collections.Generic;
namespace Common.Data
{
public class TemperatureOverlayState
{
public bool CustomRangesEnabled { get; set; } = true;
public List<float> Temperatures => new List<float>
{
Aqua, Turquoise, Blue, Green, Lime, Orange, RedOrange, Red
};... | mit | C# |
14879acd83c28391fc0f2b588a2f00fe47afbe3f | Fix possible nullref | peppy/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,naoey/osu,smoogipooo/osu,naoey/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,ZLima12/osu,peppy/osu,NeoAdonis... | osu.Game/Screens/Multi/Match/Components/HostInfo.cs | osu.Game/Screens/Multi/Match/Components/HostInfo.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.Containers;
using osu.Game.Online.Chat;
using osu.Game.Online.Multiplayer;... | // 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.Containers;
using osu.Game.Online.Chat;
using osu.Game.Online.Multiplayer;... | mit | C# |
f17c7227f2222adaf93b4995ac7c81232ff9b47b | Update Error.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/Error.cs | main/Smartsheet/Api/Models/Error.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2014 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) 2014 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# |
c00d9b89e2354678120794b8bef7f13a313a88a8 | Update copyright | msgpack/msgpack-cli,msgpack/msgpack-cli | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2016 FUJIWARA, Yusuke
//
// 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.apac... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2016 FUJIWARA, Yusuke
//
// 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.apac... | apache-2.0 | C# |
df7530b752e428ef080f332d8b317412937a4ee4 | Add description to service resource | digirati-co-uk/iiif-model,Riksarkivet/iiif-model,dalbymodo/DalbyExperiment | Digirati.IIIF/Model/Types/Service.cs | Digirati.IIIF/Model/Types/Service.cs | using Digirati.IIIF.Model.JsonLD;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types
{
public class Service : JSONLDBase, IService
{
[JsonProperty(Order = 10, PropertyName = "profile")]
public dynamic Profile { get; set; }
[JsonProperty(Order = 11, PropertyName = "label")]
... | using Digirati.IIIF.Model.JsonLD;
using Newtonsoft.Json;
namespace Digirati.IIIF.Model.Types
{
public class Service : JSONLDBase, IService
{
[JsonProperty(Order = 10, PropertyName = "profile")]
public dynamic Profile { get; set; }
[JsonProperty(Order = 11, PropertyName = "label")]
... | mit | C# |
9cb1a9154e0fd3c5f6fd8924229ec4f5bc90b54d | Fix Xwt.Mac dll name | mono/guiunit | src/framework/GuiUnit/XwtMainLoopIntegration.cs | src/framework/GuiUnit/XwtMainLoopIntegration.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
// List of Xwt backends we will try to use in order of priority
Tuple<string,string>[] backends = new[] {
Tuple.Create ("Xwt.Gtk.dll", "Xwt.GtkBackend.Gtk... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
// List of Xwt backends we will try to use in order of priority
Tuple<string,string>[] backends = new[] {
Tuple.Create ("Xwt.Gtk.dll", "Xwt.GtkBackend.Gtk... | mit | C# |
5f157e281ba6aa42abeb6598293e597584c0ba23 | Fix Xwt initialization to work with the WPF backend | mono/guiunit | src/framework/GuiUnit/XwtMainLoopIntegration.cs | src/framework/GuiUnit/XwtMainLoopIntegration.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
// List of Xwt backends we will try to use in order of priority
Tuple<string,string>[] backends = new[] {
Tuple.Create ("Xwt.Gtk.dll", "Xwt.GtkBackend.Gtk... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
namespace GuiUnit
{
public class XwtMainLoopIntegration : IMainLoopIntegration
{
Type Application {
get; set;
}
public XwtMainLoopIntegration ()
{
Application = Type.GetType ("Xwt.Application, Xwt");
if (Application == null)... | mit | C# |
db4b5cc7a176541b51757e1a65fbc5d84fc2b4e4 | Fix version | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | LmpCommon/Properties/AssemblyInfo.cs | LmpCommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Luna Multiplayer Mod")]
[assembly: AssemblyDescription("Luna Multiplayer Mod (common)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LMP... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Luna Multiplayer Mod")]
[assembly: AssemblyDescription("Luna Multiplayer Mod (common)")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LMP... | mit | C# |
fd1a9fda4610c4215d26e3e4d5305b494dd0cac8 | Update MessagePublisherTests.cs | serdardemir/EasyBus | EasyBus.Tests/MessagePublisherTests.cs | EasyBus.Tests/MessagePublisherTests.cs | using EasyBus.Abstraction;
using EasyBus.Types.MessageTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace EasyBus.Tests
{
public class MessagePublisherTests : IClassFixture<MessagePublisherFixture>
{
MessageP... | using EasyBus.Abstraction;
using EasyBus.Types.MessageTypes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace EasyBus.Tests
{
public class MessagePublisherTests : IClassFixture<MessagePublisherFixture>
{
MessageP... | mit | C# |
0f7037d696cc59f5e227d56fa3159516e08abe3e | Update src/ApiApprover/PublicApiApprover.cs | JakeGinnivan/ApiApprover | src/ApiApprover/PublicApiApprover.cs | src/ApiApprover/PublicApiApprover.cs | using System;
using System.IO;
using System.Reflection;
using ApprovalTests;
using ApprovalTests.Namers;
namespace ApiApprover
{
[Obsolete("The `ApiApprover` package will be removed in the next major version. Install the `PublicApiGenerator` package and use the `ApiGenerator` class directly instead.", false)]
... | using System;
using System.IO;
using System.Reflection;
using ApprovalTests;
using ApprovalTests.Namers;
namespace ApiApprover
{
[Obsolete("The package `ApiApprover` will be removed in the next major version. Install the package `PublicApiGenerator` and use the `ApiGenerator` directly or copy https://github.com/J... | mit | C# |
f8ebecb08e209b4acaef11f959bccdad787ecd88 | Remove commented code | Free1man/SeleniumTestFramework,Free1man/SeleniumTestsRunner | SeleniumPageObjects/DriverService.cs | SeleniumPageObjects/DriverService.cs | using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.PhantomJS;
using System;
namespace SeleniumPageObjects
{
class DriverService
{
public IWebDriver GetBrowserForDriver(string browser)
{
switch (browser) {
case... | using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.PhantomJS;
using System;
namespace SeleniumPageObjects
{
class DriverService
{
//public IWebDriver Driver { get; }
public IWebDriver GetBrowserForDriver(string browser)
{
... | mit | C# |
f17c563aed112dabbdbe977fcdb88772be7d85eb | move ticket generation code | HouseBreaker/Shameless | Shameless/Tickets/TicketGenerator.cs | Shameless/Tickets/TicketGenerator.cs | namespace Shameless.Tickets
{
using System;
using System.IO;
using System.Linq;
using Shameless.Properties;
using Shameless.Utils;
public static class TicketGenerator
{
public static void GenerateTicket(Nintendo3DSTitle title, string fileName, string outputDir)
{
var ticket = Convert.FromBase64String(R... | namespace Shameless.Tickets
{
using System;
using System.IO;
using System.Linq;
using Shameless.Properties;
using Shameless.Utils;
public static class TicketGenerator
{
public static void GenerateTicket(Nintendo3DSTitle title, string fileName, string outputDir)
{
var ticket = Convert.FromBase64String(R... | mit | C# |
5c0c210573ad42b2b5657e0bc0a4c931a5fcbd65 | Document ITransitionInfo<TState> | canton7/StateMechanic,canton7/StateMechanic | src/StateMechanic/ITransitionInfo.cs | src/StateMechanic/ITransitionInfo.cs | namespace StateMechanic
{
/// <summary>
/// Information about a transition
/// </summary>
/// <typeparam name="TState"></typeparam>
public interface ITransitionInfo<TState>
{
/// <summary>
/// Gets the state this transition is from
/// </summary>
TState From { ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StateMechanic
{
public interface ITransitionInfo<TState>
{
/// <summary>
/// Gets the state this transition is from
/// </summary>
TState From { get; }
... | mit | C# |
a2194513157febc4c5a90dfa6f066df012f83b5f | Fix exception caused by getting directory name from empty string in runner config editor | mkoscielniak/SSMScripter | SSMScripter/Config/RunnerConfigForm.cs | SSMScripter/Config/RunnerConfigForm.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SSMScripter.Runner;
namespace SSMScripter.Config
{
public partial class Runne... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using SSMScripter.Runner;
namespace SSMScripter.Config
{
public partial class Runne... | mit | C# |
c854cec188dfda99e930673af9d197a49b6923fc | Add constructors in KpTestView | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaComm/OpenKPs/KpTest/KpTestView.cs | ScadaComm/OpenKPs/KpTest/KpTestView.cs | /*
* Copyright 2015 Mikhail Shiryaev
*
* 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 or a... | /*
* Copyright 2015 Mikhail Shiryaev
*
* 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 or a... | apache-2.0 | C# |
dc18d1723333b37f06e0edd8e9c3dd7f523cd77c | Fix bug with index in VectorEnumerator | ProgTrade/SharpMath | SharpMath/Geometry/VectorEnumerator.cs | SharpMath/Geometry/VectorEnumerator.cs | using System.Collections;
using System.Collections.Generic;
namespace SharpMath.Geometry
{
public class VectorEnumerator : IEnumerator<double>
{
private readonly Vector _vector;
private int _index = -1;
internal VectorEnumerator(Vector vector)
{
_vector = vector;
... | using System.Collections;
using System.Collections.Generic;
namespace SharpMath.Geometry
{
public class VectorEnumerator : IEnumerator<double>
{
private readonly Vector _vector;
private int _index;
internal VectorEnumerator(Vector vector)
{
_vector = vector;
... | mit | C# |
1a26a557f6bf9ea540c8d59b4cb020ca105289d3 | fix tabs (again...) | activescott/lessmsi,activescott/lessmsi,activescott/lessmsi | src/LessMsi.Cli/OpenGuiCommand.cs | src/LessMsi.Cli/OpenGuiCommand.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
namespace LessMsi.Cli
{
internal class OpenGuiCommand : LessMsiCommand
{
public override void Run(List<string> args)
{
if (args.Count < 2)
throw new OptionException("You must specify the name o... | mit | C# |
bdcef9074fe9820ace06625c85f4b9188a4c12bb | add spacing above tag helpers | scottaddie/TagHelpersDemo,scottaddie/TagHelpersDemo | TagHelpersDemo/Views/Home/Index.cshtml | TagHelpersDemo/Views/Home/Index.cshtml | @using TagHelpersDemo.TagHelpers
@{
ViewData["Title"] = "Home Page";
}
<div class="clearfix"> </div>
<hand player="John">
<card suit="@CardTagHelper.CardSuit.Heart" rank="@CardTagHelper.CardRank.Ace"></card>
<card suit="@CardTagHelper.CardSuit.Club" rank="@CardTagHelper.CardRank.Eight"></card>
... | @using TagHelpersDemo.TagHelpers
@{
ViewData["Title"] = "Home Page";
}
<hand player="John">
<card suit="@CardTagHelper.CardSuit.Heart" rank="@CardTagHelper.CardRank.Ace"></card>
<card suit="@CardTagHelper.CardSuit.Club" rank="@CardTagHelper.CardRank.Eight"></card>
<card suit="@CardTagHelper.CardSuit.... | mit | C# |
69c6b92013d30e931f4be851db1c3ffdc106e101 | Kill server testing | robotdotnet/NetworkTablesCore | NetworkTablesCore.Test/TestServer.cs | NetworkTablesCore.Test/TestServer.cs | using System;
using System.Threading;
using NetworkTables;
using NetworkTables.Native;
using NUnit.Framework;
namespace NetworkTablesCore.Test
{
public class TestServer
{
public void Test()
{
NetworkTable.Shutdown();
CoreMethods.SetLogger(((level, file, line, message) ... | using System;
using System.Threading;
using NetworkTables;
using NetworkTables.Native;
using NUnit.Framework;
namespace NetworkTablesCore.Test
{
[TestFixture]
public class TestServer
{
[Test]
public void Test()
{
NetworkTable.Shutdown();
CoreMethods.SetLogg... | bsd-3-clause | C# |
2364ac71c4fd827295cae8518c26dab282da12e6 | Update TestServer.cs | robotdotnet/NetworkTablesCore | NetworkTablesCore.Test/TestServer.cs | NetworkTablesCore.Test/TestServer.cs | using System;
using System.Threading;
using NetworkTables;
using NetworkTables.Native;
using NUnit.Framework;
namespace NetworkTablesCore.Test
{
[TestFixture]
public class TestServer
{
[Test]
public void Test()
{
CoreMethods.SetLogger(((level, file, line, message) =>
... | using System;
using System.Threading;
using NetworkTables;
using NetworkTables.Native;
using NUnit.Framework;
namespace NetworkTablesCore.Test
{
[TestFixture]
public class TestServer
{
[Test]
public void Test()
{
CoreMethods.SetLogger(((level, file, line, message) =>
... | bsd-3-clause | C# |
7510f0d9c06a4fa14110c1f394d4989dcbeed00a | Bump version to 0.31.4 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
828072bceaad5cb10ae39abdec82148136707fa0 | Fix issue #15869 | ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu | osu.Game/Rulesets/Mods/ModCinema.cs | osu.Game/Rulesets/Mods/ModCinema.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.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Ga... | // 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.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Ga... | mit | C# |
52336e9062affa6742ad49c7802f31153364e04a | Fix pause tests | ppy/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ZLima12/osu,ZLima12/osu,2yangk23/osu,pep... | osu.Game/Tests/Visual/PlayerTestCase.cs | osu.Game/Tests/Visual/PlayerTestCase.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.Linq;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
using osu.Ga... | // 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.Linq;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
using osu.Ga... | mit | C# |
17decd464b5883c95b3d48033d4967f998df7d63 | add DNT.Diag.Settings | rockyx/dntdiag | DNT/Diag/Settings.cs | DNT/Diag/Settings.cs | using System;
namespace DNT.Diag
{
public static class Settings
{
private static Language lang;
private static string langText;
public static Language Language
{
get { return lang; }
set {
lang = value;
langText = ToString (lang);
}
}
public static string ToString(Lang... | using System;
namespace DNT.Diag
{
public static class Settings
{
public Settings ()
{
}
}
}
| apache-2.0 | C# |
560a2fa9f6be7c403f90866a9c69ba264def52c6 | Convert to NFluent | picklesdoc/pickles,ludwigjossieaux/pickles,irfanah/pickles,irfanah/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,irfanah/pickles,dirkrombauts/pickles,picklesdoc/pickles,magicmonty/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,blorgbeard/pickles,irfanah/pickles,dirkromba... | src/Pickles/Pickles.Test/WhenDeterminingRelevantFilesToConsider.cs | src/Pickles/Pickles.Test/WhenDeterminingRelevantFilesToConsider.cs | using System;
using NUnit.Framework;
using Autofac;
using PicklesDoc.Pickles.DirectoryCrawler;
using NFluent;
namespace PicklesDoc.Pickles.Test
{
[TestFixture]
public class WhenDeterminingRelevantFilesToConsider : BaseFixture
{
[Test]
public void ThenCanDetectFeatureFilesSuccessfully()
... | using System;
using NUnit.Framework;
using Autofac;
using PicklesDoc.Pickles.DirectoryCrawler;
using Should;
namespace PicklesDoc.Pickles.Test
{
[TestFixture]
public class WhenDeterminingRelevantFilesToConsider : BaseFixture
{
[Test]
public void ThenCanDetectFeatureFilesSuccessfully()
... | apache-2.0 | C# |
953a7a6a3d703b795a6a736a116fc426ebb644c8 | Add non formatting overloads | xPaw/WendySharp | WendySharp/Wendy/CommandArguments.cs | WendySharp/Wendy/CommandArguments.cs | using System;
using System.Text.RegularExpressions;
using NetIrc2.Events;
namespace WendySharp
{
class CommandArguments
{
public bool IsDirect;
public string MatchedCommand;
public ChatMessageEventArgs Event;
public Match Arguments;
public User User;
public voi... | using System;
using System.Text.RegularExpressions;
using NetIrc2.Events;
namespace WendySharp
{
class CommandArguments
{
public bool IsDirect;
public string MatchedCommand;
public ChatMessageEventArgs Event;
public Match Arguments;
public User User;
public voi... | mit | C# |
adfe419f491bb3d1c80c624bc59bbae52dd45405 | Add properties to "MP3File" class | elp87/TagReader | elp87.TagReader/MP3File.cs | elp87.TagReader/MP3File.cs | using elp87.TagReader.id3v2;
namespace elp87.TagReader
{
public class MP3File
{
#region Fields
private ID3V2 _id3v2;
#endregion
#region Constructors
public MP3File()
{
}
public MP3File(string filename)
{
_id3v2 = new ID3V2(... | using elp87.TagReader.id3v2;
namespace elp87.TagReader
{
public class MP3File
{
private ID3V2 _id3v2;
public MP3File()
{
}
public MP3File(string filename)
{
_id3v2 = new ID3V2(filename);
}
public ID3V2 Id3v2
{
g... | lgpl-2.1 | C# |
4a151edb6327e6b8344249c0009aac7013ecdcb9 | Use local LayoutManager instance for OffscreenTopLevel. | wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,grokys/Perspex,SuperJMN/Avalon... | src/Avalonia.Controls/Embedding/Offscreen/OffscreenTopLevel.cs | src/Avalonia.Controls/Embedding/Offscreen/OffscreenTopLevel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Avalonia.Layout;
using Avalonia.Styling;
namespace Avalonia.Controls.Embedding.Offscreen
{
class OffscreenTopLevel : TopLevel, IStyleable
{
public OffscreenTopLevelImplBase Impl { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Avalonia.Layout;
using Avalonia.Styling;
namespace Avalonia.Controls.Embedding.Offscreen
{
class OffscreenTopLevel : TopLevel, IStyleable
{
public OffscreenTopLevelImplBase Impl { ... | mit | C# |
054cb7f3f0d5d9cc648cb156fb71f9d674b58e82 | Set env vars in GitHub Actions | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | namespace NerdBank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
using Nerdbank.GitVersioning;
internal class GitHubActions : ICloudBuild
{
public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true";
... | mit | C# |
5c0ac2c8181861c19a7cd4c1b2d3d11039231564 | Fix #291: Dot-source reference detection should ignore ScriptBlocks | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs | src/PowerShellEditorServices/Language/FindDotSourcedVisitor.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices
{
/// <summary>
/// The vis... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System.Collections.Generic;
using System.Management.Automation.Language;
namespace Microsoft.PowerShell.EditorServices
{
/// <summary>
/// The vis... | mit | C# |
35f69b9fc75911e0b72afb4592fe661ffb6e422b | Change uow to default to IsolationLevel.RepeatableRead | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs | using System;
using System.Data;
using Dapper.FastCrud;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public class UnitOfWork : DbTransaction, IUnitOfWork
{
public SqlDialect SqlDialect { get; }
private readonly Guid _guid = Guid.NewGuid();
public UnitOfWork(IDbFac... | using System;
using System.Data;
using Dapper.FastCrud;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data
{
public class UnitOfWork : DbTransaction, IUnitOfWork
{
public SqlDialect SqlDialect { get; }
private readonly Guid _guid = Guid.NewGuid();
public UnitOfWork(IDbFac... | mit | C# |
f5987a931c10cf1c67307f80c8fb0a3dbcfce5a8 | Add lazy loading | Branimir123/ZobShop,Branimir123/ZobShop,Branimir123/ZobShop | src/ZobShop.Data/ZobShopEntities.cs | src/ZobShop.Data/ZobShopEntities.cs | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using Microsoft.AspNet.Identity.EntityFramework;
using ZobShop.Models;
namespace ZobShop.Data
{
public class ZobShopEntities : IdentityDbContext<User>
{
public ZobShopEntities()
: base("ZobShopDb", throwIfV1... | using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using Microsoft.AspNet.Identity.EntityFramework;
using ZobShop.Models;
namespace ZobShop.Data
{
public class ZobShopEntities : IdentityDbContext<User>
{
public ZobShopEntities()
: base("ZobShopDb", throwIfV1... | mit | C# |
a4be1c45c6991896515a40f22e72b069e99f633e | Comment fix | OPEXGroup/ITCC.Library | ITCC.HTTP/Enums/AuthorizationStatus.cs | ITCC.HTTP/Enums/AuthorizationStatus.cs | namespace ITCC.HTTP.Enums
{
/// <summary>
/// Represents possible authorization result
/// </summary>
public enum AuthorizationStatus
{
NotRequired,
/// <summary>
/// Request will be processed
/// </summary>
Ok,
/// <summary>
/// ... | namespace ITCC.HTTP.Enums
{
/// <summary>
/// Represents possible authorization result
/// </summary>
public enum AuthorizationStatus
{
NotRequired,
/// <summary>
/// Request will be processed
/// </summary>
Ok,
/// <summary>
/// ... | bsd-2-clause | C# |
2872c89ab086e473b305280e61c4f018e5eaaddc | Revert to main menu on 0 balls left. | s-soltys/PoolVR | Assets/PoolVR/Scripts/ScoreCounter.cs | Assets/PoolVR/Scripts/ScoreCounter.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using Zenject;
public class ScoreCounter : MonoBehaviour
{
[Inject]
public StageStats Stats { get; private set; }
void Start() {
Stats.BallsTotal = Stats.BallsLeft = GetComponentsInCh... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zenject;
public class ScoreCounter : MonoBehaviour
{
[Inject]
public StageStats Stats { get; private set; }
void Start() {
Stats.BallsTotal = Stats.BallsLeft = GetComponentsInChildren<Rigidbody>().Length;
... | mit | C# |
5183a606f5a27edbb63732179bf2cd9b869973d8 | Add ThrowsAnyWithMessage | whampson/cascara,whampson/bft-spec | Cascara.Tests/Src/Extensions/AssertExtensions.cs | Cascara.Tests/Src/Extensions/AssertExtensions.cs | using System;
using Xunit;
namespace Cascara.Tests.Extensions
{
public class AssertExtensions : Assert
{
public static T ThrowsWithMessage<T>(Func<object> testCode, string message)
where T : Exception
{
var ex = Assert.Throws<T>(testCode);
Assert.Equal(messa... | using System;
using Xunit;
namespace Cascara.Tests.Extensions
{
public class AssertExtensions : Assert
{
public static T ThrowsWithMessage<T>(Func<object> testCode, string message)
where T : Exception
{
var ex = Assert.Throws<T>(testCode);
Assert.Equal(ex.Me... | mit | C# |
21501ddf905989dc82e2a3fb8238a525e403631f | Fix field order in keyboard reactive effect | WolfspiritM/Colore,danpierce1/Colore,CoraleStudios/Colore | Corale.Colore/Razer/Keyboard/Effects/Reactive.cs | Corale.Colore/Razer/Keyboard/Effects/Reactive.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Reactive.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and as... | // ---------------------------------------------------------------------------------------
// <copyright file="Reactive.cs" company="Corale">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and as... | mit | C# |
84b591396487a6dde844feff050dca57f425fc68 | Add constructors to table.cs | Ackara/Daterpillar | src/Daterpillar.Core/Table.cs | src/Daterpillar.Core/Table.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database table.
/// </summary>
public class Table
{
public Table() : this(string.Empty, new Column[0])
{
}
public Table(string name) : ... | using System.Collections.Generic;
using System.Xml.Serialization;
namespace Gigobyte.Daterpillar
{
/// <summary>
/// Represents a database table.
/// </summary>
public class Table
{
public Table()
{
Columns = new List<Column>();
Modifiers = new List<string>(... | mit | C# |
1a378ce1c62ba1db44c4e266617a579d1745e525 | Update version | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | // #[license]
// Smartsheet SDK for C#
// %%
// Copyright (C) 2014 Smartsheet
// %%
// 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://w... | // #[license]
// Smartsheet SDK for C#
// %%
// Copyright (C) 2014 Smartsheet
// %%
// 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://w... | apache-2.0 | C# |
845295cd57fafda4198aece29a518bd1d352bebf | Set up initial UI | xNovax/Fortitude | Fortitude/Program.cs | Fortitude/Program.cs | using System;
using System.Threading;
namespace Fortitude
{
internal class Program
{
private char[] allCharacters =
{
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q',
'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fortitude
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
c8cfe292add6424a3959806839e2993ba8297a57 | Improve naming of tests to clearly indicate the feature to be tested | oliverzick/Delizious-Filtering | src/Library.Test/SameTests.cs | src/Library.Test/SameTests.cs | #region Copyright and license
// // <copyright file="SameTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not ... | #region Copyright and license
// // <copyright file="SameTests.cs" company="Oliver Zick">
// // Copyright (c) 2016 Oliver Zick. All rights reserved.
// // </copyright>
// // <author>Oliver Zick</author>
// // <license>
// // Licensed under the Apache License, Version 2.0 (the "License");
// // you may not ... | apache-2.0 | C# |
e479051daaac55a20d04265f89072879b97a010e | add some summary documentation | jadiaz/aspnet5 | src/MvcApplication/Startup.cs | src/MvcApplication/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Logging;
using Microsoft.Framework.Logging.Console;
namespace MvcApplication.Web
{
public class Star... | using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Logging;
using Microsoft.Framework.Logging.Console;
namespace MvcApplication.Web
{
public class Star... | mit | C# |
9359e1271712866edf3b9495b4690217e5d917e9 | Update Access.cs | lordmilko/PrtgAPI,lordmilko/PrtgAPI | PrtgAPI/Enums/Access.cs | PrtgAPI/Enums/Access.cs | namespace Prtg
{
/// <summary>
/// Specifies the Access Rights applied to a PRTG Object.
/// </summary>
public enum Access
{
Inherited,
/// <summary>
/// The object is not displayed. Logs, tickets and alarms pertaining to the object are not visible.
/// </su... | namespace Prtg
{
/// <summary>
/// Specifies the Access Rights applied to a PRTG Object.
/// </summary>
public enum Access
{
/// <summary>
/// The object is not displayed. Logs, tickets and alarms pertaining to the object are not visible.
/// </summary>
None,
... | mit | C# |
b81081b7638adfd2f01b3c1234cea6c0ea1a4c38 | Update FizzBuzz.cs | michaeljwebb/Algorithm-Practice | LeetCode/FizzBuzz.cs | LeetCode/FizzBuzz.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Services;
using System.Text;
class FizzBuzz
{
private static void Main(string[] args)
{
for (int i = 1; i < 16; i++)
{
if (i % 3 == 0 && i % 5 == 0)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Services;
using System.Text;
using System.Threading.Tasks;
class FizzBuzz
{
private static void Main(string[] args)
{
for (int i = 1; i < 16; i++)
{
if (i % ... | mit | C# |
2314d3e15c38ac16d4528e1c4fc2dec74b0d152c | Move the watchdog verify | Cyberboss/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Watchdog;
namespace Tgstation.Server.Host.Service.Tests
{
/// <summary>
/// Tests for <see cref=... | agpl-3.0 | C# |
aed438e99ede87d718b6fc021823558c73dc0fb0 | Clone event on wrapping to TimedEvent | melanchall/drymidi,melanchall/drywetmidi,melanchall/drywetmidi | DryWetMidi/Smf/Interaction/TimedEventsManager/TimedEventsManager.cs | DryWetMidi/Smf/Interaction/TimedEventsManager/TimedEventsManager.cs | using System;
using System.Collections.Generic;
namespace Melanchall.DryWetMidi.Smf.Interaction
{
public sealed class TimedEventsManager : IDisposable
{
#region Fields
private readonly EventsCollection _eventsCollection;
private bool _disposed;
#endregion
#region Co... | using System;
using System.Collections.Generic;
namespace Melanchall.DryWetMidi.Smf.Interaction
{
public sealed class TimedEventsManager : IDisposable
{
#region Fields
private readonly EventsCollection _eventsCollection;
private bool _disposed;
#endregion
#region Co... | mit | C# |
c4af9af5eb54017031677ef0d2cb345cea8ba886 | fix redundent code | mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,mnaiman/duplicati,mnaiman/duplicati,mnaiman/duplicati,duplicati/duplicati,duplicati/duplicati,duplicati/duplicati | Duplicati/Library/Utility/WinTools.cs | Duplicati/Library/Utility/WinTools.cs | #region Disclaimer / License
// Copyright (C) 2019, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// ve... | #region Disclaimer / License
// Copyright (C) 2019, The Duplicati Team
// http://www.duplicati.com, info@duplicati.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// ve... | lgpl-2.1 | C# |
15a0ce09d614208018c60f6a9354feba66b8bad8 | fix build | MetacoSA/NBitcoin,NicolasDorier/NBitcoin,MetacoSA/NBitcoin | NBitcoin/Protocol/Behaviors/SlimChainBehavior.cs | NBitcoin/Protocol/Behaviors/SlimChainBehavior.cs | #if !NOSOCKET
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace NBitcoin.Protocol.Behaviors
{
/// <summary>
/// Behavior to keep a SlimChain in sync with the remote node
/// </summary>
public class SlimChainBehavior : NodeBehavior
{
private... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace NBitcoin.Protocol.Behaviors
{
/// <summary>
/// Behavior to keep a SlimChain in sync with the remote node
/// </summary>
public class SlimChainBehavior : NodeBehavior
{
private readonly Slim... | mit | C# |
29a293aac7e1880006ed0de760c19bf00f19c4c9 | Remove superfluous test parameter | jagrem/slang,jagrem/slang,jagrem/slang | slang.Tests/Lexing/Literals/StringLiteralTests.cs | slang.Tests/Lexing/Literals/StringLiteralTests.cs | using System;
using NUnit.Framework;
using slang.Lexing;
using System.Linq;
using FluentAssertions;
using System.Collections.Generic;
namespace slang.Tests.Lexing.Literals
{
[TestFixture]
public class StringLiteralTests
{
[TestCaseSource("GetLiterals")]
public void Given_a_literal_as_a_str... | using System;
using NUnit.Framework;
using slang.Lexing;
using System.Linq;
using FluentAssertions;
using System.Collections.Generic;
namespace slang.Tests.Lexing.Literals
{
[TestFixture]
public class StringLiteralTests
{
[TestCaseSource("GetLiterals")]
public void Given_a_literal_as_a_str... | mit | C# |
0fba772ab5bb374f3a2829b06b2f2859f4ad50b5 | Bump version to account for bug fix | dustyburwell/garlic | Garlic/Properties/AssemblyInfo.cs | Garlic/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Garlic")]
[assembly: AssemblyDescription("Google Analytics Client for .Net")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Dusty Burwell")]
[assembly: AssemblyProduct("Garlic Google Analytics Client")]
[assembly: AssemblyCopyright("Copyrig... | using System.Reflection;
[assembly: AssemblyTitle("Garlic")]
[assembly: AssemblyDescription("Google Analytics Client for .Net")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Dusty Burwell")]
[assembly: AssemblyProduct("Garlic Google Analytics Client")]
[assembly: AssemblyCopyright("Copyrig... | mit | C# |
b68d1bc5e6f6814ca283b7c223944b5b3aa5ae4f | Build update | WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework | Framework.BuildTool/Command/RunSql.cs | Framework.BuildTool/Command/RunSql.cs | namespace Framework.BuildTool
{
using System;
using System.Data.SqlClient;
public class CommandRunSql : Command
{
public CommandRunSql()
: base("runSql", "Run sql scripts")
{
}
private void RunSql(string connectionString)
{
SqlConnecti... | namespace Framework.BuildTool
{
using System;
using System.Data.SqlClient;
public class CommandRunSql : Command
{
public CommandRunSql()
: base("runSql", "Run sql scripts")
{
}
private void RunSql(string connectionString)
{
SqlConnecti... | mit | C# |
6eca85a8bc49362dc581888c7e0185293c41ddfe | Comment for 'unit' structure | modulexcite/lokad-cqrs | Framework/Lokad.Cqrs.Portable/unit.cs | Framework/Lokad.Cqrs.Portable/unit.cs | using System;
using System.Runtime.InteropServices;
namespace Lokad.Cqrs
{
/// <summary>
/// Equivalent to System.Void which is not allowed to be used in the code for some reason.
/// </summary>
[ComVisible(true)]
[Serializable]
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct ... | using System;
using System.Runtime.InteropServices;
namespace Lokad.Cqrs
{
[ComVisible(true)]
[Serializable]
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct unit
{
public static readonly unit it = default(unit);
}
} | bsd-3-clause | C# |
a65cfaef4b001bdb8f10cc776f05947515d5ecf0 | Update Relationship entity | glacasa/Mastonet | Mastonet/Entities/Relationship.cs | Mastonet/Entities/Relationship.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mastonet.Entities
{
public class Relationship
{
/// <summary>
/// Target account id
/// </summary>
[JsonProperty("id")]
public long Id { get; set; }
/// <summary... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mastonet.Entities
{
public class Relationship
{
/// <summary>
/// Target account id
/// </summary>
[JsonProperty("id")]
public long Id { get; set; }
/// ... | mit | C# |
787c16612f5e26c52c240dd9201525b81b89cd58 | Update CameraMovement.cs | highnet/Java-101,highnet/Java-101 | Unity/CameraMovement.cs | Unity/CameraMovement.cs | using UnityEngine;
using System.Collections;
public class CameraMovement : MonoBehaviour
{
public GameObject player; //Public variable to store a reference to the player game object
private Vector3 offset; //Private variable to store the offset distance between the player and camera
// Us... | mit | C# | |
2c77e8d9c394b12d3607bc8c2c162fac328895e9 | Fix for load by id | Red-Folder/WebCrawl-Functions | WebCrawlResults/run.csx | WebCrawlResults/run.csx | #r "Red-Folder.WebCrawl.dll"
using System.Net;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Net.Http.Headers;
using Red_Folder.WebCrawl.Models;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWri... | #r "Red-Folder.WebCrawl.dll"
using System.Net;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Net.Http.Headers;
using Red_Folder.WebCrawl.Models;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWri... | mit | C# |
ea4a13c317e8e125e830799e2644aba77725aa58 | add more exploratory tests to isolate the issue | pauldambra/ModulusChecker,pauldambra/ModulusChecker | PublicInterfaceTests/IssueFive.cs | PublicInterfaceTests/IssueFive.cs | using System;
using ModulusChecking;
using ModulusChecking.Models;
using NUnit.Framework;
namespace PublicInterfaceTests
{
/// <summary>
/// See https://github.com/pauldambra/ModulusChecker/issues/5
/// </summary>
public class IssueFive
{
private const string Sortcode = "775024";
p... | using ModulusChecking;
using NUnit.Framework;
namespace PublicInterfaceTests
{
/// <summary>
/// See https://github.com/pauldambra/ModulusChecker/issues/5
/// </summary>
public class IssueFive
{
[Test]
public void ItCanRevalidateDetailsOnImmediateRepeat()
{
var ... | mit | C# |
fab04e5ca5e10af32d902cb93cdcff2bcf59e642 | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.Adobe/ValuesOut.cs | RegistryPlugin.Adobe/ValuesOut.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.Adobe
{
public class ValuesOut:IValueOut
{
public ValuesOut(string productName, string productVersion, string fullPath, Date... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.Adobe
{
public class ValuesOut:IValueOut
{
public ValuesOut(string productName, string productVersion, string fullPath, Date... | mit | C# |
56a27eee7d35d676d06c8cd8b4b432e23211635a | rename for enum type | tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising | Nager.AmazonProductAdvertising/Operation/AmazonOperationBase.cs | Nager.AmazonProductAdvertising/Operation/AmazonOperationBase.cs | using Nager.AmazonProductAdvertising.Model;
using System.Collections.Generic;
namespace Nager.AmazonProductAdvertising.Operation
{
public class AmazonOperationBase
{
public Dictionary<string, string> ParameterDictionary;
public AmazonOperationBase()
{
this.ParameterDiction... | using Nager.AmazonProductAdvertising.Model;
using System.Collections.Generic;
namespace Nager.AmazonProductAdvertising.Operation
{
public class AmazonOperationBase
{
public Dictionary<string, string> ParameterDictionary;
public AmazonOperationBase()
{
this.ParameterDiction... | mit | C# |
aabfe1617aef41497aa17fe11e4b4f29bd78680f | Fix WinRT build breaks (dotnet/corert#4398) | russellhadley/coreclr,ruben-ayrapetyan/coreclr,russellhadley/coreclr,hseok-oh/coreclr,ruben-ayrapetyan/coreclr,kyulee1/coreclr,parjong/coreclr,yizhang82/coreclr,botaberg/coreclr,AlexGhiondea/coreclr,dpodder/coreclr,yizhang82/coreclr,AlexGhiondea/coreclr,kyulee1/coreclr,mmitche/coreclr,poizan42/coreclr,parjong/coreclr,w... | src/mscorlib/shared/System/IO/FileStream.WinRT.cs | src/mscorlib/shared/System/IO/FileStream.WinRT.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.
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
namespace System.IO
{
public partial c... | // 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.
using Microsoft.Win32.SafeHandles;
using System.Runtime.InteropServices;
namespace System.IO
{
public partial c... | mit | C# |
1d651dcf24ffe0b4cad1bf6257248c8fd992bee7 | Add delay for ReloadActiveScene to prevent stuck button | antila/castle-game-jam-2016 | Assets/ReloadScene.cs | Assets/ReloadScene.cs | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class ReloadScene : MonoBehaviour {
GlobalControl globalController;
bool allowLevelLoad = true;
void OnEnable()
{
allowLevelLoad = true;
}
// Use this for initialization
public void ReloadActi... | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class ReloadScene : MonoBehaviour {
GlobalControl globalController;
bool allowLevelLoad = true;
void OnEnable()
{
allowLevelLoad = true;
}
// Use this for initialization
public void ReloadActi... | mit | C# |
9462d719ccb6787a96a83bd588eecdc6ac27bd15 | bump version | Fody/Equals | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Fody.Equals")]
[assembly: AssemblyProduct("Fody.Equals")]
[assembly: AssemblyVersion("1.4.6")]
[assembly: AssemblyFileVersion("1.4.6")]
| using System.Reflection;
[assembly: AssemblyTitle("Fody.Equals")]
[assembly: AssemblyProduct("Fody.Equals")]
[assembly: AssemblyVersion("1.4.5")]
[assembly: AssemblyFileVersion("1.4.5")]
| mit | C# |
17c285224784ec1e358881a1ba0255b9d79ac0ce | Bump version number | ehelse/Helsenorge.Messaging,chriscena/Helsenorge.Messaging | GlobalAssemblyInfo.cs | GlobalAssemblyInfo.cs | using System;
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: Asse... | using System;
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: Asse... | mit | C# |
b8723ae27385d3141ab7916749886699cfe15f0a | Revert "fix body" | darrenkopp/SassyStudio | SassyStudio.Compiler/Parsing/ControlDirectiveBody.cs | SassyStudio.Compiler/Parsing/ControlDirectiveBody.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SassyStudio.Compiler.Parsing
{
public class ControlDirectiveBody : RuleBlock
{
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SassyStudio.Compiler.Parsing
{
public class ControlDirectiveBody : BlockItem
{
}
}
| mit | C# |
dc794a1ca3d98ea366ff13d1f0970d52a93bee73 | bump version | Fody/Obsolete | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("3.0.1")]
[assembly: AssemblyFileVersion("3.0.1")]
| using System.Reflection;
[assembly: AssemblyTitle("Obsolete")]
[assembly: AssemblyProduct("Obsolete")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.0")]
| mit | C# |
95e654a1017e8c88dfb3fc0e306d71cdc8942924 | Increment version to 0.1.0.7. | rhythmagency/formulate,rhythmagency/formulate,rhythmagency/formulate | src/formulate.meta/Constants.cs | src/formulate.meta/Constants.cs | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | namespace formulate.meta
{
/// <summary>
/// Constants relating to Formulate itself (i.e., does not
/// include constants used by Formulate).
/// </summary>
public class Constants
{
/// <summary>
/// This is the version of Formulate. It is used on
/// assemblies and du... | mit | C# |
5c13997e8552a9a67043f1f4f6be9752e4bf6ec3 | Use the options when connecting to GitHub | rprouse/GetChanges | GetChanges/Program.cs | GetChanges/Program.cs | using Nito.AsyncEx;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Alteridem.GetChanges
{
class Program
{
static int Main(string[] args)
{
var options = new Options();
if (!CommandLine.Parser.Default.ParseArguments(args, opti... | using Nito.AsyncEx;
using Octokit;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Alteridem.GetChanges
{
class Program
{
static int Main(string[] args)
{
var options = new Options();
if (!CommandLine.Parser.Default.ParseArguments(args, opti... | mit | C# |
d993515add947a6fc3fe98fadc5204571c30288c | Update year | NRules/NRules | GlobalAssemblyInfo.cs | GlobalAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("NRules")]
[assembly: AssemblyCopyright("Copyright 2012-2021 Sergiy Nikolayev. All rights reserved.")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersionAttribute("1.0.0.0")]
| using System.Reflection;
[assembly: AssemblyCompany("NRules")]
[assembly: AssemblyCopyright("Copyright 2012-2020 Sergiy Nikolayev. All rights reserved.")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersionAttribute("1.0.0.0")]
| mit | C# |
177533cb36313e64f695e8c76fbb407e5dd8ec45 | Kill commented code | another-guy/CSharpToTypeScript,another-guy/CSharpToTypeScript | TsModelGen/Program.cs | TsModelGen/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using TsModelGen.Core;
using TsModelGen.Core.TypeTranslationContext;
namespace TsModelGen
{
public class Program
{
public static void Main(string[] args)
{
// TODO Move this to input parameters
// TODO ... | using System;
using System.Collections.Generic;
using System.Linq;
using TsModelGen.Core;
using TsModelGen.Core.TypeTranslationContext;
namespace TsModelGen
{
public class Program
{
public static void Main(string[] args)
{
// TODO Move this to input parameters
// TODO ... | mit | C# |
b2899529c38a280ef6806ae899f6f5fcb0a3114a | fix build | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Server/User.cshtml | BTCPayServer/Views/Server/User.cshtml | @model UsersViewModel.UserViewModel
@{
ViewData.SetActivePageAndTitle(ServerNavPages.Users);
}
<h4>Modify User - @Model.Email</h4>
<partial name="_StatusMessage" />
<div class="row">
<div class="col-md-8">
<form method="post">
<div class="form-group">
<div class="form-ch... | @model UserViewModel
@{
ViewData.SetActivePageAndTitle(ServerNavPages.Users);
}
<h4>Modify User - @Model.Email</h4>
<partial name="_StatusMessage" />
<div class="row">
<div class="col-md-8">
<form method="post">
<div class="form-group">
<div class="form-check">
... | mit | C# |
f35d1c17e07e080a1804a510c2749c10cb82e631 | Allow setting grouping hash and context | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | src/Bugsnag/Report/Event.cs | src/Bugsnag/Report/Event.cs | using System.Collections.Generic;
using System.Linq;
namespace Bugsnag
{
public class Event : Dictionary<string, object>
{
public Event(IConfiguration configuration, System.Exception exception, Severity severity)
{
this["payloadVersion"] = 4;
this["exceptions"] = new Exceptions(exception).ToArr... | using System.Collections.Generic;
using System.Linq;
namespace Bugsnag
{
public class Event : Dictionary<string, object>
{
public Event(IConfiguration configuration, System.Exception exception, Severity severity)
{
this["payloadVersion"] = 2;
this["exceptions"] = new Exceptions(exception).ToArr... | mit | C# |
32c43c6eaeb408eb8b47877b2caa4d6ffcd9cb69 | Improve object cache | axelheer/nein-linq,BenJenkinson/nein-linq | src/NeinLinq/ObjectCache.cs | src/NeinLinq/ObjectCache.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace NeinLinq
{
sealed class ObjectCache<TKey, TValue> : IDisposable
{
readonly Dictionary<TKey, TValue> cache = new Dictionary<TKey, TValue>();
readonly ReaderWriterLockSlim cacheLock = new ReaderWriterLockSlim();
... | using System;
using System.Collections.Generic;
using System.Threading;
namespace NeinLinq
{
sealed class ObjectCache<TKey, TValue> : IDisposable
{
readonly Dictionary<TKey, TValue> cache = new Dictionary<TKey, TValue>();
readonly ReaderWriterLockSlim cacheLock = new ReaderWriterLockSlim();
... | mit | C# |
107062b190a9a042905e7f141b0a23a1b4ed78c5 | Improve search | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | JoinRpg.Services.Impl/Search/UserSearchProvider.cs | JoinRpg.Services.Impl/Search/UserSearchProvider.cs | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces.Search;
namespace JoinRpg.Services.Impl.Search
{
internal class UserSearchProvider : ISearchProvider
{
pub... | using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Services.Interfaces.Search;
namespace JoinRpg.Services.Impl.Search
{
internal class UserSearchProvider : ISearchProvider
{
pub... | mit | C# |
2a2637e47e564d2f8052affe1683a4d6cd26559f | Add Visible to the Device DTO | nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner | MultiMiner.Remoting.Server/Data/Transfer/Device.cs | MultiMiner.Remoting.Server/Data/Transfer/Device.cs | using MultiMiner.Engine;
using MultiMiner.Xgminer;
using System;
using System.Collections.Generic;
namespace MultiMiner.Remoting.Server.Data.Transfer
{
public class Device : DeviceDescriptor
{
public Device()
{
Workers = new List<Device>();
}
//device info
... | using MultiMiner.Engine;
using MultiMiner.Xgminer;
using System;
using System.Collections.Generic;
namespace MultiMiner.Remoting.Server.Data.Transfer
{
public class Device : DeviceDescriptor
{
public Device()
{
Workers = new List<Device>();
}
//device info
... | mit | C# |
bb17076952ebe3f392da53f12852f4e4dd8415b7 | Change TimeZoneOffset to use double instead of int. Closes #6. | jcheng31/DarkSkyApi,jcheng31/ForecastPCL | ForecastPCL/Models/Forecast.cs | ForecastPCL/Models/Forecast.cs | namespace ForecastIOPortable.Models
{
using System.Collections.Generic;
using System.Runtime.Serialization;
/// <summary>
/// A forecast for a particular location.
/// Models the response returned by the service.
/// </summary>
[DataContract]
public class Forecast
{
/// <su... | namespace ForecastIOPortable.Models
{
using System.Collections.Generic;
using System.Runtime.Serialization;
/// <summary>
/// A forecast for a particular location.
/// Models the response returned by the service.
/// </summary>
[DataContract]
public class Forecast
{
/// <su... | mit | C# |
15be5a69d8a8e87cf2dac63798e38f7061aa2f12 | undo my "fix" - it broke stuff that we are not testing. | hig-ag/CocosSharp,mono/cocos2d-xna,TukekeSoft/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,MSylvia/CocosSharp,mono/cocos2d-xna,TukekeSoft/CocosSharp,mono/CocosSharp,mono/CocosSharp,haithemaraissia/CocosSharp,zmaruo/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp | cocos2d/actions/action_intervals/CCTargetedAction.cs | cocos2d/actions/action_intervals/CCTargetedAction.cs | namespace Cocos2D
{
public class CCTargetedAction : CCActionInterval
{
protected CCFiniteTimeAction m_pAction;
protected CCNode m_pForcedTarget;
public CCNode ForcedTarget
{
get { return m_pForcedTarget; }
}
public CCTargetedAction(CCNode target, CCF... | namespace Cocos2D
{
public class CCTargetedAction : CCActionInterval
{
protected CCFiniteTimeAction m_pAction;
protected CCNode m_pForcedTarget;
public CCNode ForcedTarget
{
get { return m_pForcedTarget; }
}
public CCTargetedAction(CCNode target, CCF... | mit | C# |
a62b4e2f7dc55ccad6997082b2e327844ad8bcac | Bump to v1.5 | CryptonZylog/carbonator,lhoworko/carbonator | Carbonator/Properties/AssemblyInfo.cs | Carbonator/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("Ca... | 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("Ca... | mit | C# |
d275787f174c4249077fc02f42c04fd56195fdf8 | optimize Problem 1 | arbing/ProjectEuler | ProjectEuler/Problems/No001.cs | ProjectEuler/Problems/No001.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using ProjectEuler.Attributes;
namespace ProjectEuler.Problems
{
[Title("Multiples of 3 and 5")]
[Description(@"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these mul... | using System.ComponentModel;
using System.Linq;
using ProjectEuler.Attributes;
namespace ProjectEuler.Problems
{
[Title("Multiples of 3 and 5")]
[Description(@"If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all... | mit | C# |
884dfd83ac1ac991cf442f61f6bd8f594f6d6e90 | Remove untested branch from PEFileCollection. | ethanmoffat/EndlessClient | EOLib.Graphics/PEFileCollection.cs | EOLib.Graphics/PEFileCollection.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.IO;
using PELoaderLib;
namespace EOLib.Graphics
{
public sealed class PEFileCollection : Dictionary<GFXT... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using System.Collections.Generic;
using System.IO;
using PELoaderLib;
namespace EOLib.Graphics
{
public sealed class PEFileCollection : Dictionary<GFXT... | mit | C# |
bf84a0c4293b6f3c7c8391fed2f40b717c8fc077 | Update version to 2.3.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
e655701af7de495a28c2eb54a138a4ed9048d4c1 | Bump version | roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon | R7.Epsilon/Properties/SolutionInfo.cs | R7.Epsilon/Properties/SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany ("R7.Labs")]
[assembly: AssemblyProduct ("R7.Epsilon")]
[assembly: AssemblyCopyright ("Roman M. Yagodin")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyVersion ("2.4.0")]
[assembly: AssemblyInformationalVersion ("2.4.0")]
| using System.Reflection;
[assembly: AssemblyCompany ("R7.Labs")]
[assembly: AssemblyProduct ("R7.Epsilon")]
[assembly: AssemblyCopyright ("Roman M. Yagodin")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyVersion ("2.3.2")]
[assembly: AssemblyInformationalVersion ("2.3.2")]
| agpl-3.0 | C# |
3535abdeb46a3591e6f9d1bdba5a40da4ac09073 | Update assembly version. | MatthewKing/DeviceId | src/DeviceId/Properties/AssemblyInfo.cs | src/DeviceId/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DeviceId")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DeviceId")]
[assembly: AssemblyCopyright("Copyright © Matthew King 2015-2016")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("DeviceId")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DeviceId")]
[assembly: AssemblyCopyright("Copyright © Matthew King 2015-2016")]
[as... | mit | C# |
ed1fd5bb1c66959a0bb5b9764392b710f399be00 | Hide occurrence members that should be handled via Times now | RobSiklos/moq4,Moq/moq4,ocoanet/moq4,AhmedAssaf/moq4,ericschultz/Moq,LeonidLevin/moq4,cgourlay/moq4,HelloKitty/moq4,breyed/moq4,JohanLarsson/moq4,jeremymeng/moq4,chkpnt/moq4,kolomanschaft/moq4,AhmedAssaf/moq4,ramanraghur/moq4,iskiselev/moq4,kulkarnisachin07/moq4,madcapsoftware/moq4 | Source/Language/IOccurrence.cs | Source/Language/IOccurrence.cs | //Copyright (c) 2007, Moq Team
//http://code.google.com/p/moq/
//All rights reserved.
//Redistribution and use in source and binary forms,
//with or without modification, are permitted provided
//that the following conditions are met:
// * Redistributions of source code must retain the
// above co... | //Copyright (c) 2007, Moq Team
//http://code.google.com/p/moq/
//All rights reserved.
//Redistribution and use in source and binary forms,
//with or without modification, are permitted provided
//that the following conditions are met:
// * Redistributions of source code must retain the
// above co... | bsd-3-clause | C# |
20a62bbfab72220f9151095726c8f2d61512bde9 | Remove some unused experiment names | bartdesmet/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,diryboy/roslyn,dotnet/roslyn,dotnet/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,eriawan/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,wel... | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.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.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | // 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.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
d0906d8232a3a0048a2e2630b44f7a7df05dfdb0 | Adjust xmldocs to conform to TransformableExtensions. | smoogipoo/osu,NeoAdonis/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,UselessToucan/osu,Drezi126/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ZLima12/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,naoey/osu,Frontear/osuKyzer,EVAST9919/osu,peppy/osu-new,DrabWeb/osu,p... | osu.Game/Graphics/IHasAccentColour.cs | osu.Game/Graphics/IHasAccentColour.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Transforms;
namespace osu.Game.Graphics
{
/// <summary>
/// A type ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Transforms;
namespace osu.Game.Graphics
{
/// <summary>
/// A type ... | mit | C# |
fcdcf0e57dca53e231228c3f8c5511260f63722d | Add ToHashSet extension methods on IEnumerable. | CamTechConsultants/CvsntGitImporter | Utils/IEnumerableExtensions.cs | Utils/IEnumerableExtensions.cs | /*
* John.Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
namespace CTC.CvsntGitImporter.Utils
{
/// <summary>
/// Extension methods for IEnumerable.
/// </summary>
static class IE... | /*
* John.Hall <john.hall@camtechconsultants.com>
* Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved.
*/
using System;
using System.Collections.Generic;
namespace CTC.CvsntGitImporter.Utils
{
/// <summary>
/// Extension methods for IEnumerable.
/// </summary>
static class IE... | mit | C# |
3f5dcadd200c01f9798ba3ca5df788f6187a7496 | Test was simplified | litichevskiydv/GfPolynoms,litichevskiydv/GfPolynoms | test/CodesResearchTools.Tests/MinimalSphereCoveringAnalyzerTests.cs | test/CodesResearchTools.Tests/MinimalSphereCoveringAnalyzerTests.cs | namespace AppliedAlgebra.CodesResearchTools.Tests
{
using System.Collections.Generic;
using Analyzers.CodeSpaceCovering;
using CodesAbstractions;
using GfPolynoms;
using GfPolynoms.Extensions;
using GfPolynoms.GaloisFields;
using Microsoft.Extensions.Logging;
using Moq;
using NoiseG... | namespace AppliedAlgebra.CodesResearchTools.Tests
{
using System;
using Analyzers.CodeSpaceCovering;
using GolayCodesTools;
using Microsoft.Extensions.Logging;
using Moq;
using NoiseGenerator;
using Xunit;
public class MinimalSphereCoveringAnalyzerTests
{
private readonly M... | mit | C# |
b2252893adee194b846cff74715f9008f4976c04 | remove DiscoveryClient | IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | test/IdentityServer.IntegrationTests/Pipeline/ConfigurationTests.cs | test/IdentityServer.IntegrationTests/Pipeline/ConfigurationTests.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.Configuration;
using IdentityServer4.IntegrationTests.Common;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace IdentityServer.IntegrationTests.Pip... | using System;
using System.Threading.Tasks;
using FluentAssertions;
using IdentityModel.Client;
using IdentityServer4.Configuration;
using IdentityServer4.IntegrationTests.Common;
using Microsoft.Extensions.DependencyInjection;
using Xunit;
namespace IdentityServer.IntegrationTests.Pipeline
{
public class Configur... | apache-2.0 | C# |
9ed96e8b161cbb4dbdf21062da53d2f922e7dc33 | Add missing final validation pass (bytes read == 0) | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync | projects/CommSample/source/CommSample.App/ValidatingReceiver.cs | projects/CommSample/source/CommSample.App/ValidatingReceiver.cs | //-----------------------------------------------------------------------
// <copyright file="ValidatingReceiver.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
... | //-----------------------------------------------------------------------
// <copyright file="ValidatingReceiver.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace CommSample
{
... | unlicense | C# |
6d7e5de6d1bf7f598c7e22004c588cdaecf90dc4 | refactor main loop for policy extraction | Pondidum/Stronk,Pondidum/Stronk | src/Stronk/ConfigBuilder.cs | src/Stronk/ConfigBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Stronk.Policies;
using Stronk.PropertySelection;
using Stronk.SourceValueSelection;
using Stronk.ValueConversion;
namespace Stronk
{
public class ConfigBuilder
{
private readonly IStronkOptions _options;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Stronk.Policies;
using Stronk.PropertySelection;
using Stronk.SourceValueSelection;
using Stronk.ValueConversion;
namespace Stronk
{
public class ConfigBuilder
{
private readonly IStronkOptions _options;... | lgpl-2.1 | C# |
8664b2c2ffb7ebe8a5d36dd675e5583b3b9911e0 | Change Parser more nice | occar421/OpenTKAnalyzer | src/OpenTKAnalyzer/OpenTKAnalyzer/Utility/NumericValueParser.cs | src/OpenTKAnalyzer/OpenTKAnalyzer/Utility/NumericValueParser.cs | using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
namespace OpenTKAnalyzer.Utility
{
static public class NumericValueParser
{
static publ... | using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenTKAnalyzer.Utility
{
static public class NumericValueParser
{
static public bool TryParseFromExpression... | mit | C# |
3cf9bdf805be021dea8787732013d1106e57d663 | Implement code making the previously failing unit test pass. | hackle/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,AutoFixture/AutoFixture,sbrockway/AutoFixture,sbrockway/AutoFixture,sergeyshushlyapin/AutoFixture,Pvlerick/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,adamchester/AutoFixture,sean-gilliam/AutoFixture,adamchester/AutoFixture,zvirja/AutoFixture | Src/AutoFixture/IFixtureExtensions.cs | Src/AutoFixture/IFixtureExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ploeh.AutoFixture
{
public static class IFixtureExtensions
{
public static IEnumerable<T> Repeat<T>(this IFixture fixture, Func<T> function)
{
if (fixture == null)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ploeh.AutoFixture
{
public static class IFixtureExtensions
{
public static IEnumerable<T> Repeat<T>(this IFixture fixture, Func<T> function)
{
throw new NotImplementedException();
... | mit | C# |
c6f74643f8e003d2508009f64da278622509b5a2 | add ToModel3DGroup(), ToModelVisual3D() | TakeAsh/cs-WpfUtility | WpfUtility/Model3DExtensionMethods.cs | WpfUtility/Model3DExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media.Media3D;
namespace WpfUtility {
public static class Model3DExtensionMethods {
public static object GetTag(this Model3D model) {
return model.GetV... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Media.Media3D;
namespace WpfUtility {
public static class Model3DExtensionMethods {
public static object GetTag(this Model3D model) {
return model.GetV... | mit | C# |
924a6a34d2c056826ebee354bc1e54847b04cfe4 | add helpers for registering parsers and validators | MienDev/IdentityServer4,siyo-wang/IdentityServer4,chrisowhite/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentitySe... | src/IdentityServer4/Configuration/IdentityServerBuilderExtensions.cs | src/IdentityServer4/Configuration/IdentityServerBuilderExtensions.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Core.Models;
using IdentityServer4.Core.Services;
using IdentityServer4.Core.Services.InMemory;
using IdentityServer4.Co... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Core.Models;
using IdentityServer4.Core.Services;
using IdentityServer4.Core.Services.InMemory;
using IdentityServer4.Co... | apache-2.0 | C# |
921f3a6d6c9cbf76e43d0c77a5cf1ad8869fc561 | Update QuoteRepository.cs | Midnight-Myth/Mitternacht-NEW,powered-by-moe/MikuBot,ShadowNoire/NadekoBot,Nielk1/NadekoBot,ScarletKuro/NadekoBot,Midnight-Myth/Mitternacht-NEW,gfrewqpoiu/NadekoBot,Taknok/NadekoBot,miraai/NadekoBot,Blacnova/NadekoBot,PravEF/EFNadekoBot,halitalf/NadekoMods,WoodenGlaze/NadekoBot,shikhir-arora/NadekoBot,Midnight-Myth/Mit... | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/NadekoBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | using NadekoBot.Services.Database.Models;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quote>, IQuoteRepository
{
public QuoteR... | mit | C# |
a901fa4c4fd7dbd7eec78be95672cddbdaa9e416 | Update mock API | devkimchi/Testing-Serverless-Applications | src/Sample.FunctionApp/MockTemplateDirectoriesHttpTriggerNotFound.cs | src/Sample.FunctionApp/MockTemplateDirectoriesHttpTriggerNotFound.cs | using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Sample.FunctionApp
{
/// <summary>
/// This represents the HTTP trigger entity for the MockTemplateDirectories event returning <see cref="HttpStatusCode.NotFo... | using System.Collections.Generic;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace Sample.FunctionApp
{
/// <summary>
/// This represents the HTTP trigger entity for the MockTemplateDirectories event returning <see cref="HttpStatusCode.NotFo... | mit | C# |
7ae208a33cb755d59b54a03943b98a835be6d0f3 | Update PowerShellTraceTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellTraceTelemeter.cs | TIKSN.Framework.Core/Analytics/Telemetry/PowerShellTraceTelemeter.cs | using System;
using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellTraceTelemeter : ITraceTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellTraceTelemeter(Cmdlet cmdlet) => this.cmdlet = cmdlet;
publ... | using System;
using System.Management.Automation;
using System.Threading.Tasks;
namespace TIKSN.Analytics.Telemetry
{
public class PowerShellTraceTelemeter : ITraceTelemeter
{
private readonly Cmdlet cmdlet;
public PowerShellTraceTelemeter(Cmdlet cmdlet)
{
this.cmdlet = cm... | mit | C# |
18e06a6b01c258b70a26f75809c6f5925fd57cca | Set implicit SDK version header while using Android release mode. | Kentico/delivery-sdk-net,Kentico/Deliver-.NET-SDK | KenticoCloud.Delivery/Extensions/HttpRequestHeadersExtensions.cs | KenticoCloud.Delivery/Extensions/HttpRequestHeadersExtensions.cs | using System;
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Reflection;
namespace KenticoCloud.Delivery.Extensions
{
internal static class HttpRequestHeadersExtensions
{
private const string SdkTrackingHeaderName = "X-KC-SDKID";
private const string WaitForLoa... | using System;
using System.Diagnostics;
using System.Net.Http.Headers;
using System.Reflection;
namespace KenticoCloud.Delivery.Extensions
{
internal static class HttpRequestHeadersExtensions
{
private const string SdkTrackingHeaderName = "X-KC-SDKID";
private const string WaitForLoa... | mit | C# |
98bce57fd3de7debf1c16b4a953af310443345c0 | Add BigmodsPassword, BigmodsUsername to AutomationRunnerSettings | Willster419/RelhaxModpack,Willster419/RelicModManager,Willster419/RelhaxModpack | RelhaxModpack/RelhaxModpack/Settings/AutomationRunnerSettings.cs | RelhaxModpack/RelhaxModpack/Settings/AutomationRunnerSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Settings
{
/// <summary>
/// Defines settings used in the database automation runner window
/// </summary>
public class AutomationRunnerSettings : ISettingsFile
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RelhaxModpack.Settings
{
/// <summary>
/// Defines settings used in the database automation runner window
/// </summary>
public class AutomationRunnerSettings : ISettingsFile
... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.