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
b7ce0293a1815b63e26c9dac4e0639b946c6becc
Remove duplicate diagnostics
ravimeda/cli,svick/cli,dasMulli/cli,harshjain2/cli,Faizan2304/cli,ravimeda/cli,livarcocc/cli-1,johnbeisner/cli,johnbeisner/cli,EdwardBlair/cli,dasMulli/cli,harshjain2/cli,svick/cli,ravimeda/cli,livarcocc/cli-1,livarcocc/cli-1,EdwardBlair/cli,blackdwarf/cli,Faizan2304/cli,harshjain2/cli,johnbeisner/cli,Faizan2304/cli,da...
test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetUnderTest.cs
test/Microsoft.DotNet.Tools.Tests.Utilities/DotnetUnderTest.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.DotNet.Cli.Utils; namespace Microsoft.DotNet.Tools.Test.Utilities { public static class DotnetUnderTest { ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Microsoft.DotNet.Cli.Utils; namespace Microsoft.DotNet.Tools.Test.Utilities { public static class DotnetUnderTest { ...
mit
C#
096d78cef104e0c86c48065b348801ea9053b20e
Implement UnitTest for AddExpensePageViewModel#Categories.
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.ViewModel.Tests/AddExpensePageViewModelTest.cs
client/BlueMonkey/BlueMonkey.ViewModel.Tests/AddExpensePageViewModelTest.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Reactive.Linq; using System.Text; using BlueMonkey.Business; using BlueMonkey.Model; using BlueMonkey.ViewModels; using Moq; using Prism.Navigation; using Xunit; namespace BlueMonkey.ViewModel...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using BlueMonkey.Business; using BlueMonkey.Model; using BlueMonkey.ViewModels; using Moq; using Prism.Navigation; using Xunit; namespace BlueMonkey.ViewModel.Tests { public class Ad...
mit
C#
ccac62edae574123264887094a8e65df571aef91
Fix for parsing floats in cultures with decimal separator different than dot.
mausch/SolrNet,vladen/SolrNet,tombeany/SolrNet,vladen/SolrNet,tombeany/SolrNet,vyzvam/SolrNet,erandr/SolrNet,drakeh/SolrNet,Laoujin/SolrNet,18098924759/SolrNet,18098924759/SolrNet,drakeh/SolrNet,Laoujin/SolrNet,SolrNet/SolrNet,MetSystem/SolrNet,vladen/SolrNet,drakeh/SolrNet,doss78/SolrNet,erandr/SolrNet,doss78/SolrNet,...
SolrNet/Impl/ResponseParsers/InterestingTermsResponseParser.cs
SolrNet/Impl/ResponseParsers/InterestingTermsResponseParser.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Globalization; namespace SolrNet.Impl.ResponseParsers { public class InterestingTermsResponseParser<T> : ISolrAbstractResponseParser<T>, ISolrMoreLikeThisHandlerResponseParser<T> ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; namespace SolrNet.Impl.ResponseParsers { public class InterestingTermsResponseParser<T> : ISolrAbstractResponseParser<T>, ISolrMoreLikeThisHandlerResponseParser<T> { private static Fu...
apache-2.0
C#
904edaf716cec421e210311a3b42b0cc1e2f693c
Update WithAutoProperties.cs
Fody/PropertyChanged
Tests/IlGeneratedByDependencyReaderTests/WithAutoProperties.cs
Tests/IlGeneratedByDependencyReaderTests/WithAutoProperties.cs
using System.Linq; using Xunit; public class WithAutoProperties { //TODO: add test for abstract [Fact] public void Run() { var typeDefinition = DefinitionFinder.FindType<Person>(); var node = new TypeNode { TypeDefinition = typeDefinition, Mappings = Mo...
using System.Linq; using Xunit; public class WithAutoProperties { //TODO: add test for abstract [Fact] public void Run() { var typeDefinition = DefinitionFinder.FindType<Person>(); var node = new TypeNode { TypeDefinition = typeDefinit...
mit
C#
44d2fa6e9effd58b495c1b758696d50c423aaa6b
Improve code.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Games/Common/Hangman/TermPool.cs
src/MitternachtBot/Modules/Games/Common/Hangman/TermPool.cs
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using Mitternacht.Common; using Mitternacht.Modules.Games.Common.Hangman.Exceptions; using Newtonsoft.Json; namespace Mitternacht.Modules.Games.Common.Hangman { public class TermPool { const strin...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.IO; using System.Linq; using Mitternacht.Common; using Mitternacht.Modules.Games.Common.Hangman.Exceptions; using Newtonsoft.Json; namespace Mitternacht.Modules.Games.Common.Hangman { public class TermPool { const strin...
mit
C#
9ec5be3017eedcac40c52d85003f5232e858911d
Fix casting error in WhenAny shim
rzhw/Squirrel.Windows,rzhw/Squirrel.Windows
src/Squirrel.Core/ReactiveUIMicro/ReactiveUI/WhenAnyShim.cs
src/Squirrel.Core/ReactiveUIMicro/ReactiveUI/WhenAnyShim.cs
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Linq; using System.Text; using System.Linq.Expressions; using System.Windows; namespace ReactiveUIMicro { public static class WhenAnyShim { public static IObservable<TVal> WhenAny<TSender, TTarget, TVal>(this TSen...
using System; using System.Collections.Generic; using System.Reactive.Linq; using System.Linq; using System.Text; using System.Linq.Expressions; using System.Windows; namespace ReactiveUIMicro { public static class WhenAnyShim { public static IObservable<TVal> WhenAny<TSender, TTarget, TVal>(this TSen...
mit
C#
9b9d5c17d84327b60e144bc82edb1f83f146ed2e
Add support for nested properties access in GetElementAttribute command using dot separated syntax
2gis/Winium.StoreApps,krishachetan89/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,goldbillka/Winium.StoreApps,NetlifeBackupSolutions/Winium.StoreApps,goldbillka/Winium.StoreApps,2gis/Winium.StoreApps,krishachetan89/Winium.StoreApps
WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/GetElementAttributeCommand.cs
WindowsUniversalAppDriver/WindowsUniversalAppDriver.InnerServer/Commands/GetElementAttributeCommand.cs
namespace WindowsUniversalAppDriver.InnerServer.Commands { using System; using System.Reflection; using WindowsUniversalAppDriver.Common; internal class GetElementAttributeCommand : CommandBase { #region Public Properties public string ElementId { get; set; } #endregion ...
namespace WindowsUniversalAppDriver.InnerServer.Commands { using System.Reflection; using WindowsUniversalAppDriver.Common; internal class GetElementAttributeCommand : CommandBase { #region Public Properties public string ElementId { get; set; } #endregion #region P...
mpl-2.0
C#
eb9feb6d6715f57fe3bcab9244b5ce640f818141
Update OperationData.cs
ADAPT/ADAPT
source/ADAPT/LoggedData/OperationData.cs
source/ADAPT/LoggedData/OperationData.cs
/******************************************************************************* * Copyright (C) 2015-16, 2018 AgGateway and ADAPT Contributors * Copyright (C) 2015-16 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public ...
/******************************************************************************* * Copyright (C) 2015-16 AgGateway and ADAPT Contributors * Copyright (C) 2015-16 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public Licens...
epl-1.0
C#
9b5416365d8e0d8e5eeab81e64c6d596e4514838
Refactor the ConditionalRenderer class.
andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,honestegg/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,damiensawyer/cassette
src/Cassette/ConditionalRenderer.cs
src/Cassette/ConditionalRenderer.cs
using System.Text; using Cassette.Scripts; namespace Cassette { /// <summary> /// Renders conditional comments as described by http://www.quirksmode.org/css/condcom.html /// </summary> class ConditionalRenderer { StringBuilder html; bool isNotIECondition; public stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cassette.Scripts; namespace Cassette { public class ConditionalRenderer { public string RenderCondition(string condition, string content) { var html = new StringBuilder(); ...
mit
C#
e71b13683a1189ae8fda808b2b2f22674e651900
Add null check
EVAST9919/osu,peppy/osu,naoey/osu,DrabWeb/osu,peppy/osu-new,ZLima12/osu,ZLima12/osu,naoey/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,naoey/osu,peppy/osu,johnneij...
osu.Game.Rulesets.Osu/Edit/Blueprints/HitCircles/HitCirclePlacementBlueprint.cs
osu.Game.Rulesets.Osu/Edit/Blueprints/HitCircles/HitCirclePlacementBlueprint.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.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components; using osu.Game.Rulesets.Osu.Objects; us...
// 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.Input.Events; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components; using osu.Game.Rulesets.Osu.Objects; n...
mit
C#
15e78765308e42716332c4c737272e775509ebec
Fix incorrect argument ordering.
wieslawsoltes/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wiesl...
src/Avalonia.Controls/Repeater/ItemsRepeaterElementIndexChangedEventArgs.cs
src/Avalonia.Controls/Repeater/ItemsRepeaterElementIndexChangedEventArgs.cs
// This source file is adapted from the WinUI project. // (https://github.com/microsoft/microsoft-ui-xaml) // // Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. using System; namespace Avalonia.Controls { /// <summary> /// Provides data for the <see cref="ItemsRepeater.El...
// This source file is adapted from the WinUI project. // (https://github.com/microsoft/microsoft-ui-xaml) // // Licensed to The Avalonia Project under MIT License, courtesy of The .NET Foundation. using System; namespace Avalonia.Controls { /// <summary> /// Provides data for the <see cref="ItemsRepeater.El...
mit
C#
52d7a425f651cbb6163f730378cbc9f2b9e2e34e
Fix version check condition.
Microsoft/PTVS,Microsoft/PTVS,zooba/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,int19h/PTVS,Microsoft/PTVS,int19h/PTVS,huguesv/PTVS,zooba/PTVS,Microsoft/PTVS,Microsoft/PTVS,huguesv/PTVS,huguesv/PTVS,huguesv/PTVS,int19h/PTVS,zooba/PTVS,int19h/PTVS,int19h/PTVS,zooba/PTVS,huguesv/PTVS,zooba/PTVS,zooba/PTVS
Python/Product/VSInterpreters/PackageManager/CPythonPipPackageManagerProvider.cs
Python/Product/VSInterpreters/PackageManager/CPythonPipPackageManagerProvider.cs
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 /...
// Python Tools for Visual Studio // Copyright(c) Microsoft Corporation // All rights reserved. // // Licensed under the Apache License, Version 2.0 (the License); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at http://www.apache.org/licenses/LICENSE-2.0 /...
apache-2.0
C#
5268355310cd9c719d8a498c2247330253649e03
Remove stray space in 404 page
StackExchange/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,jango2015/StackExchange.DataExplorer,rschrieken/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,gavioto/StackExchange.DataExplorer,vebin/StackExchange.DataExplorer,tms/StackExchange.DataExplorer,veb...
App/StackExchange.DataExplorer/Views/Shared/PageNotFound.cshtml
App/StackExchange.DataExplorer/Views/Shared/PageNotFound.cshtml
@using StackExchange.DataExplorer @{this.SetPageTitle("Page not found - Stack Exchange Data Explorer");} <div class="subheader"> <h2>Page Not Found</h2> </div> <div style="width:400px; float:left;"> <p>Sorry we could not find the page requested. However, we did find a picture of <a href="http://en.wiki...
@using StackExchange.DataExplorer @{this.SetPageTitle("Page not found - Stack Exchange Data Explorer");} <div class="subheader"> <h2>Page Not Found</h2> </div> <div style="width:400px; float:left;"> <p>Sorry we could not find the page requested. However, we did find a picture of <a href="http://en.wiki...
mit
C#
c547ccd47876026defd992a2b0a810138441ffc8
Enable nullable: System.Management.Automation.Interpreter.ILightCallSiteBinder (#14156)
daxian-dbw/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,TravisEz13/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,daxi...
src/System.Management.Automation/engine/interpreter/ILightCallSiteBinder.cs
src/System.Management.Automation/engine/interpreter/ILightCallSiteBinder.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If * ...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If * ...
mit
C#
e1a1b552e2e49098578c8f06d9cb058b12eeeaa8
Order tasks by name on qual list page
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Web/Views/Qualification/List.cshtml
BatteryCommander.Web/Views/Qualification/List.cshtml
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" })</h2> <table class="table table-bordered"> <tr> <th> @Html.D...
@model IEnumerable<BatteryCommander.Common.Models.Qualification> @using BatteryCommander.Common.Models; @{ ViewBag.Title = "Qualifications"; } <h2>@ViewBag.Title @Html.ActionLink("Add New", "New", null, new { @class = "btn btn-primary" })</h2> <table class="table table-bordered"> <tr> <th> @Html.D...
mit
C#
584a27d153d54487b95498e05edd5c5ff0cbc2ac
Fix indenting
quartz-software/kephas,quartz-software/kephas
src/Kephas.Data/IDataOperationContext.cs
src/Kephas.Data/IDataOperationContext.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IDataOperationContext.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IDataOperationContext.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the ...
mit
C#
fc4ed4db4a5bfd04d18215a5b56b3227b886237e
Fix log message
chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/cams
src/Camera.cs
src/Camera.cs
using System; using System.Collections.Generic; using System.IO; namespace Cams { public abstract class Camera { public string Name { get; private set; } public string RawFilePath { get; private set; } public abstract string Type { get; } public Camera(string path) { var d = new DirectoryInfo(path); ...
using System; using System.Collections.Generic; using System.IO; namespace Cams { public abstract class Camera { public string Name { get; private set; } public string RawFilePath { get; private set; } public abstract string Type { get; } public Camera(string path) { var d = new DirectoryInfo(path); ...
mit
C#
bb3a254bdef258ba3c6f26cb9ec13ac88a5d7366
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoG_SimpleClient.cs
Src/Asp.Net/SqlServerTest/Demo/DemoG_SimpleClient.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class DemoG_SimpleClient { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### SimpleCli...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { public class DemoG_SimpleClient { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### SimpleCli...
apache-2.0
C#
8e876f96956dafa568b97fbc73895181e56156df
Update demo
sunkaixuan/SqlSugar
Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Config.cs
Src/Asp.NetCore2/SqlSeverTest/SqlSeverTest/Config.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { /// <summary> /// Setting up the database name does not require you to create the database /// 设置好数据库名不需要你去手动建库 /// </summary> public class Config { /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { /// <summary> /// Setting up the database name does not require you to create the database /// 设置好数据库名不需要你去手动建库 /// </summary> public class Config { /...
apache-2.0
C#
014a90258ec9cca5ad6c74e4b65113036a6301ba
verify data has loaded before updating text
sterlingcrispin/UnityLocalization
localization/LocalizedText.cs
localization/LocalizedText.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LocalizedText : MonoBehaviour { public LocalizationEnum.Key key; // Use this for initialization void Start () { updateObject(); } IEnumerator updateText(){ Text text = GetComponent<Text> (); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class LocalizedText : MonoBehaviour { public LocalizationEnum.Key key; // Use this for initialization void Start () { Text text = GetComponent<Text> (); text.text = LocalizationManager.instance.GetLo...
mit
C#
7407e66107385d060d1c0d20f88f26d875755ac1
Update AssemblyInfo.cs
RytisLT/LiteDB,89sos98/LiteDB,mbdavid/LiteDB,falahati/LiteDB,RytisLT/LiteDB,falahati/LiteDB,89sos98/LiteDB
LiteDB.Tests/Properties/AssemblyInfo.cs
LiteDB.Tests/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("LiteDB.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("LiteDB.Tests")] [assembly: AssemblyCopyright("MIT © 20...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyTitle("LiteDB.Tests")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("LiteDB.Tests")] [assembly: AssemblyCopyright("MIT © 20...
mit
C#
7e44cd73c85ae4871fdad8b87c64124ce0e1506a
Set the last activity on creation so sql doesn't blow up.
aapttester/jack12051317,SonOfSam/JabbR,Org1106/Project13221106,kudupublic/test0704jabbr,mogulTest1/Project13171205,mogultest2/Project92105,krolson/kkJabbr,AAPT/jean0226case1322,lukehoban/JabbR,kudupublic/test0704jabbr,yadyn/JabbR,test0925/test0925,mogulTest1/ProjectfoIssue6,MogulTestOrg1008/Project13221008,kudupublic/l...
JabbR/Models/ChatRoom.cs
JabbR/Models/ChatRoom.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace JabbR.Models { public class ChatRoom { [Key] public int Key { get; set; } public DateTime LastActivity { get; set; } public DateTime? LastNudged { get; set; } public ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace JabbR.Models { public class ChatRoom { [Key] public int Key { get; set; } public DateTime LastActivity { get; set; } public DateTime? LastNudged { get; set; } public ...
mit
C#
4a2bb597ebb5317016571f34fcfe206d4895cf67
Add CommandHelpAttribute#Alias
appharbor/appharbor-cli
src/AppHarbor/CommandHelpAttribute.cs
src/AppHarbor/CommandHelpAttribute.cs
using System; namespace AppHarbor { public class CommandHelpAttribute : Attribute { public CommandHelpAttribute(string description, string options = "", string alias = "") { Alias = alias; Description = description; Options = options; } public string Alias { get; private set; } public...
using System; namespace AppHarbor { public class CommandHelpAttribute : Attribute { public CommandHelpAttribute(string description, string options = "") { Description = description; Options = options; } public string Description { get; private set; } public string Options { get; ...
mit
C#
40426c7103c2a1296eb7335c57fc42fd798a3dae
Fix RateLimitLock waiting basically infinite times
BundledSticksInkorperated/Discore
src/Discore/Http/Net/RateLimitLock.cs
src/Discore/Http/Net/RateLimitLock.cs
using Nito.AsyncEx; using System; using System.Threading; using System.Threading.Tasks; namespace Discore.Http.Net { class RateLimitLock { public bool RequiresWait => GetDelay() > 0; ulong resetAtEpochMilliseconds; AsyncLock mutex; public RateLimitLock() { ...
using Nito.AsyncEx; using System; using System.Threading; using System.Threading.Tasks; namespace Discore.Http.Net { class RateLimitLock { public bool RequiresWait { get { TimeSpan t = DateTime.UtcNow - new DateTime(1970, 1, 1); ulong epo...
mit
C#
831813c00b31fef60dd5e0d840514772895de1c4
Fix Bug with DeleteUser()
revaturelabs/revashare-svc-webapi
revashare-svc-webapi/revashare-svc-webapi.Logic/ServiceClient/ServiceClientUser.cs
revashare-svc-webapi/revashare-svc-webapi.Logic/ServiceClient/ServiceClientUser.cs
using revashare_svc_webapi.Logic.Interfaces; using revashare_svc_webapi.Logic.RevaShareServiceReference; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace revashare_svc_webapi.Logic.ServiceClient { public partial class ServiceClient : ISe...
using revashare_svc_webapi.Logic.Interfaces; using revashare_svc_webapi.Logic.RevaShareServiceReference; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace revashare_svc_webapi.Logic.ServiceClient { public partial class ServiceClient : ISe...
mit
C#
6d50ea317597d5d039d4c836d125268421eb3d24
standardize on "auth0 domain" being just the domain name
StephenClearyExamples/FunctionsAuth0
src/FunctionApp/Auth0Authenticator.cs
src/FunctionApp/Auth0Authenticator.cs
using System; using System.IdentityModel.Tokens.Jwt; using System.Net.Http; using System.Net.Http.Headers; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using Microsoft.IdentityModel.Protocols; using Microsoft.IdentityModel.Protocols.OpenIdConnect; using Microsoft.IdentityModel.To...
using System; using System.IdentityModel.Tokens.Jwt; using System.Net.Http; using System.Net.Http.Headers; using System.Security.Claims; using System.Threading; using System.Threading.Tasks; using Microsoft.IdentityModel.Protocols; using Microsoft.IdentityModel.Protocols.OpenIdConnect; using Microsoft.IdentityModel.To...
mit
C#
fcc6c01c979a0b5b87ffa706d6a1b1ef6def61ab
Update IdFactory.cs
Elfocrash/L2dotNET,MartLegion/L2dotNET
src/L2dotNET.Game/tables/IdFactory.cs
src/L2dotNET.Game/tables/IdFactory.cs
using System; using System.Data; using MySql.Data.MySqlClient; using System.Collections.Generic; using Ninject; using L2dotNET.Services.Contracts; using System.Linq; namespace L2dotNET.Game.tables { sealed class IdFactory { [Inject] public IServerService serverService { get { return GameServer....
using System; using System.Data; using MySql.Data.MySqlClient; using System.Collections.Generic; using Ninject; using L2dotNET.Services.Contracts; using System.Linq; namespace L2dotNET.Game.tables { sealed class IdFactory { [Inject] public IServerService serverService { get { return GameServer...
mpl-2.0
C#
70c76e091a4647644374962ea40559221ed90741
Update Program.cs
ickecode/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); Console.ReadKey(); //Comment add...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { Console.WriteLine("Hello, World!"); Console.ReadKey(); } } }
mit
C#
98312b29f5dd039e7fc65be24e0c3402d3c36932
Use invariant culture for number parsing (#165)
ForNeVeR/wpf-math
src/WpfMath/Colors/HtmlColorParser.cs
src/WpfMath/Colors/HtmlColorParser.cs
using System.Globalization; using System.Windows.Media; namespace WpfMath.Colors { internal class HtmlColorParser : SingleComponentColorParser { protected override Color? ParseSingleComponent(string component) { if (component.Length != 6) return null; va...
using System.Globalization; using System.Windows.Media; namespace WpfMath.Colors { internal class HtmlColorParser : SingleComponentColorParser { protected override Color? ParseSingleComponent(string component) { if (component.Length != 6) return null; va...
mit
C#
eff35979967f34f94316b453bf5af30c84e66792
Update Assets/MixedRealityToolkit/Interfaces/Diagnostics/IMixedRealityDiagnosticsSystem.cs
DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Interfaces/Diagnostics/IMixedRealityDiagnosticsSystem.cs
Assets/MixedRealityToolkit/Interfaces/Diagnostics/IMixedRealityDiagnosticsSystem.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Core.Definitions.Diagnostics; using Microsoft.MixedReality.Toolkit.Core.Interfaces.Events; using UnityEngine; namespace Microsof...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Core.Definitions.Diagnostics; using Microsoft.MixedReality.Toolkit.Core.Interfaces.Events; using UnityEngine; namespace Microsof...
mit
C#
cae43a7a8c3818db43cae099ea2acd8e10fc9703
Make DateFormatConverterTemplateModel public
RSuter/NJsonSchema,NJsonSchema/NJsonSchema
src/NJsonSchema.CodeGeneration.CSharp/Models/DateFormatConverterTemplateModel.cs
src/NJsonSchema.CodeGeneration.CSharp/Models/DateFormatConverterTemplateModel.cs
//----------------------------------------------------------------------- // <copyright file="DateFormatConverterTemplateModel.cs" company="NJsonSchema"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license> // <author>R...
//----------------------------------------------------------------------- // <copyright file="DateFormatConverterTemplateModel.cs" company="NJsonSchema"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/rsuter/NJsonSchema/blob/master/LICENSE.md</license> // <author>R...
mit
C#
a5fc9f84c29ede6bd9f8ee039edeea98bdd3530d
Remove revision number
fryderykhuang/SuperSocket,mdavid/SuperSocket,ZixiangBoy/SuperSocket,chucklu/SuperSocket,memleaks/SuperSocket,ZixiangBoy/SuperSocket,mdavid/SuperSocket,kerryjiang/SuperSocket,fryderykhuang/SuperSocket,jmptrader/SuperSocket,fryderykhuang/SuperSocket,ZixiangBoy/SuperSocket,jmptrader/SuperSocket,chucklu/SuperSocket,mdavid/...
SocketServiceCore/GlobalAssemblyInfo.cs
SocketServiceCore/GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("0.0.1.0")] ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // [assembly: AssemblyVersion("0.0.1.53845"...
apache-2.0
C#
3687a4fa639e1dcb3d9d37562d86e511113439af
Update IgnoreCodes.cs
Fody/MethodTimer
Tests/AssemblyTesterSets/IgnoreCodes.cs
Tests/AssemblyTesterSets/IgnoreCodes.cs
using System.Collections.Generic; public static class IgnoreCodes { public static IEnumerable<string> GetIgnoreCoders() { return new[] { "0x80131869" }; } }
using System.Collections.Generic; public static class IgnoreCodes { public static IEnumerable<string> GetIgnoreCoders() { #if NET472 return System.Linq.Enumerable.Empty<string>(); #endif #if NETCOREAPP2_2 return new[] { "0x80131869" }; #endif } }
mit
C#
6fb9bd45cba03f6892730d422688ebaa285fb247
Make IUpdater public
brandonio21/update.net
update.net/IUpdater.cs
update.net/IUpdater.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace update.net { /// <summary> /// An interface specification for all types of updaters. Updaters have the ability to /// synchronously check versions, download changelogs, and asynchronously download and /// r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace update.net { /// <summary> /// An interface specification for all types of updaters. Updaters have the ability to /// synchronously check versions, download changelogs, and asynchronously download and /// r...
mit
C#
caca0efe649ae42ca732062fa0a7e0ca5deca6df
Fix backspace in PasswordConsole
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/PasswordConsole.cs
WalletWasabi/Helpers/PasswordConsole.cs
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Helpers { public class PasswordConsole { /// <summary> /// Gets the console password. /// </summary> public static string ReadPassword() { var sb = new StringBuilder(); while (true) { ConsoleKeyInfo cki ...
using System; using System.Collections.Generic; using System.Text; namespace WalletWasabi.Helpers { public class PasswordConsole { /// <summary> /// Gets the console password. /// </summary> public static string ReadPassword() { var sb = new StringBuilder(); while (true) { ConsoleKeyInfo cki ...
mit
C#
3eb883739b0f8f3925edd58ea9222d0c8874ee5e
Add OnPropertiesChanged support to ViewModelBase
ahanusa/facile.net,peasy/Peasy.NET,ahanusa/Peasy.NET,peasy/Samples,peasy/Samples,peasy/Samples
Orders.com.WPF/VM/ViewModelBase.cs
Orders.com.WPF/VM/ViewModelBase.cs
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Runtime.CompilerServices; namespace Orders.com.WPF.VM { public class ViewModelBase : INotifyPropertyChanged { private bool _isDirty = false; private bool _isNew = false; ...
using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Runtime.CompilerServices; namespace Orders.com.WPF.VM { public class ViewModelBase : INotifyPropertyChanged { private bool _isDirty = false; private bool _isNew = false; ...
mit
C#
53eb253a21a508c1e6e130555b47fcba3e6bc783
allow multiple Dispose calls
KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin
src/Kirkin.Experimental/Threading/AsyncLock.cs
src/Kirkin.Experimental/Threading/AsyncLock.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Kirkin.Threading { public sealed class AsyncLock { private TaskCompletionSource<bool> _tcs; public async Task<AsyncLockReleaser> EnterAsync() { TaskCompletionSource<bool> newTcs = new TaskComplet...
using System; using System.Threading; using System.Threading.Tasks; namespace Kirkin.Threading { public sealed class AsyncLock { private TaskCompletionSource<bool> _tcs; public async Task<AsyncLockReleaser> EnterAsync() { TaskCompletionSource<bool> newTcs = new TaskComplet...
mit
C#
f6954576aa6bf706f412f0235dcc037e63f72709
Update HtmlSanitizerOptions.cs
mganss/HtmlSanitizer
src/HtmlSanitizer/HtmlSanitizerOptions.cs
src/HtmlSanitizer/HtmlSanitizerOptions.cs
using System; using System.Collections.Generic; namespace Ganss.XSS { /// <summary> /// Provides options to be used with <see cref="HtmlSanitizer"/>. /// </summary> public class HtmlSanitizerOptions { /// <summary> /// Gets or sets the allowed tag names such as "a" and "div". ...
using System; using System.Collections.Generic; namespace Ganss.XSS { public class HtmlSanitizerOptions { public ICollection<string> AllowedTags { get; set; } = new HashSet<string>(); public ICollection<string> AllowedAttributes { get; set; } = new HashSet<string>(); public ICollection<...
mit
C#
ee03b6d551c2d48caea12b5ae4fbd09301e1cc41
fix typo in AnalyticsEvents
fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,projectkudu/TryAppService,fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,davi...
SimpleWAWS/Code/AnalyticsEvents.cs
SimpleWAWS/Code/AnalyticsEvents.cs
using System.Linq; using System.Collections.Generic; using SimpleWAWS.Code; namespace SimpleWAWS.Models { public static class AnalyticsEvents { // Event format "USER_LOGGED_IN; {userName}" public const string UserLoggedIn = "USER_LOGGED_IN; {@user}"; public const string OldUserLoggedIn ...
using System.Linq; using System.Collections.Generic; using SimpleWAWS.Code; namespace SimpleWAWS.Models { public static class AnalyticsEvents { // Event format "USER_LOGGED_IN; {userName}" public const string UserLoggedIn = "USER_LOGGED_IN; {@user}"; public const string OldUserLoggedIn ...
apache-2.0
C#
8aa1c539694798b85bba5b6a5660b10c9d60eec3
Fix IPv6 support.
yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli
src/MsgPack.Rpc/Rpc/NetworkEnvironment.cs
src/MsgPack.Rpc/Rpc/NetworkEnvironment.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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.or...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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.or...
apache-2.0
C#
58f4efe9a0da35e665211d11b752ab8496075109
Build number auto-increment
chall3ng3r/GameOn,chall3ng3r/GameOn
Soruce/Windows/GameOn/Properties/AssemblyInfo.cs
Soruce/Windows/GameOn/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("Ga...
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("Ga...
mit
C#
cfce8a66850ddd8f4feacc1e839cbf1790a96286
initialize mock spy with let
BaylorRae/Let.cs
tests/Let.cs.Tests/IntegrationTest.cs
tests/Let.cs.Tests/IntegrationTest.cs
using Moq; using NUnit.Framework; using System; using LetTestHelper; namespace Let.cs.Tests { [TestFixture] public class IntegrationTest { private Mock<ISpy> MockSpy => LetHelper.Let("MockSpy", () => { var mockSpy = new Mock<ISpy>(); mockSpy.Setup(spy => spy.DoSomething()).R...
using Moq; using NUnit.Framework; using System; using LetTestHelper; namespace Let.cs.Tests { [TestFixture] public class IntegrationTest { private Mock<ISpy> MockSpy; private bool DoSomethingWithSpy => LetHelper.Let(() => MockSpy.Object.DoSomething()); [SetUp] public void B...
mit
C#
13f798101087aff3f7120a83078044411bf96edf
Rename Callback to Configure in UseConnections (#1939)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Http.Connections/ConnectionsAppBuilderExtensions.cs
src/Microsoft.AspNetCore.Http.Connections/ConnectionsAppBuilderExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http.Connections; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; namespac...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Http.Connections; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; namespac...
apache-2.0
C#
6dcdc3b8af5c7b6f291101f797668f45664c6fae
Switch off schema driven document validation (#5286)
dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx,superyyrrzz/docfx,dotnet/docfx
src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownInterpreter.cs
src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownInterpreter.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors { using System; using Microsoft.DocAsCode.Common; using Microsoft.DocAsCode.Plugins; usin...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors { using System; using Microsoft.DocAsCode.Common; using Microsoft.DocAsCode.Plugins; usin...
mit
C#
2454f5e48bd3c41670090e788c5766bead92249f
remove unused comments.
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
test/DotNetCore.CAP.EntityFrameworkCore.Test/ConnectionUtil.cs
test/DotNetCore.CAP.EntityFrameworkCore.Test/ConnectionUtil.cs
using System; using System.Data.SqlClient; namespace DotNetCore.CAP.EntityFrameworkCore.Test { public static class ConnectionUtil { private const string DatabaseVariable = "Cap_SqlServer_DatabaseName"; private const string ConnectionStringTemplateVariable = "Cap_SqlServer_ConnectionStringTempla...
using System; using System.Data.SqlClient; namespace DotNetCore.CAP.EntityFrameworkCore.Test { public static class ConnectionUtil { private const string DatabaseVariable = "Cap_SqlServer_DatabaseName"; private const string ConnectionStringTemplateVariable = "Cap_SqlServer_ConnectionStringTempla...
mit
C#
6003f606458255666dc33db00714ef0d15969061
add refresh_token to scrub list in token request logger
IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4
src/IdentityServer4/Logging/Models/TokenRequestValidationLog.cs
src/IdentityServer4/Logging/Models/TokenRequestValidationLog.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 IdentityModel; using IdentityServer4.Extensions; using IdentityServer4.Validation; using System.Collections.Generic; namespace Identity...
// 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 IdentityModel; using IdentityServer4.Extensions; using IdentityServer4.Validation; using System.Collections.Generic; namespace Identit...
apache-2.0
C#
a9124a1c228f9cc95c6a69cf45448051c8d8e824
add missing Id field to Invoice model
FacturAPI/facturapi-net
facturapi-net/Models/Invoice.cs
facturapi-net/Models/Invoice.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Facturapi { public class Invoice { public string Id { get; set; } public DateTime CreatedAt { get; set; } public bool Livemode { get; set; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Facturapi { public class Invoice { public DateTime CreatedAt { get; set; } public bool Livemode { get; set; } public Customer Customer { get; s...
mit
C#
915b8e12292a4e51d6739ac6f3f21f69d4835c99
Improve comment.
MichalStrehovsky/roslyn,KevinRansom/roslyn,orthoxerox/roslyn,brettfo/roslyn,MattWindsor91/roslyn,MattWindsor91/roslyn,srivatsn/roslyn,xasx/roslyn,zooba/roslyn,akrisiun/roslyn,diryboy/roslyn,khyperia/roslyn,CaptainHayashi/roslyn,jcouv/roslyn,bkoelman/roslyn,MichalStrehovsky/roslyn,jmarolf/roslyn,mgoertz-msft/roslyn,dotn...
src/Workspaces/Core/Desktop/Workspace/Storage/StorageOptions.cs
src/Workspaces/Core/Desktop/Workspace/Storage/StorageOptions.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Storage { internal static class StorageOptions { public const string ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Storage { internal static class StorageOptions { public const string ...
mit
C#
0cb439c3abc04c77a1f3fbb1771c6f883e2e69cd
Rename Precondition to Preconditions
jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode
CSharp8/Nullability/Preconditions.cs
CSharp8/Nullability/Preconditions.cs
using System; using System.Diagnostics.CodeAnalysis; namespace Nullability { class Preconditions { static void Main() { string? text = MaybeNull(); string textNotNull = CheckNotNull(text); // This is relatively obvious... Console.WriteLine(textNo...
using System; using System.Diagnostics.CodeAnalysis; namespace Nullability { class Precondition { static void Main() { string? text = MaybeNull(); string textNotNull = CheckNotNull(text); // This is relatively obvious... Console.WriteLine(textNot...
apache-2.0
C#
2fed323150dc4be4c8bc2bee96c836455d7f4a6c
Add display properties for soldier properites
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
BatteryCommander.Common/Models/Soldier.cs
BatteryCommander.Common/Models/Soldier.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Common.Models { public class Soldier { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id {...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace BatteryCommander.Common.Models { public class Soldier { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id {...
mit
C#
2a4fe340a8e495ed8b7a8b68e59e8fb6dcae84a6
test 1
Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject
EntertainmentSystem/Web/EntertainmentSystem.Web/Controllers/HomeController.cs
EntertainmentSystem/Web/EntertainmentSystem.Web/Controllers/HomeController.cs
namespace EntertainmentSystem.Web.Controllers { using System.Web.Mvc; using Common.Constants; using Data.Models.Media; using Infrastructure.Mapping; using Services.Contracts.Media.Fetchers; using ViewModels.Media; public class HomeController : BaseController { private readonly ...
namespace EntertainmentSystem.Web.Controllers { using System.Web.Mvc; using Common.Constants; using Data.Models.Media; using Infrastructure.Mapping; using Services.Contracts.Media.Fetchers; using ViewModels.Media; public class HomeController : BaseController { private readonly ...
mit
C#
94f98a9f38c3b718ac4b1745f663abfcf5d75521
add merchant guid
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsDto.cs
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class ApplicationDetailsDto { [DataMember] public Guid ApplicationGuid { get; set; } [DataMember] public Guid Mer...
using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Dto.Application { [DataContract] public class ApplicationDetailsDto { [DataMember] public Guid ApplicationGuid { get; set; } [DataMember] public LegalInf...
mit
C#
f687ac24d27432ed7f0b8ae2aef62794695529c4
Fix refactor fail and add book reference
0culus/ElectronicCash
BitCommitment/BitCommitmentProvider.cs
BitCommitment/BitCommitmentProvider.cs
using System; namespace BitCommitment { /// <summary> /// A class to perform bit commitment. It does not care what the input is; it's just a /// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way /// function method for committing bits. See p.87 of `Applied Cryptograp...
using System; namespace BitCommitment { /// <summary> /// A class to perform bit commitment. It does not care what the input is; it's just a /// facility for exchanging bit commitment messages. Based on Bruce Schneier's RandBytes1-way /// function method for committing bits /// </summary> pu...
mit
C#
25db60db94c1715ceb920bfb7c922840125d2653
build fix
neuralaxis/cocotte
Cocotte/ServiceCollectionExtensions.cs
Cocotte/ServiceCollectionExtensions.cs
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Reflection; namespace Cocotte { /// <summary> /// Configuration options for Cocotte /// </summary> public class CocotteOptions { private Uri _uri; private string _exchange;...
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Reflection; namespace Cocotte { /// <summary> /// Configuration options for Cocotte /// </summary> public class CocotteOptions { private Uri _uri; private string _exchange;...
mit
C#
a810ed2ee9bc0ddb73baf0bca3ae27857170776a
Comment Section Update
shahriarhossain/MailChimp.Api.Net
MailChimp.Api.Net/Services/Reports/MCReportsDomainPerformance.cs
MailChimp.Api.Net/Services/Reports/MCReportsDomainPerformance.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsDomainPerform...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsDomainPerform...
mit
C#
4f10f2bd8bb667585d85f14ae2d5459d5dcb2bb3
Undo NodejsPackageParametersExtension.cs whitespace merge issue
mousetraps/nodejstools,kant2002/nodejstools,Microsoft/nodejstools,avitalb/nodejstools,mousetraps/nodejstools,avitalb/nodejstools,kant2002/nodejstools,kant2002/nodejstools,paladique/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,paladique/nodejstools,AustinHull/nodejstools,Microsoft/nodejstools,kant2002/nodejsto...
Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs
Nodejs/Product/ProjectWizard/NodejsPackageParametersExtension.cs
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 writing,...
//*********************************************************// // Copyright (c) Microsoft. All rights reserved. // // Apache 2.0 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 writing,...
apache-2.0
C#
216b59cf5ee4cf74e0035f6459ac5e987e6e9081
Update ActionRepository
HatfieldConsultants/Hatfield.EnviroData.Core
Source/Hatfield.EnviroData.Core/Repositories/ActionRepository.cs
Source/Hatfield.EnviroData.Core/Repositories/ActionRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hatfield.EnviroData.Core.Repositories { public class ActionRepository : Repository<Action>, IActionRepository { private static readonly string ISChildOfRelationshipCV = "Is child of"; public ActionR...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hatfield.EnviroData.Core.Repositories { public class ActionRepository : Repository<Action>, IActionRepository { private static readonly string ISChildOfRelationshipCV = "isChildOf"; public ActionRep...
mpl-2.0
C#
ed8bdd4cc473f487f6019778027abeeb3a956a9a
Change domain id to new naming format
TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco
Source/TeaCommerce.Umbraco.Configuration/Compatibility/Domain.cs
Source/TeaCommerce.Umbraco.Configuration/Compatibility/Domain.cs
using System.Collections.Generic; using System.Linq; using TeaCommerce.Api.Infrastructure.Caching; using Umbraco.Core; namespace TeaCommerce.Umbraco.Configuration.Compatibility { public static class Domain { private const string CacheKey = "Domains"; public static umbraco.cms.businesslogic.web.Domain[] Ge...
using System.Collections.Generic; using System.Linq; using TeaCommerce.Api.Infrastructure.Caching; using Umbraco.Core; namespace TeaCommerce.Umbraco.Configuration.Compatibility { public static class Domain { private const string CacheKey = "Domains"; public static umbraco.cms.businesslogic.web.Domain[] Ge...
mit
C#
06125746435d81403f26dfeceb34bc89ff737a50
Update Mono.Debugging.Soft/SourceLinkMap.cs
mono/debugger-libs,Unity-Technologies/debugger-libs,Unity-Technologies/debugger-libs,mono/debugger-libs
Mono.Debugging.Soft/SourceLinkMap.cs
Mono.Debugging.Soft/SourceLinkMap.cs
namespace Mono.Debugging.Soft { internal class SourceLinkMap { public string RelativePathWildcard { get; } public string UriWildcard { get; } public SourceLinkMap (string relativePathWildcard, string uriWildcard) { UriWildcard = uriWildcard; RelativePathWildcard = relativePathWildcard; } } }
namespace Mono.Debugging.Soft { public class SourceLinkMap { public string RelativePathWildcard { get; } public string UriWildcard { get; } public SourceLinkMap (string relativePathWildcard, string uriWildcard) { UriWildcard = uriWildcard; RelativePathWildcard = relativePathWildcard; } } }
mit
C#
42f6985e8d17c2d3741d49c087d5b3fd71e2a73d
remove phonenumber on user info page
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Manage/Index.cshtml
BTCPayServer/Views/Manage/Index.cshtml
@model IndexViewModel @{ ViewData["Title"] = "Profile"; ViewData.AddActivePage(ManageNavPages.Index); } <h4>@ViewData["Title"]</h4> @Html.Partial("_StatusMessage", Model.StatusMessage) <div class="row"> <div class="col-md-6"> <div asp-validation-summary="All" class="text-danger"></div> </div> </div> <div class...
@model IndexViewModel @{ ViewData["Title"] = "Profile"; ViewData.AddActivePage(ManageNavPages.Index); } <h4>@ViewData["Title"]</h4> @Html.Partial("_StatusMessage", Model.StatusMessage) <div class="row"> <div class="col-md-6"> <div asp-validation-summary="All" class="text-danger"></div> </div> </div> <div class...
mit
C#
a7d8e93aab4fffb072826e20fc7165051d6e6b1c
Remove unused variable
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class CoinInfoTabViewModel : WasabiDocumentTabViewModel { public CoinInfoTabViewModel(string title,...
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class CoinInfoTabViewModel : WasabiDocumentTabViewModel { public CoinInfoTabViewModel(string title,...
mit
C#
1a16527a3e3f96a561a74a6c554a5d81e059739f
Edit assembly description to make xml compliant for nuspec output.
dbenzel/Crosscutter
Crosscutter/Properties/AssemblyInfo.cs
Crosscutter/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("Crosscutter")] [assembly: AssemblyDescrip...
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("Crosscutter")] [assembly: AssemblyDescrip...
mit
C#
7b240f9562313ef9a7f379344390c1651163367f
add LibraryFrameworkType test
sharwell/roslyn,heejaechang/roslyn,jmarolf/roslyn,aelij/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,tmat/roslyn,KevinRansom/roslyn,wvdd007/roslyn,KirillOsenkov/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,panopticoncentral/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,heejaechang/roslyn,mavasani/...
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.cs
src/Analyzers/CSharp/Tests/ConvertNameOf/ConvertNameOfTests.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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertNa...
// 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.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.ConvertNa...
mit
C#
c65cd3eb30a93f8aa7211252a7fbf1b558c6249c
upgrade StaticMap request tests to use FluentAssertions collection testing
ericnewton76/gmaps-api-net
src/Google.Maps.Test/StaticMaps/StaticMap_uribuilding_Tests.cs
src/Google.Maps.Test/StaticMaps/StaticMap_uribuilding_Tests.cs
using System; using System.Collections.Generic; using NUnit.Framework; using FluentAssertions; using Google.Maps.Test; using Google.Maps.StaticMaps; namespace Google.Maps.StaticMaps { [TestFixture] public class StaticMap_uribuilding_Tests { Uri gmapsBaseUri = new Uri("http://maps.google.com/"); ...
using System; using System.Collections.Generic; using NUnit.Framework; namespace Google.Maps.StaticMaps { [TestFixture] public class StaticMap_uribuilding_Tests { Uri gmapsBaseUri = new Uri("http://maps.google.com/"); [Test] public void BasicUri() { string expected = "/maps/api/staticma...
apache-2.0
C#
3e8fa66488121df4758366d32d08615301de2ac5
Change FilterNumber to PhoneNumber so that it has the same name as the database field
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common.Rellaid/Dto/InboundQueueDistributorDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common.Rellaid/Dto/InboundQueueDistributorDto.cs
using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Rellaid.Dto { [DataContract] public class InboundQueueDistributorDto { [DataMember] public string PhoneNumber { get; set; } [DataMember] public int RungCount { get; set; } } }
using System.Runtime.Serialization; namespace PS.Mothership.Core.Common.Rellaid.Dto { [DataContract] public class InboundQueueDistributorDto { [DataMember] public string FilterNumber { get; set; } [DataMember] public int RungCount { get; set; } } }
mit
C#
42dfb3ae1582a361954588a6c8ef04aded0961ba
allow retrieval of snippet insertion context.
AvaloniaUI/AvaloniaEdit,danwalmsley/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,AvaloniaUI/AvaloniaEdit,danwalmsley/AvaloniaEdit,Avalon...
src/AvaloniaEdit/Snippets/Snippet.cs
src/AvaloniaEdit/Snippets/Snippet.cs
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // 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, co...
mit
C#
e11af842868b4ecfea311b61f8248d1292e25ad8
add contravariant
CatPhat/Fabrik.SimpleBus
src/Fabrik.SimpleBus/IHandleAsync.cs
src/Fabrik.SimpleBus/IHandleAsync.cs
using System.Threading; using System.Threading.Tasks; namespace Fabrik.SimpleBus { public interface IHandleAsync<in TMessage> { Task HandleAsync(TMessage message, CancellationToken cancellationToken); } }
using System.Threading; using System.Threading.Tasks; namespace Fabrik.SimpleBus { public interface IHandleAsync<TMessage> { Task HandleAsync(TMessage message, CancellationToken cancellationToken); } }
mit
C#
a5a529d7867ebb1334694510731e49b96547b26e
Change OnGet to OnGetAsync
dotnet-presentations/aspnetcore-app-workshop,jongalloway/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,jongalloway/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-works...
src/FrontEnd/Pages/Session.cshtml.cs
src/FrontEnd/Pages/Session.cshtml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ConferenceDTO; using FrontEnd.Services; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace FrontEnd.Pages { public class SessionModel : ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ConferenceDTO; using FrontEnd.Services; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace FrontEnd.Pages { public class SessionModel : ...
mit
C#
d56fde9630ea3fd3737d9a70bab4ba29e68cca27
Revert changes in BranchClassifier to make sure it always picks the right branch
Kantis/GitVersion,ermshiperete/GitVersion,dpurge/GitVersion,MarkZuber/GitVersion,pascalberger/GitVersion,Philo/GitVersion,onovotny/GitVersion,alexhardwicke/GitVersion,anobleperson/GitVersion,distantcam/GitVersion,MarkZuber/GitVersion,RaphHaddad/GitVersion,ermshiperete/GitVersion,DanielRose/GitVersion,openkas/GitVersion...
GitVersion/GitFlow/BranchClassifier.cs
GitVersion/GitFlow/BranchClassifier.cs
namespace GitVersion { using System; using LibGit2Sharp; static class BranchClassifier { public static bool IsHotfix(this Branch branch) { return branch.Name.StartsWith("hotfix-") || branch.Name.StartsWith("hotfix/"); } public static string GetHotfixSuffix(...
namespace GitVersion { using System; using LibGit2Sharp; static class BranchClassifier { public static bool IsHotfix(this Branch branch) { return branch.Name.StartsWith("hotfix-") || branch.Name.StartsWith("hotfix/"); } public static string GetHotfixSuffix(...
mit
C#
39a41e97b9bed401365d1dd86aeac6f36c19b7fd
bump to a release version
hudl/HudlFfmpeg
Hudl.Ffmpeg/Properties/AssemblyInfo.cs
Hudl.Ffmpeg/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("Hu...
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("Hu...
apache-2.0
C#
6fc587f418a57fce1353ada8292c4849aa49c03c
Update ScriptLocation.cs
NServiceBusSqlPersistence/NServiceBus.SqlPersistence
src/SqlPersistence/ScriptLocation.cs
src/SqlPersistence/ScriptLocation.cs
using System; using System.IO; using System.Reflection; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { const string ScriptFolder = "NServiceBus.Persistence.Sql"; public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetCurrentDi...
using System; using System.IO; using System.Reflection; using NServiceBus; using NServiceBus.Settings; static class ScriptLocation { const string ScriptFolder = "NServiceBus.Persistence.Sql"; public static string FindScriptDirectory(ReadOnlySettings settings) { var currentDirectory = GetCurrentDi...
mit
C#
e52b9ef61ac3d3d14a77a34c94845748b1dabb96
Add ReleaseDate (#230)
JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET,JohnnyCrazy/SpotifyAPI-NET
SpotifyAPI/Web/Models/SimpleAlbum.cs
SpotifyAPI/Web/Models/SimpleAlbum.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace SpotifyAPI.Web.Models { public class SimpleAlbum : BasicModel { [JsonProperty("album_type")] public string AlbumType { get; set; } [JsonProperty("available_markets")] public List<string> Available...
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace SpotifyAPI.Web.Models { public class SimpleAlbum : BasicModel { [JsonProperty("album_type")] public string AlbumType { get; set; } [JsonProperty("available_markets")] public List<string> Available...
mit
C#
91a79f75ee56abf065d63ba8f87d0d0bb56d0080
Fix for NoVehicleUsage flag doing nothing
Trojaner25/Rocket-Safezone,Trojaner25/Rocket-Regions
Model/Flag/Impl/NoVehiclesUsageFlag.cs
Model/Flag/Impl/NoVehiclesUsageFlag.cs
using System.Collections.Generic; using Rocket.Unturned.Player; using RocketRegions.Util; using SDG.Unturned; using UnityEngine; namespace RocketRegions.Model.Flag.Impl { public class NoVehiclesUsageFlag : BoolFlag { public override string Description => "Allow/Disallow usage of vehicles in region"; ...
using System.Collections.Generic; using Rocket.Unturned.Player; using RocketRegions.Util; using SDG.Unturned; using UnityEngine; namespace RocketRegions.Model.Flag.Impl { public class NoVehiclesUsageFlag : BoolFlag { public override string Description => "Allow/Disallow usage of vehicles in region"; ...
agpl-3.0
C#
c0d29d2b13788375ff780a5368b0eec7d2f45818
Add Channel property to SlackBotTarget.
Hooch180/NLogGwoKusExtensions
NLogGwoKusExtensions/SlackBotTarget.cs
NLogGwoKusExtensions/SlackBotTarget.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NLog; using NLog.Config; using NLog.Targets; namespace NLogGwoKusExtensions { [Target("SlackBotTarget")] public sealed class SlackBotTarget : TargetWithLayout { [RequiredParameter] public s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NLog; using NLog.Config; using NLog.Targets; namespace NLogGwoKusExtensions { [Target("SlackBotTarget")] public sealed class SlackBotTarget : TargetWithLayout { [RequiredParameter] public s...
mit
C#
3f6e2606e3a79321b28ff83629dc5b0d11b7c5a2
Add Comments to ITimestamped
marsop/ephemeral
ITimestamped.cs
ITimestamped.cs
using System; namespace seasonal { // Simple interface for objects with time information public interface ITimestamped { DateTimeOffset Timestamp { get; } } }
using System; namespace seasonal { public interface ITimestamped { DateTimeOffset Timestamp { get; } } }
mit
C#
9ac7997d21c7278f59369c5185fdcc8b8e837aa5
Rename fullTermsHtml to fullTermsSimple
Riksarkivet/iiif-model,dalbymodo/DalbyExperiment,digirati-co-uk/iiif-model
Digirati.IIIF/Model/AcceptTermsService.cs
Digirati.IIIF/Model/AcceptTermsService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Digirati.IIIF.Model.Types; using Newtonsoft.Json; namespace Digirati.IIIF.Model { public class AcceptTermsService : Service { public override dynamic Profile { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Digirati.IIIF.Model.Types; using Newtonsoft.Json; namespace Digirati.IIIF.Model { public class AcceptTermsService : Service { public override dynamic Profile { ...
mit
C#
4168c9b480d1a310148963d74786ab30b39d42f9
fix mac interactive
bitsummation/pickaxe,bitsummation/pickaxe
DotNetCore/Pickaxe.Console/Interactive.cs
DotNetCore/Pickaxe.Console/Interactive.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Pickaxe.Console { internal class Interactive { public static void Prompt() { var builder = new StringBuilder(); System.Console.Write("pickaxe> "); ...
using System; using System.Collections.Generic; using System.Text; using System.Threading; namespace Pickaxe.Console { internal class Interactive { public static void Prompt() { var builder = new StringBuilder(); System.Console.Write("pickaxe> "); ...
apache-2.0
C#
875807ef6d4a0dc77f69260b2a9eb85b93f4e196
Add ICakeLog registration
agc93/Cake.BuildSystems.Module,agc93/Cake.BuildSystems.Module
src/Cake.TFBuild.Module/TFBuildModule.cs
src/Cake.TFBuild.Module/TFBuildModule.cs
// A Hello World! program in C#. using Cake.Core; using Cake.Core.Annotations; using Cake.Core.Composition; using Cake.Core.Diagnostics; [assembly: CakeModule(typeof(Cake.TFBuild.Module.TFBuildEngineModule))] namespace Cake.TFBuild.Module { class TFBuildEngineModule : ICakeModule { public void Regist...
// A Hello World! program in C#. using Cake.Core; using Cake.Core.Annotations; using Cake.Core.Composition; [assembly: CakeModule(typeof(Cake.TFBuild.Module.TFBuildEngineModule))] namespace Cake.TFBuild.Module { class TFBuildEngineModule : ICakeModule { public void Register(ICakeContainerRegistrar re...
mit
C#
81d6075ee85a22fdb0623e45e9678b382780e8c5
add of reactions
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
186f608e7002cd69aa8c86d83a343c4e8d7fb025
Replace events with IObservable objects
sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014
RxSample/MouseRxWpf/MainWindow.xaml.cs
RxSample/MouseRxWpf/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.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 Sys...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reactive.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 Sys...
mit
C#
4e300771c3fe20c040235e281f3fa9e4e6c2a160
Clean up
nikeee/HolzShots
src/HolzShots.Core/Input/KeyboardHook.cs
src/HolzShots.Core/Input/KeyboardHook.cs
using System; using System.Collections.Generic; using System.Diagnostics; namespace HolzShots.Input { public abstract class KeyboardHook : IDisposable { protected Dictionary<int, Hotkey> RegisteredKeys { get; } = new Dictionary<int, Hotkey>(); /// <summary>Registers a hotkey in the system.</su...
using System; using System.Collections.Generic; using System.Diagnostics; namespace HolzShots.Input { public abstract class KeyboardHook : IDisposable { private readonly Dictionary<int, Hotkey> registeredKeys = new Dictionary<int, Hotkey>(); protected Dictionary<int, Hotkey> RegisteredKeys => ...
agpl-3.0
C#
80bdf308c34933d585135fabfbd1cdfbbabdce67
remove absolute file ref
DevExpress/BigQueryProvider
BigQueryProvider/Tests/ConnStringHelper.cs
BigQueryProvider/Tests/ConnStringHelper.cs
using System.Data.Common; namespace DevExpress.DataAccess.BigQuery.Tests { public static class ConnStringHelper { static readonly DbConnectionStringBuilder connectionStringBuilder = new DbConnectionStringBuilder(); public static string ConnectionString { get { return connectionStringB...
using System.Data.Common; namespace DevExpress.DataAccess.BigQuery.Tests { public static class ConnStringHelper { static readonly DbConnectionStringBuilder connectionStringBuilder = new DbConnectionStringBuilder(); public static string ConnectionString { get { return connectionStringB...
apache-2.0
C#
ae278e6896a34ef84b9e9f1e0355c18989407f8c
Bump the AssemblyFileVersion but not AssemblyVersion
lovewitty/Open.NAT,OpenRA/Mono.Nat,nterry/Mono.Nat,mcatanzariti/Open.NAT,lontivero/Open.NAT,mono/Mono.Nat,nterry/Mono.Nat,OpenRA/Mono.Nat
src/Mono.Nat/AssemblyInfo.cs
src/Mono.Nat/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Mono.Nat")] [assembly: AssemblyDescription(".NET Library for automatic network address translation")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [asse...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Mono.Nat")] [assembly: AssemblyDescription(".NET Library for automatic network address translation")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [asse...
mit
C#
2cfa49c5f40784e5593b6d8df579c9b64163eb7a
Fix failing test
tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools
tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs
tests/Tgstation.Server.Host.Service.Tests/TestServerService.cs
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Watchdog; namespace Tgstation.Server.Host.Service.Tests { /// <summary> /// Tests for <see cref=...
using Microsoft.Extensions.Logging; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Watchdog; namespace Tgstation.Server.Host.Service.Tests { /// <summary> /// Tests for <see cref=...
agpl-3.0
C#
36473dc616a8f66a430a05840b7346acb3206eb4
Remove unused namespace
fredatgithub/PaperBoy
ManualPaperBoy/Properties/AssemblyInfo.cs
ManualPaperBoy/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("ManualPaperBoy")] [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
mit
C#
ac073e22c9b5662a858f81a2a28a8f71b2cc71b7
Fix crash caused by multiple identical audio device names
tacchinotacchi/osu,smoogipooo/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,nyaamara/osu,DrabWeb/osu,osu-RP/osu-RP,2yangk23/osu,Drezi126/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,ppy/osu,Dr...
osu.Game/Overlays/Options/Sections/Audio/AudioDevicesOptions.cs
osu.Game/Overlays/Options/Sections/Audio/AudioDevicesOptions.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Graphics; using System.Collections.Generic; using System.Linq; namespace osu.Ga...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Audio; using osu.Framework.Graphics; using System.Collections.Generic; using System.Linq; namespace osu.Ga...
mit
C#
b3642d963659092b7ffe691b09c0a6a60446ec6c
fix - chiamata ad esri mezzi tempo e distanza
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/ESRI/GetDistanzaTempoMezzi.cs
src/backend/SO115App.FakePersistance.ExternalAPI/Servizi/ESRI/GetDistanzaTempoMezzi.cs
using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using SO115App.ExternalAPI.Client; using SO115App.Models.Classi.ESRI; using SO115App.Models.Servizi.Infrastruttura.Notification.CallESRI; using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.ESRI; using System; using System.Collections.Generic; us...
using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using SO115App.ExternalAPI.Client; using SO115App.Models.Classi.ESRI; using SO115App.Models.Servizi.Infrastruttura.Notification.CallESRI; using SO115App.Models.Servizi.Infrastruttura.SistemiEsterni.ESRI; using System; using System.Collections.Generic; us...
agpl-3.0
C#
7386f2a16b2f964fbe22de4ed752de564ea23802
add unit in OperationEntity.Duration
signumsoftware/framework,avifatal/framework,avifatal/framework,AlejandroCano/framework,AlejandroCano/framework,signumsoftware/framework
Signum.Entities/Basics/OperationLog.cs
Signum.Entities/Basics/OperationLog.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Utilities; using System.Linq.Expressions; using Signum.Utilities.ExpressionTrees; namespace Signum.Entities.Basics { [Serializable, EntityKind(EntityKind.System, EntityData.Transactional), TicksColumn(fals...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Signum.Utilities; using System.Linq.Expressions; using Signum.Utilities.ExpressionTrees; namespace Signum.Entities.Basics { [Serializable, EntityKind(EntityKind.System, EntityData.Transactional), TicksColumn(fals...
mit
C#
de00602818bef41f71d0c49dfaf4cb14e2cca21f
Implement IInverseParser
picoe/Eto.Parse,smbecker/Eto.Parse,smbecker/Eto.Parse,picoe/Eto.Parse,ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse
Eto.Parse/Parsers/SurrogatePairTerminal.cs
Eto.Parse/Parsers/SurrogatePairTerminal.cs
namespace Eto.Parse.Parsers { public abstract class SurrogatePairTerminal : Parser, IInverseParser { protected SurrogatePairTerminal() { } protected SurrogatePairTerminal(SurrogatePairTerminal other, ParserCloneArgs args) : base(other, args) { I...
namespace Eto.Parse.Parsers { public abstract class SurrogatePairTerminal : Parser { protected SurrogatePairTerminal() { } protected SurrogatePairTerminal(Parser other, ParserCloneArgs args) : base(other, args) { } protected override int In...
mit
C#
be44b7fa05f8f1949f84ea6a996250e4bc6cf3a4
Fix wrong XML doc.
SolalPirelli/ThriftSharp,SolalPirelli/ThriftSharp
ThriftSharp/ThriftProtocolException.cs
ThriftSharp/ThriftProtocolException.cs
// Copyright (c) 2014 Solal Pirelli // This code is licensed under the MIT License (see Licence.txt for details). // Redistributions of this source code must retain the above copyright notice. using System; namespace ThriftSharp { /// <summary> /// Fatal server exception transmitted to the client in...
// Copyright (c) 2014 Solal Pirelli // This code is licensed under the MIT License (see Licence.txt for details). // Redistributions of this source code must retain the above copyright notice. using System; namespace ThriftSharp { /// <summary> /// Fatal server exception transmitted to the client in...
mit
C#
6aba4e8a92229710b2490c973f6fb1c80ec9d2b2
Bump version.
JohanLarsson/Gu.Wpf.Geometry
Gu.Wpf.Geometry/Properties/AssemblyInfo.cs
Gu.Wpf.Geometry/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("Gu.Wpf.Geometry")] [assembly: AssemblyDescription("Geometries for WPF.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany(...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("Gu.Wpf.Geometry")] [assembly: AssemblyDescription("Geometries for WPF.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany(...
mit
C#
edc026c74ad2f4d4ab77946c32d5d84f2788a9ae
Remove unnecessary `this` qualifier
ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework/Localisation/LocalisableFormattable.cs
osu.Framework/Localisation/LocalisableFormattable.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Globalization; namespace osu.Framework.Localisation { /// <summary> /// A string allowing for format...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Globalization; namespace osu.Framework.Localisation { /// <summary> /// A string allowing for format...
mit
C#
87db62214de261e0095e6a945b3c01c94dbd6c0f
Delete null check codes, it is not necessary because set owner object function bugs was solved.
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/GameApi/DefaultInterestManager.cs
Scripts/GameApi/DefaultInterestManager.cs
using System.Collections.Generic; using UnityEngine; namespace LiteNetLibManager { public class DefaultInterestManager : BaseInterestManager { [Tooltip("Update every ? seconds")] public float updateInterval = 1f; private float updateCountDown = 0f; private void Update() ...
using System.Collections.Generic; using UnityEngine; namespace LiteNetLibManager { public class DefaultInterestManager : BaseInterestManager { [Tooltip("Update every ? seconds")] public float updateInterval = 1f; private float updateCountDown = 0f; private void Update() ...
mit
C#
180fc6a2c73ec37eb0bc84b4e9b483c087b4b3b0
Rename recommended mSpec convention to MspecExample for consistency
harryhazza77/testingFx
TestingFxTests/When_comparing_booleans.cs
TestingFxTests/When_comparing_booleans.cs
using Machine.Specifications; namespace TestingFxTests { [Subject("Mspec")] public class MspecExample { private static bool Subject; private Establish context = () => Subject = false; private Because of = () => Subject = true; private It should_be_true = () => Subject.Shou...
using Machine.Specifications; namespace TestingFxTests { [Subject("Booleans")] public class When_comparing_booleans { private static bool Subject; private Establish context = () => Subject = false; private Because of = () => Subject = true; private It should_be_true = () =...
mit
C#
fec8a6597c6de4dc473501610662e0fbb7f066e5
fix bug in text
BigBabay/AsyncConverter,BigBabay/AsyncConverter
AsyncConverter.Tests/MathodToAsyncConverterAvailabilityTests.cs
AsyncConverter.Tests/MathodToAsyncConverterAvailabilityTests.cs
using JetBrains.ReSharper.FeaturesTestFramework.Intentions; using NUnit.Framework; namespace AsyncConverter.Tests { [TestFixture] public class MathodToAsyncConverterAvailabilityTests : CSharpContextActionAvailabilityTestBase<MathodToAsyncConverter> { protected override string ExtraPath => "MathodT...
using JetBrains.ReSharper.FeaturesTestFramework.Intentions; using NUnit.Framework; namespace AsyncConverter.Tests { [TestFixture] public class MathodToAsyncConverterAvailabilityTests : CSharpContextActionAvailabilityTestBase<MathodToAsyncConverter> { protected override string ExtraPath => "MathodT...
mit
C#
8f5b4cbe531538440e041ce469d0b920e8136341
Check if character is �.
jesterret/ReClass.NET,jesterret/ReClass.NET,jesterret/ReClass.NET
ReClass.NET/Extensions/StringExtensions.cs
ReClass.NET/Extensions/StringExtensions.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Linq; using System.Text.RegularExpressions; namespace ReClassNET.Extensions { public static class StringExtension { [Pure] [DebuggerStepThrough] public static bool IsPrintable(this char c...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.Linq; using System.Text.RegularExpressions; namespace ReClassNET.Extensions { public static class StringExtension { [Pure] [DebuggerStepThrough] public static bool IsPrintable(this char c...
mit
C#
59d6a718d66eb39d81a3ad067354d1cbabb1c4b9
Fix value not being loaded from beatmap in case of most dense grid setting
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu
osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs
osu.Game.Rulesets.Osu/Edit/OsuRectangularPositionSnapGrid.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Game.Input.Bindings; using osu.Game.Rulesets...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Game.Input.Bindings; using osu.Game.Rulesets...
mit
C#
c83388c7d091b4d3099f1218ed9c74f4ae6b83d8
Copy in Proxy code from ProxyMiddleware.cs,
tiesmaster/DCC,tiesmaster/DCC
Dcc/Startup.cs
Dcc/Startup.cs
using System; using System.Net.Http; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace Tiesmaster.Dcc { public class Startup { public void Configure(IApplicationBuilder a...
using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace Tiesmaster.Dcc { public class Startup { public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF...
mit
C#
e404be86652c323d17b8a12516ceb9f5bdf9063a
Add AndOf(Type) overrload.
bcjobs/infrastructure
Infra.IoC/Assemblies.cs
Infra.IoC/Assemblies.cs
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Infra.IoC { [ContractClass(typeof(AssembliesContract))] ...
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.Contracts; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Infra.IoC { [ContractClass(typeof(AssembliesContract))] ...
mit
C#
3f96136c576b797fe9150a306d3ad64df9fef8ab
Build and publish release candidate package
RockFramework/Rock.Encryption
Rock.Encryption/Properties/AssemblyInfo.cs
Rock.Encryption/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("Ro...
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("Ro...
mit
C#