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
9b03fe59f4bf87e46416d7e05c7f5ed670753503
Add a wrong password status
flagbug/Espera.Network
Espera.Network/ResponseStatus.cs
Espera.Network/ResponseStatus.cs
namespace Espera.Network { public enum ResponseStatus { Success, PlaylistEntryNotFound, Unauthorized, MalformedRequest, NotFound, NotSupported, Rejected, Fatal, WrongPassword } }
namespace Espera.Network { public enum ResponseStatus { Success, PlaylistEntryNotFound, Unauthorized, MalformedRequest, NotFound, NotSupported, Rejected, Fatal } }
mit
C#
d393ae633357bfeefba9a83ba9bd9d453ba7df3c
Make ArchiveData implement IComparable Should allow you to sort lists of ArchiveData objects (and anything that extends from it, such as ArchiveFile) by name, alphabetically.
Radfordhound/HedgeLib,Radfordhound/HedgeLib
HedgeLib/Archives/ArchiveData.cs
HedgeLib/Archives/ArchiveData.cs
using System; namespace HedgeLib.Archives { public class ArchiveData : IComparable { // Variables/Constants public string Name; // Methods public virtual void Extract(string filePath) { throw new NotImplementedException(); } public ...
using System; namespace HedgeLib.Archives { public class ArchiveData { // Variables/Constants public string Name; // Methods public virtual void Extract(string filePath) { throw new NotImplementedException(); } } }
mit
C#
685f3a15cdbe964499a1d5475c8e642559985c97
put defaults inside classes to lookup section names
HeliosInteractive/Phoenix,sepehr-laal/Phoenix,HeliosInteractive/Phoenix,HeliosInteractive/Phoenix,HeliosInteractive/Phoenix,sepehr-laal/Phoenix,sepehr-laal/Phoenix,sepehr-laal/Phoenix
phoenix/Defaults.cs
phoenix/Defaults.cs
namespace phoenix { class Defaults { public class Local { public static string ApplicationToWtach = ""; public static string CommandLineArguments = ""; public static string ScriptToExecuteOnCrash = ""; public static int TimeDelayBeforeLaunch = 10;...
namespace phoenix { class Defaults { #region Local public static string ApplicationToWtach = ""; public static string CommandLineArguments = ""; public static string ScriptToExecuteOnCrash = ""; public static int TimeDelayBeforeLaunch = 10; ...
mit
C#
bb5650a859259a2e42e772eca84d2e43167aa131
Make encoding table char[]
ssg/SimpleBase,ssg/SimpleBase32,ssg/SimpleBase
src/Base32Alphabet.cs
src/Base32Alphabet.cs
/* Copyright 2014 Sedat Kapanoglu 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...
/* Copyright 2014 Sedat Kapanoglu 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...
apache-2.0
C#
ed94764420cb88aa2f3251d052c33fd0b6e0463a
Update Program.cs
geffzhang/Ocelot,geffzhang/Ocelot,TomPallister/Ocelot,TomPallister/Ocelot
test/Ocelot.ManualTest/Program.cs
test/Ocelot.ManualTest/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace Ocelot.ManualTest { public class Program { public static void Main(string[] args) { IWebHostBuilder builder = new WebHostBuilder(); builder.Config...
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; namespace Ocelot.ManualTest { public class Program { public static void Main(string[] args) { IWebHostBuilder builder = new WebHostBuilder(); builder.Config...
mit
C#
bf466b660073d262c11ca480a3db66352ba37152
copy from base
geek0r/octokit.net,TattsGroup/octokit.net,cH40z-Lord/octokit.net,daukantas/octokit.net,shana/octokit.net,dampir/octokit.net,shiftkey-tester/octokit.net,bslliw/octokit.net,kolbasov/octokit.net,M-Zuber/octokit.net,nsnnnnrn/octokit.net,thedillonb/octokit.net,devkhan/octokit.net,gdziadkiewicz/octokit.net,naveensrinivasan/o...
Octokit/Clients/CommitsClient.cs
Octokit/Clients/CommitsClient.cs
using System.Threading.Tasks; namespace Octokit { public class CommitsClient : ApiClient, ICommitsClient { public CommitsClient(IApiConnection apiConnection) : base(apiConnection) { } /// <summary> /// Gets a commit for a given repository by sha reference ...
using System.Threading.Tasks; namespace Octokit { public class CommitsClient : ApiClient, ICommitsClient { public CommitsClient(IApiConnection apiConnection) : base(apiConnection) { } public Task<Commit> Get(string owner, string name, string reference) { ...
mit
C#
e8f5f43500d34ec3b1ba2c9bc4d92d2a741b0cc9
Update AssemblyInfo
dmayhak/HyperSlackers.Localization,dmayhak/HyperSlackers.Localization
Localization/Properties/AssemblyInfo.cs
Localization/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("Hyp...
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("Lo...
mit
C#
54f8c991990b05a89c165489f7e6b0ca0d0d8840
fix bug in parameter descriptor
youknowjack0/mathexpressionparser
MathExpressionParser/ParamDescriptor.cs
MathExpressionParser/ParamDescriptor.cs
using System; using System.Linq.Expressions; namespace Langman.MathExpressionParser { public class ParamDescriptor<TIn, TOut> : ParamDescriptor<TIn> { private readonly Func<string, Expression<Func<TIn, TOut>>> _resolver; public ParamDescriptor(string token, Func<string, Expression<Func<TIn, ...
using System; using System.Linq.Expressions; namespace Langman.MathExpressionParser { public class ParamDescriptor<TIn, TOut> : ParamDescriptor<TIn> { private readonly Expression<Func<TIn, string, TOut>> _resolver; public ParamDescriptor(string token, Expression<Func<TIn, string, TOut>> reso...
bsd-2-clause
C#
d7282980de54748392f694b4d0951032d94b13b5
Fix Otimização desabilitada para teste
Arionildo/Quiz-CWI,Arionildo/Quiz-CWI,Arionildo/Quiz-CWI
Quiz/Quiz.Web/App_Start/BundleConfig.cs
Quiz/Quiz.Web/App_Start/BundleConfig.cs
using System.Web; using System.Web.Optimization; namespace Quiz.Web { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBu...
using System.Web; using System.Web.Optimization; namespace Quiz.Web { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBu...
mit
C#
a1081c2841648aacc6f775cacbb85289ec82a18f
Fix docs
laurence79/saule,bjornharrtell/saule,joukevandermaas/saule,sergey-litvinov-work/saule
Saule/TypeExtensions.cs
Saule/TypeExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using Saule.Queries; namespace Saule { internal static class TypeExtensions { public static object CreateInstance(this Type type) { return Activator.CreateInstance(type); } public static T CreateIns...
using System; using System.Collections.Generic; using System.Linq; using Saule.Queries; namespace Saule { internal static class TypeExtensions { public static object CreateInstance(this Type type) { return Activator.CreateInstance(type); } public static T CreateIns...
mit
C#
2c2c83ee7fdfaf7ef072bb3eca0a016b7073971f
Allow to not define grid on axis
ITGlobal/MatplotlibCS,ITGlobal/MatplotlibCS
MatplotlibCS/Axes.cs
MatplotlibCS/Axes.cs
using System.Collections.Generic; using MatplotlibCS.PlotItems; using Newtonsoft.Json; namespace MatplotlibCS { /// <summary></summary> [JsonObject(Title = "axes")] public class Axes { #region .ctor /// <summary> /// Конструктор /// </summary> /// <param name="...
using System.Collections.Generic; using MatplotlibCS.PlotItems; using Newtonsoft.Json; namespace MatplotlibCS { /// <summary></summary> [JsonObject(Title = "axes")] public class Axes { #region .ctor /// <summary> /// Конструктор /// </summary> /// <param name="...
mit
C#
cc20291e8700610d4a78534428d87df8a9479602
Update build.cake
predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins
Battery/build.cake
Battery/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "NuGetPack")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Battery.sln"; const string cfg = "Release"; NuGetRestore (sln); ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Battery.sln"; const string cfg = "Release"; NuGetRestore (sln); if...
mit
C#
3c936dc0b867c63bba159e07174beb53ce77ba84
Set AppVeyor build version to package version
Krusen/ErgastApi.Net
build.cake
build.cake
#addin "Cake.FileHelpers" var target = Argument("target", "Default"); Task("Set-Build-Version") .Does(() => { var projectFile = "./src/ErgastApi/ErgastApi.csproj"; var versionPeekXpath = "/Project/PropertyGroup/Version/text()"; var versionPokeXpath = "/Project/PropertyGroup/Version"; var version ...
#addin "Cake.FileHelpers" var target = Argument("target", "Default"); Task("Set-Build-Version") .Does(() => { var projectFile = "./src/ErgastApi/ErgastApi.csproj"; var versionPeekXpath = "/Project/PropertyGroup/Version/text()"; var versionPokeXpath = "/Project/PropertyGroup/Version"; var version ...
unlicense
C#
152cc289c5fe254bd5a3221ebccbb19d0ccd352c
Remove GitHub publish task
spectresystems/commandline
build.cake
build.cake
#load nuget:?package=Spectre.Build&version=0.6.1 /////////////////////////////////////////////////////////////////////////////// // TASKS /////////////////////////////////////////////////////////////////////////////// Task("Pack-NuGet") .PartOf(Spectre.Tasks.Pack) .Does<SpectreData>(data => { DotNetCorePa...
#load nuget:?package=Spectre.Build&version=0.6.1 #tool "nuget:https://api.nuget.org/v3/index.json?package=gitreleasemanager&version=0.7.1" /////////////////////////////////////////////////////////////////////////////// // TASKS /////////////////////////////////////////////////////////////////////////////// Task("Pack...
mit
C#
4ed080e822168a87a0140fb8f0f28132bc0b6d96
Revert "Added "final door count" comment at return value."
pravsingh/Algorithm-Implementations,kennyledet/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementations,kennyledet/Algorithm-Implementations,kennyledet/Algorithm-Implementations,kennyledet/Algorithm-Implementations,kennyledet/Algorithm-Implementations,n1ghtmare/Algorithm-Impleme...
100_Doors_Problem/C#/Davipb/HundredDoors.cs
100_Doors_Problem/C#/Davipb/HundredDoors.cs
using System.Linq; namespace HundredDoors { public static class HundredDoors { /// <summary> /// Solves the 100 Doors problem /// </summary> /// <returns>An array with 101 values, each representing a door (except 0). True = open</returns> public static bool[] Solve() { // Create our array with 101 va...
using System.Linq; namespace HundredDoors { public static class HundredDoors { /// <summary> /// Solves the 100 Doors problem /// </summary> /// <returns>An array with 101 values, each representing a door (except 0). True = open</returns> public static bool[] Solve() { // Create our array with 101 va...
mit
C#
5e60d6be222266b254026b61994e450bde61b4c5
Rename that to avoid confusion
flagbug/Espera.Network
Espera.Network/NetworkSongSource.cs
Espera.Network/NetworkSongSource.cs
namespace Espera.Network { public enum NetworkSongSource { Local = 0, Youtube = 1, Mobile = 2 } }
namespace Espera.Network { public enum NetworkSongSource { Local = 0, Youtube = 1, Remote = 2 } }
mit
C#
d50ff2f6becf74767bb577a8c40d5f928a42ed2f
Remove using
orodriguez/FTF,orodriguez/FTF,orodriguez/FTF
FTF.Tests.XUnit/Notes/DeleteTest.cs
FTF.Tests.XUnit/Notes/DeleteTest.cs
using System.Linq; using FTF.Api.Exceptions; using Xunit; namespace FTF.Tests.XUnit.Notes { public class DeleteTest : ApplicationTest { [Fact] public void Simple() { var noteId = App.Notes.Create("I was born"); App.Notes.Delete(noteId); var exceptio...
using System.Linq; using FTF.Api.Exceptions; using FTF.Api.Responses; using Xunit; namespace FTF.Tests.XUnit.Notes { public class DeleteTest : ApplicationTest { [Fact] public void Simple() { var noteId = App.Notes.Create("I was born"); App.Notes.Delete(noteId); ...
mit
C#
653606ba133247459df348a37ff31f0a70df6a90
fix json
BTCTrader/broker-api-csharp
APIClient/Models/AccountBalance.cs
APIClient/Models/AccountBalance.cs
using Newtonsoft.Json; namespace BTCTrader.APIClient.Models { public class AccountBalance { [JsonProperty("try_balance")] public decimal TRYBalance { get; set; } [JsonProperty("btc_balance")] public decimal BTCBalance { get; set; } [JsonProperty("eth_balance")] ...
using Newtonsoft.Json; namespace BTCTrader.APIClient.Models { public class AccountBalance { [JsonProperty("try_balance")] public decimal TRYBalance { get; set; } [JsonProperty("btc_balance")] public decimal BTCBalance { get; set; } [JsonProperty("eth_balance")] ...
mit
C#
a8a9dab5800c3c61178448cbadb02faf857abc09
Fix bug in Export-State
LordMike/B2Lib
B2Powershell/ExportStateCommand.cs
B2Powershell/ExportStateCommand.cs
using System.Management.Automation; namespace B2Powershell { [Cmdlet("Export", "B2State")] public class ExportStateCommand : B2CommandWithSaveState { [Parameter(Mandatory = true, Position = 0)] public string File { get; set; } protected override void ProcessRecordInternal() ...
using System.Management.Automation; namespace B2Powershell { [Cmdlet("Export", "B2State")] public class ExportStateCommand : B2CommandWithSaveState { [Parameter(Mandatory = true)] public string File { get; set; } protected override void ProcessRecordInternal() { ...
mit
C#
cc1d516cde0536a2d0b08551a347c2db663bad45
remove path from test diagnostic information
collinsauve/redlock-cs
tests/TestHelper.cs
tests/TestHelper.cs
using System; using System.Diagnostics; using System.IO; using System.Reflection; namespace Redlock.CSharp.Tests { public static class TestHelper { public static Process StartRedisServer(long port) { var assemblyDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly()...
using System; using System.Diagnostics; using System.IO; using System.Reflection; namespace Redlock.CSharp.Tests { public static class TestHelper { public static Process StartRedisServer(long port) { var assemblyDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly()...
apache-2.0
C#
ad4c9602129646a0e607ea4bad87c73c4748f514
increment minor version
reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap
unity/library/UtyMap.Unity/Properties/AssemblyInfo.cs
unity/library/UtyMap.Unity/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("UtyMap.Unity")] [assembly: AssemblyDescription("UtyMap for Unity3D")] [assembly: AssemblyProduct("UtyMap.Unity")] [assembly: AssemblyCopyright("Copyright © Ilya Builuk, 2014-2017")] [assembl...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("UtyMap.Unity")] [assembly: AssemblyDescription("UtyMap for Unity3D")] [assembly: AssemblyProduct("UtyMap.Unity")] [assembly: AssemblyCopyright("Copyright © Ilya Builuk, 2014-2016")] [assembl...
apache-2.0
C#
3102993c05a6ee733bfa800a15277153f29160c3
Update SIL.Core.Desktop with Acknowledgements
ermshiperete/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gtryus/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,andrew-polk/libpalaso,glasseyes/libpalaso,an...
SIL.Core.Desktop/Properties/AssemblyInfo.cs
SIL.Core.Desktop/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using SIL.Acknowledgements; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with ...
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#
bbddea7cc014973eb26cdc3237401acf4c1c3347
Mark InternalsVisibleTo the tests project, to allow whitebox testing.
jthelin/ServerHost,jthelin/ServerHost
ServerHost.xunit/Properties/AssemblyInfo.cs
ServerHost.xunit/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("Se...
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("Se...
apache-2.0
C#
c8acc112750c7d7181224f2e5132e94eccaeddc2
Remove invalid cast
mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl...
SlicerConfiguration/UIFields/DoubleField.cs
SlicerConfiguration/UIFields/DoubleField.cs
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2017, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
280dc7eefde1464ef4de5a3d204a05201fbbd09e
Fix Intellisense warning.
Lirusaito/RollGen,DnDGen/RollGen,DnDGen/RollGen,Lirusaito/RollGen
RollGen/Properties/AssemblyInfo.cs
RollGen/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("D20Dice")] [assembly: AssemblyDescription...
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("D20Dice")] [assembly: AssemblyDescription...
mit
C#
874ce9b61c898e1e8bf519f25d05deb7dd94c852
fix #251 (probably)
WreckedAvent/slimCat,AerysBat/slimCat
slimCat/Commands/Channel/ClearCommand.cs
slimCat/Commands/Channel/ClearCommand.cs
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ClearCommand.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // Ple...
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="ClearCommand.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // Ple...
bsd-2-clause
C#
b4c8a580f158ad0b9d62c236aec58b8dea340935
fix type
Eskat0n/Wotstat,Eskat0n/Wotstat,Eskat0n/Wotstat
sources/Domain.Model/Entities/Account.cs
sources/Domain.Model/Entities/Account.cs
namespace Domain.Model.Entities { using ByndyuSoft.Infrastructure.Domain; using JetBrains.Annotations; public class Account: IEntity { private string _token; [UsedImplicitly] public Account() { } [UsedImplicitly] public Account(string token) ...
namespace Domain.Model.Entities { using ByndyuSoft.Infrastructure.Domain; using JetBrains.Annotations; public class Account: IEntity { private string _token; [UsedImplicitly] public Account() { } [UsedImplicitly] public Account(string token) ...
mit
C#
47df03920e7dc7fc888377702701ff58e9315bdd
Update version to 2.0.1
synel/syndll2
Syndll2/Properties/AssemblyInfo.cs
Syndll2/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Syndll2")] [assembly: AssemblyDescription("Synel Communications Protocol Client Library")] [assembly: AssemblyCompany("Synel Industries Ltd.")] [assembly: AssemblyProduct("Syndll2")] [assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Syndll2")] [assembly: AssemblyDescription("Synel Communications Protocol Client Library")] [assembly: AssemblyCompany("Synel Industries Ltd.")] [assembly: AssemblyProduct("Syndll2")] [assemb...
mit
C#
0b55465cbcd35967fc8c2d38bd3f56568392483c
Remove unused const
rmterra/NesZord
src/NesZord.Core/Memory/BoundedMemory.cs
src/NesZord.Core/Memory/BoundedMemory.cs
using System; using System.Collections.Generic; namespace NesZord.Core.Memory { internal class BoundedMemory : IBoundedMemory { private Dictionary<int, byte> data; public BoundedMemory(MemoryAddress firstAddress, MemoryAddress lastAddress) { this.FirstAddress = firstAddress ?? throw new ArgumentNullExcept...
using System; using System.Collections.Generic; namespace NesZord.Core.Memory { internal class BoundedMemory : IBoundedMemory { private const int LENGTH = 0x0800; private Dictionary<int, byte> data; public BoundedMemory(MemoryAddress firstAddress, MemoryAddress lastAddress) { this.FirstAddress = firstA...
apache-2.0
C#
4bec10949da1a4f72953d56459d20650369bb83a
update basecontroller
ashrafeme/Karasoft.Mvc
BaseController.cs
BaseController.cs
using Karasoft.Mvc.Html; using System.Collections.Generic; using System.Web.Mvc; namespace Karasoft.Mvc { public class BaseController : Controller { public void Success(string message, bool dismissable = false) { AddAlert(AlertStyles.Success, message, dismissable); } ...
using Karasoft.Mvc.Html; using System.Collections.Generic; using System.Web.Mvc; namespace Karasoft.Mvc { public class BaseController : Controller { public void Success(string message, bool dismissable = false) { AddAlert(AlertStyles.Success, message, dismissable); } ...
mit
C#
44a8aa43efdeaabc8187eb81409a0c8338fe7167
work on facets list
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.Web/Controllers/SetupController.cs
src/GiveCRM.Web/Controllers/SetupController.cs
using System.Web.Mvc; using GiveCRM.DataAccess; using GiveCRM.Models; using GiveCRM.Web.Models.Facets; namespace GiveCRM.Web.Controllers { public class SetupController : Controller { private Facets _facetsDb = new Facets(); public ActionResult Index() { return View(); ...
using System.Web.Mvc; using GiveCRM.DataAccess; using GiveCRM.Models; namespace GiveCRM.Web.Controllers { using System.Collections.Generic; public class SetupController : Controller { private Facets _facetsDb = new Facets(); public ActionResult Index() { return View()...
mit
C#
755b84826a6e6d828c800c4070668873b3de74e9
Remove page styling from Ajax search results.
GiveCampUK/GiveCRM,GiveCampUK/GiveCRM
src/GiveCRM.Web/Views/Member/AjaxSearch.cshtml
src/GiveCRM.Web/Views/Member/AjaxSearch.cshtml
@model IEnumerable<GiveCRM.Models.Member> @{ Layout = null; } @foreach (var member in Model) { <p style="margin:0; padding:0;"><a href="javascript:AddDonation(@member.Id);">@member.FirstName @member.LastName @member.PostalCode</a></p> }
@model IEnumerable<GiveCRM.Models.Member> @foreach (var member in Model) { <a href="javascript:AddDonation(@member.Id);">@member.FirstName @member.LastName @member.PostalCode</a><br /> }
mit
C#
b372669679f9dbfff6e14cec10bd57a640f66dfa
Clean output of exception.
danielwertheim/mycouch,danielwertheim/mycouch
src/Projects/MyCouch.Net45/MyCouchException.cs
src/Projects/MyCouch.Net45/MyCouchException.cs
using System; using System.Net; using System.Net.Http; using System.Runtime.Serialization; namespace MyCouch { #if !NETFX_CORE [Serializable] #endif public class MyCouchException : Exception { public HttpStatusCode HttpStatus { get; private set; } public string Error { get; private set; } ...
using System; using System.Net; using System.Net.Http; using System.Runtime.Serialization; namespace MyCouch { #if !NETFX_CORE [Serializable] #endif public class MyCouchException : Exception { public HttpStatusCode HttpStatus { get; private set; } public string Error { get; private set; } ...
mit
C#
8b69f5aa86a0aa44dc2fa323c9718ec073731a7b
apply review change
smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,...
osu.Framework/Configuration/BindableSize.cs
osu.Framework/Configuration/BindableSize.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Drawing; namespace osu.Framework.Configuration { public class BindableSize : Bindable<Size> { public BindableSize(...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Drawing; namespace osu.Framework.Configuration { public class BindableSize : Bindable<Size> { public BindableSize(...
mit
C#
8579f63ea68c82fc6e3d7af4855f33b4e805fa52
Bump version number
McNeight/SharpZipLib
src/AssemblyInfo.cs
src/AssemblyInfo.cs
// AssemblyInfo.cs // // Copyright (C) 2001 Mike Krueger // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // Th...
// AssemblyInfo.cs // // Copyright (C) 2001 Mike Krueger // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // Th...
mit
C#
ae623336a9c2cf2ec4fad5df4bf64b12025fde23
Resolve #37
manio143/ShadowsOfShadows
src/Entities/NPC.cs
src/Entities/NPC.cs
using System; using ShadowsOfShadows.Helpers; using ShadowsOfShadows.Physics; namespace ShadowsOfShadows.Entities { public class NPC : Character { public NPC () : base("NPC", 'N', 0, 1) { Immortal = true; } public override void Shoot<T>(Direction direction) { } } }
using System; using ShadowsOfShadows.Helpers; using ShadowsOfShadows.Physics; namespace ShadowsOfShadows.Entities { public class NPC : Character { private Fraction Fraction; public NPC() : this(Fraction.Warrior, 0) { } public NPC (Fraction fraction, int speed) : base("NPC", 'N', speed, 1) { this....
mit
C#
a124bdf21894d6b7e5a9e5702214d2b685b425c6
Use using(){} where possible instead of creating our own delegating methods.
threedaymonk/iplayer-dl.net
src/IPDL/Request.cs
src/IPDL/Request.cs
using System.Net; using System.IO; using System.Text.RegularExpressions; namespace IPDL { abstract class AbstractRequest { private string userAgent; private string url; private CookieContainer cookies; public delegate void ResponseHandler(WebResponse response); public delegate void ResponseStrea...
using System.Net; using System.IO; using System.Text.RegularExpressions; namespace IPDL { abstract class AbstractRequest { private string userAgent; private string url; private CookieContainer cookies; public delegate void ResponseHandler(WebResponse response); public delegate void ResponseStrea...
mit
C#
19874ca8658d3e1bfa45afe75f552e8785a4549f
Update unit
sunkaixuan/SqlSugar
Src/Asp.Net/PgSqlTest/UnitTest/UJson.cs
Src/Asp.Net/PgSqlTest/UnitTest/UJson.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public partial class NewUnitTest { public static void Json() { Db.CodeFirst.InitTables<UnitJsonTest>(); Db.DbMaintena...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public partial class NewUnitTest { public static void Json() { Db.CodeFirst.InitTables<UnitJsonTest>(); Db.DbMaintenance.TruncateTabl...
apache-2.0
C#
524b6497065a89d802d9cdc876cde19a5e4b6501
Allow empty header value
justcoding121/Titanium-Web-Proxy,titanium007/Titanium-Web-Proxy,titanium007/Titanium
Titanium.Web.Proxy/Models/HttpHeader.cs
Titanium.Web.Proxy/Models/HttpHeader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Titanium.Web.Proxy.Models { public class HttpHeader { public string Name { get; set; } public string Value { get; set; } public HttpHeader(string name, string value) { i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Titanium.Web.Proxy.Models { public class HttpHeader { public string Name { get; set; } public string Value { get; set; } public HttpHeader(string name, string value) { i...
mit
C#
d8c68b61f034ed7531c9609b3c3e46b2b6a56c43
Add missing namespace to the sample.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/KWebStartup/Startup.cs
samples/KWebStartup/Startup.cs
using Microsoft.AspNet; using Microsoft.AspNet.Abstractions; namespace KWebStartup { public class Startup { public void Configuration(IBuilder app) { app.Run(async context => { context.Response.ContentType = "text/plain"; await context.Res...
using Microsoft.AspNet.Abstractions; namespace KWebStartup { public class Startup { public void Configuration(IBuilder app) { app.Run(async context => { context.Response.ContentType = "text/plain"; await context.Response.WriteAsync("Hello ...
apache-2.0
C#
c168d0332c818157828a6d7d21687eaaae0e1fbb
Handle multiple=true on publisher confirm ack.
Pliner/EasyNetQ.Management.Client,alexwiese/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management.Client,Pliner/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,LawrenceWard/EasyNetQ.Management.Client,chinaboard/EasyNetQ.Management.Client,EasyNetQ/EasyNetQ.Management.Client,micdenny/EasyNetQ.Management....
Source/Version.cs
Source/Version.cs
using System.Reflection; // EasyNetQ version number: <major>.<minor>.<non-breaking-feature>.<build> [assembly: AssemblyVersion("0.15.3.0")] // Note: until version 1.0 expect breaking changes on 0.X versions. // 0.15.3.0 Handle multiple=true on publisher confirm ack. // 0.15.2.0 Internal event bus // 0.15.1.0 Publis...
using System.Reflection; // EasyNetQ version number: <major>.<minor>.<non-breaking-feature>.<build> [assembly: AssemblyVersion("0.15.2.0")] // Note: until version 1.0 expect breaking changes on 0.X versions. // 0.15.2.0 Internal event bus // 0.15.1.0 PublishExchangeDeclareStrategy. Only one declare now rather than ...
mit
C#
1863e86603696607f5843641b021d24c9d70890f
Bump version to 0.13.5
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.13.5")] [assembly: AssemblyInformationalVersionAttribute("0.13.5")] [assembly: AssemblyFileVersionAttribute("0.13.5")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.13.4")] [assembly: AssemblyInformationalVersionAttribute("0.13.4")] [assembly: AssemblyFileVersionAttribute("0.13.4")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
apache-2.0
C#
fe1073e4a8602ab4327964f1487de1a15625e501
Update IndexModule.cs
LeedsSharp/AppVeyorDemo
src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs
src/AppVeyorDemo/AppVeyorDemo/Modules/IndexModule.cs
namespace AppVeyorDemo.Modules { using System.Configuration; using AppVeyorDemo.Models; using Nancy; public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => { var model = new IndexViewModel { ...
namespace AppVeyorDemo.Modules { using System.Configuration; using AppVeyorDemo.Models; using Nancy; public class IndexModule : NancyModule { public IndexModule() { Get["/"] = parameters => { var model = new IndexViewModel { ...
apache-2.0
C#
0d167de3c64f7eb993663f6a10541b28f1fb5f08
Hide the new, unwanted "Show regional dialects" control
JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDes...
src/BloomExe/CollectionCreating/LanguageIdControl.cs
src/BloomExe/CollectionCreating/LanguageIdControl.cs
using System; using System.Linq; using System.Windows.Forms; using Bloom.Collection; using Bloom.ToPalaso; namespace Bloom.CollectionCreating { public partial class LanguageIdControl : UserControl, IPageControl { public CollectionSettings _collectionInfo; private Action<UserControl, bool> _setNextButtonState; ...
using System; using System.Linq; using System.Windows.Forms; using Bloom.Collection; using Bloom.ToPalaso; namespace Bloom.CollectionCreating { public partial class LanguageIdControl : UserControl, IPageControl { public CollectionSettings _collectionInfo; private Action<UserControl, bool> _setNextButtonState; ...
mit
C#
15a77eee846f32d21163275c33a62be231305b85
Update formWrangler.cshtml
mcmullengreg/formWrangler
formWrangler.cshtml
formWrangler.cshtml
@inherits umbraco.MacroEngines.DynamicNodeContext @{ if ( String.IsNullOrEmpty(@Parameter.mediaFolder) ) { <div><p>A folder has not been selected</p></div> } var folder = Parameter.mediaFolder; var media = Model.MediaById(folder); } @helper traverse(dynamic node) { var cc = node.Children; if (cc.Count()>0) ...
@inherits umbraco.MacroEngines.DynamicNodeContext @{ if ( String.IsNullOrEmpty(@Parameter.mediaFolder) ) { <div><p>A folder has not been selected</p></div> } var folder = Parameter.mediaFolder; var media = Model.MediaById(folder); } @helper traverse(dynamic node) { var cc = node.Children; if (cc.Count()>0) ...
mit
C#
451079a30e581def76ca927b4b2d8459c87dffe9
Update application version.
RadishSystems/choiceview-webapitester-csharp
ApiTester/Properties/AssemblyInfo.cs
ApiTester/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("ApiTester")] [assembly: AssemblyDe...
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("ApiTester")] [assembly: AssemblyDe...
mit
C#
218532e77fe14e4808f2e107f3cd0e3d8089401d
add spinner judgement and score
39M/LMix
Assets/Scenes/InGame/Scripts/Spin.cs
Assets/Scenes/InGame/Scripts/Spin.cs
using UnityEngine; using System.Collections; using Leap; public class Spin : MonoBehaviour { public GameObject judgement; public float TotalTime = 3.0f; Color c300, c100, c50, c0; GamePlayer status; float rotate = 0.0f; float rotatespeed = 20.0f; float remaintime = 3.0f; CircleGesture circlegesture; Vecto...
using UnityEngine; using System.Collections; using Leap; public class Spin : MonoBehaviour { float rotate = 0.0f; float rotatespeed = 20.0f; float remaintime = 3.0f; CircleGesture circlegesture; Vector3 fingeroldposition ; protected Controller leap; // Use this for initialization void Start () { circlegest...
mit
C#
8e3918a47cda051211a7914bb327ba18220ef1f5
Fix for issue #491 (2 commits squashed)
couchbase/couchbase-lite-net,JiboStore/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,couchbase/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,JiboStore/couchbase-lite-net,couchbase/couchbase-lite-net,z000z/couchbase-lite-net,z000z/couchbase-lite-net
src/Couchbase.Lite.Shared/View/UpdateJob.cs
src/Couchbase.Lite.Shared/View/UpdateJob.cs
// // UpdateJob.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2015 Couchbase, 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 Licen...
// // UpdateJob.cs // // Author: // Jim Borden <jim.borden@couchbase.com> // // Copyright (c) 2015 Couchbase, 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 Licen...
apache-2.0
C#
45dc82eb821b45020d8a3397011185477e28a333
Remove some dead code
svick/cli,naamunds/cli,weshaggard/cli,borgdylan/dotnet-cli,johnbeisner/cli,mlorbetske/cli,jonsequitur/cli,svick/cli,MichaelSimons/cli,weshaggard/cli,ravimeda/cli,jonsequitur/cli,naamunds/cli,EdwardBlair/cli,harshjain2/cli,AbhitejJohn/cli,MichaelSimons/cli,jonsequitur/cli,JohnChen0/cli,jonsequitur/cli,weshaggard/cli,Joh...
src/Microsoft.DotNet.Cli.Utils/Constants.cs
src/Microsoft.DotNet.Cli.Utils/Constants.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.InternalAbstractions; namespace Microsoft.DotNet.Cli.Utils { public static class Constants { private sta...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Microsoft.DotNet.InternalAbstractions; namespace Microsoft.DotNet.Cli.Utils { public static class Constants { private sta...
mit
C#
8debb2d45e53de4273ad19339f98448b933cd035
Fix issue with ms asp.net getting httproute paths with a wildcard
cwensley/Pablo.Gallery,cwensley/Pablo.Gallery,sixteencolors/Pablo.Gallery,cwensley/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery
src/Pablo.Gallery/App_Start/WebApiConfig.cs
src/Pablo.Gallery/App_Start/WebApiConfig.cs
using System.Net.Http.Formatting; using System.Web.Http; using System.Web.Http.Dispatcher; using Pablo.Gallery.Logic; using Pablo.Gallery.Logic.Filters; using System.Web.Http.Controllers; using Pablo.Gallery.Logic.Selectors; namespace Pablo.Gallery { public static class WebApiConfig { public static void Register(...
using System.Net.Http.Formatting; using System.Web.Http; using System.Web.Http.Dispatcher; using Pablo.Gallery.Logic; using Pablo.Gallery.Logic.Filters; using System.Web.Http.Controllers; using Pablo.Gallery.Logic.Selectors; namespace Pablo.Gallery { public static class WebApiConfig { public static void Register(...
mit
C#
abfbeac76cf5188dc1a2bd92f7e48c936d15f2ac
add startSegment to FtpFolderNameRule
robinrodricks/FluentFTP,robinrodricks/FluentFTP,robinrodricks/FluentFTP
FluentFTP/Rules/FtpFolderNameRule.cs
FluentFTP/Rules/FtpFolderNameRule.cs
using System; using System.Collections.Generic; using System.Text; using FluentFTP.Helpers; namespace FluentFTP.Rules { /// <summary> /// Only accept folders that have the given name, or exclude folders of a given name. /// </summary> public class FtpFolderNameRule : FtpRule { public static List<string> Commo...
using System; using System.Collections.Generic; using System.Text; using FluentFTP.Helpers; namespace FluentFTP.Rules { /// <summary> /// Only accept folders that have the given name, or exclude folders of a given name. /// </summary> public class FtpFolderNameRule : FtpRule { public static List<string> Commo...
mit
C#
36e23310281905f5b8624bf09bfe85088e4a3dd8
Update Payments/Terms
lucasdavid/Gamedalf,lucasdavid/Gamedalf
Gamedalf/Views/Payments/Terms.cshtml
Gamedalf/Views/Payments/Terms.cshtml
@using System.IdentityModel @model AcceptTermsViewModel @{ ViewBag.Title = "Subscribe to Gamedalf!"; } @section scripts { @Scripts.Render("~/Scripts/app/elements/BtnSubmitter.js") } <div id="terms-container"> <h1>Terms and Conditions</h1> <h2 id="terms-title"> @Model.Terms.Title </h2>...
@using System.IdentityModel @model AcceptTermsViewModel @{ ViewBag.Title = "Gibe moni plox"; } @section scripts { @Scripts.Render("~/Scripts/app/ajax/terms.js") } <div id="terms-error" class="hidden"> @Html.Partial("_Error", new HandleErrorInfo(new RequestFailedException("api/terms seems to be unavaiabl...
mit
C#
63ebc31bf4fd73852cf594543ba01709ae1a9fb4
Allow coin flip to be heads.
mikaelssen/FruitBowlBot
JefBot/Commands/CoinPluginCommand.cs
JefBot/Commands/CoinPluginCommand.cs
using System; using System.Collections.Generic; using System.IO; using TwitchLib; using TwitchLib.TwitchClientClasses; using System.Net; namespace JefBot.Commands { internal class CoinPluginCommand : IPluginCommand { public string PluginName => "Coin"; public string Command => "coin"; ...
using System; using System.Collections.Generic; using System.IO; using TwitchLib; using TwitchLib.TwitchClientClasses; using System.Net; namespace JefBot.Commands { internal class CoinPluginCommand : IPluginCommand { public string PluginName => "Coin"; public string Command => "coin"; ...
mit
C#
240fc5e1d77a717dba9da54e29ae4c66917793a6
Return exit code 1 if any acceptance tests fail
mattherman/MbDotNet,mattherman/MbDotNet
MbDotNet.Acceptance.Tests/Program.cs
MbDotNet.Acceptance.Tests/Program.cs
using System; using MbDotNet; using System.Collections.Generic; namespace MbDotNet.Acceptance.Tests { public class Program { private static int _passed = 0; private static int _failed = 0; private static int _skipped = 0; public static void Main() { ...
using System; using MbDotNet; using System.Collections.Generic; namespace MbDotNet.Acceptance.Tests { public class Program { private static int _passed = 0; private static int _failed = 0; private static int _skipped = 0; public static void Main() { ...
mit
C#
0db035acb27534bd7478a8aed3c4318d844d3acc
Bump version
kamil-mrzyglod/Oxygenize
Oxygenize/Properties/AssemblyInfo.cs
Oxygenize/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("Ox...
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("Ox...
mit
C#
7ad2b13cbdf870ebc8a0b21502225d2506f8f2e5
fix execute sequence cancel code
rustamserg/mogate
mogate.Shared/Behaviors/Execute.cs
mogate.Shared/Behaviors/Execute.cs
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; namespace mogate { public interface IAction { bool Execute(GameTime gameTime); }; public class Execute : IBehavior { public Type Behavior { get { return typeof(Execute); } } private Dictionary<string, Queue<IAction>> m_action...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; namespace mogate { public interface IAction { bool Execute(GameTime gameTime); }; public class Execute : IBehavior { public Type Behavior { get { return typeof(Execute); } } private Dictionary<string, Queue<IAction>> m_action...
mit
C#
824d37b8d41993b12183793127f6c0a836ea698e
Fix XML docs typo
malikdiarra/Nancy,EliotJones/NancyTest,khellang/Nancy,sadiqhirani/Nancy,lijunle/Nancy,jonathanfoster/Nancy,daniellor/Nancy,jeff-pang/Nancy,AIexandr/Nancy,jeff-pang/Nancy,jonathanfoster/Nancy,grumpydev/Nancy,anton-gogolev/Nancy,Worthaboutapig/Nancy,sadiqhirani/Nancy,jonathanfoster/Nancy,NancyFx/Nancy,tareq-s/Nancy,damia...
src/Nancy/Json/JsonSettings.cs
src/Nancy/Json/JsonSettings.cs
namespace Nancy.Json { using System.Collections.Generic; using Converters; /// <summary> /// Json serializer settings /// </summary> public static class JsonSettings { /// <summary> /// Max length of json output /// </summary> public static int M...
namespace Nancy.Json { using System.Collections.Generic; using Converters; /// <summary> /// Json serializer settings /// </summary> public static class JsonSettings { /// <summary> /// Max length of json output /// </summary> public static int M...
mit
C#
848c6bb8fe2ad37279af3b013e9d9a96114a3f0e
fix an issue where crawl-delay parsin was depending on system culture's number styles
cosmaioan/robotstxt,jadiagaurang/robotstxt
RobotsTxt/Entities/CrawlDelayRule.cs
RobotsTxt/Entities/CrawlDelayRule.cs
using System; using System.Globalization; namespace RobotsTxt { internal class CrawlDelayRule : Rule { public long Delay { get; private set; } // milliseconds public CrawlDelayRule(String userAgent, Line line, int order) : base(userAgent, order) { d...
using System; namespace RobotsTxt { internal class CrawlDelayRule : Rule { public long Delay { get; private set; } // milliseconds public CrawlDelayRule(String userAgent, Line line, int order) : base(userAgent, order) { double delay = 0; ...
mit
C#
59507589b54fa59cac2d43ac03f4916e385cf625
Fix Url formaating in JenkinsResource
projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService
SimpleWAWS/Models/JenkinsResource.cs
SimpleWAWS/Models/JenkinsResource.cs
using SimpleWAWS.Code; using System; using System.Collections.Generic; using System.Globalization; namespace SimpleWAWS.Models { public class JenkinsResource : BaseResource { private const string _csmIdTemplate = "/subscriptions/{0}/resourceGroups/{1}/providers/Microsoft.Network/publicIPAddresses/Tria...
using SimpleWAWS.Code; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Web; namespace SimpleWAWS.Models { public class JenkinsResource : BaseResource { private const string _csmIdTemplate = "/subscriptions/{0}/resourceGroups/{1}/providers/Mic...
apache-2.0
C#
4a1e8bbf06b0440ff88488ce4a1db2ab6222e735
Remove unused using statement
ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/Batches/QuadBatch.cs
osu.Framework/Graphics/Batches/QuadBatch.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.OpenGL.Buffers; using osu.Framework.Graphics.OpenGL.Vertices; using osuTK.Graphics.ES30; namespace osu.Framework.Graphics.Bat...
// 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.OpenGL.Buffers; using osuTK.Graphics.ES30; using osu.Framework.Graphics.OpenGL.Vertices; using osu.Framework.Graphics.Primitiv...
mit
C#
70581f34bb1bf0a27dbf15512e34f5c76c36f2b2
build 7.1.16.0
agileharbor/channelAdvisorAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
bsd-3-clause
C#
9f44e634a4995c611ab8d10e5aece9158b67d258
Allow visualtests to share config etc. with osu!.
nyaamara/osu,UselessToucan/osu,Damnae/osu,NeoAdonis/osu,NeoAdonis/osu,theguii/osu,Frontear/osuKyzer,smoogipoo/osu,RedNesto/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,osu-RP/osu-RP,NeoAdonis/osu,EVAST9919/osu,default0/osu,DrabWeb/osu,johnneijzen/osu,naoey/osu,ppy/...
osu.Desktop.VisualTests/Program.cs
osu.Desktop.VisualTests/Program.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Desktop; using osu.Framework.Desktop.Platform; using osu.Framework.Platform; using osu.Game.Modes; using osu.Game.Modes.Catch; ...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Desktop; using osu.Framework.Desktop.Platform; using osu.Framework.Platform; using osu.Game.Modes; using osu.Game.Modes.Catch; ...
mit
C#
3c552bfde81b4a0b4a5e8da8c2d5db17ceea472a
remove superfluous test content
icarus-consulting/Yaapii.Atoms
tests/Yaapii.Atoms.Tests/Text/SyncedTest.cs
tests/Yaapii.Atoms.Tests/Text/SyncedTest.cs
// MIT License // // Copyright(c) 2020 ICARUS Consulting GmbH // // 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, cop...
// MIT License // // Copyright(c) 2020 ICARUS Consulting GmbH // // 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, cop...
mit
C#
094bb7058c754b885fe2348108cc7a61bfc2b3cb
Add rich text to system field types
contentful/contentful.net
Contentful.Core/Models/Management/SystemFieldTypes.cs
Contentful.Core/Models/Management/SystemFieldTypes.cs
using System; using System.Collections.Generic; using System.Text; namespace Contentful.Core.Models.Management { /// <summary> /// Represents the different types available for a <see cref="Field"/>. /// </summary> public class SystemFieldTypes { /// <summary> /// Short text. ...
using System; using System.Collections.Generic; using System.Text; namespace Contentful.Core.Models.Management { /// <summary> /// Represents the different types available for a <see cref="Field"/>. /// </summary> public class SystemFieldTypes { /// <summary> /// Short text. ...
mit
C#
84cf738551bb3550962599204bcb46cc56a33b83
Update ISession.cs
jpdante/HTCSharp
Modules/HtcSharp.HttpModule/Http.Features/ISession.cs
Modules/HtcSharp.HttpModule/Http.Features/ISession.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.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { ...
// 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.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { ...
mit
C#
46e36eee65011caaf5feb338a7a080ca02d945e3
Update ConfigurationSource.cs
WojcikMike/docs.particular.net
Snippets/Snippets_5/Forwarding/ConfigurationSource.cs
Snippets/Snippets_5/Forwarding/ConfigurationSource.cs
namespace Snippets5.Forwarding { using System.Configuration; using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; #region ConfigurationSourceForMessageForwarding public class ConfigurationSource : IConfigurationSource { public T GetConfiguration<T>() where T : class, ...
namespace Snippets5.Forwarding { using System.Configuration; using NServiceBus.Config; using NServiceBus.Config.ConfigurationSource; #region ConfigurationSourceForMessageForwarding public class ConfigurationSource : IConfigurationSource { public T GetConfiguration<T>() where T : class, ...
apache-2.0
C#
d8728b2db4f874293c0375857cf613acaee574bf
Remove unused options.
mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,mono/Embeddinator-4000,jonathanpeppers/Embeddinator-4000,j...
binder/Options.cs
binder/Options.cs
using CppSharp.Generators; namespace MonoEmbeddinator4000 { public class Options { public Options() { Project = new Project(); GenerateSupportFiles = true; } public Project Project; // Generator options public string Libr...
using CppSharp.Generators; namespace MonoEmbeddinator4000 { public class Options { public Options() { Project = new Project(); GenerateSupportFiles = true; } public Project Project; // General options public bool ShowHelp...
mit
C#
c4ed91688e2ddb930acedd356637100af64a0c90
Add recursive insertion sort.
scott-fleischman/algorithms-csharp
src/Algorithms.Collections/InsertionSort.cs
src/Algorithms.Collections/InsertionSort.cs
using System.Collections.Generic; namespace Algorithms.Collections { public sealed class InsertionSort : IListSortAlgorithm { // Ch 2.1, p.18 public void SortByAlgorithm<T>(IList<T> list, IComparer<T> comparer) { if (list.Count < 2) return; for (int currentIndex = 1; currentIndex < list...
using System.Collections.Generic; namespace Algorithms.Collections { public sealed class InsertionSort : IListSortAlgorithm { // Ch 2.1, p.18 public void SortByAlgorithm<T>(IList<T> list, IComparer<T> comparer) { if (list.Count < 2) return; for (int currentIndex = 1; currentIndex < list...
mit
C#
2c6af588d8645b0b5b35d0701972c6767b222066
Update author information: Evgeny Zborovsky. (#532)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/EvgenyZborovsky.cs
src/Firehose.Web/Authors/EvgenyZborovsky.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class EvgenyZborovsky : IAmAMicrosoftMVP { public string FirstName => "Evgeny"; public string LastName => "Zborovsky"; public string StateOrRegion => "Estonia"; ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class EvgenyZborovsky : IAmACommunityMember { public string FirstName => "Evgeny"; public string LastName => "Zborovsky"; public string StateOrRegion => "Estonia";...
mit
C#
09feb13c280c3aeb7ac4485ef4a3f66e7eaac3dd
Rename Map to FlatMap
beardgame/utilities
src/Core/Maybe.cs
src/Core/Maybe.cs
using System; namespace Bearded.Utilities { public struct Maybe<T> { private bool hasValue; private T value; private Maybe(T value) { hasValue = true; this.value = value; } public static Maybe<T> Nothing() => new Maybe<T>(); pub...
using System; namespace Bearded.Utilities { public struct Maybe<T> { private bool hasValue; private T value; private Maybe(T value) { hasValue = true; this.value = value; } public static Maybe<T> Nothing() => new Maybe<T>(); pub...
mit
C#
fc07fc281b6b049dbdc5726327ae4fb94de364f9
test 4 resolving named dependencies in GetAll
JonasSamuelsson/Maestro
Maestro.Tests/resolve_enumerable.cs
Maestro.Tests/resolve_enumerable.cs
using FluentAssertions; using System.Linq; using Xunit; namespace Maestro.Tests { public class resolve_enumerable { [Fact] public void should_get_empty_enumerable_if_type_is_not_registered() { var enumerable = new Container().GetAll<object>(); enumerable.Should().BeEmpty(); } [Fact] public void ...
using FluentAssertions; using Xunit; namespace Maestro.Tests { public class resolve_enumerable { [Fact] public void should_get_empty_enumerable_if_type_is_not_registered() { var enumerable = new Container().GetAll<object>(); enumerable.Should().BeEmpty(); } } }
mit
C#
055ae262c3560216d99930d82bbcf0f92a6b61b5
fix error message
busterwood/Data
csv/Rename.cs
csv/Rename.cs
using BusterWood.Data; using BusterWood.Data.Shared; using System; using System.Collections.Generic; namespace BusterWood.Csv { class Rename { public static void Run(List<string> args) { try { if (args.Remove("--help")) Help(); var all = ...
using BusterWood.Data; using BusterWood.Data.Shared; using System; using System.Collections.Generic; namespace BusterWood.Csv { class Rename { public static void Run(List<string> args) { try { if (args.Remove("--help")) Help(); var all = ...
apache-2.0
C#
eff29b2e085e0999b7ce197dd556f548fde86ef0
Update AssemblyInfo.cs
ngocnicholas/airtable.net
AirtableApiClient/Properties/AssemblyInfo.cs
AirtableApiClient/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("Ai...
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("Ai...
mit
C#
82d159fb5e5710f81bca107b7a9beeed275c79b0
Remove settings hiding
adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk
Assets/Adjust/Editor/AdjustSettingsEditor.cs
Assets/Adjust/Editor/AdjustSettingsEditor.cs
using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace com.adjust.sdk { [CustomEditor(typeof(AdjustSettings))] public class AdjustSettingsEditor : Editor { SerializedProperty isPostProcessingEnabled; SerializedProperty isiOS14ProcessingEnabled; SerializedP...
using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace com.adjust.sdk { [CustomEditor(typeof(AdjustSettings))] public class AdjustSettingsEditor : Editor { SerializedProperty isPostProcessingEnabled; #if UNITY_IOS SerializedProperty isiOS14ProcessingEnabled; ...
mit
C#
5366e7dd5e6e780ed2096fd6f4944d38e90689ff
Add stub for APFT list
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/APFT/List.cshtml
Battery-Commander.Web/Views/APFT/List.cshtml
@model IEnumerable<APFT> <h2>Units @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th></th> </tr> </thead> <tbody> @foreach (var model in Model) { <tr> ...
@model IEnumerable<APFT> <h2>Units @Html.ActionLink("Add New", "New", "APFT", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th></th> <th></th> </tr> </thead> <tbody> @foreach (var model in Model) {...
mit
C#
2f0ec764028a7791c42ec22a370a12a95017f830
Update CreatingListObject.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-....
Examples/CSharp/Tables/CreatingListObject.cs
Examples/CSharp/Tables/CreatingListObject.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Tables { public class CreatingListObject { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataD...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Tables { public class CreatingListObject { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Met...
mit
C#
93131b43953231617ac5ea50123e4a26a3437dd0
Fix incorrect profiler environment variable name for .NET framework support
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net/ProfilingSupport/APM.cs
Mindscape.Raygun4Net/ProfilingSupport/APM.cs
using System; using System.Runtime.CompilerServices; namespace Mindscape.Raygun4Net { public static class APM { [ThreadStatic] private static bool _enabled = false; [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] public static void Enable() { _enabled = tru...
using System; using System.Runtime.CompilerServices; namespace Mindscape.Raygun4Net { public static class APM { [ThreadStatic] private static bool _enabled = false; [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)] public static void Enable() { _enabled = tru...
mit
C#
b7790de66fbc2d11126fb0c0dadf17090c647aa0
Fix incorrect sort param
UselessToucan/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu
osu.Game/Online/Multiplayer/IndexPlaylistScoresRequest.cs
osu.Game/Online/Multiplayer/IndexPlaylistScoresRequest.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.IO.Network; using osu.Game.Extensions; using osu.Game.Online.API; using osu.Game.Online.API.Requests; namespace osu.Game.Online.Multiplayer { ///...
// 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.IO.Network; using osu.Game.Extensions; using osu.Game.Online.API; using osu.Game.Online.API.Requests; namespace osu.Game.Online.Multiplayer { ///...
mit
C#
cc90f3c246a07c16bbe09ead3ce94a6e4ecdd42c
fix GetTotalBytes
bijakatlykkex/NBitcoin.Indexer,MetacoSA/NBitcoin.Indexer,NicolasDorier/NBitcoin.Indexer
NBitcoin.Indexer/ProgressTracker.cs
NBitcoin.Indexer/ProgressTracker.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NBitcoin.Indexer { public class ProgressTracker { private readonly AzureBlockImporter _Importer; public AzureBlockImporter Importer...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace NBitcoin.Indexer { public class ProgressTracker { private readonly AzureBlockImporter _Importer; public AzureBlockImporter Importer...
mit
C#
8075e9407d4c2ecf6560f92de09498166e45a54e
Fix C# snippet to generate TaskRouter TaskQueue Capability Token
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets
rest/taskrouter/jwts/taskqueue/example-1/example-1.5.x.cs
rest/taskrouter/jwts/taskqueue/example-1/example-1.5.x.cs
// Download the twilio-csharp library from // https://www.twilio.com/docs/libraries/csharp#installation using System; using System.Collections.Generic; using Twilio.Http; using Twilio.Jwt.Taskrouter; class Example { static void Main(string[] args) { // Find your Account Sid and Auth Token at twilio.com...
// Download the twilio-csharp library from // https://www.twilio.com/docs/libraries/csharp#installation using System; using System.Collections.Generic; using Twilio.Http; using Twilio.Jwt.Taskrouter; class Example { static void Main(string[] args) { // Find your Account Sid and Auth Token at twilio.com...
mit
C#
9fb26a8c4a7227036d813e57a90c958b68ca3c2b
fix error
zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos
source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs
source/Cosmos.System2/FileSystem/VFS/FileSystemManager.cs
using System; using System.Collections.Generic; namespace Cosmos.System.FileSystem.VFS { public static class FileSystemManager { private static List<FileSystemFactory> registeredFileSystems = new List<FileSystemFactory>() { new FAT.FatFileSystemFactory(), ...
using System; using System.Collections.Generic; namespace Cosmos.System.FileSystem.VFS { public static class FileSystemManager { private static List<FileSystemFactory> registeredFileSystems = new List<FileSystemFactory>() { new FAT.FatFileSystemFactory(), ...
bsd-3-clause
C#
75caa3cfb2c691fee39d5651cba49b056009ca0e
Update AssemblyInfo.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Properties/AssemblyInfo.cs
src/Avalonia.Xaml.Interactions/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices; using Avalonia.Metadata; [assembly: InternalsVisibleTo("Avalonia.Xaml.Interactions.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002940ed211918fcf63c506fad1d3f7f958b21ff8f06fd2089398296173f9ca93a69b9b380a828bf13fa80d1745beeb917ec3692f4d10e44b...
using System.Runtime.CompilerServices; using Avalonia.Metadata; [assembly: InternalsVisibleTo("Avalonia.Xaml.Interactions.UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002940ed211918fcf63c506fad1d3f7f958b21ff8f06fd2089398296173f9ca93a69b9b380a828bf13fa80d1745beeb917ec3692f4d10e44b...
mit
C#
ad54479193ac1d05d3ff63a545330f3a02a3ec5b
Use lambda instead of delegate (#5)
ForNeVeR/TankDriver
TankDriver.App/Logic/BulletSpace.cs
TankDriver.App/Logic/BulletSpace.cs
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using TankDriver.Models; namespace TankDriver.Logic { internal class BulletSpace { public List<Bullet> Bullets { get; } private readonly Rectangle _bounds; private Te...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using TankDriver.Models; namespace TankDriver.Logic { internal class BulletSpace { public List<Bullet> Bullets { get; } private readonly Rectangle _bounds; private Te...
mit
C#
3441bda155ee3557c1548c0b31b5dfb4de358d41
refactor and clarify endreplay
nerai/CMenu
src/ExampleMenu/MI_Replay.cs
src/ExampleMenu/MI_Replay.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { public class MI_Replay : CMenuItem { private readonly CMenu _Menu; private readonly IRecordStore _Store; public string EndReplayCommand = "endreplay"; public MI...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { public class MI_Replay : CMenuItem { private readonly CMenu _Menu; private readonly IRecordStore _Store; public MI_Replay (CMenu menu, IRecordStore store) : ba...
mit
C#
abaa5ff90b70dbf117ada41bbdfb205e4b91ebeb
remove useless property to fix json deserization issue
lianzhao/WikiaWP,lianzhao/WikiaWP,lianzhao/WikiaWP
src/WikiaSdk/Mercury/Data.cs
src/WikiaSdk/Mercury/Data.cs
namespace Wikia.Mercury { public class Data { public Details details { get; set; } public Topcontributor[] topContributors { get; set; } public Article article { get; set; } public Relatedpage[] relatedPages { get; set; } //public Adscontext adsContext { get; set;...
namespace Wikia.Mercury { public class Data { public Details details { get; set; } public Topcontributor[] topContributors { get; set; } public Article article { get; set; } public Relatedpage[] relatedPages { get; set; } public Adscontext adsContext { get; set; }...
mit
C#
bbbe777c07494d6acfe9dbbf67cede9182320744
add deleting configs backend, fix json content too long
lheneks/sniper,lheneks/sniper
sniper/sniper/Controllers/SearchConfigApiController.cs
sniper/sniper/Controllers/SearchConfigApiController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using System.Web.Script.Serialization; using Raven.Client; using sniper.Common.Mapping; using sniper.Models; namespace sniper.Controllers { public class SearchConfigApiController : RavenController { public JsonRes...
using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using Raven.Client; using sniper.Common.Mapping; using sniper.Models; namespace sniper.Controllers { public class SearchConfigApiController : RavenController { public JsonResult GetConfig(int id) { var curre...
mit
C#
c309d98914aaaf3c8647eb12e7d54fb43abbaef3
Fix ConfigurationsRights.List not being a power of 2
tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Api/Rights/ConfigurationRights.cs
src/Tgstation.Server.Api/Rights/ConfigurationRights.cs
using System; namespace Tgstation.Server.Api.Rights { /// <summary> /// Rights for <see cref="Models.ConfigurationFile"/> /// </summary> [Flags] public enum ConfigurationRights : ulong { /// <summary> /// User has no rights /// </summary> None = 0, /// <summary> /// User may read files /// </summa...
using System; namespace Tgstation.Server.Api.Rights { /// <summary> /// Rights for <see cref="Models.ConfigurationFile"/> /// </summary> [Flags] public enum ConfigurationRights : ulong { /// <summary> /// User has no rights /// </summary> None = 0, /// <summary> /// User may read files /// </summa...
agpl-3.0
C#
cf1be566cc3de5ca9904764714db952baaa1022f
Remove namespace
DataGenSoftware/DataGen.Extensions
DataGen.Extensions/DataGen.Extensions/GenericExtensions.cs
DataGen.Extensions/DataGen.Extensions/GenericExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace DataGen.Extensions { public static class GenericExtensions { public static bool IsNull<T>(this Nullable<T> objectInstance) where T :struct { return objectInstance == null; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataGen.Extensions { public static class GenericExtensions { public static bool IsNull<T>(this Nullable<T> objectInstance) where T :struct { re...
mit
C#
18016ba0ed73269e46190f2347d76eae9f3f0291
update version to 1.0.4.1
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/Properties/AssemblyInfo.cs
CSharpGL/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("CSharpGL")] [assembly: AssemblyDescription( @"CSharpGL allows you to use OpenGL functions in the Object-Oriented way. It wraps OpenGL’s fu...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("CSharpGL")] [assembly: AssemblyDescription(@"CSharpGL is a pure C# project that allows for modern OpenGL rendering in a Object-Oriented wa...
mit
C#
2b37315dd01383d7e87166b7bfa5bcb17c427978
Include the actual package described by bower.json for searching.
OSSIndex/winaudit,OSSIndex/DevAudit,OSSIndex/DevAudit
DevAudit.AuditLibrary/PackageSources/BowerPackageSource.cs
DevAudit.AuditLibrary/PackageSources/BowerPackageSource.cs
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Versatile; namespace DevAudit.AuditLibrary { public class BowerPackageSource : PackageSource { #region Constructors public BowerPackageSource(Dictionary<string, object...
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Versatile; namespace DevAudit.AuditLibrary { public class BowerPackageSource : PackageSource { #region Constructors public BowerPackageSource(Dictionary<string, object...
bsd-3-clause
C#
84f94261cb48293a14ef5d2e3e5d8b3b5c96e64b
Add (Back) Update
NoShurim/Buddys
Kayn_BETA_Fixed/Kayn_BETA_Fixed/Properties/AssemblyInfo.cs
Kayn_BETA_Fixed/Kayn_BETA_Fixed/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...
epl-1.0
C#
a4ed83b7445b07083d0ac6aac72850b7e9c29a26
Update ReflectorDefaults.cs
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Legacy/Legacy.Reflector/Configuration/ReflectorDefaults.cs
Legacy/Legacy.Reflector/Configuration/ReflectorDefaults.cs
// // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // // 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. // // ...
// // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // // 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. // // ...
apache-2.0
C#
b516d832257bc250def63534f9a80f658d9c0b6a
Update version to 2.0.3
bungeemonkee/Configgy
Configgy/Properties/AssemblyInfo.cs
Configgy/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
mit
C#
251f7799a2decc0e507fe0f5a1c21c282e408bdf
Fix reset counter not applying change
id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv
Nodes/VVVV.DX11.Nodes/Nodes/Layers/DX11ResetCounterNode.cs
Nodes/VVVV.DX11.Nodes/Nodes/Layers/DX11ResetCounterNode.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.Composition; using VVVV.PluginInterfaces.V2; using VVVV.PluginInterfaces.V1; using FeralTic.DX11; namespace VVVV.DX11.Nodes { [PluginInfo(Name = "ResetCounter", Category = "DX11.Layer", Version = "...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.Composition; using VVVV.PluginInterfaces.V2; using VVVV.PluginInterfaces.V1; using FeralTic.DX11; namespace VVVV.DX11.Nodes { [PluginInfo(Name = "ResetCounter", Category = "DX11.Layer", Version = "...
bsd-3-clause
C#
857df6a38400ec6fd284a236fb8244165e93a35f
remove unused variable
harshjain2/cli,livarcocc/cli-1,livarcocc/cli-1,dasMulli/cli,Faizan2304/cli,johnbeisner/cli,ravimeda/cli,svick/cli,EdwardBlair/cli,ravimeda/cli,johnbeisner/cli,Faizan2304/cli,harshjain2/cli,johnbeisner/cli,blackdwarf/cli,blackdwarf/cli,harshjain2/cli,blackdwarf/cli,svick/cli,EdwardBlair/cli,EdwardBlair/cli,livarcocc/cli...
src/dotnet/commands/dotnet-complete/CompleteCommand.cs
src/dotnet/commands/dotnet-complete/CompleteCommand.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Linq; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; namespace Microsoft.DotNet.Cli { ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Linq; using Microsoft.DotNet.Cli.CommandLine; using Microsoft.DotNet.Cli.Utils; namespace Microsoft.DotNet.Cli { ...
mit
C#
553cacf21d45d13afbb55204153b92dbb91c9f9b
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/NotRunningAQueryException.cs
Source/NSubstitute/Exceptions/NotRunningAQueryException.cs
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class NotRunningAQueryException : SubstituteException { public NotRunningAQueryException() { } protected NotRunningAQueryException(SerializationInfo info, StreamingContext context) : base(info, con...
using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class NotRunningAQueryException : SubstituteException { public NotRunningAQueryException() { } protected NotRunningAQueryException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
bsd-3-clause
C#
b202eb49132201a34a11d28080ef91813f1080d8
Add a check for argument existence to the Compiler
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Compiler/Program.cs
src/DotVVM.Compiler/Program.cs
using System; using System.IO; using System.Linq; namespace DotVVM.Compiler { public static class Program { private static readonly string[] HelpOptions = new string[] { "--help", "-h", "-?", "/help", "/h", "/?" }; public static bool TryRun(FileInfo assembly, DirectoryInfo?...
using System; using System.IO; using System.Linq; namespace DotVVM.Compiler { public static class Program { private static readonly string[] HelpOptions = new string[] { "--help", "-h", "-?", "/help", "/h", "/?" }; public static bool TryRun(FileInfo assembly, DirectoryInfo?...
apache-2.0
C#
1c98bded59cc3314df86a79e33092ef5e44df2b8
change version to v1.0.1
xyting/NPOI.Extension
src/Properties/AssemblyInfo.cs
src/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("NP...
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("NP...
apache-2.0
C#
66cfaf5ce16f14f0c7c2af914c083a08b0dc34c0
Update StorageContext.cs (#1728)
AntShares/AntShares
src/neo/SmartContract/StorageContext.cs
src/neo/SmartContract/StorageContext.cs
namespace Neo.SmartContract { public class StorageContext { public int Id; public bool IsReadOnly; } }
namespace Neo.SmartContract { internal class StorageContext { public int Id; public bool IsReadOnly; } }
mit
C#
49b977386375dc9ea78c35b104da1bb644e5f5e6
Rename SetChildClients() to SetChildsClients() in GitDatabaseClientTests
shana/octokit.net,Sarmad93/octokit.net,ivandrofly/octokit.net,SamTheDev/octokit.net,gdziadkiewicz/octokit.net,michaKFromParis/octokit.net,magoswiat/octokit.net,Sarmad93/octokit.net,ivandrofly/octokit.net,bslliw/octokit.net,devkhan/octokit.net,geek0r/octokit.net,khellang/octokit.net,ChrisMissal/octokit.net,editor-tools/...
Octokit.Tests/Clients/GitDatabaseClientTests.cs
Octokit.Tests/Clients/GitDatabaseClientTests.cs
using System; using NSubstitute; using Octokit; using Xunit; public class GitDatabaseClientTests { public class TheCtor { [Fact] public void EnsuresArgument() { Assert.Throws<ArgumentNullException>(() => new GitDatabaseClient(null)); } [Fact] public...
using System; using NSubstitute; using Octokit; using Xunit; public class GitDatabaseClientTests { public class TheCtor { [Fact] public void EnsuresArgument() { Assert.Throws<ArgumentNullException>(() => new GitDatabaseClient(null)); } [Fact] public...
mit
C#