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
cd1c8eac71b4dda908c0ab1e3b17043825f7f0ae
Update Knight.cs (#41)
BosslandGmbH/BuddyWing.DefaultCombat
trunk/DefaultCombat/Routines/Basic/Knight.cs
trunk/DefaultCombat/Routines/Basic/Knight.cs
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { public class Knight : RotationBase { public override string Name { get { re...
// Copyright (C) 2011-2016 Bossland GmbH // See the file LICENSE for the source code's detailed license using Buddy.BehaviorTree; using DefaultCombat.Core; using DefaultCombat.Helpers; namespace DefaultCombat.Routines { public class Knight : RotationBase { public override string Name { get { re...
apache-2.0
C#
698e9f410e3def19fecbd2900e0144c7e1ba016e
Add HttpGet attribute
CogniStreamer/owin-security-cognistreamer
examples/Sample/IndexController.cs
examples/Sample/IndexController.cs
using System.Security.Claims; using System.Web.Http; namespace Sample { [Authorize] [RoutePrefix("")] public class IndexController : ApiController { [HttpGet] [Route("")] public string Get() { var identity = this.User.Identity as ClaimsIdentity; ...
using System.Security.Claims; using System.Web.Http; namespace Sample { [Authorize] [RoutePrefix("")] public class IndexController : ApiController { [Route("")] public string Get() { var identity = this.User.Identity as ClaimsIdentity; return $"Authentic...
apache-2.0
C#
00aa2270afb15405af112df867b704604fbc8b6a
Update assembly info
jarshwah/BringChromeToFront
BringChromeToFront/Properties/AssemblyInfo.cs
BringChromeToFront/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("Br...
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("Br...
mit
C#
d35a9ace71b5b7a08c78af054f94e6e291d51149
Fix test
mattolenik/winston,mattolenik/winston,mattolenik/winston
Winston.Test/Fetchers/HttpPackageFixture.cs
Winston.Test/Fetchers/HttpPackageFixture.cs
using System; using System.IO; using System.Net; using System.Reflection; using HttpMock; namespace Winston.Test.Fetchers { public class HttpPackageFixture : IDisposable { readonly IHttpServer server; public readonly string Prefix = "http://localhost:9501"; public HttpPackageFixture()...
using System; using System.IO; using System.Net; using System.Reflection; using HttpMock; namespace Winston.Test.Fetchers { public class HttpPackageFixture : IDisposable { readonly IHttpServer server; public readonly string Prefix = "http://localhost:9501"; public HttpPackageFixture()...
mit
C#
27848326f04aaaa0c49c667ef887583465f55899
make the CA nag happy
michaKFromParis/octokit.net,dampir/octokit.net,darrelmiller/octokit.net,octokit/octokit.net,devkhan/octokit.net,SLdragon1989/octokit.net,M-Zuber/octokit.net,yonglehou/octokit.net,gabrielweyer/octokit.net,octokit/octokit.net,Red-Folder/octokit.net,devkhan/octokit.net,octokit-net-test-org/octokit.net,shana/octokit.net,oc...
Octokit/Http/ICredentialStore.cs
Octokit/Http/ICredentialStore.cs
using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit.Internal { public interface ICredentialStore { [SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification="Nope")] Task<Credentials> GetCredentials(); } }
using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit.Internal { public interface ICredentialStore { Task<Credentials> GetCredentials(); } }
mit
C#
334842b59d27381da2c9b2250c3c6c0a37925049
Disable parsing NUM_OPTIONS on player's own turn
theAprel/OptionsDisplay
OptionsDisplay/OptionsDisplay.cs
OptionsDisplay/OptionsDisplay.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hearthstone_Deck_Tracker.Enums; using Hearthstone_Deck_Tracker.Hearthstone; namespace OptionsDisplay { public class TagPrinter { private static LogWindow window; private st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Hearthstone_Deck_Tracker.Enums; namespace OptionsDisplay { public class TagPrinter { private static LogWindow window; public static void Load() { windo...
agpl-3.0
C#
884dd0c170d536099bba4c43076a443ba4748721
Support for IP address URLs
nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Win/Extensions/StringExtensions.cs
MultiMiner.Win/Extensions/StringExtensions.cs
using System; using System.Collections.Generic; using System.IO; namespace MultiMiner.Win.Extensions { static class StringExtensions { private readonly static Dictionary<string, string> hostDomainNames = new Dictionary<string, string>(); public static string DomainFromHost(this string host) ...
using System; using System.Collections.Generic; using System.IO; namespace MultiMiner.Win.Extensions { static class StringExtensions { private readonly static Dictionary<string, string> hostDomainNames = new Dictionary<string, string>(); public static string DomainFromHost(this string host) ...
mit
C#
d73418df65436b3658e39e5de37b09d2620e6cff
Update version to 1.0.1
damianh/OwinEmbeddedHost
src/SharedAssemblyInfo.cs
src/SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Damian Hickey")] [assembly: AssemblyProduct("Owin.EmbeddedHost")] [assembly: AssemblyCopyright("Copyright © Damian Hickey, MS Open Tech 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Assemb...
using System.Reflection; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Damian Hickey")] [assembly: AssemblyProduct("Owin.EmbeddedHost")] [assembly: AssemblyCopyright("Copyright © Damian Hickey, MS Open Tech 2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Assemb...
mit
C#
c83d2be352c16c1b0f1f3a651b40370695363103
Change garden flowers link to return combined search results.
dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch
TeacherPouch.Web/Views/Category/Garden.cshtml
TeacherPouch.Web/Views/Category/Garden.cshtml
@{ ViewBag.Title = "Garden - Category"; } <div id="category"> <div class="hero-unit"> <header> <img src="@Url.VersionedContent("~/img/GardenS.jpg")"> </header> <header> <h3>Grow garden! Grow! </h3> </header> </div> <div class="row-fluid featured-...
@{ ViewBag.Title = "Garden - Category"; } <div id="category"> <div class="hero-unit"> <header> <img src="@Url.VersionedContent("~/img/GardenS.jpg")"> </header> <header> <h3>Grow garden! Grow! </h3> </header> </div> <div class="row-fluid featured-...
mit
C#
59c2116adebfd23fc709b1df99e25650ce4afb08
fix unittest
Tynamix/ObjectFiller.NET
Tynamix.ObjectFiller.Test/ObjectFillerTest.cs
Tynamix.ObjectFiller.Test/ObjectFillerTest.cs
using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tynamix.ObjectFiller.Test.TestPoco.Person; namespace Tynamix.ObjectFiller.Test { [TestClass] public class ObjectFillerTest { [TestMethod] public void TestFillPerson() { ...
using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Tynamix.ObjectFiller.Test.TestPoco.Person; namespace Tynamix.ObjectFiller.Test { [TestClass] public class ObjectFillerTest { [TestMethod] public void TestFillPerson() { ...
mit
C#
cb6d5c4b8e01b5234db4506b55ae89f9d6ad9f19
Update ReturnScript.cs
textadventures/quest,textadventures/quest,textadventures/quest,textadventures/quest
WorldModel/WorldModel/Scripts/ReturnScript.cs
WorldModel/WorldModel/Scripts/ReturnScript.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TextAdventures.Quest.Functions; namespace TextAdventures.Quest.Scripts { public class ReturnScriptConstructor : ScriptConstructorBase { public override string Keyword { get { ret...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TextAdventures.Quest.Functions; namespace TextAdventures.Quest.Scripts { public class ReturnScriptConstructor : ScriptConstructorBase { public override string Keyword { get { ret...
mit
C#
f86496c06dd20d6fe88d15539d269fc786567e48
Fix serialization of property Report in DefaultXml
Seddryck/NBi,Seddryck/NBi
NBi.Xml/Settings/DefaultXml.cs
NBi.Xml/Settings/DefaultXml.cs
using System.Collections.Generic; using System.Xml.Serialization; using NBi.Xml.Items; namespace NBi.Xml.Settings { public class DefaultXml { [XmlAttribute("apply-to")] public SettingsXml.DefaultScope ApplyTo { get; set; } [XmlElement ("connectionString")] public s...
using System.Collections.Generic; using System.Xml.Serialization; using NBi.Xml.Items; namespace NBi.Xml.Settings { public class DefaultXml { [XmlAttribute("apply-to")] public SettingsXml.DefaultScope ApplyTo { get; set; } [XmlElement ("connectionString")] public s...
apache-2.0
C#
cf9dd7fe957fc082f29bd6c88f7829a5eba36db3
Indent Justification for readability
dampir/octokit.net,khellang/octokit.net,michaKFromParis/octokit.net,brramos/octokit.net,darrelmiller/octokit.net,mminns/octokit.net,geek0r/octokit.net,forki/octokit.net,eriawan/octokit.net,TattsGroup/octokit.net,alfhenrik/octokit.net,hahmed/octokit.net,mminns/octokit.net,cH40z-Lord/octokit.net,octokit-net-test/octokit....
Octokit/Clients/ITagsClient.cs
Octokit/Clients/ITagsClient.cs
using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { public interface ITagsClient { /// <summary> /// Gets a tag for a given repository by sha reference /// </summary> /// <remarks> /// http://developer.github.com/v3/git/tags/#get-a-t...
using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; namespace Octokit { public interface ITagsClient { /// <summary> /// Gets a tag for a given repository by sha reference /// </summary> /// <remarks> /// http://developer.github.com/v3/git/tags/#get-a-t...
mit
C#
3cb599f8e6016c93d88ee0966dfafe21f74ca4c8
Fix for #107 - allows embedded resource routes to be registered when Umbraco is being upgraded
uComponents/nuPickers,LottePitcher/nuPickers,uComponents/nuPickers,uComponents/nuPickers,LottePitcher/nuPickers,LottePitcher/nuPickers
source/nuPickers/EmbeddedResourceStartup.cs
source/nuPickers/EmbeddedResourceStartup.cs
namespace nuPickers { using ClientDependency.Core; using System.Web.Routing; using Umbraco.Core; public class EmbeddedResourceStartup : ApplicationEventHandler { protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) ...
namespace nuPickers { using ClientDependency.Core; using System.Web.Routing; using Umbraco.Core; public class EmbeddedResourceStartup : ApplicationEventHandler { protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) ...
mit
C#
12806622dc04693642831ff5de044a87b07afc34
make constructor of abstract class protected
alhardy/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,huoxu...
Src/Metrics/Meta/MetricMeta.cs
Src/Metrics/Meta/MetricMeta.cs
 namespace Metrics.Meta { public abstract class MetricMeta<T, V> where T : Metric<V> where V : struct { private readonly T metric; protected MetricMeta(string name, T metric, Unit unit) { this.metric = metric; this.Name = name; this.U...
 namespace Metrics.Meta { public abstract class MetricMeta<T, V> where T : Metric<V> where V : struct { private readonly T metric; public MetricMeta(string name, T metric, Unit unit) { this.metric = metric; this.Name = name; this.Unit...
apache-2.0
C#
778659b7b1162e371c2906726cb055532e87289d
Update IRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/IRepository.cs
TIKSN.Core/Data/IRepository.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IRepository<T> { Task AddAsync(T entity, CancellationToken cancellationToken); Task AddRangeAsync(IEnumerable<T> entities, CancellationToken cancellationToken); ...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IRepository<T> { Task AddAsync(T entity, CancellationToken cancellationToken); Task AddRangeAsync(IEnumerable<T> entities, CancellationToken cancellationToken); ...
mit
C#
883797ac3878402904f467a28176c1b754affd83
Fix file loader
andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,honestegg/cassette,honestegg/cassette
src/Cassette.Spriting.UnitTests/ImageFileLoader.cs
src/Cassette.Spriting.UnitTests/ImageFileLoader.cs
using System.IO; using Should; using Xunit; namespace Cassette.Spriting { public class ImageFileLoader_GetImageBytesTests { [Fact] public void ReadsBytesFromFile() { var directory = new FakeFileSystem { { "~/test.png", new byte[] { 1...
using System.IO; using Should; using Xunit; namespace Cassette.Spriting { public class ImageFileLoader_GetImageBytesTests { [Fact] public void ReadsBytesFromFile() { var directory = new FakeFileSystem { { "~/test.png", new byte[] { 1...
mit
C#
eb5d6d47bd5a16e7d8f747a2f420524981aa1e15
Fix GetConsoleWindow test
JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop,JeremyKuhne/WInterop
src/Tests/WInterop.Tests/Console/GeneralConsole.cs
src/Tests/WInterop.Tests/Console/GeneralConsole.cs
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using WInterop.Windows; using Xunit; namespace ConsoleTests; public class GeneralConsole { [Fact] public void GetConsoleWindow(...
// Copyright (c) Jeremy W. Kuhne. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using WInterop.Windows; using Xunit; namespace ConsoleTests; public class GeneralConsole { [Fact] public void GetConsoleWindow(...
mit
C#
dcc502334924810e2388bcabf81e52c25b979398
Update interfaces.cs
saikovuri/OOLanguageComparision,saikovuri/OOLanguageComparision
interfaces/interfaces.cs
interfaces/interfaces.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Implementing_Interface { interface IStorable { void Read( ); void Write( object obj ); int Status { get; set; } } public class Document : IStorable { public Document( string s ) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Example_13_1_ _ _ _Implementing_Interface { interface IStorable { void Read( ); void Write( object obj ); int Status { get; set; } } public class Document : IStorable { public Do...
apache-2.0
C#
5a6778f24c93db297000284c6720c1951224898c
upgrade version to 1.7.0
Aaron-Liu/enode,tangxuehua/enode
src/ENode.EQueue/Properties/AssemblyInfo.cs
src/ENode.EQueue/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("EN...
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("EN...
mit
C#
10cad44459241a808b85a521cd31c47b18d0b6be
Update to be async
michaeldtaylor/Ghostbot
src/Ghostbot.Azure.WorkerRole/WorkerRole.cs
src/Ghostbot.Azure.WorkerRole/WorkerRole.cs
using System.Diagnostics; using System.Net; using System.Threading; using System.Threading.Tasks; using Microsoft.WindowsAzure.ServiceRuntime; namespace Ghostbot.Azure.WorkerRole { public class WorkerRole : RoleEntryPoint { readonly CancellationTokenSource _cancellationTokenSource = new CancellationTok...
using System.Diagnostics; using System.Net; using System.Threading; using Microsoft.WindowsAzure.ServiceRuntime; namespace Ghostbot.Azure.WorkerRole { public class WorkerRole : RoleEntryPoint { readonly CancellationTokenSource _cancellationTokenSource = new CancellationTokenSource(); readonly M...
mit
C#
2ad7e56718f6a223702c521901ff614a434fc001
Clean commented code and a tiny optimization to return false if the value is null.
NServiceKit/NServiceKit.OrmLite,NServiceKit/NServiceKit.OrmLite
src/ServiceStack.OrmLite/Expressions/Sql.cs
src/ServiceStack.OrmLite/Expressions/Sql.cs
using System; using System.Linq; using System.Linq.Expressions; using System.Collections.Generic; namespace ServiceStack.OrmLite { public static class Sql { public static bool In<T>(T value, params object[] list) { if(value == null) return false; foreach (var obj in list) { if (obj == null)...
using System; using System.Linq; using System.Linq.Expressions; using System.Collections.Generic; namespace ServiceStack.OrmLite { public static class Sql { //public static bool In<T>(T value, IList<Object> list) //{ // foreach (Object obj in list) // { // if (obj == null || value == null)...
bsd-3-clause
C#
e26493179f1ca231f5eb1581591a37ce83e40f65
exclude non-published posts from the series data
fekberg/Sandra.Snow,tareq-s/Sandra.Snow,gsferreira/Sandra.Snow,Pxtl/Sandra.Snow,darrelmiller/Sandra.Snow,darrelmiller/Sandra.Snow,darrelmiller/Sandra.Snow,tareq-s/Sandra.Snow,gsferreira/Sandra.Snow,gsferreira/Sandra.Snow,MattHarrington/sample-sandra-snow-blog,amitapl/blogamitapple,Sandra/Sandra.Snow,Sandra/Sandra.Snow,...
src/Snow/Extensions/PostHeaderExtensions.cs
src/Snow/Extensions/PostHeaderExtensions.cs
namespace Snow.Extensions { using System.Collections.Generic; using System.Linq; using Models; public static class PostHeaderExtensions { public static void UpdatePartsToLatestInSeries(this IEnumerable<Post> postHeaders) { var groupBySeriesId = (from x in post...
namespace Snow.Extensions { using System.Collections.Generic; using System.Linq; using Models; public static class PostHeaderExtensions { public static void UpdatePartsToLatestInSeries(this IEnumerable<Post> postHeaders) { var groupBySeriesId = (from x in post...
mit
C#
7f76308100a748a10bc2cb1f6130949df6d04d72
Clean up from review
platrant/platrant
Assets/Scripts/AbyssCollider.cs
Assets/Scripts/AbyssCollider.cs
using UnityEngine; using System.Collections; public class AbyssCollider : MonoBehaviour { private const string PLAYER_TAG = "Player"; void OnTriggerExit2D(Collider2D coll) { if (coll.gameObject.tag == PLAYER_TAG) coll.gameObject.SendMessage("LoseLife"); } }
using UnityEngine; using System.Collections; public class AbyssCollider : MonoBehaviour { private const string PLAYER_TAG = "Player"; [SerializeField] private LevelManager levelManager; [SerializeField] private PlayerMovement player; void OnTriggerExit2D(Collider2D coll) { if (c...
mit
C#
a3e3e83a3df2f450106c41909cf92eb1300c5104
Bump version to 8.13.0
arknu/Umbraco-CMS,abjerner/Umbraco-CMS,bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,JimBobSq...
src/SolutionInfo.cs
src/SolutionInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
mit
C#
7d1772aae7d9a27f8d030c03f8bcec486fc2869f
make the list 'of newable' and preinitialize the grid
mysterycommand/Bearshirt
Assets/Scripts/BearshirtList2D.cs
Assets/Scripts/BearshirtList2D.cs
using System; using System.Collections.Generic; namespace Bearshirt { public class BearshirtList2D<T> where T : new() { public int width { get; private set; } public int height { get; private set; } private List<T> list; public BearshirtList2D(int _width, int _height) { width = _width; height = _h...
using System; using System.Collections.Generic; namespace Bearshirt { public class BearshirtList2D<T> { public int width { get; private set; } public int height { get; private set; } private List<T> list; public BearshirtList2D(int _width, int _height) { width = _width; height = _height; list =...
mit
C#
4744764d78d642e90d7df7e3075eec170db0621a
Resolve CommandDispatcher
appharbor/appharbor-cli
src/AppHarbor/Program.cs
src/AppHarbor/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); var commandDispatcher = container.Resolve<Comm...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Castle.Windsor; namespace AppHarbor { class Program { static void Main(string[] args) { var container = new WindsorContainer() .Install(new AppHarborInstaller()); } } }
mit
C#
aee030877495014c6f81903ab727d2bf5a0e638d
Fix for modmsgdata. Closes #64
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Common/Message/Data/ModMsgData.cs
Common/Message/Data/ModMsgData.cs
using Lidgren.Network; using LunaCommon.Message.Base; namespace LunaCommon.Message.Data { public class ModMsgData : MessageData { /// <inheritdoc /> internal ModMsgData() { } /// <summary> /// Name of the mod that creates this msg /// </summary> public string M...
using Lidgren.Network; using LunaCommon.Message.Base; namespace LunaCommon.Message.Data { public class ModMsgData : MessageData { /// <inheritdoc /> internal ModMsgData() { } /// <summary> /// Name of the mod that creates this msg /// </summary> public string M...
mit
C#
20f525acf0bfd31397a7f746bda63f40662881ab
fix throwing exception
Eskat0n/Frameplate.Security
sources/Frameplate.Security/Account.cs
sources/Frameplate.Security/Account.cs
namespace Frameplate.Security { using System; public class Account<TId> : IAccount<TId> { public Account(TId id, string login) { if (id.Equals(default(TId))) throw new ArgumentNullException("id"); if (login == null) throw new Argumen...
namespace Frameplate.Security { using System; public class Account<TId> : IAccount<TId> { public Account(TId id, string login) { if (id.Equals(default(TId))) throw new ArgumentException("credential"); if (login == null) throw new Arg...
mit
C#
6d05ab8211572d94cc909b6743b25af44a5b41ad
Fix BL-3534 License Dialog messedup spacing
gmartin7/myBloomFork,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,JohnThomson/Bloom...
src/BloomExe/Registration/LicenseDialog.cs
src/BloomExe/Registration/LicenseDialog.cs
using System.Drawing; using System.Globalization; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using MarkdownSharp; namespace Bloom.Registration { public partial class LicenseDialog : Form { private Browser _licenseBrowser; public LicenseDialog() { InitializeComp...
using System.Drawing; using System.Globalization; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using MarkdownSharp; namespace Bloom.Registration { public partial class LicenseDialog : Form { private Browser _licenseBrowser; public LicenseDialog() { InitializeComp...
mit
C#
c6c51b9edd5b4de10281e08a85b6122e4c15e374
Add refresh mechanism...but it's ugly.
Narochno/Narochno.Primitives
src/Narochno.Primitives/Parsing/Convert.cs
src/Narochno.Primitives/Parsing/Convert.cs
using System; namespace Narochno.Primitives.Parsing { public static class Convert<TType> where TType : struct { private static IParser<TType> parser; static Convert() { Refresh(); } /// <summary> /// Refreshes the parser from the DefaultPa...
using System; namespace Narochno.Primitives.Parsing { public static class Convert<TType> where TType : struct { private static IParser<TType> parser = (IParser<TType>)DefaultParserLibrary.Instance.GetParser(typeof(TType)); /// <summary> /// Convert given string to Nullable <t...
mit
C#
d3fa718dc2a7fd33fbaae76d258752dbc18635d8
Fix method in IEmailService
hermanho/postal
src/Postal.AspNetCore/IEmailService.cs
src/Postal.AspNetCore/IEmailService.cs
using System.Net.Mail; using System.Threading.Tasks; namespace Postal { /// <summary> /// Creates and send email. /// </summary> public interface IEmailService { /// <summary> /// Send an email asynchronously, using an <see cref="SmtpClient"/>. /// </summary> /// <p...
using System.Net.Mail; using System.Threading.Tasks; namespace Postal { /// <summary> /// Creates and send email. /// </summary> public interface IEmailService { /// <summary> /// Creates and sends a <see cref="MailMessage"/> asynchronously using <see cref="SmtpClient"/>. //...
mit
C#
42cb6109343fe770d96b10e0fdf2817cd1320919
Improve comment in DpiHelper
solarwinds/OrionSDK
Src/SwqlStudio/Utils/DpiHelper.cs
Src/SwqlStudio/Utils/DpiHelper.cs
using System.Drawing; using System.Windows.Forms; namespace SwqlStudio.Utils { internal static class DpiHelper { /// <summary> /// Sets the currently used system UI font as the default font for the <paramref name="control"/> /// </summary> /// <param name="control">Usually a <s...
using System.Drawing; using System.Windows.Forms; namespace SwqlStudio.Utils { internal static class DpiHelper { /// <summary> /// Sets the currently used system UI font as the default font for the <paramref name="control"/> /// </summary> /// <param name="control">Usually a <s...
apache-2.0
C#
7d6544b94931a01950ff5178417bb3c7e2c04a4f
Load Xsd Schemas With Base Uri Set. (#23)
tudway/Qart,avao/Qart
Src/src/Qart.Core/Xsd/XsdUtils.cs
Src/src/Qart.Core/Xsd/XsdUtils.cs
using System.IO; using System.Xml; using System.Xml.Schema; namespace Qart.Core.Xsd { public static class SchemaLoader { public static XmlSchema Load(Stream stream) { return XmlSchema.Read(stream, null); } public static XmlSchema Load(string path) { ...
using Qart.Core.Io; using System.IO; using System.Xml.Schema; namespace Qart.Core.Xsd { public static class SchemaLoader { public static XmlSchema Load(Stream stream) { return XmlSchema.Read(stream, null); } public static XmlSchema Load(string path) { ...
apache-2.0
C#
cc21d2154da76809efde17d6cb6cf099b53e083b
fix QuickStart.cs and add licence
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/Scenes/QuickStartScene/QuickStart.cs
ncmb_unity/Assets/Scenes/QuickStartScene/QuickStart.cs
/******* Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED 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 Unless requir...
using System.Collections; using System.Collections.Generic; using UnityEngine; using NCMB; public class QuickStart : MonoBehaviour { // Use this for initialization void Start () { // クラスのNCMBObjectを作成 NCMBObject testClass = new NCMBObject("TestClass"); // オブジェクトに値を設定 testClass["me...
apache-2.0
C#
969040f490961f02578ef37c440deefcdedd6551
Bump version to 30, to reflect what's currently in development.
DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod,DeathCradle/Terraria-s-Dedicated-Server-Mod
Terraria_Server/Server/Statics.cs
Terraria_Server/Server/Statics.cs
using System; using System.IO; namespace Terraria_Server { public static class Statics { public const int BUILD = 30; public const int CURRENT_TERRARIA_RELEASE = 12; public static string CURRENT_TERRARIA_RELEASE_STR = CURRENT_TERRARIA_RELEASE.ToString(); private const String W...
using System; using System.IO; namespace Terraria_Server { public static class Statics { public const int BUILD = 29; public const int CURRENT_TERRARIA_RELEASE = 12; public static string CURRENT_TERRARIA_RELEASE_STR = CURRENT_TERRARIA_RELEASE.ToString(); private const String W...
mit
C#
a4ecd6dd77c409488b5d4b3e23aaf165e256cebb
Update AssemblyWithExcludesTest.cs
Fody/Virtuosity
Tests/AssemblyWithExcludesTest.cs
Tests/AssemblyWithExcludesTest.cs
using System.Collections.Generic; using System.Reflection; using Fody; using Xunit; public class AssemblyWithExcludesTest { static Assembly assembly; static AssemblyWithExcludesTest() { var weavingTask = new ModuleWeaver { ExcludeNamespaces = new List<string> { "ExcludeNamespa...
using System.Collections.Generic; using Fody; using Xunit; public class AssemblyWithExcludesTest { [Fact] public void Simple() { var weavingTask = new ModuleWeaver { ExcludeNamespaces = new List<string> { "ExcludeNamespace" } }; var assembly = weavingTask.Execut...
mit
C#
58baf95716df0bc2eda72927fabcc3ae6fd9aaa2
bump version number
articulate/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,tdiehl/raygun4net,ddunkin/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,MindscapeHQ/raygun4net,nelsonsar/raygun4net,ddunkin/raygun4net
AssemblyVersionInfo.cs
AssemblyVersionInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can defau...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can defau...
mit
C#
88d4d40520767d8185910314b9a3ffbb1ff937b0
Fix typo
sfc-sdp/GameCanvas-Unity
Assets/Scripts/Game.cs
Assets/Scripts/Game.cs
using System; using GameCanvas; public class Game : GameBase { override public void Start() { // } override public void Calc() { // } override public void Draw() { // 画面を白で塗りつぶします gc.ClearScreen(); // 2番の画像を描画します gc.DrawImage(2, 0, 0);...
using System; using GameCanvas; public class Game : GameBase { override public void Start() { // } override public void Calc() { // } override public void Draw() { // 画面を白で塗りつぶします gc.ClearScreen(); // 画像0を描画します gc.DrawImage(2, 0, 0); ...
mit
C#
cc9dea4c7ce2a4423252fc13184c807db250f1ab
Update tools/LuminoBuild/Tasks/BuildEngine_MSVC.cs
lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino
tools/LuminoBuild/Tasks/BuildEngine_MSVC.cs
tools/LuminoBuild/Tasks/BuildEngine_MSVC.cs
using System; using System.IO; using System.Linq; using LuminoBuild; namespace LuminoBuild.Tasks { class BuildEngine_MSVC : BuildTask { public override string CommandName { get { return "BuildEngine_MSVC"; } } public override string Description { get { return "Build engine for C++."...
using System; using System.IO; using System.Linq; using LuminoBuild; namespace LuminoBuild.Tasks { class BuildEngine_MSVC : BuildTask { public override string CommandName { get { return "BuildEngine_MSVC"; } } public override string Description { get { return "Build engine for C++."...
mit
C#
2038898f4cdf9063b4857497757f811ec35ddb29
Bump version to 8.18.0-rc2
mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS,mattbrailsford/Umbraco-CMS
src/SolutionInfo.cs
src/SolutionInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2022")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2022")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
mit
C#
73a208227cad6811079ff1c327eabd863f0b40c1
Add heardbeat file to server
GeorgeHahn/SOVND
SOVND.Server/Program.cs
SOVND.Server/Program.cs
using Anotar.NLog; using Ninject; using Ninject.Extensions.Factory; using SOVND.Lib; using System; using System.Text; using SOVND.Lib.Handlers; using SOVND.Lib.Models; using SOVND.Server.Settings; using System.Threading; using System.Linq; using SOVND.Server.Handlers; using System.IO; using SOVND.Lib.Utils; namespace...
using Anotar.NLog; using Ninject; using Ninject.Extensions.Factory; using SOVND.Lib; using System; using System.Text; using SOVND.Lib.Handlers; using SOVND.Lib.Models; using SOVND.Server.Settings; using System.Threading; using System.Linq; using SOVND.Server.Handlers; namespace SOVND.Server { class Program { ...
epl-1.0
C#
ea52d2d527ff669a8acdc246e706d4ec36e6504a
Make Mod IJsonSerializable
NeoAdonis/osu,ppy/osu,naoey/osu,johnneijzen/osu,peppy/osu,peppy/osu,ZLima12/osu,peppy/osu-new,NeoAdonis/osu,DrabWeb/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,smoogipooo/osu,naoey/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,DrabWeb/osu,UselessToucan/osu,2yangk23/osu,naoey/osu,DrabWeb/osu,smoogip...
osu.Game/Rulesets/Mods/Mod.cs
osu.Game/Rulesets/Mods/Mod.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics; using System; using Newtonsoft.Json; using osu.Game.IO.Serialization; namespace osu.Game.Rulesets.Mods { /// <summary> /// The base cl...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics; using System; namespace osu.Game.Rulesets.Mods { /// <summary> /// The base class for gameplay modifiers. /// </summary> publi...
mit
C#
f277b0c99f2a53f7b7bd92e0f748e1e206fe452c
Use better formatting for skin display (matching BeatmapMetadata)
peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu
osu.Game/Skinning/SkinInfo.cs
osu.Game/Skinning/SkinInfo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Game.Configuration; using osu.Game.Database; namespace osu.Game.Skinning { public class SkinInfo : IHasFil...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Game.Configuration; using osu.Game.Database; namespace osu.Game.Skinning { public class SkinInfo : IHasFil...
mit
C#
4df262b2187e51bc33731a5c35639b813098a360
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
485baba5355b6f98976a96db91ca03b6752c65ff
Edit it
sta/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,jogibear9988/websocket-sharp,sta/websocket-sharp
websocket-sharp/Server/IWebSocketSession.cs
websocket-sharp/Server/IWebSocketSession.cs
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * 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, includi...
#region License /* * IWebSocketSession.cs * * The MIT License * * Copyright (c) 2013-2014 sta.blockhead * * 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, includi...
mit
C#
4d2556c94f4d6447dda33d056d9ea2a1795494be
remove unnecessary using
wilcommerce/Wilcommerce.Core.Data.EFCore
src/Wilcommerce.Core.Data.EFCore/CommonContext.cs
src/Wilcommerce.Core.Data.EFCore/CommonContext.cs
using Microsoft.EntityFrameworkCore; using Wilcommerce.Core.Common.Domain.Models; using Wilcommerce.Core.Data.EFCore.Mapping; namespace Wilcommerce.Core.Data.EFCore { public class CommonContext : DbContext { public virtual DbSet<User> Users { get; set; } public virtual DbSet<GeneralSettings> ...
using Microsoft.EntityFrameworkCore; using Wilcommerce.Core.Common.Domain.Events; using Wilcommerce.Core.Common.Domain.Models; using Wilcommerce.Core.Data.EFCore.Mapping; namespace Wilcommerce.Core.Data.EFCore { public class CommonContext : DbContext { public virtual DbSet<User> Users { get; set; } ...
mit
C#
8506e091ed737f5897bbf7ee0ee0c8d552ef082d
Make SUTA edit supervisor searchable
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/SUTA/Edit.cshtml
Battery-Commander.Web/Views/SUTA/Edit.cshtml
@model BatteryCommander.Web.Commands.UpdateSUTARequest @using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.ValidationSummary() <div class="form-group form-group-lg"> @Html.Disp...
@model BatteryCommander.Web.Commands.UpdateSUTARequest @using (Html.BeginForm("Edit", "SUTA", new { Model.Id }, FormMethod.Post, true, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryToken() @Html.ValidationSummary() <div class="form-group form-group-lg"> @Html.Disp...
mit
C#
fc14e62c1a97f9381ed2121528451d5a82412a5e
remove redundant interface
ArsenShnurkov/BitSharp
BitSharp.Storage.Esent/BlockHeaderStorage.cs
BitSharp.Storage.Esent/BlockHeaderStorage.cs
using BitSharp.Common; using BitSharp.Common.ExtensionMethods; using BitSharp.Storage; using BitSharp.Network; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using BitSharp.Data; using System.D...
using BitSharp.Common; using BitSharp.Common.ExtensionMethods; using BitSharp.Storage; using BitSharp.Network; using System; using System.Collections.Generic; using System.Data; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using BitSharp.Data; using System.D...
unlicense
C#
a84db02f737426abbd59d7f0a8d2cf55591225e8
Make F.Range a function instead of a field
farity/farity
Farity/Range.cs
Farity/Range.cs
using System; using System.Collections.Generic; using System.Linq; namespace Farity { public static partial class F { public static IEnumerable<int> Range(int start, int end) => start > end ? Enumerable.Empty<int>() : Enumerable.Range(start, end - start + 1); } }
using System; using System.Collections.Generic; using System.Linq; namespace Farity { public static partial class F { public static readonly Func<int, int, IEnumerable<int>> Range = (start, end) => start > end ? Enumerable.Empty<int>() : Enumerable.Range(start, end - start + 1); } }
mit
C#
a29beca8aab85f8012b274bfe61d9f13669121d5
Add widgetCanvas.Arrange to fix zoom buttons not showing for #774
pauldendulk/Mapsui,charlenni/Mapsui,charlenni/Mapsui
Mapsui.Rendering.Xaml/XamlWidgets/WidgetRenderer.cs
Mapsui.Rendering.Xaml/XamlWidgets/WidgetRenderer.cs
using System; using System.Collections.Generic; using System.Windows.Controls; using Mapsui.Widgets; namespace Mapsui.Rendering.Xaml.XamlWidgets { public static class WidgetRenderer { public static void Render(object target, IReadOnlyViewport viewport, IEnumerable<IWidget> widgets, IDicti...
using System; using System.Collections.Generic; using System.Windows.Controls; using Mapsui.Widgets; namespace Mapsui.Rendering.Xaml.XamlWidgets { public static class WidgetRenderer { public static void Render(object target, IReadOnlyViewport viewport, IEnumerable<IWidget> widgets, IDicti...
mit
C#
e8eba7d62b323ced15511b3dd28ab2bfb6f2a7b6
Fix name
Branimir123/FMI-IoT-Teamwork,Branimir123/FMI-IoT-Teamwork
SmartHive/SmartHive.Web/Views/Shared/_Layout.cshtml
SmartHive/SmartHive.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 - SmartHive</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse navbar...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-i...
mit
C#
2ea716559f4ace4c52b0f8a9a055daa3640df09a
Update MilestoneTests.cs
tiksn/TIKSN-Framework
TIKSN.UnitTests.Shared/Versioning/MilestoneTests.cs
TIKSN.UnitTests.Shared/Versioning/MilestoneTests.cs
using Xunit; namespace TIKSN.Versioning.Tests { public class MilestoneTests { [Fact] public void Test2() => Assert.True(Milestone.Alpha < Milestone.Beta); [Fact] public void Test3() => Assert.True(Milestone.Beta < Milestone.ReleaseCandidate); [Fact] public void...
using Xunit; namespace TIKSN.Versioning.Tests { public class MilestoneTests { [Fact] public void Test2() { Assert.True(Milestone.Alpha < Milestone.Beta); } [Fact] public void Test3() { Assert.True(Milestone.Beta < Milestone.Releas...
mit
C#
9d182a713cf4d11520fdd32351cedbe15f0a8d94
Add TSQLStatement.AsMerge property
bruce-dunwiddie/tsql-parser
TSQL_Parser/TSQL_Parser/Statements/TSQLStatement.cs
TSQL_Parser/TSQL_Parser/Statements/TSQLStatement.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TSQL.Expressions; using TSQL.Tokens; namespace TSQL.Statements { public abstract class TSQLStatement : TSQLExpression { public abstract TSQLStatementType Type { get; } public TSQLSelectStatement AsSelect { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TSQL.Expressions; using TSQL.Tokens; namespace TSQL.Statements { public abstract class TSQLStatement : TSQLExpression { public abstract TSQLStatementType Type { get; } public TSQLSelectStatement AsSelect { ...
apache-2.0
C#
f6f5de7ad16fd416bdbb7ad11fa205be085f66c6
Allow LineBufferedReader to keep underlying stream open
EVAST9919/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu
osu.Game/IO/LineBufferedReader.cs
osu.Game/IO/LineBufferedReader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Text; namespace osu.Game.IO { /// <summary> /// A <see cref="StreamReader"/>-like ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.IO; using System.Text; namespace osu.Game.IO { /// <summary> /// A <see cref="StreamReader"/>-like ...
mit
C#
74e2d1cab6a717606b0b3bbce1b51a04bc278ce1
Add to see when it's free to use.
dimixar/audio-controller-unity
AudioController/Assets/Source/AudioObject.cs
AudioController/Assets/Source/AudioObject.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(AudioSource))] public class AudioObject : MonoBehaviour { public System.Action<AudioObject> OnFinishedPlaying; #region private fields private string _id; private AudioClip _clip; private AudioSour...
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(AudioSource))] public class AudioObject : MonoBehaviour { public System.Action<AudioObject> OnFinishedPlaying; #region private fields private string _id; private AudioClip _clip; private AudioSour...
mit
C#
f18052ceba5f9a6d26a3d37677401b8882daaebd
return AsyncTask when you invoke Async.Run
kerryjiang/SuperSocket,ZixiangBoy/SuperSocket,chucklu/SuperSocket,fryderykhuang/SuperSocket,kerryjiang/SuperSocket,memleaks/SuperSocket,ZixiangBoy/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket,ZixiangBoy/SuperSocket,fryderykhuang/SuperSocket,jmptrader/SuperSocket,jmptrader/SuperSocket,jmptrader/SuperSocket,chucklu/...
mainline/Common/Async.cs
mainline/Common/Async.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuperSocket.Common { public static class Async { public static Task Run(Action task) { return Run(task, TaskCreationOptions.None); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuperSocket.Common { public static class Async { public static void Run(Action task) { Run(task, TaskCreationOptions.None); } ...
apache-2.0
C#
4be806a3bae2a58f51743ee4dc4a42854d38d203
Update XssFilterMiddlewareTests.cs
ziyasal/helmet.net
Helmet.Net.Tests/XssFilterMiddlewareTests.cs
Helmet.Net.Tests/XssFilterMiddlewareTests.cs
using NUnit.Framework; namespace Helmet.Net.Tests { public class XssFilterMiddlewareTests : TestBase { [Test] public async void HelloTest() { Assert.IsTrue(true); } } }
using NUnit.Framework; namespace Helmet.Net.Tests { public class XssFilterMiddlewareTests : TestBase { [Test] public async Task HelloTest() { Assert.IsTrue(true); } } }
mit
C#
26e82d2d7fee3443a739435a32d76bdc629c0955
Remove unused methods.
cube-soft/Cube.Core,cube-soft/Cube.Forms,cube-soft/Cube.Core,cube-soft/Cube.Forms
Libraries/NativeMethods/UrlMon.cs
Libraries/NativeMethods/UrlMon.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#
55e1f394e15e5d693d3e6c80046792e7877d03f1
Bump version.
FacilityApi/Facility
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.6.0.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.5.3.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016-2017 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
a6357ddb207c3191f6a17c0915f0d805b3e6440f
Use autofixture for unit tests of the command bus.
uncas/BuildPipeline
test/Uncas.BuildPipeline.Tests.Unit/CommandBusTests.cs
test/Uncas.BuildPipeline.Tests.Unit/CommandBusTests.cs
using Microsoft.Practices.ServiceLocation; using Microsoft.Practices.Unity; using Moq; using NUnit.Framework; using Ploeh.AutoFixture; using Uncas.BuildPipeline.Commands; namespace Uncas.BuildPipeline.Tests.Unit { [TestFixture] public class CommandBusTests : WithFixture<CommandBus> { [Test] ...
using System; using Microsoft.Practices.ServiceLocation; using Moq; using NUnit.Framework; using Uncas.BuildPipeline.Commands; using Uncas.BuildPipeline.Repositories; using Uncas.BuildPipeline.Utilities; namespace Uncas.BuildPipeline.Tests.Unit { [TestFixture] public class CommandBusTests { [Test]...
mit
C#
e8e7d72cf817ed021b569da1c455d5a8a6db3d12
apply visual studio formatter
RyotaMurohoshi/unity_snippets
unity/Assets/Scripts/Point.cs
unity/Assets/Scripts/Point.cs
using System; namespace MrStarBase { public class Point : IEquatable<Point> { readonly int x; readonly int y; public int X { get { return x; } } public int Y { get { return y; } } public Point(int x, int y) { this.x = x; this.y = y; ...
using System; namespace MrStarBase { public class Point : IEquatable<Point> { readonly int x; readonly int y; public int X { get { return x; } } public int Y { get { return y; } } public Point (int x, int y) { this.x = x; this.y = y; } public int Distance (Point other) { return Math.A...
mit
C#
73b38d8dc078325f9a1925803b1d403cb92e80df
Add [Serializable] attribute
dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute
Source/NSubstitute/Exceptions/ReceivedCallsException.cs
Source/NSubstitute/Exceptions/ReceivedCallsException.cs
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { [Serializable] public class ReceivedCallsException : SubstituteException { public ReceivedCallsException() { } public ReceivedCallsException(string message) : base(message) { } public ReceivedCallsE...
using System; using System.Runtime.Serialization; namespace NSubstitute.Exceptions { public class ReceivedCallsException : SubstituteException { public ReceivedCallsException() { } public ReceivedCallsException(string message) : base(message) { } public ReceivedCallsException(string mes...
bsd-3-clause
C#
d0adf6ab179996943a32f503b27b2487f9f28b03
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
857d91fa7da24f3f76e5ac45cbe052ec6614181c
Delete revoked api key
JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps
XFGoogleMapSample/XFGoogleMapSample/Variables_sample.cs
XFGoogleMapSample/XFGoogleMapSample/Variables_sample.cs
/// PLEASE RENAME THIS FILE TO Variables.cs using System; namespace XFGoogleMapSample { public static class Variables { // https://developers.google.com/maps/documentation/android-api/signup public const string GOOGLE_MAPS_ANDROID_API_KEY = "your_google_maps_android_api_v2_api_key"; // ...
/// PLEASE RENAME THIS FILE TO Variables.cs using System; namespace XFGoogleMapSample { public static class Variables { // https://developers.google.com/maps/documentation/android-api/signup public const string GOOGLE_MAPS_ANDROID_API_KEY = "your_google_maps_android_api_v2_api_key"; // ...
mit
C#
ec5fd7ac1dc0bf84328a64a3b963bf1157ee6685
Remove possible 'System.NullReferenceException'
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Online/Chat/ExternalLinkOpener.cs
osu.Game/Online/Chat/ExternalLinkOpener.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuratio...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuratio...
mit
C#
8d18c7e9299cc9c8e4a8b55563c3a9a22d1a99bd
Fix `BreakTracker.IsBreakTime` not updated properly on breaks set
ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,ppy/osu
osu.Game/Screens/Play/BreakTracker.cs
osu.Game/Screens/Play/BreakTracker.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.Collections.Generic; using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets....
// 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.Collections.Generic; using System.Linq; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Game.Beatmaps.Timing; using osu.Game.Rulesets....
mit
C#
cc183f169b768b221b9dd2cac8408ff328668f0a
Set version to 1.2.3
simplicbe/Simplic.Dlr,simplicbe/Simplic.Dlr
src/Simplic.Dlr/Properties/AssemblyInfo.cs
src/Simplic.Dlr/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...
mit
C#
4be473bacf7b02e0bf41e113d6ea1db0b25902f7
replace hyphens with underscores
peppy/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,default0/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,ZLima12/osu-frame...
osu.Framework/IO/Stores/DllResourceStore.cs
osu.Framework/IO/Stores/DllResourceStore.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.IO; using System.Reflection; namespace osu.Framework.IO.Stores { public class DllResourceStore : IResourceStore<byte[]> { ...
// 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.IO; using System.Reflection; namespace osu.Framework.IO.Stores { public class DllResourceStore : IResourceStore<byte[]> { ...
mit
C#
3578160d88bfd39f232a3bd3e9b215f7fcaebf48
Add the parser source for the Python dynamic library
markfinal/bam-python,markfinal/bam-python,markfinal/bam-python
packages/Python-3.5.1/bam/Scripts/Python.cs
packages/Python-3.5.1/bam/Scripts/Python.cs
using Bam.Core; namespace Python { sealed class PythonInterpreter : C.ConsoleApplication { protected override void Init( Bam.Core.Module parent) { base.Init(parent); this.Macros["OutputName"] = Bam.Core.TokenizedString.CreateVerbatim("python")...
using Bam.Core; namespace Python { sealed class PythonInterpreter : C.ConsoleApplication { protected override void Init( Bam.Core.Module parent) { base.Init(parent); this.Macros["OutputName"] = Bam.Core.TokenizedString.CreateVerbatim("python")...
bsd-3-clause
C#
f8402f0c29128e2347d382193b84a21ab7a2fe84
Add read only props to access RVA and size
jorik041/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,modulexcite/dnlib,ilkerhalil/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,yck1509/dnlib,picrap/dnlib
dot10/PE/ImageDataDirectory.cs
dot10/PE/ImageDataDirectory.cs
using System; using System.IO; namespace dot10.PE { /// <summary> /// Represents the IMAGE_DATA_DIRECTORY PE section /// </summary> public class ImageDataDirectory : FileSection { RVA virtualAddress; uint dataSize; /// <summary> /// Returns the IMAGE_DATA_DIRECTORY.VirtualAddress field /// </summary> ...
using System; using System.IO; namespace dot10.PE { /// <summary> /// Represents the IMAGE_DATA_DIRECTORY PE section /// </summary> public class ImageDataDirectory : FileSection { RVA virtualAddress; uint dataSize; /// <summary> /// Default constructor /// </summary> public ImageDataDirectory() { }...
mit
C#
e168d1315f84d6bcb2da7c5ff96ae3cd3cf84278
rewrite _cache.Add(key,value) to _cache[key] = value;
rudygt/dot-kafka
DotKafka.Prototype/Common/Cache/LRUCache.cs
DotKafka.Prototype/Common/Cache/LRUCache.cs
using System.Collections.Generic; namespace DotKafka.Prototype.Common.Cache { public class LRUCache<K, V> : ICache<K, V> { private readonly Dictionary<K, V> _cache; private readonly LinkedList<K> _lruList; private readonly int _capacity; public int Size => _cache.Count; p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotKafka.Prototype.Common.Cache { public class LRUCache<K, V> : ICache<K, V> { private readonly Dictionary<K, V> _cache; private readonly LinkedList<K> _lruList; pr...
apache-2.0
C#
92d473d93c390c5087f55a59ca1354a1a097afb3
Remove debug code
FICTURE7/CoCSharp,FICTURE7/CoCSharp,FICTURE7/CoCSharp
CoCSharp.Server/Program.cs
CoCSharp.Server/Program.cs
using CoCSharp.Data; using CoCSharp.Data.Models; using CoCSharp.Network; using CoCSharp.Network.Messages; using CoCSharp.Server.Core; using System; using System.Diagnostics; using System.IO; using System.Threading; namespace CoCSharp.Server { public class Program { public static CoCServer Server { get...
using CoCSharp.Data; using CoCSharp.Data.Models; using CoCSharp.Network; using CoCSharp.Network.Messages; using CoCSharp.Server.Core; using System; using System.Diagnostics; using System.IO; using System.Threading; namespace CoCSharp.Server { public class Program { public static CoCServer Server { get...
mit
C#
a9909ea159267efd8fd55af8c30bb0ccec46e015
Bump minor version
inputfalken/Sharpy
src/Sharpy/Properties/AssemblyInfo.cs
src/Sharpy/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("S...
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("S...
mit
C#
3be63a2631b540228df1b6adeab733f11960cdcb
update Program.cs
xianrendzw/CodeBuilder
CodeBuilder.WinForm/Program.cs
CodeBuilder.WinForm/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace CodeBuilder.WinForm { using Configuration; using Properties; using UI; using Util; static class Program { static Logger logger = InternalTrace.GetLogger(typeof(Program)); ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace CodeBuilder.WinForm { using Configuration; using Properties; using UI; using Util; static class Program { static Logger logger = InternalTrace.GetLogger(typeof(Program)); ...
mit
C#
5761cc673f09c2826f909164e9bf7767664bab50
implement CatchModRelax
UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,peppy/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu-new,smoogipooo/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu
osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs
osu.Game.Rulesets.Catch/Mods/CatchModRelax.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; u...
// 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.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Catch.Mods { public class CatchModRelax : ModRelax { public override string Description => @"U...
mit
C#
19d483c52195e85a0a1974382167a86511f858f7
update version to 1.3.0.0
DevExpress/BigQueryProvider
BigQueryProvider/Properties/AssemblyInfo.cs
BigQueryProvider/Properties/AssemblyInfo.cs
/* Copyright 2015-2018 Developer Express 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 ...
/* Copyright 2015-2018 Developer Express 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 ...
apache-2.0
C#
941e6a9086fdb3da18d3adcba917c219518355de
Update Achievement.cs
overtools/OWLib
DataTool/DataModels/Achievement.cs
DataTool/DataModels/Achievement.cs
using System.Runtime.Serialization; using TankLib.STU.Types; using TankLib.STU.Types.Enums; using static DataTool.Helper.IO; namespace DataTool.DataModels { [DataContract] public class Achievement { [DataMember] public string Name; [DataMember] public string Achievemen...
using System.Runtime.Serialization; using TankLib.STU.Types; using TankLib.STU.Types.Enums; using static DataTool.Helper.IO; namespace DataTool.DataModels { [DataContract] public class Achievement { [DataMember] public string Name; [DataMember] public string Descriptio...
mit
C#
0b7c1f5205487e10d11672fe424081e29c20cf3b
Improve the way Booleans are shown if they are not within the maximum allowable limit
ddashwood/NeuralNet
NeuralNetTypes/NeuralNetBooleanFormatter.cs
NeuralNetTypes/NeuralNetBooleanFormatter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NeuralNet.Configuration; namespace NeuralNetTypes { class NeuralNetBooleanFormatter : NetInputOutputFormatter { private const double high = 0.9, low = 0.1, maxError = 0.1; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NeuralNet.Configuration; namespace NeuralNetTypes { class NeuralNetBooleanFormatter : NetInputOutputFormatter { private const double high = 0.9, low = 0.1, maxError = 0.1; ...
mit
C#
9b3c908b5acb945756006d913b650ddc858338fd
Fix null ref error if bfgminer returns no Status w / the devs API
nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Xgminer.Api/DeviceInformation.cs
MultiMiner.Xgminer.Api/DeviceInformation.cs
using System; namespace MultiMiner.Xgminer.Api { public class DeviceInformation { public DeviceInformation() { Status = String.Empty; } public string Kind { get; set; } public int Index { get; set; } public bool Enabled { get; set; } public s...
namespace MultiMiner.Xgminer.Api { public class DeviceInformation { public string Kind { get; set; } public int Index { get; set; } public bool Enabled { get; set; } public string Status { get; set; } public double Temperature { get; set; } public int FanSpeed { ...
mit
C#
ff56e07be0903a0c8de3cd845d600b587a48225c
Support non-seekable stream for embeddedresources
SiliconStudio/Mono.Cecil,furesoft/cecil,saynomoo/cecil,gluck/cecil,jbevain/cecil,fnajera-rac-de/cecil,sailro/cecil,kzu/cecil,xen2/cecil,cgourlay/cecil,ttRevan/cecil,joj/cecil,mono/cecil
Mono.Cecil/EmbeddedResource.cs
Mono.Cecil/EmbeddedResource.cs
// // EmbeddedResource.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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, i...
// // EmbeddedResource.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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, i...
mit
C#
9febec9a332f878833ea1757a4a55e1feb878be9
Use thread safe way of creating the inner parameter of a method return type.
jbevain/cecil,gluck/cecil,saynomoo/cecil,cgourlay/cecil,joj/cecil,mono/cecil,ttRevan/cecil,kzu/cecil,SiliconStudio/Mono.Cecil,sailro/cecil,furesoft/cecil,fnajera-rac-de/cecil,xen2/cecil
Mono.Cecil/MethodReturnType.cs
Mono.Cecil/MethodReturnType.cs
// // MethodReturnType.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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, i...
// // MethodReturnType.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2011 Jb Evain // // 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, i...
mit
C#
ec2b801bbbd72cd801e8a09cb376355aa5734699
Simplify sums
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle006.cs
src/ProjectEuler/Puzzles/Puzzle006.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; /// <summary> /// A class representing the solution to <c>https://pro...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
apache-2.0
C#
84454b01cd8d310599a03f7ea0b40f9d58ed669e
Test cases with different delimiters
StormPooper/CSharpKatas
StringCalcKata.Tests/StringCalcKataTests.cs
StringCalcKata.Tests/StringCalcKataTests.cs
using NUnit.Framework; namespace StringCalcKata.Tests { [TestFixture] public class StringCalcKataTests { public StringCalculator Calculator; [TestFixtureSetUp] public void CreateCalculator() { Calculator = new StringCalculator(); } [TestCase(""...
using NUnit.Framework; namespace StringCalcKata.Tests { [TestFixture] public class StringCalcKataTests { public StringCalculator Calculator; [TestFixtureSetUp] public void CreateCalculator() { Calculator = new StringCalculator(); } [TestCase(""...
unlicense
C#
26d35eaa44ead123790b8cd42ee3d9bae56509a9
Update AssemblyInfo.cs
robbihun/NStatsD.Client
NStatsD/Properties/AssemblyInfo.cs
NStatsD/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("NStatsD.Client")] [assembly: AssemblyDesc...
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("NStatsD.Client")] [assembly: AssemblyDesc...
mit
C#
aeb5cab84dcd1666f6df34a3d3fb752dffb51613
Update the copyright year.
PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta
Pinta/Dialogs/AboutPintaTabPage.cs
Pinta/Dialogs/AboutPintaTabPage.cs
// AboutPintaTabPage.cs // // Author: // Viktoria Dudka (viktoriad@remobjects.com) // // Copyright (c) 2009 RemObjects Software // // 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...
// AboutPintaTabPage.cs // // Author: // Viktoria Dudka (viktoriad@remobjects.com) // // Copyright (c) 2009 RemObjects Software // // 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...
mit
C#
cca10abf5fb02ab3e556ef6a5ad5ac0924a6325f
Fix broken test case
m-ender/retina,mbuettner/retina,m-ender/retina
Retina/RetinaTest/SortStageTest.cs
Retina/RetinaTest/SortStageTest.cs
using System; using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Retina; using Retina.Stages; namespace RetinaTest { [TestClass] public class SortStageTest { [TestMethod] public void TestBasicSorting() { AssertS...
using System; using System.Text.RegularExpressions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Retina; using Retina.Stages; namespace RetinaTest { [TestClass] public class SortStageTest { [TestMethod] public void TestBasicSorting() { AssertS...
mit
C#
311945545d9f7e4ebc7c093048f4598dfc3b3514
remove missing references from AetherPhasor
tainicom/Aether
Source/Core/Gluons/AetherPhasor.cs
Source/Core/Gluons/AetherPhasor.cs
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
apache-2.0
C#
60687cc5dce057941bfdbc73c9b09adf5ea300bc
Add stealth sprite-swap logic
cooperra/ld34-beanstalkers-extreme
Assets/Scripts/Stealth/StealthPlayer.cs
Assets/Scripts/Stealth/StealthPlayer.cs
using UnityEngine; using System.Collections; public class StealthPlayer : MainBehaviour{ public float MovementSpeed = 1.0f; public bool Stealthed = false; private float _input = 0.0f; public Sprite StealthSprite; private Sprite _nonStealthedSprite; protected override void GameUpdate(){ _input = PlayerInpu...
using UnityEngine; using System.Collections; public class StealthPlayer : MainBehaviour{ public float MovementSpeed = 1.0f; public bool Stealthed = false; private float _input = 0.0f; protected override void GameUpdate(){ _input = PlayerInput.Instance.UserInput; if(_input == 1){ transform.position = ne...
mit
C#
e19cbd78c5fcd503dc8c81eb09df2b11eeb4bbca
Remove overload by using default value
mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex
DiffPlex/DiffBuilder/Model/DiffPiece.cs
DiffPlex/DiffBuilder/Model/DiffPiece.cs
using System.Collections.Generic; namespace DiffPlex.DiffBuilder.Model { public enum ChangeType { Unchanged, Deleted, Inserted, Imaginary, Modified } public class DiffPiece { public ChangeType Type { get; set; } public int? Position { get; s...
using System.Collections.Generic; namespace DiffPlex.DiffBuilder.Model { public enum ChangeType { Unchanged, Deleted, Inserted, Imaginary, Modified } public class DiffPiece { public ChangeType Type { get; set; } public int? Position { get; s...
apache-2.0
C#
bf102c5e40bebadc44fad1882c7ba248eed43fa8
Add new fields to the Creative model
alecgorge/adzerk-dot-net
StackExchange.Adzerk/Models/Creative.cs
StackExchange.Adzerk/Models/Creative.cs
namespace StackExchange.Adzerk.Models { public class Creative { public long Id { get; set; } public long AdvertiserId { get; set; } public long AdTypeId { get; set; } public string Title { get; set; } public string ImageName { get; set; } publi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace StackExchange.Adzerk.Models { public class Creative { public long Id { get; set; } public long AdvertiserId { get; set; } public long AdTypeId { get; set; } public string Body { get...
mit
C#
b7107be2c62e39961e1018a256eb9fad9343385e
Allow OpenFileDialog to set filters.
TheBrainTech/xwt
Xwt.XamMac/Xwt.Mac/FileDialogBackend.cs
Xwt.XamMac/Xwt.Mac/FileDialogBackend.cs
// // FileDialogBackend.cs // // Author: // James Clancey <clancey@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without re...
// // FileDialogBackend.cs // // Author: // James Clancey <clancey@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without re...
mit
C#
362a153c2a913be2d142a193d24b01f139c487ba
Update MyDataRepository.cs
CarmelSoftware/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4,kelong/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4
Models/MyDataRepository.cs
Models/MyDataRepository.cs
// TODO: fix this class : class name : "RepositoryCaching" using system; ////public class MyDataRepository { // TODO: check what happens when different users use Cache simultaneously public ObjectCache Cache { get { return MemoryCache.Default; } } public bool IsIn...
// TODO: fix this class : class name : "RepositoryCaching" using system; public class MyDataRepository { // TODO: check what happens when different users use Cache simultaneously public ObjectCache Cache { get { return MemoryCache.Default; } } public bool IsInMemo...
mit
C#
409dc425c038b992bd1d439bdacb08369a6a7fba
Scale bitmap from screen
sakapon/Samples-2017
DrawingSample/BitmapScaleConsole/Program.cs
DrawingSample/BitmapScaleConsole/Program.cs
using System; using System.Collections.Generic; using System.Drawing.Imaging; using System.Linq; namespace BitmapScaleConsole { class Program { static void Main(string[] args) { Console.WriteLine("Press [Enter] key to start."); Console.ReadLine(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BitmapScaleConsole { class Program { static void Main(string[] args) { } } }
mit
C#
cb3c610dd6e2a7fddaf9b35e31e3d88c54cb071b
introduce path parameter from Get method
zhangyuan/UFO-API,zhangyuan/UFO-API,zhangyuan/UFO-API
test/ProductFacts.cs
test/ProductFacts.cs
using System.Linq; using System.Net; using System.Net.Http; using Newtonsoft.Json; using Xunit; namespace test { public class ProductFacts : TestBase { [Fact] public void ShouldReturnOk() { var httpResponseMessage = Server.CreateRequest("api/products").GetAsync().Result; ...
using System.Linq; using System.Net; using System.Net.Http; using Newtonsoft.Json; using Xunit; namespace test { public class ProductFacts : TestBase { [Fact] public void ShouldReturnOk() { var httpResponseMessage = Server.CreateRequest("api/products").GetAsync().Result; ...
mit
C#
47d215668dc5786d6dad5a2c9576b3649ba50d2d
Bump version to 1.7.
V10lator/Ultimate-Cam
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ult...
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("Ult...
mit
C#
685cfca5646d8fb6dc3be2918f56e678d8135faf
Remove extra version attributes
matwilko/ILGenerator.Extensions
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("IL...
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("IL...
apache-2.0
C#
f6cc6634ec76298bf7d17036fe81a5c4da0f58df
Bump version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQ...
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("SQ...
bsd-3-clause
C#
371876947a83749d0feacb86eb1b809c277e3ce2
Bump version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SQ...
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("SQ...
bsd-3-clause
C#
37dbfe9cad4bac269c8581a4b723ce6c13aa1ba1
Add MetadataDirective to CopyObjectRequest
carbon/Amazon
src/Amazon.S3/Actions/CopyObjectRequest.cs
src/Amazon.S3/Actions/CopyObjectRequest.cs
using System.Linq; using System.Net.Http; namespace Amazon.S3 { public sealed class CopyObjectRequest : S3Request { public CopyObjectRequest(string host, S3ObjectLocation source, S3ObjectLocation target) : base(HttpMethod.Put, host, target.BucketName, target.Key) { ...
using System.Net.Http; namespace Amazon.S3 { public sealed class CopyObjectRequest : S3Request { public CopyObjectRequest(string host, S3ObjectLocation source, S3ObjectLocation target) : base(HttpMethod.Put, host, target.BucketName, target.Key) { Headers.Add("x-...
mit
C#