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
77f1e96200bf8bf68cf3c7ee77f7ffbfe0f6c367
Update 20161207-2
novuslogic/NovuscodeLibrary.NET
Source/NovusCodeLibrary4.Utils/SystemUtils.cs
Source/NovusCodeLibrary4.Utils/SystemUtils.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace NovusCodeLibrary.Utils { public class SystemUtils { public static void MkDir(string aDirectory) { System.IO.Directory.CreateDirectory(aDirectory); } p...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NovusCodeLibrary.Utils { public class SystemUtils { public static void MkDir(string aDirectory) { System.IO.Directory.CreateDirectory(aDirectory); } } }
apache-2.0
C#
e0753150fc23ed8a57ec0a65628447b7faeea408
Implement FilePath.Equals() and GetHashCode()
xoofx/libgit2sharp,Zoxive/libgit2sharp,jeffhostetler/public_libgit2sharp,GeertvanHorrik/libgit2sharp,nulltoken/libgit2sharp,AMSadek/libgit2sharp,shana/libgit2sharp,vorou/libgit2sharp,dlsteuer/libgit2sharp,mono/libgit2sharp,github/libgit2sharp,vorou/libgit2sharp,AArnott/libgit2sharp,PKRoma/libgit2sharp,nulltoken/libgit2...
LibGit2Sharp/Core/FilePath.cs
LibGit2Sharp/Core/FilePath.cs
using System; using System.IO; namespace LibGit2Sharp.Core { internal class FilePath : IEquatable<FilePath> { internal static FilePath Empty = new FilePath(string.Empty); private const char posixDirectorySeparatorChar = '/'; private readonly string native; private readonly st...
using System.IO; namespace LibGit2Sharp.Core { internal class FilePath { internal static FilePath Empty = new FilePath(string.Empty); private const char posixDirectorySeparatorChar = '/'; private readonly string native; private readonly string posix; private FilePath...
mit
C#
8697da06c5ba4f8ae987c1a9b40b526e162a0b89
Update Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs
GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs
Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAMeter.cs
//****************************************************************************************************** // AdditionalField.cs - Gbtc // // Copyright © 2019, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
//****************************************************************************************************** // AdditionalField.cs - Gbtc // // Copyright © 2019, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // ...
mit
C#
6d60f398053cd504b905aeafc71089e95a3c2923
Add tests for SA1206 with the 'readonly', 'ref', and 'partial' keywords
DotNetAnalyzers/StyleCopAnalyzers
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/OrderingRules/SA1206CSharp7UnitTests.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using System.Threading; using System.Threading.Tasks; using Microsoft...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.OrderingRules { using System.Threading; using System.Threading.Tasks; using Microsoft...
mit
C#
43b322d0626704f1b1d7ff8c09480cdb474d1c6b
Remove the window content before adding a new child
mminns/xwt,hwthomas/xwt,steffenWi/xwt,residuum/xwt,akrisiun/xwt,sevoku/xwt,TheBrainTech/xwt,iainx/xwt,directhex/xwt,antmicro/xwt,lytico/xwt,cra0zy/xwt,hamekoz/xwt,mminns/xwt,mono/xwt
Xwt.Gtk/Xwt.GtkBackend/WindowBackend.cs
Xwt.Gtk/Xwt.GtkBackend/WindowBackend.cs
// // WindowBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // Konrad Kruczyński <kkruczynski@antmicro.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "...
// // WindowBackend.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // Konrad Kruczyński <kkruczynski@antmicro.com> // // Copyright (c) 2011 Xamarin Inc // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "...
mit
C#
d4dc9773cebeeb25f3aa51e07dac7100b883581f
fix todo item
xamarin/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples
ios8/CloudKitAtlas/CloudKitAtlas/CodeSamples/Notitfications/MarkNotificationsReadSample.cs
ios8/CloudKitAtlas/CloudKitAtlas/CodeSamples/Notitfications/MarkNotificationsReadSample.cs
using System.Collections.Generic; using System.Threading.Tasks; using UIKit; using Foundation; using CloudKit; namespace CloudKitAtlas { public class NotificationsCache { public Results Results { get; private set; } = new Results (null, alwaysShowAsList: true); public void AddNotification (CKNotification noti...
using System; using System.Collections.Generic; using UIKit; using Foundation; using CloudKit; using System.Threading.Tasks; namespace CloudKitAtlas { public class NotificationsCache { public Results Results { get; private set; } = new Results (null, alwaysShowAsList: true); public void AddNotification (CKNot...
mit
C#
650aac06335a8dffabb4321ee62a1a498febc438
Add editor button to update build path
Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
Assets/Editor/MicrogameCollectionEditor.cs
Assets/Editor/MicrogameCollectionEditor.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(MicrogameCollection))] public class MicrogameCollectionEditor : Editor { public override void OnInspectorGUI() { MicrogameCollection collection = (MicrogameCollection)target; if (GUILayout.Butt...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(MicrogameCollection))] public class MicrogameCollectionEditor : Editor { public override void OnInspectorGUI() { MicrogameCollection collection = (MicrogameCollection)target; if (GUILayout.Butt...
mit
C#
abf7dc9c5410c44daa8777c120375cd7885d6412
fix merge issue
vmandic/dreamlet,vmandic/dreamlet,vmandic/dreamlet
dreamlet.server/dreamlet.WebService/App_Start/WebApiConfig.cs
dreamlet.server/dreamlet.WebService/App_Start/WebApiConfig.cs
using Newtonsoft.Json.Serialization; using System.Linq; using System.Web.Http; namespace dreamlet.WebService { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttributeRoutes(); var appXmlType = config.Formatters.XmlFormatter.S...
using Newtonsoft.Json.Serialization; using System.Linq; using System.Web.Http; namespace dreamlet.WebService { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API routes config.MapHttpAttributeRoutes(); var appXmlType = config.Formatters.XmlFormatter.S...
apache-2.0
C#
f1506e361c50e5104cad2d37c474076fbd584c1c
remove unused stuff
kersny/libuv-csharp,kersny/libuv-csharp
webserver.cs
webserver.cs
using System; using System.Runtime.InteropServices; using System.IO; namespace webserver { class webserver { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void uv_connection_cb(IntPtr socket, int status); [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void manos_...
using System; using System.Runtime.InteropServices; using System.IO; namespace webserver { class webserver { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void uv_connection_cb(IntPtr socket, int status); [UnmanagedFunctionPointer(CallingConvention.Cdecl)] internal delegate void manos_...
mit
C#
e5531816f8e57d52b73ab07071aba12334a2363f
Switch to informational level logging.
KevinRansom/roslyn,physhi/roslyn,mavasani/roslyn,physhi/roslyn,AmadeusW/roslyn,eriawan/roslyn,diryboy/roslyn,diryboy/roslyn,wvdd007/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,mavasani/roslyn,AmadeusW/ros...
src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer_ILspLogger.cs
src/VisualStudio/Core/Def/Implementation/LanguageClient/InProcLanguageServer_ILspLogger.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.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; usin...
// 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.Diagnostics; using System.IO; using System.Threading; using System.Threading.Tasks; usin...
mit
C#
5f23f4725831e8f5427775add196b8a1e322e806
use next working day if D+2 falls into weekend in spot tiles
AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud,AdaptiveConsulting/ReactiveTraderCloud
src/server/Adaptive.ReactiveTrader.Server.Pricing/MeanReversionRandomWalkPriceGenerator.cs
src/server/Adaptive.ReactiveTrader.Server.Pricing/MeanReversionRandomWalkPriceGenerator.cs
using System; using System.Diagnostics; using Adaptive.ReactiveTrader.Contract; namespace Adaptive.ReactiveTrader.Server.Pricing { public sealed class MeanReversionRandomWalkPriceGenerator : BaseWalkPriceGenerator, IPriceGenerator { private readonly decimal _halfSpreadPercentage; private readonly decimal _...
using System; using System.Diagnostics; using Adaptive.ReactiveTrader.Contract; namespace Adaptive.ReactiveTrader.Server.Pricing { public sealed class MeanReversionRandomWalkPriceGenerator : BaseWalkPriceGenerator, IPriceGenerator { private readonly decimal _halfSpreadPercentage; private readonly decimal _...
apache-2.0
C#
cb71bd1f97b0d17764fe8421ae0de2cb1a165e41
Make GetTabForItem throw for nonexistent items
jcmoyer/Yeena
Yeena/PathOfExile/PoEStash.cs
Yeena/PathOfExile/PoEStash.cs
// Copyright 2013 J.C. Moyer // // 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 ...
// Copyright 2013 J.C. Moyer // // 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 ...
apache-2.0
C#
5e4717cedcf366f03c0499c64b9f05d7cc409e0c
Add square extension method to floats
dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo
DynamixelServo.Quadruped/MathExtensions.cs
DynamixelServo.Quadruped/MathExtensions.cs
using System; namespace DynamixelServo.Quadruped { static class MathExtensions { public static double RadToDegree(this double angle) { return angle * (180.0 / Math.PI); } public static float RadToDegree(this float angle) { return angle * (180f /...
using System; namespace DynamixelServo.Quadruped { static class MathExtensions { public static double RadToDegree(this double angle) { return angle * (180.0 / Math.PI); } public static float RadToDegree(this float angle) { return angle * (180f /...
apache-2.0
C#
42eefec1cb19382bf6952f725b73bf7f36c85037
Use https by default for new servers
cwensley/JabbR.Eto,cwensley/JabbR.Eto,JabbR/JabbR.Desktop,cwensley/JabbR.Eto,JabbR/JabbR.Desktop,JabbR/JabbR.Desktop
Source/JabbR.Eto/Actions/AddServer.cs
Source/JabbR.Eto/Actions/AddServer.cs
using System; using Eto.Forms; using JabbR.Eto.Interface.Dialogs; using JabbR.Eto.Model.JabbR; using System.Diagnostics; namespace JabbR.Eto.Actions { public class AddServer : ButtonAction { public const string ActionID = "AddServer"; public bool AutoConnect { get; set; } public AddServer () { this....
using System; using Eto.Forms; using JabbR.Eto.Interface.Dialogs; using JabbR.Eto.Model.JabbR; using System.Diagnostics; namespace JabbR.Eto.Actions { public class AddServer : ButtonAction { public const string ActionID = "AddServer"; public bool AutoConnect { get; set; } public AddServer () { this....
mit
C#
7ff84385cc1257dc41c01fd1e7f0a1f69fa0282d
Fix parameter
mika-f/Sagitta
Source/Sagitta/Clients/MangaClient.cs
Source/Sagitta/Clients/MangaClient.cs
using System.Collections.Generic; using System.Threading.Tasks; using Sagitta.Extensions; using Sagitta.Models; namespace Sagitta.Clients { /// <summary> /// マンガ関連 API /// </summary> public class MangaClient : ApiClient { internal MangaClient(PixivClient pixivClient) : base(pixivClien...
using System.Collections.Generic; using System.Threading.Tasks; using Sagitta.Extensions; using Sagitta.Models; namespace Sagitta.Clients { /// <summary> /// マンガ関連 API /// </summary> public class MangaClient : ApiClient { internal MangaClient(PixivClient pixivClient) : base(pixivClien...
mit
C#
0a6b79e24de002b28d657d8773fa37fd809bfe2c
Fix error after merge
Sitecore/Sitecore-Instance-Manager
src/SIM.Tool.Windows/UserControls/Install/ParametersEditor/Install9ParametersEditor.xaml.cs
src/SIM.Tool.Windows/UserControls/Install/ParametersEditor/Install9ParametersEditor.xaml.cs
using SIM.Sitecore9Installer; 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...
using SIM.Sitecore9Installer; 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...
mit
C#
9585deffa920fb8acdb697e5068aefa820affa83
Add regions
bartlomiejwolk/DestroyAfterTime
DestroyAfterTime.cs
DestroyAfterTime.cs
using UnityEngine; using System.Collections; namespace DestroyAfterTimeEx { public class DestroyAfterTime : MonoBehaviour { #region INSPECTOR FIELDS /// GO to be destroyed. [SerializeField] private GameObject target; /// Destroy delay. [SerializeField] ...
using UnityEngine; using System.Collections; namespace DestroyAfterTimeEx { public class DestroyAfterTime : MonoBehaviour { /// GO to be destroyed. [SerializeField] private GameObject target; /// Destroy delay. [SerializeField] private float delay; /...
mit
C#
44ea83b2907e1dd3e97c3beca0b7ff9fb1ce4535
Add method 'DetalheCurso'
fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos
Fatec.Treinamento.Data/Repositories/CursoRepository.cs
Fatec.Treinamento.Data/Repositories/CursoRepository.cs
using Fatec.Treinamento.Data.Repositories.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Fatec.Treinamento.Model.DTO; using Fatec.Treinamento.Data.Repositories.Base; using Dapper; using Fatec.Treinamento.Model; namespace Fatec.Trei...
using Fatec.Treinamento.Data.Repositories.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Fatec.Treinamento.Model.DTO; using Fatec.Treinamento.Data.Repositories.Base; using Dapper; namespace Fatec.Treinamento.Data.Repositories { ...
apache-2.0
C#
f6f55aea5f11c8574f5698c6501e1e95be8a6f75
Add Cards.BaconPoolMinions
HearthSim/HearthDb
HearthDb/Cards.cs
HearthDb/Cards.cs
#region using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml.Serialization; using HearthDb.CardDefs; using HearthDb.Enums; #endregion namespace HearthDb { public static class Cards { public static readonly Dictionary<string, Card> All = ne...
#region using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Xml.Serialization; using HearthDb.CardDefs; using HearthDb.Enums; #endregion namespace HearthDb { public static class Cards { public static readonly Dictionary<string, Card> All = ne...
mit
C#
262872030ccabba8fb299414a6a0295270efa7b6
Fix the while(true) loop
TeamLabyrinth4/Labyrinth-4
Labyrinth-4/Game.cs
Labyrinth-4/Game.cs
namespace Labyrinth { using System; using Labyrinth.Renderer; using Labyrinth.Users; public sealed class Game { private static volatile Game gameInstance; private IRenderer renderer; private IPlayer player; private LabyrinthProcesor processor; private IScor...
namespace Labyrinth { using System; using Labyrinth.Renderer; using Labyrinth.Users; public sealed class Game { private static volatile Game gameInstance; private IRenderer renderer; private IPlayer player; private LabyrinthProcesor processor; private IScor...
mit
C#
5d8892ed0d0ea3a5135f88dd3518f740dac2a5d8
Remove sticky notes
croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia-website,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-a...
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
source/CroquetAustralia.Website/Layouts/Shared/Sidebar.cshtml
@* sticky note example <div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> GC Handicapping System </h1> <p> New <a href="/disciplines/golf-cr...
<div class="sticky-notes"> <div class="sticky-note"> <i class="pin"></i> <div class="content green"> <h1> GC Handicapping System </h1> <p> New <a href="/disciplines/golf-croquet/resources">GC Handicapping System</a> came into effec...
mit
C#
7e395f10dae600b0d474dba4ff06153c619021a2
Update Back
IanEarnest/Unity-GUI
Assets/Back.cs
Assets/Back.cs
using UnityEngine; using System; // system is only used on standalone. using System.Collections; public class Back : MonoBehaviour { Rect backRect = new Rect(Screen.width-70, Screen.height-30, 70, 30); Rect backRect2 = new Rect(Screen.width-70, Screen.height-60, 70, 30); public GameObject welcomeScript; static ...
using UnityEngine; using System; // system is only used on standalone. using System.Collections; public class Back : MonoBehaviour { Rect backRect = new Rect(Screen.width-70, Screen.height-30, 70, 30); Rect backRect2 = new Rect(Screen.width-70, Screen.height-60, 70, 30); public GameObject welcomeScript; static ...
mit
C#
dd05cf3104a91a103a672d7e12f82858a8b03ed1
update database name
WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy,WebmarksApp/webmarks.nancy
webmarks.nancy/Bootstrapper.cs
webmarks.nancy/Bootstrapper.cs
using MongoDB.Driver; using Nancy; using Nancy.Conventions; using Nancy.TinyIoc; using System; using System.Configuration; using webmarks.nancy.Models; namespace webmarks.nancy { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyC...
using MongoDB.Driver; using Nancy; using Nancy.Conventions; using Nancy.TinyIoc; using System; using System.Configuration; using webmarks.nancy.Models; namespace webmarks.nancy { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ConfigureConventions(NancyConventions nancyC...
mit
C#
10fbc56b1cb42bd16baffe77a8873eb551103467
update formatting
designsbyjuan/UnityLib
LookDownCanvas.cs
LookDownCanvas.cs
using UnityEngine; using UnityEngine.EventSystems; using System.Collections; using VRStandardAssets.Utils; public class LookDownCanvas : MonoBehaviour { private CanvasGroup canvasGroup; private UIFader uiFader; private CardboardMain main; public float UIDistance = 300f; public float UIHeight = -400f; publ...
using UnityEngine; using UnityEngine.EventSystems; using System.Collections; using VRStandardAssets.Utils; public class LookDownCanvas : MonoBehaviour { private CanvasGroup canvasGroup; private UIFader uiFader; private CardboardMain main; public float UIDistance = 300f; public float UIHeight = -400f; pub...
mit
C#
bd7531ebc7f6bd0cb1ba4658528adf4e929554f5
add hint on gui for performance_test
thing-nacho/slua,ChinaLongGanHu/slua,thing-nacho/slua,takaaptech/slua,dayongxie/slua,angeldnd/slua,DebugClub/slua,yongkangchen/slua,yongkangchen/slua,dayongxie/slua,wang1986one/slua,lingkeyang/slua,lingkeyang/slua,soulgame/slua,haolly/slua_source_note,zenkj/slua,Roland0511/slua,houxuanfelix/slua,thing-nacho/slua,mr-kel...
Assets/example/Perf.cs
Assets/example/Perf.cs
using UnityEngine; using System.Collections; using SLua; public class Perf : MonoBehaviour { LuaSvr l; // Use this for initialization void Start () { l = new LuaSvr("perf"); Application.RegisterLogCallback(this.log); } string logText=""; void log(string cond,string trace,LogType lt) { logText+=con...
using UnityEngine; using System.Collections; using SLua; public class Perf : MonoBehaviour { LuaSvr l; // Use this for initialization void Start () { l = new LuaSvr("perf"); } void OnGUI() { if (GUI.Button(new Rect(10, 10, 120, 50), "Test1")) { l.luaState.getFunction(...
mit
C#
718eb3961d2a11ad27eb3cab0f842ec50b5c4017
Fix line endings
alexmaris/Dosnic
Dosnic/Crypto.cs
Dosnic/Crypto.cs
using System; using System.IO; using System.Security.Cryptography; using System.Text; using NetJ = NetJSON.NetJSON; namespace Dosnic { public class Crypto<T> : IDisposable { public string Key { get; protected internal set; } public string IV { get; protected internal set; } public Symm...
using System; using System.IO; using System.Security.Cryptography; using System.Text; using NetJ = NetJSON.NetJSON; namespace Dosnic { public class Crypto<T> : IDisposable { public string Key { get; protected internal set; } public string IV { get; protected internal set; } public Symm...
mit
C#
0e392a90244336f4276b35a2d00a2a331e41e476
remove zero check
TakeAsh/cs-TakeAshUtility
TakeAshUtility/Base64Converter.cs
TakeAshUtility/Base64Converter.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace TakeAshUtility { public static class Base64Converter { public static string ToBase64String<T>(this T obj) where T : stru...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace TakeAshUtility { public static class Base64Converter { public static string ToBase64String<T>(this T obj) where T : stru...
mit
C#
7a99cfa2e9297ff9e6294f8c257714ef6d1a12c3
Fix instance reference test.
mavasani/roslyn,jmarolf/roslyn,tmeschter/roslyn,heejaechang/roslyn,Giftednewt/roslyn,diryboy/roslyn,pdelvo/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,wvdd007/roslyn,mgoertz-msft/roslyn,VSadov/roslyn,dotnet/roslyn,bartdesmet/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,bkoelman/roslyn,khyperia/roslyn,mattscheffer/ro...
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IPropertyReferenceExpression.cs
src/Compilers/CSharp/Test/Semantic/IOperation/IOperationTests_IPropertyReferenceExpression.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.UnitTests { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Test.Utilities; using Xunit; namespace Microsoft.CodeAnalysis.CSharp.UnitTests { ...
mit
C#
82afbb5781165081e6167e4679a89ed1caeba8b6
add cache busting to js files
MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal,MarkPieszak/aspnetcore-angular2-universal
Views/_ViewImports.cshtml
Views/_ViewImports.cshtml
@using AspCoreServer @addTagHelper "*, Microsoft.AspNetCore.SpaServices" @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@using AspCoreServer @addTagHelper "*, Microsoft.AspNetCore.SpaServices"
mit
C#
f716151f46af96bcdfd3aaee1409f829bea4802b
Include fix for A* unit test.
eylvisaker/AgateLib
UnitTests/Algorithms/AStarTest.cs
UnitTests/Algorithms/AStarTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using AgateLib.Geometry; using AgateLib.Algorithms.PathFinding; namespace ZodiacTests.Algorithms { [TestClass] public class AStarTest { class FakeMap : IAStarMap<Point> { public void ReportProgre...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using AgateLib.Geometry; using AgateLib.Algorithms.PathFinding; namespace ZodiacTests.Algorithms { [TestClass] public class AStarTest { class FakeMap : IAStarMap { public void ReportProgress(ASta...
mit
C#
b22e2229fb311b96a770680479c7572144a2d5d9
Add PointMass.ApplyImpulse.
drewnoakes/boing
Boing/PointMass.cs
Boing/PointMass.cs
using System.Collections.Generic; using System.Diagnostics; namespace Boing { public sealed class PointMass { private Vector2f _force; internal HashSet<ILocalForce> LocalForces { get; } = new HashSet<ILocalForce>(); public float Mass { get; set; } public float Damping { get; se...
using System.Collections.Generic; using System.Diagnostics; namespace Boing { public sealed class PointMass { private Vector2f _force; internal HashSet<ILocalForce> LocalForces { get; } = new HashSet<ILocalForce>(); public float Mass { get; set; } public float Damping { get; se...
apache-2.0
C#
c86587f46b1013c5ab55cc9bf8ea7dc0229f94c7
Remove unused properties
delahermosa/Caliburn101
Caliburn101/Caliburn101.Shared/ViewModels/MainPageViewModel.cs
Caliburn101/Caliburn101.Shared/ViewModels/MainPageViewModel.cs
using Caliburn.Micro; using Caliburn101.Services; using System; using System.Collections.Generic; using System.Text; using System.Linq; using Windows.UI.Xaml.Controls; namespace Caliburn101.ViewModels { public class MainPageViewModel : Screen { private readonly IContactsService _contactsService; ...
using Caliburn.Micro; using Caliburn101.Services; using System; using System.Collections.Generic; using System.Text; using System.Linq; using Windows.UI.Xaml.Controls; namespace Caliburn101.ViewModels { public class MainPageViewModel : Screen { private readonly IContactsService _contactsService; ...
mit
C#
bd0c9a3d586107e41dc06ce829d78b910ef9162a
Fix running on < iOS 6.0
PowerOfCode/Eto,l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Platform.iOS/EtoAppDelegate.cs
Source/Eto.Platform.iOS/EtoAppDelegate.cs
using System; using MonoTouch.Foundation; using MonoTouch.UIKit; using Eto.Platform.iOS.Forms; using Eto.Forms; namespace Eto.Platform.iOS { [MonoTouch.Foundation.Register("EtoAppDelegate")] public class EtoAppDelegate : UIApplicationDelegate { public EtoAppDelegate () { } public override bool FinishedLaun...
using System; using MonoTouch.Foundation; using MonoTouch.UIKit; using Eto.Platform.iOS.Forms; using Eto.Forms; namespace Eto.Platform.iOS { [MonoTouch.Foundation.Register("EtoAppDelegate")] public class EtoAppDelegate : UIApplicationDelegate { public EtoAppDelegate () { } public override bool WillFinishLa...
bsd-3-clause
C#
e4b1575f4f7ba2b693bccc38f898c561472e04be
Remove unused code
dk307/HSPI_WUWeather
DescriptionEnum.cs
DescriptionEnum.cs
using NullGuard; using System.ComponentModel; using System.Reflection; namespace Hspi { [NullGuard(ValidationFlags.Arguments | ValidationFlags.NonPublic)] public static class EnumHelper { /// <summary> /// Returns the value of the DescriptionAttribute if the specified Enum value has one. ...
using NullGuard; using System; using System.ComponentModel; using System.Reflection; namespace Hspi { [NullGuard(ValidationFlags.Arguments | ValidationFlags.NonPublic)] public static class EnumHelper { /// <summary> /// Returns the value of the DescriptionAttribute if the specified Enum va...
mit
C#
84e6895f77cef2044d59dbe53e1aafa0f41045c2
Add custom display option props based on sliders
bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3
SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs
SurveyMonkey/Containers/QuestionDisplayOptionsCustomOptions.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class QuestionDisplayOptionsCustomOptions { public List<string> OptionSet { get; set; } public int StartingPosition { get; set; } publi...
using Newtonsoft.Json; namespace SurveyMonkey.Containers { [JsonConverter(typeof(TolerantJsonConverter))] public class QuestionDisplayOptionsCustomOptions { } }
mit
C#
145aa9ed31d79c7ffae40f55f83215a206095506
Rename args to _
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Behaviors/ClearPropertyOnLostFocusBehavior.cs
WalletWasabi.Gui/Behaviors/ClearPropertyOnLostFocusBehavior.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Data; using Avalonia.Interactivity; using Avalonia.Xaml.Interactivity; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Gui.Behaviors { public class ClearPropertyOnLostFocusBehavior : Behavior<Control> { priv...
using Avalonia; using Avalonia.Controls; using Avalonia.Data; using Avalonia.Interactivity; using Avalonia.Xaml.Interactivity; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Gui.Behaviors { public class ClearPropertyOnLostFocusBehavior : Behavior<Control> { priv...
mit
C#
4f9fdc883e9d0087583e48d53dde2804c8d56ebd
Convert all dates to UTC time
os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,os2kitos/kitos,miracle-as/kitos,os2kitos/kitos,miracle-as/kitos,miracle-as/kitos
Presentation.Web/Global.asax.cs
Presentation.Web/Global.asax.cs
using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; namespace Presentation.Web { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go.microsoft.com/?LinkId=9394801 ...
using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; namespace Presentation.Web { // Note: For instructions on enabling IIS6 or IIS7 classic mode, // visit http://go....
mpl-2.0
C#
d154cfee181e009e96bee3c87292877325b987e5
Use arrays instead of generic enumerations in data models
InfiniteSoul/Azuria
Azuria/Api/v1/DataModels/Manga/ChapterDataModel.cs
Azuria/Api/v1/DataModels/Manga/ChapterDataModel.cs
using System; using System.Collections.Generic; using Azuria.Api.v1.Converters; using Azuria.Api.v1.Converters.Manga; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Manga { /// <summary> /// </summary> public class ChapterDataModel { #region Properties /// <summary> ...
using System; using System.Collections.Generic; using Azuria.Api.v1.Converters; using Azuria.Api.v1.Converters.Manga; using Newtonsoft.Json; namespace Azuria.Api.v1.DataModels.Manga { /// <summary> /// </summary> public class ChapterDataModel { #region Properties /// <summary> ...
mit
C#
8d5683fd5841eeadfed12be62336f27661f98bbf
Change xpath for testing with policesuccess site
SkillsFundingAgency/das-referencedata,SkillsFundingAgency/das-referencedata
src/SFA.DAS.ReferenceData.PublicSectorOrgs.WebJob/Updater/PublicSectorOrganisationHtmlScraper.cs
src/SFA.DAS.ReferenceData.PublicSectorOrgs.WebJob/Updater/PublicSectorOrganisationHtmlScraper.cs
using System; using System.Linq; using HtmlAgilityPack; using SFA.DAS.NLog.Logger; using SFA.DAS.ReferenceData.Domain.Models; using SFA.DAS.ReferenceData.Types.DTO; namespace SFA.DAS.ReferenceData.PublicSectorOrgs.WebJob.Updater { public class PublicSectorOrganisationHtmlScraper : IPublicSectorOrganisationHtmlScr...
using System; using System.Linq; using HtmlAgilityPack; using SFA.DAS.NLog.Logger; using SFA.DAS.ReferenceData.Domain.Models; using SFA.DAS.ReferenceData.Types.DTO; namespace SFA.DAS.ReferenceData.PublicSectorOrgs.WebJob.Updater { public class PublicSectorOrganisationHtmlScraper : IPublicSectorOrganisationHtmlScr...
mit
C#
3e67e6fd565892c589abb814ee6b287a6a140bb2
Improve QuotedPrintable test coverage
carbon/Amazon
src/Amazon.Ses.Tests/QuotedPrintableTests.cs
src/Amazon.Ses.Tests/QuotedPrintableTests.cs
 using System.Net.Mail; using Xunit; namespace Amazon.Ses.Tests { public class QuotedPrintableTests { [Fact] public void Decode() { Assert.Equal("Subject", QuotedPrintable.Decode("=?utf-8?Q?Subject?=")); Assert.Equal("☻", Quot...
 using Xunit; namespace Amazon.Ses.Tests { public class QuotedPrintableTests { [Fact] public void Decode() { Assert.Equal("Subject", QuotedPrintable.Decode("=?utf-8?Q?Subject?=")); Assert.Equal("☻", QuotedPrintable.Decode("=?UTF-...
mit
C#
279eef146283d775b8d93a52b39af4b880848015
Update RendererOptions.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Views/Renderer/RendererOptions.cs
src/Core2D/Views/Renderer/RendererOptions.cs
#nullable enable using Avalonia; using Avalonia.Data; using Core2D.Model; using Core2D.Model.Renderer; using Core2D.ViewModels.Data; namespace Core2D.Views.Renderer; public class RendererOptions { public static readonly AttachedProperty<IShapeRenderer?> RendererProperty = AvaloniaProperty.RegisterAttache...
#nullable enable using Avalonia; using Avalonia.Data; using Core2D.Model; using Core2D.Model.Renderer; using Core2D.ViewModels.Data; namespace Core2D.Views.Renderer; public class RendererOptions { public static readonly AttachedProperty<IShapeRenderer> RendererProperty = AvaloniaProperty.RegisterAttached...
mit
C#
8905c548358564a0d99890d0a359b96b056c147d
Update comment.
swaroop-sridhar/roslyn,wvdd007/roslyn,mgoertz-msft/roslyn,ErikSchierboom/roslyn,jmarolf/roslyn,MichalStrehovsky/roslyn,jasonmalinowski/roslyn,wvdd007/roslyn,tmat/roslyn,jcouv/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,nguerrera/roslyn,davkean/roslyn,brettfo/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,tannergoo...
src/EditorFeatures/Core/Wrapping/IWrapper.cs
src/EditorFeatures/Core/Wrapping/IWrapper.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Editor.Wrapping { /// <summary> /// Interface for types that ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using System.Threading.Tasks; namespace Microsoft.CodeAnalysis.Editor.Wrapping { /// <summary> /// Interface for types that ...
mit
C#
404d58c55bac05619801c4cdf392f53c6787f8bf
remove ? at the end of a URL (if no QS parameters are used).
IdentityModel/IdentityModelv2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel2,IdentityModel/IdentityModel,IdentityModel/IdentityModel
src/IdentityModel/Client/AuthorizeRequest.cs
src/IdentityModel/Client/AuthorizeRequest.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.Linq; using System.Net; namespace IdentityModel.Client { /// <summary> /...
// 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.Linq; using System.Net; namespace IdentityModel.Client { /// <summary> /...
apache-2.0
C#
457c2fffb9fffd1eb727e8c2b6bf95c5c31a06cf
Update versions before upload
newchild/LegendaryClient-1,semtize/LegendaryClient
LegendaryClient/Properties/AssemblyInfo.cs
LegendaryClient/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("LegendaryClient")] [...
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("LegendaryClient")] [...
bsd-2-clause
C#
2a1e4ac128c120117b120fa617ead0b76b1d6c05
Refactor Enemy for derivation
lukehb/ld37
Assets/Scripts/Enemy.cs
Assets/Scripts/Enemy.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Enemy always slowly turns to face players. * Enemy always slowly walks toward the player * **/ public class Enemy : MonoBehaviour { [SerializeField] private float turnSpeed; [SerializeField] private float move...
using System.Collections; using System.Collections.Generic; using UnityEngine; /** * Enemy always slowly turns to face players. * Enemy always slowly walks toward the player * **/ public class Enemy : MonoBehaviour { [SerializeField] private float turnSpeed; [SerializeField] private float move...
mit
C#
329868e99ec7455455bae11dfd7246cd0a4fafe3
Change ASN int array to IList
mstrother/BmpListener
BmpListener/Bgp/ASPathSegment.cs
BmpListener/Bgp/ASPathSegment.cs
using System.Collections.Generic; namespace BmpListener.Bgp { public class ASPathSegment { public ASPathSegment(Type type, IList<int> asns) { SegmentType = type; ASNs = asns; } public enum Type { AS_SET = 1, AS_SEQUENCE, ...
namespace BmpListener.Bgp { public class ASPathSegment { public ASPathSegment(Type type, int[] asns) { SegmentType = Type; ASNs = asns; } public enum Type { AS_SET = 1, AS_SEQUENCE, AS_CONFED_SEQUENCE, ...
mit
C#
8adff625b67faf2554e555e068704be297c298d7
Add some properties to the User class
Inumedia/SlackAPI
SlackAPI/User.cs
SlackAPI/User.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { public class User { public string id; public bool IsSlackBot { get { return id.Equals("USLACKBOT", StringComp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlackAPI { public class User { public string id; public bool IsSlackBot { get { return id.Equals("USLACKBOT", StringComp...
mit
C#
8a1842be6910c3240868f75c6e2e4e78062f2b50
set parent to null after removing the tab from the handler
bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,l8s/Eto
Source/Eto/Forms/Controls/TabControl.cs
Source/Eto/Forms/Controls/TabControl.cs
using System; using System.Collections; using System.Linq; #if XAML using System.Windows.Markup; #endif namespace Eto.Forms { public interface ITabControl : IControl { int SelectedIndex { get; set; } void InsertTab (int index, TabPage page); void ClearTabs (); void RemoveTab (int index, TabPage page); ...
using System; using System.Collections; using System.Linq; #if XAML using System.Windows.Markup; #endif namespace Eto.Forms { public interface ITabControl : IControl { int SelectedIndex { get; set; } void InsertTab (int index, TabPage page); void ClearTabs (); void RemoveTab (int index, TabPage page); ...
bsd-3-clause
C#
59fb6ac9b9644effe3503de5d46ba00d7719cfdd
Bump assembly info for 1.2.2 release
NellyHaglund/SurveyMonkeyApi,bcemmett/SurveyMonkeyApi
SurveyMonkey/Properties/AssemblyInfo.cs
SurveyMonkey/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("Su...
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("Su...
mit
C#
99bd9a2bf8a0bb0f0f4897defceaa326e851b5a9
Use inspector for child classes
DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/MixedRealityControllerVisualizerInspector.cs
Assets/MixedRealityToolkit.SDK/Inspectors/Input/Handlers/MixedRealityControllerVisualizerInspector.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Input.Editor { [CustomEditor(typeof(MixedRealityControllerVisualizer), true)] public class Mixed...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEditor; namespace Microsoft.MixedReality.Toolkit.Input.Editor { [CustomEditor(typeof(MixedRealityControllerVisualizer))] public class MixedRealit...
mit
C#
dfdba1fb6755d9a6998af875c03bb8d67f8074cd
Fix typo in Preset2
BeowulfStratOps/BSU.Sync
FileTypes/BI/Preset2.cs
FileTypes/BI/Preset2.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; namespace BSU.Sync.FileTypes.BI { [XmlRoot(ElementName = "addons-presets")] public class Preset2 { [XmlElement(ElementName = "last-u...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Serialization; namespace BSU.Sync.FileTypes.BI { [XmlRoot(ElementName = "addons-presets")] public class Preset2 { [XmlElement(ElementName = "last-u...
mit
C#
9b2d4f46b37287e1af748a20b64ed9e49123f802
make PackageKey have equal hashes for equal data
aaronmell/NugetPackageReport
NugetPackageReport/PackageKey.cs
NugetPackageReport/PackageKey.cs
namespace NugetPackageReport { /// <summary> /// a composite key used to uniquely identify a package /// </summary> internal class PackageKey { /// <summary> /// The Name of the Package /// </summary> internal string Id { get; set; } /// <summary...
namespace NugetPackageReport { /// <summary> /// a composite key used to uniquely identify a package /// </summary> internal class PackageKey { /// <summary> /// The Name of the Package /// </summary> internal string Id { get; set; } /// <summary...
mit
C#
6e51a24888092fb5ae19edb4326c03e19758bbe8
use header and body instead of rows in Examples (c#)
amaniak/gherkin3,vincent-psarga/gherkin3,thetutlage/gherkin3,dg-ratiodata/gherkin3,dirkrombauts/gherkin3,chebizarro/gherkin3,amaniak/gherkin3,dirkrombauts/gherkin3,SabotageAndi/gherkin,amaniak/gherkin3,hayd/gherkin3,dirkrombauts/gherkin3,SabotageAndi/gherkin,amaniak/gherkin3,thetutlage/gherkin3,concertman/gherkin3,curz...
Gherkin/Ast/Examples.cs
Gherkin/Ast/Examples.cs
using System; using System.Collections.Generic; using System.Linq; namespace Gherkin.Ast { public class Examples : IHasLocation, IHasDescription, IHasRows, IHasTags { public IEnumerable<Tag> Tags { get; private set; } public Location Location { get; private set; } public stri...
using System; using System.Collections.Generic; using System.Linq; namespace Gherkin.Ast { public class Examples : IHasLocation, IHasDescription, IHasRows, IHasTags { public IEnumerable<Tag> Tags { get; private set; } public Location Location { get; private set; } public stri...
mit
C#
0132d7f91f5ee31b0d771ff249a84c756a08bcbb
fix msg parser test case
tonyqus/toxy
Toxy.Test/MsgEmailParserTest.cs
Toxy.Test/MsgEmailParserTest.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Toxy.Test { [TestFixture] public class MsgEmailParserTest { [Test] public void HtmlMsg_ReadTextTest() { string path = TestDataSample.GetEmailPath("Azur...
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Toxy.Test { [TestFixture] public class MsgEmailParserTest { [Test] public void HtmlMsg_ReadTextTest() { string path = TestDataSample.GetEmailPath("Azur...
apache-2.0
C#
48f5ac2efe2408ad355246d48cbf02cb8ced3001
discard some params
destructurama/attributed
src/Destructurama.Attributed/Util/CacheEntry.cs
src/Destructurama.Attributed/Util/CacheEntry.cs
// Copyright 2015 Destructurama Contributors, Serilog Contributors // // 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 re...
// Copyright 2015 Destructurama Contributors, Serilog Contributors // // 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 re...
apache-2.0
C#
273519cd092b1fc0408ff61d68448811f7714981
bump version to 2.4.0.0
dwmkerr/sharpshell,dwmkerr/sharpshell,dwmkerr/sharpshell,dwmkerr/sharpshell
SharpShell/SharedAssemblyInfo.cs
SharpShell/SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Shared Assembly Information for all projects in SharpShell. [assembly: AssemblyCompany("Dave Kerr")] [assembly: AssemblyProduct("SharpShell")] [assembly: AssemblyCopyright("Copyright © Dave Kerr 2018")] // Versi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Shared Assembly Information for all projects in SharpShell. [assembly: AssemblyCompany("Dave Kerr")] [assembly: AssemblyProduct("SharpShell")] [assembly: AssemblyCopyright("Copyright © Dave Kerr 2018")] // Versi...
mit
C#
2820570e267f5036d50aac3e987c1d828a7ec908
Add a validation warning message. #281
Sitecore/Sitecore-Instance-Manager
src/SIM.Tool.Windows/Dialogs/GridEditor.xaml.cs
src/SIM.Tool.Windows/Dialogs/GridEditor.xaml.cs
using Sitecore.Diagnostics.Base; using System; using System.Collections.Generic; using System.Globalization; 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; us...
using Sitecore.Diagnostics.Base; using System; using System.Collections.Generic; using System.Globalization; 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; us...
mit
C#
4bbf6f54cd8768779311db4c88e855ca23402ffd
Refactor MergeMessageParser.TryParse() related tests
openkas/GitVersion,TomGillen/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,GeertvanHorrik/GitVersion,alexhardwicke/GitVersion,dpurge/GitVersion,dpurge/GitVersion,onovotny/GitVersion,orjan/GitVersion,ermshiperete/GitVersion,Kantis/GitVersion,GitTools/GitVersion,Kantis/GitVersion,MarkZuber/GitVersion,TomGillen/...
Tests/MergeMessageParserTests.cs
Tests/MergeMessageParserTests.cs
using GitFlowVersion; using NUnit.Framework; [TestFixture] public class MergeMessageParserTests { [Test] public void MergeHotFix() { AssertMergeMessage("0.1.5", "Merge branch 'hotfix-0.1.5'\n"); } [Test] public void MergeHotFixWithLargeNumber() { AssertMergeMessage("10.10....
using GitFlowVersion; using NUnit.Framework; [TestFixture] public class MergeMessageParserTests { [Test] public void MergeHotFix() { string versionPart; MergeMessageParser.TryParse("Merge branch 'hotfix-0.1.5'\n", out versionPart); Assert.AreEqual("0.1.5", versionPart); } ...
mit
C#
25e65cff2892c6e72cdd439e01643bc32ab8b854
Change offsets on stats text.
Sharparam/TetrisXNA
TetrisXNA/TetrisXNA/Constants.cs
TetrisXNA/TetrisXNA/Constants.cs
/* Copyright © 2013 by Adam Hellberg * * 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, publis...
/* Copyright © 2013 by Adam Hellberg * * 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, publis...
mit
C#
bf49420a1e08b6b533fe859c6c3b6f6a00389171
Update LoadingScreen more often to try to prevent windows from timing out on us and ghosting us.
AndrewBaker/magecrawl,jeongroseok/magecrawl
Trunk/MageCrawl/LoadingScreen.cs
Trunk/MageCrawl/LoadingScreen.cs
using System.Threading; using libtcodWrapper; using Magecrawl.GameUI; namespace Magecrawl { internal class LoadingScreen : System.IDisposable { private Timer m_timer; private RootConsole m_console; internal LoadingScreen(RootConsole console, string text) { ...
using System.Threading; using libtcodWrapper; using Magecrawl.GameUI; namespace Magecrawl { internal class LoadingScreen : System.IDisposable { private Timer m_timer; private RootConsole m_console; internal LoadingScreen(RootConsole console, string text) { ...
bsd-2-clause
C#
48ecc237fe63b2e6fe0affd3c8ea879a0d925e69
Bump version.
Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite
SolutionVersion.cs
SolutionVersion.cs
using System.Reflection; [assembly: AssemblyVersion("2.12.3.0")] [assembly: AssemblyFileVersion("2.12.3.0")] [assembly: AssemblyInformationalVersion("2.12.3")]
using System.Reflection; [assembly: AssemblyVersion("2.12.2.0")] [assembly: AssemblyFileVersion("2.12.2.0")] [assembly: AssemblyInformationalVersion("2.12.2")]
mit
C#
07119b2df7bb7ae2fb660d0293beb8d64a425d2a
Add primary constructor
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/Models/Patient.cs
StressMeasurementSystem/Models/Patient.cs
using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle { get; set; } public ...
using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle { get; set; } public ...
apache-2.0
C#
59938835d439bbfb3b19b8240bcf310f8dfd7eb9
Update bundle config to match exampe in wiki page
M1chaelTran/T4MVC,jkonecki/T4MVC,payini/T4MVC,T4MVC/T4MVC,scott-xu/T4MVC,jkonecki/T4MVC,scott-xu/T4MVC,payini/T4MVC,T4MVC/T4MVC,M1chaelTran/T4MVC
T4MVCHostMvcApp/App_Start/BundleConfig.cs
T4MVCHostMvcApp/App_Start/BundleConfig.cs
using System.Diagnostics.CodeAnalysis; using System.Web.Optimization; namespace T4MVCHostMvcApp.App_Start { public static class BundleConfig { // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 [SuppressMessage("Microsoft.Design", "CA1062:Validate argument...
using System.Diagnostics.CodeAnalysis; using System.Web.Optimization; namespace T4MVCHostMvcApp.App_Start { public static class BundleConfig { // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 [SuppressMessage("Microsoft.Design", "CA1062:Validate argument...
apache-2.0
C#
8b24b41ace566c9b55b00f39d98062411cfa41a5
Check the rows and columns
gldraphael/mg-ttt
TicTacToe/Board.cs
TicTacToe/Board.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace TicTacToe { public class Board : DrawableGameComponent { private List<List<Tile>> tiles; public TileValue Winner { get; set; } = TileValue.EMPTY; public Board(Game game) : base(game) { } pub...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; namespace TicTacToe { public class Board : DrawableGameComponent { private List<List<Tile>> tiles; public TileValue Winner { get; set; } = TileValue.EMPTY; public Board(Game game) : base(game) { } pub...
mit
C#
3465e2803a6670f99dbedea04667420502f8ff53
Bump verson for release
programcsharp/griddly,programcsharp/griddly,jehhynes/griddly,programcsharp/griddly,jehhynes/griddly,nickdevore/griddly,nickdevore/griddly
Build/CommonAssemblyInfo.cs
Build/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProduct("Griddly")] [assembly: AssemblyCopyright("Copyright © 2015 Chris Hynes and Data Research Group")] [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Ver...
mit
C#
ce3ea56e0c6f4996036558048a60585bf1fbb0a5
remove funky character
agrc/Crash-web,agrc/Crash-web,agrc/Crash-web,agrc/Crash-web
api/chart-function/Models/Row.cs
api/chart-function/Models/Row.cs
namespace chart_function.Models { public class Row { public Row() { } public Row(int occurrences, object label, string type) { Occurrences = occurrences; Label = label; Type = type; } public int Occurrences { get; se...
namespace chart_function.Models { public class Row { public Row() { } public Row(int occurrences, object label, string type) { Occurrences = occurrences; Label = label; Type = type; } public int Occurrences { get; s...
mit
C#
81b922ecb73f3c8dda8a08a4826eb4985d4eac9d
Use character class as transition key
jagrem/slang,jagrem/slang,jagrem/slang
slang/Lexing/Trees/Nodes/Transitions.cs
slang/Lexing/Trees/Nodes/Transitions.cs
using System.Collections.Generic; namespace slang.Lexing.Trees.Nodes { public class Transitions : Dictionary<Character,Transition> { } }
using System.Collections.Generic; namespace slang.Lexing.Trees.Nodes { public class Transitions : Dictionary<char,Node> { } }
mit
C#
81209c2697f33891e79e3c43dc5923fd7666c558
Bump version to 0.19.0
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.19.0")] [assembly: AssemblyInformationalVersionAttribute("0.19.0")] [assembly: AssemblyFileVersionAttribute("0.19.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.18.0")] [assembly: AssemblyInformationalVersionAttribute("0.18.0")] [assembly: AssemblyFileVersionAttribute("0.18.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
apache-2.0
C#
030f85278c2c9df270d4a5a91f15a63c89c320e4
add internal api resource
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/IdentityServer/ApiResources.cs
src/Core/IdentityServer/ApiResources.cs
using IdentityModel; using IdentityServer4.Models; using System.Collections.Generic; namespace Bit.Core.IdentityServer { public class ApiResources { public static IEnumerable<ApiResource> GetApiResources() { return new List<ApiResource> { new ApiResource...
using IdentityModel; using IdentityServer4.Models; using System.Collections.Generic; namespace Bit.Core.IdentityServer { public class ApiResources { public static IEnumerable<ApiResource> GetApiResources() { return new List<ApiResource> { new ApiResource...
agpl-3.0
C#
1e14696213a43e4765f2cad90c7f7c5b4f38ca3c
add null check
IdentityModel/IdentityModelv2,IdentityModel/IdentityModelv2,IdentityModel/IdentityModel,IdentityModel/IdentityModel,IdentityModel/IdentityModel2,IdentityModel/IdentityModel2
src/Internal/ClientCredentialsHelper.cs
src/Internal/ClientCredentialsHelper.cs
using IdentityModel.Client; using System; using System.Net.Http; namespace IdentityModel.Internal { internal static class ClientCredentialsHelper { internal static void PopulateClientCredentials( ProtocolRequest request, HttpRequestMessage httpRequest) { if ...
using IdentityModel.Client; using System; using System.Net.Http; namespace IdentityModel.Internal { internal static class ClientCredentialsHelper { internal static void PopulateClientCredentials( ProtocolRequest request, HttpRequestMessage httpRequest) { if ...
apache-2.0
C#
fd3705793c56c5bf3dd1941a69eeeee81fe3d771
Fix NH-2340
gliljas/nhibernate-core,ngbrown/nhibernate-core,gliljas/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,alobakov/nhibernate-core,Manuf...
src/NHibernate/Type/AbstractCharType.cs
src/NHibernate/Type/AbstractCharType.cs
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Common base class for <see cref="CharType" /> and <see cref="AnsiCharType" />. /// </summary> [Serializable] public abstract class AbstractCharType : PrimitiveType, IDiscriminatorType { public AbstractChar...
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Common base class for <see cref="CharType" /> and <see cref="AnsiCharType" />. /// </summary> [Serializable] public abstract class AbstractCharType : PrimitiveType, IDiscriminatorType { public AbstractChar...
lgpl-2.1
C#
2e54d6a40682b0175ec796cb4d1f5a008b590956
make GetBaseUrl method virtual
SphtKr/JSONAPI.NET,JSONAPIdotNET/JSONAPI.NET,danshapir/JSONAPI.NET,SathishN/JSONAPI.NET
JSONAPI/Http/BaseUrlService.cs
JSONAPI/Http/BaseUrlService.cs
using System; using System.Net.Http; namespace JSONAPI.Http { /// <summary> /// Default implementation of IBaseUrlService /// </summary> public class BaseUrlService : IBaseUrlService { public virtual string GetBaseUrl(HttpRequestMessage requestMessage) { return ...
using System; using System.Net.Http; namespace JSONAPI.Http { /// <summary> /// Default implementation of IBaseUrlService /// </summary> public class BaseUrlService : IBaseUrlService { public string GetBaseUrl(HttpRequestMessage requestMessage) { return n...
mit
C#
0dc62903399db2dc21a4f1d78c4dae14cf9b3b85
Add a way to get the vendors from the Site entity.
AlexGhiondea/SmugMug.NET
src/SmugMugModel.v2/Types/SiteEntity.cs
src/SmugMugModel.v2/Types/SiteEntity.cs
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using SmugMug.v2.Authentication; using System.Threading.Tasks; namespace SmugMug.v2.Types { public class SiteEntity : SmugMugEntity { public SiteE...
// Copyright (c) Alex Ghiondea. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using SmugMug.v2.Authentication; using System.Threading.Tasks; namespace SmugMug.v2.Types { public class SiteEntity : SmugMugEntity { public SiteE...
mit
C#
13209028425ad8887ea29600a13c037d9c0b7060
Fix InMemory context for unit tests
jbe2277/waf
src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Services/MockDBContextService.cs
src/System.Waf/Samples/BookLibrary/BookLibrary.Library.Applications.Test/Services/MockDBContextService.cs
using System.ComponentModel.Composition; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage; using Waf.BookLibrary.Library.Applications.Data; using Waf.BookLibrary.Library.Applications.Services; using Waf.BookLibrary.Library.Domain; namespace Test.BookLibrary.Library.Applications.Service...
using System.ComponentModel.Composition; using Microsoft.EntityFrameworkCore; using Waf.BookLibrary.Library.Applications.Data; using Waf.BookLibrary.Library.Applications.Services; using Waf.BookLibrary.Library.Domain; namespace Test.BookLibrary.Library.Applications.Services { [Export, Export(typeof(IDBContextServ...
mit
C#
949ab4aa0c0bf634e6ff1a7156c8445aab6d353b
Remove dispose in destructor #406
mbdavid/LiteDB,masterdidoo/LiteDB,falahati/LiteDB,RytisLT/LiteDB,RytisLT/LiteDB,masterdidoo/LiteDB,falahati/LiteDB,89sos98/LiteDB,89sos98/LiteDB
LiteDB/Utils/LockControl.cs
LiteDB/Utils/LockControl.cs
using System; using System.Threading; namespace LiteDB { /// <summary> /// A class to control locking disposal. Can be a "new lock" - when a lock is not not coming from other lock state /// </summary> public class LockControl : IDisposable { private Action _dispose; internal LockC...
using System; using System.Threading; namespace LiteDB { /// <summary> /// A class to control locking disposal. Can be a "new lock" - when a lock is not not coming from other lock state /// </summary> public class LockControl : IDisposable { // dispose based on // https://lostechie...
mit
C#
f9a49930acf8af02eb69eb7c7fbcca71a4c603b4
check group
Trojaner25/Rocket-Safezone,Trojaner25/Rocket-Regions
Model/Flag/Impl/NoEquipFlag.cs
Model/Flag/Impl/NoEquipFlag.cs
using System.Collections.Generic; using Rocket.Unturned.Player; namespace RocketRegions.Model.Flag.Impl { public class NoEquipFlag : BoolFlag { public override string Description => "Allow/Disallow equipping items"; public override void UpdateState(List<UnturnedPlayer> players) { ...
using System.Collections.Generic; using Rocket.Unturned.Player; namespace RocketRegions.Model.Flag.Impl { public class NoEquipFlag : BoolFlag { public override string Description => "Allow/Disallow equipping items"; public override void UpdateState(List<UnturnedPlayer> players) { ...
agpl-3.0
C#
9852165f4a8381c5dc1d8d80c81017b86490d034
Add log message for AppVeyor
laedit/vika
NVika/BuildServers/AppVeyor.cs
NVika/BuildServers/AppVeyor.cs
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; public string Name { get { return "AppVeyor"; } } [ImportingConstruc...
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; public string Name { get { return "AppVeyor"; } } [ImportingConstruc...
apache-2.0
C#
63a42424ba7e4ffc3884c890e308256940b6174a
Remove the await/async
laedit/vika
NVika/BuildServers/AppVeyor.cs
NVika/BuildServers/AppVeyor.cs
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; public string Name { get { return "AppVeyor"; } } [ImportingConstruc...
using System; using System.ComponentModel.Composition; using System.Net.Http; namespace NVika { internal sealed class AppVeyorBuildServer : IBuildServer { private readonly Logger _logger; public string Name { get { return "AppVeyor"; } } [ImportingConstruc...
apache-2.0
C#
01ab371c87284a06e04111c59694731635bdfbe4
add "Scroll speed" to ManiaSettingsSubsection
EVAST9919/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,naoey/osu,naoey/osu,ppy/osu,naoey/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,pepp...
osu.Game.Rulesets.Mania/ManiaSettingsSubsection.cs
osu.Game.Rulesets.Mania/ManiaSettingsSubsection.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.Framework.Graphics; using osu.Game.Graphics.UserInterface; using osu.Game.Overlays.Settings; using osu.Game.Rulesets.Mania.Conf...
// 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.Framework.Graphics; using osu.Game.Overlays.Settings; using osu.Game.Rulesets.Mania.Configuration; using osu.Game.Rulesets.Mani...
mit
C#
9cb9ef5c563316df57f7a49400359463ead3f49b
Refactor the menu's max height to be a property
ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu
osu.Game/Overlays/Settings/SettingsEnumDropdown.cs
osu.Game/Overlays/Settings/SettingsEnumDropdown.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsEnumDropdown<T> : Set...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsEnumDropdown<T> : Set...
mit
C#
a2ac3bcc7c1f460b539c976328b76d59426ed245
Test commit/push
joemoorhouse/vector-accelerator
VectorAccelerator.Launcher/Program.cs
VectorAccelerator.Launcher/Program.cs
using System; using System.Threading; using VectorAccelerator.Tests; namespace VectorAccelerator.Launcher { class Program { static void Main(string[] args) { var swapAADTest = new BasicSwapAADTest(); swapAADTest.TestEndToEnd(); //var mul...
using System; using System.Threading; using VectorAccelerator.Tests; namespace VectorAccelerator.Launcher { class Program { static void Main(string[] args) { var swapAADTest = new BasicSwapAADTest(); swapAADTest.TestEndToEnd(); //var mult ...
mit
C#
8d78fb8d19c663a9eedea94248db5640ca605145
Revert to DateTime.Now.Ticks instead of Mono internal dependency
spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit,spicypixel/cs-concurrency-kit
System.Threading/System.Threading/Watch.cs
System.Threading/System.Threading/Watch.cs
// Task.cs // // Copyright (c) 2008 Jérémie "Garuma" Laval // // 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, ...
// Task.cs // // Copyright (c) 2008 Jérémie "Garuma" Laval // // 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, ...
mit
C#
4235ba5fc35fa9cf7fde0791f998df461464de89
Fix PasswordEntry background color
lytico/xwt,TheBrainTech/xwt,hwthomas/xwt,mono/xwt,antmicro/xwt,hamekoz/xwt,residuum/xwt,cra0zy/xwt,akrisiun/xwt
Xwt.XamMac/Xwt.Mac/PasswordEntryBackend.cs
Xwt.XamMac/Xwt.Mac/PasswordEntryBackend.cs
using Xwt.Backends; #if MONOMAC using nint = System.Int32; using nfloat = System.Single; using MonoMac.Foundation; using MonoMac.AppKit; #else using Foundation; using AppKit; #endif namespace Xwt.Mac { public class PasswordEntryBackend : ViewBackend<NSView, IPasswordEntryEventSink>, IPasswordEntryBackend { publi...
using Xwt.Backends; #if MONOMAC using nint = System.Int32; using nfloat = System.Single; using MonoMac.Foundation; using MonoMac.AppKit; #else using Foundation; using AppKit; #endif namespace Xwt.Mac { public class PasswordEntryBackend : ViewBackend<NSView, IPasswordEntryEventSink>, IPasswordEntryBackend { publi...
mit
C#
23fa4c35f38e23f43f0a810d5c66381a8a960183
Make sure we set control and shift correctly in Keyboard
jlewin/agg-sharp,larsbrubaker/agg-sharp,MatterHackers/agg-sharp
Gui/Keyboard.cs
Gui/Keyboard.cs
using System.Collections.Generic; namespace MatterHackers.Agg.UI { public static class Keyboard { private static Dictionary<Keys, bool> downStates = new Dictionary<Keys, bool>(); public static bool IsKeyDown(Keys key) { if (downStates.ContainsKey(key)) { return downStates[key]; } return fals...
using System.Collections.Generic; namespace MatterHackers.Agg.UI { public static class Keyboard { private static Dictionary<Keys, bool> downStates = new Dictionary<Keys, bool>(); public static bool IsKeyDown(Keys key) { if (downStates.ContainsKey(key)) { return downStates[key]; } return fals...
bsd-2-clause
C#
01ab6e0572b195a9acc796085dd6a2c3b677d7d9
Reorder fields in the inspector
bartlomiejwolk/HealthBar
HealthBarGUI.cs
HealthBarGUI.cs
// Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com) // // This file is part of the HealthBar extension for Unity. Licensed under the // MIT license. See LICENSE file in the project root folder. Based on HealthBar // component made by Zero3Growlithe (zero3growlithe@gmail.com). using UnityEngine; namespac...
// Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com) // // This file is part of the HealthBar extension for Unity. Licensed under the // MIT license. See LICENSE file in the project root folder. Based on HealthBar // component made by Zero3Growlithe (zero3growlithe@gmail.com). using UnityEngine; namespac...
mit
C#
117a9802f8208f50fa47aa4aac38f7cc686c01db
add xml comments.
mitchelsellers/Dnn.Platform,robsiera/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,bdukes/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,bdukes/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,EPTamminga/Dnn.Platform,dnnsoftware/Dnn.Platform,valadas/Dnn.Plat...
src/Dnn.EditBar.Library/Items/BaseMenuItem.cs
src/Dnn.EditBar.Library/Items/BaseMenuItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Dnn.EditBar.Library.Items { [DataContract] public abstract class BaseMenuItem { /// <summary> /// the menu item name ///...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Dnn.EditBar.Library.Items { [DataContract] public abstract class BaseMenuItem { [DataMember(Name = "name")] public abstract stri...
mit
C#
095dba97963a65d11127ecddc33185b12ee7e0db
Test QueryDispatcher
ewancoder/ewancoder-ddd
Ewancoder.DDD.Tests/CommandDispatcherTests.cs
Ewancoder.DDD.Tests/CommandDispatcherTests.cs
namespace Ewancoder.DDD.Tests { using Moq; using Xunit; using Exceptions; using Interfaces; public sealed class QueryDispatcherTests { private readonly Mock<IQueryHandlerFactory> _queryHandlerFactory = new Mock<IQueryHandlerFactory>(); private readonly QueryDispatc...
namespace Ewancoder.DDD.Tests { using Moq; using Xunit; using Exceptions; using Interfaces; public sealed class CommandDispatcherTests { private readonly Mock<ICommandHandlerFactory> _commandHandlerFactory = new Mock<ICommandHandlerFactory>(); private readonly Comm...
mit
C#
273ad353b6df229192d8606bd57c608be71f133c
Update ICustomSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/ICustomSerializer.cs
TIKSN.Core/Serialization/ICustomSerializer.cs
namespace TIKSN.Serialization { /// <summary> /// Custom (specialized or typed) serializer interface /// </summary> /// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam> public interface ICustomSerializer<TSerial, TModel> { /// <summary> //...
namespace TIKSN.Serialization { /// <summary> /// Custom (specialized or typed) serializer interface /// </summary> /// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam> public interface ICustomSerializer<TSerial, TModel> { /// <summary> //...
mit
C#
acd21ef8eda89dfc0844576af4263413f2ce9b34
Update GetRelativeTime.cs
BlarghLabs/MoarUtils
commands/time/GetRelativeTime.cs
commands/time/GetRelativeTime.cs
using System; namespace MoarUtils.commands.time { public static class GetRelativeTime { public static string Execute(DateTime dt) { const int SECOND = 1; const int MINUTE = 60 * SECOND; const int HOUR = 60 * MINUTE; const int DAY = 24 * HOUR; const int MONTH = 30 * DAY; var ...
using System; namespace MoarUtils.commands.time { public static class GetRelativeTime { public static string Execute(DateTime dt) { const int SECOND = 1; const int MINUTE = 60 * SECOND; const int HOUR = 60 * MINUTE; const int DAY = 24 * HOUR; const int MONTH = 30 * DAY; var ...
mit
C#
e6fdbdc6e9bb5a63d84440316680aef6741b27d1
remove unused usings
BITechnologies/boo,rmartinho/boo,KingJiangNet/boo,drslump/boo,bamboo/boo,Unity-Technologies/boo,BITechnologies/boo,wbardzinski/boo,rmartinho/boo,KidFashion/boo,BITechnologies/boo,Unity-Technologies/boo,BitPuffin/boo,wbardzinski/boo,boo-lang/boo,drslump/boo,boo-lang/boo,scottstephens/boo,bamboo/boo,hmah/boo,rmartinho/bo...
src/Boo.Lang.Compiler/Pipelines/CompileToMemory.cs
src/Boo.Lang.Compiler/Pipelines/CompileToMemory.cs
#region license // Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the...
#region license // Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the...
bsd-3-clause
C#
c9cd5eb99be2e1c50b031d2fdc9fbcf2e43dc1cd
fix some invalid parameters
defmys/Unity3D-Raven-CS
Assets/Unity3D-Raven-CS/Scripts/MessagePacket.cs
Assets/Unity3D-Raven-CS/Scripts/MessagePacket.cs
using System; using System.Collections.Generic; using UnityEngine; namespace Unity3DRavenCS { [Serializable] public class MessagePacket { public string event_id; public string message; public string timestamp; public string level; public string logger; public string platform; [Serializable] publ...
using System; using System.Collections.Generic; using UnityEngine; namespace Unity3DRavenCS { [Serializable] public class MessagePacket { public string eventID; public string message; public string timestamp; public string level; public string logger; public string platform; [Serializable] publi...
mit
C#
27821ed9ee5f3e9d61c5800e4e3234df994d0261
Update Program.cs
smad2005/ConvertorHexString
HexToString/Program.cs
HexToString/Program.cs
using System; namespace HexToString { internal class Program { private static void Main(string[] args) { Console.WriteLine(convertorHex.HexToString(ConvertorHex.StringToHex("abcdefgh"))); } } }
using System; namespace HexToString { internal class Program { private static void Main(string[] args) { var convertorHex = new ConvertorHex(); Console.WriteLine(convertorHex.HexToString(convertorHex.StringToHex("abcdefgh"))); } } }
mit
C#
64d653ccbb0656906f7975291428ac2f3455e321
fix compile error
kheiakiyama/speech-eng-functions
MarkdownParser/run.csx
MarkdownParser/run.csx
#r "System.Configuration" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using CommonMark; public static async Task<HttpResponseMessage> R...
#r "System.Configuration" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using CommonMark; public static async Task<HttpResponseMessage> R...
mit
C#
0049417b9440467d00450c232488d7f3ba5aba36
fix sequence point test
shanselman/Fody,shanselman/Fody,furesoft/Fody,PKRoma/Fody,shanselman/Fody,distantcam/Fody,huoxudong125/Fody,ColinDabritzViewpoint/Fody,GeertvanHorrik/Fody,ichengzi/Fody,Fody/Fody,jasonholloway/Fody
Weavers/ModuleWeaver.cs
Weavers/ModuleWeaver.cs
using System; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; public class ModuleWeaver { public ModuleDefinition ModuleDefinition { get; set; } public Action<string> LogInfo { get; set; } public Action<string, SequencePoint> LogWarningPoint { get; set; } public Action<string, SequencePoin...
using System; using System.Linq; using Mono.Cecil; using Mono.Cecil.Cil; public class ModuleWeaver { public ModuleDefinition ModuleDefinition { get; set; } public Action<string> LogInfo { get; set; } public Action<string, SequencePoint> LogWarningPoint { get; set; } public Action<string, SequencePoin...
mit
C#
7a78c00a12d5cae65961ff0aa07fc4284752b880
添加 EnableRequestRewindMiddleware 注释 @lishewen https://github.com/JeffreySu/WeiXinMPSDK/commit/ef7fc31fdeb518d79eb29af91d57d61c06b5ff53
mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK
src/Senparc.Weixin.MP.MvcExtension/Senparc.Weixin.MP.MvcExtension/Utilities/HttpUtility/EnableRequestRewind.cs
src/Senparc.Weixin.MP.MvcExtension/Senparc.Weixin.MP.MvcExtension/Utilities/HttpUtility/EnableRequestRewind.cs
#region Apache License Version 2.0 /*---------------------------------------------------------------- Copyright 2018 Jeffrey Su & Suzhou Senparc Network Technology Co.,Ltd. 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...
#if NETSTANDARD2_0 using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Internal; namespace Microsoft.AspNetCore.Http { public class EnableRequestRewindMiddleware { private readonly RequestDelegate _next; public Enab...
apache-2.0
C#
2a6c98335ff7375731675d876eddd9278f79d04d
Bump version for nuget package
g0t4/Rx-FileSystemWatcher,g0t4/Rx-FileSystemWatcher
src/RxFileSystemWatcher/Properties/AssemblyInfo.cs
src/RxFileSystemWatcher/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("RxFileSystemWatcher")] [assembly: Assemb...
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("RxFileSystemWatcher")] [assembly: Assemb...
mit
C#
95198940ee510ff0e8e56f00aedb50c6348f9ef6
Update the logger to reflect configured Authentication Type.
versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla
VersionOne.ServiceHost.Core/Logging/Logger.cs
VersionOne.ServiceHost.Core/Logging/Logger.cs
using System; using System.Xml; using VersionOne.ServiceHost.Core.Configuration; using VersionOne.ServiceHost.Eventing; namespace VersionOne.ServiceHost.Core.Logging { public class Logger : ILogger { private readonly IEventManager eventManager; public Logger(IEventManager eventManager) { ...
using System; using System.Xml; using VersionOne.ServiceHost.Core.Configuration; using VersionOne.ServiceHost.Eventing; namespace VersionOne.ServiceHost.Core.Logging { public class Logger : ILogger { private readonly IEventManager eventManager; public Logger(IEventManager eventManager) { ...
bsd-3-clause
C#
5d56280397551c4c47f4439e68925999cc04d838
修复验证异常消息缺失的问题。 :mega:
Zongsoft/Zongsoft.CoreLibrary
src/Security/Membership/AuthenticationException.cs
src/Security/Membership/AuthenticationException.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2003-2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2003-2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
lgpl-2.1
C#
68e426bb818be4dcc2557f736180cc847601da40
Fix unsetting attemptLoginRefresh
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Client/ServerClientFactory.cs
src/Tgstation.Server.Client/ServerClientFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <inheritdoc /> public sealed class ServerClientFactory : IServ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <inheritdoc /> public sealed class ServerClientFactory : IServ...
agpl-3.0
C#
4e8099942745615708a4b207a13e5d27743b87e8
fix conflict
KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog
src/StructuredLogViewer.Core/SearchResult.cs
src/StructuredLogViewer.Core/SearchResult.cs
using System; using System.Collections.Generic; using Microsoft.Build.Logging.StructuredLogger; namespace StructuredLogViewer { public class SearchResult { public BaseNode Node { get; } public List<(string field, string match)> WordsInFields = new List<(string, string)>(); ...
using System; using System.Collections.Generic; using Microsoft.Build.Logging.StructuredLogger; namespace StructuredLogViewer { public class SearchResult { public BaseNode Node { get; } public List<(string field, string match)> WordsInFields = new List<(string, string)>(); ...
mit
C#