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
f1a91709e3b604035e2f6182ac71dc1deda5bb49
Add some method to IHandler.
eternnoir/NLogging
src/NLogging/IHandler.cs
src/NLogging/IHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NLogging { public interface IHandler { void push(Record record); void flush(); void SetFormatter(IFormatter formatter); } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NLogging { public interface IHandler { } }
mit
C#
76f6ecd52ffd25bf789bd9a0890c8e88edd5c455
Add another test
jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke
src/NTDll.Tests/NTDll.cs
src/NTDll.Tests/NTDll.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using PInvoke; using Xunit; using static PInvoke.NTDll; public class NTDll { ...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. using System; using PInvoke; using Xunit; using static PInvoke.NTDll; public class NTDll { ...
mit
C#
7f56c3eac4379825a73914c98e81a481e0f2a029
Remove unused usings
appharbor/appharbor-cli
src/AppHarbor.Tests/CommandDispatcherTest.cs
src/AppHarbor.Tests/CommandDispatcherTest.cs
namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } } }
using System; using System.Collections.Generic; using System.Linq; using Castle.MicroKernel; using Moq; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class CommandDispatcherTest { public class FooCommand : ICommand { public virtual void Execute(string[] arguments) { } } } }...
mit
C#
7ed8015895d1476b95ecd0b05a7e8c1d45e98d0d
Update HidingRowsAndColumns.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as...
Examples/CSharp/RowsColumns/Hiding/HidingRowsAndColumns.cs
Examples/CSharp/RowsColumns/Hiding/HidingRowsAndColumns.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class HidingRowsAndColumns { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.RowsColumns.Hiding { public class HidingRowsAndColumns { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System....
mit
C#
9ed52da2f547f6f976d94435f557e9fad925725b
rearrange file
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Core/Models/Api/CipherSecureNoteModel.cs
src/Core/Models/Api/CipherSecureNoteModel.cs
using Bit.Core.Enums; using Bit.Core.Models.Data; namespace Bit.Core.Models.Api { public class CipherSecureNoteModel { public CipherSecureNoteModel() { } public CipherSecureNoteModel(CipherSecureNoteData data) { Type = data.Type; } public SecureNoteType Ty...
using Bit.Core.Enums; using Bit.Core.Models.Data; namespace Bit.Core.Models.Api { public class CipherSecureNoteModel { public CipherSecureNoteModel() { } public SecureNoteType Type { get; set; } public CipherSecureNoteModel(CipherSecureNoteData data) { Type = data...
agpl-3.0
C#
098ffdffef4cd2676d8ff785c17c6855140d29a3
Update ColumnInfo.cs
isukces/EfCore.Shaman,borisdj/EfCore.Shaman
src/EfCore.Shaman/ModelScanner/ColumnInfo.cs
src/EfCore.Shaman/ModelScanner/ColumnInfo.cs
#region using using System; using System.Collections.Generic; #endregion namespace EfCore.Shaman.ModelScanner { public class ColumnInfo { #region Constructors public ColumnInfo(int reflectionIndex, string propertyName) { ReflectionIndex = reflectionIndex; Pro...
#region using using System; using System.Collections.Generic; #endregion namespace EfCore.Shaman.ModelScanner { public class ColumnInfo { #region Constructors public ColumnInfo(int reflectionIndex, string propertyName) { ReflectionIndex = reflectionIndex; Pro...
mit
C#
8e0308b79efb470f01f80f921aa339b88e9d779b
Update IdentifierTokenScanner.cs
Zebrina/PapyrusScriptEditorVSIX,Zebrina/PapyrusScriptEditorVSIX
PapyrusScriptEditorVSIX/Language/IdentifierTokenScanner.cs
PapyrusScriptEditorVSIX/Language/IdentifierTokenScanner.cs
using Microsoft.VisualStudio.Text; using Papyrus.Common; using Papyrus.Common.Extensions; using Papyrus.Language.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Language { public class IdentifierTokenScanner : TokenS...
using Microsoft.VisualStudio.Text; using Papyrus.Common; using Papyrus.Common.Extensions; using Papyrus.Language.Components; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Papyrus.Language { public class IdentifierTokenScanner : TokenS...
mit
C#
e59d6e45331ad633ad93c9e2d52badb7a6269701
use Concurrent collections to fix race conditions
Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum,Nethereum/Nethereum
src/Nethereum.Contracts/Builders/ABITypedRegistry.cs
src/Nethereum.Contracts/Builders/ABITypedRegistry.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using Nethereum.ABI.FunctionEncoding.Attributes; using Nethereum.ABI.Model; namespace Nethereum.Contracts { public static class ABITypedRegistry { private static ConcurrentDictionary<Type, FunctionABI> _functionAbiReg...
using System; using System.Collections.Generic; using Nethereum.ABI.FunctionEncoding.Attributes; using Nethereum.ABI.Model; namespace Nethereum.Contracts { public static class ABITypedRegistry { private static Dictionary<Type, FunctionABI> _functionAbiRegistry = new Dictionary<Type, FunctionABI>(); ...
mit
C#
a745228811b6ef66e71a075f9851d3bf4e5803c3
Update WaterVapourReaction.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/Atmospherics/Data/Reactions/WaterVapourReaction.cs
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Meta/Atmospherics/Data/Reactions/WaterVapourReaction.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Systems.Atmospherics { public class WaterVapourReaction : Reaction { public bool Satisfies(GasMix gasMix) { throw new System.NotImplementedException(); } public void React(GasMix gasMix, Vector3 tilePos, Matrix matr...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Systems.Atmospherics { public class WaterVapourReaction : Reaction { public bool Satisfies(GasMix gasMix) { throw new System.NotImplementedException(); } public void React(GasMix gasMix, Vector3 tilePos, Matrix matr...
agpl-3.0
C#
fc781b92b84fe6ce4ff4ac07af025143b87f2d6b
Fix IndexOutOfRangeException
LeagueSandbox/GameServer
GameServer/Logic/Chatbox/Commands/XpCommand.cs
GameServer/Logic/Chatbox/Commands/XpCommand.cs
using ENet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static LeagueSandbox.GameServer.Logic.Chatbox.ChatboxManager; namespace LeagueSandbox.GameServer.Logic.Chatbox.Commands { class XpCommand : ChatCommand { public XpComma...
using ENet; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static LeagueSandbox.GameServer.Logic.Chatbox.ChatboxManager; namespace LeagueSandbox.GameServer.Logic.Chatbox.Commands { class XpCommand : ChatCommand { public XpComma...
agpl-3.0
C#
3ffad4e5d7980212779089b6e1bf19d5d207f277
correct enum values for PreservationMode (changeset 1340732)
1234-/roslyn,jamesqo/roslyn,antiufo/roslyn,moozzyk/roslyn,garryforreg/roslyn,DavidKarlas/roslyn,shyamnamboodiripad/roslyn,cston/roslyn,ericfe-ms/roslyn,vcsjones/roslyn,yeaicc/roslyn,genlu/roslyn,brettfo/roslyn,khellang/roslyn,stephentoub/roslyn,jasonmalinowski/roslyn,jbhensley/roslyn,Maxwe11/roslyn,Inverness/roslyn,aan...
Src/Workspaces/Core/Workspace/Solution/PreservationMode.cs
Src/Workspaces/Core/Workspace/Solution/PreservationMode.cs
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// The mode in which value is preserved. ...
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// The mode in which value is preserved. ...
apache-2.0
C#
d9ca63a43203e8b68736d1bd353e0bfa1b361edd
sort usings
weltkante/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,eriawan/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,physhi/roslyn,mavasani/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,mgoertz-msft/roslyn,diryboy/roslyn,AmadeusW/roslyn,shyamnamboodiripa...
src/Analyzers/CSharp/Analyzers/SimplifyLinqExpression/CSharpSimplifyLinqExpressionDiagnosticAnalyzer.cs
src/Analyzers/CSharp/Analyzers/SimplifyLinqExpression/CSharpSimplifyLinqExpressionDiagnosticAnalyzer.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.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft....
// 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.Collections.Immutable; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Operatio...
mit
C#
2d63a553c2a1b99d968c0e13ba6bcaf3cf7857d2
Fix Bugsense Metadata.
peeedge/mobile,eatskolnikov/mobile,peeedge/mobile,ZhangLeiCharles/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile,masterrr/mobile,ZhangLeiCharles/mobile
Phoebe/Bugsnag/Data/Metadata.cs
Phoebe/Bugsnag/Data/Metadata.cs
using System; using Newtonsoft.Json.Linq; namespace Toggl.Phoebe.Bugsnag.Data { public class Metadata : JObject { public Metadata () : base () { } public Metadata (Metadata other) : base (other) { } public void AddToTab (string tabName, string key, obje...
using System; using Newtonsoft.Json.Linq; namespace Toggl.Phoebe.Bugsnag.Data { public class Metadata : JObject { public Metadata () : base () { } public Metadata (Metadata other) : base (other) { } public void AddToTab (string tabName, string key, obje...
bsd-3-clause
C#
6318ca0b158c94f7546dffbb2dc0d369b0bf6759
Load Confirmation plugin in PageBuilder
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Views/Shared/_DOMScripts.cshtml
Portal.CMS.Web/Views/Shared/_DOMScripts.cshtml
@Scripts.Render("~/Resources/JavaScript/Bootstrap") @Scripts.Render("~/Resources/JavaScript/Bootstrap/Confirmation") @Scripts.Render("~/Resources/JavaScript/Bootstrap/Popover") @Scripts.Render("~/Resources/JavaScript/Framework") @if (UserHelper.IsAdmin) { @Scripts.Render("~/Resources/JavaScript/Bootstrap/Tour") }
@Scripts.Render("~/Resources/JavaScript/Bootstrap") @Scripts.Render("~/Resources/JavaScript/Bootstrap/Popover") @Scripts.Render("~/Resources/JavaScript/Framework") @if (UserHelper.IsAdmin) { @Scripts.Render("~/Resources/JavaScript/Bootstrap/Tour") @Scripts.Render("~/Resources/JavaScript/Bootstrap/Confirmation...
mit
C#
86d8693c45b138d5f118745603812266824a4e37
Hide window
SpotLabsNET/poshtools,mgreenegit/poshtools,YOTOV-LIMITED/poshtools,zbrad/poshtools,KevinHorvatin/poshtools,adamdriscoll/poshtools,daviwil/poshtools,erwindevreugd/poshtools,Microsoft/poshtools
PowerShellTools.HostService/MainWindow.xaml.cs
PowerShellTools.HostService/MainWindow.xaml.cs
using PowerShellTools.HostService.ServiceManagement.Debugging; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System...
using PowerShellTools.HostService.ServiceManagement.Debugging; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System...
apache-2.0
C#
85bae6744d1552c254076bffba48ec9d311a00f6
Update UnityProject/Assets/Scripts/Player/Pettable.cs
fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,Necromunger/unitystation,Necromunger/unitystation,fom...
UnityProject/Assets/Scripts/Player/Pettable.cs
UnityProject/Assets/Scripts/Player/Pettable.cs
using UnityEngine; /// <summary> /// Allows an object to be pet by a player. Shameless copy of Huggable.cs /// </summary> public class Pettable : MonoBehaviour, ICheckedInteractable<PositionalHandApply> { public bool WillInteract( PositionalHandApply interaction, NetworkSide side ) { var targetNPCHealth = interac...
using UnityEngine; /// <summary> /// Allows an object to be pet by a player. Shameless copy of Huggable.cs /// </summary> public class Pettable : MonoBehaviour, ICheckedInteractable<PositionalHandApply> { public bool WillInteract( PositionalHandApply interaction, NetworkSide side ) { var targetNPCHealth = interac...
agpl-3.0
C#
c64be1c1f304a51cc021b9dbf1815f9204bcb450
fix function name
sebastus/AzureFunctionForSplunk
shared/sendToSplunk.csx
shared/sendToSplunk.csx
#load "unpackMessages.csx" #load "addStandardProperties.csx" #load "getEnvironmentVariable.csx" #load "obRelay.csx" #load "obHEC.csx" #load "newEvent.csx" using System; using System.Collections.Generic; using System.Dynamic; using System.Threading; using System.Threading.Tasks; public static async Task SendMessages...
#load "unpackMessages.csx" #load "addStandardProperties.csx" #load "getEnvironmentVariable.csx" #load "obRelay.csx" #load "obHEC.csx" #load "newEvent.csx" using System; using System.Collections.Generic; using System.Dynamic; using System.Threading; using System.Threading.Tasks; public static async Task Run(string[]...
mit
C#
ed744982352793a86e8d62d40ef63dbd5e08b77a
use a more optimizable pattern
BITechnologies/boo,KidFashion/boo,boo-lang/boo,BitPuffin/boo,scottstephens/boo,boo-lang/boo,boo-lang/boo,drslump/boo,BITechnologies/boo,KidFashion/boo,wbardzinski/boo,BITechnologies/boo,wbardzinski/boo,drslump/boo,hmah/boo,KidFashion/boo,BillHally/boo,KidFashion/boo,rmboggs/boo,drslump/boo,drslump/boo,rmboggs/boo,wbard...
src/Boo.Lang.Compiler/TypeSystem/Core/Entities.cs
src/Boo.Lang.Compiler/TypeSystem/Core/Entities.cs
#region license // Copyright (c) 2003, 2004, 2005 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...
#region license // Copyright (c) 2003, 2004, 2005 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...
bsd-3-clause
C#
60373db32ff0337847a88b39981c298ba0888b4e
remove warning
splitice/SystemInteract.Net,splitice/SystemInteract.Net
SystemInteract/ProcessHelper.cs
SystemInteract/ProcessHelper.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static async Task StreamReadLin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SystemInteract { public class ProcessHelper { private const int DefaultTimeout = 120; public static async Task StreamReadLin...
apache-2.0
C#
fd6a4d6c586f059e17224496753f78d9709578c0
fix retry delay calculation
Picturepark/Picturepark.SDK.DotNet
src/Picturepark.SDK.V1/PictureparkRetryHandler.cs
src/Picturepark.SDK.V1/PictureparkRetryHandler.cs
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Picturepark.SDK.V1 { public class PictureparkRetryHandler : DelegatingHandler { private readonly int _maxRetries; public PictureparkRetryHandler(HttpMessageHandler innerHandl...
using System; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Picturepark.SDK.V1 { public class PictureparkRetryHandler : DelegatingHandler { private readonly int _maxRetries; public PictureparkRetryHandler(HttpMessageHandler innerHandl...
mit
C#
41a8ed618d7445a63c96e4a5e7a95c98b8911ad6
fix issue with empty database.
khalidabuhakmeh/RavenDbTalk,khalidabuhakmeh/RavenDbTalk
src/RavenDbTalk.Web/Controllers/HomeController.cs
src/RavenDbTalk.Web/Controllers/HomeController.cs
using System.Linq; using System.Web.Mvc; using Raven.Client; using RavenDbTalk.Web.Models.Domain; using RavenDbTalk.Web.Models.Indexes; using RavenDbTalk.Web.Models.ViewModels.Authors; using RavenDbTalk.Web.Models.ViewModels.Categories; using IndexModel = RavenDbTalk.Web.Models.ViewModels.Home.IndexModel; na...
using System.Linq; using System.Web.Mvc; using Raven.Client; using RavenDbTalk.Web.Models.Domain; using RavenDbTalk.Web.Models.Indexes; using RavenDbTalk.Web.Models.ViewModels.Authors; using RavenDbTalk.Web.Models.ViewModels.Categories; using IndexModel = RavenDbTalk.Web.Models.ViewModels.Home.IndexModel; na...
mit
C#
2dd25aa0a0379a5c3054aff7b6b201541ac9ae6f
Add api/GetAllProductsAge endpoint
xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,notdev/RohlikAPI
RohlikAPIWeb/Controllers/RohlikController.cs
RohlikAPIWeb/Controllers/RohlikController.cs
using System; using System.Configuration; using System.Net; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Results; using RohlikAPIWeb.Cache; using RohlikAPIWeb.Models; namespace RohlikAPIWeb.Controllers { public class RohlikController : ApiController { private static reado...
using System.Configuration; using System.Net; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Results; using RohlikAPIWeb.Cache; using RohlikAPIWeb.Models; namespace RohlikAPIWeb.Controllers { public class RohlikController : ApiController { private static readonly ResponseCa...
mit
C#
8791147896cffe3d4e170f6d4751396a63f1a892
declare friendship to web
eShopWorld/devopsflex-core
src/Eshopworld.Core/Properties/AssemblyInfo.cs
src/Eshopworld.Core/Properties/AssemblyInfo.cs
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: InternalsVisibleTo("Eshopworld.Core.Tests")] [assembly: InternalsVisibleTo("Eshopworld.Telemetry")] [assembly: InternalsVisibleTo("Eshopworld.Telemetry.Tests")] [assembly: InternalsVisibleTo("Eshopworld.Mess...
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: InternalsVisibleTo("Eshopworld.Core.Tests")] [assembly: InternalsVisibleTo("Eshopworld.Telemetry")] [assembly: InternalsVisibleTo("Eshopworld.Telemetry.Tests")] [assembly: InternalsVisibleTo("Eshopworld.Mess...
mit
C#
05cfd672b41b890fe8fb2a4623ce5a70a99ae730
Switch to version 1.2.4
Abc-Arbitrage/Zebus,AtwooTM/Zebus,biarne-a/Zebus,rbouallou/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.2.4")] [assembly: AssemblyFileVersion("1.2.4")] [assembly: AssemblyInformationalVersion("1.2.4")]
using System.Reflection; [assembly: AssemblyVersion("1.2.3")] [assembly: AssemblyFileVersion("1.2.3")] [assembly: AssemblyInformationalVersion("1.2.3")]
mit
C#
56b2cfb7a4b20f03c94593fcaa5d339371c294ef
Switch version to 1.3.1
biarne-a/Zebus,AtwooTM/Zebus,rbouallou/Zebus,Abc-Arbitrage/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.3.1")] [assembly: AssemblyFileVersion("1.3.1")] [assembly: AssemblyInformationalVersion("1.3.1")]
using System.Reflection; [assembly: AssemblyVersion("1.3.0")] [assembly: AssemblyFileVersion("1.3.0")] [assembly: AssemblyInformationalVersion("1.3.0")]
mit
C#
8c7df802e7f8264298c837bb638aacc42132b73b
Update AsyncLazy.cs
meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework
src/Meziantou.Framework/Utilities/AsyncLazy.cs
src/Meziantou.Framework/Utilities/AsyncLazy.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Meziantou.Framework.Utilities { public static class AsyncLazy { public static AsyncLazy<T> Create<T>(Func<Task<T>> valueFactory) { return new AsyncLazy<T>(valueFactory); } } public class ...
using System; using System.Threading; using System.Threading.Tasks; namespace Meziantou.Framework.Utilities { public static class AsyncLazy { public static AsyncLazy<T> Create<T>(Func<Task<T>> valueFactory) { return new AsyncLazy<T>(valueFactory); } } public class ...
mit
C#
10cb451ad004f34f740e6fae6950b1a16987befc
Add Equals implementation to the TransformedBounds
jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,jkori...
src/Avalonia.Visuals/VisualTree/TransformedBounds.cs
src/Avalonia.Visuals/VisualTree/TransformedBounds.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. namespace Avalonia.VisualTree { /// <summary> /// Holds information about the bounds of a control, together with a transform and a clip. /// ...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. namespace Avalonia.VisualTree { /// <summary> /// Holds information about the bounds of a control, together with a transform and a clip. /// ...
mit
C#
c967db7dc313ac8f208ee7b60abbf06cdd13aabc
Fix possible NRE in QuartzHostedService.StopAsync (#1124)
sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,sean-gilliam/quartznet,quartznet/quartznet
src/Quartz.Extensions.Hosting/QuartzHostedService.cs
src/Quartz.Extensions.Hosting/QuartzHostedService.cs
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Options; namespace Quartz { internal class QuartzHostedService : IHostedService { private readonly ISchedulerFactory schedulerFactory; private readonly IOptions<QuartzHostedServ...
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Options; namespace Quartz { internal class QuartzHostedService : IHostedService { private readonly ISchedulerFactory schedulerFactory; private readonly IOptions<QuartzHostedServ...
apache-2.0
C#
6fff60a1670e09901dbaaf44f479146211ac90f8
Implement support for kCVZeroTime and kCVIndefiniteTime
cwensley/maccore,beni55/maccore,jorik041/maccore,mono/maccore
src/CoreVideo/CVTime.cs
src/CoreVideo/CVTime.cs
// // CVTime.cs // // Authors: Mono Team // // Copyright 2011 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the ...
// // CVTime.cs // // Authors: Mono Team // // Copyright 2011 Novell, Inc // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the ...
apache-2.0
C#
b3735d5d41db5b03b4c6553dec46d77423486b2c
Remove log
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs
UnityProject/Assets/Scripts/Camera/CameraEffectControlScript.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace CameraEffects { public class CameraEffectControlScript : MonoBehaviour { public DrunkCamera drunkCamera; public int drunkCameraTime = 0; public GlitchEffect glitchEffect; public NightVisionCamera nightV...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace CameraEffects { public class CameraEffectControlScript : MonoBehaviour { public DrunkCamera drunkCamera; public int drunkCameraTime = 0; public GlitchEffect glitchEffect; public NightVisionCamera nightV...
agpl-3.0
C#
89b958d8863a45d9cd7ff7ec0f95ad63ed4d584c
Fix Photo response parsing
mono/f-spot,NguyenMatthieu/f-spot,Sanva/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mans0954/f-spot,GNOME/f-spot,Sanva/f-spot,nathansamson/F-Spot-Album-Exporter,GNOME/f-spot,Yetangitu/f-spot,mans0954/f-spot,dkoeb/f-spot,dkoeb/...
extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs
extensions/Exporters/FacebookExport/Mono.Facebook/Photo.cs
// // Mono.Facebook.Photo.cs: // // Authors: // Thomas Van Machelen (thomas.vanmachelen@gmail.com) // // (C) Copyright 2007 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), ...
// // Mono.Facebook.Photo.cs: // // Authors: // Thomas Van Machelen (thomas.vanmachelen@gmail.com) // // (C) Copyright 2007 Novell, Inc. (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), ...
mit
C#
b3751115e0e7459a6fff5965ebe788943cb325ee
Update ObjectSet.cs
PowerMogli/Rabbit.Db
src/Micro+/ObjectSet.cs
src/Micro+/ObjectSet.cs
using System.Collections; using System.Collections.Generic; using MicroORM.Query; namespace MicroORM.Base { public class ObjectSet<T> : IEnumerable<T> { private List<T> _list = new List<T>(); internal ObjectSet<T> Load(IDbSession dbSession, IQuery query) { using (ObjectRea...
using System.Collections; using System.Collections.Generic; using MicroORM.Query; namespace MicroORM.Base { public class ObjectSet<T> : IEnumerable<T> { private List<T> _list = new List<T>(); internal ObjectSet<T> Load(IDbSession dbSession, IQuery query) { using (ObjectRea...
apache-2.0
C#
c5165588e5d63784243c0fd72d340785e9f074af
Add options for Dartium location and Dartium profile location (fixes #83)
modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS
DanTup.DartVS.Vsix/OptionsPages/OptionsPageGeneral.cs
DanTup.DartVS.Vsix/OptionsPages/OptionsPageGeneral.cs
using System.ComponentModel; using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS.OptionsPages { public class OptionsPageGeneral : DialogPage { public OptionsPageGeneral() { } [Category("Dartium")] [Description("Dartium location")] [DisplayName("Dartium location")] public string DartiumLocatio...
using Microsoft.VisualStudio.Shell; namespace DanTup.DartVS.OptionsPages { public class OptionsPageGeneral : DialogPage { public OptionsPageGeneral() { } } }
mit
C#
cdb3dc93851638bb6f721c302d5237e366258fc0
Add benchmark of updating transforms when none are added
ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework.Benchmarks/BenchmarkTransformUpdate.cs
osu.Framework.Benchmarks/BenchmarkTransformUpdate.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. #nullable disable using BenchmarkDotNet.Attributes; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Timing; using osuTK; namespac...
// 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. #nullable disable using BenchmarkDotNet.Attributes; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osu.Framework.Timing; using osuTK; namespac...
mit
C#
00fd5c8dbca797a6b4069e57082b5f4dfe8c98e1
Fix regression causing binding settings to fail
NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,naoey/osu,EVAST9919/osu,smoogipoo/osu,DrabWeb/osu,ZLima12/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,johnneijzen/osu,naoey/osu,2yangk23/osu,ZLima12/osu,EVAST9919/o...
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
osu.Game/Graphics/UserInterface/FocusedTextBox.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; using osu.Game.Input.Bindings; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Input; using System; using osu.Game.Input.Bindings; namespace osu.Game.Graphics.UserInterface { /// <summary> /// A ...
mit
C#
69d9b769a711da8cbfcf277fef0379af1347ab91
Remove commented code.
EVAST9919/osu-framework,naoey/osu-framework,Tom94/osu-framework,naoey/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,NeoAdonis/osu-framework,Tom94/osu-framework,EVAST9919/os...
osu.Framework/Graphics/Transformations/ITransform.cs
osu.Framework/Graphics/Transformations/ITransform.cs
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Lists; using System; using System.Collections.Generic; namespace osu.Framework.Graphics.Transformations { public interface ITr...
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Lists; using System; using System.Collections.Generic; namespace osu.Framework.Graphics.Transformations { public interface ITr...
mit
C#
9468e2dfed44271bd0a9895c3926a176d3b840cf
Update _ValidationScriptsPartial.cshtml
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Shared/_ValidationScriptsPartial.cshtml
src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/Pages/Shared/_ValidationScriptsPartial.cshtml
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script> <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
<script src="~/lib/jquery-validation/dist/jquery.validate.js"></script> <script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script>
apache-2.0
C#
22e6a4c3adeff615e446bae342d30ce3ddb22b4d
Bump version to 1.5.1
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
src/resharper-unity/Properties/AssemblyInfo.cs
src/resharper-unity/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("resharper-unity")] [assembly: AssemblyDesc...
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("resharper-unity")] [assembly: AssemblyDesc...
apache-2.0
C#
7842f499a800b2b329be2313fd883e0c4b86fd7c
Fix node lookup not adding saved computers to dict
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs
PathfinderAPI/BaseGameFixes/Performance/NodeLookup.cs
using Hacknet; using HarmonyLib; using Pathfinder.Event; using Pathfinder.Event.Loading; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes.Performance { [HarmonyPatch] internal static class NodeLookup { [Util.Initialize] internal static void Initialize() { Event...
using Hacknet; using HarmonyLib; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes.Performance { [HarmonyPatch] internal static class NodeLookup { [HarmonyPostfix] [HarmonyPatch(typeof(ComputerLoader), nameof(ComputerLoader.loadComputer))] internal static void PopulateOnCom...
mit
C#
b5585df73e47314aec3098d29c506078f5a1a5a2
Add new thread creation test
smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Localisation/ThreadCultureTest.cs
osu.Framework.Tests/Localisation/ThreadCultureTest.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.Collections.Generic; using System.Globalization; using System.Threading; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Configura...
// 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.Collections.Generic; using System.Globalization; using System.Threading; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Configura...
mit
C#
aff517dc597f804169d21bb8d7fa8f26403a554d
Fix bug about "Timeout error" for any Adomd error
Seddryck/NBi,Seddryck/NBi
NBi.Core/Query/Execution/AdomdExecutionEngine.cs
NBi.Core/Query/Execution/AdomdExecutionEngine.cs
using System; using System.Data; using System.Diagnostics; using Microsoft.AnalysisServices.AdomdClient; using System.IO; using System.Reflection; using System.Data.Common; using System.Collections.Generic; using NBi.Extensibility.Query; namespace NBi.Core.Query.Execution { /// <summary> /// Engine wrapping t...
using System; using System.Data; using System.Diagnostics; using Microsoft.AnalysisServices.AdomdClient; using System.IO; using System.Reflection; using System.Data.Common; using System.Collections.Generic; using NBi.Extensibility.Query; namespace NBi.Core.Query.Execution { /// <summary> /// Engine wrapping t...
apache-2.0
C#
e8deb481d49049bba98c2064e00681e00c12a44d
Bump version to 0.16.0
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.16.0")] [assembly: AssemblyInformationalVersionAttribute("0.16.0")] [assembly: AssemblyFileVersionAttribute("0.16.0")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.15.3")] [assembly: AssemblyInformationalVersionAttribute("0.15.3")] [assembly: AssemblyFileVersionAttribute("0.15.3")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
apache-2.0
C#
2940bd9ecd37da7a5468bf66bed5c116f1261728
Remove false comment
arfbtwn/hyena,arfbtwn/hyena
Hyena/Hyena.Data/IListModel.cs
Hyena/Hyena.Data/IListModel.cs
// // IListModel.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, i...
// // IListModel.cs // // Author: // Aaron Bockover <abockover@novell.com> // // Copyright (C) 2007 Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, i...
mit
C#
35d40ff6529c8d125e56cf1a78c95220ba530b97
allow matches on the abstract attribute blueprint to be overridden
Construktion/Construktion,Construktion/Construktion
Construktion/Blueprints/AbstractAttributeBlueprint.cs
Construktion/Blueprints/AbstractAttributeBlueprint.cs
namespace Construktion.Blueprints { using System; using System.Linq; public abstract class AbstractAttributeBlueprint<T> : Blueprint where T : Attribute { protected T GetAttribute(ConstruktionContext context) { return (T) context.PropertyContext.GetAttributes(typeof(T)).Firs...
namespace Construktion.Blueprints { using System; using System.Linq; public abstract class AbstractAttributeBlueprint<T> : Blueprint where T : Attribute { protected T GetAttribute(ConstruktionContext context) { return (T) context.PropertyContext.GetAttributes(typeof(T)).Firs...
mit
C#
d8e8ee9e2a5ddc833a5145c37fa8eba973ed1b81
Update ICosmosTableRepository.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/CosmosTable/ICosmosTableRepository.cs
TIKSN.Core/Data/CosmosTable/ICosmosTableRepository.cs
using System.Threading; using System.Threading.Tasks; using Microsoft.Azure.Cosmos.Table; namespace TIKSN.Data.CosmosTable { public interface ICosmosTableRepository<T> where T : ITableEntity { Task AddAsync(T entity, CancellationToken cancellationToken); Task AddOrMergeAsync(T entity, Cancell...
using Microsoft.Azure.Cosmos.Table; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Data.CosmosTable { public interface ICosmosTableRepository<T> where T : ITableEntity { Task AddAsync(T entity, CancellationToken cancellationToken); Task AddOrMergeAsync(T entity, Cancell...
mit
C#
cdd96d7b093398cfbd1b70842522495bbfa215ba
Use evaluated Math.Pow expressions for testing
BrandonLWhite/UnitsNet,anjdreas/UnitsNet,anjdreas/UnitsNet,BrandonLWhite/UnitsNet
UnitsNet.Tests/CustomCode/AreaMomentOfInertiaTests.cs
UnitsNet.Tests/CustomCode/AreaMomentOfInertiaTests.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated (once) by \generate-code.bat, but will not be // regenerated when it already exists. The purpose of creating this file is to make // it easier to remember to implement all the un...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated (once) by \generate-code.bat, but will not be // regenerated when it already exists. The purpose of creating this file is to make // it easier to remember to implement all the un...
mit
C#
6a658025282aa4d52360ec75858fa966b5e46a23
Fix hitcircle selections not responding to stacking changes
naoey/osu,EVAST9919/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,ppy/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,DrabWeb/osu,smoogipoo/osu,smoogipooo/osu,naoey/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,joh...
osu.Game.Rulesets.Osu/Edit/Masks/HitCircleSelectionMask.cs
osu.Game.Rulesets.Osu/Edit/Masks/HitCircleSelectionMask.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects.Drawables; namespace osu.Game.Rule...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Rulesets.Osu.Objects.Drawables; namespace osu.Game.Rule...
mit
C#
3e6e9f5db6d0fda12359733aa2b93d759878168a
Update ISession.cs
jpdante/HTCSharp
Modules/HtcSharp.HttpModule/Http.Features/ISession.cs
Modules/HtcSharp.HttpModule/Http.Features/ISession.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.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { // SourceTool...
// 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.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { // SourceTool...
mit
C#
df362a80f4877fcb9fc9a7fe904ba18495653fe6
Fix to cert expiration
djMax/AlienForce
Utilities/Security/ClientCertificateWebClient.cs
Utilities/Security/ClientCertificateWebClient.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Security.Cryptography.X509Certificates; namespace AlienForce.Utilities.Security { public class ClientCertificateWebClient : System.Net.WebClient { public X509Certificate Certificate { get; private ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Security.Cryptography.X509Certificates; namespace AlienForce.Utilities.Security { public class ClientCertificateWebClient : System.Net.WebClient { public X509Certificate Certificate { get; private ...
mit
C#
8efd0a08807b4d52a5d025a54793a7f8d08bcc43
Fix build
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/WebClients/ExchangeRateProviders.cs
WalletWasabi/WebClients/ExchangeRateProviders.cs
using NBitcoin; using System; using System.Collections.Generic; using System.Threading.Tasks; using WalletWasabi.Backend.Models; using WalletWasabi.Interfaces; using WalletWasabi.Logging; using WalletWasabi.WebClients.BlockchainInfo; using WalletWasabi.WebClients.Coinbase; using WalletWasabi.WebClients.Gemini; using Wa...
using NBitcoin; using System; using System.Collections.Generic; using System.Threading.Tasks; using WalletWasabi.Backend.Models; using WalletWasabi.Interfaces; using WalletWasabi.Logging; using WalletWasabi.WebClients.BlockchainInfo; using WalletWasabi.WebClients.Coinbase; using WalletWasabi.WebClients.Gemini; using Wa...
mit
C#
a2896af8a92ad6ec9672e66963b4b2077e58ce9f
Delete test which doesn't seem to be adding much value (and is failing because mstest template targets .NET Core 2.2)
johnbeisner/cli,johnbeisner/cli,johnbeisner/cli,livarcocc/cli-1,dasMulli/cli,livarcocc/cli-1,livarcocc/cli-1,dasMulli/cli,dasMulli/cli
test/dotnet-new.Tests/GivenThatIWantANewApp.cs
test/dotnet-new.Tests/GivenThatIWantANewApp.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 System.IO; using System.Linq; using System.Xml.Linq; using FluentAssertions; using Microsoft.DotNet.Tools.Test.Utilities; us...
// 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 System.IO; using System.Linq; using System.Xml.Linq; using FluentAssertions; using Microsoft.DotNet.Tools.Test.Utilities; us...
mit
C#
056ed4e89945c7e930be2fd031d4325a7fecb7dc
Remove commented out code
shumaojie/google-api-dotnet-client,karishmal/google-api-dotnet-client,bacm/google-api-dotnet-client,duckhamqng/google-api-dotnet-client,amit-learning/google-api-dotnet-client,smarly-net/google-api-dotnet-client,googleapis/google-api-dotnet-client,joesoc/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,ivan...
Src/GoogleApis/Apis/Requests/IDirectResponseSchema.cs
Src/GoogleApis/Apis/Requests/IDirectResponseSchema.cs
/* Copyright 2011 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
/* Copyright 2011 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
apache-2.0
C#
2ab0338679cd5f89a90d5c71af12c3ea9c2a7652
Refactor ResponsiveService for better clean code
wangkanai/Detection
src/Services/ResponsiveService.cs
src/Services/ResponsiveService.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using System.Linq; using System.Text; using Microsoft.AspNetCore.Http; using Wangkanai.Detection.DependencyInjection.Options; using Wangkanai.Detection.Models...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using System.Linq; using System.Text; using Microsoft.AspNetCore.Http; using Wangkanai.Detection.DependencyInjection.Options; using Wangkanai.Detection.Models...
apache-2.0
C#
67a1ff5a6ff110de9e8590235bd92e298f2feeb9
Put MD5CryptoServiceProvider into using clause
AndreiMisiukevich/FFImageLoading,luberda-molinet/FFImageLoading,daniel-luberda/FFImageLoading,molinch/FFImageLoading
source/FFImageLoading.Shared/Helpers/MD5Helper.cs
source/FFImageLoading.Shared/Helpers/MD5Helper.cs
using System; using System.Text; using System.Security.Cryptography; using System.IO; namespace FFImageLoading.Helpers { public class MD5Helper : IMD5Helper { public string MD5(Stream stream) { using (var hashProvider = new MD5CryptoServiceProvider()) { ...
using System; using System.Text; using System.Security.Cryptography; using System.IO; namespace FFImageLoading.Helpers { public class MD5Helper : IMD5Helper { public string MD5(Stream stream) { var hashProvider = new MD5CryptoServiceProvider(); var bytes = hashProvider....
mit
C#
e89ecac271c61f1c52caf9dd502abc23dcf14f2c
Update 批量合并同名文档:add CLI argument and null-conditional Operators
imba-tjd/CSharp-Code-Repository
单个文件的程序/批量合并同名文档.cs
单个文件的程序/批量合并同名文档.cs
// https://www.zhihu.com/question/284015230 using System; // using System.Collections.Generic; using System.Text; using System.IO; using System.Linq; namespace Dotnet1 { class Program { static void Main(string[] args) { Directory.GetFiles( args?[1] ?? Environment.Cu...
// https://www.zhihu.com/question/284015230 using System; // using System.Collections.Generic; using System.Text; using System.IO; using System.Linq; namespace Dotnet1 { class Program { static void Main() { Directory.GetFiles( Environment.CurrentDirectory, "*.txt", ...
mit
C#
e9ae0df5d47821e4e3b759be78d9018abde5d379
fix unit test
BinaryKits/ZPLUtility
src/BinaryKits.ZPLUtility.UnitTest/BarcodeTest.cs
src/BinaryKits.ZPLUtility.UnitTest/BarcodeTest.cs
using BinaryKits.Utility.ZPLUtility; using BinaryKits.Utility.ZPLUtility.Elements; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Diagnostics; namespace ZPLUtility.UnitTest { [TestClass] public class BarcodeTest { [TestMethod] public void...
using BinaryKits.Utility.ZPLUtility; using BinaryKits.Utility.ZPLUtility.Elements; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Diagnostics; namespace ZPLUtility.UnitTest { [TestClass] public class BarcodeTest { [TestMethod] public void...
mit
C#
9598aebfb031fe5c04ed8f4855fdbde169030201
Handle the DateTimeOffset cause where BSON data is already in Date. (#450)
bbqchickenrobot/Akavache,akavache/Akavache
src/Akavache.Core/JsonDateTimeOffsetTickConverter.cs
src/Akavache.Core/JsonDateTimeOffsetTickConverter.cs
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Akavache { internal class JsonDateTimeOffsetTickConverter : JsonConverter { public static JsonDateTimeOffsetTickConverter Default { get; } = new JsonDateTimeOffsetTickConverter(); public overri...
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Akavache { internal class JsonDateTimeOffsetTickConverter : JsonConverter { public static JsonDateTimeOffsetTickConverter Default { get; } = new JsonDateTimeOffsetTickConverter(); public overri...
mit
C#
f6034b2c9b58238601c64a9d60bc410f560f32d4
Check if template is null
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/Renderer/Presenters/ContainerPresenter.cs
src/Core2D/Renderer/Presenters/ContainerPresenter.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; using Core2D.Data; using Core2D.Data.Database; using Core2D.Project; namespace Core2D.Renderer.Presenters { /// <summary> ...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; using Core2D.Data; using Core2D.Data.Database; using Core2D.Project; namespace Core2D.Renderer.Presenters { /// <summary> ...
mit
C#
20bc550877e6f146680eeb5dc8f4d3f221209fcd
Update SolrNet/Impl/ISolrQueryBody.cs
SolrNet/SolrNet,SolrNet/SolrNet
SolrNet/Impl/ISolrQueryBody.cs
SolrNet/Impl/ISolrQueryBody.cs
using System; using System.Collections.Generic; using System.Text; namespace SolrNet.Impl { /// <summary> /// Represents the body of a query to be sent to Solr. /// </summary> public interface ISolrQueryBody { /// <summary> /// Convert the body into a string to send to Solr. ...
using System; using System.Collections.Generic; using System.Text; namespace SolrNet.Impl { /// <summary> /// Represents the body of a query to be sent to Solr. /// </summary> public interface ISolrQueryBody { /// <summary> /// Convert the body into a string to send to Solr. ...
apache-2.0
C#
323f35a1e1c313463aa434fc32d6bb8c738957dc
reduce caching duration
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Api/V1/Controllers/BaseController.cs
src/FilterLists.Api/V1/Controllers/BaseController.cs
using System; using FilterLists.Services.Seed; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; namespace FilterLists.Api.V1.Controllers { [ApiVersion("1.0")] //TODO: use versioning without needing to manually specify in swagger-ui (https://github.com/domaindrivendev/Swashbuckle.AspN...
using System; using FilterLists.Services.Seed; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Caching.Memory; namespace FilterLists.Api.V1.Controllers { [ApiVersion("1")] //TODO: use versioning without needing to manually specify in swagger-ui (https://github.com/domaindrivendev/Swashbuckle.AspNet...
mit
C#
d2f071b8b2afbf6b2da81ae978b6a8bd0e3d58c0
Make store creation field same width (#4311)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/UIUserStores/CreateStore.cshtml
BTCPayServer/Views/UIUserStores/CreateStore.cshtml
@model BTCPayServer.Models.StoreViewModels.CreateStoreViewModel @{ ViewData.SetActivePage(StoreNavPages.Create, "Create a new store"); } @section PageFootContent { <partial name="_ValidationScriptsPartial"/> } <partial name="_StatusMessage" /> <h2 class="mt-1 mb-4">@ViewData["Title"]</h2> <div class="row"> ...
@model BTCPayServer.Models.StoreViewModels.CreateStoreViewModel @{ ViewData.SetActivePage(StoreNavPages.Create, "Create a new store"); } @section PageFootContent { <partial name="_ValidationScriptsPartial"/> } <partial name="_StatusMessage" /> <h2 class="mt-1 mb-4">@ViewData["Title"]</h2> <div class="row"> ...
mit
C#
d777bef2ca9f4bd54a1397ea1654e5f5ab9cfd73
Update code references: extension -> contact
grae22/TeamTracker
TeamTracker/App_Code/Person.cs
TeamTracker/App_Code/Person.cs
using System.Collections.Generic; public class Person { //--------------------------------------------------------------------------- public int Id { get; set; } public string Name { get; set; } public string Contact { get; set; } public List<Status> Status { get; set; } //------------------------------...
using System.Collections.Generic; public class Person { //--------------------------------------------------------------------------- public int Id { get; set; } public string Name { get; set; } public string Extension { get; set; } public List<Status> Status { get; set; } //----------------------------...
mit
C#
4ffe0edccdc1503c99b8391343873babb0da4ccc
Fix `Action.cs` being added to the .csproj even though it was explicitly deleted because it's empty (#314)
daryllabar/DLaB.Xrm.XrmToolBoxTools
DLaB.CrmSvcUtilExtensions/Action/CustomCodeGenerationService.cs
DLaB.CrmSvcUtilExtensions/Action/CustomCodeGenerationService.cs
using System; using System.Collections.Generic; using System.IO; using Microsoft.Crm.Services.Utility; using System.Linq; namespace DLaB.CrmSvcUtilExtensions.Action { public class CustomCodeGenerationService : BaseCustomCodeGenerationService { public CustomCodeGenerationService(ICodeGenerationService ...
using System; using System.IO; using Microsoft.Crm.Services.Utility; namespace DLaB.CrmSvcUtilExtensions.Action { public class CustomCodeGenerationService : BaseCustomCodeGenerationService { public CustomCodeGenerationService(ICodeGenerationService service) : base(service) {} protected overri...
mit
C#
692dc18cebc27b12572544de1259e6d36428b204
Update PictureCellReference.cs
aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-....
Examples/CSharp/DrawingObjects/Pictures/PictureCellReference.cs
Examples/CSharp/DrawingObjects/Pictures/PictureCellReference.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Pictures { public class PictureCellReference { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string...
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Pictures { public class PictureCellReference { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells....
mit
C#
cb19bac045fb7223c9d082eba27ba0d3f218c40c
Fix FrameworkTestCase compatibility with netcore builds
EVAST9919/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-...
osu.Framework.Tests/Visual/FrameworkTestCase.cs
osu.Framework.Tests/Visual/FrameworkTestCase.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.IO; using System.Reflection; using osu.Framework.Allocation; using osu.Framework.IO.Stores; using osu.Framework.Testing; namespace osu.Framework...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Allocation; using osu.Framework.IO.Stores; using osu.Framework.Testing; namespace osu.Framework.Tests.Visual { public abstract class ...
mit
C#
351ee751215b9898ff13ddc0840822e1e7812b33
Return empty result when there are no credentials on the system.
skyguy94/poshring
poshring/CredentialsManager.cs
poshring/CredentialsManager.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; namespace poshring { public class CredentialsManager { public IEnumerable<Credential> GetCredentials() { int count; IntPtr ptr; ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; namespace poshring { public class CredentialsManager { public IEnumerable<Credential> GetCredentials() { int count; IntPtr ptr; ...
mit
C#
df083bad14577c9b226514978672c86386308a45
bump version
nosami/XSTerm,nosami/XSTerm,nosami/XSTerm
XSTerm/Properties/AddinInfo.cs
XSTerm/Properties/AddinInfo.cs
using System; using Mono.Addins; using Mono.Addins.Description; [assembly: Addin( "XSTerm", Namespace = "XSTerm", Version = "1.0.1" )] [assembly: AddinName("XSTerm")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("XSTerm")] [assembly: AddinAuthor("jason")]
using System; using Mono.Addins; using Mono.Addins.Description; [assembly: Addin( "XSTerm", Namespace = "XSTerm", Version = "1.0" )] [assembly: AddinName("XSTerm")] [assembly: AddinCategory("IDE extensions")] [assembly: AddinDescription("XSTerm")] [assembly: AddinAuthor("jason")]
mit
C#
6bb9c291c7e92aee8c9a1c99b3fb097fc3e8524f
Fix Module1 to run as independent app
danroth27/AspNetCoreModules,danroth27/AspNetCoreModules
modules/Module1/Program.cs
modules/Module1/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNetCore.Modules; namespace Module1 { public class Program { public static void Main(s...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; namespace Module1 { public class Program { public static void Main(string[] args) { var host = new WebHostBuilder() ...
mit
C#
1aed875b8093778fd1bb1d0d01fdf6c81082c867
Add convenience overload for listing network domains by datacenter.
DimensionDataResearch/cloudcontrol-client-core
src/DD.CloudControl.Client/CloudControlClientExtensions.cs
src/DD.CloudControl.Client/CloudControlClientExtensions.cs
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace DD.CloudControl.Client { using Models.Network; using Models.Server; /// <summary> /// Extension methods for <see cref="CloudControlClient"/>. /// </summary> public static class CloudControlClientExtensions { ///...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace DD.CloudControl.Client { using Models.Network; using Models.Server; /// <summary> /// Extension methods for <see cref="CloudControlClient"/>. /// </summary> public static class CloudControlClientExtensions { ///...
mit
C#
039f9825bec849a1979d946a7ecce983861fd613
Fix test failure
polsys/Ref
Ref.Windows.Tests/ViewModels/PageViewModelTests.cs
Ref.Windows.Tests/ViewModels/PageViewModelTests.cs
using NUnit.Framework; using Polsys.Ref.Models; using Polsys.Ref.ViewModels; namespace Polsys.Ref.Tests.ViewModels { class PageViewModelTests { [Test] public void Ctor_InitializesProperties() { var page = CreateOnElements(); var vm = new PageViewModel(page); ...
using NUnit.Framework; using Polsys.Ref.Models; using Polsys.Ref.ViewModels; namespace Polsys.Ref.Tests.ViewModels { class PageViewModelTests { [Test] public void Ctor_InitializesProperties() { var page = CreateOnElements(); var vm = new PageViewModel(page); ...
mit
C#
94358551821e865d833d73b0478628d2b944a940
add PropertyValue
Ahoo-Wang/SmartSql
src/SmartSql/Utils/PropertyAccessor/IGetAccessorFactory.cs
src/SmartSql/Utils/PropertyAccessor/IGetAccessorFactory.cs
using System; using System.Collections.Generic; using System.Text; namespace SmartSql.Utils.PropertyAccessor { public class PropertyValue { public GetStatus Status { get; set; } = GetStatus.Ok; public object Value { get; set; } public enum GetStatus { Ok = 1, ...
using System; using System.Collections.Generic; using System.Text; namespace SmartSql.Utils.PropertyAccessor { public interface IGetAccessorFactory { Func<object, object> CreateGet(Type targetType, string propertyName, bool ignorePropertyCase); } }
apache-2.0
C#
d34544379d8374ac21639baae14e66f81b5dd1c4
Update version number to 1.12
MSantilal/SortOfRandomFileChooser
SortOfRandomFileChooser/Properties/AssemblyInfo.cs
SortOfRandomFileChooser/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("Sort Of Random File Chooser")] [assembly:...
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("Sort Of Random File Chooser")] [assembly:...
mit
C#
cd0a4ab72af4f909b330ae4a945965321df769d8
Add packages location to ApplicationParameters
kouweizhong/choco,eeevans/choco,jamessingizi/choco,hagb4rd/choco,raisercostin/choco,sideeffffect/choco,eeevans/choco,ShwoognationHQ/choco,finchd/choco,TheBigBear/choco,b1thunt3r/choco,christianrondeau/choco,darrelmiller/choco,bazzilic/choco,kouweizhong/choco,bc3tech/choco,jamessingizi/choco,darrelmiller/choco,ewilde/ch...
src/chocolatey/infrastructure.app/ApplicationParameters.cs
src/chocolatey/infrastructure.app/ApplicationParameters.cs
namespace chocolatey.infrastructure.app { using System; using System.IO; using System.Reflection; using filesystem; public static class ApplicationParameters { private static readonly IFileSystem _fileSystem = new DotNetFileSystem(); public static readonly string Name ...
namespace chocolatey.infrastructure.app { using System; using System.IO; using System.Reflection; using filesystem; public static class ApplicationParameters { private static readonly IFileSystem _fileSystem = new DotNetFileSystem(); public static readonly string Name ...
apache-2.0
C#
422052ee38daf5fb7b6cb146594353c889c0ef89
Correct table name in SQL statements, should have been plural.
tvanfosson/dapper-integration-testing
DapperTesting/Core/Data/DapperUserRepository.cs
DapperTesting/Core/Data/DapperUserRepository.cs
using System; using System.Collections.Generic; using System.Linq; using Dapper; using DapperTesting.Core.Model; namespace DapperTesting.Core.Data { public class DapperUserRepository : DapperRepositoryBase, IUserRepository { public DapperUserRepository(IConnectionFactory connectionFactory, string con...
using System; using System.Collections.Generic; using System.Linq; using Dapper; using DapperTesting.Core.Model; namespace DapperTesting.Core.Data { public class DapperUserRepository : DapperRepositoryBase, IUserRepository { public DapperUserRepository(IConnectionFactory connectionFactory, string con...
mit
C#
55260e5f5cd0f0e5a26ccc1ad5da25aaa447e06c
Add missing http:// when defining the Uri
MassTransit/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit
docs/code/transports/GrpcMultiConsoleListener.cs
docs/code/transports/GrpcMultiConsoleListener.cs
namespace GrpcMultiConsoleListener; using System; using System.Threading.Tasks; using MassTransit; using Microsoft.Extensions.Hosting; public class Program { public static async Task Main(string[] args) { await Host.CreateDefaultBuilder(args) .ConfigureServices(services => { ...
namespace GrpcMultiConsoleListener; using System; using System.Threading.Tasks; using MassTransit; using Microsoft.Extensions.Hosting; public class Program { public static async Task Main(string[] args) { await Host.CreateDefaultBuilder(args) .ConfigureServices(services => { ...
apache-2.0
C#
51c805e3e443f405e3086189513c564709edcf99
Add project status filter string as a parameter in Index method, fixed project name length displayed in Index.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Controllers/HomeController.cs
src/CompetitionPlatform/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CompetitionPlatform.Data.AzureRepositories.Project; using Microsoft.AspNetCore.Mvc; using CompetitionPlatform.Models.ProjectViewModels; namespace CompetitionPlatform.Controllers { public class HomeController : C...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CompetitionPlatform.Data.AzureRepositories.Project; using Microsoft.AspNetCore.Mvc; using CompetitionPlatform.Models.ProjectViewModels; namespace CompetitionPlatform.Controllers { public class HomeController : C...
mit
C#
995878301d15a9a697f204a89ae628f126007a3d
Remove Updated and UpdatedBy from ValueList
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs
src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs
namespace Stripe.Radar { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObject { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("obje...
namespace Stripe.Radar { using System; using System.Collections.Generic; using Newtonsoft.Json; using Stripe.Infrastructure; public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObject { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("obje...
apache-2.0
C#
353636893d08b2effab340a33dda853e091c55bf
Update variable name on Header Repository Interface
jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener
src/UrlShortenerApi/Repositories/IHeaderRepository.cs
src/UrlShortenerApi/Repositories/IHeaderRepository.cs
using System.Collections.Generic; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public interface IHeaderRepository { void Add(Microsoft.AspNetCore.Http.IHeaderDictionary headers, int urlID); void Add(Header item); } }
using System.Collections.Generic; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public interface IHeaderRepository { void Add(Microsoft.AspNetCore.Http.IHeaderDictionary request, int urlID); void Add(Header item); } }
agpl-3.0
C#
9aa9a199b404f5347cc6eef5d16ab81b93c6a8a6
fix null sum results
akatakritos/GasMonitor,akatakritos/GasMonitor
GasMonitor.WebApi/App_Start/AutoMapperConfig.cs
GasMonitor.WebApi/App_Start/AutoMapperConfig.cs
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using GasMonitor.Core.Models; using GasMonitor.WebApi.Models; namespace GasMonitor.WebApi { public static class AutoMapperConfig { public static void Configure() { Mapper.Initializ...
using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using GasMonitor.Core.Models; using GasMonitor.WebApi.Models; namespace GasMonitor.WebApi { public static class AutoMapperConfig { public static void Configure() { Mapper.Initializ...
mit
C#
f74814c7a2050aa1ba6009305d1938507d8ddf91
update to assembly
clD11/aspnet-owin-oauth
src/Owin.Security.HighQ/Properties/AssemblyInfo.cs
src/Owin.Security.HighQ/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("Ow...
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("Ow...
mit
C#
91a0b540e53af3b75189d99a06a8ad0c17e87a46
Change version to 1.0.0.1
PolarbearDK/MQTools
Source/MQTools/Properties/AssemblyInfo.cs
Source/MQTools/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("MQ...
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("MQ...
mit
C#
8ee80eeb260aaed3f83dbd262c34dd5b3be8ee22
Update StatsController.cs - added edit page.
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.WebApp/Controllers/StatsController.cs
NinjaHive.WebApp/Controllers/StatsController.cs
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class StatsController : Controller { private StatInfo[] example...
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class StatsController : Controller { private StatInfo[] example...
apache-2.0
C#
5c14cc50e65df78f7e3ba6ed693947462e23d189
use webclient.buildDownloadResponse
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache/PackageSources/ProxyingPackageSource.cs
NuCache/PackageSources/ProxyingPackageSource.cs
using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using NuCache.ProxyBehaviour; using NuCache.Rewriters; using WebClient = NuCache.Infrastructure.WebClient; namespace NuCache.PackageSources { public class ProxyingPackageSource : IPackageSource { pr...
using System; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using NuCache.ProxyBehaviour; using NuCache.Rewriters; using WebClient = NuCache.Infrastructure.WebClient; namespace NuCache.PackageSources { public class ProxyingPackageSource : IPackageSource { pr...
lgpl-2.1
C#
4b3de0237fc4af0a072adb838a7efb7dbd9a90c0
change override request type
corngood/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,svermeulen/omnisharp-server,corngood/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server
OmniSharp/Overrides/GetOverrideTargetsModule.cs
OmniSharp/Overrides/GetOverrideTargetsModule.cs
using OmniSharp.Common; using Nancy; using Nancy.ModelBinding; namespace OmniSharp.Overrides { public class GetOverrideTargetsModule : NancyModule { public GetOverrideTargetsModule (OverrideHandler overrideHandler) { Post["/getoverridetargets"] = x => { ...
using Nancy; using Nancy.ModelBinding; using OmniSharp.AutoComplete; namespace OmniSharp.Overrides { public class GetOverrideTargetsModule : NancyModule { public GetOverrideTargetsModule (OverrideHandler overrideHandler) { Post["/getoverridetargets"] = x => { ...
mit
C#
39069320d86948dd7bfbdf0f30da8cb375933f2c
Increment version number
treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk,treehopper-electronics/treehopper-sdk
NET/API/Treehopper/Properties/AssemblyInfo.cs
NET/API/Treehopper/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // 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("Treehopper")] [assembly: AssemblyDescription("Treehopper...
using System.Reflection; using System.Resources; // 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("Treehopper")] [assembly: AssemblyDescription("Treehopper...
mit
C#
5e9c312bf141c5127f065d0f678213ebcffe966c
Revert "convert TODO to issue #134"
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Api/Controllers/ListsController.cs
src/FilterLists.Api/Controllers/ListsController.cs
using FilterLists.Services.Contracts; using Microsoft.AspNetCore.Mvc; namespace FilterLists.Api.Controllers { //TODO: migrate controllers to separate projects by version, use dependency injection //TODO: automate URL versioning [Route("v1/[controller]")] [Produces("application/json")] public class...
using FilterLists.Services.Contracts; using Microsoft.AspNetCore.Mvc; namespace FilterLists.Api.Controllers { [Route("v1/[controller]")] [Produces("application/json")] public class ListsController : Controller { private readonly IFilterListService filterListService; public ListsContro...
mit
C#
67bd725ce5e1e4dc2bba9bbc883493569f916832
Add culture to folder info in order to create page in certain site variation only
GSoft-SharePoint/Dynamite,AkechiNEET/Dynamite,GSoft-SharePoint/Dynamite,NunoEdgarGub1/Dynamite,NunoEdgarGub1/Dynamite,AkechiNEET/Dynamite
Source/GSoft.Dynamite/Definitions/FolderInfo.cs
Source/GSoft.Dynamite/Definitions/FolderInfo.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GSoft.Dynamite.Definitions { /// <summary> /// Definition of a folder in a library /// </summary> public class FolderInfo { private ILis...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GSoft.Dynamite.Definitions { /// <summary> /// Definition of a folder in a library /// </summary> public class FolderInfo { private IList<PageInfo> pages; p...
mit
C#
451770cae3400db157bffefb25d5598688cf8009
CLean a potential hole in entityliving
Morphan1/Voxalia,Morphan1/Voxalia,Morphan1/Voxalia
Voxalia/ServerGame/EntitySystem/EntityLiving.cs
Voxalia/ServerGame/EntitySystem/EntityLiving.cs
using System; using Voxalia.ServerGame.WorldSystem; namespace Voxalia.ServerGame.EntitySystem { public abstract class EntityLiving: PhysicsEntity, EntityDamageable { public EntityLiving(Region tregion, bool ticks, float maxhealth) : base(tregion, ticks) { MaxHealth = ma...
using Voxalia.ServerGame.WorldSystem; namespace Voxalia.ServerGame.EntitySystem { public abstract class EntityLiving: PhysicsEntity, EntityDamageable { public EntityLiving(Region tregion, bool ticks, float maxhealth) : base(tregion, ticks) { MaxHealth = maxhealth; ...
mit
C#
16dd98407e077dad395572cb702a4b53caabb47c
Throw error if installer returns a non-zero exist code.
AppGet/AppGet
src/AppGet/Installers/InstallerWhispererBase.cs
src/AppGet/Installers/InstallerWhispererBase.cs
using System.ComponentModel; using AppGet.Commands.Install; using AppGet.Commands.Uninstall; using AppGet.Exceptions; using AppGet.Manifests; using AppGet.Processes; using NLog; namespace AppGet.Installers { public abstract class InstallerWhispererBase : IInstallerWhisperer { private readonly IProcess...
using AppGet.Commands.Install; using AppGet.Commands.Uninstall; using AppGet.Manifests; using AppGet.Processes; using NLog; namespace AppGet.Installers { public abstract class InstallerWhispererBase : IInstallerWhisperer { private readonly IProcessController _processController; private readonl...
apache-2.0
C#
7214242e7e368353ae250da5b312f2c4c6d694ca
clean mentions
banias/andrzejbot,banias/andrzejbot
Dialogs/AndrzejLuisDialog.cs
Dialogs/AndrzejLuisDialog.cs
using AndrzejPBot.LinkSource; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; using System; using System.Threading.Tasks; using Microsoft.Bot.Connector; namespace AndrzejPBot.Dialogs { //https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/cfa2...
using AndrzejPBot.LinkSource; using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; using System; using System.Threading.Tasks; namespace AndrzejPBot.Dialogs { //https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/cfa29b4c-5e0b-45e0-a889-bac29c2a961...
mit
C#
07656e798cdd34411f4d29e02724fb946c1c3e26
Fix the mailer.
Aurel/rbya_election,Aurel/rbya_election,Aurel/rbya_election
Elections/Services/Mailer.cs
Elections/Services/Mailer.cs
using Elections.Options; using Microsoft.Extensions.Options; using System; using System.Net; using System.Net.Mail; namespace Elections.Services { public class Mailer { private readonly GmailOptions _gmailOptions; public Mailer(IOptions<GmailOptions> options) { _gmailOptions = options.Value; } public...
using Elections.Options; using Microsoft.Extensions.Options; using System; using System.Net; using System.Net.Mail; namespace Elections.Services { public class Mailer { private readonly GmailOptions _gmailOptions; public Mailer(IOptions<GmailOptions> options) { _gmailOptions = options.Value; } public...
mit
C#
d3622967c17872db562dc83c12cfee68670ba7bf
undo bad change
kosieram21/Galapagos
Galapagos/CrossoverOperators/Binary/SinglePointCrossover.cs
Galapagos/CrossoverOperators/Binary/SinglePointCrossover.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Galapagos.CrossoverOperators.Binary { /// <summary> /// Single point crossover operator. /// </summary> internal class SinglePointCrossover : Crossover<BinaryChromosome> { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Galapagos.CrossoverOperators.Binary { /// <summary> /// Single point crossover operator. /// </summary> internal class SinglePointCrossover : Crossover<BinaryChromosome> { ...
mit
C#
2f1f47ade24ea858472c0ebb010712a18682e5d0
Fix Zero Hour translations
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Content/TranslationManager.cs
src/OpenSage.Game/Content/TranslationManager.cs
using System.Linq; using OpenSage.Data; using OpenSage.Data.Csf; namespace OpenSage.Content { public sealed class TranslationManager { private readonly CsfFile _csfFile; public TranslationManager(FileSystem fileSystem,SageGame game) { FileSystemEntry csfEntry = null; ...
using System.Linq; using OpenSage.Data; using OpenSage.Data.Csf; namespace OpenSage.Content { public sealed class TranslationManager { private readonly CsfFile _csfFile; public TranslationManager(FileSystem fileSystem,SageGame game) { FileSystemEntry csfEntry = null; ...
mit
C#
a265d877e4f9e14d5a6c54feba9f87ea108debb4
Enable offline mode by default.
PlanetLotus/FPS-Sandbox,PlanetLotus/FPS-Sandbox
Assets/NetworkManager.cs
Assets/NetworkManager.cs
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; public class NetworkManager : MonoBehaviour { public List<string> ChatMessages; public bool IsOfflineMode; // Goal #1: Create a reasonable chat system using the NEW UI System public void AddChatMessage(string message)...
using UnityEngine; using UnityEngine.UI; using System.Collections.Generic; public class NetworkManager : MonoBehaviour { public List<string> ChatMessages; // Goal #1: Create a reasonable chat system using the NEW UI System public void AddChatMessage(string message) { PhotonView.Get(this)...
mit
C#
b355047bf92a236eb804b50f234bfbe9d9b59114
Add extra properties to experience model
CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client
Client/API/Students/Experiences/ExperienceModel.cs
Client/API/Students/Experiences/ExperienceModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CareerHub.Client.API.Students.Experiences { public class ExperienceModel { public int ID { get; set; } public string Title { get; set; } public string Organisation { get; set; } public s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CareerHub.Client.API.Students.Experiences { public class ExperienceModel { public int ID { get; set; } public string Title { get; set; } public string Organisation { get; set; } public s...
mit
C#
0663314f2933e34da4da88da40ad0e2d200c44a3
Add backwards compatibility stuff.
fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game
game/server/base/compat.cs
game/server/base/compat.cs
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ ...
//------------------------------------------------------------------------------ // Revenge Of The Cats: Ethernet // Copyright (C) 2008, mEthLab Interactive //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ ...
lgpl-2.1
C#
938b98b96ad2edb094d140be050024da930a770d
Use Operator<T>.Add
farity/farity
Farity/Add.cs
Farity/Add.cs
using System; namespace Farity { public static partial class F { public static T Add<T>(T a, T b) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => Operator<T>.Add(a, b); } }
using System; namespace Farity { public static partial class F { public static T Add<T>(T a, T b) where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable => a; } }
mit
C#
aa33e12b7d6753e29886aa349b055a8edbddc0e2
Make paths platform independent
SolrNet/SolrNet,SolrNet/SolrNet
SolrNet.Cloud.Tests/SolrClusterStateParserTests.cs
SolrNet.Cloud.Tests/SolrClusterStateParserTests.cs
using System.IO; using System.Linq; using Xunit; namespace SolrNet.Cloud.Tests { public class SolrClusterStateParserTests { private string EmptyJson { get { return File.ReadAllText($"resources{Path.DirectorySeparatorChar}empty.json"); } } private string NotEmptyJson { ...
using System.IO; using System.Linq; using Xunit; namespace SolrNet.Cloud.Tests { public class SolrClusterStateParserTests { private string EmptyJson { get { return File.ReadAllText(@"resources\empty.json"); } } private string NotEmptyJson { get { return File.ReadAl...
apache-2.0
C#
25f08cb25fb049591988bc1b41cfb9aa097ae10c
Add summary.
PenguinF/sandra-three
Sandra.UI.WF/Storage/JsonTokenizer.cs
Sandra.UI.WF/Storage/JsonTokenizer.cs
#region License /********************************************************************************* * JsonTokenizer.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
#region License /********************************************************************************* * JsonTokenizer.cs * * Copyright (c) 2004-2018 Henk Nicolai * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
apache-2.0
C#
f576cbc4bb84e55a7e915ba096485577f4a6a01d
Use interface
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Backend/Controllers/HomeController.cs
WalletWasabi.Backend/Controllers/HomeController.cs
using Microsoft.AspNetCore.Mvc; using System; namespace WalletWasabi.Backend.Controllers { [Route("")] public class HomeController : Controller { [HttpGet("")] public IActionResult Index() { string host = HttpContext?.Request?.Host.Host; VirtualFileResult response = !string.IsNullOrWhiteSpace(host) && ...
using Microsoft.AspNetCore.Mvc; using System; namespace WalletWasabi.Backend.Controllers { [Route("")] public class HomeController : Controller { [HttpGet("")] public ActionResult Index() { string host = HttpContext?.Request?.Host.Host; VirtualFileResult response = !string.IsNullOrWhiteSpace(host) && h...
mit
C#