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
675a405cdbcc7856632b7a72ae91ccd97a6154f2
Add virtual pre/post build methods.
Chaser324/unity-build,thaumazo/unity-build
Editor/Settings/BuildSettings.cs
Editor/Settings/BuildSettings.cs
using UnityEngine; using UnityEditor; namespace UnityBuild { public abstract class BuildSettings { public abstract string binName { get; } public abstract string binPath { get; } public abstract string[] scenesInBuild { get; } public abstract string[] copyToBuild { get; } public virtual void Pre...
using UnityEngine; using UnityEditor; namespace UnityBuild { public abstract class BuildSettings { public abstract string binName { get; } public abstract string binPath { get; } public abstract string[] scenesInBuild { get; } public abstract string[] copyToBuild { get; } //// The name of execut...
mit
C#
87c8a449ed6c888a55f6c0ccac405dc884fce1d0
fix max upload file size
yar229/Mail.Ru-.net-cloud-client
MailRuCloudApi/AccountInfo.cs
MailRuCloudApi/AccountInfo.cs
namespace MailRuCloudApi { public class AccountInfo { private long _fileSizeLimit; public long FileSizeLimit { get { return _fileSizeLimit <= 0 ? long.MaxValue : _fileSizeLimit; } set { _fileSizeLimit = value; } } } }
namespace MailRuCloudApi { public class AccountInfo { public long FileSizeLimit { get; set; } } }
mit
C#
11e54199bad2339570dd3213abb2b987cc35eb94
Add GLACIER storage class
carbon/Amazon
src/Amazon.S3/Models/StorageClass.cs
src/Amazon.S3/Models/StorageClass.cs
namespace Amazon.S3 { public class StorageClass { private StorageClass(string name) { Name = name; } public string Name { get; } public override string ToString() => Name; public static readonly StorageClass Standard = ...
namespace Amazon.S3 { public class StorageClass { internal StorageClass(string name) { Name = name; } public string Name { get; } public override string ToString() { return Name; } public static readonly ...
mit
C#
79612cff89f184dbe0efa2ee33bfd914471a8c59
Make Reference a struct
RogueException/Discord.Net,Joe4evr/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net
src/Discord.Net/Helpers/Reference.cs
src/Discord.Net/Helpers/Reference.cs
using System; namespace Discord { internal struct Reference<T> where T : CachedObject { private Action<T> _onCache, _onUncache; private Func<string, T> _getItem; private string _id; public string Id { get { return _id; } set { _id = value; _value = null; } } private ...
using System; namespace Discord { internal class Reference<T> where T : CachedObject { private Action<T> _onCache, _onUncache; private Func<string, T> _getItem; private string _id; public string Id { get { return _id; } set { _id = value; _value = null; } } private T...
mit
C#
ea2b79f3c1a74c7809603730c2e21031dae0d67c
Change mask variables to const values, remove from constructor
Figglewatts/LBD2OBJ
LBD2OBJLib/Types/FixedPoint.cs
LBD2OBJLib/Types/FixedPoint.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LBD2OBJLib.Types { class FixedPoint { public int IntegralPart { get; set; } public int DecimalPart { get; set; } const byte SIGN_MASK = 128; const byte INT...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LBD2OBJLib.Types { class FixedPoint { public int IntegralPart { get; set; } public int DecimalPart { get; set; } public FixedPoint(byte[] data) { if (da...
mit
C#
9e8a1cea150669e6bed23e966d5fa29a31d2b8d7
fix for AddExperience method
yungtechboy1/MiNET
src/MiNET/MiNET/ExperienceManager.cs
src/MiNET/MiNET/ExperienceManager.cs
using MiNET.Net; using MiNET.Worlds; using System; namespace MiNET { public class ExperienceManager { public Player Player { get; set; } public float ExperienceLevel { get; set; } = 0f; public float Experience { get; set; } = 0f; public ExperienceManager(Player player) { Player = player; } public ...
using MiNET.Net; using MiNET.Worlds; using System; namespace MiNET { public class ExperienceManager { public Player Player { get; set; } public float ExperienceLevel { get; set; } = 0f; public float Experience { get; set; } = 0f; public ExperienceManager(Player player) { Player = player; } public ...
mpl-2.0
C#
fd8319419f4957b6ec4088cfe31bf8515aa5e888
Add SDL support to SampleGame
peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
SampleGame.Desktop/Program.cs
SampleGame.Desktop/Program.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 osu.Framework; using osu.Framework.Platform; namespace SampleGame.Desktop { public static class Program { [STAThr...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Platform; using osu.Framework; namespace SampleGame.Desktop { public static class Program { [STAThread] public...
mit
C#
cc43e076ffbaba5161923b32df47f33e760db544
use an xmlReader and xmlWriter instead of XDocument
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/Rewriters/XmlRewriter.cs
NuCache/Rewriters/XmlRewriter.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; namespace NuCache.Rewriters { public class XmlRewriter { private readonly UriRewriter _uriRewriter; public XmlRewriter(UriRewriter uriRewriter) { _uriRewriter = u...
using System; using System.IO; using System.Linq; using System.Xml.Linq; namespace NuCache.Rewriters { public class XmlRewriter { private readonly UriRewriter _uriRewriter; public XmlRewriter(UriRewriter uriRewriter) { _uriRewriter = uriRewriter; } public virtual void Rewrite(Uri targetUri, Stream in...
lgpl-2.1
C#
d8c1479f46e4bb01131d9b2a69e8e21e8bec13e8
Add support for displaying NiceHash profitability from WhatToMine.com
nwoolls/MultiMiner,nwoolls/MultiMiner
MultiMiner.WhatToMine/Extensions/CoinInformationExtensions.cs
MultiMiner.WhatToMine/Extensions/CoinInformationExtensions.cs
using MultiMiner.CoinApi.Data; using MultiMiner.Xgminer.Data; using System; using System.Linq; namespace MultiMiner.WhatToMine.Extensions { static class CoinInformationExtensions { public static void PopulateFromJson(this CoinInformation coinInformation, Data.ApiCoinInformation apiCoinInformation) ...
using MultiMiner.CoinApi.Data; using MultiMiner.Xgminer.Data; using System; using System.Linq; namespace MultiMiner.WhatToMine.Extensions { static class CoinInformationExtensions { public static void PopulateFromJson(this CoinInformation coinInformation, Data.ApiCoinInformation apiCoinInformation) ...
mit
C#
07baeda87898657f050010d112aad60a47b37888
Hide irrelevant tabs when the Writing System is a voice one.
ermshiperete/libpalaso,glasseyes/libpalaso,andrew-polk/libpalaso,ddaspit/libpalaso,JohnThomson/libpalaso,JohnThomson/libpalaso,darcywong00/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,darcywong00/libpalaso,gtryus/libpalaso,mccarthyrb/libpalaso,glassey...
PalasoUIWindowsForms/WritingSystems/WSPropertiesTabControl.cs
PalasoUIWindowsForms/WritingSystems/WSPropertiesTabControl.cs
using System; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.WritingSystems { public partial class WSPropertiesTabControl : UserControl { private WritingSystemSetupModel _model; public WSPropertiesTabControl() { InitializeComponent(); } public void BindToModel(WritingSystemSetupModel mod...
using System.Windows.Forms; namespace Palaso.UI.WindowsForms.WritingSystems { public partial class WSPropertiesTabControl : UserControl { private WritingSystemSetupModel _model; public WSPropertiesTabControl() { InitializeComponent(); } public void BindToModel(WritingSystemSetupModel model) { _mo...
mit
C#
bc72532c5ec9c747caa42bd236bc8d80a6d6694f
Refactor Multiply Integers Operation to use GetValues and CloneWithValues
ajlopez/TensorSharp
Src/TensorSharp/Operations/MultiplyIntegerIntegerOperation.cs
Src/TensorSharp/Operations/MultiplyIntegerIntegerOperation.cs
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MultiplyIntegerIntegerOperation : IBinaryOperation<int, int, int> { public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2) ...
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class MultiplyIntegerIntegerOperation : IBinaryOperation<int, int, int> { public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2) ...
mit
C#
dcdb662b497af5c796e37152307202f70fd2f419
Change Statement constructors
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
using NBitcoin.Secp256k1; using System.Collections.Generic; using System.Linq; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation { public class Statement { public Statement(GroupElement publicPoint, IEnumerable<GroupElement> generators) : th...
using NBitcoin.Secp256k1; using System.Collections.Generic; using System.Linq; using WalletWasabi.Crypto.Groups; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation { public class Statement { public Statement(GroupElement[,] equations) { var terms = equations.GetLength(1); ...
mit
C#
8a4db8460de6e49bb4cb6ef29c18c04690d1d982
rename type parameters to make them more explicit
Recognos/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,mnadel/Metrics.NET,ntent-ad/Metrics.NET,huoxu...
Src/Metrics/Meta/MetricMeta.cs
Src/Metrics/Meta/MetricMeta.cs
 namespace Metrics.Meta { public abstract class MetricMeta<TMetric, TMetricValue> where TMetric : Metric<TMetricValue> where TMetricValue : struct { private readonly TMetric metric; protected MetricMeta(string name, TMetric metric, Unit unit) { this.metric =...
 namespace Metrics.Meta { public abstract class MetricMeta<T, V> where T : Metric<V> where V : struct { private readonly T metric; protected MetricMeta(string name, T metric, Unit unit) { this.metric = metric; this.Name = name; this.U...
apache-2.0
C#
585cded973c0d4db57a1d0adcecb7f9d694a8fda
Remove sending big data test.
shiftkey/SignalR,shiftkey/SignalR
SignalR.Tests/ConnectionFacts.cs
SignalR.Tests/ConnectionFacts.cs
using System; using System.Linq; using System.Threading; using Moq; using SignalR.Client.Transports; using SignalR.Hosting.Memory; using Xunit; namespace SignalR.Client.Tests { public class ConnectionFacts { public class Start { [Fact] public void FailsIfProtocolVersion...
using System; using System.Linq; using System.Threading; using Moq; using SignalR.Client.Transports; using SignalR.Hosting.Memory; using Xunit; namespace SignalR.Client.Tests { public class ConnectionFacts { public class Start { [Fact] public void FailsIfProtocolVersion...
mit
C#
c8b71ecdbc8ad0e1ea6d90a0b660ce7a9a429931
Add a help function
wrightg42/todo-list,It423/todo-list
Todo-List/Todo-List/Program.cs
Todo-List/Todo-List/Program.cs
// Program.cs // <copyright file="Program.cs"> This code is protected under the MIT License. </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Todo_List { /// <summary> /// An application entry point for a console-based h...
// Program.cs // <copyright file="Program.cs"> This code is protected under the MIT License. </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Todo_List { /// <summary> /// An application entry point for a console-based h...
mit
C#
8118aba6a2c9befd85b36da4d9f6be7c4df96aa9
Update Track tests to use carrier and tracking number constants
goshippo/shippo-csharp-client
ShippoTesting/TrackTest.cs
ShippoTesting/TrackTest.cs
using System; using System.Collections; using System.Collections.Generic; using NUnit.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Shippo; namespace ShippoTesting { [TestFixture ()] public class TrackTest : ShippoTest { private static readonly String TRACKING_NO = "92055901...
using System; using System.Collections; using System.Collections.Generic; using NUnit.Framework; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Shippo; namespace ShippoTesting { [TestFixture ()] public class TrackTest : ShippoTest { private const String TRACKING_NO = "920559016491733753...
apache-2.0
C#
57824b68472de45e7276ab1151152596d76c4e28
Update IUserMessage.cs
LassieME/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Core/Entities/Messages/IUserMessage.cs
src/Discord.Net.Core/Entities/Messages/IUserMessage.cs
using Discord.API.Rest; using System; using System.Threading.Tasks; namespace Discord { public interface IUserMessage : IMessage { /// <summary> Modifies this message. </summary> Task ModifyAsync(Action<ModifyMessageParams> func, RequestOptions options = null); /// <summary> Adds this ...
using Discord.API.Rest; using System; using System.Threading.Tasks; namespace Discord { public interface IUserMessage : IMessage, IDeletable { /// <summary> Modifies this message. </summary> Task ModifyAsync(Action<ModifyMessageParams> func, RequestOptions options = null); /// <summary...
mit
C#
b3b08e1130a6ef444a63d76b59e5a83b95c98daf
Fix return value
nikeee/HolzShots
src/HolzShots.Core/Composition/PluginUploaderSource.cs
src/HolzShots.Core/Composition/PluginUploaderSource.cs
using HolzShots.Net; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace HolzShots.Composition { public class PluginUploaderSource : PluginManager<Uploader>, IUploaderSource { public PluginUploaderSource(string pluginDirectory) : base(plug...
using HolzShots.Net; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace HolzShots.Composition { public class PluginUploaderSource : PluginManager<Uploader>, IUploaderSource { public PluginUploaderSource(string pluginDirectory) : base(plug...
agpl-3.0
C#
3fa153c94c729bf4a8231f36957658dde0ce7afe
Remove commented code and unused usings
JasperFx/jasper,JasperFx/jasper,JasperFx/jasper
src/Jasper.ConfluentKafka/Internal/KafkaTopicRouter.cs
src/Jasper.ConfluentKafka/Internal/KafkaTopicRouter.cs
using System; using Baseline; using Jasper.Configuration; using Jasper.Runtime.Routing; namespace Jasper.ConfluentKafka.Internal { public class KafkaTopicRouter : TopicRouter<KafkaSubscriberConfiguration> { public override Uri BuildUriForTopic(string topicName) { var endpoint = new ...
using System; using System.Collections.Generic; using Baseline; using Confluent.Kafka; using Jasper.Configuration; using Jasper.Runtime.Routing; namespace Jasper.ConfluentKafka.Internal { public class KafkaTopicRouter : TopicRouter<KafkaSubscriberConfiguration> { //Dictionary<Uri, ProducerConfig> produ...
mit
C#
de512f78b32927a06227240ddeabcf7760b85fbf
update document link
Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport
src/lib/Microsoft.Fx.Portability/DocumentationLinks.cs
src/lib/Microsoft.Fx.Portability/DocumentationLinks.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Fx.Portability { public static class DocumentationLinks { public static readonly Uri PrivacyPolicy = new Uri("https:...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; namespace Microsoft.Fx.Portability { public static class DocumentationLinks { public static readonly Uri PrivacyPolicy = new Uri("https:...
mit
C#
429016ac43223e76a7971075a6f0df9684dd3530
Fix circular dependency
agc93/Cake.BuildSystems.Module,agc93/Cake.BuildSystems.Module
src/Cake.TFBuild.Module/TFBuildLog.cs
src/Cake.TFBuild.Module/TFBuildLog.cs
using System; using System.Reflection; using Cake.Common.Build; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Diagnostics; namespace Cake.TFBuild.Module { public class TFBuildLog : ICakeLog { public TFBuildLog(IConsole console, Verbosity verbosity = Verbosity.Normal) { _...
using System; using System.Reflection; using Cake.Common.Build; using Cake.Core; using Cake.Core.Diagnostics; using Cake.Diagnostics; namespace Cake.TFBuild.Module { public class TFBuildLog : ICakeLog { public TFBuildLog(IConsole console, ICakeContext context, Verbosity verbosity = Verbosity.Normal) ...
mit
C#
e03212134d8f0886b8ecc436029037f5e278495a
use id + key in http auth
x4d3/maestrano-dotnet,maestrano/maestrano-dotnet,prosser/maestrano-dotnet,maestrano/maestrano-dotnet,alachaum/maestrano-dotnet,alachaum/maestrano-dotnet,x4d3/maestrano-dotnet
src/Maestrano/Api/MnoAuthenticator.cs
src/Maestrano/Api/MnoAuthenticator.cs
using System; using System.Linq; using RestSharp; using System.Net; namespace Maestrano.Api { public class MnoAuthenticator : IAuthenticator { private readonly string _apiKey; private readonly string _apiId; public MnoAuthenticator(string apiId, string apiKey) { _a...
using System; using System.Linq; using RestSharp; using System.Net; namespace Maestrano.Api { public class MnoAuthenticator : IAuthenticator { private readonly string _apiKey; public MnoAuthenticator(string apiKey) { _apiKey = apiKey; } public void Authent...
mit
C#
7888382751584c4ba933dfd517feb78d02877e68
Fix NotifyDone override in MinigameDemo
haavardlian/tdt4240
tdt4240/tdt4240/Minigames/MinigameDemo/MinigameDemo.cs
tdt4240/tdt4240/Minigames/MinigameDemo/MinigameDemo.cs
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace tdt4240.Minigames.MinigameDemo { class MinigameDemo : MiniGame { ...
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace tdt4240.Minigames.MinigameDemo { class MinigameDemo : MiniGame { ...
apache-2.0
C#
cecd990db5b223a0907e8e348b43cee6b2a105f5
fix tests
assaframan/MoviesRestForAppHarbor,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,assaframan/Mo...
tests/ServiceStack.Examples.Tests/StoreNewUserTests.cs
tests/ServiceStack.Examples.Tests/StoreNewUserTests.cs
using NUnit.Framework; using ServiceStack.Examples.ServiceInterface; using ServiceStack.Examples.ServiceModel.Operations; using ServiceStack.Examples.ServiceModel.Types; using ServiceStack.OrmLite; namespace ServiceStack.Examples.Tests { [TestFixture] public class StoreNewUserTests : TestHostBase { readonly St...
using NUnit.Framework; using ServiceStack.Examples.ServiceInterface; using ServiceStack.Examples.ServiceModel.Operations; using ServiceStack.Examples.ServiceModel.Types; using ServiceStack.OrmLite; namespace ServiceStack.Examples.Tests { [TestFixture] public class StoreNewUserTests : TestHostBase { readonly S...
bsd-3-clause
C#
19ec841d463655d386b891c96a3461eda9ee6c55
Bump version to 0.30.8
github-for-unity/Unity,github-for-unity/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#
0e976cf64d6af26eae80dd99ddf384f4069d0f4a
Add StorageLocations for Outlining and Structure-Guide options.
physhi/roslyn,a-ctor/roslyn,zooba/roslyn,genlu/roslyn,xoofx/roslyn,MichalStrehovsky/roslyn,mattscheffer/roslyn,kelltrick/roslyn,mgoertz-msft/roslyn,bbarry/roslyn,mattscheffer/roslyn,AmadeusW/roslyn,CaptainHayashi/roslyn,KirillOsenkov/roslyn,lorcanmooney/roslyn,davkean/roslyn,TyOverby/roslyn,AlekseyTs/roslyn,dotnet/rosl...
src/Features/Core/Portable/Structure/BlockStructureOptions.cs
src/Features/Core/Portable/Structure/BlockStructureOptions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Structure { internal static class BlockStructureOptions { public stat...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Structure { internal static class BlockStructureOptions { public stat...
apache-2.0
C#
433909078e6315aa9328d0313670f7ec694f68ea
Improve error message when coverage is not found
lucaslorentz/minicover,lucaslorentz/minicover,lucaslorentz/minicover
src/MiniCover/CommandLine/Options/CoverageLoadedFileOption.cs
src/MiniCover/CommandLine/Options/CoverageLoadedFileOption.cs
using System.IO; using MiniCover.Exceptions; using MiniCover.Model; using Newtonsoft.Json; namespace MiniCover.CommandLine.Options { class CoverageLoadedFileOption : CoverageFileOption { public InstrumentationResult Result { get; private set; } protected override FileInfo PrepareValue(string...
using System.IO; using MiniCover.Model; using Newtonsoft.Json; namespace MiniCover.CommandLine.Options { class CoverageLoadedFileOption : CoverageFileOption { public InstrumentationResult Result { get; private set; } protected override FileInfo PrepareValue(string value) { ...
mit
C#
e05d9184bd44952881498934122a7ec4e43405a8
Fix and fully implement paging of enqueued job ids
dersia/Hangfire.Azure.ServiceBusQueue,barclayadam/Hangfire.Azure.ServiceBusQueue,HangfireIO/Hangfire.Azure.ServiceBusQueue
HangFire.Azure.ServiceBusQueue/ServiceBusQueueMonitoringApi.cs
HangFire.Azure.ServiceBusQueue/ServiceBusQueueMonitoringApi.cs
using System; using System.Collections.Generic; using System.Linq; using Hangfire.SqlServer; namespace Hangfire.Azure.ServiceBusQueue { internal class ServiceBusQueueMonitoringApi : IPersistentJobQueueMonitoringApi { private readonly ServiceBusManager _manager; private readonly string[] _queue...
using System; using System.Collections.Generic; using System.Linq; using Hangfire.SqlServer; namespace Hangfire.Azure.ServiceBusQueue { internal class ServiceBusQueueMonitoringApi : IPersistentJobQueueMonitoringApi { private readonly ServiceBusManager _manager; private readonly string[] _queue...
mit
C#
075253940b19314d7307e72f58621c91bc548f0f
test tweak
mprzybylak/CSharpConventionTests
minefieldtests/PackagesConfigAnalyse.cs
minefieldtests/PackagesConfigAnalyse.cs
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; using System.Linq; using System.Text.RegularExpressions; namespace minefieldtests { public class PackagesConfigAnalyse { [Test] public void AllowedVersionConstraintsIsNotViolated() { var count...
using System; using System.Collections.Generic; using System.IO; using NUnit.Framework; using System.Linq; using System.Text.RegularExpressions; namespace minefieldtests { public class PackagesConfigAnalyse { [Test] public void AllowedVersionConstraintsIsNotViolated() { var count...
mit
C#
e0d10742fc455dfe50daf534fed11e22c1271a2c
Add no/unless-stopped restart policies
jterry75/Docker.DotNet,ahmetalpbalkan/Docker.DotNet,jterry75/Docker.DotNet
Docker.DotNet/Models/RestartPolicy.cs
Docker.DotNet/Models/RestartPolicy.cs
using System.Runtime.Serialization; namespace Docker.DotNet.Models { public enum RestartPolicyKind { [EnumMember(Value = "no")] No, [EnumMember(Value = "always")] Always, [EnumMember(Value = "on-failure")] OnFailure, [EnumMember(Value = "unless-stoppe...
using System.Runtime.Serialization; namespace Docker.DotNet.Models { public enum RestartPolicyKind { [EnumMember(Value = "always")] Always, [EnumMember(Value = "on-failure")] OnFailure } [DataContract] public class RestartPolicy { [DataMember(Name = "Name")] p...
apache-2.0
C#
1d00ca5f845587a3b6fbecd6edf8799854a4719c
Use ElementTheme.Default as default
zumicts/Audiotica
Windows/Audiotica.Core.Windows/Utilities/AppSettingsUtility.cs
Windows/Audiotica.Core.Windows/Utilities/AppSettingsUtility.cs
using Windows.Storage; using Windows.UI.Xaml; using Audiotica.Core.Common; using Audiotica.Core.Utilities.Interfaces; using Audiotica.Core.Windows.Helpers; namespace Audiotica.Core.Windows.Utilities { public class AppSettingsUtility : ObservableObject, IAppSettingsUtility { private readonly ISettingsUt...
using Windows.Storage; using Windows.UI.Xaml; using Audiotica.Core.Common; using Audiotica.Core.Utilities.Interfaces; using Audiotica.Core.Windows.Helpers; namespace Audiotica.Core.Windows.Utilities { public class AppSettingsUtility : ObservableObject, IAppSettingsUtility { private readonly ISettingsUt...
apache-2.0
C#
435910df6c3bbe16221a3b72bb3813f4d0913916
Add license disclaimer
dga711/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,joshvera/CefSharp,windygu/CefSharp,illfang/CefSharp,wangzheng888520/CefSharp,ITGlobal/CefSharp,rlmcneary2/CefSharp,yoder/CefSharp,rover886/CefSharp,battewr/CefSharp,rover886/CefSharp,Livit/CefSharp,illfang/CefSharp,haozhouxu/CefSharp,dga7...
CefSharp/CefFocusSource.cs
CefSharp/CefFocusSource.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { /// <summary> /// Focus Source /// </summary> public enum CefFocusSource { /// // The source is explicit navigation ...
namespace CefSharp { /// <summary> /// Focus Source /// </summary> public enum CefFocusSource { /// // The source is explicit navigation via the API (LoadURL(), etc). /// FocusSourceNavigation = 0, /// // The source is a system-generated focus event. /// FocusSourceSystem } }
bsd-3-clause
C#
f2e3ac51c7717c1613307368551ea42b9989b9c0
Disable iText AGPL Warning
hclewk/MergePDF
MergePDF/Program.cs
MergePDF/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using iTextSharp.text.log; using Nancy.Hosting.Self; namespace MergePDF { class Program { static void Main(string[] args) { CounterFactory.getInstance().SetCounter(ne...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Nancy.Hosting.Self; namespace MergePDF { class Program { static void Main(string[] args) { var uri = "http://localhost:8888"; Console.WriteLine("Sta...
agpl-3.0
C#
4eaf39d3ac0be7d9328e54450e581c2085e3b2d7
Fix namespace.
cube-soft/Cube.Core,cube-soft/Cube.Core
Libraries/Sources/CommandExtension.cs
Libraries/Sources/CommandExtension.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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....
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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-2.0
C#
a69b1636be75e094a7323a0961a45a1703a878f1
Update tests
UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,peppy/osu
osu.Game.Tests/Visual/Editing/TestSceneEditorSamplePlayback.cs
osu.Game.Tests/Visual/Editing/TestSceneEditorSamplePlayback.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.Linq; using NUnit.Framework; using osu.Framework.Graphics.Audio; using osu.Framework.Testing; using osu.Game.Rulesets; using osu.Game.Rulesets.Osu; using osu...
// 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.Linq; using NUnit.Framework; using osu.Framework.Graphics.Audio; using osu.Framework.Testing; using osu.Game.Rulesets; using osu.Game.Rulesets.Osu; using osu...
mit
C#
8f330bfdedc5644fede877a5aa2063210cdc12b5
Fix failing unit tests
afgbeveridge/Quorum,afgbeveridge/Quorum,afgbeveridge/Quorum
Quorum.Tests/BaseQuorumTestFixture.cs
Quorum.Tests/BaseQuorumTestFixture.cs
using FSM; using FluentAssertions; using Infra; using System.Threading.Tasks; namespace Quorum.Tests { public abstract class BaseQuorumTestFixture { protected IStateMachine<IExecutionContext> CreateMachine(Builder bldr) { var mc = bldr.Create(); bldr.Register<IMasterWorkAdapter, ...
using FSM; using FluentAssertions; using System.Threading.Tasks; namespace Quorum.Tests { public abstract class BaseQuorumTestFixture { protected IStateMachine<IExecutionContext> CreateMachine(Builder bldr) { var mc = bldr.Create(); bldr.Register<IMasterWorkAdapter, EmptyWorker>(...
mit
C#
e75179448af307fa478e614e2bf50d75d46bfa05
Update version
BinaryKits/ZPLUtility
ZPLUtility/Properties/AssemblyInfo.cs
ZPLUtility/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("ZPL...
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("ZPL...
mit
C#
c3402230b1fde51ae52837a27469fc57d4f0509b
Update grammar in EmptyObjectInitializerAnalyzer.cs #839
code-cracker/code-cracker,jwooley/code-cracker,eriawan/code-cracker,code-cracker/code-cracker,carloscds/code-cracker,giggio/code-cracker,carloscds/code-cracker
src/CSharp/CodeCracker/Style/EmptyObjectInitializerAnalyzer.cs
src/CSharp/CodeCracker/Style/EmptyObjectInitializerAnalyzer.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace CodeCracker.CSharp.Style { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class EmptyObjectInitializerAnalyz...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace CodeCracker.CSharp.Style { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class EmptyObjectInitializerAnalyz...
apache-2.0
C#
29931fb429e59ae00acdc5643f64d17409642a38
Update FizzBuzz.cs
michaeljwebb/Algorithm-Practice
LeetCode/FizzBuzz.cs
LeetCode/FizzBuzz.cs
//Output the string representation of numbers from 1 to n. //For multiples of three output "Fizz" //For multiples of five output "Buzz" //For multiples of both three and five output "FizzBuzz" using System; using System.Collections.Generic; using System.Linq; using System.Text; public class FizzBuzz { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; public class FizzBuzz { private static void Main(string[] args) { for (int i = 1; i < 16; i++) { if (i % 3 == 0 && i % 5 == 0) { Con...
mit
C#
51d79701ed2c0c96dbb16760f041e55626a1bd20
Fix wrong date representation
afisd/jovice,afisd/jovice
Aphysoft.Share/Extensions/DateTime.cs
Aphysoft.Share/Extensions/DateTime.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aphysoft.Share { /// <summary> /// DateTime Extensions /// </summary> public static class DateTimeExtensions { public static DateTime ConvertOffset(this DateTime value, TimeSpan offset) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Aphysoft.Share { /// <summary> /// DateTime Extensions /// </summary> public static class DateTimeExtensions { public static DateTime ConvertOffset(this DateTime value, TimeSpan offset) ...
mit
C#
8baf58aa1eb06d5811dabd33d79efaaee0070272
Fix force selector reset clipping error.
s-soltys/PoolVR
Assets/PoolVR/Scripts/FollowTarget.cs
Assets/PoolVR/Scripts/FollowTarget.cs
using System; using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; using Zenject; public class FollowTarget : MonoBehaviour { [Inject] public ForceSelector ForceSelector { get; set; } public Rigidbody targetRb; public float velocityThresh; public float moveT...
using System.Collections; using System.Collections.Generic; using UnityEngine; using Zenject; public class FollowTarget : MonoBehaviour { [Inject] public ForceSelector ForceSelector { get; set; } public Rigidbody targetRb; public float distanceToReset = 0.1f; public float velocityThresh; publ...
mit
C#
ca69034a99ef1e7f723598d80af8c99333f2bc23
Update anchor within help link (follow-up to r3671). Closes #3647.
walty8/trac,jun66j5/trac-ja,jun66j5/trac-ja,netjunki/trac-Pygit2,walty8/trac,walty8/trac,netjunki/trac-Pygit2,jun66j5/trac-ja,jun66j5/trac-ja,netjunki/trac-Pygit2,walty8/trac
templates/anydiff.cs
templates/anydiff.cs
<?cs include "header.cs"?> <div id="ctxtnav" class="nav"></div> <div id="content" class="changeset"> <div id="title"> <h1>Select Base and Target for Diff:</h1> </div> <div id="anydiff"> <form action="<?cs var:anydiff.changeset_href ?>" method="get"> <table> <tr> <th><label for="old_path">From:</...
<?cs include "header.cs"?> <div id="ctxtnav" class="nav"></div> <div id="content" class="changeset"> <div id="title"> <h1>Select Base and Target for Diff:</h1> </div> <div id="anydiff"> <form action="<?cs var:anydiff.changeset_href ?>" method="get"> <table> <tr> <th><label for="old_path">From:</...
bsd-3-clause
C#
ed363f9f8fd25eb8168f3f1acc8f60566805e6db
make datetimes optional
MiXTelematics/MiX.Integrate.Api.Client
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
mit
C#
e1f4299a57f05cb4ae333c5f6e78e00a56bc22d9
Fix login changes in WPF UI.
MonkAlex/MangaReader
MangaReader/ViewModel/LoginModel.cs
MangaReader/ViewModel/LoginModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Input; using MangaReader.Core.Account; using MangaReader.Core.Manga; using MangaReader.Core.NHibernate; using MangaReader.ViewModel.Commands.AddManga; using MangaReader.ViewModel.Primitive; namespace ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows.Input; using MangaReader.Core.Account; using MangaReader.Core.Manga; using MangaReader.ViewModel.Commands.AddManga; using MangaReader.ViewModel.Primitive; namespace MangaReader.ViewModel { public class LoginModel : Ba...
mit
C#
51fb5fec89cc2eb18809c6e6aae9d7dc130b5b85
Update Class.cs
EduSource/QuickBooks.Net
QuickBooks.Net.Data/Models/Class.cs
QuickBooks.Net.Data/Models/Class.cs
using Newtonsoft.Json; using QuickBooks.Net.Data.Models.Fields; namespace QuickBooks.Net.Data.Models { public class Class : QuickBooksBaseModelString { [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public string Name { get; set; } [JsonProperty(DefaultValueHandlin...
using Newtonsoft.Json; using QuickBooks.Net.Data.Models.Fields; namespace QuickBooks.Net.Data.Models { public class Class : QuickBooksBaseModelString { [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public string Name { get; set; } [JsonProperty(DefaultValueHandlin...
mit
C#
be326a7c4522ad4f40a612620b9c42c150ff9713
Fix typo in compiler directive
fringebits/NLog,ajayanandgit/NLog,RichiCoder1/NLog,rajk987/NLog,BrandonLegault/NLog,czema/NLog,ilya-g/NLog,vbfox/NLog,zbrad/NLog,RRUZ/NLog,kevindaub/NLog,bjornbouetsmith/NLog,zbrad/NLog,mikkelxn/NLog,thomkinson/NLog,ie-zero/NLog,AqlaSolutions/NLog-Unity3D,pwelter34/NLog,luigiberrettini/NLog,BrandonLegault/NLog,FeodorFi...
src/NLog/LayoutRenderers/AssemblyVersionLayoutRenderer.cs
src/NLog/LayoutRenderers/AssemblyVersionLayoutRenderer.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
bsd-3-clause
C#
65683d3e77cba40370f9b0e6e6cf13d0fb95e6bf
Rename the-admin to admin in Layout-Login (#9777)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2
src/OrchardCore.Themes/TheAdmin/Views/Layout-Login.cshtml
src/OrchardCore.Themes/TheAdmin/Views/Layout-Login.cshtml
@inject DarkModeService DarkModeService; @{ var darkMode = await DarkModeService.IsDarkModeAsync(); } <!DOCTYPE html> <html lang="@Orchard.CultureName()" dir="@Orchard.CultureDir()" data-theme="@DarkModeService.CurrentTheme"> <head> <title>@RenderTitleSegments(Site.SiteName, "before")</title> <meta charset=...
@inject DarkModeService DarkModeService; @{ var darkMode = await DarkModeService.IsDarkModeAsync(); } <!DOCTYPE html> <html lang="@Orchard.CultureName()" dir="@Orchard.CultureDir()" data-theme="@DarkModeService.CurrentTheme"> <head> <title>@RenderTitleSegments(Site.SiteName, "before")</title> <meta charset=...
bsd-3-clause
C#
c9a9b7e505d427b2cbea2cc6816c8b1681033407
Adjust method order
ludwigjossieaux/pickles,magicmonty/pickles,magicmonty/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pickles,dirkrombauts/pickles,magicmonty/pickles,magicmonty/pickles
src/Pickles/Pickles.TestFrameworks/NUnit2/NUnitResults.cs
src/Pickles/Pickles.TestFrameworks/NUnit2/NUnitResults.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NUnitResults.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed under the Apac...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NUnitResults.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licensed under the Apac...
apache-2.0
C#
c0847c9becda6986e34f1f5852063fb7e422cd62
Change is ready accessibility, to allow other project able to set this value
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/GameApi/LiteNetLibPlayer.cs
Scripts/GameApi/LiteNetLibPlayer.cs
using System.Collections.Generic; namespace LiteNetLibManager { public class LiteNetLibPlayer { public LiteNetLibGameManager Manager { get; protected set; } public long ConnectionId { get; protected set; } public bool IsReady { get; set; } internal readonly HashSet<LiteNetLibI...
using System.Collections; using System.Collections.Generic; using LiteNetLib; namespace LiteNetLibManager { public class LiteNetLibPlayer { public LiteNetLibGameManager Manager { get; protected set; } public long ConnectionId { get; protected set; } internal bool IsReady { get; set; }...
mit
C#
fbd2a306069b2712dce3709aa09780a4e843f181
Update 'default value' title + description of CheckBox Configuration (#8421)
KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,madsoulswe/Umbraco-CMS,madsoulswe/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,leekelleher/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-C...
src/Umbraco.Web/PropertyEditors/TrueFalseConfiguration.cs
src/Umbraco.Web/PropertyEditors/TrueFalseConfiguration.cs
using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { /// <summary> /// Represents the configuration for the boolean value editor. /// </summary> public class TrueFalseConfiguration { [ConfigurationField("default","Initial State", "boolean",Description = "The initial ...
using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { /// <summary> /// Represents the configuration for the boolean value editor. /// </summary> public class TrueFalseConfiguration { [ConfigurationField("default", "Default Value", "boolean")] public string De...
mit
C#
382214e537a5716c3d21896862b8b64e1b81b6b1
Remove profanity - don't want to alienate folk
larrynburris/Bands
examples/Bands.GettingStarted/Program.cs
examples/Bands.GettingStarted/Program.cs
using Bands.Output; using System; namespace Bands.GettingStarted { class Program { static void Main(string[] args) { Console.WriteLine("Getting started with Bands!"); var payload = new CounterPayload(); var innerConsoleBand = new ConsoleWriterBand<CounterPay...
using Bands.Output; using System; namespace Bands.GettingStarted { class Program { static void Main(string[] args) { Console.WriteLine("Getting started with Bands!"); var payload = new CounterPayload(); var innerConsoleBand = new ConsoleWriterBand<CounterPay...
mit
C#
e8c7f5da19d4bbbf2b1da524c04d778ae9c8c928
Prepare release 4.5.4 - update file version. Work Item #1920
CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork
trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs
trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs
using System; 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("Csla Generato...
using System; 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("Csla Generato...
mit
C#
f6a35c5490f1d35db4a3c22bb60ec188a3f88ac4
Support for parsing inequality operator with integral operands.
TestStack/TestStack.FluentMVCTesting
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
mit
C#
ce5f62aa6c8ee24ac1620d457b9ee7963ff84578
Fix failing test ORDRSP after change on Condition stacking behavior
indice-co/EDI.Net
test/indice.Edi.Tests/Models/EdiFact_ORDRSP_Conditions.cs
test/indice.Edi.Tests/Models/EdiFact_ORDRSP_Conditions.cs
using indice.Edi.Serialization; using System; using System.Collections.Generic; namespace indice.Edi.Tests.Models { public class Interchange_ORDRSP { public Message_ORDRSP Message { get; set; } } [EdiMessage] public class Message_ORDRSP { [EdiCondition("Z01", "Z10", Path = "...
using indice.Edi.Serialization; using System; using System.Collections.Generic; namespace indice.Edi.Tests.Models { public class Interchange_ORDRSP { public Message_ORDRSP Message { get; set; } } [EdiMessage] public class Message_ORDRSP { [EdiCondition("Z01", Path = "IMD/1/0...
mit
C#
6aeec82b39f6b0cd2c785f23d8baca752c5b9651
throw if object not loaded
HarshPoint/HarshPoint,NaseUkolyCZ/HarshPoint,the-ress/HarshPoint
HarshPoint/Extensions/ClientObjectExtensions.cs
HarshPoint/Extensions/ClientObjectExtensions.cs
using Microsoft.SharePoint.Client; using System; using System.Linq.Expressions; using System.Threading.Tasks; namespace HarshPoint { internal static class ClientObjectExtensions { public static Boolean IsNull(this ClientObject clientObject) { if (clientObject == null) {...
using Microsoft.SharePoint.Client; using System; using System.Linq.Expressions; using System.Threading.Tasks; namespace HarshPoint { internal static class ClientObjectExtensions { public static Boolean IsNull(this ClientObject clientObject) { if (clientObject == null) {...
bsd-2-clause
C#
25913023561f76043e11ff0813b2c8ece57274b5
Make ResponseExceptions constructor public CTR
apache/incubator-tinkerpop,apache/tinkerpop,krlohnes/tinkerpop,pluradj/incubator-tinkerpop,krlohnes/tinkerpop,apache/incubator-tinkerpop,apache/tinkerpop,robertdale/tinkerpop,krlohnes/tinkerpop,pluradj/incubator-tinkerpop,krlohnes/tinkerpop,robertdale/tinkerpop,apache/incubator-tinkerpop,robertdale/tinkerpop,apache/tin...
gremlin-dotnet/src/Gremlin.Net/Driver/Exceptions/ResponseException.cs
gremlin-dotnet/src/Gremlin.Net/Driver/Exceptions/ResponseException.cs
#region License /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the ...
#region License /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the ...
apache-2.0
C#
429265a8fb11b4953974f2c8aaa0d4ac33c83796
add routing
jaredthirsk/Machine,jaredthirsk/Machine,jaredthirsk/Machine
LionFire.Machine.Api/Controllers/ProcessesController.cs
LionFire.Machine.Api/Controllers/ProcessesController.cs
using LionFire.Machine.Processes.Linux; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LionFire.Machine.Api.Controllers { [Route("[controller]")] public class ProcessesController : Controller { //[HttpGet("[act...
using LionFire.Machine.Processes.Linux; using Microsoft.AspNet.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace LionFire.Machine.Api.Controllers { //[Route("machine/[controller]")] public class ProcessesController : Controller { //[Htt...
mit
C#
fdbe7f99800c0b88cac514a0bd08f5c000a47b74
reset if one player dies
Ross-Byrne/HistoryBeatDown
Assets/Scripts/CharacterStatus.cs
Assets/Scripts/CharacterStatus.cs
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class CharacterStatus : MonoBehaviour { public int LivePoints = 100; public int DamagePerHit = 10; public AudioClip hitSFX; AudioSource _audio; // Use this for initialization void Start () { _audio = GetComponent<Audio...
using UnityEngine; using System.Collections; public class CharacterStatus : MonoBehaviour { public int LivePoints = 100; public int DamagePerHit = 10; public AudioClip hitSFX; AudioSource _audio; // Use this for initialization void Start () { _audio = GetComponent<AudioSource> (); } // Update is ca...
mit
C#
fd59da011c917a007dc9e2f120a16cfd29593e60
change tramp color
spencewenski/Vision
Assets/Scripts/ProjectileTramp.cs
Assets/Scripts/ProjectileTramp.cs
using UnityEngine; using System.Collections; public class ProjectileTramp : Projectile { void Awake() { rigidBody = GetComponent<Rigidbody>(); // SET EFFECT IN YOUR AWAKE FUNCTION effect = Cube.CubeEffect_e.TRAMP; outlineColor = (Color.green + Color.black)/2; accentColor = Color.g...
using UnityEngine; using System.Collections; public class ProjectileTramp : Projectile { void Awake() { rigidBody = GetComponent<Rigidbody>(); // SET EFFECT IN YOUR AWAKE FUNCTION effect = Cube.CubeEffect_e.TRAMP; outlineColor = Color.green; accentColor = (Color.green + Color.whit...
mit
C#
c67b00eca7ca3cb42e02b5a1a5ea56ba9f4d4bb8
Verify error checking
dlidstrom/Snittlistan,dlidstrom/Snittlistan,dlidstrom/Snittlistan
Snittlistan.Test/MatchController_EditDetails.cs
Snittlistan.Test/MatchController_EditDetails.cs
using System; using System.Web.Mvc; using MvcContrib.TestHelper; using Snittlistan.Controllers; using Snittlistan.Models; using Snittlistan.ViewModels; using Xunit; namespace Snittlistan.Test { public class MatchController_EditDetails : DbTest { [Fact] public void CanEditDetails() { // Arran...
using System; using System.Web.Mvc; using MvcContrib.TestHelper; using Snittlistan.Controllers; using Snittlistan.Models; using Snittlistan.ViewModels; using Xunit; namespace Snittlistan.Test { public class MatchController_EditDetails : DbTest { [Fact] public void CanEditDetails() { // Arran...
mit
C#
8d9a36e2c2211bc13be7b1d9ed997c88a76f5ebd
return name on ToString in GenericTypeInfo
tareq-s/Typewriter,coolkev/Typewriter,johannordin/Typewriter,frhagn/Typewriter,SeriousM/Typewriter
Typewriter/CodeModel/CodeDom/GenericTypeInfo.cs
Typewriter/CodeModel/CodeDom/GenericTypeInfo.cs
using System; using System.Collections.Generic; namespace Typewriter.CodeModel.CodeDom { internal class GenericTypeInfo : Type { private readonly string fullName; private readonly object parent; private readonly FileInfo file; public GenericTypeInfo(string fullName, object par...
using System; using System.Collections.Generic; namespace Typewriter.CodeModel.CodeDom { internal class GenericTypeInfo : Type { private readonly string fullName; private readonly object parent; private readonly FileInfo file; public GenericTypeInfo(string fullName, object par...
apache-2.0
C#
ab5459ac13606c020342b88623aa913979b60a17
Format file.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Services/Database/Repositories/ILevelModelRepository.cs
src/NadekoBot/Services/Database/Repositories/ILevelModelRepository.cs
using System; using System.Linq; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories { public interface ILevelModelRepository : IRepository<LevelModel> { LevelModel GetOrCreate(ulong guildId, ulong userId); LevelModel Get(ulong guildId, ulong userId); void AddXp(ulo...
using System; using System.Linq; using Mitternacht.Services.Database.Models; namespace Mitternacht.Services.Database.Repositories { public interface ILevelModelRepository : IRepository<LevelModel> { LevelModel GetOrCreate(ulong guildId, ulong userId); LevelModel Get(ulong guildId, ulong userId...
mit
C#
92b13471b506b29341d0aef73c52d635e59a6220
Make sure that On-Premise Connector cleans up on Windows shutdown
thinktecture/relayserver,jasminsehic/relayserver,jasminsehic/relayserver,jasminsehic/relayserver,thinktecture/relayserver,thinktecture/relayserver
Thinktecture.Relay.OnPremiseConnectorService/Program.cs
Thinktecture.Relay.OnPremiseConnectorService/Program.cs
using System; using System.Diagnostics; using Serilog; using Topshelf; namespace Thinktecture.Relay.OnPremiseConnectorService { internal static class Program { private static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .ReadFrom.AppSettings() .CreateLogger(); try { Hos...
using System; using System.Diagnostics; using Serilog; using Topshelf; namespace Thinktecture.Relay.OnPremiseConnectorService { internal static class Program { private static void Main(string[] args) { Log.Logger = new LoggerConfiguration() .ReadFrom.AppSettings() .CreateLogger(); try { Hos...
bsd-3-clause
C#
d1c44e95ae1dfbe3808962e4fb2be4fe6178d25a
Check scene name before PlayerList Reset
Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necromunger/unitystation,fomalsd/unitystation,Necr...
UnityProject/Assets/Scripts/PlayGroups/PlayerManager.cs
UnityProject/Assets/Scripts/PlayGroups/PlayerManager.cs
using UnityEngine; using UnityEngine.SceneManagement; //Handles control and spawn of player prefab namespace PlayGroup { public class PlayerManager : MonoBehaviour { private static PlayerManager playerManager; public static GameObject LocalPlayer { get; private set; } public static Equipment.Equipment Equipm...
using UnityEngine; using UnityEngine.SceneManagement; //Handles control and spawn of player prefab namespace PlayGroup { public class PlayerManager : MonoBehaviour { private static PlayerManager playerManager; public static GameObject LocalPlayer { get; private set; } public static Equipment.Equipment Equipm...
agpl-3.0
C#
5f72c8ad786932aa7aad187f19183f59a0ef18f2
Fix .netcore versions
adoconnection/AspNetDeploy,adoconnection/AspNetDeploy,adoconnection/AspNetDeploy
Packagers.VisualStudioProject/DotNetCoreProjectPackager.cs
Packagers.VisualStudioProject/DotNetCoreProjectPackager.cs
using System; using System.IO; using System.Linq; using System.Xml.Linq; using Ionic.Zip; namespace Packagers.VisualStudioProject { public class DotNetCoreProjectPackager : VisualStudioProjectPackager { protected override void PackageProjectContents(ZipFile zipFile, XDocument xDocument, XNamespace vsN...
using System; using System.IO; using System.Linq; using System.Xml.Linq; using Ionic.Zip; namespace Packagers.VisualStudioProject { public class DotNetCoreProjectPackager : VisualStudioProjectPackager { protected override void PackageProjectContents(ZipFile zipFile, XDocument xDocument, XNamespace vsN...
apache-2.0
C#
878ea878713a98a1058897b5a6d50d49130cea74
Comment added
codeforgebelgrade/Diablo3-API-Library
Diablo3APIDemo/MainWindow.xaml.cs
Diablo3APIDemo/MainWindow.xaml.cs
using System.Windows; using Codeforge.Diablo3InfoClasses; using Codeforge.Diablo3Info; using Newtonsoft.Json; namespace Diablo3APIDemo { /// <summary> /// Interaction logic for MainWindow.xaml /// This project serves simply as a demo project - an example showing how to use the library /// The values u...
using System.Windows; using Codeforge.Diablo3InfoClasses; using Codeforge.Diablo3Info; using Newtonsoft.Json; namespace Diablo3APIDemo { /// <summary> /// Interaction logic for MainWindow.xaml /// This project serves simply as a demo project - an example showing how to use the library /// </summary> ...
mit
C#
2a2b4c1e3ba985759a44a22201159ae734b3db0f
Update CompositeMetricTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/CompositeMetricTelemeter.cs
TIKSN.Core/Analytics/Telemetry/CompositeMetricTelemeter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeMetricTelemeter : IMetricTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfi...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading.Tasks; using TIKSN.Configuration; namespace TIKSN.Analytics.Telemetry { public class CompositeMetricTelemeter : IMetricTelemeter { private readonly IPartialConfiguration<CommonTelemetryOptions> commonConfi...
mit
C#
6ac2130398389751ecda91bd69adf0ef5666c274
Use better terminology
smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Screens/ScreenExitEvent.cs
osu.Framework/Screens/ScreenExitEvent.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Screens { public class ScreenExitEvent : ScreenEvent { /// <summary> /// The <see cref="IScreen"/> that will be resumed ne...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Screens { public class ScreenExitEvent : ScreenEvent { /// <summary> /// The <see cref="IScreen"/> that will be resumed ne...
mit
C#
54de1ce949994cad98a77d07cd909f72b213712f
Set message id by official's highest
insthync/suriyun-unity-iap
Assets/SuriyunUnityIAP/Scripts/Network/Messages/IAPNetworkMessageId.cs
Assets/SuriyunUnityIAP/Scripts/Network/Messages/IAPNetworkMessageId.cs
using UnityEngine.Networking; namespace Suriyun.UnityIAP { public class IAPNetworkMessageId { // Developer can changes these Ids to avoid hacking while hosting public const short ToServerBuyProductMsgId = MsgType.Highest + 201; public const short ToServerRequestProducts = MsgType.Highe...
namespace Suriyun.UnityIAP { public class IAPNetworkMessageId { public const short ToServerBuyProductMsgId = 3000; public const short ToServerRequestProducts = 3001; public const short ToClientResponseProducts = 3002; } }
mit
C#
4f0bfe4b62d70b9aed73a45d52751a6bb937bfec
Add Obsolete attribute to AssetEx.Throws helper method
magoswiat/octokit.net,shana/octokit.net,shiftkey/octokit.net,octokit/octokit.net,takumikub/octokit.net,cH40z-Lord/octokit.net,eriawan/octokit.net,gdziadkiewicz/octokit.net,fake-organization/octokit.net,rlugojr/octokit.net,hahmed/octokit.net,thedillonb/octokit.net,dlsteuer/octokit.net,michaKFromParis/octokit.net,Red-Fol...
Octokit.Tests/Helpers/AssertEx.cs
Octokit.Tests/Helpers/AssertEx.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; using Xunit; namespace Octokit.Tests.Helpers { public static class AssertEx { public static void WithMessage(Action assert, string message) { // TODO: we should just :fire: this t...
using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; using Xunit; namespace Octokit.Tests.Helpers { public static class AssertEx { public static void WithMessage(Action assert, string message) { // TODO: we should just :fire: this t...
mit
C#
ff93f81f7d90bd494811acfd42016dbfdbe64bc4
Add missing using statement from merge
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/ApprenticesController.cs
src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/ApprenticesController.cs
using System; using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprovedApprentices; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprovedApprenticesFilterVa...
using System.Threading.Tasks; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprovedApprentices; using SFA.DAS.CommitmentsV2.Application.Queries.GetApprovedApprenticesFilterValues; namespa...
mit
C#
d34c609d3626d3b4722b71486b3b2727207a6057
Update ConsumeFuelEvent.cs
Notulp/Pluton,Notulp/Pluton
Pluton/Events/ConsumeFuelEvent.cs
Pluton/Events/ConsumeFuelEvent.cs
using System; namespace Pluton.Events { public class ConsumeFuelEvent : CountedInstance { private BaseOven _baseOven; private InvItem _item; private ItemModBurnable _burn; public ConsumeFuelEvent(BaseOven bo, Item fuel, ItemModBurnable burn) { this._baseOven...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Policy; using System.Text; namespace Pluton.Events { public class ConsumeFuelEvent { private BaseOven _baseOven; private InvItem _item; private ItemModBurnable _burn; public ConsumeFuelEve...
mit
C#
94a7368b49b961068635c3f37dccd716701b60db
Upgrade 02 Editing Project
JetBrains/resharper-workshop,JetBrains/resharper-workshop,JetBrains/resharper-workshop
01-Navigation/4-Contextual_navigation/4.7-Navigate_To_menu_related_files_forms.cs
01-Navigation/4-Contextual_navigation/4.7-Navigate_To_menu_related_files_forms.cs
using System.Windows.Forms; namespace JetBrains.ReSharper.Koans.Navigation { // Navigate To menu // // Displays a contextual menu of options you can use to navigate to from // your current location // // Very useful way of navigating without having to learn ALL of the shortcuts! // // ...
using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace JetBrains.ReSharper.Koans.Navigation { // Navigate To menu // // Displays a contextual menu of options you can use to navigate to from // your current location // // Very useful way of navigating with...
apache-2.0
C#
24b314b51f9c5c28be61b09fa6f56558c03c8100
Fix hold note masks not working
ZLima12/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,DrabWeb/osu,NeoAdonis/osu,NeoAdonis/osu,ZLima12/osu,naoey/osu,UselessToucan/osu,peppy/osu-new,naoey/osu,naoey/osu,DrabWeb/osu,peppy/osu,ppy/os...
osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/HoldNoteMask.cs
osu.Game.Rulesets.Mania/Edit/Layers/Selection/Overlays/HoldNoteMask.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.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects.Drawables; us...
// 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.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Objects.Drawables; us...
mit
C#
d39de969c06f189b85428194a002bd42720faa0c
test resize
lnl122/Solver2
Solver2/Solver2/Form1.Designer.cs
Solver2/Solver2/Form1.Designer.cs
namespace Solver2 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
namespace Solver2 { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
mit
C#
6a5a224c87ebef5fab31e345cae88a5de882c632
Update SimpleProoperty.cs
maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigown/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,maniero/SOpt,bigown/SOpt,maniero/SOpt,bigown/SOpt,bigo...
CSharp/Class/SimpleProoperty.cs
CSharp/Class/SimpleProoperty.cs
using System; public class Program { public static void Main() {} } public class Pessoa { public string Nome { get; set; } public string Endereço { get; set; } public int Ano_nascimento { get; set; } public int Idade { get; set; } public string Telefone { get; set; } public Pessoa(string nome, string endereço,...
using System; public class Program { public static void Main() {} } public class Pessoa { public string Nome { get; set; } public string Endereço { get; set; } public int Ano_nascimento { get; set; } public int Idade { get; set; } public string Telefone { get; set; } public Pessoa(string nome, string endereço,...
mit
C#
5dca9bf0c115eeb39a4495a4209c0027689dc158
Update IShellCommand.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/IShellCommand.cs
TIKSN.Core/Shell/IShellCommand.cs
using System.Threading; using System.Threading.Tasks; namespace TIKSN.Shell { public interface IShellCommand { Task ExecuteAsync(CancellationToken cancellationToken); } }
using System.Threading; using System.Threading.Tasks; namespace TIKSN.Shell { public interface IShellCommand { Task ExecuteAsync(CancellationToken cancellationToken); } }
mit
C#
15491c099cb667d208a603a3b1c4d4322b1087cb
implement new contract requirements: EnsureLocalDataFolder()
zmira/abremir.AllMyBricks
abremir.AllMyBricks.DatabaseFeeder/Implementations/FileSystemService.cs
abremir.AllMyBricks.DatabaseFeeder/Implementations/FileSystemService.cs
using abremir.AllMyBricks.Device.Interfaces; using System.IO; namespace abremir.AllMyBricks.DatabaseFeeder.Implementations { public class FileSystemService : IFileSystemService { public string ThumbnailCacheFolder => string.Empty; private const string DataFolder = "data"; public bool...
using abremir.AllMyBricks.Device.Interfaces; namespace abremir.AllMyBricks.DatabaseFeeder.Implementations { public class FileSystemService : IFileSystemService { public string ThumbnailCacheFolder => string.Empty; public bool ClearThumbnailCache() { return true; } ...
mit
C#
3035c33648bf504eb65e1ebe4fb9acb016eff96c
Fix credits
matteocontrini/locuspocusbot
LocusPocusBot/Handlers/HelpHandler.cs
LocusPocusBot/Handlers/HelpHandler.cs
using LocusPocusBot.Rooms; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Types.Enums; namespace LocusPocusBot.Handlers { public class HelpHandler : HandlerBase { private readonly IBotService bot; private readonly Department[] departments; publ...
using LocusPocusBot.Rooms; using System.Text; using System.Threading.Tasks; using Telegram.Bot; using Telegram.Bot.Types.Enums; namespace LocusPocusBot.Handlers { public class HelpHandler : HandlerBase { private readonly IBotService bot; private readonly Department[] departments; publ...
mit
C#
6982aae1d7a5b7c64ccf76ac012a7ee5b729950d
increase version
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Nager.Date/Properties/AssemblyInfo.cs
Nager.Date/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("Na...
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("Na...
mit
C#
61e9ee28d2264087205303b15de69d0de1068ea9
Fix bug where window instance was null on world map.
neitsa/PrepareLanding,neitsa/PrepareLanding
src/Defs/MainButtonWorkerToggleWorld.cs
src/Defs/MainButtonWorkerToggleWorld.cs
using RimWorld; using Verse; namespace PrepareLanding.Defs { /// <summary> /// This class is called from a definition file when clicking the "World" button on the bottom menu bar while playing /// (see "PrepareLanding/Defs/Misc/MainButtonDefs/MainButtons.xml"). /// </summary> public class MainBut...
using RimWorld; using Verse; namespace PrepareLanding.Defs { /// <summary> /// This class is called from a definition file when clicking the "World" button on the bottom menu bar while playing /// (see "PrepareLanding/Defs/Misc/MainButtonDefs/MainButtons.xml"). /// </summary> public class MainBut...
mit
C#
2fe1fefa338d3aac7aed6d7161dc0e2191dd52dd
Set HttpOnly to true to protect cookies
ZocDoc/ServiceStack,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,nataren/NServiceKit,timba/NServiceKit,MindTouc...
src/ServiceStack/ServiceHost/Cookies.cs
src/ServiceStack/ServiceHost/Cookies.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Net; using System.Text; using System.Web; using ServiceStack.Common.Web; namespace ServiceStack.ServiceHost { public class Cookies : ICookies { readonly IHttpResponse httpRes; private static readonly DateTime Session = Date...
using System; using System.Collections.Generic; using System.Globalization; using System.Net; using System.Text; using System.Web; using ServiceStack.Common.Web; namespace ServiceStack.ServiceHost { public class Cookies : ICookies { readonly IHttpResponse httpRes; private static readonly DateTime Session = Date...
bsd-3-clause
C#
a1915cff0120b4cf3d799f96ba8b179430b29c86
Update AntimalwareScannerPartialConfigurationValidator.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Antimalware/AntimalwareScannerPartialConfigurationValidator.cs
TIKSN.Framework.Core/Antimalware/AntimalwareScannerPartialConfigurationValidator.cs
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Security.Antimalware { public class AntimalwareScannerPartialConfigurationValidator : PartialConfigurationFluentValidatorBase< AntimalwareScannerOptions> { public AntimalwareScannerPartialConfigurationVali...
using FluentValidation; using TIKSN.Configuration.Validator; namespace TIKSN.Security.Antimalware { public class AntimalwareScannerPartialConfigurationValidator : PartialConfigurationFluentValidatorBase<AntimalwareScannerOptions> { public AntimalwareScannerPartialConfigurationValidator() : base() ...
mit
C#
46bc87ba47a9c5c94c9cc1ee97b081b6d084667c
add callback method
splitice/SystemInteract.Net,splitice/SystemInteract.Net
SystemInteract/ProcessHelper.cs
SystemInteract/ProcessHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static void ReadToEnd(ISystemProcess process, Action<String> output, Action<St...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static void ReadToEnd(ISystemProcess process, out String output, out String err...
apache-2.0
C#
9e17eb234223e2b9869b159f675f3466336b54b2
Reword settings text to be ruleset agnostic
NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,DrabWeb/osu,UselessToucan/osu,ZLima12/osu,johnneijzen/osu,naoey/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,naoey/osu,peppy/osu,naoey/osu,smoogipooo/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,peppy...
osu.Game/Overlays/Settings/Sections/Gameplay/GeneralSettings.cs
osu.Game/Overlays/Settings/Sections/Gameplay/GeneralSettings.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.Allocation; using osu.Framework.Graphics; using osu.Game.Configuration; namespace osu.Game.Overlays.Settings.Sections.Gameplay { public class G...
// 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.Allocation; using osu.Framework.Graphics; using osu.Game.Configuration; namespace osu.Game.Overlays.Settings.Sections.Gameplay { public class G...
mit
C#
02860dfb5cf5b49856aebed96233eb20f55b0cc2
refactor => proper case
PowerWallet/SSO_Client_CSharp,PowerWallet/SSO_Client_CSharp
src/MVC5/Filters/LogFilterAttribute.cs
src/MVC5/Filters/LogFilterAttribute.cs
using System; using System.Web.Mvc; using NLog; namespace FinApps.SSO.MVC5.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public class LogAttribute : ActionFilterAttribute { private static readonly Logger logger = LogManager.Get...
using System; using System.Web.Mvc; using NLog; namespace FinApps.SSO.MVC5.Filters { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public class LogAttribute : ActionFilterAttribute { private static readonly Logger Logger = LogManager.Get...
apache-2.0
C#
9583ed53b751d90b2d1eebefe7e61837853a82e8
Use ToString instead as suggested in #1122.
dlemstra/Magick.NET,dlemstra/Magick.NET
src/Shared/Netstandard20/EnumHelper.cs
src/Shared/Netstandard20/EnumHelper.cs
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System; namespace ImageMagick { internal static class EnumHelper { public static string ConvertFlags<TEnum>(TEnum value) where TEnum : struct, Enum => val...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using System; using System.Collections.Generic; namespace ImageMagick { internal static class EnumHelper { public static string ConvertFlags<TEnum>(TEnum value) where TEnum...
apache-2.0
C#
a34954b37fbdcb6e11a256b59b12fcb24df960cb
Fix recursive coin deletion
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Coins/CoinsView.cs
WalletWasabi/Coins/CoinsView.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NBitcoin; using WalletWasabi.Helpers; using WalletWasabi.Models; namespace WalletWasabi.Coins { public class CoinsView : ICoinsView { private IEnumerable<SmartCoin> Coins { get; } public CoinsView(IEnumerable<Smar...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using NBitcoin; using WalletWasabi.Helpers; using WalletWasabi.Models; namespace WalletWasabi.Coins { public class CoinsView : ICoinsView { private IEnumerable<SmartCoin> Coins { get; } public CoinsView(IEnumerable<Smar...
mit
C#
d5db395056c1234136e47874c85efa5c7a78bcc1
Update version to 1.2.2.0
stevengum97/BotBuilder,msft-shahins/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,Clairety/ConnectMe,msft-shahins/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,yakumo/BotBuilder,mmatkow/BotBuilder,stevengum97/BotBuilder,mmatkow/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,dr-em/BotBuilder,Cl...
CSharp/Library/Properties/AssemblyInfo.cs
CSharp/Library/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 assembl...
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 assembl...
mit
C#
a175e74edc30974e3e64aa68cb85422c9250a323
Bump version to 0.3.1
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.3.1")] [assembly: AssemblyInformationalVersionAttribute("0.3.1")] [assembly: AssemblyFileVersionAttribute("0.3.1")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.3.0")] [assembly: AssemblyInformationalVersionAttribute("0.3.0")] [assembly: AssemblyFileVersionAttribute("0.3.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
apache-2.0
C#
33e47ed77d91de8738bc52d5ef002b7457bb1e11
Allow AppConfigFacility calls to be chained.
adamconnelly/WindsorAppConfigFacility
AppConfigFacility/AppConfigFacility.cs
AppConfigFacility/AppConfigFacility.cs
namespace AppConfigFacility { using System; using Castle.MicroKernel.Facilities; using Castle.MicroKernel.Registration; public class AppConfigFacility : AbstractFacility { private Type _cacheType = typeof (DefaultSettingsCache); private Type _settingsProviderType = typeof (AppSetti...
namespace AppConfigFacility { using System; using Castle.MicroKernel.Facilities; using Castle.MicroKernel.Registration; public class AppConfigFacility : AbstractFacility { private Type _cacheType = typeof (DefaultSettingsCache); private Type _settingsProviderType = typeof (AppSetti...
mit
C#
7e69841f67b34c4588478feba6a5420705db8d58
Update ExcelApp.cs
kchen0723/ExcelAsync
ExcelAsyncWpf/ExcelOperate/ExcelApp.cs
ExcelAsyncWpf/ExcelOperate/ExcelApp.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Excel; using Microsoft.Office.Core; namespace ExcelAsyncWpf.ExcelOperate { public static class ExcelApp { public static uint ExcelMainUiThreadId { get; set; } pr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Office.Interop.Excel; using Microsoft.Office.Core; namespace ExcelAsyncWpf.ExcelOperate { public static class ExcelApp { public static uint ExcelMainUiThreadId { get; set; } pr...
agpl-3.0
C#
68c6b23939b78753030210257b3bceca3ddfbb51
Include TestMethods
OmarBizreh/DotNetHelpers
FrameworkUnitTest/DotNetHelpersTest.cs
FrameworkUnitTest/DotNetHelpersTest.cs
using System.Collections.Generic; using DotNetHelpers.Helpers.Extensions; using DotNetHelpers.Service.Authentication; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FrameworkUnitTest { [TestClass] public class DotNetHelpersTest { private string EncryptionPass { get { return "someRa...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FrameworkUnitTest { [TestClass] public class DotNetHelpersTest { } }
apache-2.0
C#
847173dc85f4480694569a5a6591723c41df9f7e
Clean up CommandConnection Tests
rit-sse-mycroft/core
Mycroft.Tests/TestCommandConnection.cs
Mycroft.Tests/TestCommandConnection.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mycroft.App; using System.IO; using System.Diagnostics; namespace Mycroft.Tests { [TestClass] public class TestCommandConnection { ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mycroft.App; using System.IO; using System.Diagnostics; namespace Mycroft.Tests { [TestClass] public class TestCommandConnection { ...
bsd-3-clause
C#
436f45d0b1eccd850c5409bf70b5ec1f2e8186ff
Update invalid events table name
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
retail/interactive-tutorial/RetailEvents.Samples/setup/EventsCreateBigQueryTable.cs
retail/interactive-tutorial/RetailEvents.Samples/setup/EventsCreateBigQueryTable.cs
// Copyright 2022 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
// Copyright 2022 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
apache-2.0
C#
cafd8e476324c494d2f257a68e02b250dcb1e6e7
Reduce the amount of persisted city statistics
Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization
src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs
src/Mirage.Urbanization.Simulation/Persistence/PersistedCityStatisticsCollection.cs
using System.Collections.Generic; using System.Linq; using Mirage.Urbanization.ZoneStatisticsQuerying; using System.Collections.Immutable; namespace Mirage.Urbanization.Simulation.Persistence { public class PersistedCityStatisticsCollection { private ImmutableQueue<PersistedCityStatisticsWithFinancialD...
using System.Collections.Generic; using System.Linq; using Mirage.Urbanization.ZoneStatisticsQuerying; using System.Collections.Immutable; namespace Mirage.Urbanization.Simulation.Persistence { public class PersistedCityStatisticsCollection { private ImmutableQueue<PersistedCityStatisticsWithFinancialD...
mit
C#
a4171253a38f2d09eedea9f38eb7d3eca0afebff
Make LowHealthThreshold a field.
ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu
osu.Game/Screens/Play/HUD/FailingLayer.cs
osu.Game/Screens/Play/HUD/FailingLayer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; namespace osu.Game.Screens.Pla...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Game.Graphics; namespace osu.Game.Screens.Pla...
mit
C#
b0eb72a5ad36fdd61391812bc3dc5efb5fec6d27
remove old system info string gauges
MetaG8/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,huoxudong125/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,Recognos/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,MetaG8/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.N...
Src/Metrics/PerfCounters/SystemInfo.cs
Src/Metrics/PerfCounters/SystemInfo.cs
 using System; using Metrics.Core; namespace Metrics.PerfCounters { public class SystemInfo : BaseCounterRegristry { public SystemInfo(MetricsRegistry registry, string prefix) : base(registry, prefix) { } public void Register() { Register("AvailableRAM", () => n...
 using System; using Metrics.Core; namespace Metrics.PerfCounters { public class SystemInfo : BaseCounterRegristry { public SystemInfo(MetricsRegistry registry, string prefix) : base(registry, prefix) { } public void Register() { //Register("MachineName", () => ...
apache-2.0
C#
4d39cad23705ed9e05882edb4e2b3a0944f1b000
Remove the GC initialization code
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
runtime/GC.cs
runtime/GC.cs
using System.Runtime.InteropServices; namespace __compiler_rt { /// <summary> /// Garbage collection functionality that can be used by the compiler. /// </summary> public static unsafe class GC { private static extern void* GC_malloc(ulong size); /// <summary> /// Allocates...
using System.Runtime.InteropServices; namespace __compiler_rt { /// <summary> /// Garbage collection functionality that can be used by the compiler. /// </summary> public static unsafe class GC { /// <summary> /// Initializes the garbage collector. /// </summary> sta...
mit
C#
ed6ebc3fbfc843cc452b2b5dd3015dd0509a1199
Fix KillReward
bunashibu/kikan
Assets/Scripts/KillReward.cs
Assets/Scripts/KillReward.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KillReward : MonoBehaviour { public int Exp { get { return _expTable.Data[_level.Lv - 1]; } } public int Gold { get { return _goldTable.Data[_level.Lv - 1]; } } [SerializeField] private ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class KillReward : MonoBehaviour { public int Exp { get { return _expTable.Data[_level.Lv]; } } public int Gold { get { return _goldTable.Data[_level.Lv]; } } [SerializeField] private DataTabl...
mit
C#