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
28dc69ea2301b5eea996ce648ddea47941febe37
remove unused directives
jobeland/GeneticAlgorithm
NeuralNetwork.GeneticAlgorithm/TrainingSession.cs
NeuralNetwork.GeneticAlgorithm/TrainingSession.cs
using ArtificialNeuralNetwork; using Logging; using NeuralNetwork.GeneticAlgorithm.Evaluatable; namespace NeuralNetwork.GeneticAlgorithm { public class TrainingSession : ITrainingSession { private int _sessionNumber; public INeuralNetwork NeuralNet { get; set; } private IEvaluatable _...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArtificialNeuralNetwork; using Logging; using NeuralNetwork.GeneticAlgorithm.Evaluatable; namespace NeuralNetwork.GeneticAlgorithm { public class TrainingSession : ITrainingSession { ...
mit
C#
2e6350136dd9cd36cc0804845b2eedd75a053a7f
Update InteropDescriptor.cs (#2126)
AntShares/AntShares
src/neo/SmartContract/InteropDescriptor.cs
src/neo/SmartContract/InteropDescriptor.cs
using Neo.Cryptography; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Neo.SmartContract { public class InteropDescriptor { public string Name { get; } public uint Hash { get; } public MethodInfo Handler { get; } ...
using Neo.Cryptography; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace Neo.SmartContract { public class InteropDescriptor { public string Name { get; } public uint Hash { get; } internal MethodInfo Handler { get; ...
mit
C#
0980f97ea2c8da99030f6f9d7b16425c35865ba5
Replace precision check with absolute equality assert
peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu
osu.Game.Tests/NonVisual/Ranking/UnstableRateTest.cs
osu.Game.Tests/NonVisual/Ranking/UnstableRateTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using NUnit.Framework; using osu.Framework.Utils; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Scoring; using osu.Game.Screen...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using NUnit.Framework; using osu.Framework.Utils; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Scoring; using osu.Game.Screen...
mit
C#
08fb68ddfeddb891b2ddc9972544a0bf6f2bff68
Fix incorrect return type for spotlight request
ppy/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,2yangk23/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,smoogipooo/osu
osu.Game/Online/API/Requests/GetSpotlightsRequest.cs
osu.Game/Online/API/Requests/GetSpotlightsRequest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Online.API.Requests { public class GetSpot...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Game.Online.API.Requests.Responses; namespace osu.Game.Online.API.Requests { public class GetSpotlightsRequest : APIRequ...
mit
C#
89aacef59f5a211633aeea492a8715bb4e560ead
Revert disposal of pattern to avoid crashing on ubuntu
bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,PowerOfCode/Eto
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
Source/Eto.Platform.Gtk/Drawing/TextureBrushHandler.cs
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
using System; using Eto.Drawing; namespace Eto.Platform.GtkSharp.Drawing { /// <summary> /// Handler for the <see cref="ITextureBrush"/> /// </summary> /// <copyright>(c) 2012 by Curtis Wensley</copyright> /// <license type="BSD-3">See LICENSE for full terms</license> public class TextureBrushHandler : BrushHand...
bsd-3-clause
C#
2d448a2f0bff7caf890b3ec608c9884e2344152e
Debug statements
RootAccessOrg/kynnaugh
kynnaugh/SpeechTranscriber.cs
kynnaugh/SpeechTranscriber.cs
using Google.Cloud.Speech.V1Beta1; using Google.Protobuf; using Grpc.Auth; using Grpc.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Google.Cloud.Speech.V1Beta1.Speech; namespace kynnaugh { class SpeechTranscriber { ...
using Google.Cloud.Speech.V1Beta1; using Google.Protobuf; using Grpc.Auth; using Grpc.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static Google.Cloud.Speech.V1Beta1.Speech; namespace kynnaugh { class SpeechTranscriber { ...
apache-2.0
C#
5743c9c9fe25d7945210b79f653e59a4c6584948
Throw exception if BMP version != 3
mstrother/BmpListener
BmpListener/Bmp/BmpHeader.cs
BmpListener/Bmp/BmpHeader.cs
using System; using System.Linq; using BmpListener; using BmpListener.Extensions; namespace BmpListener.Bmp { public class BmpHeader { private readonly int bmpVersion = 3; public BmpHeader(byte[] data) { Version = data.First(); if (Version != bmpVersion) ...
using System; using System.Linq; using BmpListener; using BmpListener.Extensions; namespace BmpListener.Bmp { public class BmpHeader { public BmpHeader(byte[] data) { Version = data.First(); //if (Version != 3) //{ // throw new Exception("inva...
mit
C#
fccceca14264102530294eccd7f073a0c4203d0a
Clear constructor body
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/ViewModels/PatientViewModel.cs
StressMeasurementSystem/ViewModels/PatientViewModel.cs
using System.Collections.Generic; using StressMeasurementSystem.Models; namespace StressMeasurementSystem.ViewModels { public class PatientViewModel { private Patient _patient; public PatientViewModel() { } } }
using System.Collections.Generic; using StressMeasurementSystem.Models; namespace StressMeasurementSystem.ViewModels { public class PatientViewModel { private Patient _patient; public PatientViewModel() { _patient = new Patient( new Patient.Name(), 0, ...
apache-2.0
C#
fd04dc8d4b99b4a92ac3fabea75f1003b5242e27
Fix issues on first run, which takes a little longer to start up
SEEK-Jobs/pact-net,SEEK-Jobs/pact-net,SEEK-Jobs/pact-net
PactNet/Mocks/MockHttpService/Host/RubyHttpHost.cs
PactNet/Mocks/MockHttpService/Host/RubyHttpHost.cs
using System; using System.Net.Http; using System.Threading; using PactNet.Core; namespace PactNet.Mocks.MockHttpService.Host { internal class RubyHttpHost : IHttpHost { private readonly IPactCoreHost _coreHost; private readonly HttpClient _httpClient; internal RubyHttpHost...
using System; using System.Net.Http; using System.Threading; using PactNet.Core; namespace PactNet.Mocks.MockHttpService.Host { internal class RubyHttpHost : IHttpHost { private readonly IPactCoreHost _coreHost; private readonly HttpClient _httpClient; internal RubyHttpHost...
mit
C#
1cb5853e1f66454df5420497fa2d950a844d4907
Add argument checking on commit
vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit
src/vcs-lib/VersionControl/RepositoryBranch.cs
src/vcs-lib/VersionControl/RepositoryBranch.cs
using System; using System.Collections.Generic; using System.Threading; namespace CollabEdit.VersionControl { public class RepositoryBranch<TValue, TMeta> { private object syncRoot = new Object(); public RepositoryBranch() { } public RepositoryBranch(string name, Repository<TValue, T...
using System; using System.Collections.Generic; using System.Threading; namespace CollabEdit.VersionControl { public class RepositoryBranch<TValue, TMeta> { private object syncRoot = new Object(); public RepositoryBranch() { } public RepositoryBranch(string name, Repository<TValue, T...
mit
C#
b8ed3510a0b5cb7ab9eabd47f6b13d39a5d12397
Handle invalid versions
campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
Core/Packages/PackageFileBase.cs
Core/Packages/PackageFileBase.cs
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Versioning; using NuGet.Frameworks; using NuGet.Packaging; namespace NuGetPe { public abstract class PackageFileBase : IPackageFile { protected PackageFileBase(string path) { Path = path; ...
using System; using System.Collections.Generic; using System.IO; using System.Runtime.Versioning; using NuGet.Frameworks; using NuGet.Packaging; namespace NuGetPe { public abstract class PackageFileBase : IPackageFile { protected PackageFileBase(string path) { Path = path; ...
mit
C#
5c5ae99a92dc8cb359ccc7d812872cae736e2137
Increment version to 0.1.3
ruskom/mvc-metadata-conventions,Haacked/mvc-metadata-conventions
ModelMetadataExtensions/Properties/AssemblyInfo.cs
ModelMetadataExtensions/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ModelMetadataExtensions")] [assembly: AssemblyDescription("Extension to Model Metadata that provide convention based resource lookup")] [assembly: AssemblyCompany("Phil Haack")] [assembly: AssemblyProduct("ModelMetadataExtensions...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ModelMetadataExtensions")] [assembly: AssemblyDescription("Extension to Model Metadata that provide convention based resource lookup")] [assembly: AssemblyCompany("Phil Haack")] [assembly: AssemblyProduct("ModelMetadataExtensions...
mit
C#
bd5729f5da33e56a78c6e31b5605f1472ba9a713
Remove commented out classes in TestObjects
Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet
Tests/WeaverTests/AssemblyToProcess/TestObjects.cs
Tests/WeaverTests/AssemblyToProcess/TestObjects.cs
using System; using Realms; namespace AssemblyToProcess { public class AllTypesObject : RealmObject { public char CharProperty { get; set; } public byte ByteProperty { get; set; } public short Int16Property { get; set; } public int Int32Property { get; set; } public lon...
using System; using Realms; namespace AssemblyToProcess { public class AllTypesObject : RealmObject { public char CharProperty { get; set; } public byte ByteProperty { get; set; } public short Int16Property { get; set; } public int Int32Property { get; set; } public lon...
apache-2.0
C#
34146843081b2606a4de37c5e9d620e81b0e63ad
Add ToJSON method
CurrencyCloud/currencycloud-net
Source/CurrencyCloud/Entity/PaymentConfirmation.cs
Source/CurrencyCloud/Entity/PaymentConfirmation.cs
using System; using Newtonsoft.Json; namespace CurrencyCloud.Entity { public class PaymentConfirmation : Entity { [JsonConstructor] public PaymentConfirmation() { } public string Id { get; set; } public string PaymentId { get; set; } public string Accoun...
using System; using Newtonsoft.Json; namespace CurrencyCloud.Entity { public class PaymentConfirmation : Entity { [JsonConstructor] public PaymentConfirmation() { } public string Id { get; set; } public string PaymentId { get; set; } public string Accoun...
mit
C#
c78d37dea78870da0721dcaabf07010dd352baa7
Fix BSClickTabAttribute
atata-framework/atata-sample-app-tests
src/Atata.SampleApp.AutoTests.Components/BS/BSClickTabAttribute.cs
src/Atata.SampleApp.AutoTests.Components/BS/BSClickTabAttribute.cs
using System; namespace Atata.SampleApp.AutoTests { public class BSClickTabAttribute : TriggerAttribute { public BSClickTabAttribute(TriggerEvents on = TriggerEvents.BeforeAnyAction, TriggerPriority priority = TriggerPriority.Medium, TriggerScope appliesTo = TriggerScope.Self) : bas...
using System; namespace Atata.SampleApp.AutoTests { public class BSClickTabAttribute : TriggerAttribute { public BSClickTabAttribute(TriggerEvents on = TriggerEvents.BeforeAnyAction, TriggerPriority priority = TriggerPriority.Medium, TriggerScope appliesTo = TriggerScope.Self) : bas...
apache-2.0
C#
2503dcdf86ceb7167766e3eff3cb15e6dab0d925
Remove unused const
ronaldme/Watcher,ronaldme/Watcher,ronaldme/Watcher
Watcher.Common/Urls.cs
Watcher.Common/Urls.cs
using System; using System.Configuration; namespace Watcher.Common { public class Urls { private const string PreFixUrl = "http://api.themoviedb.org/3/"; private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb"); /// <summary> ...
using System; using System.Configuration; namespace Watcher.Common { public class Urls { private const string PreFixUrl = "http://api.themoviedb.org/3/"; private static readonly string SuffixUrl = "?api_key=" + ConfigurationManager.AppSettings.Get("theMovieDb"); private const string Pr...
mit
C#
d8b4ba4d356b83b12ab0072730194568bc7010eb
fix typo
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Zk/Models/ZkContext.cs
Zk/Models/ZkContext.cs
using System.Data.Entity; namespace Zk.Models { public class ZkContext : DbContext, IZkContext { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="Zk.Models.ZkContext"/> class. /// </summary> public ZkContext() : base("ZkDatabaseConnection") { } #endregion ...
using System.Data.Entity; namespace Zk.Models { public class ZkContext : DbContext, IZkContext { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="Zk.ZkContext"/> class. /// </summary> public ZkContext() : base("ZkDatabaseConnection") { } #endregion #regio...
mit
C#
285b199d7d82a327bb4f5a125bc4cc87223c2b85
Make IdleTracker IHandleGlobalInput
EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ZLima12/osu,naoey/osu,peppy/osu,naoey/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,Dra...
osu.Game/Input/IdleTracker.cs
osu.Game/Input/IdleTracker.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; namespace osu.Game.Input { public cl...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; namespace osu.Game.Input { public cl...
mit
C#
a2b9dba92cce57e04a956efd1f4baa7906488373
Remove ScoreRank.F
smoogipoo/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,UselessToucan/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,smo...
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"D")] D, [Description(@"C")] C,...
// 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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"D")] F, [Description(@"D")] D,...
mit
C#
430b675eb0bc7980667b7cab013eec0a577d75cb
Remove unnecessary code from LuceneSettings (#5438)
xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Or...
src/OrchardCore.Modules/OrchardCore.Lucene/Model/LuceneSettings.cs
src/OrchardCore.Modules/OrchardCore.Lucene/Model/LuceneSettings.cs
using Lucene.Net.Util; using OrchardCore.Contents.Indexing; namespace OrchardCore.Lucene.Model { public class LuceneSettings { public static readonly string[] FullTextField = new string[] { IndexingConstants.FullTextKey }; public static string StandardAnalyzer = "standardanalyzer"; pu...
using System.Collections.Generic; using Lucene.Net.Util; using OrchardCore.Contents.Indexing; namespace OrchardCore.Lucene.Model { public class LuceneSettings { public static readonly string[] FullTextField = new string[] { IndexingConstants.FullTextKey }; public static string StandardAnalyzer...
bsd-3-clause
C#
9a588358e6b633fc37cb9fc66ca4a5c7f0720457
Improve cleanup button: add diagnostics, viewstate and mediacache folders
dsolovay/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager
src/SIM.Tool.Windows/MainWindowComponents/CleanupInstanceButton.cs
src/SIM.Tool.Windows/MainWindowComponents/CleanupInstanceButton.cs
namespace SIM.Tool.Windows.MainWindowComponents { using System.IO; using System.Linq; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; public class CleanupInstanceButton : IMainW...
namespace SIM.Tool.Windows.MainWindowComponents { using System.IO; using System.Linq; using System.Windows; using Sitecore.Diagnostics.Base; using Sitecore.Diagnostics.Base.Annotations; using SIM.Instances; using SIM.Tool.Base; using SIM.Tool.Base.Plugins; public class CleanupInstanceButton : IMainW...
mit
C#
9dc9cca9c30f7b027be3089cb5b9d8a6daa24abb
fix build
Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms
Xamarin.Forms.Xaml.UnitTests/Issues/Bz47703.xaml.cs
Xamarin.Forms.Xaml.UnitTests/Issues/Bz47703.xaml.cs
using System; using System.Globalization; using NUnit.Framework; namespace Xamarin.Forms.Xaml.UnitTests { public class Bz47703Converter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value != null) return "Label:" + value; return v...
using System; using System.Globalization; using NUnit.Framework; namespace Xamarin.Forms.Xaml.UnitTests { public class Bz47703Converter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { if (value != null) return "Label:" + value; return v...
mit
C#
eb876cecbb96fa52224e47071926f9e6ff2fe2a2
Bump version
Coding-Enthusiast/Watch-Only-Bitcoin-Wallet
WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs
WatchOnlyBitcoinWallet/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#
d72b873370db0d0c51594628a0721a96a2b7fbd9
Fix failing test
appharbor/appharbor-cli
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
src/AppHarbor.Tests/Commands/LoginAuthCommandTest.cs
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn(string username, string passwo...
using System; using System.IO; using AppHarbor.Commands; using Moq; using Ploeh.AutoFixture.Xunit; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests.Commands { public class LoginAuthCommandTest { [Theory, AutoData] public void ShouldSetAppHarborTokenIfUserIsntLoggedIn(string username, string passwo...
mit
C#
abebb2cbee450f16f0d3b54bab1b243faf288c8f
fix conditional compilation for net 5.0+ (#834)
kubernetes-client/csharp,kubernetes-client/csharp
src/KubernetesClient/Authentication/TokenFileAuth.cs
src/KubernetesClient/Authentication/TokenFileAuth.cs
using System.Net.Http.Headers; using System.IO; using System.Threading; using System.Threading.Tasks; using k8s.Autorest; namespace k8s.Authentication { public class TokenFileAuth : ITokenProvider { private string token; internal string TokenFile { get; set; } internal DateTime TokenExp...
using System.Net.Http.Headers; using System.IO; using System.Threading; using System.Threading.Tasks; using k8s.Autorest; namespace k8s.Authentication { public class TokenFileAuth : ITokenProvider { private string token; internal string TokenFile { get; set; } internal DateTime TokenExp...
apache-2.0
C#
2a4d5e13ffcd2441b8fd1018b251197b00ec4363
Return an empty list on zero length.
PenguinF/sandra-three
Sandra.UI/PgnSyntaxDescriptor.cs
Sandra.UI/PgnSyntaxDescriptor.cs
#region License /********************************************************************************* * PgnSyntaxDescriptor.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
#region License /********************************************************************************* * PgnSyntaxDescriptor.cs * * Copyright (c) 2004-2019 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Y...
apache-2.0
C#
cf3fd31887ad16f59450b7c2883cdbba29101e06
Fix warning about OperationFeeRequestBuilderTest.TestExecute
elucidsoft/dotnetcore-stellar-sdk
stellar-dotnet-sdk-test/requests/OperationFeeRequestBuilderTest.cs
stellar-dotnet-sdk-test/requests/OperationFeeRequestBuilderTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using stellar_dotnet_sdk; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace stellar_dotnet_sdk_test.requests { [TestClass] public class OperationFeeRequestBuilderTest { [TestMethod] ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using stellar_dotnet_sdk; using System; using System.Collections.Generic; using System.Text; namespace stellar_dotnet_sdk_test.requests { [TestClass] public class OperationFeeRequestBuilderTest { [TestMethod] public void TestBuilder() ...
apache-2.0
C#
c885a0ce9049f5f8af309c2a2e0c5963ca22ea52
Add form for setting balance in one step
mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection
src/Cash-Flow-Projection/Views/Home/Index.cshtml
src/Cash-Flow-Projection/Views/Home/Index.cshtml
@model Cash_Flow_Projection.Models.Dashboard @{ ViewData["Title"] = "Home Page"; } @using (Html.BeginForm("Balance", "Home", FormMethod.Post)) { @Html.AntiForgeryToken() <input type="text" id="balance" placeholder="Set Balance" /> <button type="submit">Set</button> } <table class="table table-stripe...
@model Cash_Flow_Projection.Models.Dashboard @{ ViewData["Title"] = "Home Page"; } <table class="table table-striped"> @foreach (var entry in Model.Entries.OrderBy(_ => _.Date)) { <tr> <td>@Html.DisplayFor(_ => entry.Date)</td> <td>@Html.DisplayFor(_ => entry.Description)<...
mit
C#
89412b7635175bbb32ed3ee3977ef79d12886cd1
Add Armor on Card
HearthSim/HearthDb
HearthDb/Card.cs
HearthDb/Card.cs
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
mit
C#
0b7e1e40eb91f21557dadeade32c7f0fc66e4dab
use snappy compression
hoppity/Metrics.Kafka
src/Metrics.Kafka/Metrics.Kafka/KafkaDocument.cs
src/Metrics.Kafka/Metrics.Kafka/KafkaDocument.cs
using Kafka.Basic; using Metrics.Json; namespace Metrics.Kafka { public class KafkaDocument { public JsonObject Properties { get; set; } public Message ToMessage(string contextName) { return new Message { Key = contextName, Value...
using Kafka.Basic; using Metrics.Json; namespace Metrics.Kafka { public class KafkaDocument { public JsonObject Properties { get; set; } public Message ToMessage(string contextName) { return new Message { Key = contextName, Value...
apache-2.0
C#
99015cac15aab740d918d31abc83d732a76cd416
Fix warning
AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknad...
src/Package/Test/Settings/SettingsStorageTest.cs
src/Package/Test/Settings/SettingsStorageTest.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Microsoft.UnitTests.Core.XUnit; using Microsoft.VisualStudio.R.Package.Shell; nam...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Microsoft.UnitTests.Core.XUnit; using Microsoft.VisualStudio.R.Package.Shell; nam...
mit
C#
6bcd62db5aea5d52639780a003550aa59e29a230
Update Version to 3.8.5
mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text
src/ServiceStack.Text/Properties/AssemblyInfo.cs
src/ServiceStack.Text/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
bsd-3-clause
C#
eb68c560b5468720d27f36fb5debba188bbd8403
Move variable to inner scope where it's used
substantial/mapify-example
app/Assets/Mapify/Scripts/MapifyLevelPopulator.cs
app/Assets/Mapify/Scripts/MapifyLevelPopulator.cs
using UnityEngine; using System; using System.Collections; public class MapifyLevelPopulator { private MapifyMapIterator mapIterator; private MapifyTileRepository tileRepository; private Transform container; public MapifyLevelPopulator(MapifyMapIterator mapIterator, MapifyTileRepository tileRepository, Trans...
using UnityEngine; using System; using System.Collections; public class MapifyLevelPopulator { private MapifyMapIterator mapIterator; private MapifyTileRepository tileRepository; private Transform container; public MapifyLevelPopulator(MapifyMapIterator mapIterator, MapifyTileRepository tileRepository, Trans...
mit
C#
5dfebbed51161810bb48fc0fe80f390a6746fbc2
change foregroud when value is null
degarashi0913/FAManagementStudio
FAManagementStudio/Views/Behaviors/GridHeaderDisplayNameBehavior.cs
FAManagementStudio/Views/Behaviors/GridHeaderDisplayNameBehavior.cs
using System.Data; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Interactivity; namespace FAManagementStudio.Views.Behaviors { public class GridHeaderDisplayNameBehavior : Behavior<DataGrid> { public GridHeaderDisplayNameBehavior() { } pro...
using System.Data; using System.Windows.Controls; using System.Windows.Interactivity; namespace FAManagementStudio.Views.Behaviors { public class GridHeaderDisplayNameBehavior : Behavior<DataGrid> { public GridHeaderDisplayNameBehavior() { } protected override void OnAttached() { ...
mit
C#
3b7c3376124e45891c2b1ae77bc161c629110035
Correct typo (just caught my eye, no biggie).
rasmusjp/umbraco-ditto,leekelleher/umbraco-ditto,AzarinSergey/umbraco-ditto,robertjf/umbraco-ditto
tests/Our.Umbraco.Ditto.Tests/Models/ComplexModel.cs
tests/Our.Umbraco.Ditto.Tests/Models/ComplexModel.cs
using System.Globalization; namespace Our.Umbraco.Ditto.Tests.Models { using System.ComponentModel; using Our.Umbraco.Ditto.Tests.TypeConverters; using global::Umbraco.Core.Models; public class ComplexModel { public int Id { get; set; } [DittoValueResolver(typeof(NameValueResovl...
using System.Globalization; namespace Our.Umbraco.Ditto.Tests.Models { using System.ComponentModel; using Our.Umbraco.Ditto.Tests.TypeConverters; using global::Umbraco.Core.Models; public class ComplexModel { public int Id { get; set; } [DittoValueResolver(typeof(NameVauleResovl...
mit
C#
84d8835961a72e74aab8346a95b40ba01f1b6c68
Update AGameManager.cs
Nicolas-Constanty/UnityTools
Assets/UnityTools/MonoBehaviour/AGameManager.cs
Assets/UnityTools/MonoBehaviour/AGameManager.cs
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
using System; using System.Collections.Generic; using System.Reflection; using UnityEngine; using UnityTools.DesignPatern; // ReSharper disable once CheckNamespace namespace UnityTools { public abstract class AGameManager<T, TE> : Singleton<T> where T : MonoBehaviour where TE : struct, IConvertibl...
mit
C#
c3613125a1c1681e70fa1787492f70e16da436f2
add table to ipobject
splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net
IPTables.Net/IpUtils/Utils/IpRouteController.cs
IPTables.Net/IpUtils/Utils/IpRouteController.cs
using System; using System.Collections.Generic; using SystemInteract; namespace IPTables.Net.IpUtils.Utils { public class IpRouteController : IpController { public IpRouteController(ISystemFactory system) : base("route", system) { } protected override bool IsSingle(string key)...
using System; using System.Collections.Generic; using SystemInteract; namespace IPTables.Net.IpUtils.Utils { public class IpRouteController : IpController { public IpRouteController(ISystemFactory system) : base("route", system) { } protected override bool IsSingle(string key)...
apache-2.0
C#
5d877b1be9aabf7b1b4bb6a4d0c070848e845359
Use parser for parsing
awseward/Bugsnag.NET,awseward/Bugsnag.NET
lib/Bugsnag.Common/Extensions/CommonExtensions.cs
lib/Bugsnag.Common/Extensions/CommonExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Bugsnag.Common.Extensions { public static class CommonExtensions { public static IEnumerable<Exception> Unwrap(this Exception ex) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Bugsnag.Common.Extensions { public static class CommonExtensions { public static IEnumerable<Exception> Unwrap(this Exception ex) ...
mit
C#
a9d190cd1f9c60ff06e9bbc4f88632cdd5027bec
Add retry when invoking the lazy to build TagDictionary
15below/Ensconce,BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce
src/Ensconce/TextRendering.cs
src/Ensconce/TextRendering.cs
using System; using System.Collections.Generic; using System.IO; using FifteenBelow.Deployment.Update; namespace Ensconce { internal static class TextRendering { private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5))); ...
using System; using System.Collections.Generic; using System.IO; using FifteenBelow.Deployment.Update; namespace Ensconce { internal static class TextRendering { private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(BuildTagDictionary); public static IDictionary<string,...
mit
C#
7562db4ebd4cc03c15506d617a0df7a1979c00a5
Change Pick 'position' property to int as it represents position in team
RagtimeWilly/FplClient
src/FplClient/Data/FplPick.cs
src/FplClient/Data/FplPick.cs
using Newtonsoft.Json; namespace FplClient.Data { public class FplPick { [JsonProperty("element")] public int PlayerId { get; set; } [JsonProperty("element_type")] public int ElementType { get; set; } [JsonProperty("position")] public int TeamPosition { get; s...
using Newtonsoft.Json; namespace FplClient.Data { public class FplPick { [JsonProperty("element")] public int PlayerId { get; set; } [JsonProperty("element_type")] public int ElementType { get; set; } [JsonProperty("position")] public FplPlayerPosition Positio...
mit
C#
3ca36e3cbf13cc7f45d99a5b9e281119936a5d02
Support passing extras to gravatar helper
synhershko/NSemble,synhershko/NSemble
NSemble.Modules.Blog/Helpers/BlogPostHelpers.cs
NSemble.Modules.Blog/Helpers/BlogPostHelpers.cs
using System; using System.Security.Cryptography; using System.Text; using NSemble.Modules.Blog.Models; using Nancy.ViewEngines.Razor; namespace NSemble.Modules.Blog.Helpers { public static class BlogPostHelpers { public static IHtmlString Gravatar(this PostComments.Comment comment, int size, string e...
using System; using System.Security.Cryptography; using System.Text; using NSemble.Modules.Blog.Models; using Nancy.ViewEngines.Razor; namespace NSemble.Modules.Blog.Helpers { public static class BlogPostHelpers { public static IHtmlString Gravatar(this PostComments.Comment comment, int size) ...
apache-2.0
C#
4d096fb5fc6a24d2d10869dac871316895598c7d
Allow visibility via InternalsVisibleTo
edpollitt/Nerdle.AutoConfig
Nerdle.AutoConfig/TypeGeneration/TypeEmitter.cs
Nerdle.AutoConfig/TypeGeneration/TypeEmitter.cs
using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; using System.Runtime.CompilerServices; using Nerdle.AutoConfig.Exceptions; namespace Nerdle.AutoConfig.TypeGeneration { class TypeEmitter : ITypeEmitter { public const string AssemblyName = "AutoConfig.DynamicTypes...
using System; using System.Linq; using System.Reflection; using System.Reflection.Emit; using Nerdle.AutoConfig.Exceptions; namespace Nerdle.AutoConfig.TypeGeneration { class TypeEmitter : ITypeEmitter { public const string AssemblyName = "AutoConfig.DynamicTypes"; //public Type GenerateInter...
mit
C#
40c61a4c63dead02966851b4461ee799afef7408
update setting
Fires1/DestinySharp
DestinySharp.Console/DestinySharpProgram.cs
DestinySharp.Console/DestinySharpProgram.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DestinySharp.Core; namespace DestinySharp.Console { class DestinySharpProgram { private static readonly string Fullmetalfireflyapikey = ""; private static DestinyServiceExp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DestinySharp.Core; namespace DestinySharp.Console { class DestinySharpProgram { private static readonly string Fullmetalfireflyapikey = "5e7d9ff231914e179c83dc778d4cdeaa"; ...
mit
C#
f5a4976f2813d9b6ca1a547c90db4469075853d2
Set version 0.8.3
jaenyph/DelegateDecompiler,hazzik/DelegateDecompiler,morgen2009/DelegateDecompiler
src/DelegateDecompiler/Properties/AssemblyInfo.cs
src/DelegateDecompiler/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
3e48ca8d241b0c87bd38a192e8bb37fd3fc0a383
Add line breaks to ease filtering by individual game
feliwir/openSage,feliwir/openSage
src/OpenSage.Game.Tests/InstalledFilesTestData.cs
src/OpenSage.Game.Tests/InstalledFilesTestData.cs
using System; using System.IO; using System.Linq; using Xunit.Abstractions; namespace OpenSage.Data.Tests { internal static class InstalledFilesTestData { private static readonly IInstallationLocator Locator; static InstalledFilesTestData() { Locator = new RegistryInstalla...
using System; using System.IO; using System.Linq; using Xunit.Abstractions; namespace OpenSage.Data.Tests { internal static class InstalledFilesTestData { private static readonly IInstallationLocator Locator; static InstalledFilesTestData() { Locator = new RegistryInstalla...
mit
C#
0082640548d3e6cab5cdfbfe0ed2cb442511ccda
Add missing licence header
johnneijzen/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,Damnae/osu,NeoAdonis/osu,DrabWeb/osu,ppy/osu,NeoAdonis/osu,naoey/osu,smoogipooo/osu,ZLima12/osu,peppy/osu-new,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,naoey/osu,Nabile-Rahmani/osu,peppy/osu,ppy/osu,smoogipoo/osu,Fro...
osu.Game/Overlays/Toolbar/ToolbarDirectButton.cs
osu.Game/Overlays/Toolbar/ToolbarDirectButton.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Overlays.Toolbar { internal class ToolbarDirectButton : ToolbarOverlayToggleButt...
using osu.Framework.Allocation; using osu.Game.Graphics; namespace osu.Game.Overlays.Toolbar { internal class ToolbarDirectButton : ToolbarOverlayToggleButton { public ToolbarDirectButton() { SetIcon(FontAwesome.fa_download); } [BackgroundDependencyLoade...
mit
C#
5b446953ca03201de52d9db624bd197557ae527b
Disable warnings
skwasjer/SilentHunter
src/SilentHunter.FileFormats/Dat/AnimationType.cs
src/SilentHunter.FileFormats/Dat/AnimationType.cs
namespace SilentHunter.FileFormats.Dat { /// <summary> /// The animation types for which the are specific controllers. /// </summary> public enum AnimationType : ushort { #pragma warning disable 1591 AnimationObject = 0, // No count field PositionKeyFrames = 1, PositionKeyFrames2 = 0x8001, RotationKeyFram...
namespace SilentHunter.FileFormats.Dat { public enum AnimationType : ushort { AnimationObject = 0, // No count field PositionKeyFrames = 1, PositionKeyFrames2 = 0x8001, RotationKeyFrames = 2, RotationKeyFrames2 = 0x8002, KeyFrameAnimStartParams = 4, // No count field KeyFrameAnimStartParams2 = 0x8004, ...
apache-2.0
C#
63318b63143f2e44db2c1d174a9dde9957afedd8
Remove unused class attributes
xavierfoucrier/gmail-notifier,xavierfoucrier/gmail-notifier
code/Core.cs
code/Core.cs
using System; using System.Diagnostics; using System.IO; using System.Windows.Forms; using notifier.Properties; namespace notifier { static class Core { #region #attributes #endregion #region #methods /// <summary> /// Class constructor /// </summary> static Core() { // initialize the applicatio...
using System; using System.Diagnostics; using System.IO; using System.Windows.Forms; using notifier.Properties; namespace notifier { static class Core { #region #attributes /// <summary> /// Major version number /// </summary> private static readonly string VersionMajor = ""; /// <summary> /// Minor ...
mit
C#
04f2872de8f689ffbc57a94a7566250944546f45
Fix formatting
vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary
CSGL.Vulkan/VkShaderModule.cs
CSGL.Vulkan/VkShaderModule.cs
using System; using System.Collections.Generic; using System.IO; namespace CSGL.Vulkan { public class VkShaderModuleCreateInfo { public IList<byte> data; } public class VkShaderModule : IDisposable, INative<Unmanaged.VkShaderModule> { Unmanaged.VkShaderModule shaderModule; bool di...
using System; using System.Collections.Generic; using System.IO; namespace CSGL.Vulkan { public class VkShaderModuleCreateInfo { public IList<byte> data; } public class VkShaderModule : IDisposable, INative<Unmanaged.VkShaderModule> { Unmanaged.VkShaderModule shaderModule; bool di...
mit
C#
c516357d995a0e9629a90a32132a32350dc09cc0
Disable soundtrack extract text
villermen/runescape-cache-tools,villermen/runescape-cache-tools
RuneScapeCacheToolsTests/SoundtrackTests.cs
RuneScapeCacheToolsTests/SoundtrackTests.cs
using System; using System.IO; using System.Linq; using RuneScapeCacheToolsTests.Fixtures; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { [Collection("TestCache")] public class SoundtrackTests { private ITestOutputHelper Output { get; } private CacheFixture Fi...
using System; using System.IO; using System.Linq; using RuneScapeCacheToolsTests.Fixtures; using Xunit; using Xunit.Abstractions; namespace RuneScapeCacheToolsTests { [Collection("TestCache")] public class SoundtrackTests { private ITestOutputHelper Output { get; } private CacheFixture Fi...
mit
C#
d057fa9b7681fb852a6806054aed66fab6314a1e
Remove duplication of '10'.
alastairs/tdd-by-example
part-1/MultiCurrencyMoney/MultiCurrencyMoney/Dollar.cs
part-1/MultiCurrencyMoney/MultiCurrencyMoney/Dollar.cs
namespace MultiCurrencyMoney { public class Dollar { public Dollar(int i) { } public int Amount { get; set; } public void Times(int i) { Amount = 5 * 2; } } }
namespace MultiCurrencyMoney { public class Dollar { public Dollar(int i) { } public int Amount { get { return 10; } } public void Times(int i) { } } }
unlicense
C#
bd533eec03e5fab7de49c828c43aa2649623f5ca
Fix first Mono/RPi failure (skip the test).
zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,zaccharles/nodatime,nodatime/nodatime,nodatime/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime
src/NodaTime.Test/TimeZones/BclDateTimeZoneSourceTest.cs
src/NodaTime.Test/TimeZones/BclDateTimeZoneSourceTest.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2012 Jon Skeet // // 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 // // h...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2012 Jon Skeet // // 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 // // h...
apache-2.0
C#
29612a03fa71918b1363a3fcb1d61cf22cdc1f4d
Replace Enumerable.Repeat call with an one-element array.
alluran/node.net,RichiCoder1/nuget-chocolatey,mrward/NuGet.V2,mrward/nuget,xoofx/NuGet,OneGet/nuget,themotleyfool/NuGet,alluran/node.net,atheken/nuget,jholovacs/NuGet,jholovacs/NuGet,jholovacs/NuGet,OneGet/nuget,jmezach/NuGet2,mono/nuget,mrward/NuGet.V2,anurse/NuGet,akrisiun/NuGet,xoofx/NuGet,xoofx/NuGet,jmezach/NuGet2...
src/VisualStudio/PackageSource/AggregatePackageSource.cs
src/VisualStudio/PackageSource/AggregatePackageSource.cs
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { public static class AggregatePackageSource { public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName); public static bool IsAggregat...
using System.Collections.Generic; using System.Linq; namespace NuGet.VisualStudio { public static class AggregatePackageSource { public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName); public static bool IsAggregat...
apache-2.0
C#
f3de9261e536d01e15811cd75d903b8f4b7386bc
Update RoslynScriptRunner.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/ScriptRunner/Roslyn/RoslynScriptRunner.cs
src/Core2D/ScriptRunner/Roslyn/RoslynScriptRunner.cs
#if !_CORERT using System; using System.Threading.Tasks; using Core2D.Editor; using Core2D.Interfaces; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; namespace Core2D.ScriptRunner.Roslyn { /// <summary> /// Roslyn C# script runner. /// </summary> public class Ros...
#if !_CORERT using System; using System.Threading.Tasks; using Core2D.Editor; using Core2D.Interfaces; using Microsoft.CodeAnalysis.CSharp.Scripting; using Microsoft.CodeAnalysis.Scripting; namespace Core2D.ScriptRunner.Roslyn { /// <summary> /// Roslyn C# script runner. /// </summary> public class Ros...
mit
C#
709672c07146adead6e2184e0753b9b06c3c51f1
Add comments to explain how to use this
mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,mavas...
src/EditorFeatures/Core/Logging/FunctionIdOptions.cs
src/EditorFeatures/Core/Logging/FunctionIdOptions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
mit
C#
7f5a5d0527d9757b40ad1ff338eb6a3d93cad701
fix constructor
isukces/isukces.UnitedValues
app/iSukces.UnitedValues/_other/Pressure.cs
app/iSukces.UnitedValues/_other/Pressure.cs
namespace iSukces.UnitedValues { public partial struct Pressure { public Pressure(decimal value, ForceUnit force, AreaUnit area) { var areaValue = new Area(1, area) .ConvertTo(AreaUnits.SquareMeter); var forceValue = new Force(value, force) ...
namespace iSukces.UnitedValues { public partial struct Pressure { public Pressure(decimal value, ForceUnit force, AreaUnit area) { var areaSqM = new Area(1, area).ConvertTo(AreaUnits.SquareMeter); Unit = PressureUnits.Pascal; Value = value / areaSqM.Value; ...
mit
C#
56a4f1a8082de6d7b784bca0f6b4d8b307c985e7
test commit
shuyunyun-flora/GameProgramming
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) { Console.WriteLine("Hello, World!"); Console.WriteLine(); Co...
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) { Console.WriteLine("Hello, World!"); Console.WriteLine(); ...
mit
C#
a12a2e426d756f50c1ba0e87691db0b53c8be2db
Add integration tests for MalUserNotFoundException being thrown.
LHCGreg/mal-api,LHCGreg/mal-api
MalApi.IntegrationTests/GetAnimeListForUserTest.cs
MalApi.IntegrationTests/GetAnimeListForUserTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using MalApi; using System.Threading.Tasks; namespace MalApi.IntegrationTests { [TestFixture] public class GetAnimeListForUserTest { [Test] public void GetAnimeListForUser() ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using MalApi; namespace MalApi.IntegrationTests { [TestFixture] public class GetAnimeListForUserTest { [Test] public void GetAnimeListForUser() { string username...
apache-2.0
C#
86a126d7829f526b799f82851181b4a158b6315f
Resolve conflicts
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Models/ObservableConcurrentHashSet.cs
WalletWasabi/Models/ObservableConcurrentHashSet.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T>, INotifyCollectionChanged, IObservable<T> { private ConcurrentH...
using ConcurrentCollections; using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace WalletWasabi.Models { public class ObservableConcurrentHashSet<T> : IReadOnlyCollection<T>,INotifyCollectionChanged, IObservable...
mit
C#
5408659d0e35ab7f7cdc28ab4810787b2e91ba11
Update AssemblyInfo.cs
rajfidel/appium-dotnet-driver,appium/appium-dotnet-driver,rajfidel/appium-dotnet-driver,Brillio/appium-dotnet-driver,suryarend/appium-dotnet-driver,Astro03/appium-dotnet-driver
appium-dotnet-driver/Properties/AssemblyInfo.cs
appium-dotnet-driver/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("appium-dotnet-driver")] [assembly: AssemblyDescription ("Appium Dotnet Driver")] [assembly: Asse...
apache-2.0
C#
997cdfaee42ebb67e15bc0bcbe1162c89b0bbe6c
Add missing licence header
ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,ZLima12/osu,naoey/osu,smoogipoo/osu,EVAST9919/osu,naoey/osu,ppy/osu,naoey/osu,Nabile-Rahmani/osu,peppy/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu...
osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs
osu.Game.Rulesets.Catch/Tests/TestCaseHyperdash.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] [Ignor...
using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; namespace osu.Game.Rulesets.Catch.Tests { [TestFixture] [Ignore("getting CI working")] public class TestCaseHyperdash : Game.Tests.Visual.TestCasePlayer { public TestCaseHyperdash() : ...
mit
C#
f574e0611d15ec65255a86ed585f5602a1a90ac2
Fix debug output
aNutForAJarOfTuna/kafka-net,Jroland/kafka-net,EranOfer/KafkaNetClient,CenturyLinkCloud/kafka-net,gigya/KafkaNetClient,nightkid1027/kafka-net,PKRoma/kafka-net,bridgewell/kafka-net,martijnhoekstra/kafka-net,geffzhang/kafka-net,BDeus/KafkaNetClient
src/kafka-net/Default/DefaultKafkaConnectionFactory.cs
src/kafka-net/Default/DefaultKafkaConnectionFactory.cs
using System; using System.Linq; using System.Net; using System.Net.Sockets; using KafkaNet.Model; using KafkaNet.Protocol; namespace KafkaNet { public class DefaultKafkaConnectionFactory : IKafkaConnectionFactory { public IKafkaConnection Create(Uri kafkaAddress, int responseTimeoutMs, IKafkaLog log)...
using System; using System.Linq; using System.Net; using System.Net.Sockets; using KafkaNet.Model; using KafkaNet.Protocol; namespace KafkaNet { public class DefaultKafkaConnectionFactory : IKafkaConnectionFactory { public IKafkaConnection Create(Uri kafkaAddress, int responseTimeoutMs, IKafkaLog log)...
apache-2.0
C#
561a3cdced1e30aefb429930724e37ba5e99c7c9
upgrade equeue version.
tangxuehua/equeue,tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,Aaron-Liu/equeue
src/EQueue/Properties/AssemblyInfo.cs
src/EQueue/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyPro...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
mit
C#
5b549758020cbf4de2402ba3a3deb5bc0519e324
Improve the efficiency of puzzle 12
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle012.cs
src/ProjectEuler/Puzzles/Puzzle012.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Linq; /// <summary> /// A class representing the sol...
apache-2.0
C#
1699a3178249cee656541bd3d885a30f519dec2c
Update grammar in StaticConstructorExceptionAnalyzer.cs #839
giggio/code-cracker,carloscds/code-cracker,code-cracker/code-cracker,code-cracker/code-cracker,jwooley/code-cracker,eriawan/code-cracker,carloscds/code-cracker
src/CSharp/CodeCracker/Design/StaticConstructorExceptionAnalyzer.cs
src/CSharp/CodeCracker/Design/StaticConstructorExceptionAnalyzer.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; using System.Linq; namespace CodeCracker.CSharp.Design { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class StaticCo...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; using System.Linq; namespace CodeCracker.CSharp.Design { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class StaticCo...
apache-2.0
C#
eedab747a8e778487f71de157912cea66749d4b5
Fix Authorization Behaviour
NickPolyder/FreeParkingSystem
src/Common/FreeParkingSystem.Common/Behaviors/AuthorizeBehaviour.cs
src/Common/FreeParkingSystem.Common/Behaviors/AuthorizeBehaviour.cs
using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Xml.Schema; using FreeParkingSystem.Common.Authorization; using FreeParkingSystem.Common.ExtensionMethods; using FreeParkingSystem.Common.Messages; using MediatR; namespace FreeParkingSystem.Common.Behaviors...
using System.Linq; using System.Reflection; using System.Threading; using System.Threading.Tasks; using System.Xml.Schema; using FreeParkingSystem.Common.Authorization; using FreeParkingSystem.Common.ExtensionMethods; using FreeParkingSystem.Common.Messages; using MediatR; namespace FreeParkingSystem.Common.Behaviors...
mit
C#
3636ecd6a2110324abe68c7162d2499b891251bd
Update src/OmniSharp.Abstractions/Models/v1/InlayHints/InlayHintRequest.cs
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
src/OmniSharp.Abstractions/Models/v1/InlayHints/InlayHintRequest.cs
src/OmniSharp.Abstractions/Models/v1/InlayHints/InlayHintRequest.cs
using OmniSharp.Mef; using OmniSharp.Models.V2; #nullable enable annotations namespace OmniSharp.Models.v1.InlayHints; [OmniSharpEndpoint(OmniSharpEndpoints.InlayHint, typeof(InlayHintRequest), typeof(InlayHintResponse))] public record InlayHintRequest : IRequest { public Location Location { get; set; } }
using OmniSharp.Mef; using OmniSharp.Models.V2; #nullable enable annotations namespace OmniSharp.Models.v1.InlayHints; [OmniSharpEndpoint(OmniSharpEndpoints.InlayHint, typeof(InlayHintRequest), typeof(InlayHintResponse))] public record InlayHintRequest : IRequest { public Location Location { get; set; } }
mit
C#
2fa773bfa13014cd7535cdc0182b98aa2614e8e3
Fix a bug in Generator
PerfDotNet/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,redknightlois/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,redknightlois/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/Ben...
BenchmarkDotNet/Extensions/ConfigurationExtensions.cs
BenchmarkDotNet/Extensions/ConfigurationExtensions.cs
using System; using System.Linq; using System.Reflection; using BenchmarkDotNet.Jobs; namespace BenchmarkDotNet.Extensions { internal static class ConfigurationExtensions { public static string ToConfig(this Platform platform) { switch (platform) { case ...
using System; using System.Linq; using System.Reflection; using BenchmarkDotNet.Jobs; namespace BenchmarkDotNet.Extensions { internal static class ConfigurationExtensions { public static string ToConfig(this Platform platform) { switch (platform) { case ...
mit
C#
3f500131d483b5ebbdc60fb4c905de2e754965d7
Add basic xmldoc
johnneijzen/osu,ZLima12/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,EVAST9919/osu,ppy/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,UselessToucan/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,Neo...
osu.Game/Screens/Edit/EditorWorkingBeatmap.cs
osu.Game/Screens/Edit/EditorWorkingBeatmap.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Audio.Track; using osu.Framework.Graphics.Textures; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Audio.Track; using osu.Framework.Graphics.Textures; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game...
mit
C#
a7242920231fb05cef3d987569fb6fc6b2a24fe4
Fix AME parts being rotated
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/AME/Components/AMEPartComponent.cs
Content.Server/AME/Components/AMEPartComponent.cs
using System.Linq; using System.Threading.Tasks; using Content.Server.Hands.Components; using Content.Server.Tools; using Content.Shared.Interaction; using Content.Shared.Popups; using Content.Shared.Sound; using Robust.Server.GameObjects; using Robust.Shared.Audio; using Robust.Shared.GameObjects; using Robust.Shared....
using System.Linq; using System.Threading.Tasks; using Content.Server.Hands.Components; using Content.Server.Tools; using Content.Shared.Interaction; using Content.Shared.Popups; using Content.Shared.Sound; using Robust.Server.GameObjects; using Robust.Shared.Audio; using Robust.Shared.GameObjects; using Robust.Shared....
mit
C#
034db5430974b5ee6cd7ef857a8ae9cc60f5d90a
fix refresh popup
kyoryo/test
Grabacr07.KanColleViewer/Views/MainWindow.xaml.cs
Grabacr07.KanColleViewer/Views/MainWindow.xaml.cs
using System.ComponentModel; namespace Grabacr07.KanColleViewer.Views { /// <summary> /// KanColleViewer のメイン ウィンドウを表します。 /// </summary> partial class MainWindow { public static MainWindow Current { get; private set; } public MainWindow() { InitializeComponent(); Current = this; } ...
using System.ComponentModel; namespace Grabacr07.KanColleViewer.Views { /// <summary> /// KanColleViewer のメイン ウィンドウを表します。 /// </summary> partial class MainWindow { public static MainWindow Current { get; private set; } public MainWindow() { InitializeComponent(); Current = this; } ...
mit
C#
fe38f180ec6c23cce48c5e35a26845416b6269af
Add docs for HC595 shift register
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/API/Treehopper.Libraries/IO/PortExpander/Hc595.cs
NET/API/Treehopper.Libraries/IO/PortExpander/Hc595.cs
namespace Treehopper.Libraries.IO.PortExpander { /// This class supports all standard 8-bit serial-input, parallel-output shift registers similar to the 74HC595. /// /// Once constructed, this object provides a list of Pins that can be used just as any other digital output pins. /// By default, chang...
namespace Treehopper.Libraries.IO.PortExpander { /// <summary> /// 74HC595 serial-in, parallel-out shift register. /// </summary> [Supports("Generic", "74HC595")] public class Hc595 : ShiftOut { /// <summary> /// Construct a new 74HC595-type shift register that is direct...
mit
C#
28647f02a5cf584443b1c1dd8724b6a1e618ae41
Add direction checking for translation ports
Voxelgon/Voxelgon,Voxelgon/Voxelgon
Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs
Assets/Plugins/Voxelgon/Spacecraft/ShipManager.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Voxelgon; [RequireComponent (typeof (Rigidbody))] public class ShipManager : MonoBehaviour { public float portYawCutoff = 15; //input Variables public float linAxis; public float latAxis; public float yawAxis; ...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using Voxelgon; [RequireComponent (typeof (Rigidbody))] public class ShipManager : MonoBehaviour { public float portTransCutoff = 5; //input Variables public float linAxis; public float latAxis; public float yawAxis; ...
apache-2.0
C#
e456da414533dd4a3bbafddf737f3f44188569b1
Make RemoteService a Duplex Service
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/ServiceContract/IRemoteService.cs
SPAD.Interfaces/ServiceContract/IRemoteService.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace SPAD.neXt.Interfaces.ServiceContract { public static class RemoteServiceContract { public static readonly Uri ServiceUrl = new Uri("net.pipe://local...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel; using System.Text; using System.Threading.Tasks; namespace SPAD.neXt.Interfaces.ServiceContract { public sealed class RemoteServiceResponse { public bool HasError { get; set; } public string Error { ...
mit
C#
22b215b8e80518b20208dbc1d77e2cd8f3489eb6
Update usage message
aersh/ctlg
Ctlg/Program.cs
Ctlg/Program.cs
using System; using Autofac; using Ctlg.Data.Service; using Ctlg.Db.Migrations; using Ctlg.Filesystem.Service; using Ctlg.Service; namespace Ctlg { class Program { static int Main(string[] args) { var parser = new ArgsParser(); var command = parser.Parse(args); ...
using System; using Autofac; using Ctlg.Data.Service; using Ctlg.Db.Migrations; using Ctlg.Filesystem.Service; using Ctlg.Service; namespace Ctlg { class Program { static int Main(string[] args) { var parser = new ArgsParser(); var command = parser.Parse(args); ...
mit
C#
2211b64c1d13228192b719a92dfd477d44940321
fix ReportsClient
MehdyKarimpour/extensions,AlejandroCano/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/extensions,MehdyKarimpour/extensions,signumsoftware/framework,signumsoftware/framework
Signum.Windows.Extensions/Reports/ReportClient.cs
Signum.Windows.Extensions/Reports/ReportClient.cs
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Windows.Reports; using Signum.Entities.Reports; using Signum.Services; using System.Reflection; namespace Signum.Windows.Reports { public class ReportClient { public static void Start(bool...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Windows.Reports; using Signum.Entities.Reports; using Signum.Services; using System.Reflection; namespace Signum.Windows.Reports { public class ReportClient { public static void Start(bool...
mit
C#
db3f146b54ccce81d1e95cc0e15a02d42eda70b5
Update StreamWriter tests + Explicitly iterate IEnumerable method
samcragg/Crest,samcragg/Crest,samcragg/Crest
test/Host.UnitTests/Serialization/MethodsTests.cs
test/Host.UnitTests/Serialization/MethodsTests.cs
namespace Host.UnitTests.Serialization { using System.Collections; using System.Linq; using Crest.Host.Serialization; using FluentAssertions; using Xunit; public class MethodsTests { private readonly Methods methods = new Methods(typeof(FakeSerializerBase)); public sealed ...
namespace Host.UnitTests.Serialization { using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Crest.Host.Serialization; using FluentAssertions; using Xunit; public class MethodsTests { private readon...
mit
C#
6199353b03acd3b1534a47e3a9d5377f37e843a9
use streamutil replace CopyTo
fengyhack/csharp-sdk,qiniu/csharp-sdk
QBox/Auth/DigestAuthClient.cs
QBox/Auth/DigestAuthClient.cs
using System; using System.Text; using System.Net; using System.IO; using System.Security.Cryptography; using QBox.RS; using QBox.Util; namespace QBox.Auth { public class DigestAuthClient : Client { public override void SetAuth(HttpWebRequest request, Stream body) { b...
using System; using System.Text; using System.Net; using System.IO; using System.Security.Cryptography; using QBox.RS; using QBox.Util; namespace QBox.Auth { public class DigestAuthClient : Client { public override void SetAuth(HttpWebRequest request, Stream body) { b...
mit
C#
f0f0c2ff3858087ea501725029efbee171ebd4c6
Add turn-ending functionality, game-ending functionality
makerslocal/LudumDare38
bees-in-the-trap/Assets/Scripts/GameController.cs
bees-in-the-trap/Assets/Scripts/GameController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameController : MonoBehaviour { public static int STARTING_BEES = 30; public static int STARTING_POLLEN = 100; public static int TURN_COUNT = 20; private int turn = 1; private int bees; private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class GameController : MonoBehaviour { public static int STARTING_BEES = 3; public static int STARTING_POLLEN = 10; private int bees; private int usableBees; private int pollen; public GameObject curso...
mit
C#
d6469aed58fb58abf09fbe272faed45c1db8e7ba
Remove migration code
ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,smoo...
osu.Game.Tournament/Models/TournamentProgression.cs
osu.Game.Tournament/Models/TournamentProgression.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; namespace osu.Game.Tournament.Models { /// <summary> /// A mapping between two <see cref="TournamentMatch"/>es. /// Used for serialisation excl...
// 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.Tournament.Models { /// <summary> /// A mapping between two <see cref="TournamentMatch"/>es. /// Used for serialisation excl...
mit
C#
f12ad802793d3f1d5471596d23cc9a3829f97485
Add "HDR=YES" in connection string, but other error is thrown
Iliev88/QA-Automation
DesignPattern/Models/AccessExcelData.cs
DesignPattern/Models/AccessExcelData.cs
using Dapper; using SeleniumDesignPatternsDemo.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Data.OleDb; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesignPattern.Models { public class AccessExcelData { public static ...
using Dapper; using SeleniumDesignPatternsDemo.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Data.OleDb; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesignPattern.Models { public class AccessExcelData { public static ...
mit
C#
d3cac9bcf82192edf724a5e2c279b05553e7da09
check if badge exist before insert
Riges/simpleQRCodeSystem
SimpleQRCodeSystem/Repositories/BadgeRepository.cs
SimpleQRCodeSystem/Repositories/BadgeRepository.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using NodaTime; using SimpleQRCodeSystem.Models; namespace SimpleQRCodeSystem.Repositories { internal class BadgeRepository : IBadgeRepository { private readonly string _databasePath = "Database....
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Newtonsoft.Json; using NodaTime; using SimpleQRCodeSystem.Models; namespace SimpleQRCodeSystem.Repositories { internal class BadgeRepository : IBadgeRepository { private readonly string _databasePath = "Database....
mit
C#
6481375199354c8f2cb3e5eea0ee7ff44bf2fcea
Update ExchangeRate.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ForeignExchange/ExchangeRate.cs
TIKSN.Core/Finance/ForeignExchange/ExchangeRate.cs
using System; namespace TIKSN.Finance.ForeignExchange { public class ExchangeRate : IEquatable<ExchangeRate> { public ExchangeRate(CurrencyPair pair, DateTimeOffset asOn, decimal rate) { if (pair == null) { throw new ArgumentNullException(nameof(pair)); ...
using System; namespace TIKSN.Finance.ForeignExchange { public class ExchangeRate : IEquatable<ExchangeRate> { public ExchangeRate(CurrencyPair pair, DateTimeOffset asOn, decimal rate) { if (pair == null) throw new ArgumentNullException(nameof(pair)); i...
mit
C#
4c995b1ad38e0c62e40466713d2f04caabfa01af
Fix layout size calculation issue
sevoku/xwt,steffenWi/xwt,iainx/xwt,residuum/xwt,TheBrainTech/xwt,directhex/xwt,mono/xwt,cra0zy/xwt,antmicro/xwt,hwthomas/xwt,mminns/xwt,mminns/xwt,lytico/xwt,hamekoz/xwt,akrisiun/xwt
Xwt.Gtk/Xwt.GtkBackend/TextLayoutBackendHandler.cs
Xwt.Gtk/Xwt.GtkBackend/TextLayoutBackendHandler.cs
// // TextLayoutBackendHandler.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software with...
// // TextLayoutBackendHandler.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software with...
mit
C#
d4b1dc41fc1cd629fa46fccde51b06500419311e
remove unnecessary ToDo tag
concordion/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net,concordion/concordion-net,ShaKaRee/concordion-net
Concordion/Internal/ClassNameBasedSpecificationLocator.cs
Concordion/Internal/ClassNameBasedSpecificationLocator.cs
// Copyright 2009 Jeffrey Cameron // // 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 ag...
// Copyright 2009 Jeffrey Cameron // // 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 ag...
apache-2.0
C#
d2cfec8756fccc9f48dfdc3840b6ef5ee8a03e4c
Rename variable
ishu3101/Wox.Plugin.ChangeCase
Wox.Plugin.ChangeCase/Main.cs
Wox.Plugin.ChangeCase/Main.cs
using System.Windows.Forms; using System.Collections.Generic; namespace Wox.Plugin.ChangeCase { public class Main : IPlugin { public void Init(PluginInitContext context) { } public List<Result> Query(Query query) { List<Result> results = new List<Result>(); var ...
using System.Windows.Forms; using System.Collections.Generic; namespace Wox.Plugin.ChangeCase { public class Main : IPlugin { public void Init(PluginInitContext context) { } public List<Result> Query(Query query) { List<Result> results = new List<Result>(); var ...
mit
C#
7dd36a58d1603890db63dc8b64b42fa93d9e25c6
Fix voting functionality
Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife
PhotoLife/PhotoLife.Web/Controllers/VoteController.cs
PhotoLife/PhotoLife.Web/Controllers/VoteController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using PhotoLife.Authentication.Providers; using PhotoLife.Services.Contracts; namespace PhotoLife.Controllers { public class VoteController : Controller { private readonly IVotingService voteServ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using PhotoLife.Authentication.Providers; using PhotoLife.Services.Contracts; namespace PhotoLife.Controllers { public class VoteController : Controller { private readonly IVotingService voteServ...
mit
C#
c9b9bbbd4c887bc82d9a28fec07847dc7ab991d7
Bump version to 0.20
github-for-unity/Unity,github-for-unity/Unity,mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
98791f3a1f8ad5c4e360512fe29dea128892876f
Add more GuildLevelPermissions.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Models/PagePermission.cs
MitternachtWeb/Models/PagePermission.cs
using Discord; using System; namespace MitternachtWeb.Models { [Flags] public enum BotLevelPermission { None = 0b_0000_0000, ReadBotConfig = 0b_0000_0001, WriteBotConfig = 0b_0000_0011, ReadAllGuildConfigs = 0b_0000_0100, WriteAllGuildConfigs = 0b_0000_1100, ReadAllModeratio...
using Discord; using System; namespace MitternachtWeb.Models { [Flags] public enum BotLevelPermission { None = 0b_0000_0000, ReadBotConfig = 0b_0000_0001, WriteBotConfig = 0b_0000_0011, ReadAllGuildConfigs = 0b_0000_0100, WriteAllGuildConfigs = 0b_0000_1100, ReadAllModeratio...
mit
C#
f265afc2f6ca5140dbc7e9b4c79777fbe3156189
Add more information to failed Hooks
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
Pathfinder/Internal/Patcher/Executor.cs
Pathfinder/Internal/Patcher/Executor.cs
using System; using Mono.Cecil; using Mono.Cecil.Inject; using Pathfinder.Attribute; using Pathfinder.Util; namespace Pathfinder.Internal.Patcher { internal static class Executor { internal static void Main(AssemblyDefinition gameAssembly) { // Retrieve the hook methods ...
using System; using Mono.Cecil; using Mono.Cecil.Inject; using Pathfinder.Attribute; using Pathfinder.Util; namespace Pathfinder.Internal.Patcher { internal static class Executor { internal static void Main(AssemblyDefinition gameAssembly) { // Retrieve the hook methods ...
mit
C#
ee22db6014b0ef59303621209f6241b8b877d481
include System.Globalization
sqlkata/querybuilder
QueryBuilder.Tests/ParameterTypeTest.cs
QueryBuilder.Tests/ParameterTypeTest.cs
using System; using System.Collections.Generic; using System.Globalization; using SqlKata.Execution; using SqlKata; using SqlKata.Compilers; using Xunit; using System.Collections; public enum EnumExample { First, Second, Third, } public class ParameterTypeTest { private readonly Compiler pgsql; pr...
using System; using System.Collections.Generic; using SqlKata.Execution; using SqlKata; using SqlKata.Compilers; using Xunit; using System.Collections; public enum EnumExample { First, Second, Third, } public class ParameterTypeTest { private readonly Compiler pgsql; private readonly MySqlCompiler...
mit
C#
2cd2b56a634923a9fa19e3c65c36d6c8fa3f279f
Update Aluno_Context.cs
mamprin/Escola_Cadastro_de_Alunos,mamprin/Escola_Cadastro_de_Alunos,mamprin/Escola_Cadastro_de_Alunos
Cadastro_Alunos/Cadastro_Alunos/Models/Aluno_Context.cs
Cadastro_Alunos/Cadastro_Alunos/Models/Aluno_Context.cs
 using System.Data.Entity; namespace Cadastro_Alunos.Models { public class Aluno_Context : DbContext { public Aluno_Context() : base("Cadastro_Escola") { } public DbSet<Alunos> alunos { get; set; } } }
 using System.Data.Entity; namespace Cadastro_Alunos.Models { public class Aluno_Context : DbContext { public Aluno_Context() : base("Escola") { } public DbSet<Alunos> alunos { get; set; } } }
mit
C#
8b32fafa6bc9ff7a6d4cda294317ac1d487343ae
Make AliasMatcher#GetMatchedType virtual
appharbor/appharbor-cli
src/AppHarbor/AliasMatcher.cs
src/AppHarbor/AliasMatcher.cs
using System; using System.Linq; using System.Collections.Generic; namespace AppHarbor { public class AliasMatcher : IAliasMatcher { private readonly IEnumerable<Type> _candidateTypes; public AliasMatcher(IEnumerable<Type> candidateTypes) { if (candidateTypes.Any(x => !x.GetCustomAttributes(true).OfType<C...
using System; using System.Linq; using System.Collections.Generic; namespace AppHarbor { public class AliasMatcher : IAliasMatcher { private readonly IEnumerable<Type> _candidateTypes; public AliasMatcher(IEnumerable<Type> candidateTypes) { if (candidateTypes.Any(x => !x.GetCustomAttributes(true).OfType<C...
mit
C#
7f3fe7b9d4fe32c9d2086c9e374cfd9b0a4c79a0
Make GPodBase implement IDisposable for better .NET-like bindings
hyperair/libgpod,neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,neuschaefer/libgpod,neuschaefer/libgpod,hyperair/libgpod,neuschaefer/libgpod,hyperair/libgpod,hyperair/libgpod
bindings/mono/libgpod-sharp/GPodBase.cs
bindings/mono/libgpod-sharp/GPodBase.cs
/* * Copyright (c) 2010 Nathaniel McCallum <nathaniel@natemccallum.com> * * The code contained in this file is free software; you can redistribute * it and/or modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either version * 2.1 of the License, or...
/* * Copyright (c) 2010 Nathaniel McCallum <nathaniel@natemccallum.com> * * The code contained in this file is free software; you can redistribute * it and/or modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either version * 2.1 of the License, or...
lgpl-2.1
C#
8c55f17a1fa7a9b5f52d3ba5fc00c2040b60ca40
Add Active property to Effect Improve INotifyPropertyChanged implementation
batstyx/Shamanic
Shamanic/Effect.cs
Shamanic/Effect.cs
using Hearthstone_Deck_Tracker.Annotations; using Hearthstone_Deck_Tracker.Utility.Logging; using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Shamanic { public class Effect : INotifyPropertyChanged { public string Name { get; ...
using Hearthstone_Deck_Tracker.Annotations; using Hearthstone_Deck_Tracker.Hearthstone; using System; using System.ComponentModel; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Shamanic { public class Effect : INotifyPropertyChanged { public string Name { get; } pu...
mit
C#
416719422eddbc4367e58e97e48cb2140693ded5
Fix json serialization when the destination type is equal to the value type (fixes net40 for boolean conversions)
PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1
Source/Eto.Serialization.Json/TypeConverterConverter.cs
Source/Eto.Serialization.Json/TypeConverterConverter.cs
using System; using Newtonsoft.Json; using System.Reflection; using System.Collections.Generic; using System.ComponentModel; namespace Eto.Serialization.Json { public class TypeConverterConverter : JsonConverter { readonly Dictionary<Type, TypeConverter> converters = new Dictionary<Type, TypeConverter>(); publ...
using System; using Newtonsoft.Json; using System.Reflection; using System.Collections.Generic; using System.ComponentModel; namespace Eto.Serialization.Json { public class TypeConverterConverter : JsonConverter { readonly Dictionary<Type, TypeConverter> converters = new Dictionary<Type, TypeConverter>(); publ...
bsd-3-clause
C#
45f5a1e9358de403434be9c5d9a6e7b6e139dd36
Fix null ExitTile
urbanyeti/sbad-floorplan-service
Map/DoorTile.cs
Map/DoorTile.cs
using System; using System.Collections.Generic; using System.Text; namespace SBad.Map { public class DoorTile : FloorTile { public DoorTile(int x, int y, ITile exitTile = null, int? cost = null, string notes = "") : base(x, y, cost, notes) { ExitTile = exitTile; } public ITile ExitTile { get; set; } ...
using System; using System.Collections.Generic; using System.Text; namespace SBad.Map { public class DoorTile : FloorTile { public DoorTile(int x, int y, ITile exitTile = null, int? cost = null, string notes = "") : base(x, y, cost, notes) { ExitTile = exitTile; } public ITile ExitTile { get; set; } ...
mit
C#
50cf4f5132ca8247406b6dc92ae3e80408d67c80
Support for zhima.credit.score.brief.get method
JoyMoe/ZmopSharp
src/ZmopSharp.Score/Score.cs
src/ZmopSharp.Score/Score.cs
using System; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using ZmopSharp.Core; using ScoreConstants = ZmopSharp.Constants.Score; namespace ZmopSharp.Score { public class Score { private const string BriefGetMethod= "zhima.credit.score.brief.get"; private const string GetMethod =...
using System.Threading.Tasks; using Newtonsoft.Json.Linq; using ZmopSharp.Core; using ScoreConstants = ZmopSharp.Constants.Score; namespace ZmopSharp.Score { public class Score { private const string GetMethod = "zhima.credit.score.get"; private readonly Client _client; public Score(C...
mit
C#
a5abacd1e7e8fd33927c522f7335884ef25bee36
Change assembly watcher after notification changes
godotengine/godot,Valentactive/godot,sanikoyes/godot,Shockblast/godot,Valentactive/godot,Faless/godot,DmitriySalnikov/godot,pkowal1982/godot,ZuBsPaCe/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,akien-mga/godot,pkowal1982/godot,Faless/godot,Zylann/godot,MarianoGnu/godot,Shockblast/godot,Shockblast/godot,Bast...
modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs
modules/mono/editor/GodotTools/GodotTools/HotReloadAssemblyWatcher.cs
using Godot; using GodotTools.Internals; using static GodotTools.Internals.Globals; namespace GodotTools { public class HotReloadAssemblyWatcher : Node { private Timer watchTimer; public override void _Notification(int what) { if (what == Node.NotificationWmWindowFocusIn) ...
using Godot; using GodotTools.Internals; using static GodotTools.Internals.Globals; namespace GodotTools { public class HotReloadAssemblyWatcher : Node { private Timer watchTimer; public override void _Notification(int what) { if (what == Node.NotificationWmFocusIn) ...
mit
C#
31aeab6cc7a30297a8ae7a511b061b892c5e9d4c
fix isMatching as nullable
commercetools/commercetools-dotnet-sdk
commercetools.NET/ShippingMethods/ShippingRate.cs
commercetools.NET/ShippingMethods/ShippingRate.cs
using System; using System.Collections.Generic; using commercetools.Common; using commercetools.ShippingMethods.Tiers; using Newtonsoft.Json; namespace commercetools.ShippingMethods { /// <summary> /// ShippingRate /// </summary> /// <see href="https://dev.commercetools.com/http-api-projects-shippingM...
using System; using System.Collections.Generic; using commercetools.Common; using commercetools.ShippingMethods.Tiers; using Newtonsoft.Json; namespace commercetools.ShippingMethods { /// <summary> /// ShippingRate /// </summary> /// <see href="https://dev.commercetools.com/http-api-projects-shippingM...
mit
C#