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
e538150ffe9c1db0c918c11ce2a58b536a44de76
Update (simplify) padding
IvionSauce/MeidoBot
NyaaSpam/OutputTools.cs
NyaaSpam/OutputTools.cs
using System; using System.Collections.Generic; static class OutputTools { public static IEnumerable<string> TwoColumns(string[] patterns) { var half = (int)Math.Ceiling(patterns.Length / 2d); int longestLength = 0; for (int i = 0; i < half; i++) { if (patterns[i]...
using System; using System.Text; using System.Collections.Generic; static class OutputTools { public static IEnumerable<string> TwoColumns(string[] patterns) { var half = (int)Math.Ceiling(patterns.Length / 2d); int longestLength = 0; for (int i = 0; i < half; i++) { ...
bsd-2-clause
C#
ca20a5062d186cc43ec16bd7f5d888459c863e46
set background border to be applied logically
Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack
RelhaxModpack/RelhaxModpack/UIComponents/ClassThemeDefinitions/BorderClassThemeDefinition.cs
RelhaxModpack/RelhaxModpack/UIComponents/ClassThemeDefinitions/BorderClassThemeDefinition.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace RelhaxModpack.UIComponents.ClassThemeDefinitions { public class BorderClassThemeDefinition : IClassThemeDefinition { public...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; namespace RelhaxModpack.UIComponents.ClassThemeDefinitions { public class BorderClassThemeDefinition : IClassThemeDefinition { public...
apache-2.0
C#
d18e8b04b3df0023519fae781421df695761037d
Enable error traces for Razor.
eidolonic/plating,eidolonic/plating
Plating/Bootstrapper.cs
Plating/Bootstrapper.cs
using Nancy; namespace Plating { public class Bootstrapper : DefaultNancyBootstrapper { public Bootstrapper() { StaticConfiguration.DisableErrorTraces = false; Cassette.Nancy.CassetteNancyStartup.OptimizeOutput = true; } } }
using Nancy; namespace Plating { public class Bootstrapper : DefaultNancyBootstrapper { public Bootstrapper() { Cassette.Nancy.CassetteNancyStartup.OptimizeOutput = true; } } }
mit
C#
7a26d0ea7b75dbe6b3aee3f30633048c889dcba2
Change class name to OrderingTypes.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Helpers/StreamsConstants.cs
src/CompetitionPlatform/Helpers/StreamsConstants.cs
namespace CompetitionPlatform.Helpers { public static class StreamsRoles { public const string Admin = "ADMIN"; } public static class ResultVoteTypes { public const string Admin = "ADMIN"; public const string Author = "AUTHOR"; } public static class OrderingTypes ...
namespace CompetitionPlatform.Helpers { public static class StreamsRoles { public const string Admin = "ADMIN"; } public static class ResultVoteTypes { public const string Admin = "ADMIN"; public const string Author = "AUTHOR"; } public static class OrderingConstan...
mit
C#
d2b7e0d11a449b2ad0143ed11fd271d1b3a21e60
Order of properties is important
phatboyg/Stact,phatboyg/Stact,phatboyg/Stact,phatboyg/Stact
src/Magnum.Common.Tests/Reflection/InterOp_Specs.cs
src/Magnum.Common.Tests/Reflection/InterOp_Specs.cs
namespace Magnum.Common.Tests.Reflection { using NUnit.Framework; [TestFixture] public class InterOp_Specs : SerializationSpecificationBase { private readonly Bob _bob = new Bob { Name = "Dru" }; private readonly Order1 _order = new Order1{FirstName = "Chris", LastName ...
namespace Magnum.Common.Tests.Reflection { using System.Diagnostics; using NUnit.Framework; [TestFixture] public class InterOp_Specs : SerializationSpecificationBase { private readonly Bob bob = new Bob{Name="Dru"}; [Test] public void Shouldn...
apache-2.0
C#
85df77d57eba1dbe41f7829e3fbb80418291b200
Fix sonarqube issue
coenm/PlaygroundCoreDotNet,coenm/PlaygroundCoreDotNet
src/Playground.Calculator/SystemDateTimeProvider.cs
src/Playground.Calculator/SystemDateTimeProvider.cs
using System; namespace Playground.Calculator { public class SystemDateTimeProvider : IDateTimeProvider { public static SystemDateTimeProvider Instance { get; } = new SystemDateTimeProvider(); private SystemDateTimeProvider() { } public DateTime Now => DateTime.Now; ...
using System; namespace Playground.Calculator { public class SystemDateTimeProvider : IDateTimeProvider { public static SystemDateTimeProvider Instance = new SystemDateTimeProvider(); private SystemDateTimeProvider() { } public DateTime Now => DateTime.Now; } }
mit
C#
8f9c1a92539b14733a4c2246e010222b023dc87e
Update Program.cs
medhajoshi27/GitTest1
ConsoleApplication1/ConsoleApplication1/Program.cs
ConsoleApplication1/ConsoleApplication1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //hello Console.WriteLine("HELLO"); Console.WriteLine("World...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { //hello Console.WriteLine("HELLO"); Console.WriteLine("World...
mit
C#
2b29f235e608a82619ed7dccb916e54ee00a14ca
comment the code
chjwilliams/DreamTeam
DreamTeam/Assets/Scripts/NPC/BasicNPCController.cs
DreamTeam/Assets/Scripts/NPC/BasicNPCController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; /*--------------------------------------------------------------------------------------*/ /* */ /* BasicNPCController: Handles baisc npc behavior */ /* Functions: */ /* public: ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BasicNPCController : MonoBehaviour { public bool gestureAnimationDone; public HartoTuningController HARTO; public float myFrequency; public float range; public bool acknowledgePlayer; // Use this for initialization v...
unlicense
C#
18b8d9ebb1a26ca6f62ac9172d72e71a86808a69
Fix DesktopUrhoInitializer.cs for D3D mode.
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Desktop/DesktopUrhoInitializer.cs
Bindings/Desktop/DesktopUrhoInitializer.cs
using System; using System.IO; using System.Reflection; namespace Urho.Desktop { public static class DesktopUrhoInitializer { static string assetsDirectory; /// <summary> /// Path to a folder containing "Data" folder. CurrentDirectory if null /// </summary> public static string AssetsDirectory { get...
using System; using System.IO; using System.Reflection; namespace Urho.Desktop { public static class DesktopUrhoInitializer { static string assetsDirectory; /// <summary> /// Path to a folder containing "Data" folder. CurrentDirectory if null /// </summary> public static string AssetsDirectory { get...
mit
C#
46d0c31003264c409fbe2161cee3811e55eff2f4
Remove variável desncessária
CristianoRC/DotCEP
DotCEP/DotCEP.Localidades/BancosDeDados.cs
DotCEP/DotCEP.Localidades/BancosDeDados.cs
using System; using Microsoft.Data.Sqlite; namespace DotCEP.Localidades { internal class BancosDeDados { internal BancosDeDados() { Conexao = new SqliteConnection($@"Data Source={AppDomain.CurrentDomain.BaseDirectory}Lugares.db"); } internal SqliteConnection Conexa...
using System; using Microsoft.Data.Sqlite; namespace DotCEP.Localidades { internal class BancosDeDados { internal BancosDeDados() { var asd = $"{AppDomain.CurrentDomain.BaseDirectory}Lugares.db"; Conexao = new SqliteConnection($@"Data Source={AppDomain.CurrentDomain.Bas...
mit
C#
d5d6f626845c30f5c00b799468bfd5a58933f68b
Add BoolParameter and IntParameter to enum
faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake
Snowflake.API/Ajax/AjaxMethodParameterAttribute.cs
Snowflake.API/Ajax/AjaxMethodParameterAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Ajax { /// <summary> /// A metadata attribute to indicate parameter methods /// Does not affect execution. /// </summary> [AttributeUsage(AttributeTargets.Method,...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Snowflake.Ajax { /// <summary> /// A metadata attribute to indicate parameter methods /// Does not affect execution. /// </summary> [AttributeUsage(AttributeTargets.Method,...
mpl-2.0
C#
cee289864b2385f2e13c6f5872fe5e5f8f3bfea9
Update AssemblyVersion
tmds/Tmds.DBus
AssemblyInfo.cs
AssemblyInfo.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("0.4.0")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC prot...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
mit
C#
5899d056c2cd3fb52dcd3d32a29cbbc35fc43e43
Update email address.
huin/kerbcam2
kerbcam2/Properties/AssemblyInfo.cs
kerbcam2/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("kerbcam2")] [assembly: AssemblyDescriptio...
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("kerbcam2")] [assembly: AssemblyDescriptio...
bsd-3-clause
C#
cb4094418bace2604579f80126fc86332dcad783
rename bool arg.
edwinj85/ezDoom
ezDoom/Code/GameProcessHandler.cs
ezDoom/Code/GameProcessHandler.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summary> ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace ezDoom.Code { /// <summary> /// This class handles launching the doom engine with chosen settings. /// </summary> public static class GameProcessHandler { /// <summary> ...
apache-2.0
C#
6ccf7c5999497ed96f58e6d49d6a724aab06a95a
fix spacing
fabianPas/TradeRouteMarketeer,fabianPas/TradeRouteMarketeer
TradeRouteMarketeer/Models/Market/Trade.cs
TradeRouteMarketeer/Models/Market/Trade.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TradeRouteMarketeer.Models.Market { public class Trade { public string Commodity { get; set; } public string Outlet { get; set; } public int TradePrice { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TradeRouteMarketeer.Models.Market { public class Trade { public string Commodity { get; set; } public string Outlet { get; set; } public int TradePrice { get; set; } publi...
apache-2.0
C#
c1a8ac00efd76a80bc4db0df515aa3a66eacbc70
fix retry
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
src/LkeServices/Helpers/Retry.cs
src/LkeServices/Helpers/Retry.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Common.Log; namespace LkeServices.Helpers { public class Retry { public static async Task<T> Try<T>(Func<Task<T>> action, Func<Exception, bool> exceptionFilter, int tryCount, ILog logger) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Common.Log; namespace LkeServices.Helpers { public class Retry { public static async Task<T> Try<T>(Func<Task<T>> action, Func<Exception, bool> exceptionFilter, int tryCount, ILog logger) { ...
mit
C#
57f3eba0d75924d3e48436c35b0b89f5ecd50790
Make BotBitsClient inherit IDisposable
Yonom/BotBits
BotBits/Client/BotBitsClient.cs
BotBits/Client/BotBitsClient.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using BotBits.Events; using JetBrains.Annotations; namespace BotBits { public class BotBitsClient : IDisposable { [DebuggerBrowsable(DebuggerBrowsableState.Never)] private readonly PackageLoader _...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using BotBits.Events; using JetBrains.Annotations; namespace BotBits { public class BotBitsClient { [DebuggerBrowsable(DebuggerBrowsableState.Never)] private readonly PackageLoader _packageLoader;...
mit
C#
c3bee8d15f3cde2ca9cf17d895b484105b2a2578
Update INumbers.cs
aliostad/RandomGen,aliostad/RandomGen
src/RandomGen/Fluent/INumbers.cs
src/RandomGen/Fluent/INumbers.cs
using System; using System.Collections.Generic; namespace RandomGen.Fluent { public interface INumbers : IFluentInterface { Func<byte> Bytes(byte min = byte.MinValue, byte max = byte.MaxValue); Func<int> Integers(int min = 0, int max = 100); Func<IEnumerable<int>> IntegersDrawNoPlaceme...
using System; using System.Collections.Generic; namespace RandomGen.Fluent { public interface INumbers : IFluentInterface { Func<byte> Bytes(byte min = byte.MinValue, byte max = byte.MaxValue); Func<int> Integers(int min = 0, int max = 100); Func<uint> UnsignedIntegers(uint min = 0, ui...
mit
C#
072b447518f95b2795aa200343cd4ecdde92dfaa
Delete dead code
sean-gilliam/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,rainersigwald/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild
src/Build/BackEnd/Node/ServerNamedMutex.cs
src/Build/BackEnd/Node/ServerNamedMutex.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; namespace Microsoft.Build.Execution { internal sealed class ServerNamedMutex : IDisposable { private readonly Mutex _serverMut...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; namespace Microsoft.Build.Execution { internal sealed class ServerNamedMutex : IDisposable { private readonly Mutex _serverMut...
mit
C#
2626f6d934e382ef8ed3cc850afa303f3963cff1
add null checks
ericBG/AnyfinCalculator
AnyfinCalculator/AnyfinCalculator/GraveyardHelper.cs
AnyfinCalculator/AnyfinCalculator/GraveyardHelper.cs
using System; using System.Collections.Generic; using System.Linq; using Hearthstone_Deck_Tracker.Hearthstone; using Hearthstone_Deck_Tracker.API; namespace AnyfinCalculator { public class GraveyardHelper { private readonly Predicate<Card> _shouldBeTracked; private List<Card> _checkedMinions =...
using System; using System.Collections.Generic; using System.Linq; using Hearthstone_Deck_Tracker.Hearthstone; using Hearthstone_Deck_Tracker.API; namespace AnyfinCalculator { public class GraveyardHelper { private readonly Predicate<Card> _shouldBeTracked; private List<Card> _checkedMinions =...
mit
C#
87c72109424c7b7b3453d7b60e4367ebdae01b05
Update StackExchangeService - remove redundant string interpolation, update to follow naming conventions
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Services/StackExchange/StackExchangeService.cs
Modix.Services/StackExchange/StackExchangeService.cs
using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Modix.Services.StackExchange { public class StackExchangeService { private static HttpClient HttpClient => new HttpClient(new HttpClientHandler { AutomaticDecompres...
using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Modix.Services.StackExchange { public class StackExchangeService { private static HttpClient HttpClient => new HttpClient(new HttpClientHandler { AutomaticDecompres...
mit
C#
b5f5400e069bcc8cb720391eccea385a45bfe7b5
Add Refresh() Method to ISerachModule to allow forcing a sim to resend it's search data
EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/ope...
OpenSim/Region/Framework/Interfaces/ISearchModule.cs
OpenSim/Region/Framework/Interfaces/ISearchModule.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
b46bcce9effb225cc453e037d461b655f4eaf412
fix typo
endjin/Endjin.Licensing
Solutions/Endjin.Licensing.Demo.ServerApp/Program.cs
Solutions/Endjin.Licensing.Demo.ServerApp/Program.cs
namespace Endjin.Licensing.Demo.ServerApp { #region Using Directives using System; using System.Collections.Generic; using System.IO; using Endjin.Licensing.Domain; using Endjin.Licensing.Extensions; using Endjin.Licensing.Infrastructure.Crypto; using Endjin.Licensing.Infrastructure.G...
namespace Endjin.Licensing.Demo.ServerApp { #region Using Directives using System; using System.Collections.Generic; using System.IO; using Endjin.Licensing.Domain; using Endjin.Licensing.Extensions; using Endjin.Licensing.Infrastructure.Crypto; using Endjin.Licensing.Infrastructure.G...
mit
C#
967add91ef218595b8e61a898ee9c9341b904b56
Add a constructor to TransferStatus to make unit testing of progress handlers possible.
Azure/azure-storage-net-data-movement
lib/TransferStatus.cs
lib/TransferStatus.cs
//----------------------------------------------------------------------------- // <copyright file="TransferStatus.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //----------------------------------------------------------------------------- namespace Microsoft.WindowsAzure.Storage....
//----------------------------------------------------------------------------- // <copyright file="TransferStatus.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> //----------------------------------------------------------------------------- namespace Microsoft.WindowsAzure.Storage.D...
mit
C#
9ead2ba0d2eb7ee9da2ad8b4aeaab2ce7e1820fb
Debug info + Default cleanup on failed conditions
alvivar/React
React.cs
React.cs
 // Andrés Villalobos | andresalvivar@gmail.com | @matnesis // 2015/06/17 01:44:37 PM using System.Collections; using System.Collections.Generic; using UnityEngine; public class React : MonoBehaviour { [Header("Info")] public string currentReaction = ""; public string lastReactionExecuted = ""; [Header("React...
 // Andrés Villalobos | andresalvivar@gmail.com | @matnesis // 2015/06/17 01:44:37 PM using System.Collections; using System.Collections.Generic; using UnityEngine; public class React : MonoBehaviour { [Header("ReactBase Queue")] public List<ReactBase> linear; public List<ReactBase> untilCondition; [Header("C...
mit
C#
f574aacc469d40834783ae7824da4f6f389725db
index users projection required events fixed
msbahrul/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,msbahrul/EventStore,msbahrul/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,ianbattersby/EventStore,msbahrul/EventStore
src/EventStore/EventStore.Web/Users/IndexUsersProjectionHandler.cs
src/EventStore/EventStore.Web/Users/IndexUsersProjectionHandler.cs
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // Redistributions of source code must retain the above copyright notice, // this list of condit...
// Copyright (c) 2012, Event Store LLP // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // Redistributions of source code must retain the above copyright notice, // this list of condit...
bsd-3-clause
C#
b6000bdfa38652c5bba6a6c0427d7d5cb9bdb498
Update sln info
onovotny/fluentassertions
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("www.dennisdoomen.net")] [assembly: AssemblyCopyright("Copyright Dennis Doomen 2010-2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("3.0.1")] [assembly: AssemblyFileVersion("3.0.1")]
using System.Reflection; [assembly: AssemblyCompany("www.dennisdoomen.net")] [assembly: AssemblyCopyright("Copyright Dennis Doomen 2010-2014")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("3.0.9999")] [assembly: AssemblyFileVersion("3.0.9999")]
apache-2.0
C#
fdd7af14b8c2bb05e605740f28aa975ec3ca0eb8
Update Timeseries.cs
marmind/MailChimp.NET-APIv2,danesparza/MailChimp.NET
MailChimp/Reports/Timeseries.cs
MailChimp/Reports/Timeseries.cs
using System.Runtime.Serialization; namespace MailChimp.Reports { /// <summary> /// optional - various extra options based on the campaign type /// </summary> [DataContract] public class Timeseries { /// <summary> ///The timestemp in Y-m-d H:00:00 format /// </summary> ...
using System.Runtime.Serialization; namespace MailChimp.Reports { /// <summary> /// optional - various extra options based on the campaign type /// </summary> [DataContract] public class Industry { /// <summary> ///the selected industry /// </summary> [DataMember(Name ...
mit
C#
acb5607a6d142cb978e8529fdb4d8b199088a7b9
check CI build v2
Orbmu2k/nvidiaProfileInspector,Orbmu2k/nvidiaProfileInspector
nspector/Properties/AssemblyInfo.cs
nspector/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#
417d93dde0b0223b5c30969c87a0c02c538cf2e3
Make default material 1
MatterHackers/agg-sharp,larsbrubaker/agg-sharp,mmoening/agg-sharp,LayoutFarm/PixelFarm,mmoening/agg-sharp,jlewin/agg-sharp,mmoening/agg-sharp
PolygonMesh/MeshMaterialData.cs
PolygonMesh/MeshMaterialData.cs
/* Copyright (c) 2014, Lars Brubaker All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
/* Copyright (c) 2014, Lars Brubaker All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
bsd-2-clause
C#
c387e04c09a70de3a3f8935bbf7766ff204f31c9
Reorganize Logger.cs
Joe4evr/Discord.Net,Confruggy/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net
src/Discord.Net/Logging/Logger.cs
src/Discord.Net/Logging/Logger.cs
using System; namespace Discord.Logging { public class Logger : ILogger { private readonly LogManager _manager; public string Name { get; } public LogSeverity Level => _manager.Level; internal Logger(LogManager manager, string name) { _manager = manager; ...
using System; namespace Discord.Logging { public class Logger : ILogger { private readonly LogManager _manager; public string Name { get; } public LogSeverity Level => _manager.Level; internal Logger(LogManager manager, string name) { _manager = manager; ...
mit
C#
67785de2c9d1032bc3e9617789dbb90ee254a926
Remove redundant IResourceResolver mapping.
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/Dolstagis.Web/CoreServices.cs
src/Dolstagis.Web/CoreServices.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dolstagis.Web.Http; using Dolstagis.Web.Lifecycle; using Dolstagis.Web.Routing; using Dolstagis.Web.Sessions; using Dolstagis.Web.Static; using Dolstagis.Web.Views; using StructureMap.Co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dolstagis.Web.Http; using Dolstagis.Web.Lifecycle; using Dolstagis.Web.Routing; using Dolstagis.Web.Sessions; using Dolstagis.Web.Static; using Dolstagis.Web.Views; using StructureMap.Co...
mit
C#
0c30c87f50a560e823667ff016caa9c92ce850ef
Use new return value of Guard.ExpectNode to refine casting...
rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,dotless/dotless,rytmis/dotless
src/dotless.Core/Parser/Functions/RgbaFunction.cs
src/dotless.Core/Parser/Functions/RgbaFunction.cs
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
apache-2.0
C#
e0a748b4a3c61972fe8ef0d3c8c9039af3848b22
Fix iOS themes
rafaelbarrelo/Xamarin-Prism-Starter
src/iOS/AppDelegate.cs
src/iOS/AppDelegate.cs
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace XamarinPrismStarter.iOS { [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching(UIApplication ap...
using System; using System.Collections.Generic; using System.Linq; using Foundation; using UIKit; namespace XamarinPrismStarter.iOS { [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate { public override bool FinishedLaunching(UIApplication ap...
mit
C#
73b98b8f7072848626a7cb594b1e5be777ade4cd
Make VideoTextureUpload's constructor internal
peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework
osu.Framework/Graphics/Video/VideoTextureUpload.cs
osu.Framework/Graphics/Video/VideoTextureUpload.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.Textures; using osuTK.Graphics.ES30; using FFmpeg.AutoGen; using osu.Framework.Graphics.Primitives; using SixLabors.ImageSharp...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics.Textures; using osuTK.Graphics.ES30; using FFmpeg.AutoGen; using osu.Framework.Graphics.Primitives; using SixLabors.ImageSharp...
mit
C#
f4ab1323d908ca990f5a5ba3bfe0ea6d0678c304
Expand the raft around the support and wipe tower.
jlewin/MatterSlice
raft.cs
raft.cs
/* Copyright (C) 2013 David Braam Copyright (c) 2014, Lars Brubaker This file is part of MatterSlice. MatterSlice 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 opti...
/* Copyright (C) 2013 David Braam Copyright (c) 2014, Lars Brubaker This file is part of MatterSlice. MatterSlice 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 opti...
agpl-3.0
C#
b1fc21481da7b32f042c30d52ff77d6314ee2f2f
remove Thing.Description. (Something else will have this name soon.)
leafi/lo-novo
Thing.cs
Thing.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lo_novo { public abstract class Thing : FalseIObey, ITick, INoun { public abstract string Name { get; } public string Preposition = "a"; private string inRoomDe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace lo_novo { public abstract class Thing : FalseIObey, ITick, INoun { public abstract string Name { get; } public string Preposition = "a"; private string descript...
mit
C#
f1b6a7451877005707b7a16e7ef1db0893bba02e
Support for configuration
RagingBool/RagingBool.Carcosa
projects/RagingBool.Carcosa.Core_cs/Control/KeyboardControlActor.cs
projects/RagingBool.Carcosa.Core_cs/Control/KeyboardControlActor.cs
// [[[[INFO> // Copyright 2015 Raging Bool (http://ragingbool.org, https://github.com/RagingBool) // // 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/licens...
// [[[[INFO> // Copyright 2015 Raging Bool (http://ragingbool.org, https://github.com/RagingBool) // // 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/licens...
apache-2.0
C#
94792535512270a9bdf17e7c21e36aed9f9d7740
Add visual MessageBox when an unhandled crash is encountered
jehy/unBand,nachmore/unBand
src/unBand/App.xaml.cs
src/unBand/App.xaml.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace unBand { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { ...
mit
C#
778cf1888bfbd620544e132565951b0b838a75e4
Update AutoFitRowsMergedCells.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,ma...
Examples/CSharp/Articles/AutoFitRowsMergedCells.cs
Examples/CSharp/Articles/AutoFitRowsMergedCells.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class AutoFitRowsMergedCells { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.Ge...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class AutoFitRowsMergedCells { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflecti...
mit
C#
dfb923271c39178575b8b887e3abd4b7d430b1d3
add zh-TW to ResourceService
stu43005/KanColleViewer
Grabacr07.KanColleViewer/Models/ResourceService.cs
Grabacr07.KanColleViewer/Models/ResourceService.cs
using Grabacr07.KanColleViewer.Properties; using Livet; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Grabacr07.KanColleViewer.Models { /// <summary> /// リソースを提供します。 /// </summary> public clas...
using Grabacr07.KanColleViewer.Properties; using Livet; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Grabacr07.KanColleViewer.Models { /// <summary> /// リソースを提供します。 /// </summary> public clas...
mit
C#
49151e3b53887d092ce3f6d2c272e924d490a12c
fix .net core sample
FantasticFiasco/mvvm-dialogs
samples/net-core/Demo.ActivateNonModalDialog/MainWindowViewModel.cs
samples/net-core/Demo.ActivateNonModalDialog/MainWindowViewModel.cs
using System.ComponentModel; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using MvvmDialogs; namespace Demo.ActivateNonModalDialog { public class MainWindowViewModel : ViewModelBase { private readonly IDialogService dialogService; private INotifyPropertyChanged dialogViewModel; ...
using System.ComponentModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using MvvmDialogs; namespace Demo.ActivateNonModalDialog { public class MainWindowViewModel : ViewModelBase { private readonly IDialogService dialogService; private INotifyPrope...
apache-2.0
C#
c29f0e7625fea119ba17b53d3f26418a39e03d99
Add newline.
nguerrera/roslyn,gafter/roslyn,tmeschter/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,brettfo/roslyn,CyrusNajmabadi/roslyn,jcouv/roslyn,dotnet/roslyn,sharwell/roslyn,abock/roslyn,VSadov/roslyn,physhi/roslyn,abock/roslyn,bkoelman/roslyn,xasx/roslyn,DustinCampbell/roslyn,ErikSchierboom/roslyn,heejaechang/roslyn,KirillOs...
src/Features/Core/Portable/AbstractParenthesesDiagnosticAnalyzer.cs
src/Features/Core/Portable/AbstractParenthesesDiagnosticAnalyzer.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.Options; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.RemoveUnnecessaryPare...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CodeStyle; using Microsoft.CodeAnalysis.Options; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.RemoveUnnecessaryPare...
mit
C#
40fe27db061942d5bb0919f76b33acf363adbd45
Fix issue with trailing whitespace.
danielwertheim/mycouch,danielwertheim/mycouch
src/Projects/MyCouch/Responses/Factories/DocumentResponseFactory.cs
src/Projects/MyCouch/Responses/Factories/DocumentResponseFactory.cs
using System.IO; using System.Net.Http; using System.Text; using MyCouch.Extensions; using MyCouch.Serialization; namespace MyCouch.Responses.Factories { public class DocumentResponseFactory : ResponseFactoryBase { public DocumentResponseFactory(SerializationConfiguration serializationConfiguration) ...
using System.IO; using System.Net.Http; using MyCouch.Extensions; using MyCouch.Serialization; namespace MyCouch.Responses.Factories { public class DocumentResponseFactory : ResponseFactoryBase { public DocumentResponseFactory(SerializationConfiguration serializationConfiguration) : base(s...
mit
C#
f8f12bffe264e97efea9f84894d0b4f27301dd9e
Return of signin; with updated content as per ticket.
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/Home/ServiceStartPage.cshtml
@{ViewBag.PageID = "page-service-start"; } @{ViewBag.Title = "Manage apprenticeships"; } @{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; } @{ViewBag.HideNav = "true"; } @{ ViewBag.GaData.Vpv = "/page-service-start"; } <div class="grid-row"> <div class="column-two-thirds"> <...
@{ViewBag.PageID = "page-service-start"; } @{ViewBag.Title = "Manage apprenticeships"; } @{ViewBag.MetaDesc = "Manage your funding for apprenticeships in England"; } @{ViewBag.HideNav = "true"; } @{ ViewBag.GaData.Vpv = "/page-service-start"; } <div class="grid-row"> <div class="column-two-thirds"> <...
mit
C#
5a6bf5ac3dfabbc578f973e0c09c2e2d3a494b46
clean MigrationEntity
AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework,MehdyKarimpour/extensions,signumsoftware/extensions,AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/framework
Signum.Entities.Extensions/Migrations/Migration.cs
Signum.Entities.Extensions/Migrations/Migration.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Signum.Utilities; namespace Signum.Entities.Migrations { [Serializable, EntityKind(EntityKind.System, EntityData.Transactional), TicksColumn(false)] ...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using Signum.Utilities; namespace Signum.Entities.Migrations { [Serializable, EntityKind(EntityKind.System, EntityData.Transactional)] public class Migr...
mit
C#
8c537c45180c38aaea06131d5bb52b3531bd9261
Refactor and tidy-up
DanielLarsenNZ/examples,DanielLarsenNZ/examples
functions-hi-connections/HiConnections/GetSecrets.cs
functions-hi-connections/HiConnections/GetSecrets.cs
using Microsoft.ApplicationInsights.Extensibility; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.KeyVault; using Microsoft.Azure.Services.AppAuthentication; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using Sy...
using Microsoft.ApplicationInsights.Extensibility; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.KeyVault; using Microsoft.Azure.Services.AppAuthentication; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.Extensions.Logging; using Sy...
mit
C#
32327caac615f033dfc66f86c5b17053cc831649
add first implementation of h-dependency
hylasoft-usa/h-dependency,hylasoft-usa/h-dependency
h-dependency/HDependency.cs
h-dependency/HDependency.cs
using System; using System.Collections.Generic; namespace hylasoft.dependency { /// <summary> /// Simple dependency mechanism provider to achieve loose coupling and easy mocking. /// It's a not a pure dependency injection provider, but it offers more flexibility in terms of where it can be used and initialized....
namespace hylasoft.dependency { /// <summary> /// Simple dependency mechanism to loose coupling and easy mocking /// </summary> public class HDependency { } }
mit
C#
70a3823da39f688593848e539f82ec748bc418d6
Remove virtual from overloads in AlternateType
dudzon/Glimpse,SusanaL/Glimpse,gabrielweyer/Glimpse,rho24/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,paynecrl97/Glimpse,codevlabs/Glimpse,elkingtonmcb/Glimpse,sorenhl/Glimpse,gabrielweyer/Glimpse,sorenhl/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,paynecrl97/Glimpse,dudzon/Glimpse,elkingtonmcb/Glimpse,S...
source/Glimpse.Core/Extensibility/AlternateType.cs
source/Glimpse.Core/Extensibility/AlternateType.cs
using System; using System.Collections.Generic; using System.Linq; namespace Glimpse.Core.Extensibility { public abstract class AlternateType<T> : IAlternateType<T> where T : class { protected AlternateType(IProxyFactory proxyFactory) { if (proxyFactory == null) { ...
using System; using System.Collections.Generic; using System.Linq; namespace Glimpse.Core.Extensibility { public abstract class AlternateType<T> : IAlternateType<T> where T : class { protected AlternateType(IProxyFactory proxyFactory) { if (proxyFactory == null) { ...
apache-2.0
C#
ba693939964e80718dbf68afa5f610ac54b825c8
Change modify Portuguese Ordinalizer
ErikSchierboom/Humanizer,hazzik/Humanizer,MehdiK/Humanizer,schalpat/Humanizer,jaxx-rep/Humanizer,aloisdg/Humanizer,Flatlineato/Humanizer,ErikSchierboom/Humanizer,Flatlineato/Humanizer,schalpat/Humanizer
src/Humanizer/Configuration/OrdinalizerRegistry.cs
src/Humanizer/Configuration/OrdinalizerRegistry.cs
using Humanizer.Localisation.Ordinalizers; namespace Humanizer.Configuration { internal class OrdinalizerRegistry : LocaliserRegistry<IOrdinalizer> { public OrdinalizerRegistry() : base(new DefaultOrdinalizer()) { Register("de", new GermanOrdinalizer()); Register("en", ...
using Humanizer.Localisation.Ordinalizers; namespace Humanizer.Configuration { internal class OrdinalizerRegistry : LocaliserRegistry<IOrdinalizer> { public OrdinalizerRegistry() : base(new DefaultOrdinalizer()) { Register("de", new GermanOrdinalizer()); Register("en", ...
mit
C#
0f70773f1af31ddde4de4ccd044eace090f460a4
switch Nancy status module to async
lvermeulen/Nanophone
src/Nanophone.RegistryTenant.Nancy/StatusModule.cs
src/Nanophone.RegistryTenant.Nancy/StatusModule.cs
using System.Threading.Tasks; using Nancy; using Nanophone.RegistryTenant.Nancy.Logging; namespace Nanophone.RegistryTenant.Nancy { public class StatusModule : NancyModule { private static readonly ILog s_log = LogProvider.For<StatusModule>(); public StatusModule() { Get("...
using System.Threading.Tasks; using Nancy; using Nanophone.RegistryTenant.Nancy.Logging; namespace Nanophone.RegistryTenant.Nancy { public class StatusModule : NancyModule { private static readonly ILog s_log = LogProvider.For<StatusModule>(); public StatusModule() { Get("...
mit
C#
126ed9d6321bf444ff97a19fe6842fe116286f77
Fix crash in ApplicationWindowState.Dispose
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Services/ApplicationWindowState.cs
src/SyncTrayzor/Services/ApplicationWindowState.cs
using Stylet; using SyncTrayzor.Pages; using System; namespace SyncTrayzor.Services { public interface IApplicationWindowState : IDisposable { event EventHandler<ActivationEventArgs> RootWindowActivated; event EventHandler<DeactivationEventArgs> RootWindowDeactivated; event EventHandle...
using Stylet; using SyncTrayzor.Pages; using System; namespace SyncTrayzor.Services { public interface IApplicationWindowState : IDisposable { event EventHandler<ActivationEventArgs> RootWindowActivated; event EventHandler<DeactivationEventArgs> RootWindowDeactivated; event EventHandle...
mit
C#
cdeb404b224680724eb3085e9771728c638bd9c0
Update WalletWasabi.Tests/UnitTests/ListExtensionTests.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/UnitTests/ListExtensionTests.cs
WalletWasabi.Tests/UnitTests/ListExtensionTests.cs
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Xunit; namespace WalletWasabi.Tests.UnitTests { public class ListExtensionTests { [Fact] public void InsertSorted_Orders_Items_Correctly() { var actual = new List<int>(); actual.InsertSorted(5); actual.Insert...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Xunit; namespace WalletWasabi.Tests.UnitTests { public class ListExtensionTests { [Fact] public void InsertSorted_Orders_Items_Correctly() { var actual = new List<int>(); actual.InsertSorted(5); actual.Insert...
mit
C#
2c3a9fb947152f5ca8b60f6d5e8c69986e1aa97d
Remove leftover EnsureCreated() call
martincostello/sqllocaldb
samples/TodoApp/Data/TodoContext.cs
samples/TodoApp/Data/TodoContext.cs
// Copyright (c) Martin Costello, 2012-2018. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; namespace TodoApp.Data { /// <summary> /// A class representing the database context for Todo...
// Copyright (c) Martin Costello, 2012-2018. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using Microsoft.EntityFrameworkCore; namespace TodoApp.Data { /// <summary> /// A class representing the database context for Todo...
apache-2.0
C#
1f4f6a3f7d22ecb76dfdf8712f307375a7253d64
add thread utils
oelite/RESTme
OElite.Restme.Utils/ThreadUtils.cs
OElite.Restme.Utils/ThreadUtils.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace OElite { public static class ThreadUtils { public static void RunInBackgroundAndForget(this Task task) { } public static void RunInBackgroundAndFo...
using System; using System.Threading.Tasks; namespace OElite { public static class ThreadUtils { public static void RunInBackgroundAndForget(this Task task) { } public static void RunInBackgroundAndForget(Action action) { Task.Run(action).RunInBackgroundAnd...
mit
C#
293aa45a55fdabc7f44736f3b473601d4de99cc8
Format Input code
sandermvanvliet/kata-nethack,nrjohnstone/kata-nethack
KataNetHack.Console/Input/Input.cs
KataNetHack.Console/Input/Input.cs
using System; namespace KataNetHack.Console.Input { public class Input { public Func<ConsoleKeyInfo> ReadKey = () => System.Console.ReadKey(intercept:true); public event Action<InputResult> InputReceived; public void PollForInput() { InputResult inputReceived; ...
using System; namespace KataNetHack.Console.Input { public class Input { public Func<ConsoleKeyInfo> ReadKey = () => System.Console.ReadKey(intercept:true); public event Action<InputResult> InputReceived; public void PollForInput() { InputResult inputReceived; ...
mit
C#
e520200fd897c4f93552852938813be8373f94ee
Update DialogIOS.cs
asus4/UnityNativeDialogPlugin,asus4/UnityNativeDialogPlugin
Packages/com.github.asus4.nativedialog/Runtime/Internal/DialogIOS.cs
Packages/com.github.asus4.nativedialog/Runtime/Internal/DialogIOS.cs
#if UNITY_IOS using System.Runtime.InteropServices; namespace NativeDialog { internal sealed class DialogIOS : IDialog { public void Dispose() { } public void SetLabel(string decide, string cancel, string close) { _setLabel(decide, cancel, close); }...
#if UNITY_IOS using System.Runtime.InteropServices; namespace NativeDialog { internal sealed class DialogIOS : IDialog { public void Dispose() { } public void SetLabel(string decide, string cancel, string close) { _setLabel(decide, cancel, close); }...
mit
C#
7bd1bcba2f3f3ccb311620ddd97a368e768c7f6e
Update version number to 1.1
mephraim/ghostscriptsharp
GhostScriptSharp/Properties/AssemblyInfo.cs
GhostScriptSharp/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("Gh...
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("Gh...
mit
C#
484ff6b4c00d0d7b9dc1efd51a53513ec087a45d
Move 'is active?' logic into overridable function
Gibe/Gibe.Navigation
Gibe.Navigation/DefaultNavigationService.cs
Gibe.Navigation/DefaultNavigationService.cs
using System; using System.Collections.Generic; using System.Linq; using Gibe.Caching.Interfaces; using Gibe.Navigation.Models; namespace Gibe.Navigation { public class DefaultNavigationService<T> : INavigationService<T> where T : INavigationElement { private readonly ICache _cache; private readonly IEnumerable...
using System; using System.Collections.Generic; using System.Linq; using Gibe.Caching.Interfaces; using Gibe.Navigation.Models; namespace Gibe.Navigation { public class DefaultNavigationService<T> : INavigationService<T> where T : INavigationElement { private readonly ICache _cache; private readonly IEnumerable...
mit
C#
e443718dbbc2fb88e84cd09f06edc78d4c98e99c
Update assembly description
andyshao/Hangfire.Ninject,HangfireIO/Hangfire.Ninject
HangFire.Ninject/Properties/AssemblyInfo.cs
HangFire.Ninject/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("HangFire.Ninject")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("HangFire.Ninject")] [assembly: AssemblyDe...
mit
C#
06a31d32f5b451bc392609fc54af10c98a934ce0
add gunShot Audio edit
LNWPOR/HamsterRushVR-Client
Assets/Scripts/GameManager.cs
Assets/Scripts/GameManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public string URL = "http://localhost:8000"; public PlayerData playerData; public int characterType; private static GameManager _instance; public static GameManager Instance ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public string URL = "http://localhost:8000"; public PlayerData playerData; public int characterType; private static GameManager _instance; public static GameManager Instance ...
mit
C#
6e71632dcf034bc9a4672ab7fc26d520f8d9dbe8
Use the user-specific appdata path for the repository cache
awaescher/RepoZ,awaescher/RepoZ
RepoZ.Api.Win/Git/WindowsRepositoryCache.cs
RepoZ.Api.Win/Git/WindowsRepositoryCache.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RepoZ.Api.Common; using RepoZ.Api.Common.Git; using RepoZ.Api.Git; namespace RepoZ.Api.Win.Git { public class WindowsRepositoryCache : FileRepositoryCache { public WindowsRepo...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using RepoZ.Api.Common; using RepoZ.Api.Common.Git; using RepoZ.Api.Git; namespace RepoZ.Api.Win.Git { public class WindowsRepositoryCache : FileRepositoryCache { public WindowsRepo...
mit
C#
a4c228d38b0359565e445d8c8db30e0a6b5d4970
Remove magic string for fake controller
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Solution/FormEditor/EmailRenderer.cs
Source/Solution/FormEditor/EmailRenderer.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Hosting; using System.Web.Mvc; using System.Web.Routing; using Umbraco.Core.Models; namespace FormEditor { public class EmailRenderer { private const string EmailViewPath = "~/views/partials/formeditor/email/"...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Hosting; using System.Web.Mvc; using System.Web.Routing; using Umbraco.Core.Models; namespace FormEditor { public class EmailRenderer { private const string EmailViewPath = "~/views/partials/formeditor/email/"...
mit
C#
12043802d0ff177499cc884bbbb714ece34dc1fa
Remove html escaping for sermons.
razsilev/Sv_Naum,razsilev/Sv_Naum,razsilev/Sv_Naum
Source/SvNaum.Web/Views/Home/Sermons.cshtml
Source/SvNaum.Web/Views/Home/Sermons.cshtml
@model IEnumerable<SvNaum.Models.Sermon> @{ ViewBag.Title = "Проповеди"; } <h2>Проповеди!</h2> <br /> @if (this.User.Identity.IsAuthenticated) { @Html.ActionLink("Create Sermon", "SermonAdd", "Admin") <br /> <br /> } @if (Model != null && Model.Count() > 0) { foreach (var item in Model) { ...
@model IEnumerable<SvNaum.Models.Sermon> @{ ViewBag.Title = "Проповеди"; } <h2>Проповеди!</h2> <br /> @if (this.User.Identity.IsAuthenticated) { @Html.ActionLink("Create Sermon", "SermonAdd", "Admin") <br /> <br /> } @if (Model != null && Model.Count() > 0) { foreach (var item in Model) { ...
mit
C#
1a0d2f5a6028fbf0d1da718d7e4f61c52091e463
fix draft url
boyarincev/boyarincev.net,boyarincev/boyarincev.net
Snow/themes/snowbyte/drafts.cshtml
Snow/themes/snowbyte/drafts.cshtml
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.ContentViewModel> @using System.Collections.Generic @{ Layout = "default.cshtml"; } <header> <div class="head-inner"> <h1>Drafts</h1> </div> </header> <ul class="category-list fancy-container darkishblue"> @foreach(var draft in...
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<Snow.ViewModels.ContentViewModel> @using System.Collections.Generic @{ Layout = "default.cshtml"; } <header> <div class="head-inner"> <h1>Drafts</h1> </div> </header> <ul class="category-list fancy-container darkishblue"> @foreach(var draft in...
mit
C#
9b8865836e2064875caa24063d3654c8e275c897
add PathMatch configuration
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
src/DotNetCore.CAP/Dashboard/CAP.DashboardOptions.cs
src/DotNetCore.CAP/Dashboard/CAP.DashboardOptions.cs
using System; using System.Collections.Generic; using System.Text; using DotNetCore.CAP.Dashboard; namespace DotNetCore.CAP { public class DashboardOptions { public DashboardOptions() { AppPath = "/"; PathMatch = "/cap"; Authorization = new[] { new LocalRequ...
using System; using System.Collections.Generic; using System.Text; using DotNetCore.CAP.Dashboard; namespace DotNetCore.CAP { public class DashboardOptions { public DashboardOptions() { AppPath = "/"; Authorization = new[] { new LocalRequestsOnlyAuthorizationFilter() };...
mit
C#
e26023b3c31a82139dca1097612181f6c7eb21e8
Fix Escape Tag for single quote in textboxes
mvbalaw/FluentWebControls
src/FluentWebControls/Extensions/StringExtensions.cs
src/FluentWebControls/Extensions/StringExtensions.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using JetBrains.Annotations; namespace FluentWebControls.Extensions { public static class StringExtensions { public static string CreateQuotedAttribute(this string value, string name) { return St...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Web; using JetBrains.Annotations; namespace FluentWebControls.Extensions { public static class StringExtensions { public static string CreateQuotedAttribute(this string value, string name) { return St...
mit
C#
ea1afb896fd97485c590e3bb59a245a1f7eebe9c
remove now unused member
dkackman/DynamicRestProxy,jamesholcomb/DynamicRestProxy,jamesholcomb/DynamicRestProxy,dkackman/DynamicRestProxy
UnitTestHelpers/CredentialStore.cs
UnitTestHelpers/CredentialStore.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Dynamic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace UnitTestHelpers { /// <summary> /// This is a quick and dirty way to store service credentials in a place /// that is easy to...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Dynamic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace UnitTestHelpers { /// <summary> /// This is a quick and dirty way to store service credentials in a place /// that is easy to...
apache-2.0
C#
c7a6f0668bb44170340d568b2a50f96170957a98
Remove unused directives from benchmarking
nickbabcock/Pfim,nickbabcock/Pfim
src/Pfim.Benchmarks/DdsBenchmark.cs
src/Pfim.Benchmarks/DdsBenchmark.cs
using System.IO; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class DdsBenchmark { [Params("dxt1-simple.dds", "dxt3-simple.dds", "dxt5-simple.dds", "32-bit-uncompressed.dds")] public string Payload { get; set...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; using FreeImageAPI; using ImageMagick; using DS = DevILSharp; namespace Pfim.Benchmarks { public class DdsBenchmark { [Params("dxt1-sim...
mit
C#
6856f535b9b518ea57bde33d3235839f8b82cdc0
Update MvxFormsTouchPagePresenter.cs
Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins
FormsPresenters/Touch/MvxFormsTouchPagePresenter.cs
FormsPresenters/Touch/MvxFormsTouchPagePresenter.cs
// MvxFormsTouchPagePresenter.cs // 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk // Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Tomasz Cielecki, @cheesebaron, mvxplugins@oste...
using System.Threading.Tasks; using Cheesebaron.MvxPlugins.FormsPresenters.Core; using Cirrious.CrossCore; using Cirrious.MvvmCross.Touch.Views.Presenters; using Cirrious.MvvmCross.ViewModels; using UIKit; using Xamarin.Forms; namespace Cheesebaron.MvxPlugins.FormsPresenters.Touch { public class MvxFormsTouchPageP...
apache-2.0
C#
f61ede421e3b67b3bbf82da5fbb7749328e7f862
Enable yaclops internal commands by default
dswisher/yaclops
src/Yaclops/GlobalParserSettings.cs
src/Yaclops/GlobalParserSettings.cs
using System.Collections.Generic; namespace Yaclops { /// <summary> /// Settings that alter the default behavior of the parser, but do not depend on the command type. /// </summary> public class GlobalParserSettings { /// <summary> /// Constructor /// </summary> pu...
using System.Collections.Generic; namespace Yaclops { /// <summary> /// Settings that alter the default behavior of the parser, but do not depend on the command type. /// </summary> public class GlobalParserSettings { /// <summary> /// Constructor /// </summary> pu...
mit
C#
69a6eccaf1b228b1bd9e38d6f24573bb63727aea
Fix tag
matthewrdev/monodevelop-addin-packager,matthew-ch-robbins/monodevelop-addin-packager
MonoDevelopAddinPackager/Properties/AssemblyInfo.cs
MonoDevelopAddinPackager/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("MonoDevelopAddinPackager")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguratio...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("MonoDevelopAddinPackager")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguratio...
mit
C#
d2b3d8694f1e9da6e5816eaeb0fdf6feba6b4ad4
添加 Numeric 数据类型
Sandwych/slipstream,Sandwych/slipstream,Sandwych/slipstream,Sandwych/slipstream
ObjectServer/ObjectServer/Model/Fields/FieldType.cs
ObjectServer/ObjectServer/Model/Fields/FieldType.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ObjectServer.Model { public enum FieldType { Integer, BigInteger, Float, DateTime, Boolean, Decimal, Money, Chars, Text, Binary, ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ObjectServer.Model { public enum FieldType { Integer, BigInteger, Float, DateTime, Boolean, Money, Chars, Text, Binary, Enumeration, ...
agpl-3.0
C#
e7e59719ac4e441e90a9af11f2f57f519c2a4553
Fix error
TrickWaterArts/ProjectMinotaur
ProjectMinotaur/Assets/Script/Entity/Enemy/Enemy.cs
ProjectMinotaur/Assets/Script/Entity/Enemy/Enemy.cs
using UnityEngine; public class Enemy : IHealthHaver { public int damageAmt = 10; public float timeBetweenDamage = 1.0f; private float timeSinceLastDamage = 0.0f; public void OnCollisionStay(Collision collision) { if (timeSinceLastDamage >= timeBetweenDamage) { collision.collider.SendMessage("Damage", new...
using UnityEngine; public class Enemy : IHealthHaver { public int damageAmt = 10; public float timeBetweenDamage = 1.0f; private float timeSinceLastDamage = 0.0f; public void OnCollisionStay(Collision collision) { if (timeSinceLastDamage >= timeBetweenDamage) { if () { } collision.collider.SendMess...
apache-2.0
C#
b3cfeb17fd38cd06026f5271c340fa5b87ff8b4a
Update VisualNovel.cs
Nikey646/VndbSharp
VndbSharp/Models/VisualNovel/VisualNovel.cs
VndbSharp/Models/VisualNovel/VisualNovel.cs
using System; using System.Collections.ObjectModel; using Newtonsoft.Json; using VndbSharp.Attributes; using VndbSharp.Models.Common; namespace VndbSharp.Models.VisualNovel { public class VisualNovel { private VisualNovel() { } public UInt32 Id { get; private set; } [JsonProperty("title")] public String Na...
using System; using System.Collections.ObjectModel; using Newtonsoft.Json; using VndbSharp.Attributes; using VndbSharp.Models.Common; namespace VndbSharp.Models.VisualNovel { public class VisualNovel { private VisualNovel() { } public UInt32 Id { get; private set; } [JsonProperty("title")] public String Na...
mit
C#
f200c7d9189e2278bb142e1224aba8f82ef209d4
Add nullcheck
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/JsonConverters/Uint256JsonConverter.cs
WalletWasabi/JsonConverters/Uint256JsonConverter.cs
using NBitcoin; using Newtonsoft.Json; using System; using WalletWasabi.Helpers; namespace WalletWasabi.JsonConverters { public class Uint256JsonConverter : JsonConverter { /// <inheritdoc /> public override bool CanConvert(Type objectType) { return objectType == typeof(uint256); } /// <inheritdoc /> ...
using NBitcoin; using Newtonsoft.Json; using System; using WalletWasabi.Helpers; namespace WalletWasabi.JsonConverters { public class Uint256JsonConverter : JsonConverter { /// <inheritdoc /> public override bool CanConvert(Type objectType) { return objectType == typeof(uint256); } /// <inheritdoc /> ...
mit
C#
73c3e3f0c739483282c86d7eba52a34cff4186c7
Add user interface Russian support
xavierfoucrier/gmail-notifier,xavierfoucrier/gmail-notifier
code/Program.cs
code/Program.cs
using System; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { #region #attributes /// <summary> /// Mutex associated to the application instance /// </su...
using System; using System.Diagnostics; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { #region #attributes /// <summary> /// Mutex associated to the application instance /// </su...
mit
C#
769fde1602bb590d04aff75def166cece69212f4
Make EventProcesses not crash recompile
LDodson/HappyFunTimes,LDodson/HappyFunTimes,greggman/HappyFunTimes,greggman/HappyFunTimes
Unity3D/src/EventProcessor.cs
Unity3D/src/EventProcessor.cs
/* * Copyright 2014, Gregg Tavares. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* * Copyright 2014, Gregg Tavares. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
bsd-3-clause
C#
87262f9de5958fc322785a08c69b91690d1777bf
fix typo in FixAllSingleDocumentVaried case
stephentoub/roslyn,physhi/roslyn,gafter/roslyn,eriawan/roslyn,aelij/roslyn,weltkante/roslyn,AmadeusW/roslyn,gafter/roslyn,sharwell/roslyn,physhi/roslyn,mavasani/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,physhi/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,shyamnamboodiripad/rosl...
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfFixAllTests.cs
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfFixAllTests.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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertTy...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertTy...
mit
C#
3439480e38d0d0ad97b4be5bc7924de17ee7461c
Update ApprenticeshipBase.cs
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipBase.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2/Models/ApprenticeshipBase.cs
using System; using System.Collections.Generic; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public abstract class ApprenticeshipBase : Aggregate { protected ApprenticeshipBase() { ApprenticeshipUpdate = new List<ApprenticeshipUpdate>(); } ...
using System; using System.Collections.Generic; using SFA.DAS.CommitmentsV2.Types; namespace SFA.DAS.CommitmentsV2.Models { public abstract class ApprenticeshipBase : Aggregate { public ApprenticeshipBase() { ApprenticeshipUpdate = new List<ApprenticeshipUpdate>(); } ...
mit
C#
8c16226dfce3fd3fe7ffca040720079e98088098
Update PlayerController.cs
itsMilkid/Alien-Jump
Assets/Scripts/PlayerController.cs
Assets/Scripts/PlayerController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Rigidbody2D))] public class PlayerController : MonoBehaviour { [Header("Jump Force:")] public float thresholdX = 5.5f; public float thresholdY = 10.0f; [Header("UI - POWERBAR:")] public...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Rigidbody2D))] public class PlayerController : MonoBehaviour { [Header("Jump Force:")] public float thresholdX = 5.5f; public float thresholdY = 10.0f; [Header("UI - POWERBAR:")] public...
mit
C#
bf63bbb916e47a52b8b2952d9650d2285af61246
Implement AppHarborClient#GetApplications
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResul...
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResul...
mit
C#
4b91ed92ce1fe6b57a485436a2664c714438517e
build 7.1.16.0
agileharbor/channelAdvisorAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ChannelAdvisorAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assem...
bsd-3-clause
C#
2260067954c7eea0eea87630e14d3af4bf0cb136
rename method due to conflict notification by VS
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Shared/_LoginPartial.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Shared/_LoginPartial.cshtml
@if (Request.IsAuthenticated) { using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) { @Html.AntiForgeryToken() <ul class="nav navbar-nav navbar-right"> @if (User.IsInRole("Admin")) { <li c...
@using Microsoft.AspNet.Identity @if (Request.IsAuthenticated) { using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) { @Html.AntiForgeryToken() <ul class="nav navbar-nav navbar-right"> @if (User.IsInRole("Admin")) ...
mit
C#
e7f4eb9d5031f99ce723376bc918bfdcc1178ed6
remove default params from call
etishor/Metrics.NET,DeonHeyns/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,alhardy/Metrics.NET,ntent-ad/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metri...
Src/Adapters/Owin.Metrics/Middleware/TimerForEachRequestMiddleware.cs
Src/Adapters/Owin.Metrics/Middleware/TimerForEachRequestMiddleware.cs
using Metrics; using Metrics.Utils; using System; using System.Collections.Generic; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Owin.Metrics.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class TimerForEachRequestMiddleware : M...
using Metrics; using Metrics.Utils; using System; using System.Collections.Generic; using System.Net; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Owin.Metrics.Middleware { using AppFunc = Func<IDictionary<string, object>, Task>; public class TimerForEachRequestMiddleware : M...
apache-2.0
C#
96c72f6e89ff37212ab205417ccb1d516d5e0ff4
Update PushalotExceptionTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotExceptionTelemeter.cs
TIKSN.Core/Analytics/Telemetry/Pushalot/PushalotExceptionTelemeter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry.Pushalot { public class PushalotExceptionTelemeter : PushalotTelemeterBase, IExceptionTelemeter { public PushalotExceptionTelemeter(IPartialCo...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry.Pushalot { public class PushalotExceptionTelemeter : PushalotTelemeterBase, IExceptionTelemeter { public PushalotExceptionTelemeter(IPartialCo...
mit
C#
5b167e3eb10b89341ee065bba5a5d101b8fefd52
fix 'NoOpMediator' does not implement interface member (#308)
ardalis/CleanArchitecture,ardalis/CleanArchitecture,ardalis/CleanArchitecture
tests/Clean.Architecture.UnitTests/NoOpMediator.cs
tests/Clean.Architecture.UnitTests/NoOpMediator.cs
using System.Runtime.CompilerServices; using MediatR; namespace Clean.Architecture.UnitTests; public class NoOpMediator : IMediator { public Task Publish(object notification, CancellationToken cancellationToken = default) { return Task.CompletedTask; } public Task Publish<TNotification>(TNotification no...
using MediatR; namespace Clean.Architecture.UnitTests; public class NoOpMediator : IMediator { public Task Publish(object notification, CancellationToken cancellationToken = default) { return Task.CompletedTask; } public Task Publish<TNotification>(TNotification notification, CancellationToken cancellat...
mit
C#
08fdd0dc6bb3653aef7b101f1701cbd987dc4bb6
Add Azure.Batch AssemblyAttributes version info
yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,peshen/azure-sdk-for-net,r22016/azure-sdk-for-net,nathannfan/azure-sdk-for-net,samtoubia/azure-sdk-for-net,begoldsm/azure-sdk-for-net,atpham256/azure-sdk-for-net,stankovski/azure-sdk-for-net,samtoubia/azure-sdk-for-net,Yahnoosh/az...
src/Batch/Client/Src/AssemblyAttributes.cs
src/Batch/Client/Src/AssemblyAttributes.cs
// Copyright (c) Microsoft and contributors. 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 required by a...
// Copyright (c) Microsoft and contributors. 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 required by a...
mit
C#
5d8bd66dd513e60c9e1dd13b84843f0d53fbbd38
Update DirectionStep.cs
ericnewton76/gmaps-api-net
src/Google.Maps/Direction/DirectionStep.cs
src/Google.Maps/Direction/DirectionStep.cs
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Google.Maps.Direction { [JsonObject(MemberSerialization.OptIn)] public class DirectionStep { [JsonProperty("travel_mode")] public TravelMode TravelMode { get; set; } [JsonProperty("start_location...
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Google.Maps.Direction { [JsonObject(MemberSerialization.OptIn)] public class DirectionStep { [JsonProperty("travel_mode")] public TravelMode TravelMode { get; set; } [JsonProperty("start_location...
apache-2.0
C#
562b605bad57892ba98ef43a28b6eb117bb1fb65
remove redundant check
NancyFx/Nancy.Serialization.JsonNet,NancyFx/Nancy.Serialization.JsonNet
src/Nancy.Serialization.JsonNet/Helpers.cs
src/Nancy.Serialization.JsonNet/Helpers.cs
namespace Nancy.Serialization.JsonNet { using System; internal static class Helpers { /// <summary> /// Attempts to detect if the content type is JSON. /// Supports: /// application/json /// text/json /// application/vnd[something]+json ...
namespace Nancy.Serialization.JsonNet { using System; internal static class Helpers { /// <summary> /// Attempts to detect if the content type is JSON. /// Supports: /// application/json /// text/json /// application/vnd[something]+json ...
mit
C#
9b213f5813f09c77f2dc8410692d8aa7f1a27a5c
change a testing uri to a correct public visible api
oelite/RESTme
src/OElite.Restme.UnitTests/RestmeTests.cs
src/OElite.Restme.UnitTests/RestmeTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OElite.Restme.UnitTests { public class RestmeTests { [Fact] public void GetTests() { var rest = new Restme(new Uri("http://freegeoip.net")); v...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OElite.Restme.UnitTests { public class RestmeTests { [Fact] public void GetTests() { var rest = new Restme(new Uri("http://freegeoip.net")); v...
mit
C#
e4b877599d48c5155198c15b9c31431eaec4bb1a
add async test
oelite/RESTme
src/OElite.Restme.UnitTests/RestmeTests.cs
src/OElite.Restme.UnitTests/RestmeTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OElite.Restme.UnitTests { public class RestmeTests { [Fact] public void GetTests() { var rest = new Restme(new Uri("http://freegeoip.net")); v...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace OElite.Restme.UnitTests { public class RestmeTests { [Fact] public void GetTests() { var rest = new Restme(new Uri("http://freegeoip.net")); v...
mit
C#
3152fb6fc69ef2d9e3b0ae4c996fba7e8a664da8
Comment out ctrl-C System.Console test
shrutigarg/corefx,jlin177/corefx,tijoytom/corefx,akivafr123/corefx,lggomez/corefx,shrutigarg/corefx,pallavit/corefx,ptoonen/corefx,iamjasonp/corefx,jhendrixMSFT/corefx,n1ghtmare/corefx,jcme/corefx,brett25/corefx,andyhebear/corefx,alexandrnikitin/corefx,nbarbettini/corefx,heXelium/corefx,benjamin-bader/corefx,pgavlin/co...
src/System.Console/tests/CancelKeyPress.cs
src/System.Console/tests/CancelKeyPress.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Xunit; public class CancelKeyPress { private const int WaitFailTestTimeoutSeconds = 30; [Fact] public static void CanAddAndRemoveHand...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Runtime.InteropServices; using System.Threading; using Xunit; public class CancelKeyPress { private const int WaitFailTestTimeoutSecond...
mit
C#
208573bb252e8542d2d9fc25421918c94444866f
Update startup of sample to pass in the serviceProvider
pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototy...
src/Glimpse.Owin.Sample/Startup.cs
src/Glimpse.Owin.Sample/Startup.cs
using Glimpse.Host.Web.Owin; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection.Fallback; using Owin; using System.Collections.Generic; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { var ...
using Glimpse.Host.Web.Owin; using Owin; namespace Glimpse.Owin.Sample { public class Startup { public void Configuration(IAppBuilder app) { app.Use<GlimpseMiddleware>(); app.UseWelcomePage(); app.UseErrorPage(); } } }
mit
C#
8ecee64263d3ef72db54091a37c797a9dfa36d0d
Replace npmcdn.com with unpkg.com
Isdas/buldringno,Isdas/buldringno,Isdas/buldringno,Isdas/buldringno
src/buldringno/Views/Shared/_Layout.cshtml
src/buldringno/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@ViewBag.Title</title> @*<base href="/">*@ <link href="~/lib/css/bootstrap.css" rel="stylesheet" /> <link ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>@ViewBag.Title</title> @*<base href="/">*@ <link href="~/lib/css/bootstrap.css" rel="stylesheet" /> <link ...
mit
C#
c1e02743f05a116dad14f041899171f0de1fbeb8
Fix battle sequence bug 2/2
Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria
Assembly-CSharp/Global/SEQ_WORK.cs
Assembly-CSharp/Global/SEQ_WORK.cs
using System; public class SEQ_WORK { public SeqFlag Flags; public CMD_DATA CmdPtr; public Int32 CurPtr; public Int32 OldPtr; public Int16 IncCnt; public Int16 DecCnt; public Int16 AnmCnt; public Byte AnmIDOfs; public Byte SfxTime; public UInt16 SfxNum; public Byte SfxAttr; public Byte SfxVol; ...
using System; public class SEQ_WORK { public SeqFlag Flags; public CMD_DATA CmdPtr; public Int32 CurPtr; public Int32 OldPtr; public Int16 IncCnt; public Int16 DecCnt; public Int16 AnmCnt; public Byte AnmIDOfs; public Byte SfxTime; public UInt16 SfxNum; public Byte SfxAttr; public Byte SfxVol; ...
mit
C#
dda6e8e019028e8c9f42382d3d6d06e8efcd1a92
test fix
iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept,iolevel/peachpie-concept,iolevel/peachpie,peachpiecompiler/peachpie,peachpiecompiler/peachpie
src/Tests/Peachpie.Test/Program.cs
src/Tests/Peachpie.Test/Program.cs
using System; using System.IO; using Pchp.Core; namespace Peachpie.Test { class Program { const string ScriptPath = "index.php"; static void Main(string[] args) { // bootstrapper that compiles, loads and runs our script file var provider = (Context.IScriptingP...
using System; using System.IO; using Pchp.Core; namespace Peachpie.Test { class Program { const string ScriptPath = "index.php"; static void Main(string[] args) { // bootstrapper that compiles, loads and runs our script file var provider = (Context.IScriptingP...
apache-2.0
C#
39dbecb3b39e0d67bb630bfbe606a85118b59a4f
Simplify logic in merge sort and remove duplicated code.
scott-fleischman/algorithms-csharp
src/Algorithms.Sort/MergeSort.cs
src/Algorithms.Sort/MergeSort.cs
using System.Collections.Generic; namespace Algorithms.Sort { public class MergeSort : ISortInPlace { // 2.3.1, pp. 31-34 public void SortInPlace<T>(IList<T> items, IComparer<T> comparer) { MergeSortInPlace(items, 0, items.Count - 1, comparer); } private void MergeSortInPlace<T>(IList<T> i...
using System; using System.Collections.Generic; namespace Algorithms.Sort { public class MergeSort : ISortInPlace { // 2.3.1, pp. 31-34 public void SortInPlace<T>(IList<T> items, IComparer<T> comparer) { MergeSortInPlace(items, 0, items.Count - 1, comparer); } private void MergeSortInPlac...
mit
C#
3bd5c1d6fafa38fd789581f9b10cef49915c55fd
Remove incorrect comment.
mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,...
src/Manos/Manos.Server/IOLoop.cs
src/Manos/Manos.Server/IOLoop.cs
using System; using System.Linq; using System.Text; using System.Threading; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using Libev; namespace Manos.Server { public class IOLoop { private static IOLoop instance = new IOLoop (); private bool ru...
using System; using System.Linq; using System.Text; using System.Threading; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; using Libev; namespace Manos.Server { public class IOLoop { private static IOLoop instance = new IOLoop (); private bool ru...
mit
C#
e1a70d94e7a9a80f652c41cf1ea18ef6e60357dc
Fix test that was impacted by facility code bit shift
jmelosegui/pinvoke,vbfox/pinvoke,AArnott/pinvoke
src/Windows.Core/PInvokeExtensions.cs
src/Windows.Core/PInvokeExtensions.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; using System.Runtime.InteropServices; using stat...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. namespace PInvoke { using System; using System.Runtime.InteropServices; using stat...
mit
C#