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
0f4b9e1b1df4162b808569acdb2fdbb0d018ef99
Fix getting categories
xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,notdev/RohlikAPI
RohlikAPI/Categories.cs
RohlikAPI/Categories.cs
using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace RohlikAPI { internal class Categories { private readonly PersistentSessionHttpClient httpClient; internal Categories(PersistentSessionHttpClient httpClient) { this.httpClien...
using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace RohlikAPI { internal class Categories { private readonly PersistentSessionHttpClient httpClient; internal Categories(PersistentSessionHttpClient httpClient) { this.httpClien...
mit
C#
491bb013a854b313ab13be93280cb8799e896160
Add SignPath to known words
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Utilities/String.KnownWords.cs
source/Nuke.Common/Utilities/String.KnownWords.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE namespace Nuke.Common.Utilities { public static partial class StringExtensions { private static readonly string[] KnownWords = { "DotNet", ...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE namespace Nuke.Common.Utilities { public static partial class StringExtensions { private static readonly string[] KnownWords = { "DotNet", ...
mit
C#
66bfb3d648779d18464d692ca17015d2c7e94c07
Update Assets/MixedRealityToolkit.Examples/Demos/HandTracking/Script/LaunchUri.cs
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.Examples/Demos/HandTracking/Script/LaunchUri.cs
Assets/MixedRealityToolkit.Examples/Demos/HandTracking/Script/LaunchUri.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 UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Demos { public class LaunchUri : MonoBehaviour { /// <summary> ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Examples.Demos { public class LaunchUri : MonoBehaviour { /// <summary> ...
mit
C#
39fc7454a469936fe0840883f01a41fb947daf74
fix build
vkhorikov/CSharpFunctionalExtensions
CSharpFunctionalExtensions/Result/Methods/Extensions/OnFailure.Task.Right.cs
CSharpFunctionalExtensions/Result/Methods/Extensions/OnFailure.Task.Right.cs
using System; using System.ComponentModel; using System.Threading.Tasks; namespace CSharpFunctionalExtensions { public static partial class ResultExtensions { [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("Use TapError() instead.")] public static Task<Result<T>> OnFailure<T>(t...
using System; using System.ComponentModel; using System.Threading.Tasks; namespace CSharpFunctionalExtensions { public static partial class ResultExtensions { [EditorBrowsable(EditorBrowsableState.Never)] [Obsolete("Use TapError() instead.")] public static Task<Result<T>> OnFailure<T>(t...
mit
C#
ce69fd266f2247f7224032df8285309e63aded48
Fix build
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/GameObjects/EntitySystems/GameMode/SuspicionEndTimerSystem.cs
Content.Server/GameObjects/EntitySystems/GameMode/SuspicionEndTimerSystem.cs
using System; using System.Linq; using Content.Server.Interfaces.GameTicking; using Content.Shared.GameObjects.EntitySystemMessages; using Content.Shared.GameTicking; using JetBrains.Annotations; using Robust.Server.Player; using Robust.Shared.Enums; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robu...
using System; using System.Linq; using Content.Server.Interfaces.GameTicking; using Content.Shared.GameObjects.EntitySystemMessages; using Content.Shared.GameTicking; using JetBrains.Annotations; using Robust.Server.Player; using Robust.Shared.Enums; using Robust.Shared.GameObjects; using Robust.Shared.IoC; using Robu...
mit
C#
752b3f760f56a6d8f097230e5cb9cd39f322c647
Apply angular velocity to asteroids
iridinite/shiftdrive
Client/Asteroid.cs
Client/Asteroid.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System; using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { private float angularVel...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using Microsoft.Xna.Framework; namespace ShiftDrive { /// <summary> /// A <seealso cref="GameObject"/> representing a single asteroid. /// </summary> internal sealed class Asteroid : GameObject { public Asteroid() { type =...
bsd-3-clause
C#
5bb4d359826f2df850a167c502bda25408edd1f0
Make RealmWrapper nullable enabled
peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu
osu.Game/Database/RealmWrapper.cs
osu.Game/Database/RealmWrapper.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.Threading; using Realms; #nullable enable namespace osu.Game.Database { public class RealmWrapper<T> : IEquatable<RealmWrapper<T>> ...
// 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.Threading; using Realms; namespace osu.Game.Database { public class RealmWrapper<T> : IEquatable<RealmWrapper<T>> where T : RealmO...
mit
C#
2cc91eb56e1226ee05d316862c121944356ef5ec
add tiles yay :D
windowsphonehacker/SparklrWP
SparklrWP/Utils/Task.cs
SparklrWP/Utils/Task.cs
using Microsoft.Phone.Scheduler; using System; namespace SparklrWP.Utils { public class Task { PeriodicTask periodicTask; string periodicTaskName = "Sparklr"; public Task() { periodicTask = ScheduledActionService.Find(periodicTaskName) as PeriodicTask; #if DEBUG ...
using Microsoft.Phone.Scheduler; using System; namespace SparklrWP.Utils { public class Task { PeriodicTask periodicTask; string periodicTaskName = "Sparklr"; public Task() { periodicTask = ScheduledActionService.Find(periodicTaskName) as PeriodicTask; #if DEBUG ...
mit
C#
bfa98b583ce5603c25b5847175f22e6f89279dbb
improve FakeTestFixture.
jwChung/Experimentalism,jwChung/Experimentalism
test/ExperimentUnitTest/FakeTestFixture.cs
test/ExperimentUnitTest/FakeTestFixture.cs
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { private readonly string _stringValue = Guid.NewGuid().ToString(); private readonly string _intValue = Guid.NewGuid().ToString(); public string StringValue { get { ...
using System; namespace Jwc.Experiment { public class FakeTestFixture : ITestFixture { private readonly string _stringValue = Guid.NewGuid().ToString(); private readonly string _intValue = Guid.NewGuid().ToString(); private readonly Func<object, object> _onCreate; public FakeT...
mit
C#
3858647e8b0413c75196ba262d1336354ed1a309
Make search for users case insensitive
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Data/UserRepository.cs
Oogstplanner.Data/UserRepository.cs
using System.Linq; using System.Collections.Generic; using Oogstplanner.Common; using Oogstplanner.Models; namespace Oogstplanner.Data { public class UserRepository : EntityFrameworkRepository<User>, IUserRepository { public UserRepository(IOogstplannerContext db) : base(db) { } ...
using System.Linq; using System.Collections.Generic; using Oogstplanner.Common; using Oogstplanner.Models; namespace Oogstplanner.Data { public class UserRepository : EntityFrameworkRepository<User>, IUserRepository { public UserRepository(IOogstplannerContext db) : base(db) { } ...
mit
C#
bcda3c5062923736ccf0cca838ec176f7fe29827
Remove obsolete attribute
KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,elastic/elasticsearch-net,faisal00813/elasticsearch-net,geofeedia/elasticsearch-net,ststeiger/elasticsearch-net,Grastveit/NEST,RossLieberman/NEST,SeanKilleen/elasticsearch-net,gayancc/elasticsearch-net,junlapong/elasticsearch-net,abibell/elasticsearch-net,RossLiebe...
src/Nest/Domain/Analysis/Analyzers/CustomAnalyzer.cs
src/Nest/Domain/Analysis/Analyzers/CustomAnalyzer.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// An analyzer of type custom that allows to combine a Tokenizer with zero or more Token Filters, and zero or more Char Filters. /// <para>The custom analyzer accepts a logical/registered name of the tokenizer t...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// An analyzer of type custom that allows to combine a Tokenizer with zero or more Token Filters, and zero or more Char Filters. /// <para>The custom analyzer accepts a logical/registered name of the tokenizer t...
apache-2.0
C#
36f5efded812109f6f26963b4703ae8411db16f7
add ability to authenticate with a specific username/password in windows authenticator
jonnii/SpeakEasy
src/SpeakEasy/Authenticators/WindowsAuthenticator.cs
src/SpeakEasy/Authenticators/WindowsAuthenticator.cs
using System.Net; namespace SpeakEasy.Authenticators { /// <summary> /// The windows authenticator will authenticate /// an http request with windows credentials /// </summary> public class WindowsAuthenticator : IAuthenticator { private readonly ICredentials credentials; /// <...
using System.Net; namespace SpeakEasy.Authenticators { public class WindowsAuthenticator : IAuthenticator { public void Authenticate(IHttpRequest httpRequest) { httpRequest.Credentials = CredentialCache.DefaultCredentials; } } }
apache-2.0
C#
5c03aeef9c265752c2c0ad6e722ab3ca9e772783
Add properties (BestFitness, BestPosition, Current Iteration, CurrentFunctionEvaluations) in IOptimizationAlgorithm interface.
geoem/MSolve,geoem/MSolve
ISAAR.MSolve.Analyzers/Optimization/IOptimizationAlgorithm.cs
ISAAR.MSolve.Analyzers/Optimization/IOptimizationAlgorithm.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.Analyzers.Optimization { public interface IOptimizationAlgorithm { double BestFitness { get; } double[] BestPosition { get; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ISAAR.MSolve.Analyzers.Optimization { public interface IOptimizationAlgorithm { void Solve(); } }
apache-2.0
C#
3879d7f51c0ac3325508236cc308592d337c8570
make GraphTypeTypeRegistry thread safe (#1327)
graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Numerics; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly ConcurrentDictionary<Type, Type> _entries; static GraphTypeTypeRegistry() ...
using System; using System.Collections.Generic; using System.Numerics; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly Dictionary<Type, Type> _entries; static GraphTypeTypeRegistry() { _entries = new Dictionary<...
mit
C#
5046c2d34e364a36620fb82bc1e4fc49f467305e
Use body length for Service Bus binary messages.
oliver-feng/azure-webjobs-sdk,vasanthangel4/azure-webjobs-sdk,brendankowitz/azure-webjobs-sdk,gibwar/azure-webjobs-sdk,Azure/azure-webjobs-sdk,oaastest/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,oliver-feng/azure-webjobs-sdk,shrishrirang/azure-webjobs-sdk,shrishrirang/azure-webjobs-s...
src/Microsoft.Azure.Jobs.ServiceBus/Triggers/BrokeredMessageValueProvider.cs
src/Microsoft.Azure.Jobs.ServiceBus/Triggers/BrokeredMessageValueProvider.cs
using System; using System.IO; using System.Text; using Microsoft.Azure.Jobs.Host.Bindings; using Microsoft.ServiceBus.Messaging; namespace Microsoft.Azure.Jobs.ServiceBus.Triggers { internal class BrokeredMessageValueProvider : IValueProvider { private readonly object _value; private readonly...
using System; using System.IO; using System.Text; using Microsoft.Azure.Jobs.Host.Bindings; using Microsoft.ServiceBus.Messaging; namespace Microsoft.Azure.Jobs.ServiceBus.Triggers { internal class BrokeredMessageValueProvider : IValueProvider { private readonly object _value; private readonly...
mit
C#
5f0c0594c6b566eeb210a3716cfdef6f81340715
Update existing documentation for show images.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowImages.cs
Source/Lib/TraktApiSharp/Objects/Get/Shows/TraktShowImages.cs
namespace TraktApiSharp.Objects.Get.Shows { using Basic; using Newtonsoft.Json; /// <summary>A collection of images and image sets for a Trakt show.</summary> public class TraktShowImages { /// <summary>Gets or sets the fan art image set.</summary> [JsonProperty(PropertyName = "fan...
namespace TraktApiSharp.Objects.Get.Shows { using Basic; using Newtonsoft.Json; /// <summary> /// A collection of images for a Trakt show. /// </summary> public class TraktShowImages { /// <summary> /// A fanart image set for various sizes. /// </summary> [J...
mit
C#
7d4a8bebaec5c417ce05cc8ae3eab0e061399abf
Update MessagePackSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/MessagePack/MessagePackSerializer.cs
TIKSN.Core/Serialization/MessagePack/MessagePackSerializer.cs
using System.IO; using MsgPack.Serialization; namespace TIKSN.Serialization.MessagePack { public class MessagePackSerializer : SerializerBase<byte[]> { private readonly SerializationContext _serializationContext; public MessagePackSerializer(SerializationContext serializationContext) => ...
using MsgPack.Serialization; using System.IO; namespace TIKSN.Serialization.MessagePack { public class MessagePackSerializer : SerializerBase<byte[]> { private readonly SerializationContext _serializationContext; public MessagePackSerializer(SerializationContext serializationContext) ...
mit
C#
f4f70ec54c0dd34958ba9f91b1b833faf5e1ead0
add instructors link for admins
ucdavis/Badges,ucdavis/Badges
Badges/Areas/Admin/Views/Landing/Index.cshtml
Badges/Areas/Admin/Views/Landing/Index.cshtml
@model dynamic @{ ViewBag.Title = "Admin Homepage"; } <h2>Admin Homepage</h2> <ul class="nav nav-pills nav-stacked"> <li>@Html.ActionLink("Manage Titles", "Index", "Title")</li> <li>@Html.ActionLink("Manage Organizations", "Index", "Organization")</li> <li>@Html.ActionLink("Manage Instructors", "Index", "...
@model dynamic @{ ViewBag.Title = "Admin Homepage"; } <h2>Admin Homepage</h2> <ul class="nav nav-pills nav-stacked"> <li>@Html.ActionLink("Manage Titles", "Index", "Title")</li> <li>@Html.ActionLink("Manage Organizations", "Index", "Organization")</li> </ul>
mpl-2.0
C#
847dc00d91b60934f82e4d3922cb323da8d41424
fix typo
apache/npanday,apache/npanday,apache/npanday,apache/npanday
dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
// // 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 // "License"); you ...
// // 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 // "License"); you ...
apache-2.0
C#
0bb0949bfba8b76fc97e12672646b61f58099c0b
Make consistent.
agocke/roslyn,genlu/roslyn,MichalStrehovsky/roslyn,DustinCampbell/roslyn,swaroop-sridhar/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,abock/roslyn,stephentoub/roslyn,heejaechang/roslyn,xasx/roslyn,xasx/roslyn,ErikSchierboom/roslyn,genlu/roslyn,jcouv/roslyn,gafter/roslyn,wvdd007/roslyn,stephentoub/roslyn,mgoertz-msft/roslyn...
src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/LanguageServices/RegexEmbeddedLanguage.cs
src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/LanguageServices/RegexEmbeddedLanguage.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 System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Classification.Classifiers; using Microsoft.CodeAnalysis.EmbeddedLanguages...
// 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 System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Classification.Classifiers; using Microsoft.CodeAnalysis.EmbeddedLanguages...
mit
C#
f771a4155cdfef08da87310b92d722191e7565c8
Update tests.
DropNet/DropNet
DropNet.Tests/TestVariables.cs
DropNet.Tests/TestVariables.cs
 namespace DropNet.Tests { public static class TestVariables { //Insert yo stuff here to run the tests public static string ApiKey = "APIKEY"; public static string ApiSecret = "APISECRET"; public static string ApiKey_Sandbox = "SANDBOXKEY"; public static string ApiSecre...
 namespace DropNet.Tests { public static class TestVariables { //Insert yo stuff here to run the tests public static string ApiKey = "qgy5kj76jb5mxto"; public static string ApiSecret = "3dkrpzwdw2eyeqn"; public static string ApiKey_Sandbox = "ni2xys08hyzl0l1"; public st...
apache-2.0
C#
88410ff87d6beab871b6e2970aee59adb6126ee9
Update NumberChainValidator.cs
kenshinthebattosai/KenChainer
KenChainer/Validators/NumberChainValidator.cs
KenChainer/Validators/NumberChainValidator.cs
using System.Linq; using System.Text.RegularExpressions; using KenChainer.Core; namespace KenChainer.Validators { /// <summary> /// Default rules for the problem go here. /// Currently there are 4 rules: /// Only 7 numbers /// Only 6 operators /// All 4 operators must be used /// 2 operator...
using System.Linq; using System.Text.RegularExpressions; using KenChainer.Core; namespace KenChainer.Validators { /// <summary> /// Default rules for the problem go here. /// Currently there are 3 rules: /// Only 7 numbers /// Only 6 operators /// All 4 operators must be used /// 2 operator...
mit
C#
24d4bec699d7d3b6a080ab2566597045fe7f9911
Include the Table namespace into Hangman
12joan/hangman
hangman.cs
hangman.cs
using System; using Table; public class Hangman { public static void Main(string[] args) { Console.WriteLine("Hello, World!"); Console.WriteLine("You entered the following {0} command line arguments:", args.Length ); for (int i=0; i < args.Length; i++) { Console.WriteLine("{0}", args[i]); ...
using System; public class Hangman { public static void Main(string[] args) { Console.WriteLine("Hello, World!"); Console.WriteLine("You entered the following {0} command line arguments:", args.Length ); for (int i=0; i < args.Length; i++) { Console.WriteLine("{0}", args[i]); } } }
unlicense
C#
c509dd9723c9a24339d1b096023df34beeee0fea
Fix safety net emits sound only when ball is slowed down.
gbudiman/glass
Gloria_Huixin_Glass/Assets/Networking/SafetyNet.cs
Gloria_Huixin_Glass/Assets/Networking/SafetyNet.cs
using UnityEngine; using System.Collections; public class SafetyNet : MonoBehaviour { BoxCollider2D bcl; SpriteRenderer sr; PhotonView photon_view; AudioSource audio_source; public AudioClip clip_slow_down; const float base_duration = 8f; float timer; bool is_enabled = false; // Use this for initia...
using UnityEngine; using System.Collections; public class SafetyNet : MonoBehaviour { BoxCollider2D bcl; SpriteRenderer sr; PhotonView photon_view; AudioSource audio_source; public AudioClip clip_slow_down; const float base_duration = 8f; float timer; bool is_enabled = false; // Use this for initia...
mit
C#
2116aa572ff979b2b8ba23cf771995465d634146
Add vote method to voting service
Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife
PhotoLife/PhotoLife.Services/VotingService.cs
PhotoLife/PhotoLife.Services/VotingService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PhotoLife.Data.Contracts; using PhotoLife.Factories; using PhotoLife.Models; using PhotoLife.Services.Contracts; namespace PhotoLife.Services { public class VotingService { private...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PhotoLife.Services { class VotingService { } }
mit
C#
f1e630edcfd72b8b731a3583e62347f48920a881
Increment version 0.1.3 -> 0.1.4
genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder
PogoLocationFeeder/Properties/AssemblyInfo.cs
PogoLocationFeeder/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("PogoLocationFeeder")] [assembly: Assembl...
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("PogoLocationFeeder")] [assembly: Assembl...
agpl-3.0
C#
2cab11682e5358d3ad5859d3004ddfeae5fb2081
Load main screen within content view on first load
AlexStefan/template-app
TemplateMenu/Template.Droid/Views/RootView.cs
TemplateMenu/Template.Droid/Views/RootView.cs
using Android.App; using Android.OS; using Android.Support.V4.Widget; using Android.Widget; using MvvmCross.Droid.Support.V7.AppCompat; using TemplateMenu.Core.ViewModels; using TemplateMenu.Droid.Custom; namespace TemplateMenu.Droid.Views { [Activity(Label = "Template Menu", MainLauncher = true)] public class...
using Android.App; using Android.OS; using Android.Support.V4.Widget; using Android.Widget; using MvvmCross.Droid.Support.V7.AppCompat; using TemplateMenu.Core.ViewModels; using TemplateMenu.Droid.Custom; namespace TemplateMenu.Droid.Views { [Activity(Label = "Template Menu", MainLauncher = true)] public class...
mit
C#
cd598c82a60f48053e8d4346a8a4572ac6b1000b
rollback to previous version
eriforce/PureLib
trunk/PureLib/Common/Entities/Arguments.cs
trunk/PureLib/Common/Entities/Arguments.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; namespace PureLib.Common.Entities { /// <summary> /// A structure of the startup arguments from command-line. /// </summary> [Seria...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Text.RegularExpressions; namespace PureLib.Common.Entities { /// <summary> /// A structure of the startup arguments from command-line. /// </summary> [Seria...
mit
C#
167b92bf2e99ab99aca8bc66604fbc944bca9ae6
fix MainThreadDispatcher ourUIThread
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
unity/EditorPlugin/MainThreadDispatcher.cs
unity/EditorPlugin/MainThreadDispatcher.cs
using System; using System.Collections.Generic; using System.Threading; using JetBrains.Platform.RdFramework; using JetBrains.Util; using JetBrains.Util.Logging; using UnityEditor; namespace JetBrains.Rider.Unity.Editor { public class MainThreadDispatcher : IScheduler { private static Thread ourUIThread; i...
using System; using System.Collections.Generic; using System.Threading; using JetBrains.Platform.RdFramework; using JetBrains.Util; using JetBrains.Util.Logging; using UnityEditor; namespace JetBrains.Rider.Unity.Editor { public class MainThreadDispatcher : IScheduler { internal static readonly MainThreadDispa...
apache-2.0
C#
636b7dd011a598350d567b0ab6342b464367b2fc
Increase the page size for the logs polling. (#1419)
googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,benwulfe/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,evildour/google-cloud-dotnet,evildour/google-cloud-dotnet,ian...
apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/Logging/LogEntryPolling.cs
apis/Google.Cloud.Diagnostics.Common/Google.Cloud.Diagnostics.Common.IntegrationTests/Logging/LogEntryPolling.cs
// Copyright 2017 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 applic...
// Copyright 2017 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 applic...
apache-2.0
C#
e057cf1f91da41169bd580507be690d56ed660e6
Fix Nupkg Version
MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit
build/version.cake
build/version.cake
public class BuildVersion { public string Prefix { get; set; } public string Suffix { get; set; } public static BuildVersion Calculate(ICakeContext context, BuildParameters buildParameters) { if (context == null) { throw new ArgumentNullException("context"); } ...
public class BuildVersion { public string Prefix { get; set; } public string Suffix { get; set; } public static BuildVersion Calculate(ICakeContext context, BuildParameters buildParameters) { if (context == null) { throw new ArgumentNullException("context"); } ...
apache-2.0
C#
a1dec59b014ef5fddcd64ef709d59c299c931d13
Set DateFormat in RestSharp so DateTimes would deserialize with correct DateTime.Kind.
crdeutsch/Agvise-Api-DotNet
Agvise.Api/AgviseClient.cs
Agvise.Api/AgviseClient.cs
using Agvise.Api.Models; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Agvise.Api { public class AgviseClient { public static string BaseUrl = "https://submit.agvise.com/api/"; public static string...
using Agvise.Api.Models; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Agvise.Api { public class AgviseClient { public static string BaseUrl = "https://submit.agvise.com/api/"; public static string...
mit
C#
988165871d5da363ff99fa03ae63924b06cf82fa
Revert "Added option in Parallel to enforce a unanimous success or fail state condition in children before returning."
caseydedore/BehaviorEngine
BehaviorEngine/Nodes/Composites/Parallel.cs
BehaviorEngine/Nodes/Composites/Parallel.cs
 using System.Collections; using System; using System.Collections.Generic; namespace BehaviorEngine { public class Parallel : ANodeComposite { private int index = 0; public override void Update() { if (Children.Count <= 0) { Status = NodeState....
 namespace BehaviorEngine { public class Parallel : ANodeComposite { public bool ChildrenMustAllSucceed { get; set; } public bool ChildrenMustAllFail { get; set; } private int index = 0; private int childrenSucceeded = 0, childrenFailed = 0; public...
mit
C#
946390627a6821373df6d4d595cf50c1e09205b2
Simplify C# list removal algorithm
btmills/PartitionableArray,btmills/PartitionableArray,btmills/PartitionableArray
C#/PartitionableArray/PartitionableArray.cs
C#/PartitionableArray/PartitionableArray.cs
using System; //using System.Collections.Generic; //using System.Linq.Expressions; namespace PartitionableArray { public class PartitionableArray<T> { private class Element { public T value; public readonly int index; public Element prev; public Element next; public Element(int i) { index = i; } ...
using System; //using System.Collections.Generic; //using System.Linq.Expressions; namespace PartitionableArray { public class PartitionableArray<T> { private class Element { public T value; public readonly int index; public Element prev; public Element next; public Element(int i) { index = i; } ...
mit
C#
043490bb70e5715b785e3e47c94528d4514d5f54
fix project
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
CSharp7/CSharp7/7.1/2.DefaultExpressions.cs
CSharp7/CSharp7/7.1/2.DefaultExpressions.cs
using System.Linq; using static System.Console; namespace CSharp7 { public sealed class DefaultExpressions { public DefaultExpressions() { int? DoSomeWorkAndGetResult(int a = default, string s = default) { if (s == default // || s is...
using System.Linq; using static System.Console; namespace CSharp7 { public sealed class DefaultExpressions { public DefaultExpressions() { int? DoSomeWorkAndGetResult(int a = default, string s = default) { if (s == default || s is default) ...
mit
C#
5b97c2b01f1fd08a2becd592d293d5165a9e31c2
Update version information
SerialKeyManager/SKGL-Extension-for-dot-NET,artemlos/SKGL-Extension-for-dot-NET
SKM/Properties/AssemblyInfo.cs
SKM/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("SK...
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("SK...
bsd-3-clause
C#
a586225b172d111a1b4083e79ce8cb45e389548d
fix typo
olegsmetanin/apinet-server,olegsmetanin/apinet-server,olegsmetanin/apinet-server
AGO.Tasks/Controllers/Extensions.cs
AGO.Tasks/Controllers/Extensions.cs
using System; using System.Linq; using System.Linq.Expressions; using AGO.Core.Filters.Metadata; using AGO.Core; namespace AGO.Tasks.Controllers { public static class Extensions { public static string EnumDisplayValue<TModel, TEnum>( this IModelMetadata meta, Expression<Func<TModel, TEnum>> property, TEnum va...
using System; using System.Linq; using System.Linq.Expressions; using AGO.Core.Filters.Metadata; using AGO.Core; namespace AGO.Tasks.Controllers { public static class Extensions { public static string EnumDisplayValue<TModel, TEnum>( this IModelMetadata meta, Expression<Func<TModel, TEnum>> property, TEnum va...
mit
C#
72e5dff1dbe3e163beab75e252a756656218a8f1
Implement MediaExtractor for iOS
martijn00/XamarinMediaManager,bubavanhalen/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager
MediaManager/Plugin.MediaManager.iOS/MediaExtractorImplementation.cs
MediaManager/Plugin.MediaManager.iOS/MediaExtractorImplementation.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using AVFoundation; using Foundation; using Plugin.MediaManager.Abstractions; using UIKit; namespace Plugin.MediaManager { public class MediaExtractorImplementation : IMediaExtractor { public async Task<IMediaFile> ExtractMe...
using System; using System.Threading.Tasks; using Plugin.MediaManager.Abstractions; namespace Plugin.MediaManager { public class MediaExtractorImplementation : IMediaExtractor { public Task<IMediaFile> ExtractMediaInfo(IMediaFile mediaFile) { return Task.FromResult(mediaFile); ...
mit
C#
71222dc427bbd392cf2e3a148c1e9e050b5c4e36
Store temp files from different processes in different folders
liddictm/BrawlManagers,libertyernie/BrawlManagers,liddictm/BrawlManagers,libertyernie/BrawlManagers
BrawlManagerLib/TempFiles.cs
BrawlManagerLib/TempFiles.cs
using BrawlLib.IO; using BrawlLib.SSBB.ResourceNodes; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace BrawlManagerLib { public class TempFileCleanupException : AggregateException { public TempFileCleanupException...
using BrawlLib.IO; using BrawlLib.SSBB.ResourceNodes; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace BrawlManagerLib { public class TempFiles { static TempFiles() { string p = Path.Combine(Path.GetTempPath(),...
mit
C#
9dbad29e3d249a1ee737dec729837c35aa23736c
add missing public declaration
humsp/uebersetzerbauSWP
Twee2Z/ObjectTree/Expressions/Base/Values/Functions/TurnsFunction.cs
Twee2Z/ObjectTree/Expressions/Base/Values/Functions/TurnsFunction.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Twee2Z.ObjectTree.Expressions.Base.Values.Functions { public class TurnsFunction : FunctionValue { public TurnsFunction() : base(FunctionTypeEnum.Turns) { }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Twee2Z.ObjectTree.Expressions.Base.Values.Functions { class TurnsFunction : FunctionValue { public TurnsFunction() : base(FunctionTypeEnum.Turns) { } ...
mit
C#
6e93dd6453e1fbc002077bb53dfde27b01063e0c
Bump version number for 5.0.0
csf-dev/CSF.Security
Common/CommonAssemblyInfo.cs
Common/CommonAssemblyInfo.cs
// // CommonAssemblyInfo.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without...
// // CommonAssemblyInfo.cs // // Author: // Craig Fowler <craig@csf-dev.com> // // Copyright (c) 2015 CSF Software Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without...
mit
C#
d95eb569af06e598925287f80b1cbc03787441d3
FIx TimeEntry
sochix/TogglAPI.Net
Toggl/DataObjects/TimeEntry.cs
Toggl/DataObjects/TimeEntry.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Toggl.DataObjects; namespace Toggl { public class TimeEntry : BaseDataObject { [JsonProperty(PropertyName = "id")] public long? Id { get; set; }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Toggl.DataObjects; namespace Toggl { public class TimeEntry : BaseDataObject { [JsonProperty(PropertyName = "id")] public long? Id { get; set; }...
mit
C#
4889892976708e8ad43834f6071f7839fcad5588
Add missing test
mattolenik/winston,mattolenik/winston,mattolenik/winston
Winston.Test/InstallerTests.cs
Winston.Test/InstallerTests.cs
using System; using FluentAssertions; using Xunit; namespace Winston.Test { public class InstallerTests { [Fact(Skip="Work in progress")] public void BootstrapsCorrectly() { var path = Paths.GetDirectory(typeof(Winmain).Assembly.Location); using (var installer =...
using System; using FluentAssertions; using Xunit; namespace Winston.Test { class InstallerTests { [Fact] public void BootstrapsCorrectly() { var path = Paths.GetDirectory(typeof(Winmain).Assembly.Location); using (var installer = new Winstall(path)) ...
mit
C#
4f0d0dd99e76dab3b1443f9954bc077432a532f5
Test version of binary dependency
BenPhegan/NuGet.Extensions
NuGet.Extensions.Tests/MSBuild/ProjectAdapterTests.cs
NuGet.Extensions.Tests/MSBuild/ProjectAdapterTests.cs
using System; using System.Linq; using Microsoft.Build.Evaluation; using NuGet.Extensions.MSBuild; using NuGet.Extensions.Tests.TestData; using NUnit.Framework; namespace NuGet.Extensions.Tests.MSBuild { [TestFixture] public class ProjectAdapterTests { private const string _expectedBinaryDependenc...
using System; using System.Linq; using Microsoft.Build.Evaluation; using NuGet.Extensions.MSBuild; using NuGet.Extensions.Tests.TestData; using NUnit.Framework; namespace NuGet.Extensions.Tests.MSBuild { [TestFixture] public class ProjectAdapterTests { [Test] public void ProjectWithDepende...
mit
C#
a984ca1f145a5dc411234ecb607a63a07e8033b2
return null
octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype
src/csharp/start-video.cs
src/csharp/start-video.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { public Con...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { public Con...
mit
C#
f5af9522249665201663eb0d2ac81a1c894458a1
Fix ButtonMadness application closes when Close button is clicked.
PlayScriptRedux/monomac,dlech/monomac
samples/ButtonMadness/AppDelegate.cs
samples/ButtonMadness/AppDelegate.cs
using System; using System.Drawing; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.ObjCRuntime; namespace SamplesButtonMadness { public partial class AppDelegate : NSApplicationDelegate { TestWindowController mainWindowController; public AppDelegate () { } public override void FinishedLaun...
using System; using System.Drawing; using MonoMac.Foundation; using MonoMac.AppKit; using MonoMac.ObjCRuntime; namespace SamplesButtonMadness { public partial class AppDelegate : NSApplicationDelegate { TestWindowController mainWindowController; public AppDelegate () { } public override void FinishedLaun...
apache-2.0
C#
8aabed59b3ba1dba667303c9161fa823e2f399df
clear cache when refreshing stats
Nsm7Nash/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer,Nsm7Nash/stack-exchange-data-explorer
App/StackExchange.DataExplorer/Controllers/AdminController.cs
App/StackExchange.DataExplorer/Controllers/AdminController.cs
using System.Web.Mvc; using StackExchange.DataExplorer.Helpers; using StackExchange.DataExplorer.Models; namespace StackExchange.DataExplorer.Controllers { public class AdminController : StackOverflowController { [Route("admin")] public ActionResult Index() { if ...
using System.Web.Mvc; using StackExchange.DataExplorer.Helpers; using StackExchange.DataExplorer.Models; namespace StackExchange.DataExplorer.Controllers { public class AdminController : StackOverflowController { [Route("admin")] public ActionResult Index() { if ...
mit
C#
27baf686c54c779a54d1b17a0c7a103fe7e70fd7
Remove unapplicable todo comment from LinuxGameHost.
paparony03/osu-framework,RedNesto/osu-framework,peppy/osu-framework,default0/osu-framework,naoey/osu-framework,ZLima12/osu-framework,NeoAdonis/osu-framework,paparony03/osu-framework,default0/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,NeoAdonis/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ppy/osu-...
osu.Framework.Desktop/OS/Linux/LinuxGameHost.cs
osu.Framework.Desktop/OS/Linux/LinuxGameHost.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Desktop.Input.Handlers.Keyboard; using osu.Framework.Desktop.Input.Handlers.Mouse; using osu.Frame...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using osu.Framework.Desktop.Input.Handlers.Keyboard; using osu.Framework.Desktop.Input.Handlers.Mouse; using osu.Frame...
mit
C#
2b4e6fe4f93bac89f22e2603a7c9e4a49e2bf5b8
Allow Title to be set for searching GetSurveyList
davek17/SurveyMonkeyApi-v3,bcemmett/SurveyMonkeyApi-v3
SurveyMonkey/RequestSettings/GetSurveyListSettings.cs
SurveyMonkey/RequestSettings/GetSurveyListSettings.cs
using System; namespace SurveyMonkey.RequestSettings { public class GetSurveyListSettings : IPagingSettings { public enum SortByOption { Title, DateModified, NumResponses } public enum SortOrderOption { ASC, D...
using System; namespace SurveyMonkey.RequestSettings { public class GetSurveyListSettings : IPagingSettings { public enum SortByOption { Title, DateModified, NumResponses } public enum SortOrderOption { ASC, D...
mit
C#
93a17064010d033cf52917652a7da2b6aca03e4b
Update MicrosoftBannerAdUnitBundle.cs
tiksn/TIKSN-Framework
TIKSN.Core/Advertising/MicrosoftBannerAdUnitBundle.cs
TIKSN.Core/Advertising/MicrosoftBannerAdUnitBundle.cs
namespace TIKSN.Advertising { public class MicrosoftBannerAdUnitBundle : MicrosoftAdUnitBundle { public static readonly AdUnit MicrosoftTestModeBannerAdUnit = new AdUnit(AdProviders.Microsoft, "3f83fe91-d6be-434d-a0ae-7351c5a997f1", "10865270", true); public MicrosoftBa...
namespace TIKSN.Advertising { public class MicrosoftBannerAdUnitBundle : MicrosoftAdUnitBundle { public static readonly AdUnit MicrosoftTestModeBannerAdUnit = new AdUnit(AdProviders.Microsoft, "3f83fe91-d6be-434d-a0ae-7351c5a997f1", "10865270", true); public MicrosoftBa...
mit
C#
9ccf0af2705757130a70475c5f92057fe71046fb
Make the Loading html page look better.
bklimt/BabbyJotz,bklimt/BabbyJotz,bklimt/BabbyJotz,bklimt/BabbyJotz
BabbyJotz/Pages/WebViewPage.xaml.cs
BabbyJotz/Pages/WebViewPage.xaml.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Xamarin.Forms; namespace BabbyJotz { public partial class WebViewPage : ContentPage { public WebViewPage(string title, Func<Task<string>> htmlFunc) { InitializeComponent(); Title = title; ...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Xamarin.Forms; namespace BabbyJotz { public partial class WebViewPage : ContentPage { public WebViewPage(string title, Func<Task<string>> htmlFunc) { InitializeComponent(); Title = title; ...
mit
C#
367da8d9e610d15695674bff579f7aab07230b11
Use lighter delete icon
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Components/UniversityIcons.cs
R7.University/Components/UniversityIcons.cs
// // UniversityIcons.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Found...
// // UniversityIcons.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Found...
agpl-3.0
C#
2523d8c0f0f32e041b3e8ac4221a4bdff3d6991c
Include interface to make IoC easier
MatthewSteeples/XeroAPI.Net
source/XeroApi/Model/ModelBase.cs
source/XeroApi/Model/ModelBase.cs
using System.Collections.Generic; using System.Xml.Serialization; namespace XeroApi.Model { public abstract class EndpointModelBase : ModelBase { } public abstract class ModelBase : IModelBase { [XmlAttribute("status")] public ValidationStatus ValidationStatus ...
using System.Collections.Generic; using System.Xml.Serialization; namespace XeroApi.Model { public abstract class EndpointModelBase : ModelBase { } public abstract class ModelBase { [XmlAttribute("status")] public ValidationStatus ValidationStatus { ...
mit
C#
ec42302cdf4f365fedfcfef26eefe2fcf6b04ea1
Update RedisConfiguration.cs commenting
imperugo/StackExchange.Redis.Extensions,imperugo/StackExchange.Redis.Extensions
src/StackExchange.Redis.Extensions.Core/Configuration/RedisConfiguration.cs
src/StackExchange.Redis.Extensions.Core/Configuration/RedisConfiguration.cs
using System.Net.Security; namespace StackExchange.Redis.Extensions.Core.Configuration { public class RedisConfiguration { private static ConnectionMultiplexer connection; private static ConfigurationOptions options; /// <summary> /// The key separation prefix used for all cache entries /// </summary> ...
using System.Net.Security; namespace StackExchange.Redis.Extensions.Core.Configuration { public class RedisConfiguration { private static ConnectionMultiplexer connection; private static ConfigurationOptions options; /// <summary> /// The key separation prefix used for all cache entries /// </summary> ...
mit
C#
02376b830daddada831bd32864db7f89db0c0fec
Fix master server address retrieve
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LMP.MasterServer/Helper.cs
LMP.MasterServer/Helper.cs
using System.IO; using System.Net; using System.Text.RegularExpressions; namespace LMP.MasterServer { public class Helper { public static string GetOwnIpAddress() { var currentIpAddress = TryGetIpAddress("http://ip.42.pl/raw"); if (string.IsNullOrEmpty(currentIpAddress...
using System.IO; using System.Net; using System.Text.RegularExpressions; namespace LMP.MasterServer { public class Helper { public static string GetOwnIpAddress() { var currentIpAddress = TryGetIpAddress("http://ip.42.pl/raw"); if (string.IsNullOrEmpty(currentIpAddress...
mit
C#
735eb39faf89027032a9ac324dec085695ba4e5e
Update AssemblyInfo.cs
Barings/Barings.Controls.WPF
Barings.Controls.WPF/Properties/AssemblyInfo.cs
Barings.Controls.WPF/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#
9e9cc83fd90dc52d78eee2c983c2da482358ef02
Update MyDataRepository.cs
CarmelSoftware/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4,kelong/Data-Repository-with-Data-Caching-in-ASP.NET-MVC-4
Models/MyDataRepository.cs
Models/MyDataRepository.cs
using system; public class MyDataRepository { // TODO: check what happens when different users use Cache simultaneously public ObjectCache Cache { get { return MemoryCache.Default; } } public bool IsInMemory(string Key) { return Cache.Contains(K...
using system; public class MyDataRepository { }
mit
C#
31ad82d325aeed7137929ac01ed3b5231a6e2abf
Update AssemblyInfo app version
CalebChalmers/KAGTools
KAGTools/Properties/AssemblyInfo.cs
KAGTools/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("KAG Tools")] [assem...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("KAG Tools")] [assem...
mit
C#
33bb86cdfda35fb1ee8ff8dd5b63166e8b9e0948
fix test breaking due to template change
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen.Tests/Acceptance/ViewCompilationTests.cs
Dashen.Tests/Acceptance/ViewCompilationTests.cs
using System; using System.IO; using System.Text; using Dashen.Endpoints.Index; using Dashen.Endpoints.Stats; using Dashen.Infrastructure.Spark; using Shouldly; using Xunit; namespace Dashen.Tests.Acceptance { public class ViewCompilationTests { private readonly SparkEngine _spark; public ViewCompilationTests(...
using System; using System.IO; using System.Text; using Dashen.Endpoints.Index; using Dashen.Endpoints.Stats; using Dashen.Infrastructure.Spark; using Shouldly; using Xunit; namespace Dashen.Tests.Acceptance { public class ViewCompilationTests { private readonly SparkEngine _spark; public ViewCompilationTests(...
lgpl-2.1
C#
1080c89f239993aa2a9e3afe424eae83cda25bd5
Fix TestNormalisingPreprocessor using wrong ADFloat32Array name
GreekDictionary/Sigma
Sigma.Tests/Data/Preprocessors/TestNormalisingPreprocessor.cs
Sigma.Tests/Data/Preprocessors/TestNormalisingPreprocessor.cs
/* MIT License Copyright (c) 2016-2017 Florian Cäsar, Michael Plainer For full license see LICENSE in the root directory of this project. */ using NUnit.Framework; using Sigma.Core.Data.Preprocessors; using Sigma.Core.Handlers; using Sigma.Core.MathAbstract; using System; using System.Collections.Generic; using S...
/* MIT License Copyright (c) 2016-2017 Florian Cäsar, Michael Plainer For full license see LICENSE in the root directory of this project. */ using NUnit.Framework; using Sigma.Core.Data.Preprocessors; using Sigma.Core.Handlers; using Sigma.Core.MathAbstract; using System; using System.Collections.Generic; using S...
mit
C#
eb6fe1e4d33a506bb40ef60ea0f9d433740a79be
Fix unit test that was failing after moving from yepnope to LazyLoad.js
gregoriusxu/Umbraco-CMS,rasmuseeg/Umbraco-CMS,timothyleerussell/Umbraco-CMS,Khamull/Umbraco-CMS,Spijkerboer/Umbraco-CMS,Pyuuma/Umbraco-CMS,romanlytvyn/Umbraco-CMS,Phosworks/Umbraco-CMS,VDBBjorn/Umbraco-CMS,ordepdev/Umbraco-CMS,tcmorris/Umbraco-CMS,timothyleerussell/Umbraco-CMS,lingxyd/Umbraco-CMS,countrywide/Umbraco-CM...
src/Umbraco.Tests/AngularIntegration/JsInitializationTests.cs
src/Umbraco.Tests/AngularIntegration/JsInitializationTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Newtonsoft.Json.Linq; using Umbraco.Core.Manifest; using Umbraco.Web.UI.JavaScript; namespace Umbraco.Tests.AngularIntegration { [TestFixture] public cl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using Newtonsoft.Json.Linq; using Umbraco.Core.Manifest; using Umbraco.Web.UI.JavaScript; namespace Umbraco.Tests.AngularIntegration { [TestFixture] public cl...
mit
C#
c9e02ae4f3f92528477f3554259b7c2c56d30ce5
Make portability tests run on every target
aaubry/YamlDotNet,aaubry/YamlDotNet,aaubry/YamlDotNet
YamlDotNet.Test/Helpers/PortabilityTests.cs
YamlDotNet.Test/Helpers/PortabilityTests.cs
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, inc...
// This file is part of YamlDotNet - A .NET library for YAML. // Copyright (c) Antoine Aubry and contributors // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, inc...
mit
C#
9a68de156d54241dbccc60bd954dc78250a22675
remove parameter values fom reaction enum
Sarmad93/octokit.net,M-Zuber/octokit.net,octokit/octokit.net,eriawan/octokit.net,TattsGroup/octokit.net,thedillonb/octokit.net,editor-tools/octokit.net,SmithAndr/octokit.net,TattsGroup/octokit.net,shiftkey/octokit.net,ivandrofly/octokit.net,gdziadkiewicz/octokit.net,M-Zuber/octokit.net,shiftkey-tester/octokit.net,khell...
Octokit/Models/Response/Reaction.cs
Octokit/Models/Response/Reaction.cs
using Octokit.Internal; using System; using System.Diagnostics; using System.Globalization; namespace Octokit { public enum ReactionType { [Parameter(Value = "+1")] Plus1, [Parameter(Value = "-1")] Minus1, Laugh, Confused, Heart, Hooray } ...
using Octokit.Internal; using System; using System.Diagnostics; using System.Globalization; namespace Octokit { public enum ReactionType { [Parameter(Value = "+1")] Plus1, [Parameter(Value = "-1")] Minus1, [Parameter(Value = "laugh")] Laugh, [Parameter(V...
mit
C#
4040eaaef0861d24d5060055948a97dfb79dc5f2
Add VersionUrl constant.
AeonLucid/POGOLib,m5219/POGOLib
src/POGOLib.Official/Constants.cs
src/POGOLib.Official/Constants.cs
namespace POGOLib.Official { public static class Constants { // API stuff public const string ApiUrl = "https://pgorelease.nianticlabs.com/plfe/rpc"; public const string VersionUrl = "https://pgorelease.nianticlabs.com/plfe/version"; // Login stuff public const strin...
namespace POGOLib.Official { public static class Constants { // API stuff public const string ApiUrl = "https://pgorelease.nianticlabs.com/plfe/rpc"; // Login stuff public const string LoginUrl = "https://sso.pokemon.com/sso/login?service=https%3A%2F%2Fsso.pokemon.com%2Fsso%2...
mit
C#
d011b28eb445fb3639de7a8044e2d442596df20e
Add missing variable
IG-Group/ig-webapi-dotnet-sample
IGWebApiClient/Model/dto/endpoint/positions/close/v1/ClosePositionRequest.cs
IGWebApiClient/Model/dto/endpoint/positions/close/v1/ClosePositionRequest.cs
using System.Collections.Generic; using dto.endpoint.auth.session; namespace dto.endpoint.positions.close.v1 { public class ClosePositionRequest{ ///<Summary> ///Deal identifier ///</Summary> public string dealId { get; set; } ///<Summary> ///Instrument epic identifier ///</Summary> public string epic { get; ...
using System.Collections.Generic; using dto.endpoint.auth.session; namespace dto.endpoint.positions.close.v1 { public class ClosePositionRequest{ ///<Summary> ///Deal identifier ///</Summary> public string dealId { get; set; } ///<Summary> ///Instrument epic identifier ///</Summary> public string epic { get; ...
bsd-3-clause
C#
c2d9789671fb9095935f28c3ab012d67df0536a9
Implement Repeat function
kornelijepetak/incident-cs
IncidentCS/Incident.Utils.cs
IncidentCS/Incident.Utils.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace KornelijePetak.IncidentCS { public static partial class Incident { /// <summary> /// Chooses an element from the list /// </summary> /// <typeparam name="T">Collection it...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; namespace KornelijePetak.IncidentCS { public static partial class Incident { /// <summary> /// Chooses an element from the list /// </summary> /// <typeparam name="T">Collection it...
mit
C#
523c79b44b5b5313d94c8ef0aedbff6811c20d94
update actor paths to work on mono
MarcelWouters/akkadotnet-code-samples,irperez/akkadotnet-code-samples,Aaronontheweb/akkadotnet-code-samples,MarcelWouters/akkadotnet-code-samples,Excommunicated/akkadotnet-code-samples,MarcelWouters/akkadotnet-code-samples,paulroho/akkadotnet-code-samples,paulroho/akkadotnet-code-samples,skotzko/akkadotnet-code-samples...
PipeTo/src/PipeTo.App/ActorNames.cs
PipeTo/src/PipeTo.App/ActorNames.cs
using System; namespace PipeTo.App { /// <summary> /// Helper class that provides basic name and address information for Actors. /// /// That way if we need to change the name of an actor, we only need to do it in one place. /// </summary> public static class ActorNames { /// <sum...
using System; namespace PipeTo.App { /// <summary> /// Helper class that provides basic name and address information for Actors. /// /// That way if we need to change the name of an actor, we only need to do it in one place. /// </summary> public static class ActorNames { /// <sum...
apache-2.0
C#
cb952ab75ff37421faa1d8895a438fdd994548af
Update comment
SixLabors/Fonts
src/SixLabors.Fonts/FontCollectionExtensions.cs
src/SixLabors.Fonts/FontCollectionExtensions.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts { /// <summary> /// Extension methods for <see cref="IFontCollection"/>. /// </summary> public static class FontCollectionExtensions { /// <summary> /// Adds the ...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; namespace SixLabors.Fonts { /// <summary> /// Extension methods for <see cref="IFontCollection"/>. /// </summary> public static class FontCollectionExtensions { /// <summary> /// Adds the ...
apache-2.0
C#
c23fac3431f184ce2835a59aba09c6ef7b201445
Fix - Tolti controlli sui ruoli dell'utente nella ricerca del personale
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaPersonaleVVF/PersonaleVVFAuthorizationQueryHandlerDecorator.cs
src/backend/SO115App.Models/Servizi/CQRS/Queries/GestioneUtente/ListaPersonaleVVF/PersonaleVVFAuthorizationQueryHandlerDecorator.cs
using CQRS.Authorization; using CQRS.Queries.Authorizers; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Classi.Utility; using SO115App.Models.Servizi.Infrastruttura.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.VerificaUtente; using System; using System.Collection...
using CQRS.Authorization; using CQRS.Queries.Authorizers; using SO115App.API.Models.Classi.Autenticazione; using SO115App.Models.Classi.Utility; using SO115App.Models.Servizi.Infrastruttura.Autenticazione; using SO115App.Models.Servizi.Infrastruttura.GestioneUtenti.VerificaUtente; using System; using System.Collection...
agpl-3.0
C#
b085821092bbac6bb58785c8d5dc7fb68dc7910c
indent LowercaseDocumentFilter
arsouza/Aritter,arsouza/Aritter,aritters/Ritter
samples/Ritter.Samples.Web/SwaggerFilters/LowercaseDocumentFilter.cs
samples/Ritter.Samples.Web/SwaggerFilters/LowercaseDocumentFilter.cs
using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using System.Linq; namespace Ritter.Samples.Web.SwaggerFilters { public class LowercaseDocumentFilter : IDocumentFilter { public void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext ...
using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using System.Linq; namespace Ritter.Samples.Web.SwaggerFilters { public class LowercaseDocumentFilter : IDocumentFilter { public void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext ...
mit
C#
6f1489fd9f49dad8af19cc20a162fea9b1f0ab6a
Remove unused namespaces
extremecodetv/SocksSharp
src/SocksSharp/Proxy/IProxyClient.cs
src/SocksSharp/Proxy/IProxyClient.cs
using System.Net.Sockets; namespace SocksSharp.Proxy { public interface IProxyClient<out T> where T : IProxy { ProxySettings Settings { get; set; } NetworkStream GetDestinationStream(string destinationHost, int destinationPort); } }
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading; using System.Threading.Tasks; namespace SocksSharp.Proxy { public interface IProxyClient<out T> where T : IProxy { ProxySettings Settings { get; set;...
mit
C#
ed45834d56405c4862c2ce0566863e3dd5b61419
use the Core binaries path search logic
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/ScriptLocation.cs
src/SqlPersistence/ScriptLocation.cs
using System; using System.IO; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { const string ScriptFolder = "NServiceBus.Persistence.Sql"; public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetScriptsRootPath(settings); ...
using System; using System.IO; using System.Reflection; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { const string ScriptFolder = "NServiceBus.Persistence.Sql"; public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetCurrentDi...
mit
C#
df564e63c5f62d519ac534a790ab8cb880739574
Remove blank line
tmat/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,mavasani/roslyn,bartdesmet/roslyn,tannergooding/roslyn,physhi/roslyn,weltkante/roslyn,dotnet/roslyn,heejaechang/roslyn,tmat/roslyn,jasonmalinowski/roslyn,mgoertz-msft/roslyn,diryboy/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,tmat/roslyn,AmadeusW/rosly...
src/Features/Core/Portable/Structure/BlockStructureOptionProvider.cs
src/Features/Core/Portable/Structure/BlockStructureOptionProvider.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 Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Structure { internal sealed class Block...
 // 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 Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Structure { internal sealed class Bloc...
mit
C#
8e54ea42e6cc4514397724d472699df9968f94dd
Fix rare crash when deleting airlock while the deny animation is playing
space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/GameObjects/Components/Wires/WiresVisualizer.cs
Content.Client/GameObjects/Components/Wires/WiresVisualizer.cs
using Robust.Client.GameObjects; using Robust.Client.Interfaces.GameObjects.Components; using static Content.Shared.GameObjects.Components.SharedWiresComponent; namespace Content.Client.GameObjects.Components.Wires { public class WiresVisualizer : AppearanceVisualizer { public override void OnChangeDat...
using Robust.Client.GameObjects; using Robust.Client.Interfaces.GameObjects.Components; using static Content.Shared.GameObjects.Components.SharedWiresComponent; namespace Content.Client.GameObjects.Components.Wires { public class WiresVisualizer : AppearanceVisualizer { public override void OnChangeDat...
mit
C#
d700448ddf8a852527a96effe574915d75fb0956
Change Steam switch timeout and check time
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/SteamClient.cs
SteamAccountSwitcher/SteamClient.cs
#region using System.Diagnostics; using System.IO; using System.Threading; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class SteamClient { public static void LogIn(Account account) { Process.Start(Settings.Default.SteamPath, ...
#region using System.Diagnostics; using System.IO; using System.Threading; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class SteamClient { public static void LogIn(Account account) { Process.Start(Settings.Default.SteamPath, ...
mit
C#
87d5c0c57080f27596e65d9a0131b6c6a95d1fb5
Use correct colors.
eatskolnikov/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,peeedge/mobile,ZhangLeiCharles/mobile,ZhangLeiCharles/mobile,peeedge/mobile,masterrr/mobile
Ross/Theme/Style.NavTimer.cs
Ross/Theme/Style.NavTimer.cs
using System; using MonoTouch.UIKit; using Toggl.Ross.Views; namespace Toggl.Ross.Theme { public static partial class Style { public static class NavTimer { public static void DurationButton (UIButton v) { v.Font = UIFont.FromName ("HelveticaNeue-Thin", ...
using System; using MonoTouch.UIKit; using Toggl.Ross.Views; namespace Toggl.Ross.Theme { public static partial class Style { public static class NavTimer { public static void DurationButton (UIButton v) { v.Font = UIFont.FromName ("HelveticaNeue-Thin", ...
bsd-3-clause
C#
69234454ebdc3b5e505f746c6a5c312315006445
Fix name
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Harmony/FlightDriver_ReturnToEditor.cs
Client/Harmony/FlightDriver_ReturnToEditor.cs
using Harmony; using LunaClient.Events; // ReSharper disable All namespace LunaClient.Harmony { /// <summary> /// This harmony patch is intended to trigger an event when returning to editor /// </summary> [HarmonyPatch(typeof(FlightDriver))] [HarmonyPatch("ReturnToEditor")] public class Flight...
using Harmony; using LunaClient.Events; // ReSharper disable All namespace LunaClient.Harmony { /// <summary> /// This harmony patch is intended to trigger an event when returning to editor /// </summary> [HarmonyPatch(typeof(FlightDriver))] [HarmonyPatch("ReturnToEditor")] public class Flight...
mit
C#
5e3454e5c55add39fa31bb706471d86d46e364a7
Update 0.11 beta
HoneyFox/KerbTown
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ke...
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("Ke...
mit
C#
2203882dca2efe3bea4cece3324f7e829fe7bc84
Move assembly description to assembly title
protyposis/AudioAlign
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // ass...
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 // ass...
agpl-3.0
C#
9d1e3287c26eb9503dddf7b518b40adaa2b5f183
Fix copypasta mistake
Ernegien/ViridiX
ViridiX.Mason/Extensions/TcpClientExtensions.cs
ViridiX.Mason/Extensions/TcpClientExtensions.cs
using System; using System.Net.Sockets; using ViridiX.Mason.Utilities; namespace ViridiX.Mason.Extensions { public static class TcpClientExtensions { /// <summary> /// Temporarily extends the receive timeout value. /// Wrap with a using statement to control scope automaticall...
using System; using System.Net.Sockets; using ViridiX.Mason.Utilities; namespace ViridiX.Mason.Extensions { public static class TcpClientExtensions { /// <summary> /// Temporarily extends the receive timeout value. /// Wrap with a using statement to control scope automaticall...
mit
C#
06f1f255f769367b4ef0288ee927b8fcc4637a02
Bump version to 0.9.10
rpaquay/mtsuite
src/core-filesystem/VersionNumber.cs
src/core-filesystem/VersionNumber.cs
// Copyright 2015 Renaud Paquay All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
// Copyright 2015 Renaud Paquay All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
apache-2.0
C#
3d594b88b987c04e0e1650868e33b57619b5862d
use null conditional operator to retrieve length
OlegKleyman/Omego.Selenium
core/Omego.Selenium/Extensions/WebDriverExtensions.cs
core/Omego.Selenium/Extensions/WebDriverExtensions.cs
namespace Omego.Selenium.Extensions { using System; using System.Diagnostics; using System.Drawing.Imaging; using OpenQA.Selenium; using OpenQA.Selenium.Support.Extensions; public static class WebDriverExtensions { public static void SaveScreenshotAs(this IWebDriver driver, int ti...
namespace Omego.Selenium.Extensions { using System; using System.Diagnostics; using System.Drawing.Imaging; using OpenQA.Selenium; using OpenQA.Selenium.Support.Extensions; public static class WebDriverExtensions { public static void SaveScreenshotAs(this IWebDriver driver, int ti...
unlicense
C#
52a135c3b1bb3497e3c99c144d37a5f47c3f5e3e
Load from embedded resources on GTK too.
jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,susloparovdenis/Avalonia,MrDaedra/Avalonia,akrisiun/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,tshcherban/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalon...
src/Gtk/Perspex.Gtk/AssetLoader.cs
src/Gtk/Perspex.Gtk/AssetLoader.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Globalization; using System.IO; using System.Reflection; using System.Resources; using Perspex.Platform; namespace Perspex.Gtk...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Globalization; using System.IO; using System.Reflection; using System.Resources; using Perspex.Platform; namespace Perspex.Gtk...
mit
C#
69090c600f76f21e1596d5eeb6c9e6470749dc47
Make AutoCompleteRequest.WordToComplete null safe
mispencer/OmniSharpServer,corngood/omnisharp-server,x335/omnisharp-server,OmniSharp/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,svermeulen/omnisharp-server
OmniSharp/AutoComplete/AutoCompleteRequest.cs
OmniSharp/AutoComplete/AutoCompleteRequest.cs
using OmniSharp.Common; namespace OmniSharp.AutoComplete { public class AutoCompleteRequest : Request { private string _wordToComplete; public string WordToComplete { get { return _wordToComplete ?? ""; } set { _wordToComplete...
using OmniSharp.Common; namespace OmniSharp.AutoComplete { public class AutoCompleteRequest : Request { public string WordToComplete { get; set; } } }
mit
C#
dfb8f0848a02a940eafbc8fc81a03d5245757683
Check disposed
FICTURE7/unicorn-net,FICTURE7/unicorn-net
src/Unicorn.Net/x86/x86Emulator.cs
src/Unicorn.Net/x86/x86Emulator.cs
namespace Unicorn.x86 { /// <summary> /// Represents an x86 architecture <see cref="Emulator"/>. /// </summary> public class x86Emulator : Emulator { /// <summary> /// Initializes a new instance of the <see cref="x86Emulator"/> class with the specified /// <see cref...
namespace Unicorn.x86 { /// <summary> /// Represents an x86 architecture <see cref="Emulator"/>. /// </summary> public class x86Emulator : Emulator { /// <summary> /// Initializes a new instance of the <see cref="x86Emulator"/> class with the specified /// <see cref...
mit
C#
e23cbdb5377a16b6b33e8977c8b9b2adc1ee67c5
Add test
sakapon/Samples-2017
ProxySample/TransparentHttpConsole/Program.cs
ProxySample/TransparentHttpConsole/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace TransparentHttpConsole { class Program { static void Main(string[] args) { var zipCloud = HttpProxy.CreateProxy<IZipCloudService>(); Console.WriteLine(zipCloud.Get("6020881")); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TransparentHttpConsole { class Program { static void Main(string[] args) { } } }
mit
C#
b536c54b91858a202cab6916731abf27cd344be2
Stop button presses on strike
CaitSith2/ktanemod-twitchplays,ashbash1987/ktanemod-twitchplays
Assets/Scripts/ComponentSolvers/Modded/CryptographyComponentSolver.cs
Assets/Scripts/ComponentSolvers/Modded/CryptographyComponentSolver.cs
using System; using System.Collections; using System.Linq; using System.Reflection; using UnityEngine; public class CryptographyComponentSolver : ComponentSolver { public CryptographyComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller...
using System; using System.Collections; using System.Linq; using System.Reflection; using UnityEngine; public class CryptographyComponentSolver : ComponentSolver { public CryptographyComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller...
mit
C#
ff14a0c80c8a0451e8769e45d9bd6cccf693dc1e
Add null check
yellowfeather/DbfReader
src/DbfDataReader/DbfValueMemo.cs
src/DbfDataReader/DbfValueMemo.cs
using System.IO; namespace DbfDataReader { public class DbfValueMemo : DbfValueString { private readonly DbfMemo _memo; public DbfValueMemo(int length, DbfMemo memo) : base(length) { _memo = memo; } public override void Read(BinaryReader binary...
using System.IO; namespace DbfDataReader { public class DbfValueMemo : DbfValueString { private readonly DbfMemo _memo; public DbfValueMemo(int length, DbfMemo memo) : base(length) { _memo = memo; } public override void Read(BinaryReader binary...
mit
C#
5bcccad3fc9c243e30c77d64795353ffcdca8273
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
mit
C#
01f9292750e75aa2f27bfab689c447c4f7b4907c
test fix
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Burst/BurstStageTest.cs
resharper/resharper-unity/test/src/CSharp/Daemon/Stages/Burst/BurstStageTest.cs
using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.BurstCodeAnalysis.Highlightings; using JetBrains.ReSharper.Psi; using NUnit.Framework; namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Burst { ...
using JetBrains.Application.Settings; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Plugins.Unity.CSharp.Daemon.Stages.BurstCodeAnalysis.Highlightings; using JetBrains.ReSharper.Psi; using NUnit.Framework; namespace JetBrains.ReSharper.Plugins.Unity.Tests.CSharp.Daemon.Stages.Burst { ...
apache-2.0
C#
eb1288f79724019c631b3d8911b161f1195d2bbe
Implement AppHarborClient#GetUser
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResult<string> CreateApplication(string...
using System; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResult<string> CreateApplication(string...
mit
C#
b2cd9835c157faa07c21ae116caf72168f573003
Make sure that the ViewResultFoundStatusMessage implements correct interface
peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse...
src/Glimpse.Agent.Web/Providers/Mvc/Messages/ViewResultFoundStatusMessage.cs
src/Glimpse.Agent.Web/Providers/Mvc/Messages/ViewResultFoundStatusMessage.cs
using System.Collections.Generic; namespace Glimpse.Agent.AspNet.Mvc.Messages { public class ViewResultFoundStatusMessage : IActionViewMessage { public string ActionId { get; set; } public string ActionName { get; set; } public string ControllerName { get; set; } public stri...
using System.Collections.Generic; namespace Glimpse.Agent.AspNet.Mvc.Messages { public class ViewResultFoundStatusMessage { public string ActionId { get; set; } public string ActionName { get; set; } public string ControllerName { get; set; } public string ViewName { get; se...
mit
C#
22d73c508ce64bb8353d21b70ca9ef5360007a85
Add --map command to launcher to help with debugging
feliwir/openSage,feliwir/openSage
src/OpenSage.Launcher/Program.cs
src/OpenSage.Launcher/Program.cs
using System.CommandLine; using System.Linq; using OpenSage.Data; using OpenSage.Mods.BuiltIn; using OpenSage.Network; namespace OpenSage.Launcher { public static class Program { public static void Main(string[] args) { var noShellMap = false; var definition = GameDefin...
using OpenSage.Data; using OpenSage.Mods.BuiltIn; using System.CommandLine; using System.Linq; namespace OpenSage.Launcher { public static class Program { public static void Main(string[] args) { var noShellMap = false; var definition = GameDefinition.FromGame(SageGame....
mit
C#
6c56df8e13b9ff4555106b463b021e4ae7be5951
add more info there
tugberkugurlu/BonVoyage,tugberkugurlu/BonVoyage
src/BonVoyage/BonVoyageContext.cs
src/BonVoyage/BonVoyageContext.cs
using BonVoyage.Infrastructure; using System; using System.Net.Http; namespace BonVoyage { public class BonVoyageContext : IDisposable { private readonly HttpMessageHandler _handler; public BonVoyageContext() : this(CreateHandler()) { } public BonVoyageC...
using BonVoyage.Infrastructure; using System; using System.Net.Http; namespace BonVoyage { public class BonVoyageContext : IDisposable { private readonly HttpMessageHandler _handler; public BonVoyageContext() : this(CreateHandler()) { } public BonVoyageC...
mit
C#
c1a4486cd0bd33b381c1435d1782daf015d0640f
Update UriExtensions.cs
IAmAnubhavSaini/RedditSharp,nyanpasudo/RedditSharp,pimanac/RedditSharp,RobThree/RedditSharp,SirCmpwn/RedditSharp,tomnolan95/RedditSharp,Jinivus/RedditSharp,CrustyJew/RedditSharp,justcool393/RedditSharp-1,ekaralar/RedditSharpWindowsStore,chuggafan/RedditSharp-1,epvanhouten/RedditSharp,angelotodaro/RedditSharp,theonlylaw...
RedditSharp/UriExtensions.cs
RedditSharp/UriExtensions.cs
using System; using System.Web; namespace RedditSharp { public static class UriExtensions { /// <summary> /// Adds the specified parameter to the Query String. /// </summary> /// <param name="url"></param> /// <param name="paramName">Name of the parameter to add.</param>...
using System; using System.Web; namespace RedditSharp { public static class UriExtensions { /// <summary> /// Adds the specified parameter to the Query String. /// </summary> /// <param name="url"></param> /// <param name="paramName">Name of the parameter to add.</param>...
mit
C#
cf954766b6cadec65cdcfc42211dfa58129430d2
Remove sticky note 'Patron's Trophy'
croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-a...
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> Recent Updates </h1> <ul> <li>Link to Association Croquet World Rankings added to <a href="/disciplines/association-croquet/r...
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content yellow"> <h1> Patron's Trophy </h1> <p> Entries for Parton's Trophy close Thursday, 2nd June 2016. <a href="/tournaments">Learn more</a> o...
mit
C#
4cbd0935c8cdcaba9d534395d1346a8e82a42cd9
Build the builder in order to create the receiver
RockFramework/RockLib.Configuration
RockLib.Configuration.MessagingProvider/RockLibMessagingProviderExtensions.cs
RockLib.Configuration.MessagingProvider/RockLibMessagingProviderExtensions.cs
using Microsoft.Extensions.Configuration; using RockLib.Messaging; namespace RockLib.Configuration.MessagingProvider { public static class RockLibMessagingProviderExtensions { public static IConfigurationBuilder AddRockLibMessagingProvider(this IConfigurationBuilder builder, string scenarioName) => ...
using Microsoft.Extensions.Configuration; using RockLib.Messaging; namespace RockLib.Configuration.MessagingProvider { public static class RockLibMessagingProviderExtensions { public static IConfigurationBuilder AddRockLibMessagingProvider(this IConfigurationBuilder builder, string scenarioName) => ...
mit
C#
079e8a44ed3fc2a1f3691e12c9ed4acfa805eafe
Adjust font size of data list page
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Zk/Views/Crop/Index.cshtml
Zk/Views/Crop/Index.cshtml
@model IEnumerable<Zk.Models.Crop> @{ ViewBag.Title = "Gewassen"; } <h2>Dit zijn de gewassen in de database:</h2> <table style="font-size: 12px;"> <tr> <th>Id</th><th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th> <th>Opp. per zak</th><th>Prijs per zakje</th><th>Zaaimaanden</th><th>Oog...
@model IEnumerable<Zk.Models.Crop> @{ ViewBag.Title = "Gewassen"; } <h2>Dit zijn de gewassen in de database:</h2> <table class="table table-striped"> <tr> <th>Id</th><th>Naam</th><th>Ras</th><th>Categorie</th><th>Opp. per 1</th> <th>Opp. per zak</th><th>Prijs per zakje</th><th>Zaaimaanden</th><th>...
mit
C#
53ebd93048457bead0b9cbddc6dd3030fe81ce4f
Test Update
ramyothman/DotNetAnalyticsAPI
SimpleAnalytics/AnalyticsTest/Default.aspx.cs
SimpleAnalytics/AnalyticsTest/Default.aspx.cs
using Google.Apis.Auth.OAuth2; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AnalyticsTest { public partial class Default : System.Web.UI.Page { p...
using Google.Apis.Auth.OAuth2; using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace AnalyticsTest { public partial class Default : System.Web.UI.Page { p...
mit
C#
5209e24a933d8963fe2b58c9275b14da46f667dc
Make IVostokHostingEnvironment props readonly
vostok/core
Vostok.Hosting.Core/IVostokHostingEnvironment.cs
Vostok.Hosting.Core/IVostokHostingEnvironment.cs
using System.Threading; using Microsoft.Extensions.Configuration; using Vostok.Airlock; using Vostok.Logging; using Vostok.Metrics; namespace Vostok.Hosting { public interface IVostokHostingEnvironment { string Project { get; } string Environment { get; } string Service { get; } ...
using System.Threading; using Microsoft.Extensions.Configuration; using Vostok.Airlock; using Vostok.Logging; using Vostok.Metrics; namespace Vostok.Hosting { public interface IVostokHostingEnvironment { string Project { get; set; } string Environment { get; set; } string Service { get...
mit
C#