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
032379eb809c15a286d005aa1144cf1937be2898
Convert to auto property with initializer
roman-yagodin/R7.Documents,roman-yagodin/R7.Documents,roman-yagodin/R7.Documents
R7.Documents/Models/DocumentSortColumnInfo.cs
R7.Documents/Models/DocumentSortColumnInfo.cs
// // Copyright (c) 2002-2011 by DotNetNuke Corporation // Copyright (c) 2014-2018 by Roman M. Yagodin <roman.yagodin@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software w...
// // Copyright (c) 2002-2011 by DotNetNuke Corporation // Copyright (c) 2014-2015 by Roman M. Yagodin <roman.yagodin@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software w...
mit
C#
1e461dc17b04dbbdd4ec93eee1eddc89b9d6c529
Fix null ref exception in Pipeline Witness. (#891)
tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools
tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/MavenBrokenPipeFailureClassifier.cs
tools/pipeline-witness/Azure.Sdk.Tools.PipelineWitness/Services/FailureAnalysis/MavenBrokenPipeFailureClassifier.cs
using Azure.Sdk.Tools.PipelineWitness.Entities.AzurePipelines; using Microsoft.TeamFoundation.Build.WebApi; using Microsoft.VisualStudio.Services.WebApi; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Azure.Sdk.Tools.PipelineWitness.Servic...
using Azure.Sdk.Tools.PipelineWitness.Entities.AzurePipelines; using Microsoft.TeamFoundation.Build.WebApi; using Microsoft.VisualStudio.Services.WebApi; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Azure.Sdk.Tools.PipelineWitness.Servic...
mit
C#
87959a59d980286daf6c082ef3edda8494e94bf6
Add missing "announce" channel type
peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game/Online/Chat/ChannelType.cs
osu.Game/Online/Chat/ChannelType.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. namespace osu.Game.Online.Chat { public enum ChannelType { Public, Private, Multiplayer, Spectator, Temporary, PM,...
// 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. namespace osu.Game.Online.Chat { public enum ChannelType { Public, Private, Multiplayer, Spectator, Temporary, PM,...
mit
C#
b808b2681524baadb8ceb88c56e90c4257e52f9a
Delete unused conditions
Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net
src/ZBlog/Components/TopPostsComponent.cs
src/ZBlog/Components/TopPostsComponent.cs
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Data.Entity; using ZBlog.Models; namespace ZBlog.Components { [ViewComponent(Name = "TopPosts")] public class TopPostsComponent : ViewComponent { public TopPostsComponent(ZBlogDbContext dbContext) ...
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.Data.Entity; using ZBlog.Models; namespace ZBlog.Components { [ViewComponent(Name = "TopPosts")] public class TopPostsComponent : ViewComponent { public TopPostsComponent(ZBlogDbContext dbContext) ...
mit
C#
85afb189673462254517f6625493f7bbf2ff9e66
Change AssemblyVersion to 1.6.2.0
gigya/microdot
SolutionVersion.cs
SolutionVersion.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
b8236af5b7d71eea7af3ec31577cdaff7184c732
Rename some projection test method names
huysentruitw/projecto
tests/Projecto.Tests/ProjectionTests.cs
tests/Projecto.Tests/ProjectionTests.cs
using System.Threading; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Projecto.Tests.TestClasses; namespace Projecto.Tests { [TestFixture] public class ProjectionTests { [Test] public void NextSequence_ValueAfterConstruction_ShouldStartAtFetchedValue() { ...
using System.Threading; using System.Threading.Tasks; using Moq; using NUnit.Framework; using Projecto.Tests.TestClasses; namespace Projecto.Tests { [TestFixture] public class ProjectionTests { [Test] public void NextSequence_ValueAfterConstruction_ShouldStartAtFetchedValue() { ...
apache-2.0
C#
10140dfdf426c9598b2e23b5ee183f8d2abcf2da
Format Projection
carbon/Amazon
src/Amazon.DynamoDb/Models/Projection.cs
src/Amazon.DynamoDb/Models/Projection.cs
#nullable disable using System; namespace Amazon.DynamoDb { public sealed class Projection { public Projection() { } public Projection(string[] nonKeyAttributes, ProjectionType type) { NonKeyAttributes = nonKeyAttributes ?? Array.Empty<string>(); ...
#nullable disable using System; namespace Amazon.DynamoDb { public sealed class Projection { public Projection() { } public Projection(string[] nonKeyAttributes, ProjectionType type) { NonKeyAttributes = nonKeyAttributes ?? Array.Empty<string>(); ProjectionT...
mit
C#
2fcc8e44255eb7693493fe9bd7872f3793fe0141
Add Decode method
mstrother/BmpListener
src/BmpListener/Bgp/OptionalParameter.cs
src/BmpListener/Bgp/OptionalParameter.cs
 using System; using System.Linq; namespace BmpListener.Bgp { public abstract class OptionalParameter { public OptionalParameterType Type { get; private set; } public int Length { get; private set; } public virtual void Decode(ArraySegment<byte> data) { Type = (Opt...
 namespace BmpListener.Bgp { public abstract class OptionalParameter { public OptionalParameter(byte[] data, int offset) { ParameterType = data[offset]; ParameterLength = data[offset + 1]; } public int ParameterType { get; } public int ParameterL...
mit
C#
c45fb4d3b5c19b4119938ae4a07a560a776dec85
Add default RepositoryConfigurationException constructor
appharbor/appharbor-cli
src/AppHarbor/RepositoryConfigurationException.cs
src/AppHarbor/RepositoryConfigurationException.cs
using System; namespace AppHarbor { public class RepositoryConfigurationException : Exception { public RepositoryConfigurationException() { } public RepositoryConfigurationException(string message) : base(message) { } } }
using System; namespace AppHarbor { public class RepositoryConfigurationException : Exception { public RepositoryConfigurationException(string message) : base(message) { } } }
mit
C#
7b684339ed64703c169dfccc27c3abfec521e586
Undo public -> internal for `PathControlPoint.Changed`
ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu
osu.Game/Rulesets/Objects/PathControlPoint.cs
osu.Game/Rulesets/Objects/PathControlPoint.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 Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Types; using osuTK; namespace osu.Game.Rulesets.Objects { public ...
// 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 Newtonsoft.Json; using osu.Framework.Bindables; using osu.Game.Rulesets.Objects.Types; using osuTK; namespace osu.Game.Rulesets.Objects { public ...
mit
C#
c7f0e9135dd00448c5519da60fade9433e131f56
Update Core
sunkaixuan/SqlSugar
Src/Asp.Net/SqlSugar/Realization/PostgreSQL/Queryable/PostgreSqlQueryable.cs
Src/Asp.Net/SqlSugar/Realization/PostgreSQL/Queryable/PostgreSqlQueryable.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public class PostgreSQLQueryable<T> : QueryableProvider<T> { public override ISugarQueryable<T> With(string withString) { return this; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public class PostgreSQLQueryable<T> : QueryableProvider<T> { public override ISugarQueryable<T> With(string withString) { return this; } ...
apache-2.0
C#
7b6619a16180a74c1bfbbfa2f107457573fa4242
add split audio function
Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818,Haishi2016/Vault818
Med-Bay/NAudioFunctions/NAudioFunctions/Program.cs
Med-Bay/NAudioFunctions/NAudioFunctions/Program.cs
using NAudio.Wave; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NAudioFunctions { class Program { static void Main(string[] args) { string inputFile = "exciting.wav"; strin...
using NAudio.Wave; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NAudioFunctions { class Program { static void Main(string[] args) { string inputFile = "exciting.wav"; strin...
mit
C#
7596d33563c423516b20f10432854f525a6c0994
Update PokemonExtension.cs
PokemonUnity/PokemonUnity
PokemonUnity.Shared/Extensions/PokemonExtension.cs
PokemonUnity.Shared/Extensions/PokemonExtension.cs
using System.Collections; namespace PokemonUnity { public static class PokemonExtension { public static bool IsNotNullOrNone(this PokemonUnity.Monster.Pokemon pokemon) { return pokemon != null || pokemon.Species != Pokemons.NONE; } public static bool IsNotNullOrNone(this PokemonUnity.Battle.Pokemon poke...
using System.Collections; namespace PokemonUnity { public static class PokemonExtension { public static bool IsNotNullOrNone(this PokemonUnity.Monster.Pokemon pokemon) { return pokemon != null || pokemon.Species != Pokemons.NONE; } public static bool IsNotNullOrNone(this PokemonUnity.Battle.Pokemon poke...
bsd-3-clause
C#
8e5365cb65c2c4bea243dc3dad2b7db4500f1b6c
Add JsonConstructor attribute to Bounds (#92)
chadly/Geocoding.net
src/Geocoding.Core/Bounds.cs
src/Geocoding.Core/Bounds.cs
using Newtonsoft.Json; using System; namespace Geocoding { public class Bounds { readonly Location southWest; readonly Location northEast; public Location SouthWest { get { return southWest; } } public Location NorthEast { get { return northEast; } } public Bounds(double southWestLatitude...
using System; namespace Geocoding { public class Bounds { readonly Location southWest; readonly Location northEast; public Location SouthWest { get { return southWest; } } public Location NorthEast { get { return northEast; } } public Bounds(double southWestLatitude, double southWestLongi...
mit
C#
2195d7be7103d6dec462735d8525082afaa11384
edit TODO list
yaronthurm/Pinger
Pinger/Code/Program.cs
Pinger/Code/Program.cs
using System; using System.IO; using System.Windows.Forms; namespace PingTester { static class Program { /* TODO: * issue 1: add support to new file format (xml) * issue 2: add full support for telnet, ssh, remote desktop, vnc (icons and prebuilt passwords) * issue 3: add l...
using System; using System.IO; using System.Windows.Forms; namespace PingTester { static class Program { /* TODO: * add support to new file format (xml) * add full support for telnet, ssh, remote desktop, vnc (icons and prebuilt passwords) * add log file to ping responses a...
mit
C#
f7a9c86794efd323970b655e9009d6cb05d4705f
Tidy up code to meet stylecop rules
daniellor/Nancy,tsdl2013/Nancy,lijunle/Nancy,EIrwin/Nancy,charleypeng/Nancy,albertjan/Nancy,MetSystem/Nancy,danbarua/Nancy,grumpydev/Nancy,jmptrader/Nancy,AlexPuiu/Nancy,cgourlay/Nancy,VQComms/Nancy,wtilton/Nancy,AcklenAvenue/Nancy,EliotJones/NancyTest,Worthaboutapig/Nancy,felipeleusin/Nancy,sadiqhirani/Nancy,EIrwin/Na...
src/Nancy.Testing/BrowserContextExtensions.cs
src/Nancy.Testing/BrowserContextExtensions.cs
namespace Nancy.Testing { using System.IO; using Nancy.Responses; /// <summary> /// Defines extensions for the <see cref="BrowserContext"/> type. /// </summary> public static class BrowserContextExtensions { /// <summary> /// Adds a multipart/form-data encoded re...
namespace Nancy.Testing { using Nancy.Json; /// <summary> /// Defines extensions for the <see cref="BrowserContext"/> type. /// </summary> public static class BrowserContextExtensions { /// <summary> /// Adds a multipart/form-data encoded request body to the <see cref...
mit
C#
7bc6cab72e3bc3ec3cffe026257fa3d8d4b5f6ba
Fix samples
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/CookieSample/Startup.cs
samples/CookieSample/Startup.cs
using System.Security.Claims; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.Authentication.Cookies; using Microsoft.Framework.DependencyInjection; namespace CookieSample { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
using System.Security.Claims; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.Authentication.Cookies; using Microsoft.Framework.DependencyInjection; namespace CookieSample { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
apache-2.0
C#
81ec54e7cf3abcee0fb7d44b9cf4c2e5f68414a4
Correct second copy of severity mappings to be compatible with Loupe.
GibraltarSoftware/Loupe.Agent.Core,GibraltarSoftware/Loupe.Agent.Core,GibraltarSoftware/Loupe.Agent.Core
src/Agent/LogMessageSeverity.cs
src/Agent/LogMessageSeverity.cs
using System; using Microsoft.Extensions.Logging; namespace Gibraltar.Agent { /// <summary> /// This enumerates the severity levels used by Loupe log messages. /// </summary> /// <remarks>The values for these levels are chosen to directly map to the TraceEventType enum /// for the five levels we su...
using System; using Microsoft.Extensions.Logging; namespace Gibraltar.Agent { /// <summary> /// This enumerates the severity levels used by Loupe log messages. /// </summary> /// <remarks>The values for these levels are chosen to directly map to the TraceEventType enum /// for the five levels we su...
mit
C#
a5098e9cc86be2650e8dcb5c166b77ccb10a8d7e
Update Signing.cs
stunney/NAntExtensions,stunney/NAntExtensions
NAnt.Extensions/Functions/Microsoft/Signing.cs
NAnt.Extensions/Functions/Microsoft/Signing.cs
/* The MIT License (MIT) Copyright (c) 2013-2014 Dave Tuchlinsky, Stephen Tunney, Canada (stephen.tunney@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
/* The MIT License (MIT) Copyright (c) 2013-2014 Dave Tuchlinsky, Stephen Tunney, Canada (stephen.tunney@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
mit
C#
5ebae2e9625164f77acd2a68bc7a62b81846cc80
fix duplciated X-App-Version
signumsoftware/framework,signumsoftware/framework,AlejandroCano/framework,AlejandroCano/framework,avifatal/framework,avifatal/framework
Signum.React/Filters/VersionFilterAttribute.cs
Signum.React/Filters/VersionFilterAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace Signum.React.Filters { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Web; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace Signum.React.Filters { public class VersionFilterAttribute : A...
mit
C#
2361eee47dbdee8b5052312af265105c5b0d37e5
Update version number.
MarimerLLC/csla,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light,rockfordlhotka/csla,jonnybee/csla,BrettJaner/csla,ronnymgm/csla-light,BrettJaner/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,BrettJaner/csla,JasonBock/csla
Source/Csla.Android/Properties/AssemblyInfo.cs
Source/Csla.Android/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>no summary</summary> //---------------------------...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>no summary</summary> //---------------------------...
mit
C#
20914162ea7391098df9b8b62e0c789be08665d3
Increase version number.
stackia/SteamFriendsManager
SteamFriendsManager/Properties/AssemblyInfo.cs
SteamFriendsManager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; // 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: AssemblyT...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; // 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: AssemblyT...
bsd-3-clause
C#
95a0652c02703760e5e7cccea72017c58b4a25ec
fix NUnit test identification warnings
ssg/HashDepot
test/FnvTestVector.cs
test/FnvTestVector.cs
// Copyright (c) 2015, 2016 Sedat Kapanoglu // MIT License - see LICENSE file for details using System; namespace HashDepot.Test { public class FnvTestVector { public byte[] Buffer { get; set; } public uint ExpectedResult32 { get; set; } public ulong ExpectedResult64 { get; set; } ...
// Copyright (c) 2015, 2016 Sedat Kapanoglu // MIT License - see LICENSE file for details namespace HashDepot.Test { public class FnvTestVector { public byte[] Buffer { get; set; } public uint ExpectedResult32 { get; set; } public ulong ExpectedResult64 { get; set; } } }
mit
C#
4d47fa9fa0153d183854fc677463fe754d85e40f
allow setting inputsmodel to null
ResourceDataInc/Simpler.Data,gregoryjscott/Simpler,ResourceDataInc/Simpler.Data,gregoryjscott/Simpler,ResourceDataInc/Simpler.Data
Simpler/TaskTITO.cs
Simpler/TaskTITO.cs
using Simpler.Injection; namespace Simpler { /// <summary> /// Task that accepts Type In and Type Out, meaning that generic types that are provided /// to this Task subclass that will be used to produce strongly typed inputs and outputs /// made available through the InputsModels and OutputsModels pro...
using Simpler.Injection; namespace Simpler { /// <summary> /// Task that accepts Type In and Type Out, meaning that generic types that are provided /// to this Task subclass that will be used to produce strongly typed inputs and outputs /// made available through the InputsModels and OutputsModels pro...
mit
C#
6ed115dbf89cdd96755d0acb2a15ddcf24deefdc
Add clear history functionality
tsolarin/readline,tsolarin/readline
src/ReadLine/ReadLine.cs
src/ReadLine/ReadLine.cs
using System.Collections.Generic; namespace System { public static class ReadLine { private static KeyHandler _keyHandler; private static List<string> _history; public static List<string> History { get { return _history; } ...
using System.Collections.Generic; namespace System { public static class ReadLine { private static KeyHandler _keyHandler; private static List<string> _history; public static List<string> History { get { return _history; } ...
mit
C#
5c9310b475cf87256ce772cb959cf66deefd3a3e
Update ActivateTests.cs
z4kn4fein/stashbox
test/ActivateTests.cs
test/ActivateTests.cs
using Stashbox.Attributes; using System; using Xunit; namespace Stashbox.Tests { public class ActivateTests { [Fact] public void ActivateTests_Full() { var inst = new StashboxContainer().Register<Test>().Activate<Test1>(); Assert.NotNull(inst.Test); ...
using Stashbox.Attributes; using System; using Xunit; namespace Stashbox.Tests { public class ActivateTests { [Fact] public void ActivateTests_Full() { var inst = new StashboxContainer().Register<Test>().Activate<Test1>(); Assert.NotNull(inst.Test); ...
mit
C#
186faafdfd1c33ef4bf131476da8870e887cb00a
Add test of scheduler usage
peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.cs
osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.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.Threading; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osuTK; namespace osu.Framework.Tests.Visual.Drawa...
// 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.Threading; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osuTK; namespace osu.Framework.Tests.Visual.Drawa...
mit
C#
f97fe72d4883d8ea99aede95066ae17f428256c5
add label names
DasAllFolks/SharpGraphs
Graph/Graph.cs
Graph/Graph.cs
using System; using System.Collections.Generic; namespace Graph { public class Vertex { private bool hasLabel; private string label; public Vertex () { this.hasLabel = false; } public Vertex (string label) { this.Label = label; } // XXXX: Remind self how to link to private field? public...
using System; using System.Collections.Generic; namespace Graph { public class Vertex { private bool hasLabel; private string label; public Vertex () { this.hasLabel = false; } public Vertex (string label) { this.Label = label; } // XXXX: Remind self how to link to private field? public...
apache-2.0
C#
62f9e30d32fb78d5a7b7126c56d36a2cbc67fc81
add few methods to compleate equation
pashchuk/Numerical-methods,pashchuk/Numerical-methods
CSharp/lab1/SquaresMethod.cs
CSharp/lab1/SquaresMethod.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms.VisualStyles; using System.IO; namespace lab1 { public class SquaresMethod { #region Fields private Matrix<double> _matrix; private double[] _vector; #endregion ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lab1 { public class SquaresMethod { #region Fields private Matrix<double> _matrix; #endregion #region Properties #endregion #region Costructors public SquaresMethod(Ma...
mit
C#
00e50946e29fc21f99585c144f9864e6ad5af4ef
Add EnumerateArray() extension for tables
OpenRA/Eluant,cdhowie/Eluant,WFoundation/Eluant
Eluant/LuaValueExtensions.cs
Eluant/LuaValueExtensions.cs
using System; using System.Collections.Generic; namespace Eluant { public static class LuaValueExtensions { public static bool IsNil(this LuaValue self) { return self == null || self == LuaNil.Instance; } public static IEnumerable<LuaValue> EnumerateArray(this LuaTa...
using System; namespace Eluant { public static class LuaValueExtensions { public static bool IsNil(this LuaValue self) { return self == null || self == LuaNil.Instance; } } }
mit
C#
77db73b882443a5fa1d2fa7ab38e5e43796be297
Add MathF.Tanh function.
eylvisaker/AgateLib
AgateLib/Mathematics/MathF.cs
AgateLib/Mathematics/MathF.cs
// // Copyright (c) 2006-2018 Erik Ylvisaker // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy...
// // Copyright (c) 2006-2018 Erik Ylvisaker // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy...
mit
C#
a1cbff60ccd27ab3027179586bbee59d9e173f1d
Fix UWP VirtualAlloc import (dotnet/corert#6882)
BrennanConroy/corefx,ViktorHofer/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,ptoonen/corefx,ptoonen/corefx,shimi...
src/Common/src/CoreLib/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
src/Common/src/CoreLib/Interop/Windows/Kernel32/Interop.VirtualAlloc.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; internal partial class Interop { internal partial class Ker...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Runtime.InteropServices; internal partial class Interop { internal partial class Ker...
mit
C#
a353eee1276641827781aa95be76f5e3149d96fb
Fix spin function to use local rotation
plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Resources/Microgames/_Bosses/PaperThief/Scripts/PaperThiefSpin.cs
Assets/Resources/Microgames/_Bosses/PaperThief/Scripts/PaperThiefSpin.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PaperThiefSpin : MonoBehaviour { [SerializeField] private int rotateSpeed; [SerializeField] private bool _facingRight; public bool facingRight { get {return _facingRight;} set {_facingRight = value;} } void Star...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class PaperThiefSpin : MonoBehaviour { [SerializeField] private int rotateSpeed; [SerializeField] private bool _facingRight; public bool facingRight { get {return _facingRight;} set {_facingRight = value;} } void Star...
mit
C#
81d7ca37a0952d0b334e15a503f7c518d7c0cdd2
Fix formatting
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml
Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml
@model Vehicle @switch (Model.Status) { case Vehicle.VehicleStatus.FMC: <span class="label label-success">FMC</span> return; case Vehicle.VehicleStatus.NMC: <span class="label label-danger">NMC</span> return; case Vehicle.VehicleStatus.Unknown: <span class="label l...
@model Vehicle @switch(Model.Status) { case Vehicle.VehicleStatus.FMC: <span class="label label-success">FMC</span> return; case Vehicle.VehicleStatus.NMC: <span class="label label-danger">NMC</span> return; case Vehicle.VehicleStatus.Unknown: <span class="...
mit
C#
1d799ff1f86396eb59154a17f3fe2353aa09d791
Fix NullException ocurring in GetFeaturesInView() when BoundingBox is null
charlenni/Mapsui,charlenni/Mapsui,tebben/Mapsui,pauldendulk/Mapsui
Mapsui/Layers/MemoryLayer.cs
Mapsui/Layers/MemoryLayer.cs
using Mapsui.Fetcher; using Mapsui.Geometries; using Mapsui.Providers; using System.Collections.Generic; using System.Threading.Tasks; using Mapsui.Styles; namespace Mapsui.Layers { public class MemoryLayer : BaseLayer { public IProvider DataSource { get; set; } public override IEnumerable<IF...
using Mapsui.Fetcher; using Mapsui.Geometries; using Mapsui.Providers; using System.Collections.Generic; using System.Threading.Tasks; using Mapsui.Styles; namespace Mapsui.Layers { public class MemoryLayer : BaseLayer { public IProvider DataSource { get; set; } public override IEnumerable<IF...
mit
C#
59df9468c0c3ac4cc333b2f1e9f5aa33b2548da9
Allow cactbot to be restarted
quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot
ACTPlugin.cs
ACTPlugin.cs
using Advanced_Combat_Tracker; using CefSharp; using CefSharp.Wpf; using System; using System.Windows.Forms; namespace Cactbot { public class ACTPlugin : IActPluginV1 { SettingsTab settingsTab = new SettingsTab(); BrowserWindow browserWindow; #region IActPluginV1 Members public...
using Advanced_Combat_Tracker; using CefSharp; using CefSharp.Wpf; using System; using System.Windows.Forms; namespace Cactbot { public class ACTPlugin : IActPluginV1 { SettingsTab settingsTab = new SettingsTab(); BrowserWindow browserWindow; #region IActPluginV1 Members public...
apache-2.0
C#
e2bcc4e035aaa2e0c9495d3deed5704bc4e0e72f
Update Box.cs
dimmpixeye/Unity3dTools
Runtime/LibProcessors/Box.cs
Runtime/LibProcessors/Box.cs
// Project : ACTORS // Contacts : Pixeye - ask@pixeye.games using System; using System.Collections.Generic; using UnityEngine; using Object = UnityEngine.Object; namespace Pixeye.Framework { /// <summary> /// <para>Caches / return assets that Developer takes from the Resources folder. /// Box cleans cache when ...
// Project : ACTORS // Contacts : Pixeye - ask@pixeye.games using System; using System.Collections.Generic; using UnityEngine; using Object = UnityEngine.Object; namespace Pixeye.Framework { /// <summary> /// <para>Caches / return assets that Developer takes from the Resources folder. /// Box cleans cache when ...
mit
C#
c6dd75f67794b631e7f1cee9ef5c2824223c33cb
Move currentPipeline to be a local variable
WimObiwan/Pash,sburnicki/Pash,sillvan/Pash,JayBazuzi/Pash,sillvan/Pash,sburnicki/Pash,sburnicki/Pash,Jaykul/Pash,JayBazuzi/Pash,ForNeVeR/Pash,ForNeVeR/Pash,Jaykul/Pash,JayBazuzi/Pash,Jaykul/Pash,mrward/Pash,mrward/Pash,JayBazuzi/Pash,mrward/Pash,ForNeVeR/Pash,sburnicki/Pash,WimObiwan/Pash,sillvan/Pash,WimObiwan/Pash,si...
Source/PashGui/MainWindow.cs
Source/PashGui/MainWindow.cs
using System; using Gtk; using System.Management.Automation.Runspaces; using System.Management.Automation.Host; using PashGui; public partial class MainWindow: Gtk.Window { readonly private Runspace runspace; readonly private Host host; public MainWindow(): base (Gtk.WindowType.Toplevel) { Bui...
using System; using Gtk; using System.Management.Automation.Runspaces; using System.Management.Automation.Host; using PashGui; public partial class MainWindow: Gtk.Window { readonly private Runspace runspace; readonly private Host host; private Pipeline currentPipeline; public MainWindow(): base (Gtk....
bsd-3-clause
C#
77c530fa93fc3ce3865d2b9ee782f4eb81efda2b
fix connections string
jona8690/Project-Getting-Real
Code/Core/Database.cs
Code/Core/Database.cs
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; namespace Core { public class Database { private const string ConnInfo = "Server=ealdb1.eal.local; Database=ejl86_db; User Id=ejl86_usr; Password=Baz1nga86"; private SqlConnection Conn; //D...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; namespace Core { public class Database { private const string ConnInfo = "Server=ealdb1.eal.local; Database=ejl86_usr; Password=Baz1nga86"; private SqlConnection Conn; //Database() ...
mit
C#
6b5aa7787bf44ca77b82cf353e8c6cdd0171bc29
change how MainWindow sets screens
svmnotn/cuddly-octo-adventure
Game/UI/MainWindow.cs
Game/UI/MainWindow.cs
namespace COA.Game.UI { using System; using System.Windows.Forms; using Controls; using Data; internal partial class MainWindow : Form { UserControl current; internal UserControl Current { get { return current; } set { if(current != null) { current.Visible = false; ...
namespace COA.Game.UI { using System; using System.Windows.Forms; using Controls; using Data; internal partial class MainWindow : Form { UserControl current; internal UserControl Current { get { return current; } set { if(!Controls.Contains(value)) { Controls.Add(value)...
mit
C#
6e821a426d4bcc234788a7703110ed9fc7ad5185
Fix restoration of enabled mods when cancelling song select
johnneijzen/osu,peppy/osu,johnneijzen/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,naoey/osu,ppy/osu,DrabWeb/osu,ppy/osu,peppy/osu,smoogipoo/osu,ZLima12/osu,smoogipooo/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,DrabWeb/...
osu.Game/Screens/Select/MatchSongSelect.cs
osu.Game/Screens/Select/MatchSongSelect.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 Humanizer; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.F...
// 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 Humanizer; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Screens; using osu.Game.B...
mit
C#
c020bed936eb6286e05f5de5f2e7021e7a9c9c55
修正 Ivony.Web 项目版本号。
yonglehou/Jumony,zpzgone/Jumony,wukaixian/Jumony,yonglehou/Jumony,wukaixian/Jumony,zpzgone/Jumony
Ivony.Web/Properties/AssemblyInfo.cs
Ivony.Web/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Ivony.Web")] [assembly: AssemblyDescription( "a web utils" )] [assembly: AssemblyConfiguration("")] [assembly: Ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Resources; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Ivony.Web")] [assembly: AssemblyDescription( "a web utils" )] [assembly: AssemblyConfiguration("")] [assembly: Ass...
apache-2.0
C#
95f0ce95ea705859127eb1e78fc72e8d8212e006
Update 1.0.0.1
NoShurim/Buddys
Kayn/Kayn/Properties/AssemblyInfo.cs
Kayn/Kayn/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#
3bef48352c076e6871b159a9208765154d5dcbf9
Update NClock.cs
demigor/nreact
NReact.Demo.Wpf/Components/NClock.cs
NReact.Demo.Wpf/Components/NClock.cs
using System; using System.Threading; namespace NReact { public partial class NClock : NComponent { Timer _timer; public override object GetDefaultProps() { return new { FS = 36.0 }; } protected override object GetInitialState() { return new { Time = DateTime.Now, Tick = 0 };...
using System; using System.Threading; namespace NReact { public partial class NClock : NComponent { Timer _timer; public override object GetDefaultProps() { return new { FS = 36D }.AsDynamic(); } protected override object GetInitialState() { return new { Time = DateTime.Now, ...
mit
C#
45d57920447db49d2f7d0e8838046d656434ce9e
Update version to 4.3.0
TheOtherTimDuncan/TOTD
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfigura...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfigura...
mit
C#
047c4452fd9d03837ba86830eda1ad17d426a5d2
Update ProductMap.cs
henkmollema/Dapper-FluentMap,henkmollema/Dapper-FluentMap,thomasbargetz/Dapper-FluentMap,bondarenkod/Dapper-FluentMap,arumata/Dapper-FluentMap
examples/ProductMap.cs
examples/ProductMap.cs
using Dapper.FluentMap.Mapping; namespace App.Data.Mapping { /// <summary> /// Represents a manual mapping for the Product entity. /// </summary> public class ProductMap : EntityMap<Product> { public ProductMap() { // Map property 'Name' to column 'strName'. Map(p => p.Name) .ToColumn("strName"); ...
using Dapper.FluentMap.Mapping; namespace App.Data.Mapping { /// <summary> /// Represents a manual mapping for the Product entity. /// </summary> public class ProductMap : EntityMap<Product> { public ProductMap() { // Map property 'Name' to column 'strName'. Map(p => p.Name) .ToColumn("strN...
mit
C#
52fd325daaf6c44abbe17ca887be477d259a7700
Update Coin.cs
erdenbatuhan/Venture
Assets/Scripts/Coin.cs
Assets/Scripts/Coin.cs
// // Coin.cs // Venture // // Created by Batuhan Erden. // Copyright © 2016 Batuhan Erden. All rights reserved. // using UnityEngine; using System.Collections; public class Coin : MonoBehaviour { public GameObject coinEffect; private void OnTriggerEnter() { GetComponent<MeshRenderer>().enabled = false; ...
// // Coin.cs // A Vaila Ball - Computer // // Created by Batuhan Erden. // Copyright © 2016 Batuhan Erden. All rights reserved. // using UnityEngine; using System.Collections; public class Coin : MonoBehaviour { public GameObject coinEffect; private void OnTriggerEnter() { GetComponent<MeshRenderer>().ena...
mit
C#
0dee6ceab74a3826c2705d55e50921f58d38dc52
Remove unnecessary using
EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Obje...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Obje...
mit
C#
da794063fb4003d7f7f365dd4165ef82bc7ed079
Remove IUpload constructor from UploadPartRequest
carbon/Amazon
src/Amazon.S3/Actions/UploadPartRequest.cs
src/Amazon.S3/Actions/UploadPartRequest.cs
using System; namespace Amazon.S3 { // PUT /ObjectName?partNumber=PartNumber&uploadId=UploadId public sealed class UploadPartRequest : PutObjectRequest { public UploadPartRequest(string host, string bucketName, string key, string uploadId, int partNumber) : base(host, bucketName...
using System; using Carbon.Storage; namespace Amazon.S3 { // PUT /ObjectName?partNumber=PartNumber&uploadId=UploadId public sealed class UploadPartRequest : PutObjectRequest { public UploadPartRequest(string host, IUpload upload, int partNumber) : this(host, upload.BucketName...
mit
C#
d25849c3859765d7caf99dc48cfdcdcd7758f5e6
Use new API to build durable Exchange
lsfera/Carrot,naighes/Carrot
src/Carrot/Messages/ConsumedMessageBase.cs
src/Carrot/Messages/ConsumedMessageBase.cs
using System; using System.Threading.Tasks; using Carrot.Configuration; using Carrot.Extensions; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace Carrot.Messages { public abstract class ConsumedMessageBase { protected readonly BasicDeliverEventArgs Args; protected ConsumedMessage...
using System; using System.Threading.Tasks; using Carrot.Configuration; using Carrot.Extensions; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace Carrot.Messages { public abstract class ConsumedMessageBase { protected readonly BasicDeliverEventArgs Args; protected ConsumedMessage...
mit
C#
9e4b4338dbad4e14d994247259386833a52263c4
add http error codes to error actions
codeimpossible/proggr,codeimpossible/proggr
src/Proggr/Controllers/ErrorsController.cs
src/Proggr/Controllers/ErrorsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Proggr.Controllers { public class ErrorsController : ControllerBase { public ActionResult Index() { Response.StatusCode = 412; return View(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace Proggr.Controllers { public class ErrorsController : ControllerBase { public ActionResult Index() { return View(); } public ActionResult NotFound() ...
bsd-3-clause
C#
e8588ea1a6088fb9e53d03ce8382d7aa62e6100d
Test break fix
ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact
src/SqlCeDataStoreSource.cs
src/SqlCeDataStoreSource.cs
using Microsoft.Data.Entity; using Microsoft.Data.Entity.Storage; namespace ErikEJ.Data.Entity.SqlServerCe { public class SqlCeDataStoreSource : DataStoreSource<SqlCeDataStoreServices, SqlCeOptionsExtension> { public override void AutoConfigure(DbContextOptionsBuilder optionsBuilder) { ...
using Microsoft.Data.Entity; using Microsoft.Data.Entity.Storage; namespace ErikEJ.Data.Entity.SqlServerCe { public class SqlCeDataStoreSource : DataStoreSource<SqlCeDataStoreServices, SqlCeOptionsExtension> { public override void AutoConfigure(DbContextOptionsBuilder optionsBuilder) { ...
apache-2.0
C#
068996678bda9c7b2611f3379808091d519f96a5
Add mLogger to Unity Window menu
bartlomiejwolk/FileLogger
Editor/LoggerWindow.cs
Editor/LoggerWindow.cs
using UnityEngine; using UnityEditor; using System; using System.Collections; namespace mLogger { public class LoggerWindow : EditorWindow { private Logger loggerInstance; public Logger LoggerInstance { get { if (loggerInstance == null) { loggerI...
using UnityEngine; using UnityEditor; using System; using System.Collections; namespace mLogger { public class LoggerWindow : EditorWindow { private Logger loggerInstance; public Logger LoggerInstance { get { if (loggerInstance == null) { loggerI...
mit
C#
ad509142ea6a61a6589404d5fffe04fef184dcdf
change stateProvider to an Action so it cannot be replaced externally
Pondidum/Finite,Pondidum/Finite
Finite/StateMachine.cs
Finite/StateMachine.cs
using System; using System.Collections.Generic; using System.Linq; using Finite.Configurations; namespace Finite { public class StateMachine<TSwitches> { private readonly MachineConfiguration<TSwitches> _configuration; private readonly States<TSwitches> _states; private readonly TSwitches _switches; public ...
using System; using System.Collections.Generic; using System.Linq; using Finite.Configurations; namespace Finite { public class StateMachine<TSwitches> { private readonly MachineConfiguration<TSwitches> _configuration; private readonly States<TSwitches> _states; private readonly TSwitches _switches; public ...
lgpl-2.1
C#
2c279ebbdbb2f1b8c75b480e11e72e1670eeb037
add some stubs
ravjotsingh9/StockTradingApplication
ClientServer/Server/Stock.cs
ClientServer/Server/Stock.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using Server.Yahoo_Finance; // namespace Server { public class Stock { public string stockname; public float stockprice; // Stock list and p...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using Server.Yahoo_Finance; // namespace Server { public class Stock { public string stockname; public float stockprice; private List<stockQuote> qu...
apache-2.0
C#
d1c3dffc6e25254b2a47d10f05e473b6e84b00a6
Update console test output
refactorsaurusrex/FluentConsole
TestConsole/Program.cs
TestConsole/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using FluentConsole.Library; namespace TestConsole { class Program { static void Main(string[] args) { FluentConsoleSettings.LineWrapOption = LineWra...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FluentConsole.Library; namespace TestConsole { class Program { static void Main(string[] args) { FluentConsoleSettings.LineWrapOption = LineWrapOption.Auto; ...
mit
C#
b6a5cd8cfc8da2251cd1284d5f4578f68fe54781
Fix missing return
maxthecatstudios/UnityTC
UnityTC.CLI/Program.cs
UnityTC.CLI/Program.cs
// // © 2016 Max the Cat Studios Ltd. // // https://maxthecatstudios.com // @maxthecatstudio // // Created By Desmond Fernando 2016 06 30 12:22 PM // // // using System.Linq; namespace UnityTC.CLI { class Program { private static int Main( string[] args ) { return Uni...
// // © 2016 Max the Cat Studios Ltd. // // https://maxthecatstudios.com // @maxthecatstudio // // Created By Desmond Fernando 2016 06 30 12:22 PM // // // using System.Linq; namespace UnityTC.CLI { class Program { static void Main( string[] args ) { Unity.StartUnity(...
mit
C#
8cd957784e820f039ca13ccb13019a3a24c2847b
Remove Main()'s unused args parameter
OlsonDev/YeamulNet
Yeamul.Test/Program.cs
Yeamul.Test/Program.cs
using System; namespace Yeamul.Test { class Program { static void Main() { Node nn = Node.Null; Console.WriteLine(nn); Node nbt = true; Console.WriteLine(nbt); Node nbf = false; Console.WriteLine(nbf); Node n16 = short.MinValue; Console.WriteLine(n16); Node n32 = int.MinValue; Con...
using System; namespace Yeamul.Test { class Program { static void Main(string[] args) { Node nn = Node.Null; Console.WriteLine(nn); Node nbt = true; Console.WriteLine(nbt); Node nbf = false; Console.WriteLine(nbf); Node n16 = short.MinValue; Console.WriteLine(n16); Node n32 = int.Min...
mit
C#
be971cb6f72824b0a130b0e36dde126a43bb38a2
Allow forced encoding to override default encoding
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/Common/ArchiveEncoding.cs
src/SharpCompress/Common/ArchiveEncoding.cs
using System; using System.Text; namespace SharpCompress.Common { public class ArchiveEncoding { /// <summary> /// Default encoding to use when archive format doesn't specify one. /// </summary> public Encoding Default { get; set; } /// <summary> /// ArchiveEnc...
using System; using System.Text; namespace SharpCompress.Common { public class ArchiveEncoding { /// <summary> /// Default encoding to use when archive format doesn't specify one. /// </summary> public Encoding Default { get; set; } /// <summary> /// ArchiveEnc...
mit
C#
d2882729fdf1231bfccc43f4a683834e0366a441
change the android apk path filename to be correct (#27)
xamarinhq/app-evolve,xamarinhq/app-evolve
src/XamarinEvolve.UITests/AppInitializer.cs
src/XamarinEvolve.UITests/AppInitializer.cs
using System; using System.IO; using System.Linq; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace XamarinEvolve.UITests { public class AppInitializer { const string apkfile = "../../../XamarinEvolve.Android/bin/UITest/com.xamarin.xamarinevolve-Signed.apk"; // co...
using System; using System.IO; using System.Linq; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace XamarinEvolve.UITests { public class AppInitializer { const string apkfile = "../../../XamarinEvolve.Android/bin/UITest/com.sample.evolve-Signed.apk"; // const stri...
mit
C#
314f16af39cd7974aceb35e81a4d6bec1dedeb83
Fix some documentation incorrectness.
nohros/must,nohros/must,nohros/must
src/base/common/data/readers/DataReaders.cs
src/base/common/data/readers/DataReaders.cs
using System; using System.Data; using Nohros.Resources; namespace Nohros.Data { /// <summary> /// Utility methods for <see cref="IDataReader"/>. /// </summary> public sealed class DataReaders { /// <summary> /// Return the indexes of the named fields. /// </summary> /// <param...
using System; using System.Data; using Nohros.Resources; namespace Nohros.Data { /// <summary> /// Utility methods for <see cref="IDataReader"/>. /// </summary> public sealed class DataReaders { /// <summary> /// Return the indexes of the named fields. /// </summary> /// <param...
mit
C#
4b9d1496acbe29a0d64609db07923dd99f746bc7
Move SharpDX to next minor verison 2.5.1
tomba/Toolkit,sharpdx/Toolkit,sharpdx/Toolkit
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.cs
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
// Copyright (c) 2010-2013 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
mit
C#
a178c44b60e578cf654d57d2a98361d94d147737
Remove snap line dependencies
ppy/osu,2yangk23/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,ZLima12/osu,smoogipoo/osu,peppy/osu-ne...
osu.Game.Rulesets.Mania/Edit/ManiaEditPlayfield.cs
osu.Game.Rulesets.Mania/Edit/ManiaEditPlayfield.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.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Mania.UI; using System.Collections.Generic; namespace osu.Game.Rulesets.Mania.Edit { public class M...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Mania.UI; using Syst...
mit
C#
1038034172c0c12938bc66fe7c399cd8c0d4733f
Update example
JokkeeZ/Twitchie
Twitchie2.Example/Program.cs
Twitchie2.Example/Program.cs
using System; using System.Threading.Tasks; using Twitchie2.Events; namespace Twitchie2.Example { class Program { static async Task Main() { using var twitchie = new Twitchie(); await twitchie.ConnectAsync(); twitchie.Login("jokkeez", "oauth:password"); twitchie.SetDefaultChannels(new[] { "#jokkee...
using System; using System.Threading.Tasks; using Twitchie2.Events; namespace Twitchie2.Example { class Program { static async Task Main(string[] args) { using var twitchie = new Twitchie(); await twitchie.ConnectAsync(); twitchie.Login("jokkeez", "oauth:password"); twitchie.SetDefaultChannels(new...
mit
C#
d48e62a00cc4235fd5ac1f6d0373d51e73b18fe5
Add a ParentScene property Add properties for WindowWidth and WindowHeight which help the syntax a bit
opcon/Substructio,opcon/Substructio
GUI/Scene.cs
GUI/Scene.cs
using System; using Substructio.Core; namespace Substructio.GUI { public abstract class Scene : IDisposable { #region Member Variables #endregion #region Properties public bool Exclusive; public bool Loaded; public SceneManager SceneManager; public Sc...
using System; using Substructio.Core; namespace Substructio.GUI { public abstract class Scene : IDisposable { #region Member Variables #endregion #region Properties public bool Exclusive; public bool Loaded; public SceneManager SceneManager; public bo...
mit
C#
fa2754cb07cb110910378f76cd9aaac7539d4eff
Add test for autor properties
paulodiovani/feevale-cs-livraria-2015
LivrariaTest/AutorTest.cs
LivrariaTest/AutorTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Livraria; namespace LivrariaTest { [TestClass] public class AutorTest { [TestMethod] public void TestProperties() { Autor autor = new Autor(); autor.CodAutor = 999; ...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LivrariaTest { [TestClass] public class AutorTest { [TestMethod] public void TestMethod1() { Assert.AreEqual(true, true); } } }
mit
C#
59f33a7dc00f5678abeb5c257a4f0391dcd662f8
Update Dewey Create View's number input to be of type number.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Views/Deweys/Create.cshtml
src/Open-School-Library/Views/Deweys/Create.cshtml
@model Open_School_Library.Models.DeweyViewModels.DeweyCreateViewModel @{ ViewData["Title"] = "Create"; } <h2>Create</h2> <form asp-action="Create"> <div class="form-horizontal"> <h4>Dewey</h4> <hr /> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div clas...
@model Open_School_Library.Models.DeweyViewModels.DeweyCreateViewModel @{ ViewData["Title"] = "Create"; } <h2>Create</h2> <form asp-action="Create"> <div class="form-horizontal"> <h4>Dewey</h4> <hr /> <div asp-validation-summary="ModelOnly" class="text-danger"></div> <div clas...
mit
C#
8f93ed610d9e8ddd06791a0bbe6dc15247de934f
Update AlembicStreamPlayerEditor.cs
unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter
AlembicImporter/Assets/UTJ/AlembicImporter/Editor/AlembicStreamPlayerEditor.cs
AlembicImporter/Assets/UTJ/AlembicImporter/Editor/AlembicStreamPlayerEditor.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace UTJ.Alembic { [ExecuteInEditMode] [CustomEditor(typeof(AlembicStreamPlayer))] public class AlembicStreamPlayerEditor : Editor { public override void OnInspectorGUI() { SerializedProperty iterator = th...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace UTJ.Alembic { [ExecuteInEditMode] [CustomEditor(typeof(AlembicStreamPlayer))] public class AlembicStreamPlayerEditor : Editor { public override void OnInspectorGUI() { SerializedProperty iterator = th...
mit
C#
b8f1b0e5a61724e47597fdd753ce0e0cf4d9a1e0
Remove unneeded usings
TheEadie/PlayerRank,TheEadie/PlayerRank
UnitTests/HistoryTests.cs
UnitTests/HistoryTests.cs
using System.Linq; using PlayerRank.Scoring.Simple; using Xunit; namespace PlayerRank.UnitTests { public class HistoryTests { [Fact] public void CanGetHistoryOfLeague() { var league = new League(); for (var i = 0; i < 10; i++) { var ...
using System.Collections.Generic; using System.Linq; using PlayerRank.Scoring; using PlayerRank.Scoring.Simple; using Xunit; namespace PlayerRank.UnitTests { public class HistoryTests { [Fact] public void CanGetHistoryOfLeague() { var league = new League(); for...
mit
C#
8e828053183c7529433523bf1b9e26b0cbd8e5e0
Fix off-by-one error in DisplayModeCollection.
alesliehughes/monoDX,alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayModeCollection.cs
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/DisplayModeCollection.cs
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 ...
mit
C#
2cfa0b292d8b2ef86e9f6a4be875dd7cbbd355b5
Fix exception message
arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp
src/Transport.cs
src/Transport.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.IO; namespace NDesk.DBus.Transports { public abstract class Transport { public static Transport Create (AddressEntry entry) { switch (entry.Method) { ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.IO; namespace NDesk.DBus.Transports { public abstract class Transport { public static Transport Create (AddressEntry entry) { switch (entry.Method) { ...
mit
C#
e3470c7ac30366a3a3fa4120c69d8b11615d79c1
Remove unused enum
PowerShell/PowerShellEditorServices
src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs
src/PowerShellEditorServices/Services/PowerShell/Execution/ExecutionOptions.cs
using System; namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution { public enum ExecutionPriority { Normal, Next, } public record ExecutionOptions { public static ExecutionOptions Default = new() { Priority = ExecutionPriority.No...
using System; namespace Microsoft.PowerShell.EditorServices.Services.PowerShell.Execution { public enum TaskKind { Foreground, Background, } public enum ExecutionPriority { Normal, Next, } public record ExecutionOptions { public static Executio...
mit
C#
9cbceaa4b6f74c50b646aacdd740aab7486961ef
Update foodservices.cs
RobinsonMann/UWaterlooApi
foodservices/foodservices.cs
foodservices/foodservices.cs
/*....By : Robinson Mann *..Date : 2/3/2015 *.About : Contians all the classes need for any of the foodserivces * API calls, aswell as associated factory methods. **********************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi...
/*....By : Robinson Mann *..Date : 2/3/2015 *.About : Contians all the classes need for any of the foodserivces * API calls, aswell as associated factory methods. **********************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi...
mit
C#
a0255504a30f3eccd91dd706d01bf00e335daf3e
Update version
gahcep/App.Refoveo
App.Refoveo/Properties/GlobalAssemblyInfo.cs
App.Refoveo/Properties/GlobalAssemblyInfo.cs
using System.Reflection; /* General Product Information */ [assembly: AssemblyProduct("App.Refoveo")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] /* Configuration Type */ #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: Asse...
using System.Reflection; /* General Product Information */ [assembly: AssemblyProduct("App.Refoveo")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright © 2014")] [assembly: AssemblyTrademark("")] /* Configuration Type */ #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: Asse...
mit
C#
0103cf8e2d82317972e45cf861b5ca9ad5b1a532
fix bug for losing permessageorexecution lifetime manager case in MSDbContext constructrue
IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework
Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/MSDbContext.cs
Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/MSDbContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Reflection; using IFramework.Domain; using IFramework.Infrastructure; using IFramework.UnitOfWork; using IFramework.Infrastructure.Unity.Lifeti...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Reflection; using IFramework.Domain; using IFramework.Infrastructure; using IFramework.UnitOfWork; using IFramework.Infrastructure.Unity.Lifeti...
mit
C#
1cc337974d1bf8e49455f2d79dbf93164d2ad85d
Fix compile failure.
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
bigquery/data-transfer/api/QuickStart/QuickStart.cs
bigquery/data-transfer/api/QuickStart/QuickStart.cs
/* * Copyright (c) 2018 Google LLC * * 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 (c) 2018 Google LLC * * 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#
da6a75233628f66779705a7d5b083f5ad3f8f939
fix problem with looking at ps files in root
jsacapdev/dockerfiles,jsacapdev/dockerfiles,Capgemini/dockerfiles,Capgemini/dockerfiles
helpers.cake
helpers.cake
#addin nuget:?package=Cake.Git #addin nuget:?package=Cake.Powershell public List<string> GetLastCommitChanges(string checkFile) { List<string> cc = new List<string>(); var lastCommit = GitLogTip("."); Debug("Last commit sha "+ lastCommit.Sha); var gitDiffFiles = GitDiff(".", lastCommit.Sha); fo...
#addin nuget:?package=Cake.Git #addin nuget:?package=Cake.Powershell public List<string> GetLastCommitChanges(string checkFile) { List<string> cc = new List<string>(); var lastCommit = GitLogTip("."); Debug("Last commit sha "+ lastCommit.Sha); var gitDiffFiles = GitDiff(".", lastCommit.Sha); fo...
mit
C#
c25c9d8e868ce73b22ff34a4b5097bba995d92fe
Make sure dotnet exit if crashing during Run (see https://github.com/aspnet/Hosting/issues/1194)
dgarage/NBXplorer,dgarage/NBXplorer
NBXplorer/Program.cs
NBXplorer/Program.cs
using System; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using NBXplorer.Configuration; using NBXplorer.Logging; using NBitcoin.Protocol; using System.Col...
using System; using Microsoft.Extensions.Logging; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using NBXplorer.Configuration; using NBXplorer.Logging; using NBitcoin.Protocol; using System.Col...
mit
C#
032b7cc9b3cc0c1e01ee60235ca1878ec9d039d8
Fix recursion with Random.Range float function Thanks @zakharovg
Nogrod/Oxide-2,bawNg/Oxide,LaserHydra/Oxide,Visagalis/Oxide,MSylvia/Oxide,Nogrod/Oxide-2,LaserHydra/Oxide,bawNg/Oxide,MSylvia/Oxide,Visagalis/Oxide
Oxide.Core/Random.cs
Oxide.Core/Random.cs
namespace Oxide.Core { public static class Random { private static System.Random random; static Random() { random = new System.Random(); } /// <summary> /// Returns a random integer which is bigger than or equal to min and smaller than max. If max ...
namespace Oxide.Core { public static class Random { private static System.Random random; static Random() { random = new System.Random(); } /// <summary> /// Returns a random integer which is bigger than or equal to min and smaller than max. If max ...
mit
C#
81a09886420741c37f28a173ef10e6af813ddeba
Remove duplicate Percent unit.
BrandonLWhite/UnitsNet,Tirael/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet,maherkassim/UnitsNet,anjdreas/UnitsNet,BoGrevyDynatest/UnitsNet,anjdreas/UnitsNet,maherkassim/UnitsNet
Src/UnitsNet/Unit.cs
Src/UnitsNet/Unit.cs
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/SIUnits // // 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, includin...
// Copyright © 2007 by Initial Force AS. All rights reserved. // https://github.com/InitialForce/SIUnits // // 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, includin...
mit
C#
85ad641c6ff0c1de14130088283d632ea7e19929
Range and GetEnumValue methods;
KonH/UDBase
Utils/RandomUtils.cs
Utils/RandomUtils.cs
using System; using System.Collections.Generic; namespace UDBase.Utils { public static class RandomUtils { public static int Range(int min, int max) { return UnityEngine.Random.Range(min, max); } public static T GetItem<T>(List<T> items) { if( (items != null) && (items.Count > 0) ) { return items[R...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace UDBase.Utils { public static class RandomUtils { public static T GetItem<T>(List<T> items) { if( (items != null) && (items.Count > 0) ) { return items[Random.Range(0, items.Count)]; } return default(T); } pu...
mit
C#
1b5ab459c1f55d9e4d8e7a16f929beefa8b5752a
make the Stop-button work again.
mcneel/RhinoCycles
RenderPipeline.cs
RenderPipeline.cs
/** Copyright 2014-2016 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
/** Copyright 2014-2016 Robert McNeel and Associates Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
apache-2.0
C#
4b0904c1ccefe5b9a079dd48a722909c1ee6a9b2
Apply image rescaling to generated deck
ChangSpivey/SubtitleMemorize
WorkerSnapshot.cs
WorkerSnapshot.cs
// Copyright (C) 2016 Chang Spivey // // 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 3 of the License, or // (at your option) any later version. // // This program is dist...
// Copyright (C) 2016 Chang Spivey // // 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 3 of the License, or // (at your option) any later version. // // This program is dist...
agpl-3.0
C#
3b688c702c5cfd82b4c1e0a5b968d0aac844113e
Use graying rather than alpha
NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,naoey/osu,DrabWeb/osu,naoey/osu,peppy/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu-new,ZLima12/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,naoey/osu,ppy/osu,EVA...
osu.Game/Screens/Multi/Components/DisableableTabControl.cs
osu.Game/Screens/Multi/Components/DisableableTabControl.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Framework.Graphics.UserInterface; using osu.Framework.Input.Events; using osuTK.Graphics; namespace osu.Game.Screens.Multi....
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Configuration; using osu.Framework.Graphics.UserInterface; using osu.Framework.Input.Events; namespace osu.Game.Screens.Multi.Components { publi...
mit
C#
7c54e0f807837c77456cdb368feb737554bb9b0a
Fix crashing on Xamarin Designer
molinch/FFImageLoading,AndreiMisiukevich/FFImageLoading,daniel-luberda/FFImageLoading,luberda-molinet/FFImageLoading
source/FFImageLoading.Droid/Helpers/PlatformPerformance.cs
source/FFImageLoading.Droid/Helpers/PlatformPerformance.cs
using System; using System.Threading; using Android.App; using Java.Lang; namespace FFImageLoading { public class PlatformPerformance : IPlatformPerformance { Runtime _runtime; ActivityManager _activityManager; ActivityManager.MemoryInfo _memoryInfo; public static IPlatformPer...
using System; using System.Threading; using Android.App; using Java.Lang; namespace FFImageLoading { public class PlatformPerformance : IPlatformPerformance { Runtime _runtime; ActivityManager _activityManager; ActivityManager.MemoryInfo _memoryInfo; public PlatformPerformance...
mit
C#
574ac538ca8bcade36a10b093230eba08f8376e8
change ctor param name in RequireRoleAttribute
timba/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,ZocDoc/Service...
src/ServiceStack.ServiceInterface/RequiredRoleAttribute.cs
src/ServiceStack.ServiceInterface/RequiredRoleAttribute.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using ServiceStack.Common; using ServiceStack.ServiceHost; using ServiceStack.ServiceInterface.Auth; using ServiceStack.Text; namespace ServiceStack.ServiceInterface ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using ServiceStack.Common; using ServiceStack.ServiceHost; using ServiceStack.ServiceInterface.Auth; using ServiceStack.Text; namespace ServiceStack.ServiceInterface ...
bsd-3-clause
C#
c996c4ff9a270663932767afd6293248a323f629
Reformat code for consistency
mysticfall/Alensia
Assets/Alensia/Core/Game/Game.cs
Assets/Alensia/Core/Game/Game.cs
using System; using Alensia.Core.Common; using UniRx; using UnityEngine; using Zenject; #if UNITY_EDITOR using UnityEditor; #endif namespace Alensia.Core.Game { public class Game : BaseObject, IGame { public float TimeScale { get { return _timeScale.Value; } set { _time...
using System; using Alensia.Core.Common; using UniRx; using UnityEngine; using Zenject; #if UNITY_EDITOR using UnityEditor; #endif namespace Alensia.Core.Game { public class Game : BaseObject, IGame { public float TimeScale { get { return _timeScale.Value; } set { _time...
apache-2.0
C#
e456828f656dd7078550f6d6ece140f397d3ed2d
Use OpenTK triangle sample in OpenTkApp project
PhilboBaggins/ci-experiments-dotnetcore,PhilboBaggins/ci-experiments-dotnetcore
OpenTkApp/Program.cs
OpenTkApp/Program.cs
using System; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; using OpenTK.Input; namespace OpenTkApp { class Game : GameWindow { public Game() : base(800, 600, GraphicsMode.Default, "OpenTK Quick Start Sample") { VSync = VSyncMode.On; } ...
using System; namespace OpenTkApp { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
unlicense
C#
5b5d84f6affa30873d282afd196fc334ed050828
fix crash when reopening a window closed by alt+tab or win+tab
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Windows/TccWindow.cs
TCC.Core/Windows/TccWindow.cs
using System; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Animation; namespace TCC.Windows { public class TccWindow : Window { public event Action Hidden; public event Action Showed; public TccWindow() { ...
using System; using System.Windows; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Animation; namespace TCC.Windows { public class TccWindow : Window { public event Action Hidden; public event Action Showed; public void HideWindow() { ...
mit
C#
27d96a08c1ef25a9a27f3571e280d22bdd89d18a
Mark WinApiNet assembly as not CLS-compliant
MpDzik/winapinet,MpDzik/winapinet
src/WinApiNet/Properties/AssemblyInfo.cs
src/WinApiNet/Properties/AssemblyInfo.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="WinAPI.NET"> // Copyright (c) Marek Dzikiewicz, All Rights Reserved. // </copyright> // ---------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="WinAPI.NET"> // Copyright (c) Marek Dzikiewicz, All Rights Reserved. // </copyright> // ---------------------------------------------------------------...
mit
C#
3aa97beb96f9bf8eca8839403fc3b680c088fadb
Update ActivatorEx to consider private constructors and look for constructor using appropriate order
atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata
src/Atata/ActivatorEx.cs
src/Atata/ActivatorEx.cs
using System; using System.Linq; using System.Reflection; namespace Atata { internal static class ActivatorEx { internal static T CreateInstance<T>(string typeName) { typeName.CheckNotNullOrEmpty(nameof(typeName)); Type type = Type.GetType(typeName, true); ...
using System; using System.Linq; namespace Atata { internal static class ActivatorEx { internal static T CreateInstance<T>(string typeName) { typeName.CheckNotNullOrEmpty(nameof(typeName)); Type type = Type.GetType(typeName, true); return Crea...
apache-2.0
C#
692b923ca61924880a63bff44f7536cf4db4c72e
fix public
NCTUGDC/HearthStone
HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs
HearthStone/HearthStone.Library.Test/CardManagerUnitTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HearthStone.Library.Test { [TestClass] public class CardManagerUnitTest { [TestMethod] public void CardManagerI...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HearthStone.Library.Test { [TestClass] class CardManagerUnitTest { [TestMethod] public void CardManagerInstance...
apache-2.0
C#
015a558ab590e78439dc1736c08bf2193a9237e8
change assembly version
nabehiro/HttpAuthModule,nabehiro/HttpAuthModule
HttpAuthModule/Properties/AssemblyInfo.cs
HttpAuthModule/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("HttpAuthModule")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("HttpAuthModule")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly:...
apache-2.0
C#
ff70baff755b1180d25ef09539237265b925f910
fix null exception in presenter
zoon/nunit-unity3d,zoon/nunit-unity3d
Assets/Plugins/NUnitLite/NUnitLiteUnityRunner.cs
Assets/Plugins/NUnitLite/NUnitLiteUnityRunner.cs
// Copyright (C) 2013 by Andrew Zhilin <andrew_zhilin@yahoo.com> #region Usings using System; using System.Collections.Generic; using System.IO; using System.Reflection; using NUnitLite; using NUnitLite.Runner; using UnityEngine; #endregion /* NOTE: * * This is a test runner for NUnitLite, that redirects test res...
// Copyright (C) 2013 by Andrew Zhilin <andrew_zhilin@yahoo.com> #region Usings using System; using System.Collections.Generic; using System.IO; using System.Reflection; using NUnitLite; using NUnitLite.Runner; using UnityEngine; #endregion /* NOTE: * * This is a test runner for NUnitLite, that redirects test res...
mit
C#
2c1ee00feae1c4db4d05f57747cd84031a17bd4b
Add ABCP/APFT Button
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Soldiers/List.cshtml
Battery-Commander.Web/Views/Soldiers/List.cshtml
@model IEnumerable<Soldier> <h2>Soldiers @Html.ActionLink("Add New", "New", "Soldiers", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Rank)</th> <th>@Html.DisplayNameFor(_ => _.First...
@model IEnumerable<Soldier> <h2>Soldiers @Html.ActionLink("Add New", "New", "Soldiers", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Rank)</th> <th>@Html.DisplayNameFor(_ => _.First...
mit
C#
3fd9810e5bfd1af143f0ff5d13b532695ee5dda4
Update ErrorCheckingOptions.cs
asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as...
Examples/CSharp/Articles/ErrorCheckingOptions.cs
Examples/CSharp/Articles/ErrorCheckingOptions.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class ErrorCheckingOptions { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class ErrorCheckingOptions { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.G...
mit
C#
ccf23ad5c5b2330828faf0ac7e1898235568ae13
Prepare Assert.cs to have proper FrameworkAssert for different testing frameworks.
telerik/JustMockLite
Telerik.JustMock.Tests/Assert.cs
Telerik.JustMock.Tests/Assert.cs
/* JustMock Lite Copyright © 2010-2015 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* JustMock Lite Copyright © 2010-2015 Telerik AD Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
C#
e5feb7ca3ccfe9022fe136141a16768e979b0028
Fix AppRelativePath.
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/Dolstagis.Web.Aspnet/HttpRequest.cs
src/Dolstagis.Web.Aspnet/HttpRequest.cs
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Dolstagis.Web.Http; namespace Dolstagis.Web.Aspnet { public class HttpRequest : IRequest { public HttpRequest(H...
using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Dolstagis.Web.Http; namespace Dolstagis.Web.Aspnet { public class HttpRequest : IRequest { public HttpRequest(H...
mit
C#
f46129ee7c95d5cf532cd1def972c0a7f2a6f5c7
update team
FabianTerhorst/eSportsRanking
Team.cs
Team.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace eSportsRanking { public class Team { public Team() { } public String name { get; set; } public int winRatio { get { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace eSportsRanking { public class Team { public Team() { } public String name { get; set; } public int points { get; set; } public int los...
unlicense
C#
2b8a00c172bc42b55d7c20814e133109af636793
Bump version to 1.0.0-beta018
e-rik/XRoadLib,e-rik/XRoadLib,janno-p/XRoadLib
src/XRoadLib/Properties/AssemblyInfo.cs
src/XRoadLib/Properties/AssemblyInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("XRoadLib")] [assembly: AssemblyProductAttribute("XRoadLib")] [assembly: AssemblyDescriptionAttribute("A .NET library for implementing service interfaces of X-Road providers using Code-First Development approach.")] [assembly: AssemblyVer...
// <auto-generated/> using System.Reflection; [assembly: AssemblyTitleAttribute("XRoadLib")] [assembly: AssemblyProductAttribute("XRoadLib")] [assembly: AssemblyDescriptionAttribute("A .NET library for implementing service interfaces of X-Road providers using Code-First Development approach.")] [assembly: AssemblyVer...
mit
C#