commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
0cb927d32ad582360b4f9d0e58fe71af527175ca | word-count/Example.cs | word-count/Example.cs | using System.Text.RegularExpressions;
using System.Collections.Generic;
public class Phrase
{
private readonly string _phrase;
public Phrase(string phrase)
{
if (phrase == null) throw new ArgumentNullException("phrase");
_phrase = phrase;
}
public IDictionary<string, int> Word... | using System;
using System.Text.RegularExpressions;
using System.Collections.Generic;
public class Phrase
{
private readonly string _phrase;
public Phrase(string phrase)
{
if (phrase == null) throw new ArgumentNullException("phrase");
_phrase = phrase;
}
public IDictionary<str... | Add missing using statement in word-count | Add missing using statement in word-count
| C# | mit | GKotfis/csharp,robkeim/xcsharp,exercism/xcsharp,GKotfis/csharp,exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,robkeim/xcsharp |
c75d8748f496a39146327330950a469746233db8 | src/Atata.Tests/NUnitSettings.cs | src/Atata.Tests/NUnitSettings.cs | #if DEBUG
using NUnit.Framework;
[assembly: LevelOfParallelism(4)]
[assembly: Parallelizable(ParallelScope.Fixtures)]
#endif
| using NUnit.Framework;
[assembly: Parallelizable(ParallelScope.Fixtures)]
| Enable tests parallelization for all build configurations | Enable tests parallelization for all build configurations
| C# | apache-2.0 | atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata |
dc5466adda364c36010e0716f4703fa35930861b | src/xunit.netcore.extensions/Attributes/OuterLoopAttribute.cs | src/xunit.netcore.extensions/Attributes/OuterLoopAttribute.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method to specify a outer-loop category.
/// </summary... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test method to specify a outer-loop category.
/// </summary... | Allow OuterLoop on a class | Allow OuterLoop on a class
| C# | mit | naamunds/buildtools,nguerrera/buildtools,tarekgh/buildtools,ChadNedzlek/buildtools,ericstj/buildtools,alexperovich/buildtools,jthelin/dotnet-buildtools,jhendrixMSFT/buildtools,schaabs/buildtools,maririos/buildtools,mmitche/buildtools,dotnet/buildtools,roncain/buildtools,maririos/buildtools,roncain/buildtools,MattGal/bu... |
80ea9f85f2a4ff61e5513252d018881e2504c7c5 | CheckUp2/MainWindow.cs | CheckUp2/MainWindow.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CheckUp2 {
public partial class MainWindow : Form {
public MainWindow() {
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CheckUp2 {
public partial class MainWindow : Form {
public MainWindow() {
... | Test push for appveyor nuget restore | Test push for appveyor nuget restore
| C# | mit | PeterRyder/Check-Up-2 |
77ae7cdad885f85f6038e20ae840311026371642 | Mindscape.Raygun4Net.AspNetCore2.Tests/ExampleRaygunAspNetCoreClientProvider.cs | Mindscape.Raygun4Net.AspNetCore2.Tests/ExampleRaygunAspNetCoreClientProvider.cs | using Microsoft.AspNetCore.Http;
using Mindscape.Raygun4Net.AspNetCore;
namespace Mindscape.Raygun4Net.AspNetCore2.Tests
{
public class ExampleRaygunAspNetCoreClientProvider : DefaultRaygunAspNetCoreClientProvider
{
public override AspNetCore.RaygunClient GetClient(AspNetCore.RaygunSettings settings, ... | using Microsoft.AspNetCore.Http;
using Mindscape.Raygun4Net.AspNetCore;
using System.Collections.Generic;
namespace Mindscape.Raygun4Net.AspNetCore2.Tests
{
public class ExampleRaygunAspNetCoreClientProvider : DefaultRaygunAspNetCoreClientProvider
{
public override AspNetCore.RaygunClient GetClient(As... | Test adding tags in ASP.NET Core test project | Test adding tags in ASP.NET Core test project
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
c784330091d3e9aa56125d3e06d78166edd833a7 | KInspector.Core/IModule.cs | KInspector.Core/IModule.cs | namespace KInspector.Core
{
/// <summary>
/// The interface to implement to add a functionality to this application.
/// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load
/// all of them.
/// </summary>
public interface IModule
{
//... | namespace KInspector.Core
{
/// <summary>
/// The interface to implement to add a functionality to this application.
/// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load
/// all of them.
/// </summary>
public interface IModule
{
//... | Change interface parameter name to match it's type name | Change interface parameter name to match it's type name
| C# | mit | ChristopherJennings/KInspector,KenticoBSoltis/KInspector,pnmcosta/KInspector,anibalvelarde/KInspector,petrsvihlik/KInspector,martbrow/KInspector,petrsvihlik/KInspector,ChristopherJennings/KInspector,JosefDvorak/KInspector,martbrow/KInspector,xpekatt/KInspector,JosefDvorak/KInspector,philipproplesch/KInspector,anibalvel... |
0082dee1ec6c7c17f5fc4a8d83c14a9566617a0c | Source/Miruken.Map/MappingHandler.cs | Source/Miruken.Map/MappingHandler.cs | namespace Miruken.Map
{
using System;
using Callback;
using Concurrency;
public class MappingHandler : Handler, IMapping
{
public object Map(object source, object typeOrInstance,
object format = null)
{
if (source == null)
throw... | namespace Miruken.Map
{
using System;
using Callback;
using Concurrency;
public class MappingHandler : Handler, IMapping
{
public object Map(object source, object typeOrInstance,
object format = null)
{
if (source == null)
throw... | Revert "Convert mapping async exceptions to Promise" | Revert "Convert mapping async exceptions to Promise"
This reverts commit 6cff3bf6d61f6670c6f05948719cbb18c52e4dae.
| C# | mit | Miruken-DotNet/Miruken |
6db6cab3f369157648adecd6cfce458b905794a5 | ViewModels/SettingsPanelViewModel.cs | ViewModels/SettingsPanelViewModel.cs | using System;
namespace clipman.ViewModels
{
class SettingsPanelViewModel
{
public void ClearClips()
{
ClearRequested?.Invoke(this, EventArgs.Empty);
}
public event EventHandler ClearRequested;
}
}
| using System;
namespace clipman.ViewModels
{
class SettingsPanelViewModel
{
}
}
| Remove obsolete clip clear request code | Remove obsolete clip clear request code
| C# | apache-2.0 | Schlechtwetterfront/snipp |
2fdef057758868f2a298883905c6395d13f8ed8b | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/MiceToSnuffboxes.cs | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/MiceToSnuffboxes.cs | using System.Collections.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Transfiguration.Spells
{
[UsedImplicitly]
public class MiceToSnuffboxes : BaseSpell {
public override List<BaseCard> GetValidTargets()
{
var validCards = Player.InPlay.GetCreaturesInPlay... | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Transfiguration.Spells
{
[UsedImplicitly]
public class MiceToSnuffboxes : BaseSpell {
public override List<BaseCard> GetValidTargets()
{
var validCards = Player.InPlay... | Check if targets belong to the same player for animation purposes | Check if targets belong to the same player for animation purposes
| C# | mit | StefanoFiumara/Harry-Potter-Unity |
c533f82c3d3c77408a6c075d1e0aafe258850fb6 | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.cs | src/Workspaces/Core/Portable/CodeStyle/CodeStyleOption2_operators.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.
#nullable enable
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal... | // 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.
#nullable enable
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.CodeAnalysis.CodeStyle
{
internal... | Use explicit operators, since they are no longer used implicitly | Use explicit operators, since they are no longer used implicitly
| C# | mit | reaction1989/roslyn,dotnet/roslyn,brettfo/roslyn,genlu/roslyn,KevinRansom/roslyn,mgoertz-msft/roslyn,mavasani/roslyn,AmadeusW/roslyn,aelij/roslyn,stephentoub/roslyn,mavasani/roslyn,stephentoub/roslyn,panopticoncentral/roslyn,mgoertz-msft/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,weltkante/roslyn,tannergooding/ros... |
9550f7776d54dc3843aaaec446d09f01219046ff | tests/Magick.NET.Tests/Coders/TheAvifCoder.cs | tests/Magick.NET.Tests/Coders/TheAvifCoder.cs | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System.IO;
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public class TheAvifCoder
{
[Fact]
public void ShouldEncodeAndDecodeAlphaChannel()
{
... | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System.IO;
using ImageMagick;
using Xunit;
namespace Magick.NET.Tests
{
public class TheAvifCoder
{
[Fact]
public void ShouldEncodeAndDecodeAlphaChannel()
{
... | Test for exception for now until we can get a proper test image. | Test for exception for now until we can get a proper test image.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
8a2ca7572237b42e528824e881ba357e59934e95 | ExRam.Gremlinq.Core/Queries/QuerySources/Options/GremlinqOptions.cs | ExRam.Gremlinq.Core/Queries/QuerySources/Options/GremlinqOptions.cs | using System.Collections.Immutable;
using LanguageExt;
namespace ExRam.Gremlinq.Core
{
public struct GremlinqOptions
{
private readonly IImmutableDictionary<GremlinqOption, object> _options;
public GremlinqOptions(IImmutableDictionary<GremlinqOption, object> options)
{
_op... | using System;
using System.Collections.Immutable;
using LanguageExt;
namespace ExRam.Gremlinq.Core
{
public struct GremlinqOptions
{
private readonly IImmutableDictionary<GremlinqOption, object> _options;
public GremlinqOptions(IImmutableDictionary<GremlinqOption, object> options)
{
... | Support configuring an existing option value. | Support configuring an existing option value.
| C# | mit | ExRam/ExRam.Gremlinq |
41a2dc97b89ccc216bbb9f84791bf145a9a5b6a7 | cslacs/Csla/Security/UsernameCriteria.cs | cslacs/Csla/Security/UsernameCriteria.cs | using System;
using Csla;
using Csla.Serialization;
namespace Csla.Security
{
/// <summary>
/// Criteria class for passing a
/// username/password pair to a
/// custom identity class.
/// </summary>
[Serializable]
public class UsernameCriteria : CriteriaBase
{
/// <summary>
/// ... | using System;
using Csla;
using Csla.Serialization;
namespace Csla.Security
{
/// <summary>
/// Criteria class for passing a
/// username/password pair to a
/// custom identity class.
/// </summary>
[Serializable]
public class UsernameCriteria : CriteriaBase
{
/// <summary>
/// ... | Add default ctor to class. bugid: 417 | Add default ctor to class.
bugid: 417
| C# | mit | JasonBock/csla,BrettJaner/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,jonnybee/csla,ronnymgm/csla-light,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,BrettJaner/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla,BrettJaner/csla |
17b291aac38b494945adaed1d2216570b7979411 | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | src/AppHarbor.Tests/Commands/CreateCommandTest.cs | using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
private readonly IFixture _fixture;
public CreateCommandTest()
{
_fixture = new Fixtur... | using System.Linq;
using AppHarbor.Commands;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.AutoMoq;
using Ploeh.AutoFixture.Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests.Commands
{
public class CreateCommandTest
{
private readonly IFixture _fixture;
public CreateCommandTest()
{
_f... | Use AutoFixture for injecting argument string array | Use AutoFixture for injecting argument string array
| C# | mit | appharbor/appharbor-cli |
d33af38989b6f9f835256031321ccb248b6aa48d | Msg.Core/Versioning/VersionNegotiator.cs | Msg.Core/Versioning/VersionNegotiator.cs | using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Version = Msg.Core.Versioning;
namespace Msg.Core.Versioning
{
public static class VersionNegotiator
{
[System.Obsolete("This method is deprecated us VersionNegotiator.Select instead.")]
public static asyn... | using System.Threading.Tasks;
using System.Collections.Generic;
using System.Linq;
using Version = Msg.Core.Versioning;
namespace Msg.Core.Versioning
{
public static class VersionNegotiator
{
[System.Obsolete("This method is deprecated us VersionNegotiator.Select instead.")]
public static asyn... | Return the highest supported version except where equal to the client version. | Return the highest supported version except where equal to the client version.
| C# | apache-2.0 | jagrem/msg |
6b59e177d6240a4646acc78cc8c79a90b1806ba8 | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpInferredMemberNameReducer.cs | src/Workspaces/CSharp/Portable/Simplification/Reducers/CSharpInferredMemberNameReducer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.CSharp.Extensions;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAna... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.PooledObjects;
namespace Microsoft.CodeAnalysis.CSharp.Simplification
{
/// <summ... | Remove unused usings from a newly added file | Remove unused usings from a newly added file
| C# | mit | davkean/roslyn,KevinRansom/roslyn,physhi/roslyn,tmat/roslyn,brettfo/roslyn,reaction1989/roslyn,bartdesmet/roslyn,physhi/roslyn,heejaechang/roslyn,aelij/roslyn,heejaechang/roslyn,stephentoub/roslyn,genlu/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,mavasani/ros... |
170240fb584180711864e4a4c16d8fe4c8e59c88 | src/projects/EnsureThat/Ensure.cs | src/projects/EnsureThat/Ensure.cs | using System;
using System.Diagnostics;
using JetBrains.Annotations;
namespace EnsureThat
{
public static class Ensure
{
public static bool IsActive { get; private set; } = true;
public static void Off() => IsActive = false;
public static void On() => IsActive = true;
[Debugg... | using System;
using System.Diagnostics;
using JetBrains.Annotations;
namespace EnsureThat
{
public static class Ensure
{
public static bool IsActive { get; private set; } = true;
public static void Off() => IsActive = false;
public static void On() => IsActive = true;
[Debugg... | Mark as obsolete for future removal | Mark as obsolete for future removal
| C# | mit | danielwertheim/Ensure.That,danielwertheim/Ensure.That |
573e47416d8e8ef76e90612a683af8998538c72f | Garlic/Properties/AssemblyInfo.cs | Garlic/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Garlic")]
[assembly: AssemblyDescription("Google Analytics Client for .Net")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Dusty Burwell")]
[assembly: AssemblyProduct("Garlic Google Analytics Client")]
[assembly: AssemblyCopyright("Copyrig... | using System.Reflection;
[assembly: AssemblyTitle("Garlic")]
[assembly: AssemblyDescription("Google Analytics Client for .Net")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCompany("Dusty Burwell")]
[assembly: AssemblyProduct("Garlic Google Analytics Client")]
[assembly: AssemblyCopyright("Copyrig... | Change version due to API Change | Change version due to API Change
| C# | mit | dustyburwell/garlic |
a1c3136362a9ac2b05f1c7cdb8cc36abb870c985 | CIV/Processes/Extensions.cs | CIV/Processes/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace CIV.Processes
{
public static class Extensions
{
/// <summary>
/// Coaction of the specified action.
/// </summary>
/// <returns>The coaction: 'action if action does not start
/// with ' and vice versa</returns>
/// <param... | using System;
using System.Collections.Generic;
using System.Linq;
namespace CIV.Processes
{
public static class Extensions
{
/// <summary>
/// Coaction of the specified action.
/// </summary>
/// <returns>The coaction: 'action if action does not start
/// with ' and vice versa</returns>
/// <param... | Fix Coaction() for tau action | Fix Coaction() for tau action
| C# | mit | lou1306/CIV,lou1306/CIV |
f43cc985c46a2f9c4e4e3223d877ca49f8fbbc33 | Perf.DiffPlex/PerfTester.cs | Perf.DiffPlex/PerfTester.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Perf.DiffPlex
{
public class PerfTester
{
public void Run(Action action)
{
const double count = 5;
var times = new List<double>();
var timer =... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Perf.DiffPlex
{
public class PerfTester
{
public void Run(Action action)
{
const double count = 5;
var times = new List<double>();
var timer =... | Make sure code is jitted before perf test | Make sure code is jitted before perf test
| C# | apache-2.0 | mmanela/diffplex,mmanela/diffplex,mmanela/diffplex,mmanela/diffplex |
9529ba649f86891cb87545c2d2850908a05bdd14 | src/DeepEqual/Syntax/ObjectExtensions.cs | src/DeepEqual/Syntax/ObjectExtensions.cs | namespace DeepEqual.Syntax
{
using System;
using System.Diagnostics.Contracts;
using System.Text;
public static class ObjectExtensions
{
[Pure]
public static bool IsDeepEqual(this object actual, object expected, IComparison comparison = null)
{
comparison = comparison ?? new ComparisonBuilder().Create()... | namespace DeepEqual.Syntax
{
using System;
using System.Diagnostics.Contracts;
using System.Text;
public static class ObjectExtensions
{
[Pure]
public static bool IsDeepEqual(this object actual, object expected)
{
return IsDeepEqual(actual, expected, null);
}
[Pure]
public static bool IsDeepEqual... | Use overloads instead of optional parameters | Use overloads instead of optional parameters
| C# | mit | jamesfoster/DeepEqual |
b0fb28dd4ebfbf9ce9052cf9a6c0f0d85c87284c | Tests/AssemblyInitialize.cs | Tests/AssemblyInitialize.cs | using NUnit.Framework;
using QuantConnect.Logging;
[SetUpFixture]
public class AssemblyInitialize
{
[SetUp]
public void SetLogHandler()
{
// save output to file as well
Log.LogHandler = new CompositeLogHandler();
}
}
| using NUnit.Framework;
using QuantConnect.Logging;
[SetUpFixture]
public class AssemblyInitialize
{
[SetUp]
public void SetLogHandler()
{
// save output to file as well
Log.LogHandler = new ConsoleLogHandler();
}
}
| Make tests use console log handler | Make tests use console log handler
| C# | apache-2.0 | bizcad/LeanJJN,kaffeebrauer/Lean,bdilber/Lean,FrancisGauthier/Lean,JKarathiya/Lean,Obawoba/Lean,dalebrubaker/Lean,bizcad/LeanAbhi,florentchandelier/Lean,florentchandelier/Lean,iamkingmaker/Lean,AnObfuscator/Lean,bizcad/LeanITrend,desimonk/Lean,QuantConnect/Lean,Phoenix1271/Lean,bizcad/LeanITrend,AlexCatarino/Lean,tomhu... |
3cfb4a7b70c20c02b5833e5d158831a3d6a17476 | Source/Hiperion/Hiperion/Infrastructure/Ioc/WindsorInstaller.cs | Source/Hiperion/Hiperion/Infrastructure/Ioc/WindsorInstaller.cs | namespace Hiperion.Infrastructure.Ioc
{
#region References
using System.Configuration;
using System.Web.Http;
using AutoMapper;
using Automapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EF;
... | namespace Hiperion.Infrastructure.Ioc
{
#region References
using System.Configuration;
using System.Web.Http;
using AutoMapper;
using Automapper;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;
using EF;
... | Fix for automapper castle component | Fix for automapper castle component
| C# | mit | makingsensetraining/angular-webapi,makingsensetraining/angular-webapi,makingsensetraining/angular-webapi |
61d898d70982d8a3ce8317ffa717165a800195f1 | src/SoapCore/TrailingServicePathTuner.cs | src/SoapCore/TrailingServicePathTuner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace SoapCore
{
/// <summary>
/// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc
/// Regi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace SoapCore
{
/// <summary>
/// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc
/// Regi... | Make ConvertPath to allow this functionality to be modified to allow for slashes in path | Make ConvertPath to allow this functionality to be modified to allow for slashes in path
| C# | mit | DigDes/SoapCore |
8cbc96476b74a72925f9f14ed0eb062882a4a29d | src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelImport.cs | src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelImport.cs | namespace GiveCRM.ImportExport
{
public class ExcelImport
{
}
} | using NPOI;
namespace GiveCRM.ImportExport
{
public class ExcelImport
{
}
} | Revert "Revert "Modified the Import class"" | Revert "Revert "Modified the Import class""
This reverts commit 5e5edb25656ce8d1f4162f1f68f6219ef1686d84.
| C# | mit | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM |
26e80c3e4dd4c8518952061f2c8b04994531da8b | src/Core/Tripod.Core/Tripod.Model/ICacheablePhotoSource.cs | src/Core/Tripod.Core/Tripod.Model/ICacheablePhotoSource.cs | //
// IRegisterablePhotoSource.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
//... | //
// ICacheablePhotoSource.cs
//
// Author:
// Ruben Vermeersch <ruben@savanne.be>
//
// Copyright (c) 2010 Ruben Vermeersch <ruben@savanne.be>
//
// 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... | Fix rename which monodevelop missed. | Fix rename which monodevelop missed.
| C# | mit | rubenv/tripod,rubenv/tripod |
4b7cbe87b5e8e02286466d325d8b5a0db1030ddb | Code/Server/Revenj.Http/Program.cs | Code/Server/Revenj.Http/Program.cs | using System;
using DSL;
namespace Revenj.Http
{
static class Program
{
static void Main(string[] args)
{
var server = Platform.Start<HttpServer>();
Console.WriteLine("Starting server");
server.Run();
}
}
}
| using System;
using System.Configuration;
using DSL;
namespace Revenj.Http
{
static class Program
{
static void Main(string[] args)
{
foreach (var arg in args)
{
var i = arg.IndexOf('=');
if (i != -1)
{
var name = arg.Substring(0, i);
var value = arg.Substring(i + 1);... | Allow settings custom command line params. | Allow settings custom command line params.
When Revenj.Http is used user can override configuration parameters (or add new ones).
| C# | bsd-3-clause | ngs-doo/revenj,ngs-doo/revenj,tferega/revenj,tferega/revenj,ngs-doo/revenj,tferega/revenj,tferega/revenj,ngs-doo/revenj,ngs-doo/revenj |
3928e82c2d586b52e7d33f2085c5afdec6f592cf | LINQToTTree/LINQToTTreeLib.Tests/Variables/ValSimpleTest.cs | LINQToTTree/LINQToTTreeLib.Tests/Variables/ValSimpleTest.cs | // <copyright file="ValSimpleTest.cs" company="Microsoft">Copyright Microsoft 2010</copyright>
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LINQToTTreeLib.Variables
{
/// <summary>This class contains parameterized unit tests for ValSimple</summary>
[TestClass]
public... | // <copyright file="ValSimpleTest.cs" company="Microsoft">Copyright Microsoft 2010</copyright>
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace LINQToTTreeLib.Variables
{
/// <summary>This class contains parameterized unit tests for ValSimple</summary>
[TestClass]
public... | Check that a particular replacement is working well | Check that a particular replacement is working well
| C# | lgpl-2.1 | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT |
09f105083e4a8f2343b8905d77940807ffebd84b | src/MySql.Data/Utility.cs | src/MySql.Data/Utility.cs | using System;
namespace MySql.Data
{
internal static class Utility
{
public static void Dispose<T>(ref T disposable)
where T : class, IDisposable
{
if (disposable != null)
{
disposable.Dispose();
disposable = null;
}
}
}
}
| using System;
using System.Text;
namespace MySql.Data
{
internal static class Utility
{
public static void Dispose<T>(ref T disposable)
where T : class, IDisposable
{
if (disposable != null)
{
disposable.Dispose();
disposable = null;
}
}
public static string GetString(this Encoding enco... | Add extension to decode a string from an ArraySegment<byte>. | Add extension to decode a string from an ArraySegment<byte>.
| C# | mit | mysql-net/MySqlConnector,mysql-net/MySqlConnector,gitsno/MySqlConnector,gitsno/MySqlConnector |
1885d9fe62bed70028303e129066abe058f88e3e | TwitchPlaysAssembly/Src/Commands/IRCConnectionManagerCommands.cs | TwitchPlaysAssembly/Src/Commands/IRCConnectionManagerCommands.cs | using System;
using System.Collections;
/// <summary>Commands for the IRC Connection Holdable.</summary>
public static class IRCConnectionManagerCommands
{
[Command(@"disconnect")]
public static IEnumerator Disconnect(IRCConnectionManagerHoldable holdable)
{
bool allowed = false;
yield return null;
yield ret... | using System;
using System.Collections;
/// <summary>Commands for the IRC Connection Holdable.</summary>
public static class IRCConnectionManagerCommands
{
[Command(@"disconnect")]
public static IEnumerator Disconnect(TwitchHoldable holdable, string user, bool isWhisper) =>
holdable.RespondToCommand(user, string... | Fix IRC Manager disconnect command | Fix IRC Manager disconnect command
| C# | mit | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays |
c742390a3c5630303738bc6b157a99036109931b | src/Microsoft.AspNet.Routing/DependencyInjection/RoutingServiceCollectionExtensions.cs | src/Microsoft.AspNet.Routing/DependencyInjection/RoutingServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Text.Encodings.Web;
using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Internal;
using Microsoft.Extensions.Depen... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Text.Encodings.Web;
using Microsoft.AspNet.Routing;
using Microsoft.AspNet.Routing.Internal;
using Microsoft.Extensions.Depen... | Remove redundant AddOptions which is now a default hosting service | Remove redundant AddOptions which is now a default hosting service
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore |
955836916b340c3400efac07e4e385fbb6b4b744 | osu.Game.Tests/Visual/Editing/TestSceneTimelineTickDisplay.cs | osu.Game.Tests/Visual/Editing/TestSceneTimelineTickDisplay.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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game.Screens.Edit.Compose.C... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Compose.Components;
using osuTK;
namespace osu.Game.Test... | Fix timeline tick display test making two instances of the component | Fix timeline tick display test making two instances of the component
| C# | mit | peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu |
e3ab12f8ddd383d263f754a51c40716e3c6e6457 | Assets/EasyButtons/Editor/ButtonEditor.cs | Assets/EasyButtons/Editor/ButtonEditor.cs | using System.Linq;
using UnityEngine;
using UnityEditor;
namespace EasyButtons
{
/// <summary>
/// Base class for making EasyButtons work
/// </summary>
public abstract class ButtonEditorBase : Editor
{
public override void OnInspectorGUI()
{
// Loop through all methods... | using System.Linq;
using UnityEngine;
using UnityEditor;
namespace EasyButtons
{
/// <summary>
/// Custom inspector for Object including derived classes.
/// </summary>
[CustomEditor(typeof(Object), true)]
public class ObjectEditor : Editor
{
public override void OnInspectorGUI()
... | Simplify the editor to work for any object | Simplify the editor to work for any object
| C# | mit | madsbangh/EasyButtons |
7b6b53672aaf42b57965997f9af38f73560480f7 | 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.2.0.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("1.0.0.0")]
... | Update assembly version to 1.0 | Update assembly version to 1.0
git-svn-id: 6d1cac2d86fac78d43d5e0dd3566a1010e844f91@55007 81fbe566-5dc4-48c1-bdea-7421811ca204
| C# | apache-2.0 | mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket |
223c7154ba47c3d342554c156bb10cff705a8a73 | src/SFA.DAS.EmployerUsers.Application/InvalidRequestException.cs | src/SFA.DAS.EmployerUsers.Application/InvalidRequestException.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.EmployerUsers.Application
{
public class InvalidRequestException : Exception
{
public Dictionary<string,string> ErrorMessages { get; private set; }
public InvalidRequestException(Dictionary<string,string> er... | using System;
using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.EmployerUsers.Application
{
public class InvalidRequestException : Exception
{
public Dictionary<string, string> ErrorMessages { get; private set; }
public InvalidRequestException(Dictionary<string, string> e... | Fix error message building when no specific errors defined | Fix error message building when no specific errors defined
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
a9780324afb4060fddc82a836119f8c3f5a0f674 | SnippetsToMarkdown/SnippetsToMarkdown/Commands/WriteHeaderHtmlCommand.cs | SnippetsToMarkdown/SnippetsToMarkdown/Commands/WriteHeaderHtmlCommand.cs | using System.Text;
namespace SnippetsToMarkdown.Commands
{
class WriteHeaderHtmlCommand : ICommand
{
private string directory;
public WriteHeaderHtmlCommand(string directory)
{
this.directory = directory;
}
public void WriteToOutput(StringBuild... | using System.Text;
namespace SnippetsToMarkdown.Commands
{
class WriteHeaderHtmlCommand : ICommand
{
private string directory;
public WriteHeaderHtmlCommand(string directory)
{
this.directory = directory;
}
public void WriteToOutput(StringBuild... | Change HTML table header generation to use the correct th HTML tag. | Change HTML table header generation to use the correct th HTML tag.
| C# | mit | gilles-leblanc/Sniptaculous |
3dec37f8d4ba63dfa45b0ece4431b08e7c89a665 | Kudu.FunctionalTests/GitStabilityTests.cs | Kudu.FunctionalTests/GitStabilityTests.cs | using System.Linq;
using Kudu.Core.Deployment;
using Kudu.FunctionalTests.Infrastructure;
using Kudu.TestHarness;
using Xunit;
namespace Kudu.FunctionalTests
{
public class GitStabilityTests
{
[Fact]
public void NSimpleDeployments()
{
string repositoryName = "HelloKudu";
... | using System.Linq;
using Kudu.Core.Deployment;
using Kudu.FunctionalTests.Infrastructure;
using Kudu.TestHarness;
using Xunit;
namespace Kudu.FunctionalTests
{
public class GitStabilityTests
{
[Fact]
public void NSimpleDeployments()
{
string repositoryName = "HelloKudu";
... | Use random app name to avoid 409 conflict error | Use random app name to avoid 409 conflict error
| C# | apache-2.0 | YOTOV-LIMITED/kudu,shibayan/kudu,barnyp/kudu,shibayan/kudu,EricSten-MSFT/kudu,badescuga/kudu,puneet-gupta/kudu,sitereactor/kudu,WeAreMammoth/kudu-obsolete,shibayan/kudu,juoni/kudu,EricSten-MSFT/kudu,kali786516/kudu,shanselman/kudu,shrimpy/kudu,chrisrpatterson/kudu,puneet-gupta/kudu,dev-enthusiast/kudu,YOTOV-LIMITED/kud... |
a4a92d082106eaf6c78dd4ccedf441633da129f8 | src/OmniSharp/Utilities/DirectoryEnumerator.cs | src/OmniSharp/Utilities/DirectoryEnumerator.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Framework.Logging;
namespace OmniSharp.Utilities
{
public class DirectoryEnumerator
{
private ILogger _logger;
public DirectoryEnumerator(ILoggerFactory loggerFactory)
{
_lo... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Framework.Logging;
namespace OmniSharp.Utilities
{
public class DirectoryEnumerator
{
private ILogger _logger;
public DirectoryEnumerator(ILoggerFactory loggerFactory)
{
_lo... | Replace recursive file enumeration with a stack based approach | Replace recursive file enumeration with a stack based approach
| C# | mit | hal-ler/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,khellang/omnisharp-roslyn,jtbm37/omnisharp-roslyn,haled/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,khellang/omnisharp-roslyn,xdegtyarev/omnisharp-roslyn,hach-que/omnisharp-roslyn,hitesh97/omnisharp-roslyn,OmniSharp/omnisharp-rosly... |
0e27103cf0b118465842ad8117edc9afb8defc83 | src/NRules.Integration/NRules.Integration.Autofac/NRules.Integration.Autofac/AutofacRuleActivator.cs | src/NRules.Integration/NRules.Integration.Autofac/NRules.Integration.Autofac/AutofacRuleActivator.cs | using System;
using System.Collections.Generic;
using Autofac;
using NRules.Fluent;
using NRules.Fluent.Dsl;
namespace NRules.Integration.Autofac
{
/// <summary>
/// Rule activator that uses Autofac DI container.
/// </summary>
public class AutofacRuleActivator : IRuleActivator
{
private r... | using System;
using System.Collections.Generic;
using Autofac;
using NRules.Fluent;
using NRules.Fluent.Dsl;
namespace NRules.Integration.Autofac
{
/// <summary>
/// Rule activator that uses Autofac DI container.
/// </summary>
public class AutofacRuleActivator : IRuleActivator
{
private r... | Allow multiple rule instances in autofac activator | Allow multiple rule instances in autofac activator
| C# | mit | prashanthr/NRules,NRules/NRules |
5f5d93beba6fb71ecf868e22df000434491578a6 | DupImage/ImageStruct.cs | DupImage/ImageStruct.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace DupImage
{
/// <summary>
/// Structure for containing image information and hash values.
/// </summary>
public class ImageStruct
{
/// <summary>
/// Construct a new ImageStruct from FileInfo.
/// </s... | using System;
using System.Collections.Generic;
using System.IO;
namespace DupImage
{
/// <summary>
/// Structure for containing image information and hash values.
/// </summary>
public class ImageStruct
{
/// <summary>
/// Construct a new ImageStruct from FileInfo.
/// </s... | Use nameof operator instead of magic string. | Use nameof operator instead of magic string.
| C# | unknown | Quickshot/DupImageLib,Quickshot/DupImage |
32cc694891a679fa8cbb20f602ea31df54fcb27c | Source/Nett/Extensions/GenericExtensions.cs | Source/Nett/Extensions/GenericExtensions.cs | namespace Nett.Extensions
{
using System;
internal static class GenericExtensions
{
public static T CheckNotNull<T>(this T toCheck, string argName)
where T : class
{
if (toCheck == null) { throw new ArgumentNullException(nameof(argName)); }
return toChe... | namespace Nett.Extensions
{
using System;
internal static class GenericExtensions
{
public static T CheckNotNull<T>(this T toCheck, string argName)
where T : class
{
if (toCheck == null) { throw new ArgumentNullException(argName); }
return toCheck;
... | Fix that check not null message didn't contain argument name | Fix that check not null message didn't contain argument name
| C# | mit | paiden/Nett |
f6f73cfc46cdbdaf4cfc57d6ced65e1f7cbf59be | ImageResizer.Sitecore.Plugin/SitecoreVirtualImageProviderPlugin.cs | ImageResizer.Sitecore.Plugin/SitecoreVirtualImageProviderPlugin.cs | using ImageResizer.Plugins;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageResizer.Sitecore.Plugin
{
public class SitecoreVirtualImageProviderPlugin : IPlugin, IVirtualImageProvider
{
... | using ImageResizer.Plugins;
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImageResizer.Sitecore.Plugin
{
public class SitecoreVirtualImageProviderPlugin : IPlugin, IVirtualImageProvider
{
... | Fix to the browse images coming up 404. | Fix to the browse images coming up 404. | C# | apache-2.0 | MichaelHorsch/ImageResizer.Sitecore.Plugin |
832481685ac5d22e785fe7aa15fa074c68bb9836 | Assets/Scripts/Beam/MemberProperty.cs | Assets/Scripts/Beam/MemberProperty.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MemberProperty : MonoBehaviour {
public float E, I, length;
public int number;
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MemberProperty : MonoBehaviour {
public float length;
public int number,type;
float[] E = { 1 };
float[] I = { 1 };
public float GetI()
{
return I[type];
}
public float GetE()
{
... | Use type to find E I | Use type to find E I
| C# | mit | ReiiYuki/KU-Structure |
ab1a681b2fda3c8cf4a332f993728c15872e5b0a | Schedules.API/Tasks/Reminders/CreateReminder.cs | Schedules.API/Tasks/Reminders/CreateReminder.cs | using System;
using Simpler;
using Schedules.API.Models;
using Dapper;
using System.Linq;
namespace Schedules.API.Tasks
{
public class CreateReminder: InOutTask<CreateReminder.Input, CreateReminder.Output>
{
public FetchReminderType FetchReminderType { get; set; }
public class Input
{
public Re... | using System;
using Simpler;
using Schedules.API.Models;
using Dapper;
using System.Linq;
namespace Schedules.API.Tasks
{
public class CreateReminder: InOutTask<CreateReminder.Input, CreateReminder.Output>
{
public FetchReminderType FetchReminderType { get; set; }
public class Input
{
public Re... | Add remind_on to insert statement | Add remind_on to insert statement
| C# | mit | schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api |
1f341abb8e95ac0657afade56534b062e7628ad9 | src/Scriban/Runtime/EmptyScriptObject.cs | src/Scriban/Runtime/EmptyScriptObject.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System.Collections.Generic;
using Scriban.Parsing;
using Scriban.Syntax;
namespace Scriban.Runtime
{
/// <summary>
/// The empty ob... | // Copyright (c) Alexandre Mutel. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System.Collections.Generic;
using System.Diagnostics;
using Scriban.Parsing;
using Scriban.Syntax;
namespace Scriban.Runtime
{
/// <sum... | Add ToString method to empty object | Add ToString method to empty object
| C# | bsd-2-clause | textamina/scriban,lunet-io/scriban |
a36e1c3faf0e45a83b8cf68fbd69d0a0b47572c1 | src/THNETII.Common/ArgumentExtensions.cs | src/THNETII.Common/ArgumentExtensions.cs | using System;
namespace THNETII.Common
{
public static class ArgumentExtensions
{
public static T ThrowIfNull<T>(this T instance, string name) where T : class
=> instance ?? throw new ArgumentNullException(name);
}
}
| using System;
namespace THNETII.Common
{
public static class ArgumentExtensions
{
public static T ThrowIfNull<T>(this T instance, string name) where T : class
=> instance ?? throw new ArgumentNullException(name);
/// <exception cref="ArgumentException" />
/// <exception cr... | Add String Argument Extension method | Add String Argument Extension method
| C# | mit | thnetii/dotnet-common |
fae5abe70b88a1232e289ac158326e1b98692fe1 | MiscUtils/ExtensionMethods.cs | MiscUtils/ExtensionMethods.cs | using System;
public static class ExtensionMethods
{
public static string Str(this TimeSpan duration)
{
var hours = Math.Abs((int)duration.TotalHours);
var minutes = Math.Abs(duration.Minutes);
int seconds = Math.Abs(duration.Seconds);
if (Math.Abs(duration.Milliseconds) >= 50... | using System;
public static class ExtensionMethods
{
public static string Str(this TimeSpan duration)
{
var hours = Math.Abs((int)duration.TotalHours);
var minutes = Math.Abs(duration.Minutes);
int seconds = Math.Abs(duration.Seconds);
if (duration >= TimeSpan.Zero)
... | Remove unnecessary, and wrong, check | MiscUtils: Remove unnecessary, and wrong, check
| C# | bsd-2-clause | IvionSauce/MeidoBot |
3ddca30acd44c62fba4325c3d90910a470c39af9 | Octokit/Models/Response/OauthToken.cs | Octokit/Models/Response/OauthToken.cs | using System.Collections.Generic;
namespace Octokit
{
public class OauthToken
{
public string TokenType { get; set; }
public string AccessToken { get; set; }
public IReadOnlyCollection<string> Scope { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class OauthToken
{
/// <summary>
/// The type of OAuth token
/// </summary>
public string TokenType { g... | Add comments and debugger display | Add comments and debugger display
| C# | mit | TattsGroup/octokit.net,brramos/octokit.net,SLdragon1989/octokit.net,fffej/octokit.net,SamTheDev/octokit.net,Sarmad93/octokit.net,khellang/octokit.net,mminns/octokit.net,shiftkey/octokit.net,ivandrofly/octokit.net,SmithAndr/octokit.net,TattsGroup/octokit.net,adamralph/octokit.net,forki/octokit.net,Sarmad93/octokit.net,s... |
01e72aaed4df32986262da65dd7c2d7194ca6831 | ClosedXML/Excel/ConditionalFormats/Save/XLCFDataBarConverter.cs | ClosedXML/Excel/ConditionalFormats/Save/XLCFDataBarConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Spreadsheet;
namespace ClosedXML.Excel
{
internal class XLCFDataBarConverter:IXLCFConverter
{
public ConditionalFormattingRule Convert(IXLConditionalFormat cf... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Spreadsheet;
namespace ClosedXML.Excel
{
internal class XLCFDataBarConverter : IXLCFConverter
{
public ConditionalFormattingRule Convert(IXLConditionalFormat ... | Fix data bar for min/max | Fix data bar for min/max
| C# | mit | igitur/ClosedXML,ClosedXML/ClosedXML,jongleur1983/ClosedXML,JavierJJJ/ClosedXML,b0bi79/ClosedXML |
6116ef35b1fd54b9a21643128f8bb8ba07f38760 | Samples/NET/cs/ProjectTracker/Mvc3UI/Views/Project/Index.cshtml | Samples/NET/cs/ProjectTracker/Mvc3UI/Views/Project/Index.cshtml | @using Csla.Web.Mvc
@using ProjectTracker.Library
@model IEnumerable<ProjectTracker.Library.ProjectInfo>
@{
ViewBag.Title = "Project list";
}
<h2>@ViewBag.Message</h2>
<p>
@Html.HasPermission(Csla.Rules.AuthorizationActions.CreateObject, typeof(ProjectEdit), Html.ActionLink("Create New", ... | @using Csla.Web.Mvc
@using ProjectTracker.Library
@model IEnumerable<ProjectTracker.Library.ProjectInfo>
@{
ViewBag.Title = "Project list";
}
<h2>@ViewBag.Message</h2>
<p>
@Html.HasPermission(Csla.Rules.AuthorizationActions.CreateObject, typeof(ProjectEdit), Html.ActionLink("Create New", ... | Remove redundant code. bugid: 912 | Remove redundant code.
bugid: 912
| C# | mit | JasonBock/csla,JasonBock/csla,ronnymgm/csla-light,jonnybee/csla,rockfordlhotka/csla,BrettJaner/csla,BrettJaner/csla,JasonBock/csla,MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,rockfordlhotka/csla,ronnymgm/csla-light,ronnymgm/csla-light,BrettJaner/csla,jonnybee/csla,MarimerLLC/csla,rockfordlhotka/csla |
effe33d4a73620d5347cbaf91d3db668395eed18 | CupCake.Client/Dispatch.cs | CupCake.Client/Dispatch.cs | using System;
using System.Windows;
namespace CupCake.Client
{
public static class Dispatch
{
public static void Invoke(Action callback)
{
Application.Current.Dispatcher.BeginInvoke(callback);
}
}
} | using System;
using System.Windows;
namespace CupCake.Client
{
public static class Dispatch
{
public static void Invoke(Action callback)
{
Application.Current.Dispatcher.Invoke(callback);
}
}
} | Fix newConnection window is sometimes not displayed | Fix newConnection window is sometimes not displayed
| C# | mit | Yonom/CupCake |
651cf1595248f5e66005bb515053734f961f65be | src/Pickles/Pickles.TestFrameworks/XUnit/XUnitResultsBase.cs | src/Pickles/Pickles.TestFrameworks/XUnit/XUnitResultsBase.cs | using System.Linq;
using PicklesDoc.Pickles.ObjectModel;
namespace PicklesDoc.Pickles.TestFrameworks.XUnit
{
public abstract class XUnitResultsBase<TSingleResult> : MultipleTestResults
where TSingleResult : XUnitSingleResultsBase
{
public XUnitResultsBase(IConfiguration configuration, ISingleR... | using System.Linq;
using PicklesDoc.Pickles.ObjectModel;
namespace PicklesDoc.Pickles.TestFrameworks.XUnit
{
public abstract class XUnitResultsBase<TSingleResult> : MultipleTestResults
where TSingleResult : XUnitSingleResultsBase
{
protected XUnitResultsBase(IConfiguration configuration, ISing... | Make constructor of abstract class protected | Make constructor of abstract class protected
| C# | apache-2.0 | picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles,dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles |
ae03ef07875752960de705094946409e0b9cf655 | osu.Game/Overlays/Options/Sections/Audio/AudioDevicesOptions.cs | osu.Game/Overlays/Options/Sections/Audio/AudioDevicesOptions.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Overlays.Options.Sections.Audio
{
public class AudioDevicesOptions : OptionsSubsection
{
protected override string Header => "Devices";... | //Copyright (c) 2007-2016 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.Game.Ov... | Allow audio device selection in settings | Allow audio device selection in settings
| C# | mit | osu-RP/osu-RP,peppy/osu,ZLima12/osu,smoogipoo/osu,Drezi126/osu,default0/osu,naoey/osu,ppy/osu,Nabile-Rahmani/osu,NotKyon/lolisu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,nyaamara/osu,ZLima12/osu,UselessToucan/osu,UselessToucan/osu,RedNesto/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,tacchinotacchi/osu,2yangk23/osu,peppy/... |
fd28b58b12e580c3509c3e8ccb26a82205f99b54 | Assets/Scripts/FollowCamera.cs | Assets/Scripts/FollowCamera.cs | using UnityEngine;
using System.Collections;
public class FollowCamera : MonoBehaviour {
public GameObject global;
public GameObject objectToFollow;
// Use this for initialization
void Start () {
if (global == null)
{
return;
}
Global g = global.GetComponent<Global>();
if ... | using UnityEngine;
using System.Collections;
public class FollowCamera : MonoBehaviour {
public GameObject global;
public GameObject objectToFollow;
// Use this for initialization
void Start () {
if (global == null)
{
return;
}
Global g = global.GetComponent<Global>();
if ... | Fix linking of follow camera to hero | Fix linking of follow camera to hero
| C# | mit | puzzud/Flipper |
f9c369b23cff9b0bdc1b8b7907ed74d8919bf123 | osu.Game/Overlays/Toolbar/ToolbarMusicButton.cs | osu.Game/Overlays/Toolbar/ToolbarMusicButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics.Sprites;
using osu.Game.Input.Bindings;
namespace osu.Game.Overlays.Toolbar
{
public class ToolbarMusic... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Game.Input.Bindings;
namespace osu.Game.Overlays.Toolbar
{... | Fix toolbar music button tooltip overflowing off-screen | Fix toolbar music button tooltip overflowing off-screen
| C# | mit | ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu |
cb2e7cd7a7b727ea06335de655004b9ea4c74688 | Source/Miruken/Callback/Resolving.cs | Source/Miruken/Callback/Resolving.cs | namespace Miruken.Callback
{
using System;
public class Resolving : Inquiry, IResolveCallback
{
private bool _handled;
public Resolving(object key, object callback)
: base(key, true)
{
if (callback == null)
throw new ArgumentNullException(na... | namespace Miruken.Callback
{
using System;
public class Resolving : Inquiry, IResolveCallback
{
private bool _handled;
public Resolving(object key, object callback)
: base(key, true)
{
if (callback == null)
throw new ArgumentNullException(na... | Handle callback directly if resolve bundle is empty | Handle callback directly if resolve bundle is empty
| C# | mit | Miruken-DotNet/Miruken |
b000056c601321f0847e0b7506ea08f1bbf5c999 | src/Diploms.DataLayer/DiplomContextExtensions.cs | src/Diploms.DataLayer/DiplomContextExtensions.cs | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
using System.Collections.Generic;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(... | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
using System.Collections.Generic;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(... | Add positions to db on startup | Add positions to db on startup
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
278fc6f51918c222ea2380ef0e2dde2d434c4fd7 | BmpListener/Bmp/Bmp.cs | BmpListener/Bmp/Bmp.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BmpListener.Bmp
{
public enum MessageType : byte
{
RouteMonitoring,
StatisticsReport,
PeerDown,
PeerUp,
Initiation,
Termination,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BmpListener.Bmp
{
public enum MessageType
{
RouteMonitoring,
StatisticsReport,
PeerDown,
PeerUp,
Initiation,
Termination,
RouteM... | Remove enum underlying type declaration | Remove enum underlying type declaration
| C# | mit | mstrother/BmpListener |
600d0798678a35880f512fb6162e23170f3a88ab | Framework/Lokad.Cqrs.Azure/Core.Serialization/DataSerializerWithProtoBuf.cs | Framework/Lokad.Cqrs.Azure/Core.Serialization/DataSerializerWithProtoBuf.cs | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using System.Collections.Generic;
using ProtoBuf.Me... | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using System.Collections.Generic;
using ProtoBuf.Me... | Remove contract count check for protobuf | Remove contract count check for protobuf
| C# | bsd-3-clause | modulexcite/lokad-cqrs |
35918d8fff5efe69069497fa31d2c574d6217bac | src/Squirrel/ReleaseExtensions.cs | src/Squirrel/ReleaseExtensions.cs | using NuGet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Squirrel
{
public static class VersionExtensions
{
private static readonly Regex _suffixRegex = new Regex(@"(-full|-delta)?\.nupkg$", Rege... | using NuGet;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Squirrel
{
public static class VersionExtensions
{
static readonly Regex _suffixRegex = new Regex(@"(-full|-delta)?\.nupkg$", RegexOptions... | Remove private qualifier on version regexes | Remove private qualifier on version regexes
| C# | mit | hammerandchisel/Squirrel.Windows,jochenvangasse/Squirrel.Windows,hammerandchisel/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,NeilSorensen/Squirrel.Windows,bowencode/Squirrel.Windows,akrisiun/Squirrel.Windows,jochenvangasse/Squirrel.Windows,GeertvanHorrik/Squirrel.Windows,hammerandchisel/Squirrel.Windows,sickboy/Sq... |
f709cfcf873a28a914fbac66d566daf5d0786ed1 | EasySnippets/Utils/StartUpManager.cs | EasySnippets/Utils/StartUpManager.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Win32;
namespace EasySnippets.Utils
{
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Windows only app")]
public class StartUpManager
{
public static void A... | using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.Win32;
namespace EasySnippets.Utils
{
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "Windows only app")]
public class StartUpManager
{
public static void A... | Use AppContext.BaseDirectory for application path | Use AppContext.BaseDirectory for application path
| C# | mit | karolberezicki/EasySnippets |
2626ab41c3e38b775896c652c59f7b4b0ee335d4 | osu.Game/Screens/Play/ComboEffects.cs | osu.Game/Screens/Play/ComboEffects.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Audio;
using osu.Game.Configuration;
using osu.Game... | Add implicit braces for clarity | Add implicit braces for clarity
| C# | mit | smoogipooo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu |
0d814317ae1b285c955d9a8878614c7181b9bbd3 | aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator/Program.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator/Program.cs | using System;
using Abp;
using Abp.Collections.Extensions;
using Abp.Dependency;
using Castle.Facilities.Logging;
using Abp.Castle.Logging.Log4Net;
namespace AbpCompanyName.AbpProjectName.Migrator
{
public class Program
{
private static bool _skipConnVerification = false;
public static void M... | using System;
using Abp;
using Abp.Collections.Extensions;
using Abp.Dependency;
using Castle.Facilities.Logging;
using Abp.Castle.Logging.Log4Net;
namespace AbpCompanyName.AbpProjectName.Migrator
{
public class Program
{
private static bool _skipConnVerification = false;
public static void M... | Remove confirmation for exit with no verification | Remove confirmation for exit with no verification
In order to use Migrator in Continuous Integration pipelines (which runs unattended), it should have a fully silent mode. So I suggest making the wait for exit confirmation at the end optional. I reused `_skipConnVerification` since no backward compatibility required f... | C# | mit | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template |
535044e4f4a1d42380b88e53aafdbccedba5113c | src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Address.cs | src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/Address.cs | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
using System;
using System.Collections.Generic;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
{
public class Address : ValueObject
{
public String Street { get; }
public String ... | using Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork;
using System;
using System.Collections.Generic;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
{
public class Address : ValueObject
{
public String Street { get; private set; }
p... | Add private setters so deserializing on integration event handler works as expected. | Add private setters so deserializing on integration event handler works as expected.
| C# | mit | dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/... |
64edbf27a2c2c5957c478e8839b52b3c44cce026 | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2019";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2019";
public const string... | Update file version to 3.2.1.0 | Update file version to 3.2.1.0
| C# | mit | amay077/Xamarin.Forms.GoogleMaps |
bee730200792b96d9d95e340779d340fbfdd600e | src/PcscDotNet/PcscException.cs | src/PcscDotNet/PcscException.cs | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public delegate void PcscExceptionHandler(PcscException error);
public sealed class PcscException : Win32Exception
{
public SCardError Error => (SCardError)NativeErrorCode;
public bool ThrowIt { get; set; } = true;
... | using System;
using System.ComponentModel;
namespace PcscDotNet
{
public delegate void PcscExceptionHandler(PcscException error);
public sealed class PcscException : Win32Exception
{
public SCardError Error { get; private set; }
public bool ThrowIt { get; set; } = true;
public Pc... | Update `PcscExcetpion` class. Assign the value of `Error` in constructor. Remove unused constructors. | Update `PcscExcetpion` class.
Assign the value of `Error` in constructor.
Remove unused constructors.
| C# | mit | Archie-Yang/PcscDotNet |
dbffac2877efec923ede0512da1e4a696e81c011 | src/StraightSql/CommandPreparer.cs | src/StraightSql/CommandPreparer.cs | namespace StraightSql
{
using Npgsql;
using System;
public class CommandPreparer
: ICommandPreparer
{
public void Prepare(NpgsqlCommand npgsqlCommand, IQuery query)
{
if (npgsqlCommand == null)
throw new ArgumentNullException(nameof(npgsqlCommand));
if (query == null)
throw new ... | namespace StraightSql
{
using Npgsql;
using System;
using System.Linq;
public class CommandPreparer
: ICommandPreparer
{
public void Prepare(NpgsqlCommand npgsqlCommand, IQuery query)
{
if (npgsqlCommand == null)
throw new ArgumentNullException(nameof(npgsqlCommand));
i... | Replace literals in order of key length, e.g. most-specific first. | Replace literals in order of key length, e.g. most-specific first.
| C# | mit | brendanjbaker/StraightSQL |
a4c3f76f00bd7c9196559ddc7977ec6f5ee89b43 | BatteryCommander.Web/IdentityConfig.cs | BatteryCommander.Web/IdentityConfig.cs | [assembly: Microsoft.Owin.OwinStartup(typeof(BatteryCommander.Web.Startup))]
namespace BatteryCommander.Web
{
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
using System;
public partial class Startup
{
public void Configur... | [assembly: Microsoft.Owin.OwinStartup(typeof(BatteryCommander.Web.Startup))]
namespace BatteryCommander.Web
{
using Microsoft.AspNet.Identity;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Owin;
using System;
public partial class Startup
{
public void Configur... | Extend cookie timeout to 1 day | Extend cookie timeout to 1 day
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
41acbcf90ed302bc1b3689bd46237838f098b3f7 | src/Cloud.Storage.AWS/Queues/Queue.cs | src/Cloud.Storage.AWS/Queues/Queue.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cloud.Storage.Queues;
namespace Cloud.Storage.AWS.Queues
{
public class Queue : IQueue
{
public Task AddMessage(IMessage message)
{
throw new NotImplementedException();
}
public IMessage CreateMessage(byte[] messageConte... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Cloud.Storage.Queues;
namespace Cloud.Storage.AWS.Queues
{
public class Queue : IQueue
{
public Task AddMessage(IMessage message)
{
throw new NotImplementedException();
}
public Task Clear()
{
throw new NotImplement... | Fix compilation issues on AWS side. | Fix compilation issues on AWS side.
| C# | mit | bstark23/Cloud.Storage |
f31ff2411e3c81c076f70685cc62986337f6ffe7 | src/Microsoft.ApplicationInsights.AspNetCore/Common/InjectionGuardConstants.cs | src/Microsoft.ApplicationInsights.AspNetCore/Common/InjectionGuardConstants.cs | namespace Microsoft.ApplicationInsights.AspNetCore.Common
{
/// <summary>
/// These values are listed to guard against malicious injections by limiting the max size allowed in an HTTP Response.
/// These max limits are intentionally exaggerated to allow for unexpected responses, while still guarding agains... | namespace Microsoft.ApplicationInsights.AspNetCore.Common
{
/// <summary>
/// These values are listed to guard against malicious injections by limiting the max size allowed in an HTTP Response.
/// These max limits are intentionally exaggerated to allow for unexpected responses, while still guarding agains... | Adjust max size of contents read from incoming request headers to be 1k | Adjust max size of contents read from incoming request headers to be 1k
| C# | mit | Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore |
ea3505fd17a2c33067c978bb9d8b0e51c9c55ef2 | DNSAgent/DnsMessageCache.cs | DNSAgent/DnsMessageCache.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using ARSoft.Tools.Net.Dns;
namespace DNSAgent
{
internal class DnsCacheMessageEntry
{
public DnsCacheMessageEntry(DnsMessage message, int timeToLive)
{
Message = message;
timeToLive =
... | using System;
using System.Collections.Concurrent;
using System.Linq;
using ARSoft.Tools.Net.Dns;
namespace DNSAgent
{
internal class DnsCacheMessageEntry
{
public DnsCacheMessageEntry(DnsMessage message, int timeToLive)
{
Message = message;
var records = message.Answer... | Fix "Sequence contains no elements" error. | Fix "Sequence contains no elements" error.
| C# | mit | stackia/DNSAgent |
f99099c016158e1ad78874b814ec4a81737d7330 | Assets/RainbowItems/Editor/Settings/CustomBrowserIconSettings.cs | Assets/RainbowItems/Editor/Settings/CustomBrowserIconSettings.cs | /*
* 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, software
* distrib... | /*
* 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, software
* distrib... | Check for an exact match of item name | Check for an exact match of item name
| C# | apache-2.0 | PhannGor/unity3d-rainbow-folders |
f292872f6c45972b1d10b88e98b277183a140f64 | osu.Framework/Utils/ThrowHelper.cs | osu.Framework/Utils/ThrowHelper.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 enable
using System;
namespace osu.Framework.Utils
{
public static class ThrowHelper
{
public static void ThrowInvalidOperationException(strin... | // 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 enable
using System;
namespace osu.Framework.Utils
{
/// <summary>
/// Helper class for throwing exceptions in isolated methods, for cases where metho... | Add xmldoc and TODO comment | Add xmldoc and TODO comment
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework |
e80e413cf001bd77bec30688ae2c56c1c5aa2d6b | src/Avalonia.Base/Metadata/XmlnsPrefixAttribute.cs | src/Avalonia.Base/Metadata/XmlnsPrefixAttribute.cs | using System;
namespace Avalonia.Metadata
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class XmlnsPrefixAttribute : Attribute
{
/// <summary>
/// Constructor
/// </summary>
/// <param name="xmlNamespace">XML namespce</param>
/// ... | using System;
namespace Avalonia.Metadata
{
/// <summary>
/// Use to predefine the prefix associated to an xml namespace in a xaml file
/// </summary>
/// <remarks>
/// example:
/// [assembly: XmlnsPrefix("https://github.com/avaloniaui", "av")]
/// xaml:
/// xmlns:av="https://github.co... | Add sumary and remark to class header | Add sumary and remark to class header
| C# | mit | wieslawsoltes/Perspex,Perspex/Perspex,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,w... |
fac0e67cf772c05ba092ad5515628335c556f220 | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2019 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyProduct( "ZEISS PiWeb Api" )]
[assembly: AssemblyCopyright( "Copyright © 2019 Carl Zeiss Innovationszentrum für Messtechnik GmbH" )]
[assembly: AssemblyTrademark... | Update assembly version to 4.0.0 (+semver: major) | Update assembly version to 4.0.0 (+semver: major)
| C# | bsd-3-clause | ZEISS-PiWeb/PiWeb-Api |
bebb47f5cfb0b549e4625b0d0a11ba05bdb1586a | src/xunit.netcore.extensions/Attributes/SkipOnTargetFrameworkAttribute.cs | src/xunit.netcore.extensions/Attributes/SkipOnTargetFrameworkAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test metho... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using Xunit.Sdk;
namespace Xunit
{
/// <summary>
/// Apply this attribute to your test metho... | Allow specifying metadata for skip reason. | Allow specifying metadata for skip reason.
| C# | mit | mmitche/buildtools,stephentoub/buildtools,jthelin/dotnet-buildtools,AlexGhiondea/buildtools,roncain/buildtools,karajas/buildtools,MattGal/buildtools,JeremyKuhne/buildtools,ChadNedzlek/buildtools,AlexGhiondea/buildtools,crummel/dotnet_buildtools,MattGal/buildtools,ChadNedzlek/buildtools,joperezr/buildtools,nguerrera/bui... |
f47f6aa267ad3771121af84420dd10293cb74c84 | Assets/Scripts/LinkButton.cs | Assets/Scripts/LinkButton.cs | using UnityEngine;
public class LinkButton : MonoBehaviour {
public void OpenUrl (string url) {
Application.OpenURL(url);
}
}
| using UnityEngine;
public class LinkButton : MonoBehaviour {
public void OpenUrl (string url) {
if(Application.platform == RuntimePlatform.WebGLPlayer) {
Application.ExternalEval("window.open(\"" + url + "\",\"_blank\")");
} else {
Application.OpenURL(url);
}
}
}
| Fix link open in browsers | Fix link open in browsers
| C# | mit | ZombieUnicornStudio/Arkapongout |
db8371d3afcdc76756078efe915df22e0d66dc6d | Wox/PluginLoader/PythonPluginLoader.cs | Wox/PluginLoader/PythonPluginLoader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Python.Runtime;
using Wox.Plugin;
namespace Wox.PluginLoader
{
public class PythonPluginLoader : BasePluginLoader
{
public override List<PluginPair> LoadPlugin()
{
List<PluginPair> plug... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Python.Runtime;
using Wox.Plugin;
using Wox.Helper;
namespace Wox.PluginLoader
{
public class PythonPluginLoader : BasePluginLoader
{
public override List<PluginPair> LoadPlugin()
{
if ... | Fix crash issue when user didn't install python. | Fix crash issue when user didn't install python.
| C# | mit | Launchify/Launchify,Launchify/Launchify,gnowxilef/Wox,danisein/Wox,kayone/Wox,qianlifeng/Wox,18098924759/Wox,vebin/Wox,Rovak/Wox,dstiert/Wox,orzFly/Wox,AlexCaranha/Wox,qianlifeng/Wox,kdar/Wox,EmuxEvans/Wox,apprentice3d/Wox,yozora-hitagi/Saber,renzhn/Wox,sanbinabu/Wox,sanbinabu/Wox,Rovak/Wox,qianlifeng/Wox,apprentice3d/... |
eec69df674d92f90f5d5a8c13cf81179836ffc30 | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs | src/SevenDigital.Api.Wrapper.Integration.Tests/EndpointTests/TagsEndpoint/ArtistByTagTopTests.cs | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Schema.Tags;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.TagsEndpoint
{
[TestFixture]
public class ArtistByTagTopTests
{
[Test]
public void Can_hit_endpoint()
{
ArtistByTagTop tags = Api... | using System.Linq;
using NUnit.Framework;
using SevenDigital.Api.Schema;
using SevenDigital.Api.Schema.Tags;
namespace SevenDigital.Api.Wrapper.Integration.Tests.EndpointTests.TagsEndpoint
{
[TestFixture]
public class ArtistByTagTopTests
{
private const string Tags = "rock,pop";
[Test]
public v... | Fix test failure After consulting with search team, we can get results needed for this test by searching for "rock,pop" not "rock,pop,2000s" | Fix test failure
After consulting with search team, we can get results needed for this test
by searching for "rock,pop" not "rock,pop,2000s"
| C# | mit | danhaller/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital... |
6cdfbeb0a35ac7d7fc5ff0689e763b1ef3d2743b | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostAnticipatedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostAnticipatedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedMovie>, TraktMostAnticipatedMovie>
{
internal... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Movies.Common;
internal class TraktMoviesMostAnticipatedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostAnticipatedMovie>, TraktMostAnticipatedMovie>
{
... | Add filter property to most anticipated movies request. | Add filter property to most anticipated movies request.
| C# | mit | henrikfroehling/TraktApiSharp |
fb1aadfb93f8edf81119324f58f627440dee49b8 | DiscogsClient/Data/Result/DiscogsRelease.cs | DiscogsClient/Data/Result/DiscogsRelease.cs | using System;
namespace DiscogsClient.Data.Result
{
public class DiscogsRelease : DiscogsReleaseBase
{
public DiscogsReleaseArtist[] extraartists { get; set; }
public DiscogsReleaseLabel[] labels { get; set; }
public DiscogsReleaseLabel[] companies { get; set; }
public DiscogsF... | using System;
namespace DiscogsClient.Data.Result
{
public class DiscogsRelease : DiscogsReleaseBase
{
public DiscogsReleaseArtist[] extraartists { get; set; }
public DiscogsReleaseLabel[] labels { get; set; }
public DiscogsReleaseLabel[] companies { get; set; }
public DiscogsF... | Add DiscogRelease properties: lowest_price and num_for_sale | Add DiscogRelease properties: lowest_price and num_for_sale
| C# | mit | David-Desmaisons/DiscogsClient |
6e1f30d81653d5a4d2832fbfa5ecc161efe91196 | src/es/AssemblyInfo.cs | src/es/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Logo en español para Xamarin Workbooks")]
[assembly: AssemblyDescription("Aprende a programar con Xamarin Workbooks, C# y la legendaria Tortuga!")]
[assembly: AssemblyCulture("es")]
// NuGet package metadata
[assembly: AssemblyMetadata("id", "Logo.es")]
[assembly: A... | using System.Reflection;
[assembly: AssemblyTitle("Logo en español para Xamarin Workbooks")]
[assembly: AssemblyDescription("Aprende a programar con Xamarin Workbooks, C# y la legendaria Tortuga!")]
// NuGet package metadata
[assembly: AssemblyMetadata("id", "Logo.es")]
[assembly: AssemblyMetadata("authors", "Daniel... | Remove Culture since that causes issues for Workbooks | Remove Culture since that causes issues for Workbooks
| C# | mit | kzu/Logo |
05a5a63e96bc2c017b0bfdf5b76be2963d699701 | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyProduct("NuGet")]
[assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")]
[assembly: AssemblyConfiguration("")]
[assembly: A... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyProduct("NuGet")]
[assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")]
[assembly: AssemblyConfiguration("")]
[assembly: A... | Update assembly version to 2.2 | Update assembly version to 2.2
| C# | apache-2.0 | jmezach/NuGet2,mrward/NuGet.V2,GearedToWar/NuGet2,indsoft/NuGet2,themotleyfool/NuGet,jmezach/NuGet2,mono/nuget,rikoe/nuget,pratikkagda/nuget,dolkensp/node.net,kumavis/NuGet,chocolatey/nuget-chocolatey,zskullz/nuget,GearedToWar/NuGet2,RichiCoder1/nuget-chocolatey,mono/nuget,themotleyfool/NuGet,mrward/NuGet.V2,jmezach/Nu... |
f6616ba3b32db1cf91963de28187e35bc6c6b4ea | InterFAX.Api.Test.Integration/AccountTests.cs | InterFAX.Api.Test.Integration/AccountTests.cs | using NUnit.Framework;
namespace InterFAX.Api.Test.Integration
{
[TestFixture]
public class AccountTests
{
[Test]
public void can_get_balance()
{
var interfax = new FaxClient();
var actual = interfax.Account.GetBalance().Result;
Assert.IsTrue(actu... | using NUnit.Framework;
namespace InterFAX.Api.Test.Integration
{
[TestFixture]
public class AccountTests
{
[Test]
public void can_get_balance()
{
var interfax = new FaxClient();
var actual = interfax.Account.GetBalance().Result;
//Assert.IsTrue(ac... | Update account balance check, account can have zero balance and still be valid. | Update account balance check, account can have zero balance and still be valid.
| C# | mit | interfax/interfax-dotnet,interfax/interfax-dotnet |
e5a4156c552486d9ac65ec91f5322d9b83cbd294 | src/IntelliTect.Coalesce.Tests/TargetClasses/CaseDtoStandalone.cs | src/IntelliTect.Coalesce.Tests/TargetClasses/CaseDtoStandalone.cs | using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using IntelliTect.Coalesce;
using IntelliTect.Coalesce.DataAnnotations;
using IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext;
#nullable enable
namespace IntelliTect.Coalesce.Tests.Targe... | using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using IntelliTect.Coalesce;
using IntelliTect.Coalesce.DataAnnotations;
using IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext;
#nullable enable
namespace IntelliTect.Coalesce.Tests.Targe... | Add additional code gen smoke test cases | Add additional code gen smoke test cases
| C# | apache-2.0 | IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce |
c4c59d6f50672ccbbe2aaa0dfde00312cfbe9023 | src/HardwareSensorSystem.SensorTechnology/Controllers/OwServerEnet2LogController.cs | src/HardwareSensorSystem.SensorTechnology/Controllers/OwServerEnet2LogController.cs | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace HardwareSensorSystem.SensorTechnology.Controllers
{
public class OwServerEnet2LogController... | using HardwareSensorSystem.SensorTechnology.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Hardwa... | Update log controller for ow-server-enet | Update log controller for ow-server-enet
| C# | apache-2.0 | eKiosk/HardwareSensorSystem,eKiosk/HardwareSensorSystem,eKiosk/HardwareSensorSystem |
3b815536498f04290e15054ea5ee3c84d88b1cfe | AerospikeClient/Lua/LuaConfig.cs | AerospikeClient/Lua/LuaConfig.cs | /*
* Copyright 2012-2015 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* 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 Lice... | /*
* Copyright 2012-2015 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements.
*
* 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 Lice... | Replace more hard-coded directory separators with "Path.DirectorySeparatorChar" | Replace more hard-coded directory separators with "Path.DirectorySeparatorChar"
| C# | apache-2.0 | YuvalItzchakov/aerospike-client-csharp |
22e9a95486ffb6c5751a3b75dbc22a5eb00ae5e2 | XF_TabbedPage/XF_TabbedPage/XF_TabbedPage/Page3.cs | XF_TabbedPage/XF_TabbedPage/XF_TabbedPage/Page3.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using Xamarin.Forms;
namespace XF_TabbedPage
{
public class Page3 : ContentPage
{
public Page3()
{
NavigationPage.SetHasNavigationBar(this, false);
var ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Text;
using Xamarin.Forms;
namespace XF_TabbedPage
{
public class Page3 : ContentPage
{
public Page3()
{
NavigationPage.SetHasNavigationBar(this, false);
var ... | Add button to move to page1. it means both of destination page must set "HasNavigationBar=False" | Add button to move to page1. it means both of destination page must set "HasNavigationBar=False"
| C# | mit | ytabuchi/Study |
eb757d7aef7ee2a74d034e5378223e45aa50d996 | TMDbLib/Objects/General/ConfigImageTypes.cs | TMDbLib/Objects/General/ConfigImageTypes.cs | using System.Collections.Generic;
using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class ConfigImageTypes
{
[JsonProperty("base_url")]
public string BaseUrl { get; set; }
[JsonProperty("secure_base_url")]
public string SecureBaseUrl { get; set; }
[Jso... | using System.Collections.Generic;
using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class ConfigImageTypes
{
[JsonProperty("base_url")]
public string BaseUrl { get; set; }
[JsonProperty("secure_base_url")]
public string SecureBaseUrl { get; set; }
[Jso... | Add missing field to config | Add missing field to config
| C# | mit | LordMike/TMDbLib |
a4d6c788b2e603031a00e5d7a3e45d075de8f197 | MonsterClicker/MonsterClicker/Monster.cs | MonsterClicker/MonsterClicker/Monster.cs | using System;
using System.Collections.Generic;
namespace MonsterClicker
{
using Interfaces;
using System.Numerics;
using System.Windows.Forms;
public class Monster : IMonster
{
private BigInteger health;
private static BigInteger startHealth = 10;
private BigIn... | using System;
using System.Collections.Generic;
namespace MonsterClicker
{
using Interfaces;
using System.Numerics;
using System.Windows.Forms;
public class Monster : IMonster
{
private BigInteger health;
private static BigInteger startHealth = 10;
private BigIn... | Make a picture unque for every next level | Make a picture unque for every next level
| C# | mit | Barrelrolla/MonsterClicker |
5bde5c9a3c86e9cd54c46bb3eb304c3ef118e632 | build/scripts/utilities.cake | build/scripts/utilities.cake | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | #tool "nuget:?package=GitVersion.CommandLine"
#addin "Cake.Yaml"
public class ContextInfo
{
public string NugetVersion { get; set; }
public string AssemblyVersion { get; set; }
public GitVersion Git { get; set; }
public string BuildVersion
{
get { return NugetVersion + "-" + Git.Sha; }
... | Allow to run build even if git repo informations are not available | Allow to run build even if git repo informations are not available
| C# | mit | Abc-Arbitrage/zerio |
2ea0cdd6b76658b11bc9c472fb3ccd0da8859da8 | extra/UniversalCompiler/Compilers/Mono50Compiler.cs | extra/UniversalCompiler/Compilers/Mono50Compiler.cs | using System.Diagnostics;
using System.IO;
internal class Mono50Compiler : Compiler
{
public Mono50Compiler(Logger logger, string compilerPath) : base(logger, compilerPath, null) { }
public override string Name => "Mono C# 5.0";
protected override Process CreateCompilerProcess(Platform platform, string monoProfil... | using System.Diagnostics;
using System.IO;
using System.Linq;
internal class Mono50Compiler : Compiler
{
public Mono50Compiler(Logger logger, string compilerPath) : base(logger, compilerPath, null) { }
public override string Name => "Mono C# 5.0";
protected override Process CreateCompilerProcess(Platform platform... | Fix Mono 5.0 run under Unity 5.5+ | Fix Mono 5.0 run under Unity 5.5+
| C# | mit | SaladbowlCreative/Unity3D.IncrementalCompiler,SaladLab/Unity3D.IncrementalCompiler |
626fd591f4919aa33ee5d0c4b53e42e70dc2cb1e | ElmahDashboardHostingApp/Areas/MvcElmahDashboard/Views/Logs/ItemsPart.cshtml | ElmahDashboardHostingApp/Areas/MvcElmahDashboard/Views/Logs/ItemsPart.cshtml | @model ElmahDashboardHostingApp.Areas.MvcElmahDashboard.Models.Logs.ItemsModel
@{
Layout = null;
var dateFormat = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.Replace("yyyy", "yy").ToUpperInvariant();
}
@foreach (var item in Model.Items)
{
<a id="i@(item.Sequence)" c... | @model ElmahDashboardHostingApp.Areas.MvcElmahDashboard.Models.Logs.ItemsModel
@{
Layout = null;
var dateFormat = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.Replace("yyyy", "yy").ToUpperInvariant();
}
@* Disable Email obfuscation by Cloudflare (which is not compatible ... | Fix for email obfuscator of Cloudflare | Fix for email obfuscator of Cloudflare
| C# | mit | codetuner/Arebis.Web.Mvc.ElmahDashboard,codetuner/Arebis.Web.Mvc.ElmahDashboard,codetuner/Arebis.Web.Mvc.ElmahDashboard |
023692058b203a897101107adffd521a333d6a31 | src/PackageDiscovery/Finders/NuGetPackageFinder.cs | src/PackageDiscovery/Finders/NuGetPackageFinder.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace PackageDiscovery.Finders
{
public sealed class NuGetPackageFinder : IPackageFinder
{
public const string Moniker = "NuGet";
public IReadOnlyCollection<Package> FindPackages(DirectoryInfo dir... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace PackageDiscovery.Finders
{
public sealed class NuGetPackageFinder : IPackageFinder
{
public const string Moniker = "NuGet";
public IReadOnlyCollection<Package> FindPackages(DirectoryInfo dir... | Enumerate packages.config file from repositories.config files. | Enumerate packages.config file from repositories.config files.
| C# | mit | Peter-Juhasz/PackageDiscovery |
921775df77255232fa26a5505d04d6d8c1d99524 | src/Raven.Client.Contrib.MVC/Auth/Default/BCryptSecurityEncoder.cs | src/Raven.Client.Contrib.MVC/Auth/Default/BCryptSecurityEncoder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Contrib.MVC.Auth.Interfaces;
namespace Raven.Client.Contrib.MVC.Auth.Default
{
internal class BCryptSecurityEncoder : ISecurityEncoder
{
/// <summary>
/// Generates a unique token.
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Contrib.MVC.Auth.Interfaces;
namespace Raven.Client.Contrib.MVC.Auth.Default
{
internal class BCryptSecurityEncoder : ISecurityEncoder
{
/// <summary>
/// Generates a unique token.
... | Include a pepper in the hashing algorithm. | Include a pepper in the hashing algorithm.
| C# | mit | ravendb/ravendb.contrib |
3d2eece7b1cf3cd69a9f2d9fba5403c3a7a80a37 | Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs | Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class ListSerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return type... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Manatee.Json.Serialization.Internal.AutoRegistration
{
internal class ListSerializationDelegateProvider : SerializationDelegateProviderBase
{
public override bool CanHandle(Type type)
{
return type... | Decrease allocations in List Serializer | Decrease allocations in List Serializer
| C# | mit | gregsdennis/Manatee.Json,gregsdennis/Manatee.Json |
602ea75b3fd25cb85305389916842172553c7784 | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.Moq")]
[assembly: AssemblyDescription("Autofac Moq Integration")]
[assembly: ComVisible(false)] | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Autofac.Extras.Moq")]
[assembly: ComVisible(false)] | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Extras.Moq |
6f9abd7bfbb7f031d7d7f0a804fc3e4db1efc4be | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | namespace MyStudio.ViewModels
{
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel model;
private ICommandsService commandsService;
public RibbonViewModel(StudioStateM... | namespace MyStudio.ViewModels
{
using System.Collections.Generic;
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
using Orchestra.Models;
using Orchestra.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel mode... | Add recently used items data | Add recently used items data
| C# | mit | auz34/js-studio |
93115bcee7df1b1cc8bdf994832b04eaaae8c4a0 | src/Spectre.Cli/Internal/Commands/VersionCommand.cs | src/Spectre.Cli/Internal/Commands/VersionCommand.cs | using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using Spectre.Console;
namespace Spectre.Cli.Internal
{
[Description("Displays the CLI library version")]
[SuppressMessage("Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Injected")]
internal sealed class Versi... | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Spectre.Console;
namespace Spectre.Cli.Internal
{
[Description("Displays the CLI library version")]
[SuppressMessage("Performance", "CA1812:AvoidUninstantiatedInternalClass... | Fix displayed version in built-in version command | Fix displayed version in built-in version command
| C# | mit | spectresystems/commandline |
0fb27b97a09cca21a308e73fb38b1e9366e4edfd | VersionInfo.cs | VersionInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [as... | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [as... | Set the version to 1.3 since we're releasing. | Set the version to 1.3 since we're releasing.
| C# | apache-2.0 | SpectraLogic/ds3_net_powershell,RachelTucker/ds3_net_sdk,asomers/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_powershell,rpmoore/ds3_net_sdk,shabtaisharon/ds3_n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.