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 |
|---|---|---|---|---|---|---|---|---|
9a9297c89bd2a3d6984d5cc0dd189b8581116fd5 | fix music stop on hit Sys32 | rafi16d/lvlup2016 | Assets/scripts/System32.cs | Assets/scripts/System32.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class System32 : MonoBehaviour {
[Header("Screen")]
public GameObject rebootScreen;
public GameObject rebootText;
public GameObject userinterface;
public bool isBlueScreen = false;
pub... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class System32 : MonoBehaviour {
[Header("Screen")]
public GameObject rebootScreen;
public GameObject rebootText;
public GameObject userinterface;
public bool isBlueScreen = false;
pub... | mit | C# |
b3658f5110caa96ddf51cb8a6aa8ab2730b85e4d | Fix route | pecosk/football,pecosk/football | FootballLeague/App_Start/RouteConfig.cs | FootballLeague/App_Start/RouteConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace FootballLeague
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace FootballLeague
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/... | mit | C# |
488f3971976d085e1243ec1f84172a90c1f74192 | Fix to avoid SA1400 | y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2 | Common/BitmapInfoHeader.cs | Common/BitmapInfoHeader.cs | //-----------------------------------------------------------------------
// <copyright file="BitmapInfoHeader.cs" company="None">
// (c) 2015 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
using System.Runtime.InteropServices;
namespace ReimuPlugins.C... | //-----------------------------------------------------------------------
// <copyright file="BitmapInfoHeader.cs" company="None">
// (c) 2015 IIHOSHI Yoshinori
// </copyright>
//-----------------------------------------------------------------------
using System.Runtime.InteropServices;
namespace ReimuPlugins.C... | bsd-2-clause | C# |
4e11edbf62eb35e553fb64ebe4b69385d8a70df7 | Remove old method | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Physics/Manifold.cs | MadCat/NutEngine/Physics/Manifold.cs | using Microsoft.Xna.Framework;
using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public class Manifold<FirstShapeType, SecondShapeType>
where FirstShapeType : Shape
where SecondShapeType : Shape
{
public IBody<FirstShapeType> A { get; set; }
public IBody<SecondShape... | using Microsoft.Xna.Framework;
using NutEngine.Physics.Shapes;
namespace NutEngine.Physics
{
public class Manifold<FirstShapeType, SecondShapeType>
where FirstShapeType : Shape
where SecondShapeType : Shape
{
public IBody<FirstShapeType> A { get; set; }
public IBody<SecondShape... | mit | C# |
911362584d61a915dcc275f87a8dafd96a46debe | bump version | criteo/RabbitMQHare | RabbitMQHare/Properties/AssemblyInfo.cs | RabbitMQHare/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... | apache-2.0 | C# |
ce96b31ad42f1ff6046bbf983e4a31751fd0074c | Add logic to inject NAME in ViewBag based of Identity | dmorosinotto/MVC_NG_TS,dmorosinotto/MVC_NG_TS | MvcNG/Controllers/ngAppController.cs | MvcNG/Controllers/ngAppController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web
using System.Web.Mvc;
namespace MvcNG.Controllers
{
public class ngAppController : BaseTSController
{
//
// GET: /ngApp/main
public ActionResult main() { //DON'T USE Index - DON'T WORK!
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcNG.Controllers
{
public class ngAppController : BaseTSController
{
//
// GET: /ngApp/main
public ActionResult main() { //DON'T USE Index - DON'T WORK!
... | mit | C# |
2fe49e59eba81344cb3a53101a9e8a4f83013686 | Remove echoColor method | iceblade112/TrickEmu,iceblade112/TrickEmu | TEMethods/Methods.cs | TEMethods/Methods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrickEmu
{
public class Methods
{
public static string sep(string str, string delim)
{
int len = str.IndexOf(delim);
if (len > 0)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TrickEmu
{
public class Methods
{
public static string sep(string str, string delim)
{
int len = str.IndexOf(delim);
if (len > 0)
{
... | agpl-3.0 | C# |
9b0575eb39b5c7e49726646a784bca402afc0eb8 | Implement non-abstract socket support | mono/dbus-sharp,openmedicus/dbus-sharp,arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp | src/UnixNativeTransport.cs | src/UnixNativeTransport.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public cl... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public cl... | mit | C# |
98dab48b2007d753eee2358e72348a65b0c55e90 | Replace copyright with LICENSE reference | GuildMasterInfinite/VulkanInfo-GUI | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("VulkanInfo GUI")]
[assembly: AssemblyDescription("Small program to obtain information from the Vulkan Runtime.")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("VulkanInfo GUI")]
[assembly: AssemblyDescription("Small program to obtain information from the Vulkan Runtime.")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]... | mit | C# |
67106e743f97555ac722495a276043a57340df29 | Disable publishing to MyGet | bbtsoftware/TfsUrlParser | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftwareag",
repositoryNa... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftwareag",
repositoryNa... | mit | C# |
875968ac4ca3de266c6d20b748f228048de70ca2 | Revert "定数の名前を大文字に" | devlights/MyHelloWorld | MyHelloWorld/HelloWorld.StdOut/Program.cs | MyHelloWorld/HelloWorld.StdOut/Program.cs |
namespace HelloWorld.StdOut
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HelloWorld.Core;
class Program
{
static void Main(string[] args)
{
const string name = "devlights";
var manager = new HelloWo... |
namespace HelloWorld.StdOut
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HelloWorld.Core;
class Program
{
static void Main(string[] args)
{
const string NAME = "devlights";
var manager = new HelloWo... | mit | C# |
9d0ae143bfd717b395813167d0ef902c0b9e9350 | Update GetAll.cs | ovation22/PragmaticTDD,ovation22/PragmaticTDD | Pragmatic.TDD.Services.Tests/HorseServiceTests/GetAll.cs | Pragmatic.TDD.Services.Tests/HorseServiceTests/GetAll.cs | using System.Collections.Generic;
using System.Linq;
using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pragmatic.TDD.Services.Interfaces;
using Pragmatic.TDD.Services.Tests.Factories;
namespace Pragmatic.TDD.Services.Tests.HorseServiceTests
{
[TestClass]
public class GetAll : ... | using System.Collections.Generic;
using System.Linq;
using Autofac;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pragmatic.TDD.Services.Interfaces;
using Pragmatic.TDD.Services.Tests.Factories;
namespace Pragmatic.TDD.Services.Tests.HorseServiceTests
{
[TestClass]
public class GetAll : ... | mit | C# |
ada3d352d00080a2acdb66c30aba505391cd3fe3 | Update WebDownloader.cs | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | mit | C# |
75aa9ab82dab2ae7c0f05442fa0748e5c0020630 | Update RegionLocalizationParameters.cs | tiksn/TIKSN-Framework | TIKSN.RegionLocalization/RegionLocalizationParameters.cs | TIKSN.RegionLocalization/RegionLocalizationParameters.cs | using System.Reflection;
namespace TIKSN.Localization
{
public static class RegionLocalizationParameters
{
public static string GetDefaultCultureName() =>
typeof(RegionLocalizationParameters).GetTypeInfo().Assembly.GetName().CultureName;
}
}
| using System.Reflection;
namespace TIKSN.Localization
{
public static class RegionLocalizationParameters
{
public static string GetDefaultCultureName()
{
return typeof(RegionLocalizationParameters).GetTypeInfo().Assembly.GetName().CultureName;
}
}
} | mit | C# |
adea006a5dfd3fd576c751ae3ee1d70ce7d9a187 | Remove unused labels | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs | WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs | using System.Collections.Generic;
namespace WalletWasabi.Fluent.ViewModels
{
public class TestLineChartViewModel
{
public double XAxisCurrentValue { get; set; } = 36;
public double XAxisMinValue { get; set; } = 2;
public double XAxisMaxValue { get; set; } = 864;
public List<string> XAxisLabels => new List... | using System.Collections.Generic;
namespace WalletWasabi.Fluent.ViewModels
{
public class TestLineChartViewModel
{
public double XAxisCurrentValue { get; set; } = 36;
public double XAxisMinValue { get; set; } = 2;
public double XAxisMaxValue { get; set; } = 864;
// public List<string> XAxisLabels => new L... | mit | C# |
d0636d056146caeba7124b6d5af4df60352f51a8 | Build and publish nuget package | RockFramework/Rock.Messaging | Rock.Messaging/Properties/AssemblyInfo.cs | Rock.Messaging/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("Ro... | 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("Ro... | mit | C# |
c647d5483e5a12d9168b1e2d269cd75dc9abd7db | update the version | somdoron/AsyncIO | Source/AsyncIO/Properties/AssemblyInfo.cs | Source/AsyncIO/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("As... | 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("As... | mpl-2.0 | C# |
f017cef3245d3c77aba0cd4f5963aaf64d028762 | Add Event.IsValid | Xeeynamo/KingdomHearts | OpenKh.Bbs/Event.cs | OpenKh.Bbs/Event.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.BinaryMapper;
namespace OpenKh.Bbs
{
public class Event
{
private const int MagicCode = 1;
private class Header
{
[Data] public int MagicCode { get; set; }
[Data] public int Count { ... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xe.BinaryMapper;
namespace OpenKh.Bbs
{
public class Event
{
private class Header
{
[Data] public int MagicCode { get; set; }
[Data] public int Count { get => Items.TryGetCount(); set => Items =... | mit | C# |
e4f32a80b882fcfdd3915ea13e90b7b003ee99e4 | fix build | SergeyTeplyakov/ErrorProne.NET | src/ExceptionAnalyzers/ExceptionAnalyzers/Helpers.cs | src/ExceptionAnalyzers/ExceptionAnalyzers/Helpers.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using ErrorProne.NET.Core;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ErrorProne.NET.Exceptions
{
internal struct ExceptionReference
{
public ExceptionReferen... | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ErrorProne.NET.Exceptions
{
internal struct ExceptionReference
{
public ExceptionReference(ISymbol symbol, Identifi... | mit | C# |
e3ddeec491dfc5944d4329444336ae84e8264b0e | Add the option of specifying a comparer. | IvionSauce/MeidoBot | IvionSoft/History.cs | IvionSoft/History.cs | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
public int Length { get; private set; }
HashSet<T> hashes;
Queue<T> queue;
object _locker = new object();
public History(int length) : this(length, null)
{}
... | using System;
using System.Collections.Generic;
namespace IvionSoft
{
public class History<T>
{
int length;
HashSet<T> hashes;
Queue<T> queue;
object _locker;
public History(int length)
{
if (length < 1)
throw new ArgumentException("... | bsd-2-clause | C# |
883c6f1eb30f460790d4d74fbe16e96f08e866e6 | Update colour of spotlights playlist to match new specs | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Screens/OnlinePlay/Lounge/Components/RoomSpecialCategoryPill.cs | osu.Game/Screens/OnlinePlay/Lounge/Components/RoomSpecialCategoryPill.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.Allocation;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Gam... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osuTK.... | mit | C# |
c44e4a1d1ddaf3f6d452ea54571c36e061ea11d8 | remove TODO | dimaaan/pgEdit | PgEdit/Program.cs | PgEdit/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace PgEdit
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main... | mit | C# |
70ab08b3388b3b96bdb2a2dff69fc884087bcbac | Put original Entity.cs back in | 100Hackers/Plaper | Plaper/Plaper/Entity.cs | Plaper/Plaper/Entity.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plaper {
class Entity {
protected Texture2D Texture { get; }
protected Vect... | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Plaper {
class Entity {
//Had to change some stuff in this because I don't have vis... | cc0-1.0 | C# |
adf996af27c7557a2bdec08fc70a6609476143d8 | fix using | guitarrapc/AzureFunctions.Sample | Function1/run.csx | Function1/run.csx | #r "Function1.dll"
using System;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Microsoft.Azure.WebJobs.Host;
using Function1.Function1;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
Function1.Run(req, log);
}
| #r "Function1.dll"
using System;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using System.Net.Http;
using Microsoft.Azure.WebJobs.Host;
using Function1;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
Function1.Run(req, log);
}
| mit | C# |
557f10baa310d5e788c4613dd6729a93938e81de | use FakeItEasy's built-in dummy creator | OBeautifulCode/OBeautifulCode.AutoFakeItEasy | OBeautifulCode.AutoFakeItEasy/AD.cs | OBeautifulCode.AutoFakeItEasy/AD.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AD.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AD.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------... | mit | C# |
184bd46ae348a62103d7b1717239391bfad20956 | add debugging to routing | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTRouter.cs | Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTRouter.cs |
using System.Collections.Generic;
using WebSocketSharp.Net;
namespace HappyFunTimes
{
public delegate bool RouteHandler(string path, HttpListenerRequest req, HttpListenerResponse res);
public class HFTRouter
{
public bool Route(string path, HttpListenerRequest req, HttpListenerResponse res) {
//U... |
using System.Collections.Generic;
using WebSocketSharp.Net;
namespace HappyFunTimes
{
public delegate bool RouteHandler(string path, HttpListenerRequest req, HttpListenerResponse res);
public class HFTRouter
{
public bool Route(string path, HttpListenerRequest req, HttpListenerResponse res) {
... | bsd-3-clause | C# |
a2b4f47acfdfd11073f11e5dfc22e9f61fc18c99 | replace description with summary | RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net | docs/guides/samples/module.cs | docs/guides/samples/module.cs | using Discord.Commands;
using Discord.WebSocket;
// Create a module with no prefix
[Module]
public class Info
{
// ~say hello -> hello
[Command("say"), Summary("Echos a message.")]
public async Task Say(IUserMessage msg,
[Unparsed, Summary("The text to echo")] string echo)
{
await msg.C... | using Discord.Commands;
using Discord.WebSocket;
// Create a module with no prefix
[Module]
public class Info
{
// ~say hello -> hello
[Command("say"), Description("Echos a message.")]
public async Task Say(IUserMessage msg,
[Unparsed, Description("The text to echo")] string echo)
{
awa... | mit | C# |
adf569e05eb99569b3e0f4aa9f3e112b1a96afcb | Update PlatformModule.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/DependencyInjection/PlatformModule.cs | TIKSN.Framework.Core/DependencyInjection/PlatformModule.cs | using Autofac;
namespace TIKSN.DependencyInjection
{
public class PlatformModule : Module
{
protected override void Load(ContainerBuilder builder)
{
}
}
}
| using Autofac;
namespace TIKSN.DependencyInjection
{
public class PlatformModule : Module
{
protected override void Load(ContainerBuilder builder)
{
}
}
} | mit | C# |
e68fa1a336aa0eb9e05343927f7b4dc836faf18e | Update Demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Config.cs | Src/Asp.Net/SqlServerTest/Config.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Config
{
public static string ConnectionString = "server=.;uid=sa;pwd=@jhl85661501;database=SqlSugar4XTest";
public static string ConnectionStrin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Config
{
public static string ConnectionString = "server=.;uid=sa;pwd=sasa;database=SqlSugar4XTest";
public static string ConnectionString2 = "se... | apache-2.0 | C# |
eff88a66d1fab0189627cf758e4db321adf850bf | Add blocks not in order | ajlopez/PegSharp | Src/PegSharp/External/BlockChain.cs | Src/PegSharp/External/BlockChain.cs | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | mit | C# |
904eb5a96ea4c35df2c3c4074954e8e5687992a8 | Change polling interval to match graphite (10 sec) | cloudbirdnet/StatsDPerfMon | StatsDPerfMon/PerfCounterService.cs | StatsDPerfMon/PerfCounterService.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace StatsDPerfMon
{
public class PerfCounterService : ScheduledServiceBase
{
private readonly Lazy<Dictionary<string, PerformanceCounter>> counters;
private readonly IStatsD statsD;
public PerfCounterService(Fu... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace StatsDPerfMon
{
public class PerfCounterService : ScheduledServiceBase
{
private readonly Lazy<Dictionary<string, PerformanceCounter>> counters;
private readonly IStatsD statsD;
public PerfCounterService(Fu... | mit | C# |
39f4dc08b466da5848f5f661c6b12189f8c31ad6 | add linq to the mix | jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad | 02-sqlite/Program.cs | 02-sqlite/Program.cs | using System;
using System.Linq;
namespace ConsoleApp
{
public class Program
{
public static void Main()
{
using (var db = new BloggingContext())
{
db.Blogs.Add(new Blog { Url = "http://blogs.msdn.com/adonet" });
var count = db.SaveChanges... | using System;
namespace ConsoleApp
{
public class Program
{
public static void Main()
{
using (var db = new BloggingContext())
{
db.Blogs.Add(new Blog { Url = "http://blogs.msdn.com/adonet" });
var count = db.SaveChanges();
... | mit | C# |
9983dd129cd855cf8cc0040887d828844a2eb025 | Update heading size | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_COVID19GuidanceBanner.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/Shared/_COVID19GuidanceBanner.cshtml | @if (ViewBag.UseCDN ?? false)
{
<div class="das-notification">
<p class="das-notification__heading govuk-!-margin-bottom-0">
Coronavirus (COVID-19): <a href="https://www.gov.uk/government/publications/coronavirus-covid-19-apprenticeship-programme-response/coronavirus-covid-19-guidance-for-appre... | @if (ViewBag.UseCDN ?? false)
{
<div class="das-notification">
<p class="das-notification__heading govuk-!-margin-bottom-0">
Coronavirus (COVID-19): <a href="https://www.gov.uk/government/publications/coronavirus-covid-19-apprenticeship-programme-response/coronavirus-covid-19-guidance-for-appre... | mit | C# |
5a6bd6461ae0e5f6e2b62e43c72a3979fa0bce9e | Use the correct GUID for SVsUserNotificationsService | mavasani/roslyn,dotnet/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,weltkante/... | src/VisualStudio/IntegrationTest/TestSetup/IntegrationTestServicePackage.cs | src/VisualStudio/IntegrationTest/TestSetup/IntegrationTestServicePackage.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.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
usi... | // 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.Runtime.InteropServices;
using System.Threading;
using Microsoft.VisualStudio.Shell;
usi... | mit | C# |
37f796a84984f787d7d856f728b663f008f95dca | increase version number | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THI... | apache-2.0 | C# |
2484e67670c7f0936bef8166aed61f4f8e9880eb | Fix settings for browser. | cube-soft/Cube.Net,cube-soft/Cube.Net,cube-soft/Cube.Net | Applications/Rss/Reader/App.xaml.cs | Applications/Rss/Reader/App.xaml.cs | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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... | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, Inc.
//
// 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-2.0 | C# |
85689a03592b3d171c28fb689a38473135d5e9f0 | Use lower-case names. | izrik/sub,izrik/sub | ParameterTypes.cs | ParameterTypes.cs | using System;
using NCommander;
using System.Text;
using System.Linq;
using Substrate;
namespace sub
{
public static class ParameterTypes
{
public static readonly ParameterType BlockType = new ParameterType(
name: "block_type",
convertAction: arg =>
{
... | using System;
using NCommander;
using System.Text;
using System.Linq;
using Substrate;
namespace sub
{
public static class ParameterTypes
{
public static readonly ParameterType BlockType = new ParameterType(
name: "BlockType",
convertAction: arg =>
{
... | mit | C# |
d5487e460a25c5b4bda62ba1c8f78100443672fa | Fix typo. | izrik/sub,izrik/sub | ParameterTypes.cs | ParameterTypes.cs | using System;
using NCommander;
using System.Text;
using System.Linq;
using Substrate;
namespace sub
{
public static class ParameterTypes
{
public static readonly ParameterType BlockType = new ParameterType(
name: "BlockType",
convertAction: arg =>
{
... | using System;
using NCommander;
using System.Text;
using System.Linq;
using Substrate;
namespace sub
{
public static class ParameterTypes
{
public static readonly ParameterType BlockType = new ParameterType(
name: "BlockType",
convertAction: arg =>
{
... | mit | C# |
1ebc072a5815fd9761ff6d3982ab0cbb92c974c2 | Implement singleton | jonstodle/mowali | Mowali/SettingsWrapper.cs | Mowali/SettingsWrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using TmdbWrapper;
using TmdbWrapper.Movies;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mowali {
public sealed class Se... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
using TmdbWrapper;
using TmdbWrapper.Movies;
using System.Collections.ObjectModel;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Mowali {
public sealed class Se... | mit | C# |
6423b7e0a090b0ee5fc1e3ff789087e4ecff8113 | Make internal methods available to castle proxies. | miniter/SSH.NET,sshnet/SSH.NET,Bloomcredit/SSH.NET,GenericHero/SSH.NET | Renci.SshClient/Renci.SshNet.NET35/Properties/AssemblyInfo.cs | Renci.SshClient/Renci.SshNet.NET35/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SSH.NET .NET 3.5")]
[assembly: Guid("a9698831-4993-469b-81f1-aed4e5379252")]
[assembly: InternalsVisibleTo("Renci.SshNet.Tests.NET35, PublicKey=0024000004800000940000000602000000240000... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("SSH.NET .NET 3.5")]
[assembly: Guid("a9698831-4993-469b-81f1-aed4e5379252")]
[assembly: InternalsVisibleTo("Renci.SshNet.Tests.NET35, PublicKey=0024000004800000940000000602000000240000... | mit | C# |
aed483c3b58a1dfc25256c99660a0e412309eae4 | use derived list to keep the coin list in sync with the backend. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinListViewModel.cs | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.ViewModels;
using ReactiveUI;
using System.Collections.ObjectModel;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListViewModel : ViewModelBase
{
private ObservableCollectio... | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.ViewModels;
using ReactiveUI;
using System.Collections.ObjectModel;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinListViewModel : ViewModelBase
{
private ObservableCollection<CoinViewModel> _selectedC... | mit | C# |
0997077aa63252e211173de5de9cb34322791eec | Use one way function protocol for bit commitment | 0culus/ElectronicCash | BitCommitment/BitCommitmentEngine.cs | BitCommitment/BitCommitmentEngine.cs | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function method for committing bits
/// </summary>
public cl... | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages.
/// </summary>
public class BitCommitmentEngine
{
#region properties
public byte[]... | mit | C# |
81ecf5181421f2c03c8e1159d7998076697aefd7 | Update Room.cs | nikola02333/WebKurs,nikola02333/WebKurs,nikola02333/WebKurs | BookingApp/BookingApp/Models/Room.cs | BookingApp/BookingApp/Models/Room.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class Room
{
public int RoomId { get; set; }
public int bedCount { get; set; }
public string description { get; set; }
public int pricePerNight { get; set... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BookingApp.Models
{
public class Room
{
public int RoomId { get; set; }
private int bedCount { get; set; }
private string description { get; set; }
private int pricePerNight { get; ... | mit | C# |
756c069a9727dcdbfba07abb53452004cb59892f | Clean up unused namespaces | davidebbo/OrganizePhotos | OrganizePhotos/Program.cs | OrganizePhotos/Program.cs | using System;
using System.IO;
using ExifLib;
namespace OrganizePhotos
{
class Program
{
static void Main(string[] args)
{
string folder = args.Length == 0 ? "." : args[0];
foreach (string file in Directory.EnumerateFiles(folder, "*.jpg"))
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExifLib;
namespace OrganizePhotos
{
class Program
{
static void Main(string[] args)
{
string folder = args.Length == 0 ? "." : args[0];
... | apache-2.0 | C# |
6f033eb60240819e4382034f6078e71bd1358b57 | Split the list of products on the catalog into lists of the respective product sub-classes | tarakreddy/ADAPT,ADAPT/ADAPT | source/ADAPT/Catalog.cs | source/ADAPT/Catalog.cs | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0... | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0... | epl-1.0 | C# |
0d03e4b2f2e2f447ae36721a1e3996dcb5fcba78 | Bump version to 14.2.2.31022 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
9c01585567431924cecb663016b36e334b13f7f8 | Make a proper view model | lmno/cupster,lmno/cupster,lmno/cupster | webstats/Modules/RootMenuModule.cs | webstats/Modules/RootMenuModule.cs | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:54
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Text;
using Nancy;
using SubmittedData;
namespace Modules
{
/// <summary>
/// Description of WebService.
/// </s... | /*
* Created by SharpDevelop.
* User: Lars Magnus
* Date: 12.06.2014
* Time: 20:54
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Text;
using Nancy;
using SubmittedData;
namespace Modules
{
/// <summary>
/// Description of WebService.
/// </s... | mit | C# |
1625ba3c9e209c467a8398ed97db9fcd99bb9b55 | Handle hash hit case better (reposition on insert) | ronnymgm/csla-light,rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,rockfordlhotka/csla,jonnybee/csla,jonnybee/csla,BrettJaner/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,JasonBock/csla,MarimerLLC/csla,JasonBock/csla,BrettJaner/csla | cslacs/Csla/Core/PositionMap.cs | cslacs/Csla/Core/PositionMap.cs | using System;
using System.Collections.Generic;
namespace Csla.Core
{
internal class PositionMap<T>
where T : Core.IEditableBusinessObject
{
Dictionary<T, int> _map;
IList<T> _list;
public PositionMap(IList<T> list)
{
_list = list;
RebuildMap();
}
public ... | using System;
using System.Collections.Generic;
namespace Csla.Core
{
internal class PositionMap<T>
where T : Core.IEditableBusinessObject
{
Dictionary<T, int> _map;
IList<T> _list;
public PositionMap(IList<T> list)
{
_list = list;
RebuildMap();
}
public ... | mit | C# |
90decccc3256c376c98b0f1a7e184ffb88c70fe1 | Implement toast notification | sakapon/Samples-2016,sakapon/Samples-2016 | WinrtSample/ToastConsole/Program.cs | WinrtSample/ToastConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Data.Xml.Dom;
using Windows.UI.Notifications;
namespace ToastConsole
{
class Program
{
static void Main(string[] args)
{
// Gets Template.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ToastConsole
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
2910177c66d163228742a14b2048ce53e97483cc | rework of cube rotation | NataliaDSmirnova/CGAdvanced2017 | Assets/Scripts/CubeLocalRotation.cs | Assets/Scripts/CubeLocalRotation.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeLocalRotation : MonoBehaviour
{
float rotx = 0f;
float roty = 0f;
public readonly float rotation_speed_x = 10f;
public readonly float rotation_speed_y = 10f;
Vector3 upFromWorld;
Vector3 rightFromWo... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CubeLocalRotation : MonoBehaviour {
Quaternion originalLocalRotation;
float angle = 0f;
public readonly float rotation_speed = 15f;
// Use this for initialization
void Start () {
originalLocalRotati... | mit | C# |
c12c01721c70cb3900e5eeb6fd26d9425543d77b | Update Program.cs | koschmarche/TestRepo | githubTest/githubTest/Program.cs | githubTest/githubTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace githubTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello github");
Console.WriteLine("Test1111");
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace githubTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello github");
Console.WriteLine("Test1");
}
}
}
| mit | C# |
363448ddd302bd5c322cb47cd040c99805e3dac5 | Update FizzBuzz.cs | michaeljwebb/Algorithm-Practice | LeetCode/FizzBuzz.cs | LeetCode/FizzBuzz.cs | using System;
using System.Collections.Generic;
using System.Linq;
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)
{
Console.Wr... | 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)
... | mit | C# |
36435598867451e368634d330c4ff9a03048f8c5 | clean up | asipe/Nucs,asipe/Nucs | src/Nucs.Console/Program.cs | src/Nucs.Console/Program.cs | using MadCat.Core;
using Nucs.App.Main;
namespace Nucs.Console {
internal class Program {
private static void Main() {
new Runner().Start(new AppConfig());
}
}
} | using MadCat.Core;
using Nucs.App.Main;
namespace Nucs.Console {
internal class Program {
private static void Main(string[] args) {
new Runner().Start(new AppConfig());
}
}
} | mit | C# |
224c37bdc3e67e0f110c3c679080dddcaa0113b6 | Add localisation for RankingOverlay | ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game/Overlays/Rankings/RankingsOverlayHeader.cs | osu.Game/Overlays/Rankings/RankingsOverlayHeader.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Framework.Localisation;
using osu.Game.Rulesets;
using osu.Game.Resources.Localisati... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Bindables;
using osu.Game.Rulesets;
using osu.Game.Users;
namespace osu.Game.Overlays.Rankings
{
public class Rank... | mit | C# |
23755d31fbaf94b78d5c81c868cdf326809463e3 | update TableFactory | nabehiro/TableIO | src/TableIO/TableFactory.cs | src/TableIO/TableFactory.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TableIO
{
public class TableFactory
{
public TableReader<TModel> CreateReader<TModel>(IRowReader rowReader,
ITypeConverterResolver typeConverterRes... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TableIO
{
public class TableFactory
{
public TableReader<TModel> CreateCsvReader<TModel>(TextReader textReader,
bool hasHeader = false,
... | apache-2.0 | C# |
828fb19da61bc9a63c50bf1e2225cbb11bf8e1c4 | Comment and some extra verification in the test for NH-3063. | ngbrown/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,fredericDel... | src/NHibernate.Test/Tools/hbm2ddl/SchemaValidator/SchemaValidateFixture.cs | src/NHibernate.Test/Tools/hbm2ddl/SchemaValidator/SchemaValidateFixture.cs | using System.Reflection;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
namespace NHibernate.Test.Tools.hbm2ddl.SchemaValidator
{
[TestFixture]
public class SchemaValidateFixture
{
[Test]
public void ShouldVerifySameTable()
{
const string resource = "NHibernate.Te... | using System.Reflection;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using NUnit.Framework;
namespace NHibernate.Test.Tools.hbm2ddl.SchemaValidator
{
[TestFixture]
public class SchemaValidateFixture
{
[Test]
public void ShouldVerifySameTable()
{
const string resource = "NHibernate.Te... | lgpl-2.1 | C# |
b5589b7b4ad1ac5721d995cd58a8f5a53f06bf33 | move metadata endpoint default to /saml2/metadata | elerch/SAML2,alexrster/SAML2 | src/Owin.Security.Saml/SamlAuthenticationOptions.cs | src/Owin.Security.Saml/SamlAuthenticationOptions.cs | using Microsoft.Owin.Security;
using SAML2.Config;
namespace Owin.Security.Saml
{
public class SamlAuthenticationOptions : AuthenticationOptions
{
public SamlAuthenticationOptions() : base("SAML2") {
Description = new AuthenticationDescription
{
AuthenticationTy... | using Microsoft.Owin.Security;
using SAML2.Config;
namespace Owin.Security.Saml
{
public class SamlAuthenticationOptions : AuthenticationOptions
{
public SamlAuthenticationOptions() : base("SAML2") {
Description = new AuthenticationDescription
{
AuthenticationTy... | mpl-2.0 | C# |
a43f8b68e7925220363f91565775cc8ed64e8d28 | Add missing parentheses | smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework | osu.Framework/Development/ThreadSafety.cs | osu.Framework/Development/ThreadSafety.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.Diagnostics;
using System.Threading;
using osu.Framework.Threading;
namespace osu.Framework.Development
{
internal static class ThreadSafety
{
... | // 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.Diagnostics;
using System.Threading;
using osu.Framework.Threading;
namespace osu.Framework.Development
{
internal static class ThreadSafety
{
... | mit | C# |
141976a9fb18aaeaac854f6116957d2a635c899e | Change some intro settings property names | danielchalmers/DesktopWidgets | DesktopWidgets/Classes/IntroData.cs | DesktopWidgets/Classes/IntroData.cs | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | using System.ComponentModel;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Intro Settings")]
public class IntroData
{
[DisplayName("Duration")]
public int Duration { get; set; } = -1;
[DisplayName("Reversab... | apache-2.0 | C# |
1f1b067c096c4a3e56b3f2311c7756d46863909c | Test checkin | devedse/DeveImagePyramid | Devedse.DeveImagePyramid/Program.cs | Devedse.DeveImagePyramid/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Devedse.DeveImagePyramid
{
class Program
{
static void Main(string[] args)
{
// BLAH BLAH TEST
var te... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Devedse.DeveImagePyramid
{
class Program
{
static void Main(string[] args)
{
var testImagePath = @"0_0.png";
... | unlicense | C# |
a69cb5a279b0d52ccea7a91eebb9805fd5ef5ee0 | Update Copyright | dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,dokan-dev/dokan-dotnet,viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,viciousviper/dokan-dotnet,viciousviper/dokan-dotnet,jimmsta/dokan-dotnet | DokanNet/Properties/AssemblyInfo.cs | DokanNet/Properties/AssemblyInfo.cs | using System;
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("DokanNet")]
[assembl... | using System;
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("DokanNet")]
[assembl... | mit | C# |
ee8e231517f7052a96812d3cd9b4c8a8ef62572d | Add property description | mattfrear/Swashbuckle.AspNetCore.Examples | test/WebApi2.0-Swashbuckle5/Models/PersonRequest.cs | test/WebApi2.0-Swashbuckle5/Models/PersonRequest.cs | using System.ComponentModel;
namespace WebApi.Models
{
public class PersonRequest
{
public Title Title { get; set; }
/// <summary>
/// The person's Age, in years
/// </summary>
public int Age { get; set; }
/// <summary>
/// The first name of the person... | using System.ComponentModel;
namespace WebApi.Models
{
public class PersonRequest
{
public Title Title { get; set; }
public int Age { get; set; }
[Description("The first name of the person")]
public string FirstName { get; set; }
public decimal? Income { get; set; }
... | mit | C# |
d9ea7878b54169f77a4b7e4b81315b214128c6bd | remove unused IDictionary.AddRange | Pondidum/Finite,Pondidum/Finite | Finite/Infrastructure/Extensions.cs | Finite/Infrastructure/Extensions.cs | using System;
using System.Collections.Generic;
namespace Finite.Infrastructure
{
public static class Extensions
{
public static void ForEach<T>(this IEnumerable<T> self, Action<T> action)
{
foreach (var item in self)
{
action(item);
}
}
}
}
| using System;
using System.Collections.Generic;
namespace Finite.Infrastructure
{
public static class Extensions
{
public static void ForEach<T>(this IEnumerable<T> self, Action<T> action)
{
foreach (var item in self)
{
action(item);
}
}
public static void AddRange<TKey, TValue>(this IDictiona... | lgpl-2.1 | C# |
e043f6587ec88aa0606f977dc25feaedd9c8725d | use command line arguments | capturePointer/inject-dll,carterjones/inject-dll,carterjones/inject-dll,capturePointer/inject-dll,capturePointer/inject-dll | InjectDLL/Program.cs | InjectDLL/Program.cs | namespace InjectDLL
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Nouzuru;
class Program
{
static void Main(string[] args)
{
DllInjector di = new DllInjector();
if (args.Length != ... | namespace InjectDLL
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nouzuru;
class Program
{
static void Main(string[] args)
{
DllInjector di = new DllInjector();
di.Open("calc");
string dllPa... | bsd-2-clause | C# |
f1441adb5749935957d1bd52cb29f24b80f3a364 | Bump version to 14.6.0.31761 | HearthSim/HearthDb | HearthDb/Properties/AssemblyInfo.cs | HearthDb/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("Hea... | 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("Hea... | mit | C# |
0306038658b2b36acabd28ba4e8fb5e40f91b10d | Return empty string for connectionId in some cases (#2470) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs | src/Microsoft.AspNetCore.SignalR.Client.Core/Internal/ConnectionLogScope.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
namespace Microsoft.AspNetCore.SignalR.Client.Int... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
namespace Microsoft.AspNetCore.SignalR.Client.Int... | apache-2.0 | C# |
a856ef93cd03d19aba49344b1f76e1042e01a951 | update Routing in admin | csyntax/BlogSystem | Source/BlogSystem.Web/Areas/Administration/AdministrationAreaRegistration.cs | Source/BlogSystem.Web/Areas/Administration/AdministrationAreaRegistration.cs | namespace BlogSystem.Web.Areas.Administration
{
using System.Web.Mvc;
public class AdministrationAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Administration";
}
}
public override ... | namespace BlogSystem.Web.Areas.Administration
{
using System.Web.Mvc;
public class AdministrationAreaRegistration : AreaRegistration
{
public override string AreaName
{
get
{
return "Administration";
}
}
public override ... | mit | C# |
8bebab1f944c80be7102c1633393a4ec2e7d93be | Fix the XML comment for LocalizableString | abdllhbyrktr/aspnetboilerplate,Nongzhsh/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,zquans/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,jaq316/aspnetboilerplate,zclmoon/aspnetboilerplate,ZhaoRd/aspnetboilerplate,ShiningRush/aspnetboilerplate,Nongzhsh/aspnetboilerplate,aspnetboilerplate/a... | src/Abp/Localization/LocalizableString.cs | src/Abp/Localization/LocalizableString.cs | using System;
using System.Globalization;
namespace Abp.Localization
{
/// <summary>
/// Represents a string that can be localized.
/// </summary>
[Serializable]
public class LocalizableString : ILocalizableString
{
/// <summary>
/// Unique name of the localization source.
... | using System;
using System.Globalization;
namespace Abp.Localization
{
/// <summary>
/// Represents a string that can be localized.
/// </summary>
[Serializable]
public class LocalizableString : ILocalizableString
{
/// <summary>
/// Unique name of the localization source.
... | mit | C# |
3530ba6109fc6a4c380154e04c712b6aa32d8ec1 | Update HtmlSanitizerOptions.cs | mganss/HtmlSanitizer | src/HtmlSanitizer/HtmlSanitizerOptions.cs | src/HtmlSanitizer/HtmlSanitizerOptions.cs | using AngleSharp.Css.Dom;
using System;
using System.Collections.Generic;
namespace Ganss.XSS
{
/// <summary>
/// Provides options to be used with <see cref="HtmlSanitizer"/>.
/// </summary>
public class HtmlSanitizerOptions
{
/// <summary>
/// Gets or sets the allowed tag names suc... | using AngleSharp.Css.Dom;
using System;
using System.Collections.Generic;
namespace Ganss.XSS
{
/// <summary>
/// Provides options to be used with <see cref="HtmlSanitizer"/>.
/// </summary>
public class HtmlSanitizerOptions
{
/// <summary>
/// Gets or sets the allowed tag names suc... | mit | C# |
f6e541d616f884d0458883c8a70c716b9c69133f | Update permissions based on GitHub documentation (#2424) | octokit/octokit.net,octokit/octokit.net | Octokit/Models/Request/Permission.cs | Octokit/Models/Request/Permission.cs | using System.Diagnostics.CodeAnalysis;
using Octokit.Internal;
namespace Octokit
{
/// <summary>
/// Used to describe a permission level.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
public enum Permission
{
/// <summary>
... | using System.Diagnostics.CodeAnalysis;
using Octokit.Internal;
namespace Octokit
{
/// <summary>
/// Used to describe a permission level.
/// </summary>
[SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
public enum Permission
{
/// <summary>
... | mit | C# |
4d6744d48655b6063f831fc3c5e16d8f1d3296d1 | Replace rules cache needs to be board-based since custom BBCode can vary as well as options (possibly in the future). | YAFNET/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,YAFNET/YAFNET,Pathfinder-Fr/YAFNET,YAFNET/YAFNET,moorehojer/YAFNET,moorehojer/YAFNET,Pathfinder-Fr/YAFNET,mexxanit/YAFNET,mexxanit/YAFNET,moorehojer/YAFNET,mexxanit/YAFNET | yafsrc/YAF.Classes/YAF.Classes.UI/ReplaceRulesCreator.cs | yafsrc/YAF.Classes/YAF.Classes.UI/ReplaceRulesCreator.cs | using System;
using System.Collections.Generic;
using System.Text;
using YAF.Classes.Data;
using YAF.Classes.Utils;
namespace YAF.Classes.UI
{
/// <summary>
/// Gets an instance of replace rules and uses
/// caching if possible.
/// </summary>
public static class ReplaceRulesCreator
{
/// <summar... | using System;
using System.Collections.Generic;
using System.Text;
using YAF.Classes.Data;
using YAF.Classes.Utils;
namespace YAF.Classes.UI
{
/// <summary>
/// Gets an instance of replace rules and uses
/// caching if possible.
/// </summary>
public static class ReplaceRulesCreator
{
/// <summar... | apache-2.0 | C# |
324b2750a9e5382a0af498138acef0ffc87d5ef1 | Test for super class now reflect that super class methods are iterated | thefuntastic/Unity3d-Finite-State-Machine,thefuntastic/Unity3d-Finite-State-Machine | example_project/Assets/Editor/MonsterLove/Tests/TestDerivedFromSuperClass.cs | example_project/Assets/Editor/MonsterLove/Tests/TestDerivedFromSuperClass.cs | using System;
using MonsterLove.StateMachine;
using NUnit.Framework;
using UnityEngine;
using UnityEditor;
using System.Collections;
using Object = UnityEngine.Object;
[TestFixture]
[Category("State Machine Tests")]
internal class TestDerivedFromSuperClass
{
public enum States
{
One,
Two,
Three,
}
private ... | using System;
using MonsterLove.StateMachine;
using NUnit.Framework;
using UnityEngine;
using UnityEditor;
using System.Collections;
using Object = UnityEngine.Object;
[TestFixture]
[Category("State Machine Tests")]
internal class TestDerivedFromSuperClass
{
public enum States
{
One,
Two,
Three,
}
private ... | mit | C# |
f3e533f2e33469fc917cac290ae7b41d459345aa | Use timer rather than blocking sleep | wbsimms/SignalRDemo,wbsimms/SignalRDemo | SignalRDemo/SignalRDemo/Hubs/Chat.cs | SignalRDemo/SignalRDemo/Hubs/Chat.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Timers;
using System.Web;
using Microsoft.AspNet.SignalR;
using Timer = System.Timers.Timer;
namespace SignalRDemo.Hubs
{
public class Chat : Hub
{
static string messageToSend = DateTime.Now.ToString();
Timer t = n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
using Microsoft.AspNet.SignalR;
namespace SignalRDemo.Hubs
{
public class Chat : Hub
{
public void SayHello()
{
while (true)
{
Clients.All.addMes... | apache-2.0 | C# |
34954000008e8e663bde584fd7ad55608cd03436 | Switch to not serialize the full embed object | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/API/EmbedsController.cs | Battery-Commander.Web/Controllers/API/EmbedsController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class EmbedsController : ApiController
{
public EmbedsContr... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
public class EmbedsController : ApiController
{
public EmbedsContr... | mit | C# |
ba4f89dee1f9501d5ea77bec6341f131c637061e | Add horizontal lines. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml | MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml | @{
Layout = "_Layout";
ViewData["Title"] = "Guild";
}
<div class="row">
<nav class="col-md-3 col-xl-2">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="Guild" asp-controller="Stats" asp-action="Index">Statistiken</a>
</li>
@if(ViewBag.PermissionReadQuotes |... | @{
Layout = "_Layout";
ViewData["Title"] = "Guild";
}
<div class="row">
<nav class="col-md-3 col-xl-2">
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link text-dark" asp-area="Guild" asp-controller="Stats" asp-action="Index">Statistiken</a>
</li>
@if(ViewBag.PermissionReadQuotes) ... | mit | C# |
1d06a0ac9ae4ff123209206e83389a23650df07a | Add a 5% chance for attacks to be critical hits, which ignore defense. | pjk21/roguelikedev-does-the-complete-roguelike-tutorial | Roguelike/Roguelike/Entities/Components/FighterComponent.cs | Roguelike/Roguelike/Entities/Components/FighterComponent.cs | using Roguelike.UI;
using System;
namespace Roguelike.Entities.Components
{
public class FighterComponent : Component
{
public const float CriticalHitChance = 0.05f;
public int MaximumHealth { get; set; }
public int CurrentHealth { get; set; }
public int Power { get; set; }
... | using Roguelike.UI;
using System;
namespace Roguelike.Entities.Components
{
public class FighterComponent : Component
{
public int MaximumHealth { get; set; }
public int CurrentHealth { get; set; }
public int Power { get; set; }
public int Defense { get; set; }
public ... | mit | C# |
95c195b8dadd5de94ca9dcb7d90fd56d9d4f2b29 | Bump version to 1.5.0 | milkshakesoftware/PreMailer.Net,kendallb/PreMailer.Net | PreMailer.Net/GlobalAssemblyInfo.cs | PreMailer.Net/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyProduct("PreMailer.Net")]
[assembly: AssemblyCompany("Milkshake Software")]
[assembly: AssemblyCopyright("Copyright © Milkshake Software 2016")]
[assembly: Ass... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AssemblyProduct("PreMailer.Net")]
[assembly: AssemblyCompany("Milkshake Software")]
[assembly: AssemblyCopyright("Copyright © Milkshake Software 2015")]
[assembly: Ass... | mit | C# |
58025b2f5c514ea2925336f174a683a573d4df55 | Change model and EF errors with schema change | johnproctor/EFMigrations | CodeFirstMigrations/Address.cs | CodeFirstMigrations/Address.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirstMigrations
{
public class Address
{
public Int32 Id { get; set; }
public Int32 HouseNumber { get; set; }
public String Street { get; set; }
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeFirstMigrations
{
public class Address
{
public Int32 Id { get; set; }
public Int32 HouseNumber { get; set; }
public String Street { get; set; }
pub... | mit | C# |
83279158ddfc52d06758a4219c8a126e0ff56a51 | Add support for receiving a string | fpanettieri/unity-socket.io,fpanettieri/unity-socket.io-DEPRECATED,Joncom/unity-socket.io | SocketIO/Scripts/SocketIO/Parser.cs | SocketIO/Scripts/SocketIO/Parser.cs | #region License
/*
* Parser.cs
*
* The MIT License
*
* Copyright (c) 2014 Fabio Panettieri
*
* 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 li... | #region License
/*
* Parser.cs
*
* The MIT License
*
* Copyright (c) 2014 Fabio Panettieri
*
* 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 li... | mit | C# |
f40ba489e88a2b74afa52b148182aadac25b1c69 | Fix for startup.cs | makingsensetraining/angular-webapi,makingsensetraining/angular-webapi,makingsensetraining/angular-webapi | Source/Hiperion/Hiperion/Startup.cs | Source/Hiperion/Hiperion/Startup.cs | #region References
using Hiperion;
using Microsoft.Owin;
#endregion
[assembly: OwinStartup(typeof (Startup))]
namespace Hiperion
{
#region References
using System;
using System.Data.Entity;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Routing;
using C... | using Castle.Windsor;
using Hiperion.Infrastructure.EF;
using Hiperion.Services.Interfaces;
using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.OAuth;
using Owin;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using... | mit | C# |
b143d6cce07dae609f6a9dccd43beb0344291ab0 | add checks around dns stuff | cvent/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Met... | Src/Metrics/Utils/AppEnvironment.cs | Src/Metrics/Utils/AppEnvironment.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Metrics.MetricData;
using Metrics.Logging;
namespace Metrics.Utils
{
public static class AppEnvironment
{
private static readonly ILog log = LogProvider.GetCurrentCl... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using Metrics.MetricData;
namespace Metrics.Utils
{
public static class AppEnvironment
{
public static IEnumerable<EnvironmentEntry> Current
{
ge... | apache-2.0 | C# |
fbae4b2657c1780f979c9b889bf3e9f9eed85f07 | Change the order of the columns in CSV export | dodbrian/BSParser | BSParser/Writers/StrictCSVWriter.cs | BSParser/Writers/StrictCSVWriter.cs | using BSParser.Data;
using CsvHelper;
using System.IO;
using System.Linq;
using System.Text;
namespace BSParser.Writers
{
public class StrictCSVWriter : Writer
{
private string _fileName;
public StrictCSVWriter(string fileName)
{
_fileName = fileName;
}
pu... | using BSParser.Data;
using CsvHelper;
using System.IO;
using System.Text;
namespace BSParser.Writers
{
public class StrictCSVWriter : Writer
{
private string _fileName;
public StrictCSVWriter(string fileName)
{
_fileName = fileName;
}
public override bool ... | mit | C# |
9c712375a3449dba29d007b5eb59087fac7a3cc1 | Add game version to the results (for e.g. heavy rain) | RPCS3/discord-bot,Nicba1010/discord-bot | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | CompatBot/Utils/ResultFormatters/IrdSearchResultFormattercs.cs | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | using CompatApiClient.Utils;
using DSharpPlus.Entities;
using IrdLibraryClient;
using IrdLibraryClient.POCOs;
namespace CompatBot.Utils.ResultFormatters
{
public static class IrdSearchResultFormattercs
{
public static DiscordEmbedBuilder AsEmbed(this SearchResult searchResult)
{
va... | lgpl-2.1 | C# |
81cb3d58465f080dc66810f8784ffaa72d73126b | update the test to pass | ProjectSteward/StewardTRBot,ProjectSteward/StewardTRBot | Steward/StewardunitTest/Controllers/MessagesControllerTests.cs | Steward/StewardunitTest/Controllers/MessagesControllerTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Steward.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Steward.Controllers.Tests
{
[TestClass()]
public class MessagesControllerTests
{
//[TestMetho... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Steward.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Steward.Controllers.Tests
{
[TestClass()]
public class MessagesControllerTests
{
[TestMethod(... | mit | C# |
7b878acc5d66660fcdd66e62972cedb21f5510e4 | Add test for ListaAutores method | paulodiovani/feevale-cs-livraria-2015 | LivrariaTest/AutorTest.cs | LivrariaTest/AutorTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Livraria;
using System.Collections.Generic;
namespace LivrariaTest
{
[TestClass]
public class AutorTest
{
[TestMethod]
public void TestProperties()
{
Autor autor = new Autor();
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Livraria;
namespace LivrariaTest
{
[TestClass]
public class AutorTest
{
[TestMethod]
public void TestProperties()
{
Autor autor = new Autor();
autor.CodAutor = 999;
... | mit | C# |
2e1fa87e91e497d04ee5c3509245c84d9ec83ec2 | Bump version | dolly22/VersionedAssets | samples/SampleWebApp/Startup.cs | samples/SampleWebApp/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using System.IO;
namespace SampleWebApp
{
public class Startu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using System.IO;
namespace SampleWebApp
{
public class Startu... | apache-2.0 | C# |
5f9a7ff8ee495f3d316ef7619fd5c72b2cb8ee38 | Revert "ver" | Fody/Caseless | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Caseless")]
[assembly: AssemblyProduct("Caseless")]
[assembly: AssemblyVersion("1.3.7")]
[assembly: AssemblyFileVersion("1.3.7")]
| using System.Reflection;
[assembly: AssemblyTitle("Caseless")]
[assembly: AssemblyProduct("Caseless")]
[assembly: AssemblyVersion("1.4")]
[assembly: AssemblyFileVersion("1.4")]
| mit | C# |
2992012e045cebd52c1f01799097ec93e4ae2c9e | Make coding style consistent with corefx | benaadams/corefxlab,ericstj/corefxlab,whoisj/corefxlab,alexperovich/corefxlab,nguerrera/corefxlab,stephentoub/corefxlab,Vedin/corefxlab,ericstj/corefxlab,mafiya69/corefxlab,stephentoub/corefxlab,ericstj/corefxlab,stephentoub/corefxlab,weshaggard/corefxlab,Vedin/corefxlab,tarekgh/corefxlab,livarcocc/corefxlab,whoisj/cor... | demos/CoreClrConsoleApplications/HelloWorld/HelloWorld.cs | demos/CoreClrConsoleApplications/HelloWorld/HelloWorld.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;
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
foreach (var arg in args)
... | using System;
class Program {
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
foreach (var arg in args)
{
Console.Write("Hello ");
Console.Write(arg);
Console.WriteLine("!");
}
Console.WriteLine("Press ENTER to exit ...");
Console.ReadLine();
}
} | mit | C# |
9c02fb3eb80a8cfb72fdbdd304c0e35f7a2ab962 | Update UI v1.11 | EmptyKeys/UI_Engines | GlobalAssemblyInfo.cs | GlobalAssemblyInfo.cs | using System.Reflection;
using System.Resources;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Empty Keys")]
[assembly: AssemblyCopyright("Copyright © Empty Keys, Filip Dušek 2015")]
[assembly: AssemblyTrademark("Empty Keys ... | using System.Reflection;
using System.Resources;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Empty Keys")]
[assembly: AssemblyCopyright("Copyright © Empty Keys, Filip Dušek 2015")]
[assembly: AssemblyTrademark("Empty Keys ... | mit | C# |
0c540ee6aa6176a582eba38edd33db758968b852 | Remove Whitespace | willcong/HoloToolkit-Unity,paseb/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,NeerajW/HoloToolkit-Unity | Assets/HoloToolkit-Examples/Input/Scripts/RotateMinMax.cs | Assets/HoloToolkit-Examples/Input/Scripts/RotateMinMax.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity.Tests
{
public class RotateMinMax : MonoBehaviour
{
[SerializeField] private float _minAngle;
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace HoloToolkit.Unity.Tests
{
public class RotateMinMax : MonoBehaviour
{
[SerializeField] private float _minAngle;
... | mit | C# |
4af90871e166293d31668dfeff513265f70029bb | Use correct TBT_LINEAR_TARGET shader feature keyword. | googlevr/tilt-brush-toolkit,googlevr/tilt-brush-toolkit | UnitySDK/Assets/TiltBrush/Scripts/Editor/GammaSettings.cs | UnitySDK/Assets/TiltBrush/Scripts/Editor/GammaSettings.cs | // Copyright 2016 Google Inc.
//
// 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 agreed to in... | // Copyright 2016 Google Inc.
//
// 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 agreed to in... | apache-2.0 | C# |
38d589a86cc49a350cece3aeee5b0230d8816460 | rename method | ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownImage.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownImage.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.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Containers.Markdown
{
... | // 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.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespace osu.Framework.Graphics.Containers.Markdown
{
... | mit | C# |
dd80604828b8fa2a2423a1a9e3881bde588db67c | clean up | gngrninja/NinjaBotCore | Modules/Wow/ApiRequestorThrottle.cs | Modules/Wow/ApiRequestorThrottle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace NinjaBotCore.Modules.Wow
{
internal class ApiRequesterThrottle : WclApiRequestor
{
private readonly Semaphore _queue;
private int _rateLimit... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace NinjaBotCore.Modules.Wow
{
/// <summary>
/// Used to send throttled HTTP requests to https://api.rocketleaguestats.com.
/// Automatically detects... | mit | C# |
828d12e47f8cf92827f88c3f94eb05460ac17e59 | Improve StubListener's output of nested exceptions, so that it is as descriptive as the real ConsoleListener. | EliotJones/fixie,bardoloi/fixie,KevM/fixie,bardoloi/fixie,fixie/fixie,Duohong/fixie,JakeGinnivan/fixie | src/Fixie.Tests/StubListener.cs | src/Fixie.Tests/StubListener.cs | using System.Collections.Generic;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Text;
using Fixie.Execution;
using Fixie.Results;
namespace Fixie.Tests
{
public class StubListener : Listener
{
readonly List<string> log = new List<string>();
public void Assembl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Fixie.Execution;
using Fixie.Results;
namespace Fixie.Tests
{
public class StubListener : Listener
{
readonly List<string> log = new List<string>();
public void AssemblyStarted... | mit | C# |
6da43a18512e752fa7d0024828e604db148cf3ea | Make official that 2k missing translations doesn't get you into the new system | icsharpcode/ResourceFirstTranslations,icsharpcode/ResourceFirstTranslations,icsharpcode/ResourceFirstTranslations | src/Importer.Corsavy/Program.cs | src/Importer.Corsavy/Program.cs | using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ResourcesFirstTranslations.Data;
namespace Importer.Corsavy
{
class Program
{
private const string ConnectionString =
... | using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ResourcesFirstTranslations.Data;
namespace Importer.Corsavy
{
class Program
{
private const string ConnectionString =
... | mit | C# |
a9e4979db93549716d38e7b19bca4797531328bc | Allow bass sample channels to overwrite older ones by default. | smoogipooo/osu-framework,ppy/osu-framework,naoey/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,RedNesto/osu-framework,default0/osu-frame... | osu.Framework/Audio/Sample/SampleBass.cs | osu.Framework/Audio/Sample/SampleBass.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using ManagedBass;
using System;
using System.Collections.Concurrent;
namespace osu.Framework.Audio.Sample
{
internal class SampleBass : Sample,... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using ManagedBass;
using System;
using System.Collections.Concurrent;
namespace osu.Framework.Audio.Sample
{
internal class SampleBass : Sample,... | mit | C# |
96da74278315f6532ca8f83f57bc3ccc28e4e9b5 | Fix CA warnings | JetBrains/YouTrackSharp,JetBrains/YouTrackSharp | src/YouTrackSharp/Connection.cs | src/YouTrackSharp/Connection.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace YouTrackSharp
{
/// <summary>
/// Abstract base class that represents a connection against a YouTrack server instance and provides
/// an authenticated <see cref="T:System.Net.Http.HttpClient" />.
/// </summary>
public abs... | using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace YouTrackSharp
{
/// <summary>
/// Abstract base class that represents a connection against a YouTrack server instance and provides
/// an authenticated <see cref="T:System.Net.Http.Htt... | apache-2.0 | C# |
67124c514cb32462052335157dd67bbd953ef052 | Add test for kabuto/kabutops | genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder | PogoLocationFeederTests/Helper/PokemonParserTests.cs | PogoLocationFeederTests/Helper/PokemonParserTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PogoLocationFeeder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using POGOProtos.Enums;
namespace PogoLocationFeeder.Tests
{
[TestClass()]
public class PokemonParserTests
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using PogoLocationFeeder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using POGOProtos.Enums;
namespace PogoLocationFeeder.Tests
{
[TestClass()]
public class PokemonParserTests
{
... | agpl-3.0 | C# |
1b4d5af8ea095cf4f15d9edf1613c8e8b3a621be | Allow unit testing of internal or private interfaces. | kf6kjg/chattel | Source/Chattel-AssetTools/Properties/AssemblyInfo.cs | Source/Chattel-AssetTools/Properties/AssemblyInfo.cs | // AssemblyInfo.cs
//
// Author:
// Ricky C <>
//
// Copyright (c) 2017
//
// 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 rig... | // AssemblyInfo.cs
//
// Author:
// Ricky C <>
//
// Copyright (c) 2017
//
// 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 rig... | mit | C# |
f26d0a84fe0a7cf35ab3f2b95ceef548ef911df5 | Add script for client side validation | lostm1nd/TeamTaskboard | Source/TeamTaskboard.Web/Views/Shared/_Layout.cshtml | Source/TeamTaskboard.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Team Taskboard</title>
@Styles.Render("~/Content/bootstrapcss")
@RenderSection("styles", required: false)
@Styles.Render("~/Content/mycss... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - Team Taskboard</title>
@Styles.Render("~/Content/bootstrapcss")
@RenderSection("styles", required: false)
@Styles.Render("~/Content/mycss... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.