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
815df34fe4c52ab4d6b339c6da3ce59493931d3d
Fix in DummyPlayer
studware/Ange-Git,NikolayIT/SantaseGameEngine,studware/Ange-Git,studware/Ange-Git
Source/AI/Santase.AI.DummyPlayer/DummyPlayer.cs
Source/AI/Santase.AI.DummyPlayer/DummyPlayer.cs
namespace Santase.AI.DummyPlayer { using System.Linq; using Santase.Logic.Extensions; using Santase.Logic.Players; /// <summary> /// This dummy player follows the rules and always plays random card. /// Dummy never changes the trump or closes the game. /// </summary> public class ...
namespace Santase.AI.DummyPlayer { using System.Linq; using Santase.Logic.Extensions; using Santase.Logic.Players; /// <summary> /// This dummy player follows the rules and always plays random card. /// Dummy never changes the trump or closes the game. /// </summary> public class ...
mit
C#
9cffab6ae32d16cfe001706b12fc37243c4d3bf8
Update copyright year
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/Properties/AssemblyInfo.cs
SteamAccountSwitcher/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("Steam Account Switc...
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("Steam Account Switc...
mit
C#
5a046bab385ffa2afb11709d4f38b73c695e8b15
Add InMemoryCacheTest.GetOrAdd() Add InMemoryCacheTest.Remove()
superkarn/RatanaLibrary
Tests.RatanaLibrary.Common/Cache/NoCacheTest.cs
Tests.RatanaLibrary.Common/Cache/NoCacheTest.cs
using NUnit.Framework; using RatanaLibrary.Common.Cache; using System; namespace Tests.RatanaLibrary.Common.Cache { [TestFixture] public class NoCacheTest { [Test] public void GetOrAdd() { #region Arrange // Set up some variables var cacheKey = "...
using NUnit.Framework; using System; namespace Tests.RatanaLibrary.Common.Cache { [TestFixture] public class NoCacheTest { [Test] public void GetOrAdd() { throw new NotImplementedException(); } [Test] public void Remove() { t...
apache-2.0
C#
417fac403938326d29e31991f3a1ffa0b286c056
fix getCountry
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/Platform/Region/Plugins/PlatformRegion.cs
Unity/Platform/Region/Plugins/PlatformRegion.cs
/** MIT License Copyright (c) 2017 - 2021 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
/** MIT License Copyright (c) 2017 - 2021 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
mit
C#
d8c7e969005ca4fb56fe59252883d993b8a2e21f
bump assembly version
ssg/HashDepot
src/Properties/AssemblyInfo.cs
src/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("Ha...
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("Ha...
mit
C#
5e7f7f48e10e43de56535390c294e051dc7b890e
Fix logger category name for BackChannelLogoutHttpClient (#4129)
IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4
src/IdentityServer4/src/Services/Default/BackChannelLogoutHttpClient.cs
src/IdentityServer4/src/Services/Default/BackChannelLogoutHttpClient.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Extensions.Logging; name...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Extensions.Logging; name...
apache-2.0
C#
36706f4abb2a00c701ce7227538178f1f43d163f
Update name
roberthardy/Synthesis,kamsar/Synthesis
Source/SharedAssemblyInfo.cs
Source/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyCompany("Connective DX")] [assembly: AssemblyProduct("Synthesis")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("8.1.1.0")] [assembly: AssemblyFileVersion("8.1.1.0")] [assembly: AssemblyInformationalVersion("8....
using System.Reflection; using System.Runtime.InteropServices; using System; [assembly: AssemblyCompany("ISITE Design")] [assembly: AssemblyProduct("Synthesis")] [assembly: AssemblyCopyright("Copyright © Kam Figy, ISITE Design")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("8.1.1.0")] [assembly: Assembly...
mit
C#
b8211929271433265304cc83661e4f2015eccb04
Prepare 0.6.3 release
LouisTakePILLz/ArgumentParser
ArgumentParser/Properties/AssemblyInfo.cs
ArgumentParser/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("ArgumentParser")] [assembly: AssemblyDescr...
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("ArgumentParser")] [assembly: AssemblyDescr...
apache-2.0
C#
9dfdd2d82accc57b8aa6f0a8a656ff41ac094544
add a space in PredicateSegment.cs
sdcb/ibatis2sdmap
ibatis2sdmap/src/ibatis2sdmap/SqlSegments/PredicateSegment.cs
ibatis2sdmap/src/ibatis2sdmap/SqlSegments/PredicateSegment.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; namespace ibatis2sdmap.SqlSegments { public class PredicateSegment : SqlSegment { public string MacroName { get; } public string Property { get; } public string[] P...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Xml.Linq; namespace ibatis2sdmap.SqlSegments { public class PredicateSegment : SqlSegment { public string MacroName { get; } public string Property { get; } public string[] P...
mit
C#
41c075d378adf9924d020685328948b49d57bb58
Allow user to move in single direction
PearMed/Pear-Interaction-Engine
Assets/Pear.InteractionEngine/Scripts/Interactions/EventHandlers/Move.cs
Assets/Pear.InteractionEngine/Scripts/Interactions/EventHandlers/Move.cs
using Pear.InteractionEngine.Properties; using Pear.InteractionEngine.Utils; using System.Collections.Generic; using UnityEngine; namespace Pear.InteractionEngine.Interactions.EventHandlers { /// <summary> /// Move based on the change in property value /// </summary> public class Move : MonoBehaviour, IGameObject...
using Pear.InteractionEngine.Properties; using Pear.InteractionEngine.Utils; using System.Collections.Generic; using UnityEngine; namespace Pear.InteractionEngine.Interactions.EventHandlers { /// <summary> /// Move based on the change in property value /// </summary> public class Move : MonoBehaviour,...
mit
C#
7baf5aa067a91ceac505b2067ffc3672bfd0d3bb
Fix camera flip bug at x=0
Divegato/small-world
Assets/Scripts/SelfLevelingController.cs
Assets/Scripts/SelfLevelingController.cs
using Assets.Scripts.Helpers; using UnityEngine; public class SelfLevelingController : MonoBehaviour { private Rigidbody2D body; void Start() { body = GetComponent<Rigidbody2D>(); } void Update() { var force = Environment.GetAverageGravitationalForce(body); transform....
using System.Linq; using Assets.Scripts.Helpers; using UnityEngine; public class SelfLevelingController : MonoBehaviour { public float MaxRotateAngle = 0.25f; void Start() { } void Update() { var body = GetComponent<Rigidbody2D>(); var force = Environment.GetAverageGravitati...
mit
C#
6455172fc0b1e7a8f585bb26338a1422520c69db
make all methods async
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/Controllers/PackageController.cs
NuCache/Controllers/PackageController.cs
using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; using System.Web.Http; using System.Xml.Linq; using NuCache.Infrastructure; namespace NuCache.Controllers { public class PackagesController : ApiController { private readonly...
using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Reflection; using System.Threading.Tasks; using System.Web.Http; using System.Xml.Linq; using NuCache.Infrastructure; namespace NuCache.Controllers { public class PackagesController : ApiController { private readonly...
lgpl-2.1
C#
b2d2541d877cada6466c77611631b99d8dd39c4d
Enable nullablE for `System.Management.Automation.Provider.IContentReader` (#14151)
daxian-dbw/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1...
src/System.Management.Automation/namespaces/IContentReader.cs
src/System.Management.Automation/namespaces/IContentReader.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.IO; #nullable enable namespace System.Management.Automation.Provider { #region IContentReader /// <summary> /// A Cmdlet provider that implements the IContentCmdletProvider interface must pro...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.IO; namespace System.Management.Automation.Provider { #region IContentReader /// <summary> /// A Cmdlet provider that implements the IContentCmdletProvider interface must provide an /// o...
mit
C#
719fb7d9cb74b52042e89eb78f81324bc3e3acaf
Add abstract base class SettingProperty without type parameters.
PenguinF/sandra-three
Sandra.UI.WF/Settings/SettingProperty.cs
Sandra.UI.WF/Settings/SettingProperty.cs
/********************************************************************************* * SettingProperty.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
/********************************************************************************* * SettingProperty.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a co...
apache-2.0
C#
bc4ecccd56c68856055290415203fcdaa0b50fec
Remove the async runmode on swag since every command is async
Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2
SoraBot/SoraBot.Bot/Modules/FunModule.cs
SoraBot/SoraBot.Bot/Modules/FunModule.cs
using System; using System.Threading.Tasks; using Discord; using Discord.Commands; using SoraBot.Common.Extensions.Modules; namespace SoraBot.Bot.Modules { [Name("Fun")] [Summary("A bunch of fun and useless commands.")] public class FunModule : SoraSocketCommandModule { [Command("ruined"), Ali...
using System; using System.Threading.Tasks; using Discord; using Discord.Commands; using SoraBot.Common.Extensions.Modules; namespace SoraBot.Bot.Modules { [Name("Fun")] [Summary("A bunch of fun and useless commands.")] public class FunModule : SoraSocketCommandModule { [Command("ruined"), Ali...
agpl-3.0
C#
bc9578e8eac8a3c97aa08bc2d3fce3cdba775300
Update the FluentModelValidator in Samples
canton7/Stylet,canton7/Stylet
Samples/Stylet.Samples.ModelValidation/FluentModelValidator.cs
Samples/Stylet.Samples.ModelValidation/FluentModelValidator.cs
using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet.Samples.ModelValidation { public class FluentModelValidator<T> : IModelValidator<T> { private readonly IValidator<T> validator; private T...
using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet.Samples.ModelValidation { public class FluentModelValidator<T> : IModelValidator<T> { private readonly IValidator<T> validator; private T...
mit
C#
5cbd45fa4af7fe6303615898114f46238e0698b2
Add implementation for argument exceptions for serializing.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Services/TraktSerializationService.cs
Source/Lib/TraktApiSharp/Services/TraktSerializationService.cs
namespace TraktApiSharp.Services { using Authentication; using System; /// <summary>Provides helper methods for serializing and deserializing Trakt objects.</summary> public static class TraktSerializationService { public static string Serialize(TraktAuthorization authorization) { ...
namespace TraktApiSharp.Services { using Authentication; /// <summary>Provides helper methods for serializing and deserializing Trakt objects.</summary> public static class TraktSerializationService { public static string Serialize(TraktAuthorization authorization) { return...
mit
C#
cd3a1cfa1221da1a118eb4b9490c9f2cf010464d
Add Snake Case Contract resolver
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip...
lookups/lookup-get-addon-payfone-example-1/lookup-get-addon-payfone-1.cs
lookups/lookup-get-addon-payfone-example-1/lookup-get-addon-payfone-1.cs
using Newtonsoft.Json; using RestSharp; using RestSharp.Authenticators; using Newtonsoft.Json.Serialization; // Download the twilio-csharp library from twilio.com/docs/csharp/install using System; class Example { static void Main(string[] args) { // The C# helper library will support Add-ons in June 2016, fo...
using Newtonsoft.Json; using RestSharp; using RestSharp.Authenticators; // Download the twilio-csharp library from twilio.com/docs/csharp/install using System; class Example { static void Main(string[] args) { // The C# helper library will support Add-ons in June 2016, for now we'll use a simple RestSharp HTT...
mit
C#
80b484078741c66cc93930b5f745a3d4a88fa2a0
add missing exception details for dynamic table entity. additional commit for #9
BhupinderAnand/log4net.azure,GrzegorzBlok/log4net.Azure,baumerik/log4net.Azure,stemarie/log4net.Azure
log4net.Azure/AzureDynamicLoggingEventEntity.cs
log4net.Azure/AzureDynamicLoggingEventEntity.cs
using System; using System.Collections; using System.Globalization; using log4net.Core; namespace log4net.Appender { internal sealed class AzureDynamicLoggingEventEntity : ElasticTableEntity { public AzureDynamicLoggingEventEntity(LoggingEvent e) { this["Domain"] = e.Domain; ...
using System; using System.Collections; using System.Globalization; using log4net.Core; namespace log4net.Appender { internal sealed class AzureDynamicLoggingEventEntity : ElasticTableEntity { public AzureDynamicLoggingEventEntity(LoggingEvent e) { this["Domain"] = e.Domain; ...
mit
C#
c1e36065a14bd356a120df5d7566516e326edbda
Update to make hidden input for token self-closing
nikmd23/CourtesyFlush,nikmd23/CourtesyFlush,nikmd23/CourtesyFlush
source/CourtesyFlush/HtmlHelperExtension.cs
source/CourtesyFlush/HtmlHelperExtension.cs
using System.Web.Mvc; using System.Web.Mvc.Html; using CourtesyFlush; namespace System.Web.WebPages { public static class HtmlHelperExtension { public static MvcHtmlString FlushHead(this HtmlHelper html) { return FlushHead(html, null); } public static MvcHtmlString...
using System.Web.Mvc; using System.Web.Mvc.Html; using CourtesyFlush; namespace System.Web.WebPages { public static class HtmlHelperExtension { public static MvcHtmlString FlushHead(this HtmlHelper html) { return FlushHead(html, null); } public static MvcHtmlString...
apache-2.0
C#
8cf4837353ff95bd9ec0f7006b3875ac9971055f
Implement diagnostic SA1411 AttributeConstructorMustNotUseUnnecessaryParenthesis (fixes #100)
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1411AttributeConstructorMustNotUseUnnecessaryParenthesis.cs
StyleCop.Analyzers/StyleCop.Analyzers/MaintainabilityRules/SA1411AttributeConstructorMustNotUseUnnecessaryParenthesis.cs
namespace StyleCop.Analyzers.MaintainabilityRules { using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; /// <summary> /// TODO. /// </summary> //...
namespace StyleCop.Analyzers.MaintainabilityRules { using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; /// <summary> /// TODO. /// </summary> /// <remarks> /// <para>TODO</para> /// /// <para>A violation of this rule occu...
mit
C#
43eec4e1f237ea8877f4d90cecd05be6307b0902
Fix syntax
nikeee/HolzShots
src/HolzShots.Capture.Video/Capture/Video/FFmpeg/HttpClientExtensions.cs
src/HolzShots.Capture.Video/Capture/Video/FFmpeg/HttpClientExtensions.cs
using System; using System.Net.Http; using System.IO; using System.Threading.Tasks; using HolzShots.Net; using System.Threading; namespace HolzShots.Capture.Video.FFmpeg { /// <summary> Ref: https://stackoverflow.com/a/46497896 </summary> public static class HttpClientExtensions { public static as...
using System; using System.Net.Http; using System.IO; using System.Threading.Tasks; using HolzShots.Net; using System.Threading; namespace HolzShots.Capture.Video.FFmpeg { /// <summary> Ref: https://stackoverflow.com/a/46497896 </summary> public static class HttpClientExtensions { public static as...
agpl-3.0
C#
a19981e7d8912e64276cd2bf4684ef38cdb23b8f
update vs to release
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/AppleseedProxy/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/AppleseedProxy/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("Ap...
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("Ap...
apache-2.0
C#
2195235d64d6e5e549d39e70c20608e0cbcdee3c
Update ITrigger.cs
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactivity/ITrigger.cs
src/Avalonia.Xaml.Interactivity/ITrigger.cs
namespace Avalonia.Xaml.Interactivity; /// <summary> /// Interface implemented by all custom triggers. /// </summary> public interface ITrigger : IBehavior { /// <summary> /// Gets the collection of actions associated with the behavior. /// </summary> ActionCollection Actions { get; } }
namespace Avalonia.Xaml.Interactivity; /// <summary> /// Interface implemented by all custom triggers. /// </summary> public interface ITrigger : IBehavior { /// <summary> /// Gets the collection of actions associated with the behavior. /// </summary> ActionCollection? Actions { get; } }
mit
C#
24877b09d9b53e23d8862b9711db59b981431de4
Tidy up bootstrapper
DSaunders/EasyEvents
src/EasyEvents.SampleWebApp/Bootstrapper.cs
src/EasyEvents.SampleWebApp/Bootstrapper.cs
namespace EasyEvents.SampleWebApp { using Core; using Core.ClientInterfaces; using Core.Configuration; using Core.Stores; using Events.AppEvents; using Events.AppEvents.Handlers; using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; public class Bootstrapper :...
namespace EasyEvents.SampleWebApp { using Core; using Core.ClientInterfaces; using Core.Configuration; using Core.Stores; using Events.AppEvents; using Events.AppEvents.Handlers; using Nancy; using Nancy.Bootstrapper; using Nancy.TinyIoc; public class Bootstrapper :...
mit
C#
1697dd786e617997236c23a928b9bf3b7b284631
Allow access to the Data object
perrich/Hangfire.MemoryStorage
src/Hangfire.MemoryStorage/MemoryStorage.cs
src/Hangfire.MemoryStorage/MemoryStorage.cs
using System.Collections.Generic; using Hangfire.MemoryStorage.Database; using Hangfire.Server; using Hangfire.Storage; namespace Hangfire.MemoryStorage { public class MemoryStorage : JobStorage { private readonly MemoryStorageOptions _options; public Data Data { get; } public Memory...
using System.Collections.Generic; using Hangfire.MemoryStorage.Database; using Hangfire.Server; using Hangfire.Storage; namespace Hangfire.MemoryStorage { public class MemoryStorage : JobStorage { private readonly MemoryStorageOptions _options; private readonly Data _data; public Memo...
apache-2.0
C#
daf7191c7c79b8acfd446fb21bf0cb4f2389087b
fix exception
Franklin89/Blog,Franklin89/Blog
src/MLSoftware.Web/Services/EmailService.cs
src/MLSoftware.Web/Services/EmailService.cs
using System.Threading.Tasks; using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace MLSoftware.Web.Services { public class EmailService : IEmailService { private readonly IHostingEnvironment _hostingEnviroment; privat...
using System.Threading.Tasks; using System; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; namespace MLSoftware.Web.Services { public class EmailService : IEmailService { private readonly IHostingEnvironment _hostingEnviroment; privat...
mit
C#
c581d6d9ff0509e79b784bfb2452f80c8fd96e40
update forattribute see cref reference
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/CommonAbstractions/ForAttribute.cs
src/Nest/CommonAbstractions/ForAttribute.cs
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using Elastic.Transport; namespace Nest { /// <summary> /// Makes it explicit which API this requ...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; namespace Nest { /// <summary> /// Makes it explicit which API this request interface maps, the n...
apache-2.0
C#
a70344d410458aeb0382e2f53076e5c077154946
Add keep_values gap policy (#5802) (#5807)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Aggregations/Pipeline/GapPolicy.cs
src/Nest/Aggregations/Pipeline/GapPolicy.cs
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum GapPolic...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum GapPolic...
apache-2.0
C#
dfe92a0a3509a8d657c97b81bf91b8d66529a69b
Update assembly info
stevengum97/BotBuilder,yakumo/BotBuilder,dr-em/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,stevengum97/BotBuilder,yakumo/BotBuilder,msft-shahins/BotBuilder,mmatkow/BotBuilder,dr-em/BotBuilder,dr-em/BotBuilder,xiangyan99/BotBuilder,dr-em/BotBuilder,mmatkow/BotBuilder,yakumo/BotBuilder,Clairety/ConnectMe,Clai...
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#
c8d7051a954b09356c33fd2db83bbcfdfddc3ac8
Remove debug.
hulyman/circles
Assets/Scripts/Behaviors/Circle.cs
Assets/Scripts/Behaviors/Circle.cs
using UnityEngine; using System.Collections; public class Circle : MonoBehaviour { /** * Задает цвет для спрайта. */ void SetColor (Color color) { SpriteRenderer spriteRenderer = GetComponent<SpriteRenderer> (); spriteRenderer.color = color; } /** * Уничтожает объект и сообщаем об этом. */ void Poof...
using UnityEngine; using System.Collections; public class Circle : MonoBehaviour { void SetColor (Color color) { SpriteRenderer spriteRenderer = GetComponent<SpriteRenderer> (); spriteRenderer.color = color; } void OnMouseDown() { Debug.Log ("Clicked"); Poof (); } void Poof(){ EventManager.CirclePoof...
apache-2.0
C#
eab9a1d73c243292a47440d3c129e6112f49ad98
Add getter and setter to AdvancingText.advanceSpeed
Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Scripts/UI/AdvancingText.cs
Assets/Scripts/UI/AdvancingText.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Events; using TMPro; public class AdvancingText : MonoBehaviour { [SerializeField] private float advanceSpeed; [SerializeField] private UnityEvent onComplete; private TMP_Te...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Events; using TMPro; public class AdvancingText : MonoBehaviour { [SerializeField] private float advanceSpeed; [SerializeField] private UnityEvent onComplete; private TMP_Te...
mit
C#
0ba6b67de3af08c5e645af5990bc76244e70f12e
Fix default car always skiding in reverse
Nition/UnitySkidmarks
Assets/UnitySkidmarks/WheelSkid.cs
Assets/UnitySkidmarks/WheelSkid.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; // Example skid script. Put this on a WheelCollider. // Copyright 2017 Nition, BSD licence (see LICENCE file). http://nition.co [RequireComponent(typeof(WheelCollider))] public class WheelSkid : MonoBehaviour { // INSPECTOR SETTINGS [S...
using System.Collections; using System.Collections.Generic; using UnityEngine; // Example skid script. Put this on a WheelCollider. // Copyright 2017 Nition, BSD licence (see LICENCE file). http://nition.co [RequireComponent(typeof(WheelCollider))] public class WheelSkid : MonoBehaviour { // INSPECTOR SETTINGS [S...
bsd-2-clause
C#
100774db159e6670b41f043f9dd7e965eee5e997
Fix Default code identation
cesardeazevedo/Unity3D-Python-Editor,cesardeazevedo/Unity3D-Python-Editor
Assets/src/PythonBase.cs
Assets/src/PythonBase.cs
using UnityEngine; using System.Collections.Generic; [System.Serializable] public class PythonBase : MonoBehaviour { /// <summary> /// The path of file /// </summary> public string FilePath; /// <summary> /// The name of the file. /// </summary> public string FileName = "Untitled.py...
using UnityEngine; using System.Collections.Generic; [System.Serializable] public class PythonBase : MonoBehaviour { /// <summary> /// The path of file /// </summary> public string FilePath; /// <summary> /// The name of the file. /// </summary> public string FileName = "Untitled.py...
mit
C#
7daddb44dfc279f89c055e56cddca7e46c7767c6
remove usings.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
WalletWasabi.Gui/Shell/Commands/ToolCommands.cs
using AvalonStudio.Commands; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using WalletWasabi.Gui.Tabs.WalletManager; namespace WalletWasabi.Gui.Shell.Commands { internal class ToolCommands { public ToolCommands() { WalletManagerCommand = new CommandDefinition( "Wallet Man...
using AvalonStudio.Commands; using AvalonStudio.Extensibility; using AvalonStudio.Shell; using ReactiveUI; using System; using System.Collections.Generic; using System.Text; using WalletWasabi.Gui.Tabs; namespace WalletWasabi.Gui.Shell.Commands { internal class ToolCommands { public ToolCommands() { WalletMa...
mit
C#
2b77135b8f80a22f37b8a60c6f34d2482ffc90ec
bump version to 0.1.0
peters/assemblyinfo
src/assemblyinfo/Properties/AssemblyInfo.cs
src/assemblyinfo/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("as...
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("as...
mit
C#
14a797542cbfc522d95869ffe06490af9ee62bfb
Add spec to verify resource leak in temp container when ask operation times out.
eisendle/akka.net,eisendle/akka.net
src/core/Akka.Tests/Actor/AskTimeoutSpec.cs
src/core/Akka.Tests/Actor/AskTimeoutSpec.cs
//----------------------------------------------------------------------- // <copyright file="AskTimeoutSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> ...
//----------------------------------------------------------------------- // <copyright file="AskTimeoutSpec.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyright> ...
apache-2.0
C#
1bf63b826b2114422cdfb729270bd7faf3cbe8d5
Remove unnecessary Time component of IDrawable
Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,RedNesto/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,RedNesto/osu-framework,ppy/osu-framework,naoey/osu-framework,Nabile-Rahmani/osu-framework,peppy/osu-framework,paparony...
osu.Framework/Graphics/IDrawable.cs
osu.Framework/Graphics/IDrawable.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Lists; using osu.Framework.Timing; using OpenTK; namespace osu.Framework.Graphics { ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Lists; using osu.Framework.Timing; using OpenTK; namespace osu.Framework.Graphics { ...
mit
C#
c2af0a4afaa32347a093a97dfedb6b7ac97b54be
Add SourceMember to IMemberMap
BlaiseD/AutoMapper,lbargaoanu/AutoMapper,AutoMapper/AutoMapper,AutoMapper/AutoMapper
src/AutoMapper/IMemberMap.cs
src/AutoMapper/IMemberMap.cs
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { public interface IMemberMap { TypeMap TypeMap { get; } Type SourceType { get; } IEnumerable<MemberInfo> SourceMembers { get; } LambdaExpression CustomSo...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; namespace AutoMapper { public interface IMemberMap { TypeMap TypeMap { get; } Type SourceType { get; } IEnumerable<MemberInfo> SourceMembers { get; } LambdaExpression CustomSo...
mit
C#
bedb744a2e067a53d6aa5fdcbc1c6ede16245b9e
Add parentheses
ppy/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,ppy/osu,peppy/o...
osu.Game/Screens/Play/DimmableStoryboard.cs
osu.Game/Screens/Play/DimmableStoryboard.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Graphics.Containers; using osu.Game.Storyboards; using osu.Game.Storyboards.Drawables; namespace osu.Game.Screens.Play { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Game.Graphics.Containers; using osu.Game.Storyboards; using osu.Game.Storyboards.Drawables; namespace osu.Game.Screens.Play { ...
mit
C#
83837d3e8f78dba58efe270d888bd8aa40c0f2ee
Fix tests in CI
mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
Modix.Data.Test/TestDataContextFactory.cs
Modix.Data.Test/TestDataContextFactory.cs
using System; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using NSubstitute; namespace Modix.Data.Test { public static class TestDataContextFactory { public static ModixContext BuildTestDataContext(Action<ModixContext> initializeAction = n...
using System; using System.Linq; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Diagnostics; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Console; using NSubstitute; namespace Modix.Data.Test { public static class TestDataContextFactory { public st...
mit
C#
c24b3e5050d858b432e0b83fd76cdc49b435dd7c
Set tooltips on server meters
k-t/SharpHaven
MonoHaven.Client/UI/Remote/ServerMeter.cs
MonoHaven.Client/UI/Remote/ServerMeter.cs
using System.Collections.Generic; using System.Drawing; using MonoHaven.Game; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerMeter : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var metrics = new List<Metric>(); var resN...
using System.Collections.Generic; using System.Drawing; using MonoHaven.Game; using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerMeter : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var metrics = new List<Metric>(); var resN...
mit
C#
15a7452756a2022e581bbada94221d6013f937e6
Fix editor class
bartlomiejwolk/OnCollisionActivate
Editor/GameObjectActivateEditor.cs
Editor/GameObjectActivateEditor.cs
using UnityEngine; using System.Collections; using UnityEditor; using Rotorz.ReorderableList; namespace OneDayGame { [CustomEditor(typeof(GameObjectActivate))] public class GameObjectActivateEditor : Editor { private SerializedProperty _objsToEnable; private void OnEnable() { _objsToEnable = serializedObj...
using UnityEngine; using System.Collections; using UnityEditor; using Rotorz.ReorderableList; namespace OneDayGame { [CustomEditor(typeof(GameObjectActivate))] public class GameObjectActivateEditor : Editor { private SerializedProperty _collisionComponent; /*private SerializedProperty _tagOption; private Se...
mit
C#
c11a1daa9c44913dda08bb5e61f00901680658f4
Fix warning.
JohanLarsson/Gu.Reactive
Gu.Wpf.Reactive/Collections/NotifyCollectionChangedEventHandlerExt.cs
Gu.Wpf.Reactive/Collections/NotifyCollectionChangedEventHandlerExt.cs
namespace Gu.Wpf.Reactive { using System; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; using System.Windows.Threading; /// <summary> /// Extension methods for <see cref="NotifyCollectionChangedEventHandler"/>. /// </summary> public static c...
namespace Gu.Wpf.Reactive { using System; using System.Collections.Specialized; using System.Linq; using System.Threading.Tasks; using System.Windows.Threading; /// <summary> /// Extension methods for <see cref="NotifyCollectionChangedEventHandler"/>. /// </summary> public static c...
mit
C#
1ee679a209d2ae016746fc07ac6b790c5f880b8e
Update AssemblyInfo.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO/AssemblyInfo.cs
src/RasterIO/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyDescription("Raster I/O for spatial modeling")]
using System.Reflection; [assembly: AssemblyDescription("Raster I/O for spatial modeling")] [assembly: AssemblyCopyright("Copyright 2010-2012 Green Code LLC")]
apache-2.0
C#
65715de428ab795719c564041fb0c99fa058decd
Fix tab expansion for package sources
mrward/monodevelop-nuget-extensions,mrward/monodevelop-nuget-extensions
src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.EnvDTE/ComponentModel.cs
src/MonoDevelop.PackageManagement.PowerShell.ConsoleHost.Core/MonoDevelop.PackageManagement.PowerShell.EnvDTE/ComponentModel.cs
// // ComponentModel.cs // // Author: // Matt Ward <matt.ward@microsoft.com> // // Copyright (c) 2019 Microsoft // // 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 restrictio...
// // ComponentModel.cs // // Author: // Matt Ward <matt.ward@microsoft.com> // // Copyright (c) 2019 Microsoft // // 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 restrictio...
mit
C#
fb91b7ebc8f7cb26415a939c5454858db30b0811
Hide the HtmlBodyPart wysiwyg editor toolbar when the editor doesn't have focus (#2591)
xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,petedavis/Or...
src/OrchardCore.Modules/OrchardCore.Html/Views/HtmlBodyPart-Wysiwyg.Edit.cshtml
src/OrchardCore.Modules/OrchardCore.Html/Views/HtmlBodyPart-Wysiwyg.Edit.cshtml
@model HtmlBodyPartViewModel @using OrchardCore.Html.ViewModels; @using OrchardCore.Html.Settings; @using OrchardCore.ContentManagement.Metadata.Models @{ var settings = Model.TypePartDefinition.Settings.ToObject<HtmlBodyPartSettings>(); } <script asp-name="trumbowyg" depends-on="admin" asp-src="/OrchardCore.Reso...
@model HtmlBodyPartViewModel @using OrchardCore.Html.ViewModels; @using OrchardCore.Html.Settings; @using OrchardCore.ContentManagement.Metadata.Models @{ var settings = Model.TypePartDefinition.Settings.ToObject<HtmlBodyPartSettings>(); } <script asp-name="trumbowyg" depends-on="admin" asp-src="/OrchardCore.Reso...
bsd-3-clause
C#
089d8bfc1b8cf8a7f1f3f790b8288cfabfb3c3b4
Remove `internal-reportinstallsuccess` from `dotnet complete`.
dasMulli/cli,livarcocc/cli-1,johnbeisner/cli,dasMulli/cli,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1,johnbeisner/cli,dasMulli/cli
src/dotnet/commands/dotnet-internal-reportinstallsuccess/InternalReportinstallsuccessCommandParser.cs
src/dotnet/commands/dotnet-internal-reportinstallsuccess/InternalReportinstallsuccessCommandParser.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using Microsoft.DotNet.Cli.CommandLine; namespace Microsoft.DotNet.Cli { internal static class InternalReportinstallsucce...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Linq; using Microsoft.DotNet.Cli.CommandLine; namespace Microsoft.DotNet.Cli { internal static class InternalReportinstallsucce...
mit
C#
dd1252fa54858aeddf2f14fc556b8638f1bcebf1
Add missing specs to RotationFactory
BosslandGmbH/BuddyWing.DefaultCombat
trunk/DefaultCombat/Core/RotationFactory.cs
trunk/DefaultCombat/Core/RotationFactory.cs
// Copyright (C) 2011-2015 Bossland GmbH // See the file LICENSE for the source code's detailed license using System; using System.Reflection; using Buddy.Swtor; using DefaultCombat.Routines; namespace DefaultCombat.Core { public class RotationFactory { public RotationBase Build(string name) { ...
// Copyright (C) 2011-2015 Bossland GmbH // See the file LICENSE for the source code's detailed license using System; using System.Reflection; using Buddy.Swtor; using DefaultCombat.Routines; namespace DefaultCombat.Core { public class RotationFactory { public RotationBase Build(string name) { ...
apache-2.0
C#
eb545c5df1cc41500302e53ea8020aa6bb90cc99
Check if collection is empty before trying to manipulate first element.
rianjs/ical.net
v2/ical.NET.Collections/GroupedValueList.cs
v2/ical.NET.Collections/GroupedValueList.cs
using System; using System.Collections.Generic; using System.Linq; using Ical.Net.Collections.Interfaces; using Ical.Net.Collections.Proxies; namespace Ical.Net.Collections { public class GroupedValueList<TGroup, TInterface, TItem, TValueType> : GroupedList<TGroup, TInterface> where TInterface : c...
using System; using System.Collections.Generic; using System.Linq; using Ical.Net.Collections.Interfaces; using Ical.Net.Collections.Proxies; namespace Ical.Net.Collections { public class GroupedValueList<TGroup, TInterface, TItem, TValueType> : GroupedList<TGroup, TInterface> where TInterface : c...
mit
C#
c1f7c9b1ab7276db6235f359947b2052ea50df0a
Update Bank.cs
owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy,owolp/Telerik-Academy
Modul-1/OOP/Homework/05-OOP-Principles-Part-2/TaskBankAccounts/Models/Bank/Bank.cs
Modul-1/OOP/Homework/05-OOP-Principles-Part-2/TaskBankAccounts/Models/Bank/Bank.cs
namespace TaskBankAccounts.Models.Bank { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using AbstractModels; public class Bank : IEnumerable<Account> { private List<Account> accounts; public Bank() { t...
namespace TaskBankAccounts.Models.Bank { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using AbstractModels; public class Bank : IEnumerable<Account> { private List<Account> accounts; public Bank() { t...
mit
C#
f4d6d9ac3ad8ac7eba2a0dafb8a33f54c38167b9
Replace order of default settings
OrleansContrib/Orleans.Providers.MongoDB
Orleans.Providers.MongoDB/StorageProviders/Serializers/JsonGrainStateSerializer.cs
Orleans.Providers.MongoDB/StorageProviders/Serializers/JsonGrainStateSerializer.cs
using Microsoft.Extensions.Options; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Orleans.Providers.MongoDB.Configuration; using Orleans.Runtime; using Orleans.Serialization; namespace Orleans.Providers.MongoDB.StorageProviders.Serializers { public class JsonGrainStateSerializer : IGrainStateSerializer...
using Microsoft.Extensions.Options; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Orleans.Providers.MongoDB.Configuration; using Orleans.Runtime; using Orleans.Serialization; namespace Orleans.Providers.MongoDB.StorageProviders.Serializers { public class JsonGrainStateSerializer : IGrainStateSerializer...
mit
C#
a0ab21f7dedaf32d543593b150ee202085a67ef8
Update assembly
andreabbondanza/DewDuck
DewDuck/Properties/AssemblyInfo.cs
DewDuck/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
mit
C#
11ea56b77633abdc3ce4f94fc44b18fdab29a879
Add scenario test to check the minimum string length constraint is ignored
Pvlerick/AutoFixture,sean-gilliam/AutoFixture,sergeyshushlyapin/AutoFixture,adamchester/AutoFixture,zvirja/AutoFixture,AutoFixture/AutoFixture,adamchester/AutoFixture,sergeyshushlyapin/AutoFixture
Src/AutoFixtureUnitTest/DataAnnotations/StringLengthArgumentSupportTests.cs
Src/AutoFixtureUnitTest/DataAnnotations/StringLengthArgumentSupportTests.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Ploeh.AutoFixture; using Xunit; namespace Ploeh.AutoFixtureUnitTest.DataAnnotations { public class StringLengthArgumentSupportTests { [Fact] public void Fixt...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Ploeh.AutoFixture; using Xunit; namespace Ploeh.AutoFixtureUnitTest.DataAnnotations { public class StringLengthArgumentSupportTests { [Fact] public void Fixt...
mit
C#
261038adb8b1b9e8f435b2e4c5bb169e1b6d2903
Update Material.cs
QetriX/quly
Assets/Scripts/libs/Material.cs
Assets/Scripts/libs/Material.cs
namespace com.qetrix.apps.quly.libs { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Material { string _name; Color _color; float _weight = 0.01f; // How (+/-) and how much one unit of Material is weighing float _defense = 0.0f; // How (+/-) and ...
namespace Quly { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Material { string _name; Color _color; float _weight = 0.01f; // How (+/-) and how much one unit of Material is weighing float _defense = 0.0f; // How (+/-) and how much the Material...
mit
C#
579879a2da24b4e46afcfa9052e1eeaa5e40bcf0
Update Sample Startup.
davidorbelian/MicroNetCore.Rest
samples/MicroNetCore.Rest.Sample/Startup.cs
samples/MicroNetCore.Rest.Sample/Startup.cs
using MicroNetCore.Collections; using MicroNetCore.Data.Abstractions; using MicroNetCore.Models; using MicroNetCore.Rest.Extensions; using MicroNetCore.Rest.MediaTypes.Hypermedia.Extensions; using MicroNetCore.Rest.MediaTypes.Json.Extensions; using MicroNetCore.Rest.Sample.Data; using MicroNetCore.Rest.Sample.Models; ...
using System; using System.Collections.Generic; using MicroNetCore.Data.Abstractions; using MicroNetCore.Rest.Extensions; using MicroNetCore.Rest.MediaTypes.Hypermedia.Extensions; using MicroNetCore.Rest.MediaTypes.Json.Extensions; using MicroNetCore.Rest.Sample.Data; using MicroNetCore.Rest.Sample.Models; using Micro...
mit
C#
609416940c7599001dc79995e04fc3bda627c967
Fix display glitches.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/Views/Shared/_OpenIdLoginBox.cshtml
src/CGO.Web/Views/Shared/_OpenIdLoginBox.cshtml
@using (Html.BeginForm("Authenticate", "User", routeValues: new { ReturnUrl = Request.QueryString["ReturnUrl"] }, method: FormMethod.Post, htmlAttributes: new { id = "openid_form" })) { <div id="openIdLogin" class="modal hide fade" style="width: 600px"> <div class="modal-header"> <button type="...
@using (Html.BeginForm("Authenticate", "User", routeValues: new { ReturnUrl = Request.QueryString["ReturnUrl"] }, method: FormMethod.Post, htmlAttributes: new { id = "openid_form" })) { <div id="openIdLogin" class="modal hide fade"> <div class="modal-header"> <button type="button" class="close"...
mit
C#
637ed37daef68b21413fde795b4ebf14fb516494
Add INative<> to QueryPool
rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary
CSGL.Vulkan/Vulkan/QueryPool.cs
CSGL.Vulkan/Vulkan/QueryPool.cs
using System; using System.Collections.Generic; namespace CSGL.Vulkan { public class QueryPoolCreateInfo { public VkQueryType queryType; public uint queryCount; public VkQueryPipelineStatisticFlags pipelineStatistics; } public class QueryPool : IDisposable, INative<VkQueryPool> { ...
using System; using System.Collections.Generic; namespace CSGL.Vulkan { public class QueryPoolCreateInfo { public VkQueryType queryType; public uint queryCount; public VkQueryPipelineStatisticFlags pipelineStatistics; } public class QueryPool : IDisposable { bool disposed;...
mit
C#
3772a223cb96ebb089e8c084e4efaf1f2928c85e
Update Cake.Git to 0.19.0 version
cake-contrib/Cake.Recipe,cake-contrib/Cake.Recipe
Cake.Recipe/Content/addins.cake
Cake.Recipe/Content/addins.cake
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.1.0 #...
/////////////////////////////////////////////////////////////////////////////// // ADDINS /////////////////////////////////////////////////////////////////////////////// #addin nuget:?package=Cake.Codecov&version=0.4.0 #addin nuget:?package=Cake.Coveralls&version=0.9.0 #addin nuget:?package=Cake.Figlet&version=1.1.0 #...
mit
C#
4bd56559b1d813db3dacd2b64c1fed55c3939fd3
Remove unused CannotChangeSignatureReason values
davkean/roslyn,physhi/roslyn,jasonmalinowski/roslyn,heejaechang/roslyn,tmat/roslyn,wvdd007/roslyn,diryboy/roslyn,mgoertz-msft/roslyn,gafter/roslyn,diryboy/roslyn,aelij/roslyn,heejaechang/roslyn,gafter/roslyn,AlekseyTs/roslyn,genlu/roslyn,panopticoncentral/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,jmarolf/roslyn,mava...
src/Features/Core/Portable/ChangeSignature/CannotChangeSignatureReason.cs
src/Features/Core/Portable/ChangeSignature/CannotChangeSignatureReason.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. namespace Microsoft.CodeAnalysis.ChangeSignature { internal enum CannotChangeSignatureReason { None...
// 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. namespace Microsoft.CodeAnalysis.ChangeSignature { internal enum CannotChangeSignatureReason { None...
mit
C#
77977f47fa6d2caec3a89c2e8ab07d80b44b53d6
Break build again for TeamCity email notify test.
alexmullans/Siftables-Emulator
Siftables/MainWindow.xaml.cs
Siftables/MainWindow.xaml.cs
namespace Siftables { public partial class MainWindowView { public MainWindowView() { InitializeComponent(); DoAllOfTheThings(); } } }
namespace Siftables { public partial class MainWindowView { public MainWindowView() { InitializeComponent(); DoSomething(); } } }
bsd-2-clause
C#
41e6cfb9b0c8ec640cbebc5557814b9a684e1758
Build package
rasmusjp/umbraco-ditto,AzarinSergey/umbraco-ditto,robertjf/umbraco-ditto,leekelleher/umbraco-ditto,Hendy/umbraco-ditto
src/Our.Umbraco.Ditto/Properties/VersionInfo.cs
src/Our.Umbraco.Ditto/Properties/VersionInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34209 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18449 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
mit
C#
e21ed49c5a3bf7c6eb81a152dde6d710427ac112
Remove cruft.
jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-sp...
src/Manos/Manos/UnsafeString.cs
src/Manos/Manos/UnsafeString.cs
using System; using System.Text; namespace Manos { public class UnsafeString { private string unsafe_value; private string safe_value; private bool has_unsafe_data; public UnsafeString (string str) { this.unsafe_value = str; } public string UnsafeValue { get { return unsafe_value; } } ...
using System; using System.Text; namespace Manos { public class UnsafeString { private string unsafe_value; private string safe_value; private bool has_unsafe_data; public UnsafeString (string str) { this.unsafe_value = str; } public string UnsafeValue { get { return unsafe_value; } } ...
mit
C#
ad51062145a3526daade66fe965527a779984c12
handle post
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Web/Controllers/PortalController.cs
src/Tugberk.Web/Controllers/PortalController.cs
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Tugberk.Web.Models; namespace Tugberk.Web.Controllers { [Route("portal")] public class PortalController : Controller { private readonly IImageSto...
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace Tugberk.Web.Controllers { [Route("portal")] public class PortalController : Controller { private readonly IImageStorage _imageStorage; ...
agpl-3.0
C#
17f19d563bae46c6d78a9380301e6d2b455ba566
Fix bugs in the crash unprepared device
MyvarHD/Cosmos,jp2masa/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,MyvarHD/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,fanoI/Cosmos,zarlo/Cosmos,Cyber4/Cosmos,trivalik/Cosmos,fanoI/Cosmos,Cyber4/Cosmos,trivalik/Cosmos,Cyber4/Cosmo...
source/Cosmos.Deploy.USB/MainWindow.xaml.cs
source/Cosmos.Deploy.USB/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windo...
bsd-3-clause
C#
61517036a87711d79e7081c879af7c8300bb4878
Add in method to gauge a single point stamped with the current datetime
SkyKick/datadogcsharp
DataDogCSharp/DataDogCSharp/DataDogClient.cs
DataDogCSharp/DataDogCSharp/DataDogClient.cs
using DataDogCSharp.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace DataDogCSharp { public class DataDogClient { private string apiUrl; private HttpClient httpCli...
using DataDogCSharp.Models; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace DataDogCSharp { public class DataDogClient { private string apiUrl; private HttpClient httpCli...
mit
C#
9920f24dcc629d6728fa3b6b81228ac3c30f3d7d
Update Chrome configuration in UITestFixture
atata-framework/atata-sample-app-tests
src/AtataSampleApp.AutoTests/UITestFixture.cs
src/AtataSampleApp.AutoTests/UITestFixture.cs
using Atata; using NUnit.Framework; namespace AtataSampleApp.AutoTests { [TestFixture] public class UITestFixture { [SetUp] public void SetUp() { AtataContext.Configure(). UseChrome(). WithArguments("disable-extensions", "sta...
using Atata; using NUnit.Framework; namespace AtataSampleApp.AutoTests { [TestFixture] public class UITestFixture { [SetUp] public void SetUp() { AtataContext.Configure(). UseChrome(). WithArguments("disable-extensions", "no-...
apache-2.0
C#
92cd024b578c198ad5c2c7900e8ded542af1e0ac
Bump to 0.7
github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity,mpOzelot/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
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.AssemblyVersionInformation.Version)]...
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.AssemblyVersionInformation.Version)]...
mit
C#
0f3e6a3f1aec5b1032458baed7bc4cdde6ec99af
Repair Auth Test
darilek/dotvvm,riganti/dotvvm,kiraacorsac/dotvvm,riganti/dotvvm,kiraacorsac/dotvvm,kiraacorsac/dotvvm,riganti/dotvvm,darilek/dotvvm,riganti/dotvvm,darilek/dotvvm
src/DotVVM.Samples.Tests/Complex/AuthTests.cs
src/DotVVM.Samples.Tests/Complex/AuthTests.cs
using Dotvvm.Samples.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; using Riganti.Utils.Testing.SeleniumCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotVVM.Samples.Tests.Complex { [TestClass] public class AuthTe...
using Dotvvm.Samples.Tests; using Microsoft.VisualStudio.TestTools.UnitTesting; using Riganti.Utils.Testing.SeleniumCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DotVVM.Samples.Tests.Complex { [TestClass] public class AuthTe...
apache-2.0
C#
44218906e6086adffca030f3a3ddab31e4ee9feb
Update TheXamarinPodcast.cs
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/TheXamarinPodcast.cs
src/Firehose.Web/Authors/TheXamarinPodcast.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast { public string FirstName => "The Xamarin"; public string LastName => "Podcast"; public string StateOrRe...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class TheXamarinPodcast : IAmACommunityMember, IAmAPodcast { public string FirstName => "The Xamarin"; public string LastName => "Podcast"; public string StateOrRe...
mit
C#
e8eb5bb2573ee25173ad959c89501bb958c54e69
Reorganize stuff.
ManiaDotNet/ManiaPlanet
ManiaNet.ManiaPlanet/Nations.cs
ManiaNet.ManiaPlanet/Nations.cs
using ManiaNet.ManiaPlanet.XmlEntities; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Xml.Linq; namespace ManiaNet.ManiaPlanet { /// <summary> /// Contains static helpers and information about the various Nations. /// </summary> public static ...
using ManiaNet.ManiaPlanet.XmlEntities; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Xml.Linq; namespace ManiaNet.ManiaPlanet { /// <summary> /// Contains static helpers and information about the various Nations. /// </summary> public static ...
lgpl-2.1
C#
c512eda5ab0af2bb1af6c22880d579f0b2cacb9d
Fix indentation for scheduled triggers
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsScheduledTrigger.cs
source/Nuke.Common/CI/GitHubActions/Configuration/GitHubActionsScheduledTrigger.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Utilities; namespace Nuke.Common.CI.GitHubActions.Configuration { public class GitHubActionsScheduledTrigger : GitHubActionsDeta...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using Nuke.Common.Utilities; namespace Nuke.Common.CI.GitHubActions.Configuration { public class GitHubActionsScheduledTrigger : GitHubActionsDeta...
mit
C#
a26e210ad3eae75ed217761d96ae4ff5222b3183
Update CheckNums.cs
michaeljwebb/Algorithm-Practice
Coderbyte/CheckNums.cs
Coderbyte/CheckNums.cs
//Take both parameters being passed and return the string true if num2 is greater than num1, otherwise return the string false. //If the parameter values are equal to each other then return the string -1. using System; class MainClass { public static int CheckNums(int num1, int num2) { if(num2 > num1){ ...
using System; class MainClass { public static int CheckNums(int num1, int num2) { if(num2 > num1){ Console.WriteLine("true"); } else if(num1 == num2){ num1 = -1; } else if(num2 < num1){ Console.WriteLine("false"); } return num1; } static void Main() { /...
mit
C#
f83dd046a2dd89cca73219fcc6190a9a6124273d
Use Contract.Requires for preconditions.
Perspex/Perspex,akrisiun/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,MrDaedra/Avalonia,AvaloniaUI/Avalonia,Su...
src/Avalonia.Visuals/Media/Brush.cs
src/Avalonia.Visuals/Media/Brush.cs
// Copyright (c) The Avalonia 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.Linq; using System.Reflection; namespace Avalonia.Media { /// <summary> /// Describes how an area is painted. /// ...
// Copyright (c) The Avalonia 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.Linq; using System.Reflection; namespace Avalonia.Media { /// <summary> /// Describes how an area is painted. /// ...
mit
C#
b2f9ae509c2c6ab84d5156cde18c044e5f3390ae
Check dVers versions for null (version numbers such as 1, 1.2 and 1.3)
sundhaug92/kspMan2
KerbalPackageManager/dotVersion.cs
KerbalPackageManager/dotVersion.cs
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace KerbalPackageManager { internal class dotVersion { public dotVersion(string toFilename) { var jObj = JObject.Parse(File.ReadAllText(toFilenam...
using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace KerbalPackageManager { internal class dotVersion { public dotVersion(string toFilename) { var jObj = JObject.Parse(File.ReadAllText(toFilenam...
mit
C#
41560b427609eb92e11e949a0e7cdfc2950e9630
Add a date stamp to output files
dustyburwell/miniature-bear
PrintScreen/Program.cs
PrintScreen/Program.cs
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Threading; using System.Windows.Forms; using PrintScreen.Properties; namespace PrintScreen { static class Program { private static SynchronizationContext context; private static NotifyIcon icon; ...
using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Threading; using System.Windows.Forms; using PrintScreen.Properties; namespace PrintScreen { static class Program { private static SynchronizationContext context; private static NotifyIcon icon; ...
mit
C#
adabd456e6b6bf427aa760b2b4284353ba265d82
修复未生成必要特性集的错误。
Zongsoft/Zongsoft.Web
src/Controls/Editor.cs
src/Controls/Editor.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2011-2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2011-2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as...
lgpl-2.1
C#
d52091407a8b1a14e037798a13dbb13c9fa4b57d
Use cast operators in KeyValue instead of properties
mfep/Duality.InputPlugin
Source/Code/CorePlugin/KeyValue.cs
Source/Code/CorePlugin/KeyValue.cs
using System; using Duality; using Duality.Input; namespace MFEP.Duality.Plugins.InputPlugin { public enum KeyType { KeyboardType = 0, MouseButtonType = 1 } public struct KeyValue { private const int mouseButtonOffset = 1000; private readonly int storeField; public KeyValue (Key key) { storeFiel...
using System; using Duality; using Duality.Input; namespace MFEP.Duality.Plugins.InputPlugin { public enum KeyType { KeyboardType = 0, MouseButtonType = 1 } public struct KeyValue { private const int mouseButtonOffset = 1000; private readonly int storeField; public KeyValue (Key key) { storeFiel...
mit
C#
d0743806d8d8675e82afd665ecdd9bd208564cf7
Disable UnrootedConnectionsGetRemovedFromHeartbeat because it's flaky
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNetCore.Server.Kestrel.Core.Tests/FrameConnectionManagerTests.cs
test/Microsoft.AspNetCore.Server.Kestrel.Core.Tests/FrameConnectionManagerTests.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel...
apache-2.0
C#
fee4a456979876e553c7d936d476fd503b8cd578
Add a do-nothing method Parse() to ArgParser so it passes build.
jameslan/argparser.net
ArgParser.NET/ArgParser.cs
ArgParser.NET/ArgParser.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArgParser.NET { public class ArgParser { public List<string> Parse(string[] args) { var extra = new List<string>(); return extra; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArgParser.NET { public class ArgParser { } }
mit
C#
5ffc278912ea5f62b8089852d2b4f19a4c3886b7
Refactor - rename test class
stoneass/IntUITive,stoneass/IntUITive
IntUITive.Selenium.Tests/IntuitivelyTests.cs
IntUITive.Selenium.Tests/IntuitivelyTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace IntUITive.Selenium.Tests { [TestFixture] public class EdgeCaseTests { [Test] public void Find_WithNoTerm_Fails() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace IntUITive.Selenium.Tests { [TestFixture] public class IntuitivelyTests { [Test] public void Find_WithNoTerm_Fails() { ...
apache-2.0
C#
234250f914cde8a135a1e9ea828b80ce96916037
Document IDialogHandler
Octopus-ITSM/CefSharp,battewr/CefSharp,haozhouxu/CefSharp,battewr/CefSharp,Livit/CefSharp,dga711/CefSharp,gregmartinhtc/CefSharp,NumbersInternational/CefSharp,Livit/CefSharp,jamespearce2006/CefSharp,haozhouxu/CefSharp,Octopus-ITSM/CefSharp,dga711/CefSharp,Octopus-ITSM/CefSharp,jamespearce2006/CefSharp,wangzheng888520/C...
CefSharp/IDialogHandler.cs
CefSharp/IDialogHandler.cs
using System.Collections.Generic; namespace CefSharp { /// <summary> /// Implement this interface to handle dialog events. The methods of this class will be called on the browser process UI thread. /// </summary> public interface IDialogHandler { /// <summary> /// Runs a file choose...
using System.Collections.Generic; namespace CefSharp { public interface IDialogHandler { bool OnFileDialog(IWebBrowser browser, CefFileDialogMode mode, string title, string defaultFileName, List<string> acceptTypes, out List<string> result); } }
bsd-3-clause
C#
a6bcea71b60f476cd32ccb3fb5667248c07412e7
Hide Nuterra.Start() from API
maritaria/terratech-mod,Nuterra/Nuterra,Exund/nuterra
src/Nuterra/Nuterra.cs
src/Nuterra/Nuterra.cs
using System; using System.IO; using System.Reflection; using UnityEngine; namespace Nuterra { public static class Nuterra { public static readonly Version CurrentVersion = new Version(0, 3, 0); public static readonly string DataFolder = Path.Combine(Application.dataPath, "..\\Nuterra_Data"); public static re...
using System; using System.IO; using System.Reflection; using UnityEngine; namespace Nuterra { public static class Nuterra { public static readonly Version CurrentVersion = new Version(0, 3, 0); public static readonly string DataFolder = Path.Combine(Application.dataPath, "..\\Nuterra_Data"); public static re...
mit
C#
e8eff1a193d1c199e2ffcf03b9c536fe316948dd
fix assmbly info
jmenziessmith/TagCache.Redis
src/TagCache.Redis/Properties/AssemblyInfo.cs
src/TagCache.Redis/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTi...
mit
C#
b25dc9ac34e57d9c0c1673965779f26d47ada309
Fix tests if .bak file exists
ermshiperete/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge
src/LfMerge.Core/FieldWorks/ConsoleFdoUi.cs
src/LfMerge.Core/FieldWorks/ConsoleFdoUi.cs
// Copyright (c) 2016 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.ComponentModel; using SIL.FieldWorks.FDO; namespace LfMerge.Core.FieldWorks { class ConsoleFdoUi: IFdoUI { private ISynchronizeInvoke _synchronizeInvoke; pu...
// Copyright (c) 2016 SIL International // This software is licensed under the MIT License (http://opensource.org/licenses/MIT) using System; using System.ComponentModel; using SIL.FieldWorks.FDO; namespace LfMerge.Core.FieldWorks { class ConsoleFdoUi: IFdoUI { private ISynchronizeInvoke _synchronizeInvoke; pu...
mit
C#
eb344b46af1f0d8aa0b2729a1c7a9b35e62f96cf
Allow empty bodies on url encoded form data.
mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/ma...
src/Manos/Manos.Http/HttpFormDataHandler.cs
src/Manos/Manos.Http/HttpFormDataHandler.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
3f163237938da3f2a4c77dc8bba9c124ca78cfce
Update TiledObject.cs
prime31/Nez,prime31/Nez,eumario/Nez,prime31/Nez,ericmbernier/Nez,Blucky87/Nez
Nez-PCL/PipelineRuntime/Tiled/TiledObject.cs
Nez-PCL/PipelineRuntime/Tiled/TiledObject.cs
using System; using Microsoft.Xna.Framework; using System.Collections.Generic; namespace Nez.Tiled { public class TiledObject { public enum TiledObjectType { None, Ellipse, Image, Polygon, Polyline } public int gid; public string name; public string type; public int x; public int y;...
using System; using Microsoft.Xna.Framework; using System.Collections.Generic; namespace Nez.Tiled { public class TiledObject { public enum TiledObjectType { None, Ellipse, Image, Polygon, Polyline } public int gid; public string name; public string type; public int x; public int y;...
mit
C#
831ca4db338bc772b83a47413a8090be89266dd5
Add .bif to list of supported extensions.
quamotion/discutils,breezechen/DiscUtils,drebrez/DiscUtils,breezechen/DiscUtils
src/Raw/DiskFactory.cs
src/Raw/DiskFactory.cs
// // Copyright (c) 2008-2010, Kenneth Bell // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
// // Copyright (c) 2008-2010, Kenneth Bell // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
mit
C#
6915240b5d17ef2b9d563f7d8a520fef267a3be6
Remove sample data
gmrukwa/da_project
Da/Services/DataService.cs
Da/Services/DataService.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using Backend.Entities; using Backend.Utils; namespace Da.Services { class DataService { public IEnumerable<T> GetData<T>() where T: Entity { using (var context = new Context()) ...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using Backend.Entities; using Backend.Utils; namespace Da.Services { class DataService { public DataService(bool startFromScratch = false) { if (startFromScratch) BuildSampl...
apache-2.0
C#
e224c969db8164b502f97dd1fb0a5acc286f1e40
Change Sample application namespace
alexandrnikitin/Topshelf.Autofac
Topshelf.Autofac.Sample/Program.cs
Topshelf.Autofac.Sample/Program.cs
using System; using Autofac; using Topshelf; using Topshelf.Autofac; namespace SampleProgram { class Program { static void Main(string[] args) { // Create your container var builder = new ContainerBuilder(); builder.RegisterType<SampleDependency>().As<ISampl...
using System; using Autofac; namespace Topshelf.Autofac.Sample { class Program { static void Main(string[] args) { // Create your container var builder = new ContainerBuilder(); builder.RegisterType<SampleDependency>().As<ISampleDependency>(); bu...
mit
C#
d6bc72390ecae791bb9feedd7d4efccd6cdacf0c
Make EnRu map public.
eealeivan/jozh-translit
Src/JoZhTranslit/TransliterationMaps/EnRu.cs
Src/JoZhTranslit/TransliterationMaps/EnRu.cs
namespace JoZhTranslit.TransliterationMaps { public class EnRu { public const string MapJson = @" { ""А"": [""A""], ""а"": [""a""], ""Б"": [""B""], ""б"": [""b""], ""В"": [""V""], ""в"": [""v""], ""Г"": [""G""], ""г"": [""g""], ""Д"": [""D""], ""д"": [""d""], ""Е"": [""E""], ""е...
namespace JoZhTranslit.TransliterationMaps { internal class EnRu { public const string MapJson = @" { ""А"": [""A""], ""а"": [""a""], ""Б"": [""B""], ""б"": [""b""], ""В"": [""V""], ""в"": [""v""], ""Г"": [""G""], ""г"": [""g""], ""Д"": [""D""], ""д"": [""d""], ""Е"": [""E""], "...
mit
C#
c86a4b56d4fa56123a592aa732d0548bc7df1850
Use NSBundle for iOS devices (#1146)
Shaddix/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet,Shaddix/realm-dotnet
Shared/Tests.Shared/TestHelpers.cs
Shared/Tests.Shared/TestHelpers.cs
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
apache-2.0
C#
d822565be8e4c18f3eede0ac016ae6457fec9019
Update RenameRequest.cs
Ar3sDevelopment/Synology,DotNetDevs/Synology,DotNetDevs/Synology
Synology.FileStation/Rename/RenameRequest.cs
Synology.FileStation/Rename/RenameRequest.cs
using Synology.Attributes; using Synology.Classes; using Synology.FileStation.FileShare.Results; using Synology.FileStation.Rename.Parameters; using Synology.Parameters; namespace Synology.FileStation.Rename { public class RenameRequest : FileStationRequest { public RenameRequest(SynologyApi api) : ba...
using Synology.Classes; using Synology.FileStation.FileShare.Results; using Synology.FileStation.Rename.Parameters; using Synology.Parameters; namespace Synology.FileStation.Rename { public class RenameRequest : FileStationRequest { public RenameRequest(SynologyApi api) : base(api, "Rename") {...
apache-2.0
C#
ec8a84e54d6b2d43eb190ab57c51654c2f972dce
Fix #738 : Sickbay module stuck in invalid state when disabled through unloaded automation
PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism
src/Kerbalism/Automation/Devices/Sickbay.cs
src/Kerbalism/Automation/Devices/Sickbay.cs
using System; using System.Collections.Generic; using UnityEngine; using KSP.Localization; namespace KERBALISM { public sealed class SickbayDevice : LoadedDevice<Sickbay> { public SickbayDevice(Sickbay module) : base(module) { } public override string Status => Lib.Color(module.running, Local.Generic_RUNNIN...
using System; using System.Collections.Generic; using UnityEngine; using KSP.Localization; namespace KERBALISM { public sealed class SickbayDevice : LoadedDevice<Sickbay> { public SickbayDevice(Sickbay module) : base(module) { } public override string Status => Lib.Color(module.running, Local.Generic_RUNNIN...
unlicense
C#
a777b33646a2da09206d1b3f57cf592e4b672c90
Remove SingleRankNonSZArrayIndexed test.
ViktorHofer/corefx,yizhang82/corefx,alexperovich/corefx,ericstj/corefx,richlander/corefx,mmitche/corefx,ViktorHofer/corefx,Petermarcu/corefx,ericstj/corefx,rahku/corefx,dotnet-bot/corefx,krk/corefx,MaggieTsang/corefx,MaggieTsang/corefx,jlin177/corefx,mmitche/corefx,the-dwyer/corefx,JosephTremoulet/corefx,krk/corefx,Erm...
src/Microsoft.CSharp/tests/ArrayHandling.cs
src/Microsoft.CSharp/tests/ArrayHandling.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Microsoft.CSharp.Runtime...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Xunit; namespace Microsoft.CSharp.Runtime...
mit
C#
8e5e5d4ebcd646f8fd0196c2e7feae3074e72d36
Fix samples
NRules/NRules
samples/ClaimsAdjudication/ClaimsExpert.Service/Infrastructure/RulesEngineLogger.cs
samples/ClaimsAdjudication/ClaimsExpert.Service/Infrastructure/RulesEngineLogger.cs
using Common.Logging; using NRules.Diagnostics; namespace NRules.Samples.ClaimsExpert.Service.Infrastructure { internal class RulesEngineLogger { private static readonly ILog Log = LogManager.GetLogger<RulesEngineLogger>(); public RulesEngineLogger(ISessionFactory sessionFactory) { ...
using Common.Logging; using NRules.Diagnostics; namespace NRules.Samples.ClaimsExpert.Service.Infrastructure { internal class RulesEngineLogger { private static readonly ILog Log = LogManager.GetLogger<RulesEngineLogger>(); public RulesEngineLogger(ISessionFactory sessionFactory) { ...
mit
C#
4be8d6d5e9ef503189630ae25194944b041538e8
Update WeaverInitialiserTests.cs
Fody/Fody,GeertvanHorrik/Fody
Tests/FodyIsolated/WeaverInitialiserTests.cs
Tests/FodyIsolated/WeaverInitialiserTests.cs
using System.Collections.Generic; using System.Linq; using Fody; using Mono.Cecil; using Xunit; using Xunit.Abstractions; public class WeaverInitialiserTests : XunitLoggingBase { [Fact] public void ValidPropsFromBase() { var moduleDefinition = ModuleDefinition.CreateModule("Foo", ModuleKind.Dll...
using System.Collections.Generic; using System.Linq; using Fody; using Mono.Cecil; using ObjectApproval; using Xunit; using Xunit.Abstractions; public class WeaverInitialiserTests : XunitLoggingBase { [Fact] public void ValidPropsFromBase() { var moduleDefinition = ModuleDefinition.CreateModule...
mit
C#
eff79dc7364c087f7316969c76b2aa0c3ea16254
fix test
jezzay/Test-Travis-CI,jezzay/Test-Travis-CI
TestWebApp/TestWebApp.Tests/Controllers/ValuesControllerTest.cs
TestWebApp/TestWebApp.Tests/Controllers/ValuesControllerTest.cs
using System.Collections.Generic; using System.Linq; using TestWebApp.Controllers; using Xunit; namespace TestWebApp.Tests.Controllers { public class ValuesControllerTest { [Fact] public void Get() { // Arrange var controller = new ValuesController(); ...
using System.Collections.Generic; using System.Linq; using TestWebApp.Controllers; using Xunit; namespace TestWebApp.Tests.Controllers { public class ValuesControllerTest { [Fact] public void Get() { // Arrange var controller = new ValuesController(); ...
mit
C#
122643f14315c7b4ef62296669ac9bc4d8b07089
allow multiple audiences
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Api/Startup.cs
src/SFA.DAS.EmployerAccounts.Api/Startup.cs
using Microsoft.Owin; using Microsoft.Owin.Security.ActiveDirectory; using Owin; using System.Configuration; [assembly: OwinStartup(typeof(SFA.DAS.EmployerAccounts.Api.Startup))] namespace SFA.DAS.EmployerAccounts.Api { public class Startup { public void Configuration(IAppBuilder app) { ...
using Microsoft.Owin; using Microsoft.Owin.Security.ActiveDirectory; using Owin; using System.Configuration; [assembly: OwinStartup(typeof(SFA.DAS.EmployerAccounts.Api.Startup))] namespace SFA.DAS.EmployerAccounts.Api { public class Startup { public void Configuration(IAppBuilder app) { ...
mit
C#
bf70cbb8648d8bd426fa9583a756431f755688e5
add trace stack in Coroutine -> resume
soulgame/slua,dayongxie/slua,pangweiwei/slua,mr-kelly/slua,DebugClub/slua,angeldnd/slua,yjpark/slua,haolly/slua_source_note,luzexi/slua-3rd-lib,luzexi/slua-3rd,lingkeyang/slua,yjpark/slua,houxuanfelix/slua,luzexi/slua-3rd-lib,thing-nacho/slua,wland/slua,pangweiwei/slua,haolly/slua_source_note,jiangzhhhh/slua,wang1986on...
Assets/Slua/Script/Coroutine.cs
Assets/Slua/Script/Coroutine.cs
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the...
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the right...
mit
C#