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
f3c8c8a66865797bca1b5d18c7a5aa67be2d357f
Remove coded North Glenden Prison position adjustments (#2311)
LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE
Source/ACE.Server/Physics/Util/AdjustPos.cs
Source/ACE.Server/Physics/Util/AdjustPos.cs
using System.Collections.Generic; using System.Numerics; using ACE.Entity; namespace ACE.Server.Physics.Util { /// <summary> /// Some dungeons require position adjustments, as well as cell adjustments /// </summary> public class AdjustPos { public static Dictionary<uint, AdjustPosProfile> D...
using System.Collections.Generic; using System.Numerics; using ACE.Entity; namespace ACE.Server.Physics.Util { /// <summary> /// Some dungeons require position adjustments, as well as cell adjustments /// </summary> public class AdjustPos { public static Dictionary<uint, AdjustPosProfile> D...
agpl-3.0
C#
7a770fa12f8f5678266b87e9acd1a930555cf840
Teste nao assincrono
Rafael-Miceli/PriceStoresBack,Rafael-Miceli/PriceStoresBack
tests/Integration/NewProductQueueTests.cs
tests/Integration/NewProductQueueTests.cs
using Api.ApplicationServices; using Api.Data; using Api.Controllers; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Threading.Tasks; using System; using Api.ViewModels; using RabbitMQ.Client; using System.Text; namespace tests.Integration { [TestClass] public class NewProd...
using Api.ApplicationServices; using Api.Data; using Api.Controllers; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Linq; using System.Threading.Tasks; using System; using Api.ViewModels; using RabbitMQ.Client; using System.Text; namespace tests.Integration { [TestClass] public class NewProd...
apache-2.0
C#
237c98318d1f89e3b1d3a8af9e422883edb27889
Add XML comments to IPropertySettings
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/IPropertySettings.cs
src/Atata/IPropertySettings.cs
namespace Atata { /// <summary> /// Defines functionality that provides the properties bag. /// </summary> public interface IPropertySettings { /// <summary> /// Gets the properties bag. /// </summary> PropertyBag Properties { get; } } }
namespace Atata { public interface IPropertySettings { PropertyBag Properties { get; } } }
apache-2.0
C#
662f8b6c06e943988dacd31ec448008c61677df5
change label type on sensor
LagoVista/DeviceAdmin
src/LagoVista.IoT.DeviceAdmin/Models/Sensor.cs
src/LagoVista.IoT.DeviceAdmin/Models/Sensor.cs
using LagoVista.Core.Attributes; using LagoVista.Core.Validation; using LagoVista.IoT.DeviceAdmin.Resources; using System; using System.Collections.ObjectModel; namespace LagoVista.IoT.DeviceAdmin.Models { [EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryResources.Names.Sensor_Title, DeviceLibraryRe...
using LagoVista.Core.Attributes; using LagoVista.Core.Validation; using LagoVista.IoT.DeviceAdmin.Resources; using System; using System.Collections.ObjectModel; namespace LagoVista.IoT.DeviceAdmin.Models { [EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryResources.Names.Attribute_Title, DeviceLibrar...
mit
C#
19616c1bc97537247b32318b2d31794fdd6328cf
Remove deprecated extension method
khellang/Middleware,khellang/Middleware
src/ProblemDetails/ProblemDetailsExtensions.cs
src/ProblemDetails/ProblemDetailsExtensions.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; namespace Hellang.Middleware.ProblemDetails { public static class ProblemDetailsExtensions { public static IS...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Options; namespace Hellang.Middleware.ProblemDetails { public static class ProblemDetailsExtensions { public static IS...
mit
C#
fd518c33cf58d84c799f3c852fa17d93f1489b08
Improve AppSettings slightly
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Services/Config/AppSettings.cs
src/SyncTrayzor/Services/Config/AppSettings.cs
using System.Configuration; using System.IO; using System.Xml; using System.Xml.Serialization; namespace SyncTrayzor.Services.Config { public class XmlConfigurationSection : ConfigurationSection { private XmlReader reader; protected override void DeserializeSection(XmlReader reader) {...
using System.Configuration; using System.IO; using System.Xml; using System.Xml.Serialization; namespace SyncTrayzor.Services.Config { public class XmlConfigurationSection : ConfigurationSection { private XmlReader reader; protected override void DeserializeSection(XmlReader reader) {...
mit
C#
8dc5be38e2f27ba786d09ad35245e26836d2f560
add comment
TryStatsN/StatsN
src/StatsN/TplExtensions.cs
src/StatsN/TplExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace StatsN { /// <summary> /// Class that provides Task.FromResult functions for dotnet 4+ /// </summary> public static class TplFactory { public static Task<Result> FromResult<Result>(Re...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace StatsN { public static class TplFactory { public static Task<Result> FromResult<Result>(Result result) { #if net40 var taskSource = new TaskCompletionSource<Result>(); ...
mit
C#
c28dc6c615c0e4ddceccbe4b18fe701b4ca6065a
hide version in heaer
irresolution/vivianClothing,irresolution/vivianClothing
vivianClothing/vivianClothing/Global.asax.cs
vivianClothing/vivianClothing/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace vivianClothing { // 注意: 如需啟用 IIS6 或 IIS7 傳統模式的說明, // 請造訪 http://go.microsoft.com/?LinkId=9394801 public clas...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace vivianClothing { // 注意: 如需啟用 IIS6 或 IIS7 傳統模式的說明, // 請造訪 http://go.microsoft.com/?LinkId=9394801 public clas...
mit
C#
70093de50cfd8dd369f1f9d392bff1da47fc5d0b
Fix typo.
Mikuz/Battlezeppelins,Mikuz/Battlezeppelins
Battlezeppelins/Controllers/PollController.cs
Battlezeppelins/Controllers/PollController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Battlezeppelins.Models; namespace Battlezeppelins.Controllers { public class PollController : Controller { public ActionResult UpdateLastSeen() { if (Reques...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Battlezeppelins.Models; namespace Battlezeppelins.Controllers { public class PollController : Controller { public ActionResult UpdateLastSeen() { if (Reques...
apache-2.0
C#
52f3e9968e9d8726eb74c54726141f00966ff514
Update version to 1.0.1
gabornemeth/restsharp.portable
RestSharp.Portable/Properties/AssemblyInfo.cs
RestSharp.Portable/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeor...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über folgende // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeor...
bsd-2-clause
C#
4b7114590f9451832ffa0e652190cc7f13befeb3
Generalize verification
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/ZeroKnowledge/Verifier.cs
WalletWasabi/Crypto/ZeroKnowledge/Verifier.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge { public static class Verifier { public static bool Verify(KnowledgeOfRepresentation proof, GroupElement publicPoint, IEnum...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge { public static class Verifier { public static bool Verify(KnowledgeOfDiscreteLog proof, GroupElement publicPoint, GroupEle...
mit
C#
16f8089acbb802bb65d7077daaede7ea20cc6ba5
Remove unused code from quick-start guide example project.
Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; // static LearnositySDK.Credentials; namespace LearnosityDemo.Pages { public class Ite...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using LearnositySDK.Request; using LearnositySDK.Utils; // static LearnositySDK.Credentials; namespace LearnosityDemo.Pages { public class Ite...
apache-2.0
C#
eaa0d656ef7aac779ea380ea1a4f073a9fd7e47f
Fix compile break
mcosand/KCSARA-Database,mcosand/KCSARA-Database,mcosand/KCSARA-Database
tests/Website.UnitTests/AlwaysYesAuth.cs
tests/Website.UnitTests/AlwaysYesAuth.cs
/* * Copyright 2013-2014 Matthew Cosand */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Kcsara.Database.Services; namespace Internal.Website { public class AlwaysYesAuth : IAuthService { public Gu...
/* * Copyright 2013-2014 Matthew Cosand */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web; using Kcsara.Database.Services; namespace Internal.Website { public class AlwaysYesAuth : IAuthService { public Gu...
agpl-3.0
C#
e12e32ec946cb84c24278b591063e8265f2ed287
Fix memory patterns saving when not playing.
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
osu!StreamCompanion/Code/Modules/MapDataGetters/FileMap/FileMapDataGetter.cs
osu!StreamCompanion/Code/Modules/MapDataGetters/FileMap/FileMapDataGetter.cs
using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.FileMap { public class FileMapDataGetter : IModule, IMapDataGetter { public bool Started { get; set; } private readonly FileMapManager _fileMapMan...
using osu_StreamCompanion.Code.Core.DataTypes; using osu_StreamCompanion.Code.Interfaces; namespace osu_StreamCompanion.Code.Modules.MapDataGetters.FileMap { public class FileMapDataGetter : IModule, IMapDataGetter { public bool Started { get; set; } private readonly FileMapManager _fileMapMan...
mit
C#
880f6d495e058b864f5d617ff2fd952453d5b7af
Fix previous merge error
signumsoftware/framework,avifatal/framework,avifatal/framework,AlejandroCano/framework,AlejandroCano/framework,signumsoftware/framework
Signum.Web/TypeContext/TypeContextHelper.cs
Signum.Web/TypeContext/TypeContextHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using Signum.Utilities.Reflection; using Signum.Entities; using Signum.Utilities.ExpressionTrees; using Signum.Utilities; using System.Web.Mvc; using System.Web.Mvc.Html; namespace Signum.Web { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using Signum.Utilities.Reflection; using Signum.Entities; using Signum.Utilities.ExpressionTrees; using Signum.Utilities; using System.Web.Mvc; using System.Web.Mvc.Html; namespace Signum.Web { ...
mit
C#
bb3b226389f1d82bed5cb65b18da2f8f5f8cd9c4
Add more InterpolatingFunctions.
Damnae/storybrew
common/Animations/InterpolatingFunctions.cs
common/Animations/InterpolatingFunctions.cs
using OpenTK; using StorybrewCommon.Storyboarding.CommandValues; using System; namespace StorybrewCommon.Animations { public static class InterpolatingFunctions { public static Func<float, float, double, float> Float = (from, to, progress) => from + (to - from) * (float)progress; public static...
using OpenTK; using StorybrewCommon.Storyboarding.CommandValues; using System; namespace StorybrewCommon.Animations { public static class InterpolatingFunctions { public static Func<float, float, double, float> Float = (from, to, progress) => from + (to - from) * (float)progress; public static...
mit
C#
1f30e7b8bdfa67be0b3f69e2bc36db0630f9a01e
Update MandateStatus.cs
Viincenttt/MollieApi,Viincenttt/MollieApi
Mollie.Api/Models/Mandate/MandateStatus.cs
Mollie.Api/Models/Mandate/MandateStatus.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Mollie.Api.Models.Mandate { public enum MandateStatus { [EnumMember(Value = "valid")] Valid, [EnumMember(Value = "invalid")]...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Mollie.Api.Models.Mandate { public enum MandateStatus { [EnumMember(Value = "valid")] Valid, [EnumMember(Value = "invalid")]...
mit
C#
2a8e2df54fd04ab8872b9064af67a3dc8467daab
Add deprecated to UI
RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag,quails4Eva/NSwag,RSuter/NSwag
src/NSwagStudio/Views/SwaggerGenerators/WebApiToSwaggerGeneratorView.xaml.cs
src/NSwagStudio/Views/SwaggerGenerators/WebApiToSwaggerGeneratorView.xaml.cs
using System.Linq; using System.Threading.Tasks; using System.Windows.Controls; using MyToolkit.Mvvm; using NSwag.Commands; using NSwag.Commands.Generation.WebApi; using NSwagStudio.ViewModels.SwaggerGenerators; namespace NSwagStudio.Views.SwaggerGenerators { public partial class WebApiToSwaggerGeneratorView : IS...
using System.Linq; using System.Threading.Tasks; using System.Windows.Controls; using MyToolkit.Mvvm; using NSwag.Commands; using NSwag.Commands.Generation.WebApi; using NSwagStudio.ViewModels.SwaggerGenerators; namespace NSwagStudio.Views.SwaggerGenerators { public partial class WebApiToSwaggerGeneratorView : IS...
mit
C#
37b49a4c45843c85c36dfec419825b28342326be
Add using statement for Swashbuckle 4.0
mattfrear/Swashbuckle.AspNetCore.Examples
src/Swashbuckle.AspNetCore.Filters/Extensions/SwaggerGenOptionsExtensions.cs
src/Swashbuckle.AspNetCore.Filters/Extensions/SwaggerGenOptionsExtensions.cs
using Microsoft.Extensions.DependencyInjection; using Swashbuckle.AspNetCore.SwaggerGen; namespace Swashbuckle.AspNetCore.Filters { public static class SwaggerGenOptionsExtensions { public static void ExampleFilters(this SwaggerGenOptions swaggerGenOptions) { swaggerGenOptions.Opera...
using Swashbuckle.AspNetCore.SwaggerGen; namespace Swashbuckle.AspNetCore.Filters { public static class SwaggerGenOptionsExtensions { public static void ExampleFilters(this SwaggerGenOptions swaggerGenOptions) { swaggerGenOptions.OperationFilter<ExamplesOperationFilter>(); ...
mit
C#
ab8c03f9600d49028cbed614f220b4ad31355acc
use rel=stylesheet instead of type=text/css to find css links
mwrock/RequestReduce,mwrock/RequestReduce,mwrock/RequestReduce
RequestReduce/ResourceTypes/CssResource.cs
RequestReduce/ResourceTypes/CssResource.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using System; namespace RequestReduce.ResourceTypes { public class CssResource : IResourceType { private const string CssFormat = @"<link href=""{0}"" rel=""Stylesheet"" type=""text/css"" />"; private readonly Regex cssPat...
using System.Collections.Generic; using System.Text.RegularExpressions; using System; namespace RequestReduce.ResourceTypes { public class CssResource : IResourceType { private const string CssFormat = @"<link href=""{0}"" rel=""Stylesheet"" type=""text/css"" />"; private readonly Regex cssPat...
apache-2.0
C#
a6b130e8436ce33ba9a6844ee3da94fe36748c26
Use slug for single search result
sboulema/Hops,sboulema/Hops,sboulema/Hops
src/Hops/Controllers/SearchController.cs
src/Hops/Controllers/SearchController.cs
using Hops.Repositories; using Microsoft.AspNet.Mvc; using System.Collections.Generic; using System.Linq; namespace Hops.Controllers { [Route("[controller]")] public class SearchController : Controller { private ISqliteRepository sqliteRepository; public SearchController(ISqliteRepository...
using Hops.Repositories; using Microsoft.AspNet.Mvc; using System.Collections.Generic; using System.Linq; namespace Hops.Controllers { [Route("[controller]")] public class SearchController : Controller { private ISqliteRepository sqliteRepository; public SearchController(ISqliteRepository...
mit
C#
a1639c2490e0bf294ba1ef002ceb39fbb63b4726
Improve FileLogWriterConfig + make it abstract.
logjam2/logjam,logjam2/logjam
src/LogJam/Config/FileLogWriterConfig.cs
src/LogJam/Config/FileLogWriterConfig.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FileLogWriterConfig.cs"> // Copyright (c) 2011-2016 https://github.com/logjam2. // </copyright> // Licensed under the <a href="https://github.com/logjam2/logjam/blob/master/LICEN...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="FileLogWriterConfig.cs"> // Copyright (c) 2011-2016 https://github.com/logjam2. // </copyright> // Licensed under the <a href="https://github.com/logjam2/logjam/blob/master/LICEN...
apache-2.0
C#
e12c9860cbca34ff341d4fb0cb09a949477a1585
Add CLS complaint attribute
cjbhaines/MemBroker
src/MemBroker/Properties/AssemblyInfo.cs
src/MemBroker/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("MemBroker")] [assembly: AssemblyProduct("MemBroker")] [assembly: AssemblyCopyright("Copyright © Chris Haines 2014. - All rights reserved.")] [assembly: AssemblyVersion("1.1.1.0")] [assembly: AssemblyFileVersion("1.1...
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("MemBroker")] [assembly: AssemblyDescripti...
mit
C#
337378ddf0950701a0e436ab101997fd17174c44
Update ErrorLog
novuslogic/NovuscodeLibrary.NET
Source/NovusCodeLibrary4.Elmah/ErrorLog.cs
Source/NovusCodeLibrary4.Elmah/ErrorLog.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using Elmah; namespace NovusCodeLibrary4.Elmah { public static class ErrorLog { public static void LogMessage(string aMessage) { try { ErrorSignal.Fr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using Elmah; namespace NovusCodeLibrary4.Elmah { public static class ErrorLog { /// <summary> /// Log error to Elmah /// </summary> public static void LogError(Exception ex, ...
apache-2.0
C#
9aeaef093d0f151b85d0f76b63ff97e77207d1f3
Update CraftingTests.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Tests/CraftingTests.cs
UnityProject/Assets/Tests/CraftingTests.cs
using System.Text; using Systems.Cargo; using Systems.CraftingV2; using NUnit.Framework; using UnityEditor; using UnityEngine; namespace Tests { public class CraftingTests { [Test] public void CheckCraftingIndex() { var report = new StringBuilder(); if (Utils.TryGetScriptableObjectGUID(typeof(CraftingRe...
using System.Text; using Systems.Cargo; using Systems.CraftingV2; using NUnit.Framework; using UnityEditor; using UnityEngine; namespace Tests { public class CraftingTests { [Test] public void CheckCraftingIndex() { var report = new StringBuilder(); if (Utils.TryGetScriptableObjectGUID(typeof(CraftingRe...
agpl-3.0
C#
ee5118dd0bd3f786861c9f28dd0e1624b3b2f153
fix release build
Microsoft/ApplicationInsights-SDK-Labs
AggregateMetrics/AggregateMetrics.Tests/AzureWebApp/CPUPercenageGaugeTests.cs
AggregateMetrics/AggregateMetrics.Tests/AzureWebApp/CPUPercenageGaugeTests.cs
namespace AggregateMetrics.Tests.AzureWebApp { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp; using System.Threading; using System.Globalization; [TestClass] public class CPUPercenageGaugeTes...
namespace AggregateMetrics.Tests.AzureWebApp { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp; using System.Threading; [TestClass] public class CPUPercenageGaugeTests { [TestMethod] ...
mit
C#
0797e144c42eb96fd81db6d9d436dc430b86d0d9
Fix compilation error introduced with last minute cleanup added when looking at the diff.
blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon
Parser/Resolver/LocaleIdAllocator.cs
Parser/Resolver/LocaleIdAllocator.cs
using System.Collections.Generic; namespace Parser { // Assigns each locale an ID from 0 to n - 1 internal static class LocaleIdAllocator { // TODO: merge this with the current ID allocator in ParserContext. public static void Run(ParserContext parser, IList<CompilationScope> scope...
using System.Collections.Generic; namespace Parser { // Assigns each locale an ID from 0 to n - 1 internal static class LocaleIdAllocator { public static void Run(ParserContext parser, IList<CompilationScope> scopes) { foreach (CompilationScope scope in scopes) ...
mit
C#
b5629d654d8079b01df5b34f3011fd39646fc2fd
fix bug in try.catch
sebastus/AzureFunctionForSplunk
shared/sendToSplunk.csx
shared/sendToSplunk.csx
#r "Newtonsoft.Json" using System; using System.Dynamic; using System.Net; using System.Net.Http.Headers; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public class SingleHttpClientInstance { private static readonly HttpClient HttpClient; static SingleHttpClientInstance() { ...
#r "Newtonsoft.Json" using System; using System.Dynamic; using System.Net; using System.Net.Http.Headers; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; public class SingleHttpClientInstance { private static readonly HttpClient HttpClient; static SingleHttpClientInstance() { ...
mit
C#
eb065286ae5b17081910d708fc1deb2421c969bd
fix ci
ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu
osu.Game.Rulesets.Osu/Skinning/LegacyCursor.cs
osu.Game.Rulesets.Osu/Skinning/LegacyCursor.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulesets....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulesets....
mit
C#
ae609b9d48c50ae6f7ad291f191ee76309fda123
Remove unnecessary local variable
peppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu-new
osu.Game/Screens/Menu/MenuLogoVisualisation.cs
osu.Game/Screens/Menu/MenuLogoVisualisation.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 osuTK.Graphics; using osu.Game.Skinning; using osu.Game.Online.API; using osu.Game.Users; using osu.Framework.Allocation; using osu.Framework.Bindables; namespace...
// 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 osuTK.Graphics; using osu.Game.Skinning; using osu.Game.Online.API; using osu.Game.Users; using osu.Framework.Allocation; using osu.Framework.Bindables; namespace...
mit
C#
d5a3df62d0e8ca74883affa58de6aa5345fba533
Add Integer Vectors, WIP
ajlopez/TensorSharp
Src/TensorSharp.Tests/Operations/AddIntegerOperationTests.cs
Src/TensorSharp.Tests/Operations/AddIntegerOperationTests.cs
namespace TensorSharp.Tests.Operations { using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TensorSharp.Operations; [TestClass] public class AddIntegerOperationTests { [TestMethod] public void AddSingleValues() { ...
namespace TensorSharp.Tests.Operations { using System; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using TensorSharp.Operations; [TestClass] public class AddIntegerOperationTests { [TestMethod] public void AddSingleValues() { ...
mit
C#
212ca1b836f4bcc2f265d0c49475cc75ef281756
Bump version up to reflect a change of the API in R.NET, and avoid confusions.
jmp75/metaheuristics,jmp75/metaheuristics,jmp75/metaheuristics,jmp75/metaheuristics
CSIRO.Metaheuristics/Properties/SolutionInfo.cs
CSIRO.Metaheuristics/Properties/SolutionInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCompany( "CSIRO" )] [assembly: AssemblyCopyright( "Copyright © CSIRO 2010-2013" )] [assembly: AssemblyTrademark( "" )] [assembly: AssemblyCulture( "" )] [assembly: AssemblyConfiguration("")] // Ve...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyCompany( "CSIRO" )] [assembly: AssemblyCopyright( "Copyright © CSIRO 2010-2013" )] [assembly: AssemblyTrademark( "" )] [assembly: AssemblyCulture( "" )] [assembly: AssemblyConfiguration("")] // Ve...
lgpl-2.1
C#
794e0aeaf4f0d97d9d22a3e7f20ffec40dfcb7f2
Remove explicit default value initialization.
GGG-KILLER/GUtils.NET
GUtils.Testing/DelegateInvocationCounter.cs
GUtils.Testing/DelegateInvocationCounter.cs
using System; using System.Runtime.CompilerServices; using System.Threading; namespace GUtils.Testing { /// <summary> /// A class that tracks the amount of times its <see cref="WrappedDelegate" /> was invoked. /// </summary> /// <typeparam name="T"></typeparam> public class DelegateInvocationCount...
using System; using System.Runtime.CompilerServices; using System.Threading; namespace GUtils.Testing { /// <summary> /// A class that tracks the amount of times its <see cref="WrappedDelegate" /> was invoked. /// </summary> /// <typeparam name="T"></typeparam> public class DelegateInvocationCount...
mit
C#
3118869e11c4a928fce75b9cafa1dc05bc4f94c0
Fix inspection
ParticularLabs/APIComparer,modernist/APIComparer,ParticularLabs/APIComparer,modernist/APIComparer
APIComparer.Backend/CompareSetReporter.cs
APIComparer.Backend/CompareSetReporter.cs
namespace APIComparer.Backend { using System; using System.IO; using Reporting; public class CompareSetReporter { public void Report(PackageDescription description, DiffedCompareSet[] diffedCompareSets) { var resultPath = DetermineAndCreateResultPathIfNotExistant(descrip...
namespace APIComparer.Backend { using System; using System.IO; using APIComparer.Backend.Reporting; public class CompareSetReporter { public void Report(PackageDescription description, DiffedCompareSet[] diffedCompareSets) { var resultPath = DetermineAndCreateResultPathI...
mit
C#
f3afca8c34dd9b6c067ff78680a6c852e271e1b8
Update BasicAssocItem.cs
willrawls/xlg,willrawls/xlg
MetX/MetX.Standard.XDString/BasicAssocItem.cs
MetX/MetX.Standard.XDString/BasicAssocItem.cs
using System; using System.Text; using System.Xml.Serialization; using MetX.Standard.XDString.Interfaces; namespace MetX.Standard.XDString; [Serializable] public class AssocItemWithChildren : BasicAssocItem { public AssocArray Children = new(); public AssocItemWithChildren(string key, string value = null, G...
using System; using System.Text; using System.Xml.Serialization; using MetX.Standard.XDString.Interfaces; namespace MetX.Standard.XDString; [Serializable] public class BasicAssocItem : IAssocItem { [XmlAttribute] public string Key { get; set; } [XmlAttribute] public string Value { get; set; } [XmlAttribu...
mit
C#
d81daee5946f622e91004f1736c242d347b60f9e
Fix tag helpers namespace
martincostello/api,martincostello/api,martincostello/api
src/API/Views/_ViewImports.cshtml
src/API/Views/_ViewImports.cshtml
@using System.Globalization; @using MartinCostello.Api @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using System.Globalization; @using MartinCostello.Api @addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
mit
C#
0f7f2570b107ec77ca0569a0d8478ca2defa5b24
Support sequential statements with value loading at last.
modulexcite/msgpack-cli,undeadlabs/msgpack-cli,modulexcite/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,msgpack/msgpack-cli
src/MsgPack/Serialization/EmittingSerializers/SequenceILConstruct.cs
src/MsgPack/Serialization/EmittingSerializers/SequenceILConstruct.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2013 FUJIWARA, Yusuke // // 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.apach...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010-2013 FUJIWARA, Yusuke // // 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.apach...
apache-2.0
C#
db3f0ed409516c6a322720fcf988a375dce8924d
Add Sector to PublicSectorOrganisation Client
SkillsFundingAgency/das-referencedata,SkillsFundingAgency/das-referencedata
src/SFA.DAS.ReferenceData.Api.Client/Dto/PublicSectorOrganisation.cs
src/SFA.DAS.ReferenceData.Api.Client/Dto/PublicSectorOrganisation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SFA.DAS.ReferenceData.Api.Client.Dto { public class PublicSectorOrganisation { public string Name { get; set; } public DataSource Source { get; set; } public st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SFA.DAS.ReferenceData.Api.Client.Dto { public class PublicSectorOrganisation { public string Name { get; set; } public DataSource Source { get; set; } } public...
mit
C#
d0b56dcd48467aea63a82b3edf464cfdee9706ba
Remove set's on ActionResultTypes
peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimp...
src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/ActionResultTypes.cs
src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/ActionResultTypes.cs
using System; using System.Collections.Generic; namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies { public class ActionResultTypes { public interface IViewResult { int? StatusCode { get; } string ViewName { get; } IDictionary<string, object> TempData { ...
using System; using System.Collections.Generic; namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies { public class ActionResultTypes { public interface IViewResult { int? StatusCode { get; } string ViewName { get; } IDictionary<string, object> TempData { ...
mit
C#
0b7802a58ffbc3181a91a93c1262fe5515b649d8
Use login/getting started background image.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
src/MobileApps/MyDriving/MyDriving.iOS/GettingStartedContentViewController.cs
src/MobileApps/MyDriving/MyDriving.iOS/GettingStartedContentViewController.cs
using Foundation; using System; using UIKit; namespace MyDriving.iOS { public partial class GettingStartedContentViewController : UIViewController { public UIImage Image { get; set; } public int PageIndex { get; set; } public GettingStartedContentViewController (IntPtr handle) : base (handle) { ...
using Foundation; using System; using UIKit; namespace MyDriving.iOS { public partial class GettingStartedContentViewController : UIViewController { public UIImage Image { get; set; } public int PageIndex { get; set; } public GettingStartedContentViewController (IntPtr handle) : base (handle) { ...
mit
C#
61d2fc0a4eba1d3a0118e8fcdaa152c7807b27fb
Fix arguments to SelectListItem constructor
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Mvc/Models/WorkgroupModifyModel.cs
Purchasing.Mvc/Models/WorkgroupModifyModel.cs
using System.Collections.Generic; using System.Linq; using Purchasing.Core; using Purchasing.Core.Domain; using UCDArch.Core.PersistanceSupport; using UCDArch.Core.Utils; using System.Linq.Expressions; using Microsoft.AspNetCore.Mvc.Rendering; namespace Purchasing.Mvc.Models { /// <summary> /// ModifyModel for...
using System.Collections.Generic; using System.Linq; using Purchasing.Core; using Purchasing.Core.Domain; using UCDArch.Core.PersistanceSupport; using UCDArch.Core.Utils; using System.Linq.Expressions; using Microsoft.AspNetCore.Mvc.Rendering; namespace Purchasing.Mvc.Models { /// <summary> /// ModifyModel for...
mit
C#
2412390981cd724b08019430c1cf81bb16ec602d
add test
kurema/PlaneProject
RhinoCommonBasic/RhinoCommonBasic/Class1.cs
RhinoCommonBasic/RhinoCommonBasic/Class1.cs
using Rhino; using Rhino.Geometry; using Rhino.DocObjects; using Rhino.Collections; using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Linq; using System.Data; using System.Drawing; using System.Reflection; using System.Collections; using System.Windows.Forms; using System.Collection...
using Rhino; using Rhino.Geometry; using Rhino.DocObjects; using Rhino.Collections; using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Linq; using System.Data; using System.Drawing; using System.Reflection; using System.Collections; using System.Windows.Forms; using System.Collection...
mit
C#
48e5b61fba96481a12eb6ca1da0e1f8c0015bce1
Update KeystrokeDatum.cs
predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus,predictive-technology-laboratory/sensus
Sensus.Shared/Probes/Apps/KeystrokeDatum.cs
Sensus.Shared/Probes/Apps/KeystrokeDatum.cs
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
// Copyright 2014 The Rector & Visitors of the University of Virginia // // 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 re...
apache-2.0
C#
9466b1d2390f548e4f928924ea6dd8bec229aa54
Fix integration test project
devlead/cake,patriksvensson/cake,daveaglick/cake,gep13/cake,Sam13/cake,Julien-Mialon/cake,thomaslevesque/cake,mholo65/cake,gep13/cake,ferventcoder/cake,phrusher/cake,devlead/cake,ferventcoder/cake,cake-build/cake,RehanSaeed/cake,Sam13/cake,phenixdotnet/cake,Julien-Mialon/cake,vlesierse/cake,thomaslevesque/cake,robgha01...
tests/integration/resources/Cake.Common/Tools/DotNetCore/hwapp.tests/Tests.cs
tests/integration/resources/Cake.Common/Tools/DotNetCore/hwapp.tests/Tests.cs
using System; using Xunit; using HWApp.Common; namespace HWApp.Tests { public sealed class GreeterTests { public sealed class TheGreaterMethod { [Fact] public void Should_Not_Fail_Test() { Assert.NotEqual("true", Environment.GetEnvironmentVari...
using System; using Xunit; using HWApp.Common; namespace HWApp.Tests { public sealed class GreeterTests { public sealed class TheGreaterMethod { [Fact] public void Should_Not_Fail_Test() { Assert.NotEqual("true", Environment.GetEnvironmentVar...
mit
C#
2bd94336212cc579cbf80800cf0c094a85bd4922
Use the correct delegate. Fixes #547
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
binding/Binding/SKManagedPixelSerializer.cs
binding/Binding/SKManagedPixelSerializer.cs
// // Bindings for SKPixelSerializer // // Author: // Matthew Leibowitz // // Copyright 2017 Xamarin Inc // using System; using System.Runtime.InteropServices; namespace SkiaSharp { public abstract class SKManagedPixelSerializer : SKPixelSerializer { // delegate declarations [UnmanagedFunctionPointer (Callin...
// // Bindings for SKPixelSerializer // // Author: // Matthew Leibowitz // // Copyright 2017 Xamarin Inc // using System; using System.Runtime.InteropServices; namespace SkiaSharp { public abstract class SKManagedPixelSerializer : SKPixelSerializer { // delegate declarations [UnmanagedFunctionPointer (Callin...
mit
C#
80834ed4d4cddbc48da21ba7b4b6c0e037f6e45e
Add volatile keyword accroding to the doc
gyrosworkshop/Wukong,gyrosworkshop/Wukong
src/Wukong/Services/Storage.cs
src/Wukong/Services/Storage.cs
using System; using System.Linq; using System.Collections.Generic; using Wukong.Models; namespace Wukong.Services { public sealed class Storage { static readonly Lazy<Storage> instance = new Lazy<Storage>(() => new Storage()); volatile IDictionary<string, User> userMap = new Dicti...
using System; using System.Linq; using System.Collections.Generic; using Wukong.Models; namespace Wukong.Services { public sealed class Storage { static readonly Lazy<Storage> instance = new Lazy<Storage>(() => new Storage()); IDictionary<string, User> userMap = new Dictionary<str...
mit
C#
2380635e603a9946a8361b319134fceaa2e6767e
fix compiling error
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/Platform/Region/Plugins/PlatformRegion.cs
Unity/Platform/Region/Plugins/PlatformRegion.cs
/** MIT License Copyright (c) 2017 - 2021 NDark 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, modify, merge, publish...
/** MIT License Copyright (c) 2017 - 2021 NDark 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, modify, merge, publish...
mit
C#
2209afd0e8c82405701b8b6807d9a280cbf1aacc
Mark `Live` methods as `InstantHandleAttribute`
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game/Database/Live.cs
osu.Game/Database/Live.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 JetBrains.Annotations; namespace osu.Game.Database { /// <summary> /// A wrapper to provide access to database backed classes in a thread-saf...
// 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; namespace osu.Game.Database { /// <summary> /// A wrapper to provide access to database backed classes in a thread-safe manner. /// </summary> ...
mit
C#
ca36cad2ad65715271bbd8330acf53acadbfc306
fix behaviour
WojcikMike/docs.particular.net
samples/unit-of-work/using-childcontainers/Version_6/Sample/RavenUnitOfWork.cs
samples/unit-of-work/using-childcontainers/Version_6/Sample/RavenUnitOfWork.cs
using System; using System.Threading.Tasks; using NServiceBus; using NServiceBus.Pipeline; using Raven.Client; #region RavenUnitOfWork class RavenUnitOfWork : Behavior<PhysicalMessageProcessingContext> { IDocumentSession session; public RavenUnitOfWork(IDocumentSession session) { this.session = se...
using System; using System.Threading.Tasks; using NServiceBus.Pipeline; using NServiceBus.Pipeline.Contexts; using Raven.Client; #region RavenUnitOfWork class RavenUnitOfWork : Behavior<IncomingContext> { IDocumentSession session; public RavenUnitOfWork(IDocumentSession session) { this.session = s...
apache-2.0
C#
51b414988ac5aec6cdd8e0ab14b2288c165b6919
change version
Poket-Jony/TS3ChromaHeadset
TS3ChromaHeadset/Properties/AssemblyInfo.cs
TS3ChromaHeadset/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
mit
C#
d8591f82bdf36173158c139c95f57c7c75aabd76
bump to 1.7.2
Siliconrob/DotNetGeoJson,Terradue/DotNetGeoJson
Terradue.GeoJson/Properties/AssemblyInfo.cs
Terradue.GeoJson/Properties/AssemblyInfo.cs
/* * Copyright (C) 2010-2014 Terradue S.r.l. * * This file is part of Terradue.GeoJson. * * Foobar 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, ...
/* * Copyright (C) 2010-2014 Terradue S.r.l. * * This file is part of Terradue.GeoJson. * * Foobar 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, ...
agpl-3.0
C#
a5a13f1e5c52e306ac6a0bc9ea575e53624df4ab
Make the private field readonly.
smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/os...
osu.Framework.Android/AndroidGameView.cs
osu.Framework.Android/AndroidGameView.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using Android.Content; using Android.Runtime; using Android.Util; using osuTK.Graphics; namespace osu.Framework.Android { public class Andr...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using Android.Content; using Android.Runtime; using Android.Util; using osuTK.Graphics; namespace osu.Framework.Android { public class Andr...
mit
C#
e13c1254e5211c459c00a4a84a4a63151d66035a
make perfect incompatible with autopilot
peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModPerfect.cs
osu.Game.Rulesets.Osu/Mods/OsuModPerfect.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using System.Linq; using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModPerfect : ModPerfect ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModPerfect : ModPerfect { } }
mit
C#
5736b7d978521ebc2010f295ee238f55b1d78356
Fix cursors sent to osu-web being potentially string formatted in incorrect culture
NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu
osu.Game/Extensions/WebRequestExtensions.cs
osu.Game/Extensions/WebRequestExtensions.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.Globalization; using Newtonsoft.Json.Linq; using osu.Framework.IO.Network; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Online.API.R...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.IO.Network; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Game.Online.API.Requests; namespace osu.Game.Extensions { public sta...
mit
C#
c6d265b7f1321438012ba37d14e2e8dcddc3c80e
replace bad regex which makes app hang when processing output from msbuild
juankakode/Drone
src/Drone/Drone.Lib/Compilers/MSBuildHelper.cs
src/Drone/Drone.Lib/Compilers/MSBuildHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Drone.Lib.Compilers { public class MSBuildHelper { public static readonly string OutputPattern = @"^(?<origin>.*)\:\s+(?<subcategory>.*)(?<category>error|warning)\s+(?<code>[a-zA-Z]+\d+)\:(?<text>.*)$...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Drone.Lib.Compilers { public class MSBuildHelper { public static readonly string NormalErrorPattern = @"(?<file>.*)\((?<line>\d+),(?<column>\d+)\):\s+(?<error>\w+)\s+(?<number>[\d\w]+):\s+(?<message>....
mit
C#
356a33a0f500fe6d632a88b056bdb1123f40f7c7
Build fix
rainersigwald/msbuild,AndyGerlicher/msbuild,mono/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,cdmihai/msbuild,rainersigwald/msbuild,cdmihai/msbuild,rainersigwald/msbuild,rainersigwald/msbuild,AndyGerlicher/msbuild,sean-gilliam/msbuild,mono/msbuild,sean-gilliam/msbuild,sean-gilliam/msbuild,AndyGerlicher/msbuild,mono/ms...
src/Build/BackEnd/Node/RarNode.cs
src/Build/BackEnd/Node/RarNode.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 System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Build.BackEnd; using Microsoft.Build.Framework; using Microsoft...
// 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.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Build.BackEnd; using Microsoft.Build.Internal; using Microsoft.B...
mit
C#
f0ae8c96bcf932ebf93877dab21917e64c552f83
change to map "Transitional" model
Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017
PhotoArtSystem/Web/PhotoArtSystem.Web/ViewModels/PhotocourseModels/PhotocourseDetailsViewModel.cs
PhotoArtSystem/Web/PhotoArtSystem.Web/ViewModels/PhotocourseModels/PhotocourseDetailsViewModel.cs
namespace PhotoArtSystem.Web.ViewModels.PhotocourseModels { using System; using System.Collections.Generic; using Data.Models.TransitionalModels; using Infrastructure.Mapping; public class PhotocourseDetailsViewModel : BaseDbKeyViewModel<Guid>, IMapFrom<PhotocourseTransitional> { publi...
namespace PhotoArtSystem.Web.ViewModels.PhotocourseModels { using System; using System.Collections.Generic; using Data.Models; using Data.Models.TransitionalModels; using Infrastructure.Mapping; public class PhotocourseDetailsViewModel : BaseDbKeyViewModel<Guid>, IMapFrom<Photocourse> { ...
mit
C#
d0199c6fc561d35c938aad1016a569863f532a8a
fix RECS0133
icsharpcode/RefactoringEssentials,cstick/RefactoringEssentials,Rpinski/RefactoringEssentials,olathunberg/RefactoringEssentials,SSkovboiSS/RefactoringEssentials,olathunberg/RefactoringEssentials,Rpinski/RefactoringEssentials,cstick/RefactoringEssentials,icsharpcode/RefactoringEssentials,SSkovboiSS/RefactoringEssentials
RefactoringEssentials/CSharp/Diagnostics/Custom/BaseMethodParameterNameMismatchCodeFixProvider.cs
RefactoringEssentials/CSharp/Diagnostics/Custom/BaseMethodParameterNameMismatchCodeFixProvider.cs
using System.Collections.Immutable; using System.Linq; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Rename; namespace RefactoringEssentials.CSharp.Diagnost...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using System.Collections.Immutable; using Microsoft.CodeAnalysis.CodeFixes; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CSharp.Syntax; using System.Linq; namespace RefactoringEssentials.CSharp.Diagnostics { [ExportCodeFixProvider(La...
mit
C#
7680635b28ba340fbc698ee40a69e8a69e8931ee
Set AssemblyInformationalVersion
rdingwall/sqlmsbuildtasks
src/SqlMsBuildTasks/Properties/AssemblyInfo.cs
src/SqlMsBuildTasks/Properties/AssemblyInfo.cs
// Copyright 2011 Richard Dingwall - http://richarddingwall.name // // 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 requ...
// Copyright 2011 Richard Dingwall - http://richarddingwall.name // // 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 requ...
apache-2.0
C#
85ac938f6819e92b2b5689a34388eef97114491d
Update script of ShadowHostLayerScopeContextResolver to return single element instead of array
YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata/ScopeSearch/ShadowHostLayerScopeContextResolver.cs
src/Atata/ScopeSearch/ShadowHostLayerScopeContextResolver.cs
using OpenQA.Selenium; namespace Atata { public class ShadowHostLayerScopeContextResolver : ILayerScopeContextResolver { private const string GetShadowRootChildElementsScript = @"if (!arguments[0].shadowRoot) { throw 'Element doesn\'t have shadowRoot value. Element: ' + arguments[0].outerHTML.repl...
using System.Collections.ObjectModel; using System.Linq; using OpenQA.Selenium; namespace Atata { public class ShadowHostLayerScopeContextResolver : ILayerScopeContextResolver { private const string GetShadowRootChildElementsScript = @"if (!arguments[0].shadowRoot) { throw 'Element doesn\'t have s...
apache-2.0
C#
925d28acfbc0f5423fc09f87e370fdff44792d60
add MongoDbTransaction to DI
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.MongoDB/CAP.MongoDBCapOptionsExtension.cs
src/DotNetCore.CAP.MongoDB/CAP.MongoDBCapOptionsExtension.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using DotNetCore.CAP.Processor; using Microsoft.Extensions.DependencyInjection; namespace DotNetCore.CAP.MongoDB { // ReSharper disable once Inco...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using DotNetCore.CAP.Processor; using Microsoft.Extensions.DependencyInjection; namespace DotNetCore.CAP.MongoDB { // ReSharper disable once Inco...
mit
C#
8f4a326e681ca0cd7c35d81ba197e37e5c44c6a2
Update CreatedIssueRepository.cs
CaptiveAire/Seq.App.YouTrack
src/Seq.App.YouTrack/CreatedIssues/CreatedIssueRepository.cs
src/Seq.App.YouTrack/CreatedIssues/CreatedIssueRepository.cs
// Copyright 2014-2019 CaptiveAire Systems // // 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 agre...
// Seq.App.YouTrack - Copyright (c) 2019 CaptiveAire using System; using System.IO; using System.Linq; using JsonFlatFileDataStore; namespace Seq.App.YouTrack.CreatedIssues { public class CreatedIssueRepository : IDisposable { readonly DataStore _dataStore; public CreatedIssueRepository(str...
apache-2.0
C#
84427e5ee9b0de06a6bc808d1f8fa123cd74992d
Update AssemblyInfo.cs
WebApiContrib/WebApiContrib.Formatting.Html,WebApiContrib/WebApiContrib.Formatting.Html
src/WebApiContrib.Formatting.Html/Properties/AssemblyInfo.cs
src/WebApiContrib.Formatting.Html/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("Web...
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("Web...
mit
C#
599a2528a38490c4216de6d3433d3c73a72e7dc0
Set assembly metadata
cameronism/Cameronism.Csv
Cameronism.CSV/Properties/AssemblyInfo.cs
Cameronism.CSV/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("Ca...
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("Ca...
apache-2.0
C#
feb36326dfda6271e6e76d97e2594a1340bc5c2b
Update Tests.cs
medarchon/CodingChallenge
CodingChallenge.FamilyTree.Tests/Tests.cs
CodingChallenge.FamilyTree.Tests/Tests.cs
using Given.Common; using Given.NUnit; namespace CodingChallenge.FamilyTree.Tests { public class person_exists_in_tree : Scenario { static Person _tree; static string _result; given a_family_tree = () => _tree = FamilyTreeGenerator.Make(); when searching_the_tree_for_joes_bir...
using Given.Common; using Given.NUnit; namespace CodingChallenge.FamilyTree.Tests { public class person_exists_in_tree : Scenario { static Person _tree; static string _result; given a_family_tree = () => _tree = FamilyTreeGenerator.Make(); when searching_the_tree_for_joes_bir...
mit
C#
34cbb0d9f9a673ebc2f422c1a7a8f27d8bdd077d
Update ObservableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/ObservableExtensions.cs
src/ObservableExtensions.cs
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { /// <summary> /// Returns the current value of an observable with the previous value. /// </summar...
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { /// <summary> /// Returns the current value of an observable with the previous value. /// </summar...
apache-2.0
C#
1b4568edbead2beda09b782a25b3818392522e80
add UIHint for symmetric key
rfavillejr/Thinktecture.IdentityServer.v2,kjnilsson/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktecture.IdentityServer.v2,rfavillejr/Thinktecture.IdentityServer.v2,IdentityServer/IdentityServer2,kjnilsson/Thinktect...
src/Libraries/Thinktecture.IdentityServer.Core/Models/Configuration/AdfsIntegrationConfiguration.cs
src/Libraries/Thinktecture.IdentityServer.Core/Models/Configuration/AdfsIntegrationConfiguration.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System; using System.ComponentModel.DataAnnotations; using System.Security.Cryptography.X509Certificates; namespace Thinktecture.IdentityServer.Models.Configuration { public class AdfsIntegrationConfiguration : Pr...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license.txt */ using System; using System.ComponentModel.DataAnnotations; using System.Security.Cryptography.X509Certificates; namespace Thinktecture.IdentityServer.Models.Configuration { public class AdfsIntegrationConfiguration : Pr...
bsd-3-clause
C#
a1ba1f0f862f37910944f6cfe49bd3fb9fb6c431
Add more diagnostics to FileThumbPrint
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/FIleThumbPrint.cs
test/Microsoft.AspNetCore.Razor.Design.Test/IntegrationTests/FIleThumbPrint.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Security.Cryptography; namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests { public class File...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Security.Cryptography; namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests { public class File...
apache-2.0
C#
b272559b285d87393beeeb918f7e87ad8feb95f6
Fix broken implementation of static HttpClient
stevejgordon/allReady,dpaquette/allReady,mipre100/allReady,arst/allReady,mipre100/allReady,bcbeatty/allReady,mgmccarthy/allReady,bcbeatty/allReady,c0g1t8/allReady,stevejgordon/allReady,GProulx/allReady,mipre100/allReady,arst/allReady,jonatwabash/allReady,gitChuckD/allReady,anobleperson/allReady,HamidMosalla/allReady,mg...
AllReadyApp/Web-App/AllReady/Hangfire/Jobs/SendRequestStatusToGetASmokeAlarm.cs
AllReadyApp/Web-App/AllReady/Hangfire/Jobs/SendRequestStatusToGetASmokeAlarm.cs
using System; using System.Net.Http; using System.Net.Http.Headers; using Microsoft.Extensions.Options; namespace AllReady.Hangfire.Jobs { public class SendRequestStatusToGetASmokeAlarm : ISendRequestStatusToGetASmokeAlarm { private static HttpClient httpClient; public SendRequestS...
using System; using System.Net.Http; using System.Net.Http.Headers; using Microsoft.Extensions.Options; namespace AllReady.Hangfire.Jobs { public class SendRequestStatusToGetASmokeAlarm : ISendRequestStatusToGetASmokeAlarm { private readonly IOptions<GetASmokeAlarmApiSettings> getASmokeAlarmA...
mit
C#
9f13880f91a743a1f07446593763d56391550c36
Remove unnecessary constructor
aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata
AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/ResultWrapping/ODataWrapResultFilter.cs
AbpODataDemo-Core-vNext/aspnet-core/src/AbpODataDemo.Web.Host/ResultWrapping/ODataWrapResultFilter.cs
using Abp.Web.Results.Filters; using System; namespace AbpODataDemo.ResultWrapping { public class ODataWrapResultFilter : IWrapResultFilter { public bool HasFilterForWrapOnError(string url, out bool wrapOnError) { wrapOnError = false; return new Uri(url).AbsolutePath.St...
using Abp.Web.Results.Filters; using System; namespace AbpODataDemo.ResultWrapping { public class ODataWrapResultFilter : IWrapResultFilter { public ODataWrapResultFilter() { } public bool HasFilterForWrapOnError(string url, out bool wrapOnError) { wrapOnEr...
mit
C#
f7dcef9e09085289ac24f343b0e52867c8144153
Add comment
dsharlet/LiveSPICE
LiveSPICE/Controls/Scope/SignalDisplay.cs
LiveSPICE/Controls/Scope/SignalDisplay.cs
using System; using System.ComponentModel; using System.Threading; using System.Windows; using System.Windows.Controls; namespace LiveSPICE { public class SignalDisplay : Control, INotifyPropertyChanged { static SignalDisplay() { DefaultStyleKeyProperty.OverrideMetadata(typeof(SignalDisplay), new Fram...
using System; using System.ComponentModel; using System.Threading; using System.Windows; using System.Windows.Controls; namespace LiveSPICE { public class SignalDisplay : Control, INotifyPropertyChanged { static SignalDisplay() { DefaultStyleKeyProperty.OverrideMetadata(typeof(SignalDisplay), new Fram...
mit
C#
3a0e777837cc44a658cf0423e4797955791ef7df
reset port num in authorize controller
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram.WebApiDemo/Controllers/AuthorizeController.cs
src/Solomobro.Instagram.WebApiDemo/Controllers/AuthorizeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Results; using Solomobro.Instagram.WebApiDemo.Settings; namespace Solomobro.Instagram.WebApiDemo.Controllers { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Results; using Solomobro.Instagram.WebApiDemo.Settings; namespace Solomobro.Instagram.WebApiDemo.Controllers { ...
apache-2.0
C#
7d3afd5da7a5cad356a3f485810c16d5ce997548
Update SimpleBinaryBondDeserializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/Bond/SimpleBinaryBondDeserializer.cs
TIKSN.Core/Serialization/Bond/SimpleBinaryBondDeserializer.cs
using Bond.IO.Safe; using Bond.Protocols; namespace TIKSN.Serialization.Bond { public class SimpleBinaryBondDeserializer : DeserializerBase<byte[]> { protected override T DeserializeInternal<T>(byte[] serial) { var input = new InputBuffer(serial); var reader = new Simpl...
using Bond.IO.Safe; using Bond.Protocols; namespace TIKSN.Serialization.Bond { public class SimpleBinaryBondDeserializer : DeserializerBase<byte[]> { protected override T DeserializeInternal<T>(byte[] serial) { var input = new InputBuffer(serial); var reader = new Simpl...
mit
C#
786935e4bcfee46fd23d2d16486d2e1baab952b6
Fix default icon path when add new web search
Megasware128/Wox,JohnTheGr8/Wox,jondaniels/Wox,zlphoenix/Wox,yozora-hitagi/Saber,danisein/Wox,Launchify/Launchify,danisein/Wox,JohnTheGr8/Wox,medoni/Wox,zlphoenix/Wox,Launchify/Launchify,yozora-hitagi/Saber,jondaniels/Wox,medoni/Wox,Megasware128/Wox
Plugins/Wox.Plugin.WebSearch/WebSearch.cs
Plugins/Wox.Plugin.WebSearch/WebSearch.cs
using System.IO; using JetBrains.Annotations; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Wox.Plugin.WebSearch { public class WebSearch { public const string DefaultIcon = "web_search.png"; public string Title { get; set; } public string ActionKeyword { get; s...
using System.IO; using JetBrains.Annotations; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Wox.Plugin.WebSearch { public class WebSearch { public const string DefaultIcon = "web_search.png"; public string Title { get; set; } public string ActionKeyword { get; s...
mit
C#
6bf6f60a05032c4ef01659e7b96ece1e4896f212
Update 'CmDdsPatchSiteNameValidator' success message
Sitecore/Sitecore-Instance-Manager
src/SIM.Sitecore9Installer/Validation/Validators/CmDdsPatchSiteNameValidator.cs
src/SIM.Sitecore9Installer/Validation/Validators/CmDdsPatchSiteNameValidator.cs
using System; using System.Collections.Generic; using System.Linq; using SIM.Sitecore9Installer.Tasks; namespace SIM.Sitecore9Installer.Validation.Validators { public class CmDdsPatchSiteNameValidator : IValidator { protected virtual string DdsPatchValidationResultMessage => "Value of the '{0}' paramete...
using System; using System.Collections.Generic; using System.Linq; using SIM.Sitecore9Installer.Tasks; namespace SIM.Sitecore9Installer.Validation.Validators { public class CmDdsPatchSiteNameValidator : IValidator { protected virtual string DdsPatchValidationResultMessage => "Value of the '{0}' paramete...
mit
C#
6cad7301d4dbbdd759c813fc16fbacf35979a645
Update ConfigReader.cs
AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader,AnkRaiza/cordova-plugin-config-reader
src/wp8/ConfigReader.cs
src/wp8/ConfigReader.cs
using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using Windows.Storage; using System.Diagnostics; using System.IO; using System.IO.IsolatedStorage; namespace WPCordovaCl...
using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using Microsoft.Phone.Controls; using System.Windows.Controls.Primitives; using System.Windows.Media; using Windows.Storage; using System.Diagnostics; using System.IO; using System.IO.IsolatedStorage; namespace WPCordovaCl...
mit
C#
2ce5d80003c0c6bf241d0ea257576e57cb183228
Add better validation of command line arguments (#22)
GoogleCloudPlatform/google-cloud-dotnet-debugger,GoogleCloudPlatform/google-cloud-dotnet-debugger,GoogleCloudPlatform/google-cloud-dotnet-debugger,GoogleCloudPlatform/google-cloud-dotnet-debugger
Google.Cloud.Diagnostics.Debug/Google.Cloud.Diagnostics.Debug/DebugletOptions.cs
Google.Cloud.Diagnostics.Debug/Google.Cloud.Diagnostics.Debug/DebugletOptions.cs
// Copyright 2015-2016 Google 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 // // Unless required by appl...
// Copyright 2015-2016 Google 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 // // Unless required by appl...
apache-2.0
C#
7a3f6e24dd839acebf2a883a0f4f98aaa87fb282
Align url invalid char unit tests with changes done to the validation logic
vnathalye/PnP,ebbypeter/PnP,rroman81/PnP,hildabarbara/PnP,vman/PnP,jlsfernandez/PnP,lamills1/PnP,OzMakka/PnP,timothydonato/PnP,gavinbarron/PnP,Anil-Lakhagoudar/PnP,OneBitSoftware/PnP,timschoch/PnP,darei-fr/PnP,rbarten/PnP,ebbypeter/PnP,GSoft-SharePoint/PnP,Claire-Hindhaugh/PnP,joaopcoliveira/PnP,yagoto/PnP,vman/PnP,edr...
OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Utilities/UrlUtilityTests.cs
OfficeDevPnP.Core/OfficeDevPnP.Core.Tests/Utilities/UrlUtilityTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OfficeDevPnP.Core.Utilities; using System.Collections.Generic; namespace OfficeDevPnP.Core.Tests.AppModelExtensions { [TestClass] public class UrlUtilityTests { [TestMethod] public void ContainsInvalidCharsReturnsFalse...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OfficeDevPnP.Core.Utilities; using System.Collections.Generic; namespace OfficeDevPnP.Core.Tests.AppModelExtensions { [TestClass] public class UrlUtilityTests { [TestMethod] public void ContainsInvalidCharsReturnsFalse...
mit
C#
bec833e7c3bbdc00a13476290ae47fba5346c26e
Add support for removing okanshi instances
mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard
src/Okanshi.Dashboard/IConfiguration.cs
src/Okanshi.Dashboard/IConfiguration.cs
using System.Collections.Generic; namespace Okanshi.Dashboard { public interface IConfiguration { void Add(OkanshiServer server); IEnumerable<OkanshiServer> GetAll(); void Remove(string name); } }
using System.Collections.Generic; namespace Okanshi.Dashboard { public interface IConfiguration { void Add(OkanshiServer server); IEnumerable<OkanshiServer> GetAll(); } }
mit
C#
fa08376c9a438d628cf0b771cc53238696f566d5
Fix token expiration check
1and1/TypedRest-DotNet,TypedRest/TypedRest-DotNet,1and1/TypedRest-DotNet,TypedRest/TypedRest-DotNet
src/TypedRest.OAuth/Http/AccessToken.cs
src/TypedRest.OAuth/Http/AccessToken.cs
using System; namespace TypedRest.Http { internal class AccessToken { public string Value { get; } private readonly DateTime _expiration; public bool IsExpired => DateTime.Now >= _expiration; public AccessToken(string value, DateTime expiration) { ...
using System; using IdentityModel.Client; namespace TypedRest.Http { internal class AccessToken { public string Value { get; } private readonly DateTime _expiration; public bool IsExpired => _expiration >= DateTime.Now; public AccessToken(string value, DateTime ex...
mit
C#
3b2d2193f29ea2710e1b616b51d7fb3d2b376664
Change MathProblemModel to return Queue
Kakarot/CITS
CITS/Models/MathProblemModel.cs
CITS/Models/MathProblemModel.cs
using System; namespace CITS.Models { public class MathProblemModel : ProblemModel { public MathProblemModel(string Problem, string Solution):base(Problem,Solution){} public override Boolean IsSolutionCorrect(String candidateSolution) { return Solution.Equals(candidateSolut...
using System; namespace CITS.Models { public class MathProblemModel : ProblemModel { public MathProblemModel(string Problem, string Solution):base(Problem,Solution){} public override Boolean IsSolutionCorrect(String candidateSolution) { return candidateSolution.Equals(Solut...
mit
C#
0c34c5adc6db05634a214ae5fd5cc54064724910
Change signature
sakapon/Bellona.Analysis
Bellona/UnitTest/TestData.cs
Bellona/UnitTest/TestData.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Reflection; using Bellona.Core; namespace UnitTest { static class TestData { public static Color[] GetColors() { return typeof(Color).GetProperties(BindingFlags.Public...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Reflection; using Bellona.Core; namespace UnitTest { static class TestData { public static Color[] GetColors() { return typeof(Color).GetProperties(BindingFlags.Public...
mit
C#
5531eaaebd921d44f7a5963e81a08ce0aea04ee5
Handle all relevant change types
tomwarner13/FileListenerService
FileListenerService/Listener.cs
FileListenerService/Listener.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Net.Http; using log4net; namespace FileListenerService { public class Listener { private readonly Uri _endpoint; private FileSystemWatcher _watcher; private...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using System.Net.Http; using log4net; namespace FileListenerService { public class Listener { private readonly Uri _endpoint; private FileSystemWatcher _watcher; private...
mit
C#
25e26a26ed04743aecf36ecc2a8fc68607d6705b
Copy changes
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Home/Index.cshtml
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Home/Index.cshtml
@{ ViewBag.Title = "Add and update apprentice records as a training provider"; ViewBag.PageId = "home-page"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Add and update apprentice records as a training provider</h1> <p>This service is for tra...
@{ ViewBag.Title = "Add and update apprentice records as a training provider"; ViewBag.PageId = "home-page"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Add and update apprentice records as a training provider</h1> <p>This service is for tra...
mit
C#
621cc2fc743bf464912efc4c2e08a13f0fb9b492
Update comment in Player.cs
jmeas/simple-tower
Assets/Scripts/Player.cs
Assets/Scripts/Player.cs
public class Player : UnityEngine.MonoBehaviour { public UnityEngine.Rigidbody rb; UnityEngine.Vector3 startPosition = new UnityEngine.Vector3(0f, 17f, 0f); UnityEngine.Vector3 stationary = new UnityEngine.Vector3(0, 0, 0); void Start() { rb = this.GetComponent<UnityEngine.Rigidbody>(); StartCoroutine...
public class Player : UnityEngine.MonoBehaviour { public UnityEngine.Rigidbody rb; UnityEngine.Vector3 startPosition = new UnityEngine.Vector3(0f, 17f, 0f); UnityEngine.Vector3 stationary = new UnityEngine.Vector3(0, 0, 0); void Start() { rb = this.GetComponent<UnityEngine.Rigidbody>(); StartCoroutine...
mit
C#
8dbccd0836c88dd928a602dc01e01393f571746a
Comment out
alvivar/Hasten
EditorTools/PlayTools.cs
EditorTools/PlayTools.cs
// #if UNITY_EDITOR // using UnityEditor; // Experimental, unfinished, but useful menu item commands to Play and Dev // scenes. // public static class PlayTools // { // [MenuItem("Game/Play")] // public static void Play() // { // if (EditorApplication.isPlaying == true) // { // ...
#if UNITY_EDITOR using UnityEditor; // Experimental, unfinished, but useful menu item commands to Play and Dev // scenes. public static class PlayTools { [MenuItem("Game/Play")] public static void Play() { if (EditorApplication.isPlaying == true) { EditorApplication.isPlaying...
mit
C#
71b50b6280e9d60b7428c311015b0b497f456802
Make an enum public to ease store plugins
mdesalvo/RDFSharp
RDFSharp/Store/RDFStoreEnums.cs
RDFSharp/Store/RDFStoreEnums.cs
/* Copyright 2012-2019 Marco De Salvo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
/* Copyright 2012-2019 Marco De Salvo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
apache-2.0
C#
6e4de8e552ff3e59488cb0a800c96a97a946f262
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.Bam/ValuesOut.cs
RegistryPlugin.Bam/ValuesOut.cs
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.BamDam { public class ValuesOut:IValueOut { public ValuesOut(string program, DateTimeOffset executionTime) { Program = program; ExecutionTime = executionTime; } public string Prog...
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.BamDam { public class ValuesOut:IValueOut { public ValuesOut(string program, DateTimeOffset executionTime) { Program = program; ExecutionTime = executionTime; } public string Prog...
mit
C#
3953ea281218f583732000309d4b850151a56814
Fix merge conflict
gdkchan/SPICA
SPICA/Formats/GFL2/GFSection.cs
SPICA/Formats/GFL2/GFSection.cs
using SPICA.Formats.Common; using System.IO; namespace SPICA.Formats.GFL2 { class GFSection { public string Magic; public uint Length; private uint Padding; public GFSection() { Padding = 0xffffffff; } public GFSection(string Magic) ...
using SPICA.Formats.Common; using System.IO; namespace SPICA.Formats.GFL2 { class GFSection { public string Magic; public uint Length; private uint Padding; public GFSection() { Padding = 0xffffffff; } <<<<<<< HEAD public GFSection(s...
unlicense
C#
7d49e830708cd57783fe0fe42099003146ed65dd
Save an allocation in RewriteIter
benjamin-hodgson/Sawmill
Sawmill/Rewriter.RewriteIter.cs
Sawmill/Rewriter.RewriteIter.cs
using System; namespace Sawmill { public static partial class Rewriter { /// <summary> /// Rebuild a tree by repeatedly applying a transformation function to every node in the tree, /// until <paramref name="transformer"/> returns <see cref="IterResult.Done{T}"/> for all nodes. ...
using System; namespace Sawmill { public static partial class Rewriter { /// <summary> /// Rebuild a tree by repeatedly applying a transformation function to every node in the tree, /// until <paramref name="transformer"/> returns <see cref="IterResult.Done{T}"/> for all nodes. ...
mit
C#
9cb155c55282feec0d207bdad3deaffa4903725d
Make a quadtree generic.
taylorhutchison/Geode
Geode/Structures/QuadTree.cs
Geode/Structures/QuadTree.cs
using System; using System.Collections.Generic; using System.Text; using Geode.Geometry; namespace Geode.Structures { public class QuadTree<T> where T: IPosition { public QuadTree(IEnumerable<T> positions) { } public QuadTree<T> Add(IPosition position) { r...
using System; using System.Collections.Generic; using System.Text; using Geode.Geometry; namespace Geode.Structures { public class QuadTree { public QuadTree(IEnumerable<IPosition> positions) { } public QuadTree Add(IPosition position) { return this; ...
mit
C#
a2166aa7fe90432bdc2579a0536b0af7fb868896
Add symmetric key to sign tokens
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Startup.cs
src/Diploms.WebUI/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.DataLayer; using Diploms.WebUI.Configuration; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Mi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.DataLayer; using Diploms.WebUI.Configuration; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Mi...
mit
C#
5e19f29121079e65252e20a461e3c82aa616f907
add connection string
jefking/King.Service
King.Service.Demo/Program.cs
King.Service.Demo/Program.cs
namespace King.Service.Demo { using King.Service.Demo.Factories; using System; using System.Threading; public class Program { public static void Main(string[] args) { // Load Config var config = new AppConfig { ConnectionString = ...
namespace King.Service.Demo { using King.Service.Demo.Factories; using System.Threading; public class Program { public static void Main(string[] args) { // Load Config var config = new AppConfig() { ConnectionString = "UseDevelopmentS...
mit
C#
e3a21bd7a9e53d7e79c5dd5a26702e2a9de8954d
change exit to enter key
airmanx86/docker-mono-owinsampleapp,airmanx86/docker-mono-owinsampleapp
src/OwinSampleApp/Program.cs
src/OwinSampleApp/Program.cs
namespace OwinSampleApp { using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Owin.Hosting; class Program { static v...
namespace OwinSampleApp { using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Owin; using Microsoft.Owin.Hosting; class Program { private ...
mit
C#
fc55765bebf6c4d566e6aeb4691b02f664aa27bc
Update TextSpeachPage
jxug/PrismAndMoqHansOn
before/TextSpeaker/TextSpeaker/TextSpeaker/Views/TextSpeachPage.xaml.cs
before/TextSpeaker/TextSpeaker/TextSpeaker/Views/TextSpeachPage.xaml.cs
using Xamarin.Forms; namespace TextSpeaker.Views { public partial class TextSpeachPage : ContentPage { public TextSpeachPage() { InitializeComponent(); } } }
namespace TextSpeaker.Views { public partial class TextSpeachPage { public TextSpeachPage() { InitializeComponent(); } } }
mit
C#
e57cb1af8300136c03a9668c000fed2b90afd8ed
Make assemblies servicesable
Skylertodd/RESTier,karataliu/RESTier
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; #if !NOT_CLS_COMPLIANT [assembly: CLSCompliant(true)] #endif [assembly: NeutralResourcesLanguag...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Reflection; using System.Resources; #if !NOT_CLS_COMPLIANT [assembly: CLSCompliant(true)] #endif [assembly: NeutralResourcesLanguag...
mit
C#
ce030e23f72f9908183e7c65f0f3bd2dd54a74ef
Update tests to use explicit globals
Rohansi/Mond,SirTony/Mond,Rohansi/Mond,Rohansi/Mond,SirTony/Mond,SirTony/Mond
Mond.Tests/MondStateTests.cs
Mond.Tests/MondStateTests.cs
using NUnit.Framework; namespace Mond.Tests { [TestFixture] public class MondStateTests { [Test] public void MultiplePrograms() { const string source1 = @" global.hello = fun (x) { return 'hi ' + x; }; ...
using NUnit.Framework; namespace Mond.Tests { [TestFixture] public class MondStateTests { [Test] public void MultiplePrograms() { const string source1 = @" hello = fun (x) { return 'hi ' + x; }; a = he...
mit
C#
080c8ac947390e7dbc6f4989d40d00fc12a7cd4a
Allow blank/root route to be configured
grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation
NavigationMvc/RouteConfig.cs
NavigationMvc/RouteConfig.cs
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; ValueProviderFactories.Factories.Insert(0, new NavigationDataValueProviderFactory()); string controlle...
using System.Web.Mvc; using System.Web.Routing; namespace Navigation.Mvc { public class RouteConfig { public static void AddStateRoutes() { if (StateInfoConfig.Dialogs == null) return; ValueProviderFactories.Factories.Insert(0, new NavigationDataValueProviderFactory()); string controlle...
apache-2.0
C#
835f0e4926045069bf21795c2bc36dc50946ddc4
Fix for build
Ar3sDevelopment/Caelan.Frameworks.Common
Caelan.Frameworks.Common/Classes/BaseBuilder.cs
Caelan.Frameworks.Common/Classes/BaseBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using Caelan.Frameworks.Common.Extenders; namespace Caelan.Frameworks.Common.Classes { public class BaseBuilder<TSource, TDestination> : Profile { sealed protected override void Configure() { base....
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using Caelan.Frameworks.Common.Extenders; namespace Caelan.Frameworks.Common.Classes { public class BaseBuilder<TSource, TDestination> : Profile { sealed protected override void Configure() { base....
mit
C#
547c76cdd3b2b659dce74750a2d6b86417e60b8c
Move pack to it's own step
Azure/azure-mobile-apps,Azure/azure-mobile-apps,Azure/azure-mobile-apps
sdk/dotnet/build.cake
sdk/dotnet/build.cake
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var nugetVersion = Argument("nugetVersion", ...
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var nugetVersion = Argument("nugetVersion", ...
mit
C#