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
d70e7812fca7989c6ef281eee824802c4423025a
Use IList<string> for TypeTable in WordDelimiterTokenFilter
KodrAus/elasticsearch-net,KodrAus/elasticsearch-net,azubanov/elasticsearch-net,CSGOpenSource/elasticsearch-net,jonyadamit/elasticsearch-net,CSGOpenSource/elasticsearch-net,RossLieberman/NEST,jonyadamit/elasticsearch-net,TheFireCookie/elasticsearch-net,RossLieberman/NEST,KodrAus/elasticsearch-net,UdiBen/elasticsearch-ne...
src/Nest/Domain/Analysis/TokenFilter/WordDelimiterTokenFilter.cs
src/Nest/Domain/Analysis/TokenFilter/WordDelimiterTokenFilter.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// Named word_delimiter, it Splits words into subwords and performs optional transformations on subword groups. /// </summary> public class WordDelimiterTokenFilter : TokenFilterBase { public WordDelimiterToke...
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// Named word_delimiter, it Splits words into subwords and performs optional transformations on subword groups. /// </summary> public class WordDelimiterTokenFilter : TokenFilterBase { public WordDelimiterToke...
apache-2.0
C#
e8862320563ce594dd17ee9ca1f3358c6f76f2ca
introduce local variable to simplify.
jwChung/Experimentalism,jwChung/Experimentalism
src/Experiment/NaiveFirstClassTheoremAttribute.cs
src/Experiment/NaiveFirstClassTheoremAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// A test attribute used to adorn methods that creates first-class /// executable test cases. /// </summary> public class NaiveFirstC...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// A test attribute used to adorn methods that creates first-class /// executable test cases. /// </summary> public class NaiveFirstC...
mit
C#
925859addfb8bbcd18b1f68d07f02ca1d7703c21
Use dot for metrics prefix
FoundatioFx/Foundatio
src/Foundatio/Metrics/DiagnosticsMetricsClient.cs
src/Foundatio/Metrics/DiagnosticsMetricsClient.cs
using System; using System.Collections.Concurrent; using System.Diagnostics.Metrics; namespace Foundatio.Metrics { public class DiagnosticsMetricsClient : IMetricsClient { private readonly ConcurrentDictionary<string, Counter<int>> _counters = new(); private readonly ConcurrentDictionary<string, G...
using System; using System.Collections.Concurrent; using System.Diagnostics.Metrics; namespace Foundatio.Metrics { public class DiagnosticsMetricsClient : IMetricsClient { private readonly ConcurrentDictionary<string, Counter<int>> _counters = new(); private readonly ConcurrentDictionary<string, G...
apache-2.0
C#
534fda1ca658267b803e0385b0ef3306d8fc1618
Update HSbConverter.cs
hastebrot/ColorMine,THEjoezack/ColorMine,Jaykul/ColorMine,jbn566/ColorMine
ColorMine/ColorSpaces/Conversions/HsbConverter.cs
ColorMine/ColorSpaces/Conversions/HsbConverter.cs
namespace ColorMine.ColorSpaces.Conversions { /// <summary> /// HSB is another name for HSV /// </summary> internal static class HsbConverter { internal static void ToColorSpace(IRgb color, IHsb item) { var hsv = new Hsv(); HsvConverter.ToColorSpace...
namespace ColorMine.ColorSpaces.Conversions { /// <summary> /// HSB is another name for HSL /// </summary> internal static class HsbConverter { internal static void ToColorSpace(IRgb color, IHsb item) { var hsl = new Hsl(); HslConverter.ToColorSpace...
mit
C#
84ed3f703bbb94e6f6ce02761704148b6329f9a0
add more tests in AssemblyCommandExecutorTests
li-rongcheng/CoreCmd
CoreCmd.XunitTest/AssemblyCommandExecutorTests.cs
CoreCmd.XunitTest/AssemblyCommandExecutorTests.cs
using CoreCmd.Attributes; using CoreCmd.BuiltinCommands; using CoreCmd.CommandExecution; using CoreCmd.XunitTest.Utils; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Xunit; namespace CoreCmd.XunitTest { public class AsbDummyCommand { [OptionalParam("...
using CoreCmd.Attributes; using CoreCmd.BuiltinCommands; using CoreCmd.CommandExecution; using CoreCmd.XunitTest.Utils; using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Xunit; namespace CoreCmd.XunitTest { public class AsbDummyCommand { [OptionalParam("...
mit
C#
5eace956d65948afee7fac935dd10668d896bb57
Add informational version
dotJEM/json-validation
DotJEM.Json.Validation/Properties/AssemblyInfo.cs
DotJEM.Json.Validation/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("DotJEM.Json.Validation")] [assembly: Asse...
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("DotJEM.Json.Validation")] [assembly: Asse...
mit
C#
247226da47cd10367bc8156fbd02da1f5dd5d992
Improve TaskManager Thread Safety
Mordil/UAT-GPE338
Harris.Nathan_Week1/Assets/Scripts/TaskManager.cs
Harris.Nathan_Week1/Assets/Scripts/TaskManager.cs
using System; using System.Collections; using System.Collections.Generic; namespace Assets.Scripts { public static class TaskManager { private static object _lockObj = new object(); private static bool shouldContinue; private static Queue<Action> _queue; static TaskManager() ...
using System; using System.Collections; using System.Collections.Generic; namespace Assets.Scripts { public static class TaskManager { private static bool shouldContinue; private static List<Action> _queue; static TaskManager() { _queue = new List<Action>(); ...
mit
C#
52a8f83b5bf761482a05d54f892d9ff256d82f33
Bump version to 1.5.
mono/sdb,mono/sdb
src/AssemblyInfo.cs
src/AssemblyInfo.cs
// // The MIT License (MIT) // // Copyright (c) 2015 Alex Rønne Petersen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // ...
// // The MIT License (MIT) // // Copyright (c) 2015 Alex Rønne Petersen // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // ...
mit
C#
a64914b9a54895b1d6e8b2ea280b859aa963dfb5
Revert "Fixed formatter which changes Uri to Url which was creating subject as a literal which made it difficult to do do related queries such as the following:"
Adamsimsy/Sitecore.LinkedData
LinkedData/Formatters/UriToDynamicUrlFormatter.cs
LinkedData/Formatters/UriToDynamicUrlFormatter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinkedData.Helpers; using Sitecore.Links; using VDS.RDF; namespace LinkedData.Formatters { public class UriToDynamicUrlFormatter : ITripleFormatter { public Triple FormatTriple(Tri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinkedData.Helpers; using Sitecore.Links; using VDS.RDF; namespace LinkedData.Formatters { public class UriToDynamicUrlFormatter : ITripleFormatter { public Triple FormatTriple(Tri...
mit
C#
f34b2bfd41afca4bd61a7e7a00fb412f209b7044
Fix marshalling of Winstation name
vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke
src/WtsApi32.Desktop/WtsApi32+WTS_SESSION_INFO.cs
src/WtsApi32.Desktop/WtsApi32+WTS_SESSION_INFO.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.Collections.Generic; using System.L...
// 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.Collections.Generic; using System.L...
mit
C#
4a213adf8a19d2815758378721d87e4aa09e8e8b
Remove method from Array
another-guy/Peppermint
Peppermint/Collections.Generic/ArrayExtensions.cs
Peppermint/Collections.Generic/ArrayExtensions.cs
namespace Peppermint.Collections.Generic { public static class ArrayExtensions { public static T[] NullToEmpty<T>(this T[] target) { return target ?? new T[0]; } } }
namespace Peppermint.Collections.Generic { public static class ArrayExtensions { public static T[] NullToEmpty<T>(this T[] target) { return target ?? new T[0]; } //public static void SwapAt<T>(this T[] target, int index1, int index2) //{ // var...
mit
C#
c4d045474c81dd0169d048588f4dfdd31799f0df
Optimize `GetHeader()` and `GetBlock()` (#1039)
shargon/neo,AntShares/AntShares
neo/Persistence/Helper.cs
neo/Persistence/Helper.cs
using Neo.Ledger; using Neo.Network.P2P.Payloads; namespace Neo.Persistence { public static class Helper { public static bool ContainsBlock(this IPersistence persistence, UInt256 hash) { TrimmedBlock state = persistence.Blocks.TryGet(hash); if (state == null) return fal...
using Neo.Ledger; using Neo.Network.P2P.Payloads; namespace Neo.Persistence { public static class Helper { public static bool ContainsBlock(this IPersistence persistence, UInt256 hash) { TrimmedBlock state = persistence.Blocks.TryGet(hash); if (state == null) return fal...
mit
C#
d60fc45d44a7535afb8657c7ab5657914b4187b4
update version 1.0.3
vevix/DigitalOcean.API
DigitalOcean.API/Properties/AssemblyInfo.cs
DigitalOcean.API/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("DigitalOcean.API")] [assembly: AssemblyD...
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("DigitalOcean.API")] [assembly: AssemblyD...
mit
C#
9e6b38666a117f05b117712870e386273fd77424
Fix for Dna parsing: line endings
homoluden/fukami,homoluden/fukami,homoluden/fukami
Fukami.Unity3D/Assets/Scripts/Plant/Seed.cs
Fukami.Unity3D/Assets/Scripts/Plant/Seed.cs
using UnityEngine; using System.Collections; using Fukami.Helpers; public class Seed : MonoBehaviour { public string Dna; void Start(){ var dnaAsset = Resources.Load<TextAsset>("dna"); Dna = dnaAsset.text.Replace("\r\n","*"); } void OnSeedDnaStringRequested (Wrap<string> dna) { dna.Value = Dna; ...
using UnityEngine; using System.Collections; using Fukami.Helpers; public class Seed : MonoBehaviour { public string Dna; void Start(){ var dnaAsset = Resources.Load<TextAsset>("dna"); Dna = dnaAsset.text.Replace("\n","*"); } void OnSeedDnaStringRequested (Wrap<string> dna) { dna.Value = Dna; d...
mit
C#
22e55ea7d6b58bb769a5aa3c4a484ed0ce27aca9
Fix error running unit tests (#2940)
valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,robsiera/Dnn.Platform,RichardHowells/Dnn.Platform,nvisionative/Dnn.Platform,nvisionative/Dnn.Platform,Ri...
Build/Cake/unit-tests.cake
Build/Cake/unit-tests.cake
Task("EnsureAllProjectsBuilt") .IsDependentOn("UpdateDnnManifests") .IsDependentOn("Restore-NuGet-Packages") .Does(() => { MSBuild("DNN_Platform.sln", new MSBuildSettings { Verbosity = Verbosity.Minimal, ToolVersion = MSBuildToolVersion.VS2017, Configuration = configuration ...
Task("EnsureAllProjectsBuilt") .IsDependentOn("UpdateDnnManifests") .IsDependentOn("Restore-NuGet-Packages") .Does(() => { MSBuild("DNN_Platform.sln", new MSBuildSettings { Verbosity = Verbosity.Minimal, ToolVersion = MSBuildToolVersion.VS2017, Configuration = configuration ...
mit
C#
b71fc7ba54b74cd1a761f4c927bf0160d1020828
Remove unused overload from ExceptionList.
EliotJones/fixie,fixie/fixie,bardoloi/fixie,KevM/fixie,JakeGinnivan/fixie,bardoloi/fixie,Duohong/fixie
src/Fixie/ExceptionList.cs
src/Fixie/ExceptionList.cs
using System; using System.Collections.Generic; using System.Linq; namespace Fixie { public class ExceptionList { readonly List<Exception> exceptions = new List<Exception>(); public void Add(Exception exception) { exceptions.Add(exception); } public int Co...
using System; using System.Collections.Generic; using System.Linq; namespace Fixie { public class ExceptionList { readonly List<Exception> exceptions = new List<Exception>(); public void Add(Exception exception) { exceptions.Add(exception); } public void A...
mit
C#
099da335d76897596db2fdd7a3020484986d5227
Update FindingDataOrFormulasUsingFindOptions.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,as...
Examples/CSharp/Data/Handling/Find/FindingDataOrFormulasUsingFindOptions.cs
Examples/CSharp/Data/Handling/Find/FindingDataOrFormulasUsingFindOptions.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Data.Handling.Find { public class FindingDataOrFormulasUsingFindOptions { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string d...
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Data.Handling.Find { public class FindingDataOrFormulasUsingFindOptions { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Ex...
mit
C#
8a92d8de3ca7094c732d31a5456b2da6c7c4587f
Implement AdapterInformation.SupportedDisplayModes
alesliehughes/monoDX,alesliehughes/monoDX
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/AdapterInformation.cs
Microsoft.DirectX.Direct3D/Microsoft.DirectX.Direct3D/AdapterInformation.cs
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights ...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation the rights ...
mit
C#
0d0ec3b96b5580851fcb56a9898baea71375ae1c
Update AppCenterTraceTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Framework.SharedMobile/Analytics/Telemetry/AppCenterTraceTelemeter.cs
TIKSN.Framework.SharedMobile/Analytics/Telemetry/AppCenterTraceTelemeter.cs
using System; using System.Threading.Tasks; using Microsoft.AppCenter; namespace TIKSN.Analytics.Telemetry { public class AppCenterTraceTelemeter : ITraceTelemeter { public Task TrackTraceAsync(string message) { return TrackTraceAsync(message, TelemetrySeverityLevel.Information); ...
using System; using System.Threading.Tasks; using Microsoft.AppCenter; namespace TIKSN.Analytics.Telemetry { public class AppCenterTraceTelemeter : ITraceTelemeter { public Task TrackTrace(string message) { return TrackTrace(message, TelemetrySeverityLevel.Information); } ...
mit
C#
0b17e3ea97ee8ff1106a86d1c5c63700f7863da2
move _pattern to local variable to pattern
miraimann/Knuth-Morris-Pratt
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
using System; using System.Collections.Generic; using System.Linq; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { private readonly int[,] _dfa; private readonly Dictionary<T, int> _abc; private readonly int _finalState; public Finder(IEnumerable<T> word) ...
using System; using System.Collections.Generic; using System.Linq; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { private readonly T[] _pattern; private readonly int[,] _dfa; private readonly Dictionary<T, int> _abc; public Finder(IEnumerable<T> word) ...
mit
C#
ca43974d10f039735758667b4451804f5b298e5b
Remove ComponentName from code. Work Item #1978
CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork
trunk/Solutions/CslaGenFork/Metadata/CslaGeneratorComponent.cs
trunk/Solutions/CslaGenFork/Metadata/CslaGeneratorComponent.cs
using System; using System.ComponentModel; using System.Xml.Serialization; namespace CslaGenerator.Metadata { /// <summary> /// Summary description for CslaGeneratorComponent. /// </summary> [Serializable] public class CslaGeneratorComponent { [XmlIgnore] private Cs...
using System; using System.ComponentModel; using System.Xml.Serialization; namespace CslaGenerator.Metadata { /// <summary> /// Summary description for CslaGeneratorComponent. /// </summary> [Serializable] public class CslaGeneratorComponent { private string _componentName =...
mit
C#
3bf4cda2cc0a5b6fdba2f3dea367f82d34e8273c
add lic to head of HoneypotRuleCollection
webadvanced/Honeypot-MVC,webadvanced/Honeypot-MVC
src/SimpleHoneypot/Core/HoneypotRuleCollection.cs
src/SimpleHoneypot/Core/HoneypotRuleCollection.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="HoneypotRuleCollection.cs" company="Web Advanced"> // Copyright 2012 Web Advanced (www.webadvanced.com) // Licensed under the Apache License, Version 2.0 (the "License"); // y...
namespace SimpleHoneypot.Core { using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using SimpleHoneypot.Core.Common; public class HoneypotRuleCollection : IEnumerable<Func<NameValueCollection, bool>> { #region Const...
apache-2.0
C#
3b680e9463f86243458e278bb22d6d480da62676
Update assembly info for nuget 3.3 release
stevengum97/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,yakumo/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,msft-shahins/BotBuilder,stevengum97/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBu...
CSharp/Library/Microsoft.Bot.Connector/Properties/AssemblyInfo.cs
CSharp/Library/Microsoft.Bot.Connector/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("Microsoft.Bot.Connector")] [assembly: Ass...
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("Microsoft.Bot.Connector")] [assembly: Ass...
mit
C#
ad48a20b058c37847f8c48af72f07dbae6ccc41f
Change progress bar color for leads to green
jsauvexamarin/app-crm,xamarin/app-crm,xamarin/app-crm,jsauvexamarin/app-crm,qipengwu/app-crm,xamarin-automation-service/app-crm,xamarin-automation-service/app-crm,qipengwu/app-crm,xamarin/app-crm,xamarin-automation-service/app-crm,qipengwu/app-crm,xamarin/app-crm,jsauvexamarin/app-crm,xamarin-automation-service/app-crm...
src/MobileApp/XamarinCRM.iOS/AppDelegate.cs
src/MobileApp/XamarinCRM.iOS/AppDelegate.cs
 // // Copyright 2015 Xamarin Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
// // Copyright 2015 Xamarin Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
mit
C#
231ace2e5ded0f88c19678961a7f827df5596bc2
Support for data type options.
SilkStack/Silk.Data.SQL.ORM
Silk.Data.SQL.ORM/Modelling/SqlDataTypes.cs
Silk.Data.SQL.ORM/Modelling/SqlDataTypes.cs
using Silk.Data.Modelling; using Silk.Data.SQL.ORM.Schema; using System; using System.Collections.Generic; using System.Reflection; namespace Silk.Data.SQL.ORM.Modelling { public static class SqlDataTypes { private readonly static Dictionary<Type, Func<EntityFieldOptions, SqlDataType>> _sqlDataTypes ...
using Silk.Data.Modelling; using Silk.Data.SQL.ORM.Schema; using System; using System.Collections.Generic; using System.Reflection; namespace Silk.Data.SQL.ORM.Modelling { public static class SqlDataTypes { private readonly static Dictionary<Type, Func<EntityFieldOptions, SqlDataType>> _sqlDataTypes ...
mit
C#
9abdc6c603d309e3307666eea1c158042b938d66
Add controller to routedata in email rendered
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; using Umbraco.Core.Configuration; using Umbraco.Core.Models; using Umbraco.Web; using Umbraco.Web.Routing; using Umbraco.Web.Security; n...
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; using Umbraco.Core.Configuration; using Umbraco.Core.Models; using Umbraco.Web; using Umbraco.Web.Routing; using Umbraco.Web.Security; n...
mit
C#
28d3753e7d178fcecaf551018fe1322d7787235e
Update AssemblyRedirects.cs
MichalStrehovsky/roslyn,amcasey/roslyn,MattWindsor91/roslyn,stephentoub/roslyn,abock/roslyn,weltkante/roslyn,OmarTawfik/roslyn,xoofx/roslyn,sharadagrawal/Roslyn,managed-commons/roslyn,a-ctor/roslyn,Giftednewt/roslyn,drognanar/roslyn,Shiney/roslyn,KiloBravoLima/roslyn,bartdesmet/roslyn,jaredpar/roslyn,Shiney/roslyn,genl...
src/VisualStudio/Setup/AssemblyRedirects.cs
src/VisualStudio/Setup/AssemblyRedirects.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.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
// 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.VisualStudio.Shell; using Roslyn.VisualStudio.Setup; [assembly: ProvideRoslynBindingRedirection("Microsoft.CodeAnalysis.CSharp.dll")] [assemb...
apache-2.0
C#
e38baf6be25499e15f3e439233e39f0edc875e3d
fix bug.
tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,geffzhang/equeue,Aaron-Liu/equeue,tangxuehua/equeue,tangxuehua/equeue
src/EQueue/Broker/Storage/FileNamingStrategies/DefaultFileNamingStrategy.cs
src/EQueue/Broker/Storage/FileNamingStrategies/DefaultFileNamingStrategy.cs
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using ECommon.Utilities; namespace EQueue.Broker.Storage { public class DefaultFileNamingStrategy : IFileNamingStrategy { private readonly string _prefix; private readonly string _pattern; private r...
using System; using System.IO; using System.Linq; using System.Text.RegularExpressions; using ECommon.Utilities; namespace EQueue.Broker.Storage { public class DefaultFileNamingStrategy : IFileNamingStrategy { private readonly string _prefix; private readonly string _pattern; private r...
mit
C#
05390cbe26ef9d348411266452b06ffe22ad80b9
Fix a problem with 'fixed' variables due to cleanup
Microsoft/clrmd,Microsoft/clrmd,cshung/clrmd,cshung/clrmd
src/Microsoft.Diagnostics.Runtime/src/Debugger/Structs/DebugStackFrameEx.cs
src/Microsoft.Diagnostics.Runtime/src/Debugger/Structs/DebugStackFrameEx.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.Runtime.InteropServices; namespace Microsoft.Diagnostics.Runtime.Interop { [StructLayout(LayoutKi...
// 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.Runtime.InteropServices; namespace Microsoft.Diagnostics.Runtime.Interop { [StructLayout(LayoutKi...
mit
C#
e1c5bba9d9c4196abc6f501656f6d76b01b2c36b
Update KeyValuePairsComparer.cs
nunit/nunit,nunit/nunit
src/NUnitFramework/framework/Constraints/Comparers/KeyValuePairsComparer.cs
src/NUnitFramework/framework/Constraints/Comparers/KeyValuePairsComparer.cs
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using System; using System.Collections.Generic; namespace NUnit.Framework.Constraints.Comparers { /// <summary> /// Comparator for two <see cref="KeyValuePair{TKey, TValue}"/>s. /// </summary> i...
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using System; using System.Collections.Generic; using System.Reflection; using NUnit.Compatibility; namespace NUnit.Framework.Constraints.Comparers { /// <summary> /// Comparator for two <see cref="KeyV...
mit
C#
7de0d484fabb342f2853ac0a13934672f44bebd1
Update cargo monitor
cmdrmcdonald/EliteDangerousDataProvider
CargoMonitor/CargoMonitor.cs
CargoMonitor/CargoMonitor.cs
using Eddi; using EddiDataDefinitions; using EddiEvents; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using Utilities; namespace EddiCargoMonitor { /// <summary> /// A ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiCargoMonitor { /// <summary> /// A monitor that keeps track of cargo /// </summary> public class CargoMonitor { } }
apache-2.0
C#
d9be5a2f6840d6b03ed85cad41afbb941c80ccbb
Add the guest system info as push action
flagbug/Espera.Network
Espera.Network/PushAction.cs
Espera.Network/PushAction.cs
namespace Espera.Network { public enum PushAction { UpdateAccessPermission = 0, UpdateCurrentPlaylist = 1, UpdatePlaybackState = 2, UpdateRemainingVotes = 3, UpdateCurrentPlaybackTime = 4, UpdateGuestSystemInfo = 5 } }
namespace Espera.Network { public enum PushAction { UpdateAccessPermission = 0, UpdateCurrentPlaylist = 1, UpdatePlaybackState = 2, UpdateRemainingVotes = 3, UpdateCurrentPlaybackTime = 4 } }
mit
C#
9d25dfa7a3085835b88a5e997b4d9d79d4448b66
Move ignore up to fixture to kick off new full build for windows and mono.
sillsdev/libpalaso,darcywong00/libpalaso,chrisvire/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,marksvc/libpalaso,hatton/libpalaso,hatton/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,mark...
PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs
PalasoUIWindowsForms.Tests/WritingSystems/Tree/WritingSystemTreeItemTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Palaso.UI.WindowsForms.WritingSystems; using Palaso.WritingSystems; namespace PalasoUIWindowsForms.Tests.WritingSystems { [TestFixture, Ignore("Not Yet")] public class WritingSystemTreeItemTests { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Palaso.UI.WindowsForms.WritingSystems; using Palaso.WritingSystems; namespace PalasoUIWindowsForms.Tests.WritingSystems { [TestFixture] public class WritingSystemTreeItemTests { [Test, Ignore("Not...
mit
C#
172ff3170868882337c1e755b95d9cb0b6f630d6
change order of validation for error messages in unit tests
SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk
SnapMD.ConnectedCare.Sdk.Tests/ModelTests/NewPatientRequestValidationTest.cs
SnapMD.ConnectedCare.Sdk.Tests/ModelTests/NewPatientRequestValidationTest.cs
using System; using NUnit.Framework; using SnapMD.ConnectedCare.ApiModels; namespace SnapMD.ConnectedCare.Sdk.Tests.ModelTests { [TestFixture] public class NewPatientRequestValidationTest { [Test] public void TestModelValidationFail() { var target = new NewPatientReque...
using System; using NUnit.Framework; using SnapMD.ConnectedCare.ApiModels; namespace SnapMD.ConnectedCare.Sdk.Tests.ModelTests { [TestFixture] public class NewPatientRequestValidationTest { [Test] public void TestModelValidationFail() { var target = new NewPatientReque...
apache-2.0
C#
3684204a5f3ece82da34e5ab99069fccf48a0e08
Fix Access Denied in ForegroundProcess (fixes #36)
Mpstark/articulate,BrunoBrux/ArticulateDVS
Articulate/Components/ForegroundProcess.cs
Articulate/Components/ForegroundProcess.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Articulate { /// <summary> /// Gets information about the currently active windo...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Articulate { /// <summary> /// Gets information about the currently active window /// </summary> public sta...
mit
C#
7604f82ed0486eda03f2f539d45c6ea2fdb896f3
Remove unneceserry class
stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity,stoyanov7/SoftwareUniversity
C#Development/BashSoft/BashSoft/IO/OutputWriter.cs
C#Development/BashSoft/BashSoft/IO/OutputWriter.cs
namespace BashSoft.IO { using System; using System.Collections.Generic; public static class OutputWriter { public static void PrintLogo() { var newLine = Environment.NewLine; var logo = new[] { @" ____ _ __...
namespace BashSoft.IO { using System; using System.Collections.Generic; public static class OutputWriter { public static void PrintLogo() { var newLine = Environment.NewLine; var logo = new[] { @" ____ _ __...
mit
C#
67edd6d4f0c2bf4ebac29d7bdef272ffc42bf59a
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) { //Code was Edited in Git Hub //hello } } }
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) { //Code was Edited in Git Hub } } }
mit
C#
cc365896c520515b2f83081ed022972ffd120d94
Use AssemblyName constructor to retrieve assembly version
cureos/Evil-DICOM
EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs
EvilDICOM.Core/EvilDICOM.Core/Helpers/Constants.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace EvilDICOM.Core.Helpers { public static class Constants { public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1"; public static string EVIL_DICOM...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace EvilDICOM.Core.Helpers { public static class Constants { public static string EVIL_DICOM_IMP_UID = "1.2.598.0.1.2851334.2.1865.1"; public static string EVIL_DICOM...
mit
C#
472a89c8a409a59e866be111411434fef6fb0712
Range sum - accepted
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
LeetCode/remote/range_sum.cs
LeetCode/remote/range_sum.cs
// https://leetcode.com/problems/range-sum-query-immutable/ // // Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. // // Example: // // Given nums = [-2, 0, 3, -5, 2, -1] // // sumRange(0, 2) -> 1 // sumRange(2, 5) -> -1 // sumRange(0, 5) -> -3 // // 16 / 16 test cas...
// https://leetcode.com/problems/range-sum-query-immutable/ // // Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. // // Example: // // Given nums = [-2, 0, 3, -5, 2, -1] // // sumRange(0, 2) -> 1 // sumRange(2, 5) -> -1 // sumRange(0, 5) -> -3 // using System; usin...
mit
C#
b820fe61d91d6947ac8cfadd620a6454b5996f80
make the timeout in the sample unit test more obvious/explicit
OrleansContrib/Orleans.TelemetryConsumers.MetricsTracker,OrleansContrib/Orleans.TelemetryConsumers.MetricsTracker,OrleansContrib/Orleans.TelemetryConsumers.MetricsTracker
MetricsTracker.SampleGrainTests/SampleUnitTests.cs
MetricsTracker.SampleGrainTests/SampleUnitTests.cs
using System; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Orleans.TestingHost; using Orleans.TelemetryConsumers.MetricsTracker; using MetricsTracker.TestDomain; namespace MetricsTracker.SampleGrainTests { [TestClass] public class SampleUnitTests { static...
using System; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Orleans.TestingHost; using Orleans.TelemetryConsumers.MetricsTracker; using MetricsTracker.TestDomain; namespace MetricsTracker.SampleGrainTests { [TestClass] public class SampleUnitTests { static...
mit
C#
94783fc230a3135ff09a52d68b4950b11511f82d
Update DumpAllTheStuff.cs
overtools/OWLib
DataTool/ToolLogic/Dump/DumpAllTheStuff.cs
DataTool/ToolLogic/Dump/DumpAllTheStuff.cs
using System; using System.IO; using DataTool.JSON; using DataTool.Flag; using DataTool.ToolLogic.Extract; using DataTool.ToolLogic.List; using DataTool.ToolLogic.List.Misc; namespace DataTool.ToolLogic.Dump { [Tool("dump-all-stuff", CustomFlags = typeof(ExtractFlags), IsSensitive = true)] public class DumpAl...
using System; using System.IO; using DataTool.JSON; using DataTool.Flag; using DataTool.ToolLogic.Extract; using DataTool.ToolLogic.List; using DataTool.ToolLogic.List.Misc; namespace DataTool.ToolLogic.Dump { [Tool("dump-all-stuff", CustomFlags = typeof(ExtractFlags), IsSensitive = true)] public class DumpAl...
mit
C#
e97bf68f8995474b52a83bc9f77f1a79db5b569a
Test CounterClockwise method.
vjacquet/WmcSoft
WmcSoft.Mathematics.Tests/Geometry2D/PointTests.cs
WmcSoft.Mathematics.Tests/Geometry2D/PointTests.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using static WmcSoft.Geometry2D.Helpers; namespace WmcSoft.Geometry2D { [TestClass] public class PointTests { ...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace WmcSoft.Geometry2D { [TestClass] public class PointTests { [TestMethod] public void ...
mit
C#
7d0dbf0bf96aca5b892c87c24e781f19dee7d2b6
Remove obsolete test
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
InfinniPlatform.Sdk.Tests/SignInApiTest.cs
InfinniPlatform.Sdk.Tests/SignInApiTest.cs
using System; using InfinniPlatform.NodeServiceHost; using InfinniPlatform.Sdk.Api; using NUnit.Framework; namespace InfinniPlatform.Sdk.Tests { [TestFixture] [Category(TestCategories.IntegrationTest)] [Ignore("Obsolete")] public sealed class SignInApiTest { private const string Route = "1"; private IDisp...
using System; using InfinniPlatform.NodeServiceHost; using InfinniPlatform.Sdk.Api; using NUnit.Framework; namespace InfinniPlatform.Sdk.Tests { [TestFixture] [Category(TestCategories.IntegrationTest)] public sealed class SignInApiTest { private const string Route = "1"; private IDisposable _server; priv...
agpl-3.0
C#
944c9e39c4a501973cee828ee32f01c472b88b4a
Fix storing the next clause
Logicalshift/Reason
LogicalShift.Reason/Solvers/ChoicePoint.cs
LogicalShift.Reason/Solvers/ChoicePoint.cs
using LogicalShift.Reason.Api; using LogicalShift.Reason.Unification; using System; using System.Collections.Generic; using System.Linq; namespace LogicalShift.Reason.Solvers { /// <summary> /// Representation of a choice point /// </summary> public class ChoicePoint { /// <summary> ...
using LogicalShift.Reason.Api; using LogicalShift.Reason.Unification; using System; using System.Collections.Generic; using System.Linq; namespace LogicalShift.Reason.Solvers { /// <summary> /// Representation of a choice point /// </summary> public class ChoicePoint { /// <summary> ...
apache-2.0
C#
8282a674341837bda2fc05f667add623080063e7
Fix failing tests
gtryus/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,tombogle/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,gmartin7/libpalaso,glasseyes/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,tombogle/libpalaso,gtryus/li...
Palaso.Tests/reporting/ErrorReportTests.cs
Palaso.Tests/reporting/ErrorReportTests.cs
// Copyright (c) 2015 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using NUnit.Framework; #if !__MonoCS__ using Palaso.Email; #endif using Palaso.Reporting; namespace Palaso.Tests.reporting { [TestFixture] p...
// Copyright (c) 2015 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using NUnit.Framework; #if !__MonoCS__ using Palaso.Email; #endif using Palaso.Reporting; namespace Palaso.Tests.reporting { [TestFixture] p...
mit
C#
9baf53e1a63801f4f941274a2cadbdb8a5690ac7
Migrate module path property
joshlrogers/OpenCover.UI,pavzaj/OpenCover.UI,pver/OpenCover.UI,MelleKoning/OpenCover.UI,OpenCoverUI/OpenCover.UI
OpenCover.UI/Model/Module.cs
OpenCover.UI/Model/Module.cs
// // This source code is released under the MIT License; Please read license.md file for more details. // using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; namespace OpenCover.Framework.Model { /// <summary> /// The details of a module /// </summary> public class Module : Skip...
// // This source code is released under the MIT License; Please read license.md file for more details. // using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; namespace OpenCover.Framework.Model { /// <summary> /// The details of a module /// </summary> public class Module : Skip...
mit
C#
a6ff511b309487073bafd22bc0c05a2a38e4a5df
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#
325054b115f03a4c0551ca4bf0a8a864faec1dc7
Use framework methods to convert hex strings.
Faithlife/FaithlifeUtility
src/Faithlife.Utility/ByteUtility.cs
src/Faithlife.Utility/ByteUtility.cs
using System; namespace Faithlife.Utility { /// <summary> /// Provides helper methods for working with <see cref="byte"/>. /// </summary> public static class ByteUtility { /// <summary> /// Converts the specified string representation of bytes into a byte array. /// </summary> /// <param name="value">The ...
using System; namespace Faithlife.Utility { /// <summary> /// Provides helper methods for working with <see cref="byte"/>. /// </summary> public static class ByteUtility { /// <summary> /// Converts the specified string representation of bytes into a byte array. /// </summary> /// <param name="value">The ...
mit
C#
3fd536feccbdc8373bae2f2ded72ea3032415460
Update AndyLevy.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/AndyLevy.cs
src/Firehose.Web/Authors/AndyLevy.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AndyLevy : IAmACommunityMember { public string FirstName => "Andy"; public string LastName...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class AndyLevy : IAmACommunityMember { public string FirstName => "Andy"; public string LastName...
mit
C#
41c64725ddd105df559e9780b2e53fd5d058da62
Change to the properties file
Agilitas/screengrab
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
e2ced21de7f873e1d5915305df6e2a3227aebc05
Update version number to 1.1.13
anonymousthing/ListenMoeClient
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Li...
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("Li...
mit
C#
db9bf3711976f2aa29064acbb5355ae384618192
Update version to 1.2.12
anonymousthing/ListenMoeClient
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Li...
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("Li...
mit
C#
6aba264159359fdad7a11ee151f87dac08e6e288
update assembly info
Vulnerator/Vulnerator
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Vulnerator")] [asse...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Vulnerator")] [asse...
mit
C#
7bdedf802c8881071a42c9083ae6396ea9a532a0
Fix juice streams not propagating accent colours to nested objects
peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,naoey/osu,2yangk23/osu,EVAST9919/osu,ZLima12/osu,ppy/osu,naoey/osu,Nabile-Rahmani/osu,peppy/osu,DrabWeb/osu,DrabWeb/osu,Frontear/osuKyzer,ppy/osu,smoogipooo/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo...
osu.Game.Rulesets.Catch/Objects/Drawable/DrawableJuiceStream.cs
osu.Game.Rulesets.Catch/Objects/Drawable/DrawableJuiceStream.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using OpenTK; using osu.Game.Rulesets.Objects.Drawables; namespace o...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using OpenTK; using osu.Game.Rulesets.Objects.Drawables; namespace o...
mit
C#
aa5ae885cf50d80804655d444e8812b688c83709
Add AllowPartiallyTrustedCallers attribute.
TheCodeKing/BetterMembership.Net,TheCodeKing/BetterMembership.Net
Source/CommonAssemblyInfo.cs
Source/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Security; [assembly: AllowPartiallyTrustedCallers] [assembly: AssemblyCompany("TheCodeKing")] [assembly: AssemblyCopyright("Copyright © 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyDescription(...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyCompany("TheCodeKing")] [assembly: AssemblyCopyright("Copyright © 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyDescription("A better implementation of ExtendedMembershipProvider with supp...
mit
C#
3ee9d62e58dc2fc20f22452110da3111968e3b02
Fix Seed.cs.
exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests
fixture/CSharp/input_code/Seed.cs
fixture/CSharp/input_code/Seed.cs
using System; namespace Occf.Learner.Core.Ts.Experiments { internal class Seed { public static void Main(string[] a) { Contract.Requires(b); Contract.Requires(b, ""); Contract.Requires<Exception>(b); Contract.Requires<Exception>(b, ""); System.Diagnostics.Contracts.Contract.Requires(b); System.Di...
using System; namespace Occf.Learner.Core.Ts.Experiments { internal class Seed { public static void Main(string[] a) { Contract.Requires(b); Contract.Requires(b, ""); Contract.Requires<Exception>(b); Contract.Requires<Exception>(b, ""); System.Diagnostics.Contracts.Contract.Requires(b); System.Di...
apache-2.0
C#
81d3b0f25da1fe3d38fc924321c6c5f9f759a0c3
bump to 1.0.0.6 - 1.0.0.5 already listed on nuget (will unlist)
amido/NAuto
Amido.NAuto/Properties/AssemblyInfo.cs
Amido.NAuto/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("Am...
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("Am...
apache-2.0
C#
612b14b79456e2b54f552027dafedc7598884500
Add score displays to GameMaster
jnissin/Air-Hockey,jnissin/Air-Hockey
Assets/Scripts/GameMasterController.cs
Assets/Scripts/GameMasterController.cs
using UnityEngine; using UnityEngine.UI; using System; using System.Collections; using UniRx; /* 3) Manage players (network: connect/disconnect, game creation, etc.) */ public class GameMasterController : MonoBehaviour { private int _startTime = 0; public IntReactiveProperty PlayerOneScore { get; protected set...
using UnityEngine; using System; using System.Collections; using UniRx; /* 3) Manage players (network: connect/disconnect, game creation, etc.) */ public class GameMasterController : MonoBehaviour { public IntReactiveProperty PlayerOneScore { get; protected set; } public IntReactiveProperty PlayerTwoScore { get;...
mit
C#
0efcfaddd931145a3b14f2788d72d733d5ff58d0
add TService type restriction to be a class to match windsor-3.0 restriction
castleproject/Castle.Transactions,castleproject/Castle.Transactions,castleproject/Castle.Transactions
src/Castle.Facilities.AutoTx/LifestyleRegistrationExtensions.cs
src/Castle.Facilities.AutoTx/LifestyleRegistrationExtensions.cs
#region license // Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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/L...
#region license // Copyright 2004-2011 Castle Project - http://www.castleproject.org/ // // 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/L...
apache-2.0
C#
a65df5dc11aac611f0d3dfeba9155945584cd900
Fix initialization.
exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml
Code2Xml.Learner.Core/Learning/SelectedFragment.cs
Code2Xml.Learner.Core/Learning/SelectedFragment.cs
using System; using Code2Xml.Core.Location; using Code2Xml.Core.SyntaxTree; namespace Code2Xml.Learner.Core.Learning { public class SelectedFragment { public CodeRange SurroundingRange { get; set; } public CodeRange TargetRange { get; set; } public CstNode Node { get; set; } publi...
using System; using Code2Xml.Core.Location; using Code2Xml.Core.SyntaxTree; namespace Code2Xml.Learner.Core.Learning { public class SelectedFragment { public CodeRange SurroundingRange { get; set; } public CodeRange TargetRange { get; set; } public CstNode Node { get; set; } publi...
apache-2.0
C#
ede6f57281efe0122ff49a95e7116dd92abd4613
Add OnRequestPermissionsResult for MainActivity.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.Droid/MainActivity.cs
client/BlueMonkey/BlueMonkey.Droid/MainActivity.cs
 using Android.App; using Android.Content.PM; using Android.OS; using BlueMonkey.LoginService; using BlueMonkey.LoginService.Azure.Droid; using Microsoft.Practices.Unity; using Microsoft.WindowsAzure.MobileServices; using Plugin.Permissions; using Plugin.Permissions.Abstractions; using Prism.Unity; namespace BlueMonk...
 using Android.App; using Android.Content.PM; using Android.OS; using BlueMonkey.LoginService; using BlueMonkey.LoginService.Azure.Droid; using Microsoft.Practices.Unity; using Microsoft.WindowsAzure.MobileServices; using Prism.Unity; namespace BlueMonkey.Droid { [Activity(Label = "BlueMonkey", Icon = "@drawable/...
mit
C#
4b7291b0f1c7e3f1d162990a092a6d4252e3f8a0
add Telegram link
codingteam/codingteam.org.ru,codingteam/codingteam.org.ru
Views/Home/Resources.cshtml
Views/Home/Resources.cshtml
<h1>Resources</h1> <p>Here is a list of codingteam affiliated online resources:</p> <ul class="fa-ul"> <li> <a href="https://github.com/codingteam/"> <i class="fa-li fa fa-github"></i> GitHub organization </a> </li> <li> <a href="xmpp:codingteam@conference.jabber.ru?joi...
<h1>Resources</h1> <p>Here is a list of codingteam affiliated online resources:</p> <ul class="fa-ul"> <li> <a href="https://github.com/codingteam/"> <i class="fa-li fa fa-github"></i> GitHub organization </a> </li> <li> <a href="https://gitter.im/codingteam"> ...
mit
C#
2469c51d7f79530427513ea338adaaa28928d817
Handle empty properties on fallback
meridiumlabs/episerver.migration
Meridium.EPiServer.Migration/Support/SourcePage.cs
Meridium.EPiServer.Migration/Support/SourcePage.cs
using System.Linq; using EPiServer.Core; namespace Meridium.EPiServer.Migration.Support { public class SourcePage { public string TypeName { get; set; } public PropertyDataCollection Properties { get; set; } public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal...
using System.Linq; using EPiServer.Core; namespace Meridium.EPiServer.Migration.Support { public class SourcePage { public string TypeName { get; set; } public PropertyDataCollection Properties { get; set; } public TValue GetValue<TValue>(string propertyName, TValue @default = default(TVal...
mit
C#
7161c53760d3d4d45a371a08d691c2202e16869b
Fix similar "can see but can't path" crash on sprinters.
jeongroseok/magecrawl,AndrewBaker/magecrawl
Trunk/GameEngine/Actors/SprinterMonster.cs
Trunk/GameEngine/Actors/SprinterMonster.cs
using System; using System.Collections.Generic; using Magecrawl.Utilities; namespace Magecrawl.GameEngine.Actors { internal class SprinterMonster : Monster { public SprinterMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModi...
using System; using System.Collections.Generic; using Magecrawl.Utilities; namespace Magecrawl.GameEngine.Actors { internal class SprinterMonster : Monster { public SprinterMonster(string name, Point p, int maxHP, int vision, DiceRoll damage, double defense, double evade, double ctIncreaseModi...
bsd-2-clause
C#
f76e7a87e7191627614bdd081d1e2a6531360782
Revert to If
efmvc/azuremvcdemo,efmvc/azuremvcdemo,efmvc/azuremvcdemo
WebApp-B2C-DotNet/Views/Home/Claims.cshtml
WebApp-B2C-DotNet/Views/Home/Claims.cshtml
@using System.Security.Claims @{ ViewBag.Title = "Claims"; } <h2>@ViewBag.Title</h2> <h4>Claims Present in the Claims Identity: @ViewBag.DisplayName</h4> <table class="table-hover claim-table"> <tr> <th class="claim-type claim-data claim-head">Claim Type</th> <th class="claim-data claim-head"...
@using System.Security.Claims @{ ViewBag.Title = "Claims"; } <h2>@ViewBag.Title</h2> <h4>Claims Present in the Claims Identity: @ViewBag.DisplayName</h4> <table class="table-hover claim-table"> <tr> <th class="claim-type claim-data claim-head">Claim Type</th> <th class="claim-data claim-head"...
apache-2.0
C#
e5c2275b1f51c2d1a4f61515629eae4931ed483c
Add missing namespace
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/LiteNetLibClient.cs
Scripts/LiteNetLibClient.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using LiteNetLib; using LiteNetLib.Utils; using LiteNetLibHighLevel.Utils; namespace LiteNetLibHighLevel { public class LiteNetLibClient : INetEventListener { public LiteNetLibManager Manager { get; protected set; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using LiteNetLib; using LiteNetLib.Utils; namespace LiteNetLibHighLevel { public class LiteNetLibClient : INetEventListener { public LiteNetLibManager Manager { get; protected set; } public NetManager NetManager { g...
mit
C#
79e93e2432e330ca9c9879f86d7f89f01bbe554d
Test #1305, allow unordered fields in any sequence
ronnyek/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db
Tests/Linq/UserTests/Issue1305Tests.cs
Tests/Linq/UserTests/Issue1305Tests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinqToDB; using LinqToDB.Data; using LinqToDB.Mapping; using NUnit.Framework; namespace Tests.UserTests { /// <summary> /// Test fixes to Issue #1305. /// Before fix fields in derived tables we...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LinqToDB; using LinqToDB.Data; using LinqToDB.Mapping; using NUnit.Framework; namespace Tests.UserTests { /// <summary> /// Test fixes to Issue #1305. /// Before fix fields in derived tables we...
mit
C#
62619236df6b6a4f07601e03640105166e071e8c
Add null check to AsyncTestAddin
ScottNZ/Arma2NET,Pixinger/Arma2NET,Pixinger/Arma2NET,ScottNZ/Arma2NET,Pixinger/Arma2NET
TestAddin/AsyncTestAddin.cs
TestAddin/AsyncTestAddin.cs
/* * Copyright 2014 Arma2NET Developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2014 Arma2NET Developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
C#
2fd07c0a15b40645c95812f6a00b43558a4f84e3
Fix parameter commands.
Damnae/storybrew
common/Storyboarding/Commands/ParameterCommand.cs
common/Storyboarding/Commands/ParameterCommand.cs
using StorybrewCommon.Storyboarding.CommandValues; namespace StorybrewCommon.Storyboarding.Commands { public class ParameterCommand : Command<CommandParameter> { public override bool ExportEndValue => false; public ParameterCommand(OsbEasing easing, double startTime, double endTime, C...
using StorybrewCommon.Storyboarding.CommandValues; namespace StorybrewCommon.Storyboarding.Commands { public class ParameterCommand : Command<CommandParameter> { public override bool ExportEndValue => false; public ParameterCommand(OsbEasing easing, double startTime, double endTime, C...
mit
C#
69834cbbae0345b9abe00d3a1ef0a0a883379630
Use a different authentication type
khellang/Middleware,khellang/Middleware
src/Authentication.JwtBearer.Google/JwtBearerOptionsExtensions.cs
src/Authentication.JwtBearer.Google/JwtBearerOptionsExtensions.cs
using System; using Hellang.Authentication.JwtBearer.Google; using Microsoft.AspNetCore.Authentication.JwtBearer; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { public static class JwtBearerOptionsExtensions { public static JwtBearerOptions UseGoo...
using System; using Hellang.Authentication.JwtBearer.Google; using Microsoft.AspNetCore.Authentication.JwtBearer; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { public static class JwtBearerOptionsExtensions { public static JwtBearerOptions UseGoogle(this...
mit
C#
fbeaad8e6227ec66b4dc796bacc8ac8bae22ef60
Update OrleansServiceListener.cs (#6750)
ElanHasson/orleans,galvesribeiro/orleans,waynemunro/orleans,yevhen/orleans,benjaminpetit/orleans,waynemunro/orleans,jthelin/orleans,dotnet/orleans,amccool/orleans,amccool/orleans,amccool/orleans,veikkoeeva/orleans,galvesribeiro/orleans,ElanHasson/orleans,ibondy/orleans,yevhen/orleans,dotnet/orleans,hoopsomuah/orleans,h...
src/Azure/Orleans.Hosting.ServiceFabric/OrleansServiceListener.cs
src/Azure/Orleans.Hosting.ServiceFabric/OrleansServiceListener.cs
using System; using System.Fabric; using Microsoft.ServiceFabric.Services.Communication.Runtime; using Orleans.ServiceFabric; namespace Orleans.Hosting.ServiceFabric { /// <summary> /// Creates Service Fabric listeners for Orleans silos. /// </summary> public static class OrleansServiceListener { ...
using System; using System.Fabric; using Microsoft.ServiceFabric.Services.Communication.Runtime; using Orleans.ServiceFabric; namespace Orleans.Hosting.ServiceFabric { /// <summary> /// Creates Service Fabric listeners for Orleans silos. /// </summary> public static class OrleansServiceListener { ...
mit
C#
ea9bfcec2b4acfd1d7cd396d48683a292257df64
rename test
HarshPoint/HarshPoint,the-ress/HarshPoint,NaseUkolyCZ/HarshPoint
test/HarshPoint.Tests/Provisioning/Implementation/ResolveResultConverting.cs
test/HarshPoint.Tests/Provisioning/Implementation/ResolveResultConverting.cs
using HarshPoint.Provisioning; using HarshPoint.Provisioning.Implementation; using Moq; using System; using System.Collections; using System.Reflection; using Xunit; using Xunit.Abstractions; namespace HarshPoint.Tests.Provisioning.Implementation { public class ResolveResultConverting : SeriloggedTest { ...
using HarshPoint.Provisioning; using HarshPoint.Provisioning.Implementation; using Moq; using System; using System.Collections; using System.Reflection; using Xunit; using Xunit.Abstractions; namespace HarshPoint.Tests.Provisioning.Implementation { public class ResolveResultConverting : SeriloggedTest { ...
bsd-2-clause
C#
2e1cff508876223212c1c2c483d4a2d729f054ab
Update src/Tgstation.Server.Api/Models/DiscordConnectionStringBuilder.cs
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Api/Models/DiscordConnectionStringBuilder.cs
src/Tgstation.Server.Api/Models/DiscordConnectionStringBuilder.cs
using System; using System.Linq; using Tgstation.Server.Api.Models.Internal; namespace Tgstation.Server.Api.Models { /// <summary> /// <see cref="ChatConnectionStringBuilder"/> for <see cref="ChatProvider.Discord"/> /// </summary> public sealed class DiscordConnectionStringBuilder : ChatConnectionStringBuilder { ...
using System; using System.Linq; using Tgstation.Server.Api.Models.Internal; namespace Tgstation.Server.Api.Models { /// <summary> /// <see cref="ChatConnectionStringBuilder"/> for <see cref="ChatProvider.Discord"/> /// </summary> public sealed class DiscordConnectionStringBuilder : ChatConnectionStringBuilder { ...
agpl-3.0
C#
f29d65e755afa60f83e4f2c0eaead8f06d680d54
Remove comments
gopangea/BrakePedal
src/BrakePedal.Http/HttpRequestKey.cs
src/BrakePedal.Http/HttpRequestKey.cs
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using System; using System.Net; namespace BrakePedal.Http { public class HttpRequestKey : IThrottleKey { public HttpRequest Request { get; private set; } public IPAddress ClientIp { get; protected set; } publi...
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; using System; using System.Net; namespace BrakePedal.Http { public class HttpRequestKey : IThrottleKey { public HttpRequest Request { get; private set; } public IPAddress ClientIp { get; protected set; } publi...
mit
C#
43b0df2bc5adb3a51cc9f02bf80857a2cdb1e432
Add a .ToString() on Node.
KirillOsenkov/MathParser
src/GuiLabs.MathParser/Parser/Node.cs
src/GuiLabs.MathParser/Parser/Node.cs
using System.Collections.Generic; using System.Linq; namespace GuiLabs.MathParser { public class Node { public readonly IList<Node> Children; public readonly NodeType Kind; public readonly Token Token; public Node(NodeType nodeType, params Node[] children) ...
using System.Collections.Generic; namespace GuiLabs.MathParser { public class Node { public readonly IList<Node> Children; public readonly NodeType Kind; public readonly Token Token; public Node(NodeType nodeType, params Node[] children) { this....
mit
C#
539a4b6eee4dcc63cd537cb9af4b1a487440c590
Fix HTTPS module admin menu item not showing in the configuration menu (#1605)
stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchar...
src/OrchardCore.Modules/OrchardCore.Https/AdminMenu.cs
src/OrchardCore.Modules/OrchardCore.Https/AdminMenu.cs
using System; using Microsoft.Extensions.Localization; using OrchardCore.Environment.Navigation; namespace OrchardCore.Https { public class AdminMenu : INavigationProvider { public AdminMenu(IStringLocalizer<AdminMenu> localizer) { T = localizer; } public IStringLoc...
using System; using Microsoft.Extensions.Localization; using OrchardCore.Environment.Navigation; namespace OrchardCore.Https { public class AdminMenu : INavigationProvider { public AdminMenu(IStringLocalizer<AdminMenu> localizer) { T = localizer; } public IStringLoc...
bsd-3-clause
C#
2c9e0fcbe2feeb416da09ba7861523781983237a
fix build
Silvochka/algorithms
AlgorithmsTests/DataStructures/Tree/BinarySearchTreeNodeTests.cs
AlgorithmsTests/DataStructures/Tree/BinarySearchTreeNodeTests.cs
using Algorithms.DataStructures.Tree; using NUnit.Framework; namespace AlgorithmsTests.DataStructures.Tree { public class BinarySearchTreeNodeTests { [Test] public void BinarySearchTreeNodeDegreeTest() { var tree = new BinarySearchTree<int>(); tree.Insert(5); ...
using Algorithms.DataStructures.Tree; using Microsoft.VisualStudio.TestTools.UnitTesting; using NUnit.Framework; namespace AlgorithmsTests.DataStructures.Tree { public class BinarySearchTreeNodeTests { [Test] public void BinarySearchTreeNodeDegreeTest() { var tree = new Bin...
mit
C#
b66a7f65711c56a670f2223f483820fb63487a92
Fix tabs/spaces.
WebApiContrib/WebApiContrib.IoC.CastleWindsor,kalyanraman/WebApiContrib.IoC.CastleWindsor,WebApiContrib/WebApiContrib.IoC.CastleWindsor,modulexcite/WebApiContrib.IoC.CastleWindsor
src/WebApiContrib.IoC.CastleWindsor/WindsorResolver.cs
src/WebApiContrib.IoC.CastleWindsor/WindsorResolver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http.Dependencies; using Castle.Windsor; namespace WebApiContrib.IoC.CastleWindsor { public class WindsorDependencyScope : IDependencyScope { private IWindsorContainer container; public WindsorDependencyScope(...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http.Dependencies; using Castle.Windsor; namespace WebApiContrib.IoC.CastleWindsor { public class WindsorDependencyScope : IDependencyScope { private IWindsorContainer container; public WindsorDependencyScope(IWinds...
mit
C#
46aff97658aa2b93a8e80971814ee988620461a9
Fix PostgreSqlDialect
bgTeamDev/bgTeam.Core,bgTeamDev/bgTeam.Core
src/bgTeam.Impl.Dapper/Mapper/Sql/PostgreSqlDialect.cs
src/bgTeam.Impl.Dapper/Mapper/Sql/PostgreSqlDialect.cs
namespace DapperExtensions.Mapper.Sql { using System.Collections.Generic; public class PostgreSqlDialect : SqlDialectBase { public override string GetIdentitySql(string tableName) { return "SELECT LASTVAL() AS Id"; } public override string GetPagingSql(string s...
namespace DapperExtensions.Mapper.Sql { using System.Collections.Generic; public class PostgreSqlDialect : SqlDialectBase { public override string GetIdentitySql(string tableName) { return "SELECT LASTVAL() AS Id"; } public override string GetPagingSql(string s...
mit
C#
1552a94fbbe970b7fa08888df6ca8959ffc04650
Add comment about other calculation methods
mattgwagner/CertiPay.Payroll.Common
CertiPay.Payroll.Common/CalculationType.cs
CertiPay.Payroll.Common/CalculationType.cs
using System.Collections.Generic; namespace CertiPay.Payroll.Common { /// <summary> /// Identifies the method to calculate the result /// </summary> public enum CalculationType { // TODO: We might implement some other calculation methods as needed? // Percent of Special Earnings: S...
using System.Collections.Generic; namespace CertiPay.Payroll.Common { /// <summary> /// Identifies the method to calculate the result /// </summary> public enum CalculationType { /// <summary> /// Deduction is taken as a percentage of the gross pay /// </summary> Pe...
mit
C#
91dc64e80fb5395ba564309de059f79b128c578a
Update DateTimeExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/DateTimeExtensions.cs
src/DateTimeExtensions.cs
using System; using System.Globalization; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with <see cref="DateTime" />s. /// </summary> public static class DateTimeExtensions { /// <summary> /// Converts the specified <see cref="DateTime"/> to a <see cref="String"/>...
using System; using System.Globalization; namespace HallLibrary.Extensions { public static class DateTimeExtensions { /// <summary> /// Converts the specified <see cref="DateTime"/> to a <see cref="String"/>, in ISO-8601 format. /// </summary> /// <param name="dt">The date to convert.</param> /// <param na...
apache-2.0
C#
3630dccfebba2a314ef789adf619287c1369546e
Increment AssemblyVersion. Resolves #299
bitbonk/Caliburn.Micro,TriadTom/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro,serenabenny/Caliburn.Micro,TriadTom/Caliburn.Micro
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyProduct("Caliburn.Micro")] [assembly: AssemblyCompany("Blue Spire Consulting, Inc.")] [assembly: AssemblyCopyright("Copyright © 2010")] [assembly: NeutralResourcesLanguage("en-US")] [assembly: AssemblyVersion("3.0.0.0")] [assembly: AssemblyFileVers...
using System.Reflection; using System.Resources; [assembly: AssemblyProduct("Caliburn.Micro")] [assembly: AssemblyCompany("Blue Spire Consulting, Inc.")] [assembly: AssemblyCopyright("Copyright © 2010")] [assembly: NeutralResourcesLanguage("en-US")] [assembly: AssemblyVersion("2.0.2.0")] [assembly: AssemblyFileVers...
mit
C#
4c7d3d21d5868101cb4622e726ed110242c7048f
Increase version to 2.4.0
Azure/amqpnetlite
src/Properties/Version.cs
src/Properties/Version.cs
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // 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 co...
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // 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 co...
apache-2.0
C#
51e3c9e1f7f5508905dd8931eba11fa501d0d633
update MemoryCache to use DateTimeOffset
aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate
src/Abp/Runtime/Caching/Memory/AbpMemoryCache.cs
src/Abp/Runtime/Caching/Memory/AbpMemoryCache.cs
using System; using Microsoft.Extensions.Options; using Microsoft.Extensions.Caching.Memory; using Abp.Data; namespace Abp.Runtime.Caching.Memory { /// <summary> /// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>. /// </summary> public class AbpMemoryCache : CacheBase { ...
using System; using Microsoft.Extensions.Options; using Microsoft.Extensions.Caching.Memory; using Abp.Data; namespace Abp.Runtime.Caching.Memory { /// <summary> /// Implements <see cref="ICache"/> to work with <see cref="MemoryCache"/>. /// </summary> public class AbpMemoryCache : CacheBase { ...
mit
C#
763b6ba9441f0f9b98e673a9764d359332f6e484
Add the usage of the .net linked list as an example for comparison in the outcomes
mszczepaniak/Algorithms
AlgorithmsAndDataStructures/AlgorithmsAndDataStructures/Program.cs
AlgorithmsAndDataStructures/AlgorithmsAndDataStructures/Program.cs
using System; using AlgorithmsAndDataStructures.LinkedList; namespace AlgorithmsAndDataStructures { class Program { static void Main(string[] args) { // AT FIRST USE THE .NET FRAMEWORK LINKEDLIST CLASS System.Collections.Generic.LinkedList<int> list = new System.Collect...
using System; using AlgorithmsAndDataStructures.LinkedList; namespace AlgorithmsAndDataStructures { class Program { static void Main(string[] args) { // +-----+------+ // | 3 | null + // +-----+------+ Node first = new Node {Value...
mit
C#
9d5acfb66a9dd19758e863845f5e9a606b681162
adjust version and add ci integrate
wanlitao/HangfireExtension
Hangfire.SQLite/Properties/AssemblyInfo.cs
Hangfire.SQLite/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("Hangfire plugin for SQLite Storage")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Hangfire.SQLite")] [assembly: AssemblyDescription("Hangfire plugin for SQLite Storage")] [assembly: AssemblyConfiguration("")] [assembly: Asse...
apache-2.0
C#
3b017eaffc8654a7c8618a27ca42149fa8d49d88
Fix delimited setting interface
forcewake/FlatFile
src/FlatFile.Delimited/DelimitedFieldSettings.cs
src/FlatFile.Delimited/DelimitedFieldSettings.cs
namespace FlatFile.Delimited { using System.Reflection; using FlatFile.Core.Base; public interface IDelimitedFieldSettings : IFieldSettings { string Name { get; set; } } public interface IDelimitedFieldSettingsContainer : IDelimitedFieldSettings, IFieldSettingsContainer { } ...
namespace FlatFile.Delimited { using System.Reflection; using FlatFile.Core.Base; public interface IDelimitedFieldSettings : IFieldSettingsContainer { string Name { get; set; } } public class DelimitedFieldSettings : FieldSettingsBase, IDelimitedFieldSettings { public Delim...
mit
C#
85e865ba1351e23d08d3e22268c6983ac7860b29
Add RenewAsync notes
VahidN/DNTIdentity,VahidN/DNTIdentity,VahidN/DNTIdentity
src/ASPNETCoreIdentitySample.Services/Identity/DistributedCacheTicketStore.cs
src/ASPNETCoreIdentitySample.Services/Identity/DistributedCacheTicketStore.cs
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.Extensions.Caching.Distributed; namespace ASPNETCoreIdentitySample.Services.Identity { /// <summary> /// More info: http://www.dotnettips.info/post/2581 ...
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.Extensions.Caching.Distributed; namespace ASPNETCoreIdentitySample.Services.Identity { /// <summary> /// More info: http://www.dotnettips.info/post/2581 ...
apache-2.0
C#
94060a7875dfe20528f5dabc6369cc183d84b46c
Fix small bug in SimulatedAnnealing.Solve
kw90/SantasSledge
Santa/MetaHeuristics/SimulatedAnnealing.cs
Santa/MetaHeuristics/SimulatedAnnealing.cs
using System; using System.Collections.Generic; using Common; using FirstSolution.Algos; namespace MetaHeuristics { public class SimulatedAnnealing : ISolver { double _temperature; Random random = new Random(); double _coolingRate; public SimulatedAnnealing(double temperature, double coolingRate) { th...
using System; using System.Collections.Generic; using Common; using FirstSolution.Algos; namespace MetaHeuristics { public class SimulatedAnnealing : ISolver { double _temperature; Random random = new Random(); double _coolingRate; public SimulatedAnnealing(double temperature, double coolingRate) { th...
mit
C#
29cd33d54cd03cd9d58988e5ced2c17b4058f5cc
increment to 0.2.0-beta02
config-r/config-r
src/ConfigR/Properties/AssemblyInfo.cs
src/ConfigR/Properties/AssemblyInfo.cs
// <copyright file="AssemblyInfo.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ConfigR")] [assembly: AssemblyDescription("C# configurat...
// <copyright file="AssemblyInfo.cs" company="ConfigR contributors"> // Copyright (c) ConfigR contributors. (configr.net@gmail.com) // </copyright> using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ConfigR")] [assembly: AssemblyDescription("C# configurat...
mit
C#
1ca3ee74f989afbf11fda337bfc01d2c5416db4e
Update ConfigExplorerMiddleware.cs
ctolkien/SodaPop.ConfigExplorer
src/ConfigExplorerMiddleware.cs
src/ConfigExplorerMiddleware.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using RazorLight; using System.Linq; namespace SodaPop.ConfigExplorer { public class ConfigExplorerMiddleware { private readonly IConfigurationRoot _c...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Configuration; using RazorLight; using System.Linq; namespace SodaPop.ConfigExplorer { public class ConfigExplorerMiddleware { private readonly IConfigurationRoot _c...
mit
C#
dd228cae71b7a48c69f1c61f994278a7541e04f0
Add icon for needs measure
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/ABCP/List.cshtml
Battery-Commander.Web/Views/ABCP/List.cshtml
@model IEnumerable<ABCP> <h2>ABCP @Html.ActionLink("Add New", "New", "ABCP", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th></th> </tr> </thead> <tbody> @foreach (var model in Model) { <tr> ...
@model IEnumerable<ABCP> <h2>ABCP @Html.ActionLink("Add New", "New", "ABCP", null, new { @class = "btn btn-default" })</h2> <table class="table table-striped"> <thead> <tr> <th></th> </tr> </thead> <tbody> @foreach (var model in Model) { <tr> ...
mit
C#
cdc422ebd13b8a8fce6b4fb25aae17362e2e2244
Update to v1.0.2.0
marcominerva/RestLibrary
Src/RestLibrary/Properties/AssemblyInfo.cs
Src/RestLibrary/Properties/AssemblyInfo.cs
using System.Resources; 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. [asse...
using System.Resources; 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. [asse...
mit
C#
356c7e224b623387a825ac198bbda44d70dc362c
Improve code
sakapon/Samples-2016,sakapon/Samples-2016
BindingSample/BindingConsole/Program.cs
BindingSample/BindingConsole/Program.cs
using System; using System.Windows.Controls; using System.Windows.Data; namespace BindingConsole { class Program { [STAThread] static void Main(string[] args) { Bind_OneWay(); } static void Bind_OneWay() { // Binding Sour...
using System; using System.Windows.Controls; using System.Windows.Data; namespace BindingConsole { class Program { [STAThread] static void Main(string[] args) { BindOneWay(); } static void BindOneWay() { // Binding Source...
mit
C#
be73804a4c1ff8eb684f5249c09bffa31d02998a
Update to position correctly when used in SplitView
ClusterReplyBUS/MonoTouch.Dialog,danmiser/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,hisystems/MonoTouch.Dialog,newky2k/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog
MonoTouch.Dialog/Elements/ActivityElement.cs
MonoTouch.Dialog/Elements/ActivityElement.cs
using System; using System.Drawing; using MonoTouch.UIKit; using MonoTouch.Foundation; namespace MonoTouch.Dialog { public class ActivityElement : Element { public ActivityElement():base(""){ } UIActivityIndicatorView indicator; public bool Animating { get { return indicator.IsAnimating; } set...
using System; using System.Drawing; using MonoTouch.UIKit; namespace MonoTouch.Dialog { public partial class ActivityElement : UIViewElement, IElementSizing { public ActivityElement () : base ("", new UIActivityIndicatorView (UIActivityIndicatorViewStyle.Gray), false) { var sbounds = UIScreen.MainScreen.Bounds...
mit
C#
c3a6d5ab80ffdad880e0173090bab6a4b8faa489
Use ThreadLocal for ThreadSafety static properties. Performance impact should be reduced.
peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,peppy/osu-framework,Tom94/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLi...
osu.Framework/Development/ThreadSafety.cs
osu.Framework/Development/ThreadSafety.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.Diagnostics; using System.Threading; using osu.Framework.Threading; namespace osu.Framework.Development { internal static class ThreadSafety...
// 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.Diagnostics; using System.Threading; using osu.Framework.Threading; namespace osu.Framework.Development { internal static class ThreadSafety...
mit
C#
12c196720a60fa09637abfc0a331b0b347120d26
Add GET verb.
zapadi/redmine-net-api
src/redmine-net-api/HttpVerbs.cs
src/redmine-net-api/HttpVerbs.cs
/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
/* Copyright 2011 - 2019 Adrian Popescu. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
apache-2.0
C#
2600a02543159c1a36fa16a8225d83b5ff5ff80e
Fix Issue 774 test so it works with wrapped IApp on phone and tablet
Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue774.cs
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue774.cs
using System.Diagnostics; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Xamarin.UITest.iOS; #endif namespace Xamarin.Forms.Controls.Issues { [Preserve (AllMembers = true)] [Issue (IssueTracker.Github, 774, "ActionSheet won't dism...
using System.Diagnostics; using Xamarin.Forms.CustomAttributes; using Xamarin.Forms.Internals; #if UITEST using Xamarin.UITest; using NUnit.Framework; using Xamarin.UITest.iOS; #endif namespace Xamarin.Forms.Controls.Issues { [Preserve (AllMembers = true)] [Issue (IssueTracker.Github, 774, "ActionSheet won't dism...
mit
C#
d5fa2c80c78a35a56bf722e7511ec77b7893f66d
Test Scan being lazy
fsateler/MoreLINQ,morelinq/MoreLINQ,Agbar/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,morelinq/MoreLINQ,ddpruitt/morelinq,Agbar/MoreLINQ,smzinovyev/MoreLINQ
MoreLinq.Test/ScanTest.cs
MoreLinq.Test/ScanTest.cs
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. 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 //...
#region License and Terms // MoreLINQ - Extensions to LINQ to Objects // Copyright (c) 2008 Jonathan Skeet. 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 //...
apache-2.0
C#
811c0d93748fef74db6f54be1898cc067765498e
Remove unnecessary Linq conversion
tainicom/TreeViewEx
TreeViewEx/Controls/DragNDrop/DragContent.cs
TreeViewEx/Controls/DragNDrop/DragContent.cs
using System.Collections.Generic; using System.ComponentModel; namespace tainicom.TreeViewEx.DragNDrop { public class DragContent : INotifyPropertyChanged { private bool canDrop; private bool canInsert; private int insertIndex; private List<object> draggedItems; public...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace tainicom.TreeViewEx.DragNDrop { public class DragContent : INotifyPropertyChanged { private bool canDrop; private bool canInsert; private int insertIndex; ...
mit
C#