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
bd3c3d50274106ddb9fc8a05112f7dd397295d30
update version info: v1.0.4 -> v1.0.5
Treer/ip4
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyCompany("")] [as...
using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyCompany("")] [as...
mit
C#
5bd1b6712ed138b3e207e91d941594d63f2ae397
Implement Any in terms of All.
iainholder/edulinq,jskeet/edulinq,zhangz/edulinq,jskeet/edulinq,iainholder/edulinq,zhangz/edulinq,pyaria/edulinq,jskeet/edulinq,pyaria/edulinq
src/Edulinq/Any.cs
src/Edulinq/Any.cs
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
#region Copyright and license information // Copyright 2010-2011 Jon Skeet // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
apache-2.0
C#
f922983e1193727d34e81d0db7c08fa28173caf7
Update MagnetToggleKeyBehaviour.cs
maritaria/terratech-mod,Nuterra/Nuterra,Exund/nuterra
src/Nuterra/Maritaria/MagnetToggleKeyBehaviour.cs
src/Nuterra/Maritaria/MagnetToggleKeyBehaviour.cs
using System; using UnityEngine; namespace Maritaria { public class MagnetToggleKeyBehaviour : MonoBehaviour { private GUIContent _content; private GUIStyle _style; public static readonly string DisplayFormat = "<color=white><b>Magnets: </b>{0}</color>"; public static readonly string OfflineStatus = "<col...
using System; using UnityEngine; namespace Maritaria { public class MagnetToggleKeyBehaviour : MonoBehaviour { private GUIContent _content; private GUIStyle _style; public static readonly string DisplayFormat = "<color=white><b>Magnets: </b>{0}</color>"; public static readonly string OfflineStatus = "<col...
mit
C#
5ea0dad3f8dbf26ed7e1f01f9e5fd71d3e2830e3
Add LimitCpu/CurrentCpuLimit to IContainer
cloudfoundry-incubator/IronFrame,cloudfoundry/IronFrame,stefanschneider/IronFrame,cloudfoundry/IronFrame,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame
IronFrame/IContainer.cs
IronFrame/IContainer.cs
using System; using System.Collections.Generic; using System.IO; namespace IronFrame { public interface IContainer : IDisposable { string Id { get; } string Handle { get; } IContainerDirectory Directory { get; } ContainerInfo GetInfo(); void Stop(bool kill); int...
using System; using System.Collections.Generic; using System.IO; namespace IronFrame { public interface IContainer : IDisposable { string Id { get; } string Handle { get; } IContainerDirectory Directory { get; } ContainerInfo GetInfo(); void Stop(bool kill); int...
apache-2.0
C#
ee4da3c38d37767180b26bf88cb7112cdc90ce11
Remove unused construction arg from AgentProfiler
mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,...
src/Glimpse.Agent.Web/Broker/AgentProfiler.cs
src/Glimpse.Agent.Web/Broker/AgentProfiler.cs
using Glimpse.Web; using Microsoft.Framework.Logging; using System; using System.Threading.Tasks; namespace Glimpse.Agent.Web { public class AgentProfiler : IRequestProfiler { private readonly string _requestIdKey = "RequestId"; private readonly IAgentBroker _messageBus; public AgentP...
using Glimpse.Web; using Microsoft.Framework.Logging; using System; using System.Threading.Tasks; namespace Glimpse.Agent.Web { public class AgentProfiler : IRequestProfiler { private readonly string _requestIdKey = "RequestId"; private readonly IAgentBroker _messageBus; public AgentP...
mit
C#
a8700bb250c7d6b22bbefbd9e312dc18a6025e8a
add internal modifier
ksirg/KMLib,ksirg/KMLib,ksirg/KMLib,ksirg/KMLib
KMLib/Helpers/Vector.cs
KMLib/Helpers/Vector.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KMLib.Helpers { internal class Vector { public int Dim; public int[] Indices; public float[] Values; public Vector(int dim, ICollection<int> indexes, ICollection<float> vals) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KMLib.Helpers { class Vector { public int Dim; public int[] Indices; public float[] Values; public Vector(int dim, ICollection<int> indexes, ICollection<float> vals) { ...
mit
C#
8ca4f5b662b538fb54749623ac88f42025ee2ad0
Reduce allocations in IOQueue (#7219)
ElanHasson/orleans,ibondy/orleans,waynemunro/orleans,veikkoeeva/orleans,amccool/orleans,amccool/orleans,dotnet/orleans,galvesribeiro/orleans,ibondy/orleans,waynemunro/orleans,dotnet/orleans,galvesribeiro/orleans,hoopsomuah/orleans,hoopsomuah/orleans,ElanHasson/orleans,jthelin/orleans,amccool/orleans
src/Orleans.Core/Networking/Shared/IOQueue.cs
src/Orleans.Core/Networking/Shared/IOQueue.cs
using System; using System.Collections.Concurrent; using System.IO.Pipelines; using System.Threading; namespace Orleans.Networking.Shared { internal sealed class IOQueue : PipeScheduler, IThreadPoolWorkItem { private readonly object _workSync = new object(); private readonly ConcurrentQueue<Wo...
using System; using System.Collections.Concurrent; using System.IO.Pipelines; namespace Orleans.Networking.Shared { internal sealed class IOQueue : PipeScheduler { private readonly object _workSync = new object(); private readonly ConcurrentQueue<Work> _workItems = new ConcurrentQueue<Work>(); ...
mit
C#
accc60d81973f6a307215fdda59bb391927daa31
Add some test tracing to Index action
davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application,davidebbo-test/Mvc52Application
Mvc52Application/Controllers/HomeController.cs
Mvc52Application/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Diagnostics; using System.Linq; using System.Web; using System.Web.Mvc; namespace Mvc52Application.Controllers { public class HomeController : Controller { public ActionResult Index() { Trace.T...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Web; using System.Web.Mvc; namespace Mvc52Application.Controllers { public class HomeController : Controller { public ActionResult Index() { return View(); } ...
apache-2.0
C#
b1d7c2a69b7de8e778a4dd81a3583c0d2730565f
fix test
user1568891/PropertyChanged,Fody/PropertyChanged
PropertyChangedTests/RecursiveIlFinderTests.cs
PropertyChangedTests/RecursiveIlFinderTests.cs
using System.Diagnostics; using System.Linq; using NUnit.Framework; [TestFixture] public class RecursiveIlFinderTests { [Test] public void Run() { var typeDefinition = DefinitionFinder.FindType<InnerClass>(); var recursiveIlFinder = new RecursiveIlFinder(typeDefinition); var meth...
using System.Diagnostics; using System.Linq; using NUnit.Framework; [TestFixture] public class RecursiveIlFinderTests { [Test] public void Run() { var typeDefinition = DefinitionFinder.FindType<InnerClass>(); var recursiveIlFinder = new RecursiveIlFinder(typeDefinition); var meth...
mit
C#
5adf47eefd6c4c777f0ec6c1a699753a3174c5fe
refactor ScreenshotManager
OlegKleyman/Omego.Selenium
core/Omego.Selenium/ScreenshotManager.cs
core/Omego.Selenium/ScreenshotManager.cs
namespace Omego.Selenium { using System; using System.Diagnostics; using OpenQA.Selenium; using OpenQA.Selenium.Support.Extensions; /// <summary> /// Represents a screenshot manager. /// </summary> public class ScreenshotManager : IScreenshotManager { private readonly IWeb...
namespace Omego.Selenium { using System; using System.Diagnostics; using OpenQA.Selenium; using OpenQA.Selenium.Support.Extensions; /// <summary> /// Represents a screenshot manager. /// </summary> public class ScreenshotManager : IScreenshotManager { private readonly IWeb...
unlicense
C#
c929b64bee12aaaa0107c174c63e2bd5814933dd
improve JODConvert Demo
oldrev/maltreport
Sandwych.Reporting.JODConverterDemo/Program.cs
Sandwych.Reporting.JODConverterDemo/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using org.artofsolving.jodconverter; using org.artofsolving.jodconverter.office; namespace Sandwych.Reporting.JODConverterDemo { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using org.artofsolving.jodconverter; using org.artofsolving.jodconverter.office; namespace Sandwych.Reporting.JODConverterDemo { class Program { static void Main(string[] args) { ...
mit
C#
a9c61f4b552727fc8a06d430c28f44ab78a09cc4
Set page data in the appropriate LoadState method instead of OnNavigatedTo
peruukki/PremierLeague
PremierLeague/MainPage.xaml.cs
PremierLeague/MainPage.xaml.cs
using PremierLeague.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI....
using PremierLeague.Common; using System; using System.Collections.Generic; using System.IO; using System.Linq; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI....
mit
C#
4d09872f21c5791d4fcbee65d325fe188a65da08
Bump version to 0.32.0
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
7175ad2b3c088e9861e6b1820bf08c872d747b3e
Bump version to 1.3.1
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)] [assembly: AssemblyFileVersion(Sys...
mit
C#
7a2e0044316acb1d89d5baaecad3dd0ea5aa3d0b
Support driver constructor standing parameter for season list request
Krusen/ErgastApi.Net
src/ErgastApi/Requests/Standard/SeasonListRequest.cs
src/ErgastApi/Requests/Standard/SeasonListRequest.cs
using ErgastApi.Client.Attributes; using ErgastApi.Responses; namespace ErgastApi.Requests { public class SeasonListRequest : StandardRequest<SeasonResponse> { [UrlSegment("constructorStandings")] public int? ConstructorStanding { get; set; } [UrlSegment("driverStandings")] pub...
using ErgastApi.Client.Attributes; using ErgastApi.Responses; namespace ErgastApi.Requests { public class SeasonListRequest : StandardRequest<SeasonResponse> { // Value not used // ReSharper disable once UnassignedGetOnlyAutoProperty [UrlTerminator, UrlSegment("seasons")] protec...
unlicense
C#
e3a1bb490a5b9177a7433322387a946c67a7a9ad
Add logging to ScheduledTasksController
BarryFogarty/Merchello,BluefinDigital/Merchello,BluefinDigital/Merchello,MindfireTechnology/Merchello,Merchello/Merchello.Bazaar,doronuziel71/Merchello,rasmusjp/Merchello,Merchello/Merchello,BarryFogarty/Merchello,Merchello/Merchello.Bazaar,bjarnef/Merchello,rasmusjp/Merchello,clausjensen/Merchello,ProNotion/Merchello,...
src/Merchello.Web/WebApi/ScheduledTasksController.cs
src/Merchello.Web/WebApi/ScheduledTasksController.cs
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using System.Linq; using Umbraco.Web.Mvc; using Merchello.Core; using Merchello.Core.Models; using Merchello.Core.Services; using Merchello.Core.Configuration; using Merchello.Web.WebApi; using Umbraco.Web; ...
using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; using System.Linq; using Umbraco.Web.Mvc; using Merchello.Core; using Merchello.Core.Models; using Merchello.Core.Services; using Merchello.Core.Configuration; using Merchello.Web.WebApi; using Umbraco.Web; ...
mit
C#
4059c8e9a0956d0b85773f8beddcaa21602713ae
Add generic definiton
FireCube-/HarvesterBot
TexasHoldEm/Chromosome.cs
TexasHoldEm/Chromosome.cs
using System; /// <summary> /// Summary description for Class1 /// </summary> public class Chromosome<Type, Size> { public Chromosome() { // // TODO: Add constructor logic here // } }
using System; /// <summary> /// Summary description for Class1 /// </summary> public class Chromosome { public Chromosome() { // // TODO: Add constructor logic here // } }
mit
C#
c7c2f7c6dbfabaeb0a06f220ad8c757cb9b6d322
Update PrimitiveObjectValueConverter.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Internal/Json/PrimitiveObjectValueConverter.cs
main/Smartsheet/Api/Internal/Json/PrimitiveObjectValueConverter.cs
// #[ license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2017 SmartsheetClient // %% // 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 // // ...
// #[ license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2017 SmartsheetClient // %% // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
apache-2.0
C#
c18360860f7a9a62db516bfbb3c6c41dc11fefcd
Fix bug in conversion from Color3 to Color3b
rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary
CSharpGameLibrary/Graphics/Color3b.cs
CSharpGameLibrary/Graphics/Color3b.cs
using System; using System.Runtime.InteropServices; namespace CSGL.Graphics { public struct Color3b : IEquatable<Color3b> { public byte r, g, b; public Color3b(byte r, byte g, byte b) { this.r = r; this.g = g; this.b = b; } public Color3b(int r...
using System; using System.Runtime.InteropServices; namespace CSGL.Graphics { public struct Color3b : IEquatable<Color3b> { public byte r, g, b; public Color3b(byte r, byte g, byte b) { this.r = r; this.g = g; this.b = b; } public Color3b(int r...
mit
C#
8658132ced1024ed8c4313b6e93f7667ce950679
fix code
autumn009/TanoCSharpSamples
Chap35/AllowNull/AllowNull/Program.cs
Chap35/AllowNull/AllowNull/Program.cs
#nullable enable using System; using System.Diagnostics.CodeAnalysis; class Program { private static string s = string.Empty; [AllowNull] public static string MyProperty { get { return s; } set { s = value ?? string.Empty; } } public static void ShowStringLength(string? s) ...
using System; using System.Diagnostics.CodeAnalysis; class Program { private static string s = string.Empty; [AllowNull] public static string MyProperty { get { return s; } set { s = value ?? string.Empty; } } public static void ShowStringLength(string s) { Console...
mit
C#
4994f157ace9b5df0443ea780eae678fbff3803a
Remove an absolute path
vain0/EnumerableTest
EnumerableTest.Runner.Wpf/TestTree/TestTreeView.xaml.cs
EnumerableTest.Runner.Wpf/TestTree/TestTreeView.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; 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;...
mit
C#
3025bea195bad51bcc41a3e8c258984d5c31010a
Remove API route trailing slash to avoid AWS API Gateway modification
sinch/nuget-serversdk
src/Sinch.ServerSdk/Callouts/ICalloutApiEndpoints.cs
src/Sinch.ServerSdk/Callouts/ICalloutApiEndpoints.cs
using System.Threading.Tasks; using Sinch.ServerSdk.Callouts; using Sinch.WebApiClient; public interface ICalloutApiEndpoints { [HttpPost("calling/v1/callouts")] Task<CalloutResponse> Callout([ToBody] CalloutRequest request); }
using System.Threading.Tasks; using Sinch.ServerSdk.Callouts; using Sinch.WebApiClient; public interface ICalloutApiEndpoints { [HttpPost("calling/v1/callouts/")] Task<CalloutResponse> Callout([ToBody] CalloutRequest request); }
mit
C#
4e7d37932378eb4350fca09c0413bfea02f14779
Remove namespaces
Litee/SolutionCop
src/SolutionCop.CommandLine/CommandLineParameters.cs
src/SolutionCop.CommandLine/CommandLineParameters.cs
namespace SolutionCop.CommandLine { using global::CommandLine; using global::CommandLine.Text; internal enum BuildServer { None, TeamCity } // ReSharper disable UnusedAutoPropertyAccessor.Global internal sealed class CommandLineParameters { [Option('s', "soluti...
using System.Net; using System.Runtime.InteropServices.ComTypes; namespace SolutionCop.CommandLine { using global::CommandLine; using global::CommandLine.Text; internal enum BuildServer { None, TeamCity } // ReSharper disable UnusedAutoPropertyAccessor.Global internal sea...
apache-2.0
C#
c359c1d6ca372b9b7aad67a5ca9b667f45f85b5c
Fix bug that prevents adding of master comments
leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
JoinRpg.Domain/SubscribeExtensions.cs
JoinRpg.Domain/SubscribeExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class SubscribeExtensions { public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class SubscribeExtensions { public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable...
mit
C#
26ccb790b8cd2fcf362f8a6b02a1085aa7e3f828
Add Name field to GameDefinition class.
rmcardle/LazerTagHost,rmcardle/LazerTagHost
LazerTagHostLibrary/GameDefinition.cs
LazerTagHostLibrary/GameDefinition.cs
namespace LazerTagHostLibrary { public class GameDefinition { public GameDefinition() { CountdownTimeSeconds = 30; ResendCountdownTimeSeconds = 10; HuntDirection = false; Name = new LazerTagString(); } public GameType GameType { get { return _gameTypeInfo.Type; } set { _gameTypeInfo = Ga...
namespace LazerTagHostLibrary { public class GameDefinition { public GameDefinition() { CountdownTimeSeconds = 30; ResendCountdownTimeSeconds = 10; HuntDirection = false; } public GameType GameType { get { return _gameTypeInfo.Type; } set { _gameTypeInfo = GameTypes.GetInfo(value); } } ...
mit
C#
aae394d5fbdc7555a0d8bbe24b390b87a955bc84
Refactor Convert logic in DateTimeConverterBase
thomasgalliker/ValueConverters.NET
ValueConverters.NetFx/DateTimeConverterBase.cs
ValueConverters.NetFx/DateTimeConverterBase.cs
using System; using System.Globalization; #if NETFX || WINDOWS_PHONE using System.Windows; using System.Windows.Data; #elif (WINDOWS_APP || WINDOWS_PHONE_APP) using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #endif namespace ValueConverters { public abstract class DateTimeConverterBase : ConverterBase { ...
using System; using System.Globalization; #if NETFX || WINDOWS_PHONE using System.Windows; using System.Windows.Data; #elif (WINDOWS_APP || WINDOWS_PHONE_APP) using Windows.UI.Xaml; using Windows.UI.Xaml.Data; #endif namespace ValueConverters { public abstract class DateTimeConverterBase : ConverterBase { ...
mit
C#
f0a1c2902a1b5a990012375fc40901160abc63de
Fix unit test.
JohnThomson/libpalaso,gtryus/libpalaso,marksvc/libpalaso,hatton/libpalaso,sillsdev/libpalaso,chrisvire/libpalaso,darcywong00/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,marksvc/libpalaso,mccarthyrb/libpalaso,e...
PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs
PalasoUIWindowsForms.Tests/FontTests/FontHelperTests.cs
using System; using System.Drawing; using System.Linq; using NUnit.Framework; using Palaso.UI.WindowsForms; namespace PalasoUIWindowsForms.Tests.FontTests { [TestFixture] public class FontHelperTests { [Test] public void MakeFont_FontName_ValidFont() { using (var sourceFont = SystemFonts.DefaultFont) {...
using System; using System.Drawing; using System.Linq; using NUnit.Framework; using Palaso.UI.WindowsForms; namespace PalasoUIWindowsForms.Tests.FontTests { [TestFixture] public class FontHelperTests { [Test] public void MakeFont_FontName_ValidFont() { using (var sourceFont = SystemFonts.DefaultFont) {...
mit
C#
8e9ac3a7571b7d426df3218c0d183608e1a62822
Tweak player movement
Goat-Improvement-Suite/The-Chinese-Room
Assets/Scripts/CharacterMovement.cs
Assets/Scripts/CharacterMovement.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterMovement : MonoBehaviour { public float speed; //Floating point variable to store the player's movement speed. public float maxSpeed; public int playerNo; private Rigidbody2D rb2d; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CharacterMovement : MonoBehaviour { public float speed; //Floating point variable to store the player's movement speed. public int playerNo; private Rigidbody2D rb2d; //Store a reference to the...
mit
C#
28cc60d0070032075c5f0dbb66b52dbd8d08bc7f
Tweak CommandLineArgsParser to slightly improve reliability with quoted strings
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Utils/CommandLineArgsParser.cs
Core/Utils/CommandLineArgsParser.cs
using System.Text.RegularExpressions; namespace TweetDck.Core.Utils{ static class CommandLineArgsParser{ private static Regex splitRegex; private static Regex SplitRegex{ get{ return splitRegex ?? (splitRegex = new Regex(@"([^=\s]+(?:=(?:[^ ]*""[^""]*?""[^ ]*|[^ ]*))?)...
using System.Text.RegularExpressions; namespace TweetDck.Core.Utils{ static class CommandLineArgsParser{ private static Regex splitRegex; private static Regex SplitRegex{ get{ return splitRegex ?? (splitRegex = new Regex(@"([^=\s]+(?:=(?:""[^""]*?""|[^ ]*))?)", RegexOp...
mit
C#
69aadd2597bae84e2f6fa6c7323ccea2ca098d51
Change assembly version
githubpermutation/skylines-scaleui,githubpermutation/skylines-scaleui
ScaleUI/AssemblyInfo.cs
ScaleUI/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ScaleUI1.21")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembl...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("ScaleUI1.2")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly...
mit
C#
0ec2077545305ef0f39344cf032f85fada9800ad
Combine namespace name with child namespace name.
AndresTraks/DotNetWrapperGen,AndresTraks/DotNetWrapperGen
Writer/CSharpFileWriter.cs
Writer/CSharpFileWriter.cs
using DotNetWrapperGen.CodeModel; using DotNetWrapperGen.CodeStructure; using DotNetWrapperGen.Parser; using System.IO; using System.Linq; namespace DotNetWrapperGen.Writer { public class CSharpFileWriter { private HeaderDefinition _header; private StreamWriter _writer; p...
using DotNetWrapperGen.CodeStructure; using DotNetWrapperGen.Parser; using System.IO; namespace DotNetWrapperGen.Writer { public class CSharpFileWriter { private HeaderDefinition _header; private StreamWriter _writer; public CSharpFileWriter(HeaderDefinition header) ...
mit
C#
d164302633e0c1379e98343e87ad378572acdbd3
update copyright year
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
6073c6ec0f756db7396d4e78bb2a611554832cf9
Add DebugBox for debugging issues in popup windows
zwcloud/ImGui,zwcloud/ImGui,zwcloud/ImGui
src/ImGui/Development/GUIDebug.cs
src/ImGui/Development/GUIDebug.cs
using ImGui.Rendering; namespace ImGui.Development { public class GUIDebug { public static void SetWindowPosition(string windowName, Point position) { var possibleWindow = Application.ImGuiContext.WindowManager.Windows.Find(window => window.Name == windowName); if (poss...
namespace ImGui.Development { public class GUIDebug { public static void SetWindowPosition(string windowName, Point position) { var possibleWindow = Application.ImGuiContext.WindowManager.Windows.Find(window => window.Name == windowName); if (possibleWindow != null) ...
agpl-3.0
C#
613cbdfd274ee0d9d0e19afe1b20a5d275bd4dfa
fix paths
nessos/Vagabond,mbraceproject/Vagabond,nessos/Vagabond,mbraceproject/Vagabond
samples/ThunkServer/thunkServer.csx
samples/ThunkServer/thunkServer.csx
#r "bin/Debug/netcoreapp3.1/FsPickler.dll" #r "bin/Debug/netcoreapp3.1/Vagabond.AssemblyParser.dll" #r "bin/Debug/netcoreapp3.1/Vagabond.dll" #r "bin/Debug/netcoreapp3.1/ThunkServer.exe" // before running sample, don't forget to set binding redirects to FSharp.Core in InteractiveHost.exe using System.Linq; using Thu...
#r "bin/Debug/netstandard2.0/FsPickler.dll" #r "bin/Debug/netstandard2.0/Vagabond.AssemblyParser.dll" #r "bin/Debug/netstandard2.0/Vagabond.dll" #r "bin/Debug/netstandard2.0/ThunkServer.exe" // before running sample, don't forget to set binding redirects to FSharp.Core in InteractiveHost.exe using System.Linq; using...
mit
C#
978b87887518a950b1b3f9772f9317a279f4f7fb
Fix InitTests.cs
or-tools/or-tools,google/or-tools,google/or-tools,google/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,or-tools/or-tools,or-tools/or-tools,google/or-tools,or-tools/or-tools
examples/tests/InitTests.cs
examples/tests/InitTests.cs
// Copyright 2010-2021 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2010-2021 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
9c911187a5cd4a637d49c0ee43bb08d585fb61b5
test commit
Pellared/TddKataWorkshop
Game/Game/Game.cs
Game/Game/Game.cs
namespace Game { public class Game { public int Add(int first, int second) { return first + second; } } } sadsdsd
namespace Game { public class Game { public int Add(int first, int second) { return first + second; } } }
mit
C#
2a3360c992abcb2bfac5bf4fb395218a4e30cbb9
Change link and the basic layout
mchaloupka/DotNetR2RMLEndpoint,mchaloupka/EVI-SampleServer,mchaloupka/DotNetR2RMLEndpoint,mchaloupka/EVI-SampleServer
src/Slp.Evi.Server/Slp.Evi.Server/Views/Shared/_BasicLayout.cshtml
src/Slp.Evi.Server/Slp.Evi.Server/Views/Shared/_BasicLayout.cshtml
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <meta name="description" content="SPARQL Query testing page" /> <title>@ViewBag.Title</title> @Scripts.Render("~/Content/js/jquery") @Scripts.Render("~/Content/js/bootstrap") @Scripts.Render("~/Content/js/base...
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <meta name="description" content="SPARQL Query testing page" /> <title>@ViewBag.Title</title> @Scripts.Render("~/Content/js/jquery") @Scripts.Render("~/Content/js/bootstrap") @Scripts.Render("~/Content/js/base...
mit
C#
79687321d7ee2d9c01e433058cf9a8b5fba1c9a8
Add a check statement to stop the timer if it finishes typing
Parthas-Menethil/AutoTyper
AutoTyper/Form1.cs
AutoTyper/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AutoTyper { public partial class Form1 : Form { public Form1() { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace AutoTyper { public partial class Form1 : Form { public Form1() { ...
mit
C#
582e1489ffecf8ed906e784413acfd3465350e50
Fix Namespace on DisconnectionServiceHandler
HelloKitty/GladNet2,HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2.0
src/GladNet.Common/Network/Peer/Connection/DefaultDisconnectionServiceHandler.cs
src/GladNet.Common/Network/Peer/Connection/DefaultDisconnectionServiceHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GladNet.Common { //Stole this implementation from GladNet.PhotonServer's adapter. //Should serve well as a simple implementation in-lieu of custom implementations //for specific net libs. /// <summary> /// Default sim...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GladNet.Common.Network { //Stole this implementation from GladNet.PhotonServer's adapter. //Should serve well as a simple implementation in-lieu of custom implementations //for specific net libs. /// <summary> /// Def...
bsd-3-clause
C#
c9f506d4eaf002a1a67b487f900daddc1cf0530a
Fix #6542 - correct namespace of [TempData]
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs
src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.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; namespace Microsoft.AspNetCore.Mvc { /// <summary> /// Properties decorated with <see cref="TempDataAttribute"/> will have their...
// 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; namespace Microsoft.AspNetCore.Mvc.ViewFeatures { /// <summary> /// Properties with the <see cref="TempDataAttribute"/> are stor...
apache-2.0
C#
430ce6e1e7d8579f880cafeeed1878524798e6c2
Remove double constructor
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs
using System.Data; using Dapper.FastCrud; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public class UnitOfWork : DbTransaction, IUnitOfWork { public SqlDialect SqlDialect { get; set; } public UnitOfWork(IDbFactory factory, ISession session, IsolationLevel isolationLevel = ...
using System.Data; using Dapper.FastCrud; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public class UnitOfWork : DbTransaction, IUnitOfWork { public SqlDialect SqlDialect { get; set; } public UnitOfWork(IDbFactory factory, ISession session) : base(factory) { ...
mit
C#
bf4bf1c02288b8060dab0eed2f16269e4f474fee
clean up content repo
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Repositories/ProcessedContentRepository.cs
src/StockportWebapp/Repositories/ProcessedContentRepository.cs
using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using StockportWebapp.Config; using StockportWebapp.ContentFactory; using StockportWebapp.Http; using StockportWebapp.Models; using StockportWebapp.Utils; namespace StockportWebapp.Repositories { public class ProcessedContentRep...
using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using StockportWebapp.Config; using StockportWebapp.ContentFactory; using StockportWebapp.Http; using StockportWebapp.Models; using StockportWebapp.Utils; namespace StockportWebapp.Repositories { public class ProcessedContentRep...
mit
C#
e01443b18e32244685f3da0c698c986513571af2
revert showing exceptions
ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian
test/Obsidian.Persistence.Test/Repositories/MongoRepositoryTest.cs
test/Obsidian.Persistence.Test/Repositories/MongoRepositoryTest.cs
using MongoDB.Driver; using Obsidian.Foundation.Modeling; using System; namespace Obsidian.Persistence.Test.Repositories { public abstract class MongoRepositoryTest<TAggregate> : RepositoryTest<TAggregate> where TAggregate : class, IAggregateRoot { private const string dbUri = "mongodb://127.0.0.1:270...
using MongoDB.Driver; using Obsidian.Foundation.Modeling; using System; namespace Obsidian.Persistence.Test.Repositories { public abstract class MongoRepositoryTest<TAggregate> : RepositoryTest<TAggregate> where TAggregate : class, IAggregateRoot { private const string dbUri = "mongodb://127.0.0.1:270...
apache-2.0
C#
54fc9f725d18df58795eab329997a384c13f6dbd
rephrase comment
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/BaseSpell.cs
Assets/Scripts/HarryPotterUnity/Cards/BaseSpell.cs
using System.Collections.Generic; using HarryPotterUnity.Enums; using HarryPotterUnity.Game; using HarryPotterUnity.Tween; using HarryPotterUnity.Utils; using UnityEngine; namespace HarryPotterUnity.Cards { public abstract class BaseSpell : BaseCard { private static readonly Vector3 SpellOffset = new Vec...
using System.Collections.Generic; using HarryPotterUnity.Enums; using HarryPotterUnity.Game; using HarryPotterUnity.Tween; using HarryPotterUnity.Utils; using UnityEngine; namespace HarryPotterUnity.Cards { public abstract class BaseSpell : BaseCard { private static readonly Vector3 SpellOffset = new Vec...
mit
C#
3234eeb05ac35be530e0f6333c2e39549961f815
fix exception documentation bug
OBeautifulCode/OBeautifulCode.AccountingTime
OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs
OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode. All rights reserved. // </copyright> // -------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode. All rights reserved. // </copyright> // -------------------------------------------------------...
mit
C#
e23bc4cf29afc7f4cd9d15a02ae75326a3ca5d4f
allow overriding separator in ConcatenatedScript
WasimAhmad/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad...
Serenity.Web/DynamicScript/DynamicScriptTypes/ConcatenatedScript.cs
Serenity.Web/DynamicScript/DynamicScriptTypes/ConcatenatedScript.cs
using System; using System.Collections.Generic; using System.Text; namespace Serenity.Web { public class ConcatenatedScript : DynamicScript { private string separator; private IEnumerable<Func<string>> scriptParts; public ConcatenatedScript(IEnumerable<Func<string>> scriptP...
using System; using System.Collections.Generic; using System.Text; namespace Serenity.Web { public class ConcatenatedScript : DynamicScript { private IEnumerable<Func<string>> scriptParts; public ConcatenatedScript(IEnumerable<Func<string>> scriptParts) { Check...
mit
C#
0494f59f4d4c627c77910e3e2ca6c9380c68b95e
fix compile error
RyotaMurohoshi/unity_snippets
unity/Assets/Scripts/Examples/CustomYieldInstructionExample.cs
unity/Assets/Scripts/Examples/CustomYieldInstructionExample.cs
using UnityEngine; using System.Collections; using System; public class CustomYieldInstructionExample : MonoBehaviour { [SerializeField] bool waitUntil = false; [SerializeField] bool waitWhile = true; void Start() { StartCoroutine(WaitUntilCoroutine()); StartCoroutine(WaitWhil...
using UnityEngine; using System.Collections; using System; public class CustomYieldInstructionExample : MonoBehaviour { [SerializeField] bool waitUntil = false; [SerializeField] bool waitWhile = true; void Start() { StartCoroutine(WaitUntilCoroutine()); StartCoroutine(WaitWhil...
mit
C#
4b6212d5b248e3a8738ee088b884ca77381a7720
Make File/DirInfo independent of current directory
bkoelman/TestableFileSystem
src/Fakes/FakeFileSystem.cs
src/Fakes/FakeFileSystem.cs
using System.IO; using JetBrains.Annotations; using TestableFileSystem.Interfaces; namespace TestableFileSystem.Fakes { public sealed class FakeFileSystem : IFileSystem { [NotNull] private readonly FileOperationLocker<FakeFile> innerFile; public IDirectory Directory { get; } p...
using System.IO; using JetBrains.Annotations; using TestableFileSystem.Interfaces; namespace TestableFileSystem.Fakes { public sealed class FakeFileSystem : IFileSystem { [NotNull] private readonly FileOperationLocker<FakeFile> innerFile; public IDirectory Directory { get; } p...
apache-2.0
C#
5de402c28d1c6a7b26127174032025649bf83324
Allow stats type 3 for status bar info. No support yet, just avoid showing an error.
uoinfusion/Infusion
Infusion/Packets/Server/StatusBarInfoPacket.cs
Infusion/Packets/Server/StatusBarInfoPacket.cs
using System; using Infusion.IO; namespace Infusion.Packets.Server { internal sealed class StatusBarInfoPacket : MaterializedPacket { private Packet rawPacket; public ObjectId PlayerId { get; private set; } public string PlayerName { get; private set; } public ushort CurrentHe...
using System; using Infusion.IO; namespace Infusion.Packets.Server { internal sealed class StatusBarInfoPacket : MaterializedPacket { private Packet rawPacket; public ObjectId PlayerId { get; private set; } public string PlayerName { get; private set; } public ushort CurrentHe...
mit
C#
ab5e973abac7afcdce0388cb497e59a4ac13d283
Debug NuGet on Jenkins
Hosch250/roslyn,balajikris/roslyn,MatthieuMEZIL/roslyn,MichalStrehovsky/roslyn,ljw1004/roslyn,KevinH-MS/roslyn,drognanar/roslyn,KiloBravoLima/roslyn,DustinCampbell/roslyn,tmeschter/roslyn,ErikSchierboom/roslyn,reaction1989/roslyn,physhi/roslyn,balajikris/roslyn,TyOverby/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,n...
src/Tools/Source/RunTests/Logger.cs
src/Tools/Source/RunTests/Logger.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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RunTests { ...
// 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; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RunTests { ...
apache-2.0
C#
801b97703ddd4400d77c9e0ffb1915f59d04ecc5
Fix Triangle intersection test.
izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib
Triangle.cs
Triangle.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChamberLib { public struct Triangle { public Triangle(Vector3 v1, Vector3 v2, Vector3 v3) { V1 = v1; V2 = v2; V3 = v3; } public readonly Vector3 ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ChamberLib { public struct Triangle { public Triangle(Vector3 v1, Vector3 v2, Vector3 v3) { V1 = v1; V2 = v2; V3 = v3; } public readonly Vector3 ...
lgpl-2.1
C#
fca102655ea12961e18e03e616adc3bdff6c0817
Add ExitMode comments
jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes...
src/Avalonia.Controls/ExitMode.cs
src/Avalonia.Controls/ExitMode.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. namespace Avalonia { /// <summary> /// Enum for ExitMode /// </summary> public enum ExitMode { /// <summary> /// Indic...
// 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. namespace Avalonia { public enum ExitMode { OnLastWindowClose, OnMainWindowClose, OnExplicitExit } }
mit
C#
21406bf1164fe163d1ee6c9a3171e8df7b47a618
Initialise abbreviations on a background thread
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/CSharp/Psi/Naming/Settings/AbbreviationsSettingsProvider.cs
resharper/resharper-unity/src/CSharp/Psi/Naming/Settings/AbbreviationsSettingsProvider.cs
using System.IO; using JetBrains.Application.Settings; using JetBrains.Application.Settings.Implementation; using JetBrains.Application.Threading; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Unity.Settings; using JetBrains.ReSharper.Psi.CSharp.Naming2; using JetBrains.Util; namespace JetBrains.ReSh...
using System.IO; using JetBrains.Application.Settings; using JetBrains.Application.Settings.Implementation; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Unity.Settings; using JetBrains.ReSharper.Psi.CSharp.Naming2; using JetBrains.Util; namespace JetBrains.ReSharper.Plugins.Unity.CSharp.Psi.Naming.S...
apache-2.0
C#
12db4788979312d4c4a449bbd7e98da491c27208
make it pretty
shiftkey/ReactiveGit
ReactiveGit.Tests/ObservableRepositoryTests.cs
ReactiveGit.Tests/ObservableRepositoryTests.cs
using System; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Subjects; using System.Threading.Tasks; using LibGit2Sharp; using Xunit; namespace ReactiveGit.Tests { public class ObservableRepositoryTests { [Fact] public async Task CanPullSomeReposito...
using System; using System.Reactive; using System.Reactive.Linq; using System.Threading.Tasks; using LibGit2Sharp; using Xunit; namespace ReactiveGit.Tests { public class ObservableRepositoryTests { [Fact] public async Task CanPullSomeRepository() { Credentials credentials ...
mit
C#
626a5311159ee8a71306cee52b6d89be6dee803b
update new field to use readonly modifier
Haacked/SeeGit
SeeGitApp/Extensions/CommitTemplatedAdorner.cs
SeeGitApp/Extensions/CommitTemplatedAdorner.cs
using System.Windows; using System.Windows.Documents; using System.Windows.Media; namespace SeeGit { /// <summary> /// Custom Adorner hosting a ContentControl with a ContentTemplate /// </summary> internal class CommitTemplatedAdorner : Adorner { private readonly FrameworkElement _adornedEl...
using System.Windows; using System.Windows.Documents; using System.Windows.Media; namespace SeeGit { /// <summary> /// Custom Adorner hosting a ContentControl with a ContentTemplate /// </summary> internal class CommitTemplatedAdorner : Adorner { private FrameworkElement _adornedElement; ...
mit
C#
890ebd98166f2ac642ccd42a41883e81472cbfd7
Implement correct event sink
antmicro/xwt,hamekoz/xwt,mminns/xwt,TheBrainTech/xwt,residuum/xwt,hwthomas/xwt,steffenWi/xwt,mminns/xwt,cra0zy/xwt,sevoku/xwt,akrisiun/xwt,directhex/xwt,mono/xwt,lytico/xwt,iainx/xwt
Xwt/Xwt/Slider.cs
Xwt/Xwt/Slider.cs
// // Slider.cs // // Author: // Jérémie Laval <jeremie.laval@xamarin.com> // // Copyright (c) 2013 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restricti...
// // Slider.cs // // Author: // Jérémie Laval <jeremie.laval@xamarin.com> // // Copyright (c) 2013 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restricti...
mit
C#
779a14140e824a1ddeadbec957e69494e151d7d2
Update IQueryRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/IQueryRepository.cs
TIKSN.Core/Data/IQueryRepository.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity> { Task<TEntity> GetAsync(TIdenti...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data { public interface IQueryRepository<TEntity, TIdentity> where TEntity : IEntity<TIdentity> where TIdentity : IEquatable<TIdentity> { Task<TEntity> GetAsync(TIdenti...
mit
C#
524a5c12185f2f00fa2e18fdab953c5f8ddb9694
Disable German and Chinese due to no maintainers
Yuubari/LegacyKCV,KCV-Localisation/KanColleViewer
Grabacr07.KanColleViewer/Models/ResourceService.cs
Grabacr07.KanColleViewer/Models/ResourceService.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Grabacr07.KanColleViewer.Properties; using Livet; namespace Grabacr07.KanColleViewer.Models { /// <summary> /// 多言語化されたリソースへのアクセスを提供します。 /// </summary> public class Resou...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Threading.Tasks; using Grabacr07.KanColleViewer.Properties; using Livet; namespace Grabacr07.KanColleViewer.Models { /// <summary> /// 多言語化されたリソースへのアクセスを提供します。 /// </summary> public class Resou...
mit
C#
850b959d132c5b03aab569b725555fee2e2a983a
Remove debug gui
nozols/ParkitectAutoSave
AutoSaveBehaviour.cs
AutoSaveBehaviour.cs
using UnityEngine; using System.Collections; namespace AutoSave { class AutoSaveBehaviour : MonoBehaviour { public void Awake() { DontDestroyOnLoad(this); } public void Start() { StartCoroutine("AutoSave"); } public void onGUI() { i...
using UnityEngine; using System.Collections; namespace AutoSave { class AutoSaveBehaviour : MonoBehaviour { public void Awake() { DontDestroyOnLoad(this); } public void Start() { StartCoroutine("AutoSave"); } public void onGUI() { G...
mit
C#
af64d4e8d880730926aa02a50b6ce52082728ad9
Remove help mapping
noobot/noobot,Workshop2/noobot
src/Noobot.Core/MessagingPipeline/Middleware/StandardMiddleware/HelpMiddleware.cs
src/Noobot.Core/MessagingPipeline/Middleware/StandardMiddleware/HelpMiddleware.cs
using System.Collections.Generic; using System.Linq; using System.Text; using Noobot.Core.MessagingPipeline.Middleware.ValidHandles; using Noobot.Core.MessagingPipeline.Request; using Noobot.Core.MessagingPipeline.Response; namespace Noobot.Core.MessagingPipeline.Middleware.StandardMiddleware { internal class Hel...
using System.Collections.Generic; using System.Linq; using System.Text; using Noobot.Core.MessagingPipeline.Middleware.ValidHandles; using Noobot.Core.MessagingPipeline.Request; using Noobot.Core.MessagingPipeline.Response; namespace Noobot.Core.MessagingPipeline.Middleware.StandardMiddleware { internal class Hel...
mit
C#
01ab58fe7c58215f60b5a78e92b33418505b5137
Change legal entity to include the CompanyNumber, RegisteredAddress and DateOfIncorporation
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/LegalEntity.cs
src/SFA.DAS.EmployerApprenticeshipsService.Domain/Entities/Account/LegalEntity.cs
using System; namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account { public class LegalEntity { public long Id { get; set; } public string CompanyNumber { get; set; } public string Name { get; set; } public string RegisteredAddress { get; set; } ...
namespace SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account { public class LegalEntity { public long Id { get; set; } public string Name { get; set; } } }
mit
C#
be69b5a7b1e478ad0c5fdb29f949a6e2115766ee
Fix to work with new API.
jacksonh/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos...
test/TestApp/StreamTestsModule.cs
test/TestApp/StreamTestsModule.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#
0c5c7bab97b82c2088e0c4f3b03d90a5ee563f20
Set a more sensible default for the screen mode.
spideyfusion/akiba
Akiba/Core/Configuration.cs
Akiba/Core/Configuration.cs
namespace Akiba.Core { using System.IO; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; internal class Configuration { public const string ConfigurationName = "configuration.yaml"; public enum ScreenModes : ushort { Windowed, ...
namespace Akiba.Core { using System.IO; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; internal class Configuration { public const string ConfigurationName = "configuration.yaml"; public enum ScreenModes : ushort { Windowed, ...
mit
C#
62f60004ea541c3ccfe8f52e5c6687489bc1b822
Remove useless code
dgarage/NBXplorer,dgarage/NBXplorer
NBXplorer/Configuration/ConfigurationExtensions.cs
NBXplorer/Configuration/ConfigurationExtensions.cs
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.Extensions.Primitives; namespace NBXplorer.Configuration { public static class ConfigurationExtensions { pu...
using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net; using System.Threading.Tasks; using Microsoft.Extensions.Primitives; namespace NBXplorer.Configuration { public static class ConfigurationExtensions { cl...
mit
C#
7e80db2ab5a5628ae51ed12bdb3166802a8b29bc
Revert "绘制渐变"
lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd,lindexi/lindexi_gd
SkiaSharp/RulawnaloyerKairjemhemwemlayca/RulawnaloyerKairjemhemwemlayca/Program.cs
SkiaSharp/RulawnaloyerKairjemhemwemlayca/RulawnaloyerKairjemhemwemlayca/Program.cs
using Microsoft.Maui.Graphics; using Microsoft.Maui.Graphics.Skia; using SkiaSharp; var skImageInfo = new SKImageInfo(1920, 1080, SKColorType.Bgra8888, SKAlphaType.Unpremul, SKColorSpace.CreateSrgb()); var fileName = $"xx.png"; using (var skImage = SKImage.Create(skImageInfo)) { using (var skBitmap = SKBitmap....
using Microsoft.Maui.Graphics; using Microsoft.Maui.Graphics.Skia; using SkiaSharp; var skImageInfo = new SKImageInfo(1920, 1080, SKColorType.Bgra8888, SKAlphaType.Unpremul, SKColorSpace.CreateSrgb()); var fileName = $"xx.jpg"; using (var skImage = SKImage.Create(skImageInfo)) { using (var skBitmap = SKBitmap....
mit
C#
8a4f9abd8f6af6bcbca8b96a2dd86bca04ffc0f7
Add unhandled exception handling
aarondemarre/DRLeagueParser
DRLPTest/App.xaml.cs
DRLPTest/App.xaml.cs
using System.Windows; namespace DRLPTest { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { public App() { Application.Current.DispatcherUnhandledException += Current_DispatcherUnhandledException; } ...
using System.Windows; namespace DRLPTest { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
mit
C#
eac9e7a81de4dc09474db2af4e0073788dad5ce3
Fix WPF TextLayoutBackendHandler.GetSize
antmicro/xwt,hwthomas/xwt,cra0zy/xwt,sevoku/xwt,directhex/xwt,mono/xwt,TheBrainTech/xwt,mminns/xwt,steffenWi/xwt,akrisiun/xwt,lytico/xwt,mminns/xwt,iainx/xwt,residuum/xwt,hamekoz/xwt
Xwt.WPF/Xwt.WPFBackend/TextLayoutBackendHandler.cs
Xwt.WPF/Xwt.WPFBackend/TextLayoutBackendHandler.cs
// // TextLayoutBackendHandler.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without ...
// // TextLayoutBackendHandler.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without ...
mit
C#
9e131b7acad949381a9b471a46c9c20afeeab844
Use I18N where possible. Added OpenUserFile() method.
Vicrelant/polutils,graspee/polutils,graspee/polutils,Vicrelant/polutils
PlayOnline.FFXI/Character.cs
PlayOnline.FFXI/Character.cs
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { internal Character(string ContentID) { this.ID_ = ContentID; this.DataDir_ = Path.Combine(POL.GetApplicationPath(AppID.FFXI), Path.Combine("User", ContentID)); } ...
using System; using System.IO; using Microsoft.Win32; using PlayOnline.Core; namespace PlayOnline.FFXI { public class Character { #region Data Members public string ID { get { return this.ID_; } } public string Name { get { string value = String.Format("Unknown Character ({0})", this.ID_...
apache-2.0
C#
f395f657fc40abb8eb2a1895a476c60b6652e64b
Fix FxCop warning CA1018 (attributes should have AttributeUsage)
poizan42/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.cs
src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/DiscardableAttribute.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 System.Runtime.CompilerServices { // Custom attribute to indicating a TypeDef is a discardable attribu...
// 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 System.Runtime.CompilerServices { // Custom attribute to indicating a TypeDef is a discardable attribu...
mit
C#
2389434b4049fc3a754d4d16e776a42ccd3c84fd
fix validazione motivazione revoca
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Classi/Soccorso/Eventi/Partenze/RevocaPerSostituzioneMezzo.cs
src/backend/SO115App.Models/Classi/Soccorso/Eventi/Partenze/RevocaPerSostituzioneMezzo.cs
using SO115App.API.Models.Classi.Soccorso; using SO115App.API.Models.Classi.Soccorso.Eventi.Partenze; using System; namespace SO115App.Models.Classi.Soccorso.Eventi.Partenze { public class RevocaPerSostituzioneMezzo : Revoca { public RevocaPerSostituzioneMezzo(RichiestaAssistenza richiesta, string cod...
using SO115App.API.Models.Classi.Soccorso; using SO115App.API.Models.Classi.Soccorso.Eventi.Partenze; using System; namespace SO115App.Models.Classi.Soccorso.Eventi.Partenze { public class RevocaPerSostituzioneMezzo : Revoca { public RevocaPerSostituzioneMezzo(RichiestaAssistenza richiesta, string cod...
agpl-3.0
C#
d20938c45fc394b195ec1305c3c1614bc39eb037
Convert Unshelve to NDesk.Options.
hazzik/git-tfs,steveandpeggyb/Public,allansson/git-tfs,andyrooger/git-tfs,bleissem/git-tfs,hazzik/git-tfs,hazzik/git-tfs,jeremy-sylvis-tmg/git-tfs,NathanLBCooper/git-tfs,WolfVR/git-tfs,bleissem/git-tfs,NathanLBCooper/git-tfs,spraints/git-tfs,TheoAndersen/git-tfs,guyboltonking/git-tfs,adbre/git-tfs,vzabavnov/git-tfs,adb...
GitTfs/Commands/Unshelve.cs
GitTfs/Commands/Unshelve.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using NDesk.Options; using StructureMap; using Sep.Git.Tfs.Core; namespace Sep.Git.Tfs.Commands { [Pluggable("unshelve")] [Descriptio...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Linq; using System.Text.RegularExpressions; using NDesk.Options; using CommandLine.OptParse; using Sep.Git.Tfs.Core; using StructureMap; namespace Sep.Git.Tfs.Commands { [Pluggable("...
apache-2.0
C#
666375f685f9fba1a4f201df6fdc6ec641cd639f
Add some changes to UI to make spacing equal for components
willb611/SlimeSimulation
SlimeSimulation/View/WindowComponent/SimulationControlComponent/AdaptionPhaseControlBox.cs
SlimeSimulation/View/WindowComponent/SimulationControlComponent/AdaptionPhaseControlBox.cs
using Gtk; using NLog; using SlimeSimulation.Controller.WindowController.Templates; namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent { class AdaptionPhaseControlBox : AbstractSimulationControlBox { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); ...
using Gtk; using NLog; using SlimeSimulation.Controller.WindowController.Templates; namespace SlimeSimulation.View.WindowComponent.SimulationControlComponent { class AdaptionPhaseControlBox : AbstractSimulationControlBox { private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); ...
apache-2.0
C#
134c35fe822263487e8e70aaee31c691eb0ae52e
Extend documentation for EnumToObjectConverter
thomasgalliker/ValueConverters.NET
ValueConverters.NetFx/EnumToObjectConverter.cs
ValueConverters.NetFx/EnumToObjectConverter.cs
using System; using System.Globalization; #if (NETFX || WINDOWS_PHONE) using System.Windows; using System.Windows.Markup; #elif (NETFX_CORE) using Windows.UI.Xaml; using Windows.UI.Xaml.Markup; #elif (XAMARIN) using Xamarin.Forms; #endif namespace ValueConverters { /// <summary> /// EnumToObjectCo...
using System; using System.Globalization; #if (NETFX || WINDOWS_PHONE) using System.Windows; using System.Windows.Markup; #elif (NETFX_CORE) using Windows.UI.Xaml; using Windows.UI.Xaml.Markup; #elif (XAMARIN) using Xamarin.Forms; #endif namespace ValueConverters { /// <summary> /// Source: http://...
mit
C#
e522428628b16fc4c44541f70e7221033720930b
Fix coding style issue
Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates
Migrations/Configuration.cs
Migrations/Configuration.cs
namespace CurrencyRates.Migrations { using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<Context> { public Configuration() { AutomaticMigrationsEnabled = true; ContextKey = "CurrencyRates.Context"; } ...
namespace CurrencyRates.Migrations { using System.Data.Entity.Migrations; internal sealed class Configuration : DbMigrationsConfiguration<CurrencyRates.Context> { public Configuration() { AutomaticMigrationsEnabled = true; ContextKey = "CurrencyRates.Context...
mit
C#
1a703cea26c7a4069a2bbde3179637eebed4d1e8
Update GridModel.cs
gaessaki/TicTacToe-WinForms-MVP
TicTacToe/Model/GridModel.cs
TicTacToe/Model/GridModel.cs
namespace TicTacToe.Model { class GridModel : IGridModel { private char[,] grid; private bool playerOneTurn; /// <summary> /// Gets and sets the boolean indicating whether it's the first players turn. /// </summary> public bool PlayerOneTurn { ...
namespace TicTacToe.Model { class GridModel : IGridModel { private char[,] grid; private bool playerOneTurn; /// <summary> /// Gets and sets the boolean indicating whether it's the first players turn. /// </summary> public bool PlayerOneTurn { get { ...
mit
C#
a124b695d9b2c88a870bd36dc965f82918506b78
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: September 30, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> Update posted: September 30, 2020<br /><br /> In response to the emergency need for the analysis of wine for smoke taint, ...
mit
C#
6008e6c42040709fa2aefa3f886e563bca316e24
Move test component to bottom of class
peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework.Tests/Audio/AudioCollectionManagerTest.cs
osu.Framework.Tests/Audio/AudioCollectionManagerTest.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.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
// 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.Threading; using NUnit.Framework; using osu.Framework.Audio; namespace osu.Framework.Tests.Audio { [TestFixture] public class AudioCollectionManage...
mit
C#
13e83eb051fb0de5edc3aeb7308c24f565d2b437
Use TryGetValue instead of catching and returning null
RonnChyran/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake
Snowflake/Ajax/JSRequest.cs
Snowflake/Ajax/JSRequest.cs
using System.Collections.Generic; namespace Snowflake.Ajax { public class JSRequest : IJSRequest { public string MethodName { get; } public string NameSpace { get; } public IDictionary<string, string> MethodParameters { get; } public JSRequest(string nameSpace, string methodNam...
using System.Collections.Generic; namespace Snowflake.Ajax { public class JSRequest : IJSRequest { public string MethodName { get; } public string NameSpace { get; } public IDictionary<string, string> MethodParameters { get; } public JSRequest(string nameSpace, string methodNam...
mpl-2.0
C#
7c6dd17145eb193fec02d16c4490d3e57244bc20
Fix import orderings
CedarLogic/Dash,MicrosoftDX/Dash,MicrosoftDX/Dash,MicrosoftDX/Dash,MicrosoftDX/Dash,MicrosoftDX/Dash
DashServer/Utils/HandlerResult.cs
DashServer/Utils/HandlerResult.cs
// Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using Microsoft.WindowsAzure.Storage; namespace Microsoft.Dash.Server.Utils { public class HandlerResult { public stati...
// Copyright (c) Microsoft Corporation. All rights reserved. using Microsoft.WindowsAzure.Storage; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; namespace Microsoft.Dash.Server.Utils { public class HandlerResult { public stati...
mit
C#
92986caa7accd6980c698f7772fa70d81d2b39d4
Add quick check for attached domain
Seddryck/ERMine,Seddryck/ERMine
ERMine.Core/Modeling/Attribute.cs
ERMine.Core/Modeling/Attribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ERMine.Core.Modeling { public class Attribute : IEntityRelationship { public string Label { get; set; } public string DataType { get; set; } public Domain Domai...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ERMine.Core.Modeling { public class Attribute : IEntityRelationship { public string Label { get; set; } public string DataType { get; set; } public Domain Domai...
apache-2.0
C#
08d056093c71d8bc11517b44f2e5bbf880b01fa2
Change NetworkMessageSender to send NetworkMessages
HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2,HelloKitty/GladNet2.0
src/GladNet.Common/Network/Message/Senders/INetworkMessageSender.cs
src/GladNet.Common/Network/Message/Senders/INetworkMessageSender.cs
using GladNet.Payload; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace GladNet.Common { /// <summary> /// Contract that guarantees implementing types offer some <see cref="INetworkMessage"/> and <see cref="PacketPayload"/> sendi...
using GladNet.Payload; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; namespace GladNet.Common { /// <summary> /// Contract that guarantees implementing types offer some network message sending functionality. /// </summary> public inte...
bsd-3-clause
C#
42b117b9d3804249a39ae1e191e7db2615122d72
add property for authenticated request
MienDev/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,IdentityServer/IdentityServ...
src/IdentityServer4/Validation/Models/ValidatedEndSessionRequest.cs
src/IdentityServer4/Validation/Models/ValidatedEndSessionRequest.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 IdentityServer4.Models; namespace IdentityServer4.Validation { /// <summary> /// Represents a validated end session (logout) r...
// 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 IdentityServer4.Models; namespace IdentityServer4.Validation { /// <summary> /// Represents a validated end session (logout) r...
apache-2.0
C#
7f3392e8c87dbc046b8a0b725e305f599c022e55
use correct availability status, as described in https://xmpp.org/rfcs/rfc6121.html#presence-syntax-children-show
pgstath/Sharp.Xmpp,Hitcents/S22.Xmpp
Im/Availability.cs
Im/Availability.cs
namespace Sharp.Xmpp.Im { /// <summary> /// Defines the possible values for a user's availability status. /// </summary> public enum Availability { /// <summary> /// The user or resource is offline and unavailable. /// </summary> Offline, /// <summary> ...
namespace Sharp.Xmpp.Im { /// <summary> /// Defines the possible values for a user's availability status. /// </summary> public enum Availability { /// <summary> /// The user or resource is offline and unavailable. /// </summary> Offline, /// <summary> ...
mit
C#
28ce38bd4a0462f43ba4132903537b16212bf2dd
Enable OMS in the frontent service startup code.
karolz-ms/diagnostics-eventflow
AirTrafficControl.Web/Program.cs
AirTrafficControl.Web/Program.cs
using AirTrafficControl.Web.Fabric; using Microsoft.Diagnostics.EventListeners; using Microsoft.ServiceFabric.Services.Runtime; using System; using System.Configuration; using System.Diagnostics; using System.Fabric; using System.Threading; using FabricEventListeners = Microsoft.Diagnostics.EventListeners.Fabric; na...
using AirTrafficControl.Web.Fabric; using Microsoft.Diagnostics.EventListeners; using Microsoft.ServiceFabric.Services.Runtime; using System; using System.Configuration; using System.Diagnostics; using System.Fabric; using System.Threading; using FabricEventListeners = Microsoft.Diagnostics.EventListeners.Fabric; na...
mit
C#
5e4a8e3b09fe3a9eee94f0acb195687d5619393c
edit for style
kaosborn/KaosCollections
Bench/RdExample04/RdExample04.cs
Bench/RdExample04/RdExample04.cs
using System; using Kaos.Collections; namespace ExampleApp { class RdExample04 { static void Main() { var dary1 = new RankedDictionary<string,int> (StringComparer.InvariantCultureIgnoreCase); dary1.Add ("AAA", 0); dary1.Add ("bbb", 1); dary1.Add ...
// // Program: RdExample04.cs // Purpose: Exercise BtreeDictionary with a supplied comparer. // using System; using System.Collections.Generic; using Kaos.Collections; namespace ExampleApp { class RdExample04 { static void Main() { var tree1 = new RankedDictionary<string,int> (Str...
mit
C#
c4eeb17d510df0d8a4154f88dd8dc8927234d5c0
Fix duplicate target
RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake
src/Snowflake.Framework.Tests/Configuration/OrderSensitiveConfigurationCollection.cs
src/Snowflake.Framework.Tests/Configuration/OrderSensitiveConfigurationCollection.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Snowflake.Configuration; using Snowflake.Configuration.Attributes; using Snowflake.Configuration.Serialization.Serializers.Implementations; using Snowflake.Configuration.Tests; namespace Snowflake...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Snowflake.Configuration; using Snowflake.Configuration.Attributes; using Snowflake.Configuration.Serialization.Serializers.Implementations; using Snowflake.Configuration.Tests; namespace Snowflake...
mpl-2.0
C#
e7467da742ecc93b2debe0142412c386ddee6316
Fix runtime error
anuracode/forms_controls
Anuracode.Forms.Controls.Sample/Anuracode.Forms.Controls.Sample.Droid/MainActivity.cs
Anuracode.Forms.Controls.Sample/Anuracode.Forms.Controls.Sample.Droid/MainActivity.cs
using Android.App; using Android.Content.PM; using Android.OS; using Anuracode.Forms.Controls.Sample; namespace SampleAndroid { [Activity(Label = "Anuracode.Forms.Controls.Sample", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChang...
using Android.App; using Android.Content.PM; using Android.OS; using Anuracode.Forms.Controls.Sample; namespace SampleAndroid { [Activity(Label = "Anuracode.Forms.Controls.Sample", Icon = "@drawable/icon", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChang...
apache-2.0
C#
fd1c7c5b47464acd7c26b4a69c7c90096000b6ab
Make NoRequiredScopeAttribute public
Brightspace/D2L.Security.OAuth2
D2L.Security.OAuth2.WebApi/Authorization/NoRequiredScopeAttribute.cs
D2L.Security.OAuth2.WebApi/Authorization/NoRequiredScopeAttribute.cs
using System; using System.Web.Http; using System.Web.Http.Controllers; using D2L.Security.OAuth2.Principal; namespace D2L.Security.OAuth2.Authorization { [AttributeUsage( AttributeTargets.Method, AllowMultiple = false )] public sealed class NoRequiredScopeAttribute : AuthorizeAttribute { // This attribut...
using System; using System.Web.Http; using System.Web.Http.Controllers; using D2L.Security.OAuth2.Principal; namespace D2L.Security.OAuth2.Authorization { internal sealed class NoRequiredScopeAttribute : AuthorizeAttribute { [AttributeUsage( AttributeTargets.Method, AllowMultiple = false )] // This attrib...
apache-2.0
C#
7dad561c96fb3bc32bb330c549a0ef4fca2bad93
Revert to use ProductType since this is all that is needed in the summary, as it is the only thing shown in the opportunity summary, in the offer page
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/OpportunitySummaryDto.cs
using PS.Mothership.Core.Common.Template.Gen; using PS.Mothership.Core.Common.Template.Opp; using System; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class OpportunitySummaryDto { [DataMember] public Guid OpportunityGuid {...
using PS.Mothership.Core.Common.Template.Gen; using PS.Mothership.Core.Common.Template.Opp; using System; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class OpportunitySummaryDto { [DataMember] public Guid OpportunityGuid {...
mit
C#
ce2d6b6b2f91a5e494b8038216be8a3eb881c223
Use the Query property of the Uri
ScottIsAFool/Bex,jamesmcroft/Bex
Bex/Extensions/UriExtensions.cs
Bex/Extensions/UriExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace Bex.Extensions { internal static class UriExtensions { internal static IEnumerable<KeyValuePair<string, string>> QueryString(this Uri uri) { if (string.IsNullOrEmpty(uri.Query)) ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; namespace Bex.Extensions { internal static class UriExtensions { internal static IEnumerable<KeyValuePair<string, string>> QueryString(this Uri uri) { var uriString = uri.IsAbsoluteUri ? uri.Absolu...
mit
C#
d60528c40fc88d36a6947c75ba95e8327cb8011e
Fix AssemblyInfo details
SuperDrew/ggUnit
GgUnit/Properties/AssemblyInfo.cs
GgUnit/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("Gg...
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("Gg...
mit
C#
c0b2c2b194bde4ffa6a38d200bcf76223743c714
Fix commit 82eff307d5fc9c962dbbb6e109781d92bbb0f069
StockSharp/StockSharp
Community/CommunityMessageTypes.cs
Community/CommunityMessageTypes.cs
namespace StockSharp.Community { using StockSharp.Messages; /// <summary> /// Extended <see cref="MessageTypes"/>. /// </summary> public static class CommunityMessageTypes { /// <summary> /// <see cref="FileInfoMessage"/>. /// </summary> public const MessageTypes FileInfo = (MessageTypes)(-11000); //...
namespace StockSharp.Community { using StockSharp.Messages; /// <summary> /// Extended <see cref="MessageTypes"/>. /// </summary> public class CommunityMessageTypes { /// <summary> /// <see cref="FileInfoMessage"/>. /// </summary> public const MessageTypes FileInfo = (MessageTypes)(-11000); /// <summ...
apache-2.0
C#
69bb7140502abddab974171fe08222b900a358c1
Update default configuration to use legacy URLs
k-t/SharpHaven
SharpHaven/Config.cs
SharpHaven/Config.cs
using System; using System.IO; using Nini.Config; namespace SharpHaven { public class Config { private const string DefaultHost = "legacy.havenandhearth.com"; private const int DefaultGamePort = 1870; private const int DefaultAuthPort = 1871; private const string DefaultMapUrl = "http://legacy.havenandhearth...
using System; using System.IO; using Nini.Config; namespace SharpHaven { public class Config { private const string DefaultHost = "moltke.seatribe.se"; private const int DefaultGamePort = 1870; private const int DefaultAuthPort = 1871; private const string DefaultMapUrl = "http://www.havenandhearth.com/mm/";...
mit
C#
cd8751f84884bc11c7d9b9452f06eacb6d2c9774
Remove distinct tags
joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.Domain/TagExtensions.cs
JoinRpg.Domain/TagExtensions.cs
using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class TagExtensions { public static IEnumerable<string> ExtractTagNames(this string title) { return ExtractTagNamesImpl(title).Distinct(); } private static IEnumerable<string...
using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class TagExtensions { public static IEnumerable<string> ExtractTagNames(this string title) { for (var i = 0; i < title.Length; i++) { if (title[i] != '#') continue; ...
mit
C#
e497e87be767abbd2da6a9faf91db699819065fe
Delete dead code
jasonmalinowski/roslyn,bartdesmet/roslyn,mavasani/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn...
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Indentation/AbstractIndentation.cs
src/Workspaces/SharedUtilitiesAndExtensions/Compiler/Core/Indentation/AbstractIndentation.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.Formatting; using Microsoft.CodeAnalysis.Formatting.Rules; using Microsoft.CodeAnalysi...
// 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.Formatting; using Microsoft.CodeAnalysis.Formatting.Rules; using Microsoft.CodeAnalysi...
mit
C#
49ef209c0ef961c98ac4c7a7dd86a4f50a1a776e
test generatore fake coordinate intervento
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.GeneratoreFakeRichieste.Test/TestGeneratoreCoordinateInterventoPerUO.cs
src/backend/SO115App.GeneratoreFakeRichieste.Test/TestGeneratoreCoordinateInterventoPerUO.cs
using NUnit.Framework; using SO115App.GeneratoreRichiesteFake; namespace Tests { public class TestGeneratoreCoordinateInterventoPerUO { [Test] [Repeat(100)] public void GliInterventiDiTorinoSonoViciniATorino() { var generatore = new GeneratoreCoordinateInterventoPerU...
using NUnit.Framework; using SO115App.GeneratoreRichiesteFake; namespace Tests { public class TestGeneratoreCoordinateInterventoPerUO { [Test] [Repeat(100)] public void GliInterventiDiTorinoSonoViciniATorino() { var generatore = new GeneratoreCoordinateInterventoPerU...
agpl-3.0
C#
fc2f0faf1421e6c7414b63ebe88df1bfdd201191
Fix for #39
4nonym0us/aspnetboilerplate,takintsft/aspnetboilerplate,andmattia/aspnetboilerplate,virtualcca/aspnetboilerplate,verdentk/aspnetboilerplate,MetSystem/aspnetboilerplate,nicklv/aspnetboilerplate,zquans/aspnetboilerplate,takintsft/aspnetboilerplate,oceanho/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,abdllhbyrktr/aspn...
src/Abp/Framework/Abp/Domain/Uow/UnitOfWorkRegistrer.cs
src/Abp/Framework/Abp/Domain/Uow/UnitOfWorkRegistrer.cs
using System.Linq; using System.Reflection; using Abp.Startup; using Castle.Core; using Castle.MicroKernel; namespace Abp.Domain.Uow { /// <summary> /// This class is used to register interceptor for needed classes for Unit Of Work mechanism. /// </summary> public static class UnitOfWorkRegistrer {...
using System.Linq; using Abp.Startup; using Castle.Core; using Castle.MicroKernel; namespace Abp.Domain.Uow { /// <summary> /// This class is used to register interceptor for needed classes for Unit Of Work mechanism. /// </summary> public static class UnitOfWorkRegistrer { /// <summary> ...
mit
C#
7716a96b2848d32d1e49c932d8a25d19a877aa02
Allow scrolling through DimmedLoadingLayer
2yangk23/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
// 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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
mit
C#
5f1d902ffcfe5fa5540edc741bc4caa77313b0e6
Align assembly verions with package release 2.0.3
bfreese/ExCSS
ExCSS/Properties/AssemblyInfo.cs
ExCSS/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("ExCSS Parser")] [assembly: AssemblyDescri...
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("ExCSS Parser")] [assembly: AssemblyDescri...
mit
C#
1e821b0f60de97419234b7343366a1d1ced602fc
Update TrieNode.cs
ibendrup/LevenshteinAutomaton
LevenshteinAutomaton/TrieNode.cs
LevenshteinAutomaton/TrieNode.cs
using System; using System.Collections.Generic; namespace LevenshteinAutomaton { /// <summary> /// Prefix tree node /// </summary> public class TrieNode { /// <summary> /// Node's key /// </summary> public readonly String Key; /// <summary> /// Children node list /// </summary> public Dictionary<c...
using System; using System.Collections.Generic; namespace LevenshteinAutomaton { /// <summary> /// Prefix tree node /// </summary> public class TrieNode { /// <summary> /// Node's key /// </summary> public readonly String Key; /// <summary> /// Перечень дочерних узлов /// </summary> public Diction...
mit
C#