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 |
|---|---|---|---|---|---|---|---|---|---|
6700fd851b8196b34d053bd4956906a6ee6f6c7b | tests/Avalonia.Benchmarks/Visuals/VisualAffectsRenderBenchmarks.cs | tests/Avalonia.Benchmarks/Visuals/VisualAffectsRenderBenchmarks.cs | using Avalonia.Controls;
using Avalonia.Media;
using BenchmarkDotNet.Attributes;
namespace Avalonia.Benchmarks.Visuals;
[MemoryDiagnoser]
public class VisualAffectsRenderBenchmarks
{
private readonly TestVisual _target;
private readonly IPen _pen;
public VisualAffectsRenderBenchmarks()
{
... | Add a benchmark case for affects render. | Add a benchmark case for affects render.
| C# | mit | SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex | |
517fd4088594c43dc370d14717979e03e7a65aae | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | ExpressionToCodeTest/AnonymousObjectFormattingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExpressionToCodeLib;
using Xunit;
namespace ExpressionToCodeTest
{
public class AnonymousObjectFormattingTest
{
[Fact]
public void AnonymousObjectsRenderAsCode... | Add tests for anonymous object rendering. | Add tests for anonymous object rendering.
| C# | apache-2.0 | asd-and-Rizzo/ExpressionToCode,EamonNerbonne/ExpressionToCode | |
4d22f75d9b95c0e7cc18f54d94dacf463f8c682d | src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.cs | src/System.IO.Pipes/src/Microsoft/Win32/SafeHandles/SafePipeHandle.Windows.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 System.Runtime.InteropServices;
using System.Security;
namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafePipeHandle : Saf... | // 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 System.Runtime.InteropServices;
using System.Security;
namespace Microsoft.Win32.SafeHandles
{
public sealed partial class SafePipeHandle : Saf... | Change SafePipeHandle to use IntPtr.Zero instead of new IntPtr(0) | Change SafePipeHandle to use IntPtr.Zero instead of new IntPtr(0)
| C# | mit | alphonsekurian/corefx,Alcaro/corefx,arronei/corefx,Alcaro/corefx,kyulee1/corefx,ptoonen/corefx,fffej/corefx,rahku/corefx,stephenmichaelf/corefx,dtrebbien/corefx,dkorolev/corefx,fernando-rodriguez/corefx,EverlessDrop41/corefx,manu-silicon/corefx,Alcaro/corefx,anjumrizwi/corefx,fgreinacher/corefx,cydhaselton/corefx,tijoy... |
9ffa3fe9bcbe9bd48c1673703da56a9b61335de2 | src/FluentMigrator.Runner/TypeFinder.cs | src/FluentMigrator.Runner/TypeFinder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace FluentMigrator.Runner
{
/// <summary>
/// Advanced searching and filtration of types collections.
/// </summary>
static class TypeFinder
{
/// <summary>
/// Searches for types loca... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace FluentMigrator.Runner
{
/// <summary>
/// Advanced searching and filtration of types collections.
/// </summary>
static class TypeFinder
{
/// <summary>
/// Searches for types loca... | Allow for types with no namespaces | Allow for types with no namespaces
| C# | apache-2.0 | stsrki/fluentmigrator,fluentmigrator/fluentmigrator,tommarien/fluentmigrator,schambers/fluentmigrator,eloekset/fluentmigrator,KaraokeStu/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,igitur/fluentmigrator,eloekset/fluentmigrator,dealproc/fluentmigrator,lcharlebois/fluentmigrator,wolfascu/fluentmigr... |
0410d121c2eadd41e75cd09d147c227d267e287f | src/Avalonia.Native/Properties/AssemblyInfo.cs | src/Avalonia.Native/Properties/AssemblyInfo.cs | using Avalonia.MonoMac;
using Avalonia.Platform;
[assembly: ExportWindowingSubsystem(OperatingSystemType.OSX, 1, "MonoMac", typeof(MonoMacPlatform), nameof(MonoMacPlatform.Initialize))]
| Add windowing subsystem hookup for reflection UsePlatformDetect. | Add windowing subsystem hookup for reflection UsePlatformDetect.
| C# | mit | AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalon... | |
e6cf95db3bb89ad83c31fdd60b72d9db1bf8c9d7 | test/Nancy.Swagger.Tests/Services/DefaultSwaggerTagCatalogTest.cs | test/Nancy.Swagger.Tests/Services/DefaultSwaggerTagCatalogTest.cs | using FakeItEasy;
using Nancy.Swagger.Services;
using Swagger.ObjectModel;
using System.Collections.Generic;
using Xunit;
namespace Nancy.Swagger.Tests.Services
{
public class DefaultSwaggerTagCatalogTest
{
private DefaultSwaggerTagCatalog _defaultSwaggerTagCatalog;
public DefaultSwaggerTagCa... | Add unit tests for DefaultSwaggerTagCatalog | Add unit tests for DefaultSwaggerTagCatalog
| C# | mit | catcherwong/Nancy.Swagger,khellang/Nancy.Swagger,yahehe/Nancy.Swagger | |
d4af85e0431d1ba50a2b917c2113169c9385c2ba | src/Foundation/LinkerSafeAttribute.cs | src/Foundation/LinkerSafeAttribute.cs | //
// Copyright 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
/... | Add new [LinkerSafe] attribute - which tells the linker (when enabled) that an assembly is safe to link (even if Link All is not used) | Add new [LinkerSafe] attribute - which tells the linker (when enabled) that an assembly is safe to link (even if Link All is not used)
| C# | apache-2.0 | mono/maccore | |
1ab3dc0e561d83b8f30832fd06151792e3fb20f0 | DarkUI/Extensions/ProgressBarExtensions.cs | DarkUI/Extensions/ProgressBarExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DarkUI.Extensions
{
// https://stackoverflow.com/questions/6071626/progressbar-is-slow-in-windows-forms
public static class ExtensionMethods
{
/// <summary>
/// Sets ... | Add an instant progress bar extension method | Add an instant progress bar extension method
| C# | mit | ActuallyaDeviloper/DarkUI | |
8e5e5f103f6ebaa4140a5b0e71cadfedcbf70232 | test/Openchain.Sqlite.Tests/SqliteAnchorBuilderTests.cs | test/Openchain.Sqlite.Tests/SqliteAnchorBuilderTests.cs | // Copyright 2015 Coinprism, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | Add unit tests for the SqliteAnchorBuilder class | Add unit tests for the SqliteAnchorBuilder class
| C# | apache-2.0 | openchain/openchain | |
834ad3f09184611c5a65f95efb828204e920eed6 | ConvertBinaryToDecimal.cs | ConvertBinaryToDecimal.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BinaryToDecimal
{
class Program
{
static void Main(string[] args)
{
//Problem
//Convert a binary n to its decimal value
//Solution
... | Convert a binary to decimal value | Convert a binary to decimal value | C# | mit | DevGrl/Homework | |
a0984f89b1bce138e984ab3299e643eb34ae0f39 | test/ExceptionsAttributeTest.cs | test/ExceptionsAttributeTest.cs | using NUnit.Framework;
using System;
namespace NValidate.Tests
{
[TestFixture]
public class ExceptionsAttributeTest
{
[Test]
public void GetExceptionsSetEmpty()
{
var attribute = new ExceptionsAttribute();
Assert.That(attribute.GetExceptionsSet... | Add tests for the ExceptionsAttribute | Add tests for the ExceptionsAttribute
| C# | mit | horia141/nvalidate,horia141/nvalidate | |
0032501f20adb680738a9d3e28f7d3a91f342ccb | tests/Algorithms/Sha256Tests.cs | tests/Algorithms/Sha256Tests.cs | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class Sha256Tests
{
public static readonly string HashOfEmpty = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
[Fact]
public static void HashEmpty()
{
... | Add tests for Sha256 class | Add tests for Sha256 class
| C# | mit | ektrah/nsec | |
8b795cd52a2bbb7b955d73564c2c6d904505c11c | osu.Game.Rulesets.Osu.Tests/StackingTest.cs | osu.Game.Rulesets.Osu.Tests/StackingTest.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.IO;
using System.Linq;
using System.Text;
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Tests.Beatmaps... | Add very simple stacking test | Add very simple stacking test
| C# | mit | johnneijzen/osu,peppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,DrabWeb/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,naoey/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,ZLima12/osu,naoey/osu,smoogipooo/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/... | |
94559a95e19515618186bf6fc103d059c44236a9 | src/ChillTeasureTime/Assets/src/scripts/Levels/ItemSpawn.cs | src/ChillTeasureTime/Assets/src/scripts/Levels/ItemSpawn.cs | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ItemSpawn : MonoBehaviour
{
public string Guid;
public static List<string> CollectedList = new List<string>();
public GameObject Shiney;
public CollectableType ShineyType;
private GuiCanvas... | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class ItemSpawn : MonoBehaviour
{
public string Guid;
public static List<string> CollectedList = new List<string>();
public GameObject Shiney;
public CollectableType ShineyType;
private GuiCanvas... | Change wording on first shiney collect | Change wording on first shiney collect
| C# | mit | harjup/ChillTreasureTime |
9a08cc8c04d8a45747736bcea22db930e53e3096 | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneBeatSnap.cs | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneBeatSnap.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Tests.Beatmaps;
using osuTK... | Add test coverage of beat snapping hit circles | Add test coverage of beat snapping hit circles
| C# | mit | smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu | |
59c4dd6aba3a34c6e1ae0d325ee2ace4a899d16f | tests/Sakuno.Base.Tests/ProjectionCollectionTests.cs | tests/Sakuno.Base.Tests/ProjectionCollectionTests.cs | using Sakuno.Collections;
using System.Collections.ObjectModel;
using Xunit;
namespace Sakuno.Base.Tests
{
public static class ProjectionCollectionTests
{
[Fact]
public static void SimpleProjection()
{
var source = new ObservableCollection<int>();
var projection... | Add a test for projection collection | Add a test for projection collection
| C# | mit | KodamaSakuno/Sakuno.Base | |
b4c6894d13d96a9ba65162492459a2fe0a46de3e | osu.Game.Tests/Visual/SongSelect/TestSceneSongSelectFooter.cs | osu.Game.Tests/Visual/SongSelect/TestSceneSongSelectFooter.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.Graphics;
using osu.Game.Screens.Select;
namespace osu.Game.Tests.Visual.SongSelect
{
public class TestSceneSongSelectFooter : OsuManualInputMana... | Add test coverage for song select footer area | Add test coverage for song select footer area
| C# | mit | peppy/osu-new,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu | |
4d4119218ae659a208de132210e1c73ef870e8a8 | src/Firehose.Web/Authors/MattMcNabb.cs | src/Firehose.Web/Authors/MattMcNabb.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MattMcNabb : IAmACommunityMember
{
public string FirstName => "Matt";
public string LastName =... | Add Matt McNabb to authors | Add Matt McNabb to authors
| C# | mit | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | |
24d0411b85b03df4a6bcad5880f71e0d8b27a5f0 | MonoCatalog-MonoDevelop/AppDelegate.cs | MonoCatalog-MonoDevelop/AppDelegate.cs | using UIKit;
using Foundation;
namespace MonoCatalog
{
// The name AppDelegate is referenced in the MainWindow.xib file.
public partial class AppDelegate : UIApplicationDelegate
{
// This method is invoked when the application is ready to run
//
public override bool FinishedLaunching (UIApplication ... | using UIKit;
using Foundation;
namespace MonoCatalog
{
// The name AppDelegate is referenced in the MainWindow.xib file.
public partial class AppDelegate : UIApplicationDelegate
{
// This method is invoked when the application is ready to run
//
public override bool FinishedLaunching (UIApplication ... | Fix startup error - setup root view controller | [MonoCatalog] Fix startup error - setup root view controller | C# | mit | albertoms/monotouch-samples,markradacz/monotouch-samples,kingyond/monotouch-samples,iFreedive/monotouch-samples,xamarin/monotouch-samples,W3SS/monotouch-samples,albertoms/monotouch-samples,albertoms/monotouch-samples,W3SS/monotouch-samples,xamarin/monotouch-samples,markradacz/monotouch-samples,markradacz/monotouch-samp... |
2163a1375cc5d444c0a5403531746b880d875e73 | hangman.cs | hangman.cs | using System;
public class Hangman {
public static void Main(string[] args) {
Console.WriteLine("Hello, World!");
Console.WriteLine("You entered the following {0} command line arguments:",
args.Length );
for (int i=0; i < args.Length; i++) {
Console.WriteLine("{0}", args[i]);
}
}
}
| Add sample code in place of Hangman | Add sample code in place of Hangman
| C# | unlicense | 12joan/hangman | |
d0f10efb214bd47b94abdc3eb4035ec20f55ab92 | NLog.Web.AspNetCore/LayoutRenderers/Class.cs | NLog.Web.AspNetCore/LayoutRenderers/Class.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NLog.LayoutRenderers;
namespace NLog.Web.LayoutRenderers
{
/// <summary>
/// Print the TraceIdentifier
/// </summary>
/// <remarks>.NET Core Only</remarks>
[LayoutRenderer("asp... | Add ${aspnet-traceidentifier} (ASP.NET Core only) | Add ${aspnet-traceidentifier} (ASP.NET Core only)
| C# | bsd-3-clause | 304NotModified/NLog.Web,NLog/NLog.Web | |
b73e8261932c6694760b442337b4a07b8486dd69 | WootzJs.Mvc/Mvc/Views/Html.cs | WootzJs.Mvc/Mvc/Views/Html.cs | using WootzJs.Web;
namespace WootzJs.Mvc.Mvc.Views
{
public class Html : Control
{
private string html;
public Html(string html)
{
this.html = html;
}
protected override Element CreateNode()
{
var result = Browser.Document.CreateElement... | Add HTML control so you can add raw html to your layouts | Add HTML control so you can add raw html to your layouts
| C# | mit | kswoll/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,x335/WootzJs | |
ed8ff9800d1f9b6f8a87e254d5818d7f6c9b28c5 | src/SJP.Schematic.Oracle.Tests/OracleDatabaseRoutineProviderTests.cs | src/SJP.Schematic.Oracle.Tests/OracleDatabaseRoutineProviderTests.cs | using System;
using NUnit.Framework;
using Moq;
using SJP.Schematic.Core;
using System.Data;
namespace SJP.Schematic.Oracle.Tests
{
[TestFixture]
internal static class OracleDatabaseRoutineProviderTests
{
[Test]
public static void Ctor_GivenNullConnection_ThrowsArgNullException()
{... | Add tests for wrapping routine provider for Oracle. | Add tests for wrapping routine provider for Oracle.
| C# | mit | sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/Schematic,sjp/SJP.Schema | |
10a10538e44bf317602de956872533d4315be281 | ZocMon/ZocMon/ZocMonLib/Framework/RecordReduceStatusSourceProviderFile.cs | ZocMon/ZocMon/ZocMonLib/Framework/RecordReduceStatusSourceProviderFile.cs | using System;
using System.Configuration;
using System.IO;
using ZocMonLib;
namespace ZocMonLib
{
public class RecordReduceStatusSourceProviderFile : RecordReduceStatusSourceProvider
{
private readonly ISystemLogger _logger;
private readonly string _reducingStatusTxt = ConfigurationManager.AppS... | using System;
using System.Configuration;
using System.IO;
using ZocMonLib;
namespace ZocMonLib
{
public class RecordReduceStatusSourceProviderFile : RecordReduceStatusSourceProvider
{
private readonly ISystemLogger _logger;
private readonly string _reducingStatusTxt = ConfigurationManager.AppS... | Add extra checks around the trusting of the value in the file. By default we wont pull over anything invalid and log out when something is wroung. | Add extra checks around the trusting of the value in the file. By default we wont pull over anything invalid and log out when something is wroung.
| C# | apache-2.0 | ZocDoc/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon |
bbb1a4af5451bb6630d0fb6dffc91432a38c5522 | DomoCore/ProjectInstaller.Designer.cs | DomoCore/ProjectInstaller.Designer.cs | namespace Fr.Lakitrid.DomoCore
{
partial class ProjectInstaller
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | Add missing project installer file | Add missing project installer file
| C# | apache-2.0 | lakitrid/DomoSi,lakitrid/DomoSi,lakitrid/DomoSi,lakitrid/DomoSi,lakitrid/DomoSi | |
362a316cd628c4050850be4407a11c5d6b430e7a | test/Stormpath.Owin.IntegrationTest/LogoutRouteShould.cs | test/Stormpath.Owin.IntegrationTest/LogoutRouteShould.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Newtonsoft.Json;
using Stormpath.SDK.Account;
using Stormpath.SDK.Client;
using Stormpath.SDK.Resource;
using Xunit;
namespac... | Add a logout IT class | Add a logout IT class
| C# | apache-2.0 | stormpath/stormpath-dotnet-owin-middleware | |
9083b28114039b18078b0b0cc1402d15de88ed87 | osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.cs | osu.Game.Tests/Visual/Gameplay/TestSceneReplayPlayer.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.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osuTK.Input;
namespace osu.Game.Tests.Visual.Gameplay
{
public class TestSceneRepl... | Add test coverage of seeking and pausing | Add test coverage of seeking and pausing
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu | |
9f620b14a25462f0fc8aa6436695bf65c9131a89 | util/ProductInformation.cs | util/ProductInformation.cs | using System;
using System.Reflection;
namespace NMaier.SimpleDlna.Utilities
{
public static class ProductInformation
{
public static string Company
{
get
{
var attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
if (attribu... | using System;
using System.Reflection;
namespace NMaier.SimpleDlna.Utilities
{
public static class ProductInformation
{
public static string Company
{
get
{
var attributes = Assembly.GetEntryAssembly().GetCustomAttributes(typeof(AssemblyCompanyAttribute), false);
if (attributes.... | Use correct assembly to retrieve ProdInfo | Use correct assembly to retrieve ProdInfo
| C# | bsd-2-clause | antonio-bakula/simpleDLNA,bra1nb3am3r/simpleDLNA,nmaier/simpleDLNA,itamar82/simpleDLNA |
84b0a53c8c5a631540dbc1a964ef2537edc95c5d | src/dotless.Core/LessCssHttpHandler.cs | src/dotless.Core/LessCssHttpHandler.cs | namespace dotless.Core
{
using System.IO.Compression;
using System.Web;
using configuration;
using Microsoft.Practices.ServiceLocation;
public class LessCssHttpHandler : IHttpHandler
{
public IServiceLocator Container { get; set; }
public DotlessConfiguration Config { get; set;... | namespace dotless.Core
{
using System.IO.Compression;
using System.Web;
using configuration;
using Microsoft.Practices.ServiceLocation;
public class LessCssHttpHandler : IHttpHandler
{
public IServiceLocator Container { get; set; }
public DotlessConfiguration Config { get; set;... | Add proper error handling for IO errors. | Add proper error handling for IO errors.
| C# | apache-2.0 | rytmis/dotless,modulexcite/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,rytmis/dotless,r2i-sitecore/dotless,modulexcite/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,dotless/dotless,r2i-sitecore/dotless,modulexcite/dotless,dotless/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis... |
5a894edb4df3b41c78806a8108c4fd293aefaa43 | src/EditorFeatures/Core/ExternalAccess/VSTypeScript/VSTypeScriptProjectContextHandler.cs | src/EditorFeatures/Core/ExternalAccess/VSTypeScript/VSTypeScriptProjectContextHandler.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Languag... | Add missing project context handler for ts | Add missing project context handler for ts
| C# | mit | jasonmalinowski/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabad... | |
c96950ad38a1bad21b6adc480381e9371af4492a | src/Nether.Data.Sql/Analytics/SqlAnalyticsContextFactory.cs | src/Nether.Data.Sql/Analytics/SqlAnalyticsContextFactory.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Nether.Data.Sql.Common;
using S... | Add factory for analytics migrations | Add factory for analytics migrations
| C# | mit | oliviak/nether,ankodu/nether,ankodu/nether,ankodu/nether,navalev/nether,MicrosoftDX/nether,navalev/nether,navalev/nether,navalev/nether,ankodu/nether,krist00fer/nether | |
5b1273660cafbf28c5566243ef0feb2a53821b31 | TokenAuthentification/Controllers/OrderController.cs | TokenAuthentification/Controllers/OrderController.cs | using System;
using System.Collections.Generic;
using System.Web.Http;
namespace TokenAuthentification.Controllers
{
[RoutePrefix("api/orders")]
public class OrdersController : ApiController
{
[Authorize]
[Route("")]
public IHttpActionResult Get()
{
return Ok(Or... | Add order controller for authentified users | Add order controller for authentified users
| C# | mit | aliziani/ELearning,aliziani/ELearning,aliziani/ELearning | |
b333ebca4dd2618c41a7f1816136b4406e5b1c57 | Battery-Commander.Web/Controllers/API/WeaponsController.cs | Battery-Commander.Web/Controllers/API/WeaponsController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
[Route("api/[contr... | Add simple controller for weapons | Add simple controller for weapons
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | |
b064d37ad2d65a169943b22d4ef1a7d70d1dfe84 | src/Certify.Core/Properties/AssemblyInfo.cs | src/Certify.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following set of attributes.
// Change these attribute values to modify the information associated with an assembly.
[assembly: AssemblyTitle("... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following set of attributes.
// Change these attribute values to modify the information associated with an assembly.
[assembly: AssemblyTitle("... | Increment release number to 2.0.14 | Increment release number to 2.0.14
| C# | mit | Marcus-L/Certify,qwertyno/Certify,Prerequisite/Certify,webprofusion/Certify,ndouthit/Certify |
b10ee7482d8b72986448b2c33ec81d898df16556 | osu.Game.Rulesets.Catch.Tests/TestSceneCatchReplay.cs | osu.Game.Rulesets.Catch.Tests/TestSceneCatchReplay.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.Game.Beatmaps;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Catch.UI;
namespace... | Add a failing test to check catch replay accuracy | Add a failing test to check catch replay accuracy
| C# | mit | peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu | |
bceec36644b6d50e7cb4708388ff4f91f03a8b3b | A2BBAPI/Controllers/MeInOutController.cs | A2BBAPI/Controllers/MeInOutController.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using A2BBCommon.Models;
using A2BBCommon;
using A2BBAPI.Data;
using IdentityModel.Client;
using A2BBAPI.DTO;
using Microsoft.Extensions.Logging;
using A2BBAPI.Models;
using System.C... | Add user controller on API to check in/outs. | Add user controller on API to check in/outs.
| C# | apache-2.0 | marcuson/A2BBServer,marcuson/A2BBServer,marcuson/A2BBServer | |
36ca3ba13c3915f4d51bc1acbc52aa5e6506b1b4 | Mollie.Tests.Unit/Client/PaymentMethodClientTests.cs | Mollie.Tests.Unit/Client/PaymentMethodClientTests.cs | using Mollie.Api.Client;
using Mollie.Api.Models;
using NUnit.Framework;
using System.Net.Http;
using System.Threading.Tasks;
namespace Mollie.Tests.Unit.Client {
[TestFixture]
public class PaymentMethodClientTests : BaseClientTests {
private const string defaultPaymentMethodJsonResponse = @"{
... | Add unit tests to verify that the amount parameters are added to the query string when they are added as parameter | Add unit tests to verify that the amount parameters are added to the query string when they are added as parameter
| C# | mit | Viincenttt/MollieApi,Viincenttt/MollieApi | |
2ec5ae04c934de2a64ceb6e5c10cbaad85fedfa5 | MultipleKinectsPlatform/Data/Joint.cs | MultipleKinectsPlatform/Data/Joint.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
using System.IO;
namespace MultipleKinectsPlatform.MultipleKinectsPlatform.Data
{
[DataContract(Name="Joint")]
public class Joint
{
[DataMember]
... | Add a new datatype for joints | Add a new datatype for joints
| C# | agpl-3.0 | ethanlim/MinorityViewportClient | |
260d690b54479b0503c4c45f799cdb6c0f2ed5f7 | src/Amazon.S3/Helpers/HttpResponseMessageExtensions.cs | src/Amazon.S3/Helpers/HttpResponseMessageExtensions.cs | using System.Collections.Generic;
using System.Net.Http;
namespace Amazon.S3
{
internal static class HttpResponseMessageExtensions
{
public static Dictionary<string, string> GetProperties(this HttpResponseMessage response)
{
#if NET5_0
var result = new Dictionary<string, string>(16... | Add shared helper to flatten response headers | [S3] Add shared helper to flatten response headers
| C# | mit | carbon/Amazon | |
53ec76c642df518c00b5bba542bda52f55b54435 | SolidworksAddinFramework/RefAxisExtensions.cs | SolidworksAddinFramework/RefAxisExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using SolidworksAddinFramework.Geometry;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework
{
public static class RefAxisExtensions
{
public sta... | Add method to return Edge from IRefAxis | Add method to return Edge from IRefAxis
| C# | mit | Weingartner/SolidworksAddinFramework | |
99ffe61681884832cc59d17c0f884d7f0e352ab7 | NBi.Core/Members/PredefinedMembersFactory.cs | NBi.Core/Members/PredefinedMembersFactory.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace NBi.Core.Members
{
public class PredefinedMembersFactory
{
private readonly ICollection<BuilderRegistration> registrations;
public PredefinedMembersFactory()
{
... | Define the factory to handle the build of list | Define the factory to handle the build of list
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi | |
ceb049a20e779556867f890580425f01ad020524 | MonoDevelop.ResXEditor/Gui/ResXEditorDisplayBinding.cs | MonoDevelop.ResXEditor/Gui/ResXEditorDisplayBinding.cs | using System;
using MonoDevelop.Core;
using MonoDevelop.Ide.Gui;
using MonoDevelop.Projects;
namespace MonoDevelop.ResXEditor.Gui
{
class ResXEditorDisplayBinding : IViewDisplayBinding
{
public string Name {
get {
return "ResX Editor";
}
}
public bool CanUseAsDefault {
get { return true; }
}
... | Add file that wasn't in repo | Add file that wasn't in repo
| C# | mit | Therzok/MonoDevelop.ResXEditor | |
5c43eeadf702313d63032bb0f178126526f6e899 | MonoGameUtils/UI/Button.cs | MonoGameUtils/UI/Button.cs | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace MonoGameUtils.UI
{
/// <summary>
/// Represents a rectangular button that can be clicked in a game.
/// </summary>
public class Button : DrawableGameComponent
{
public SpriteFont Font { get; set; }
pub... | Add a very basic class to allow placing buttons on-screen. | Add a very basic class to allow placing buttons on-screen.
| C# | mit | dneelyep/MonoGameUtils | |
5b60db592ae86493285e2e577e1dcd8af37715c7 | IrcCalc/ShuntingYardState.cs | IrcCalc/ShuntingYardState.cs | using System;
using System.Collections.Generic;
using Calculation.ExtensionMethods;
using Operators = Calculation.ShuntingYardOperators;
namespace Calculation
{
class SmashTheState
{
public int OpCount
{
get { return opStack.Count; }
}
public bool NextIsFunction
... | Prepare ShuntingYard for a state object | IrcCalc: Prepare ShuntingYard for a state object
With the prospect of assignment being a valid calculation we need to
expose variable assignment to the ShuntingYard calculator. I was already
passing state aroung (2 stacks) and managing a 3rd state object seemed
like too much clutter. Hence the collection of state in a... | C# | bsd-2-clause | IvionSauce/MeidoBot | |
185ad01ba38bbfa66f0fc8aa1cc31e5bcae52c32 | JsonSubTypes.Tests/DeeplyNestedDeserializationTests.cs | JsonSubTypes.Tests/DeeplyNestedDeserializationTests.cs | using Newtonsoft.Json;
using NUnit.Framework;
namespace JsonSubTypes.Tests
{
[TestFixture]
public class DeeplyNestedDeserializationTests
{
[JsonConverter(typeof(JsonSubtypes), nameof(SubTypeClass.Discriminator))]
[JsonSubtypes.KnownSubType(typeof(SubTypeClass), "SubTypeClass")]
pub... | Add failing test of deserializing deeply nested JSON with higher-than-default MaxDepth set | Add failing test of deserializing deeply nested JSON with higher-than-default MaxDepth set
| C# | mit | manuc66/JsonSubTypes | |
4ea9b02aa64864890aa9c88cc849fa0dd763e146 | Auth/Program.cs | Auth/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using RapID.ClassLibrary;
namespace RapID.Auth
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
st... | Reset the Application Entry Point | Reset the Application Entry Point
| C# | apache-2.0 | Rap-ID/Rap-ID-Windows,Rap-ID/Rap-ID-Windows | |
cb51945de9a0b6f8fc58329d02e6b1e63ef76ac1 | tools/Google.Cloud.Tools.ReleaseManager/UpdateDependencies.cs | tools/Google.Cloud.Tools.ReleaseManager/UpdateDependencies.cs | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Add tool to update all dependencies | Add tool to update all dependencies
This is typically useful after a GAX or gRPC release.
| C# | apache-2.0 | jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet | |
74b42cff9fa1a644b0d1154808bcc2d200893a63 | KenticoInspector.Reports/WebPartPerformanceAnalysis/Report.cs | KenticoInspector.Reports/WebPartPerformanceAnalysis/Report.cs | using KenticoInspector.Core;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Models;
using System;
using System.Collections.Generic;
namespace KenticoInspector.Reports.WebPartPerformanceAnalysis
{
class Report : IReport
{
public string Codename => nameof(WebPartPerformanceAnalysis);... | Add empty report for web part performance analysis | Add empty report for web part performance analysis
| C# | mit | Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector | |
bc08fbe06e5b1cd33f8fbb2e596ddbf4d5cace06 | SCPI.Tests/System/SYSTEM_LANGUAGE_Tests.cs | SCPI.Tests/System/SYSTEM_LANGUAGE_Tests.cs | using SCPI.System;
using System.Text;
using Xunit;
namespace SCPI.Tests.System
{
public class SYSTEM_LANGUAGE_Tests
{
[Theory]
[InlineData("ENGL")]
[InlineData("GERM")]
public void LanguageIsSetToProperty(string expected)
{
// Arrange
var cmd = n... | Add unit test for SYSTEM_LANGUAGE SCPI command | Add unit test for SYSTEM_LANGUAGE SCPI command
| C# | mit | tparviainen/oscilloscope | |
f4a70a883d168a2f3dc4179982fce7fa212b848b | Opserver.Core/OpserverCore.cs | Opserver.Core/OpserverCore.cs | using StackExchange.Elastic;
namespace StackExchange.Opserver
{
public class OpserverCore
{
// Initializes various bits in OpserverCore like exception logging and such so that projects using the core need not load up all references to do so.
public static void Init()
{
try
... | using StackExchange.Elastic;
namespace StackExchange.Opserver
{
public class OpserverCore
{
// Initializes various bits in OpserverCore like exception logging and such so that projects using the core need not load up all references to do so.
public static void Init()
{
try
... | Comment out per-error logging, now only needed for logging | Comment out per-error logging, now only needed for logging
| C# | mit | michaelholzheimer/Opserver,hotrannam/Opserver,a9261/Opserver,mqbk/Opserver,opserver/Opserver,vebin/Opserver,geffzhang/Opserver,mqbk/Opserver,manesiotise/Opserver,Janiels/Opserver,vbfox/Opserver,agrath/Opserver,GABeech/Opserver,wuanunet/Opserver,michaelholzheimer/Opserver,a9261/Opserver,agrath/Opserver,huoxudong125/Opse... |
dd50c5dc1a2102cca5f7f967ccb7e4750a5b0c71 | osu.Game.Rulesets.Osu.Tests/TestCaseOsuPlayer.cs | osu.Game.Rulesets.Osu.Tests/TestCaseOsuPlayer.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;
namespace osu.Game.Rulesets.Osu.Tests
{
[TestFixture]
public class TestCaseOsuPlayer : Game.Tests.Visual.TestCasePlayer
{
publ... | Add player test for osu! ruleset | Add player test for osu! ruleset
| C# | mit | ZLima12/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,DrabWeb/osu,peppy/osu,smoogipooo/osu,johnneijzen/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,ppy... | |
4a54e7cdb83db4eb7f86d9af3f2e077d7668088f | osu.Game.Tests/Visual/Gameplay/TestScenePlayerScorePreparation.cs | osu.Game.Tests/Visual/Gameplay/TestScenePlayerScorePreparation.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Screens;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Scoring;
using osu.... | Add tests covering score preparation flow | Add tests covering score preparation flow
| C# | mit | NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu | |
204a2337dd5c20bf4b36e771b89e334b5b089a8a | src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs | src/Package/Impl/Repl/Session/RSessionEvaluationCommands.cs | using System;
using System.Threading.Tasks;
using Microsoft.R.Host.Client;
namespace Microsoft.VisualStudio.R.Package.Repl.Session {
public static class RSessionEvaluationCommands {
public static Task OptionsSetWidth(this IRSessionEvaluation evaluation, int width) {
return evaluation.EvaluateNo... | using System;
using System.Threading.Tasks;
using Microsoft.R.Host.Client;
namespace Microsoft.VisualStudio.R.Package.Repl.Session {
public static class RSessionEvaluationCommands {
public static Task OptionsSetWidth(this IRSessionEvaluation evaluation, int width) {
return evaluation.EvaluateNo... | Hide 'vsgd' graphic devie function from Environment window | Hide 'vsgd' graphic devie function from Environment window
- change 'vsgd' to '.rtvs.vsgd' to hide
| C# | mit | karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher... |
782823ab39f4d8be8795f0ce9ee8879419ccaa18 | resharper/resharper-unity/src/CSharp/Feature/Services/Refactorings/Rename/UnityEventTargetAtomicRenameFactory.cs | resharper/resharper-unity/src/CSharp/Feature/Services/Refactorings/Rename/UnityEventTargetAtomicRenameFactory.cs | using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Refactorings.Specific.Rename;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Caches;
using JetBrains.ReSharper.Psi;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unit... | Disable rename for Unity event handlers | Disable rename for Unity event handlers
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
3c8a3303804084d55d60326bbe116c313b226875 | PSql.Tests/Tests.Support/TcpPort.cs | PSql.Tests/Tests.Support/TcpPort.cs | using System.Net;
using System.Net.Sockets;
namespace PSql.Tests
{
internal static class TcpPort
{
public static bool IsListening(ushort port)
{
const int TimeoutMs = 1000;
try
{
using var client = new TcpClient();
return cli... | Add helper to check TCP port status. | Add helper to check TCP port status.
| C# | isc | sharpjs/PSql,sharpjs/PSql | |
43ed52bbf6a49c57aeb1dc51df05c07dc20cd914 | Battery-Commander.Web/Controllers/API/JobsController.cs | Battery-Commander.Web/Controllers/API/JobsController.cs | using BatteryCommander.Web.Models;
using FluentScheduler;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
namespace BatteryCommander.Web.Controllers.API
{
public class JobsController : ApiController
{
public JobsController(Database db) : base(db)
{
/... | Add endpoints to view jobs | Add endpoints to view jobs
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | |
ce94c28e8accca783ae5f28b148a21207dfb6ef3 | Content.Tests/Shared/Administration/Logs/LogTypeTests.cs | Content.Tests/Shared/Administration/Logs/LogTypeTests.cs | using System;
using System.Linq;
using Content.Shared.Administration.Logs;
using NUnit.Framework;
namespace Content.Tests.Shared.Administration.Logs;
[TestFixture]
public class LogTypeTests
{
[Test]
public void Unique()
{
var types = Enum.GetValues<LogType>();
var duplicates = types
... | Add unit test to check for duplicate log types | Add unit test to check for duplicate log types
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | |
4987564c05a3bcdb50800765ba5727a333aae97c | Mastoon/Conveters/DataGridContentConveter.cs | Mastoon/Conveters/DataGridContentConveter.cs | using System;
using System.Globalization;
using System.Windows.Data;
namespace Mastoon.Conveters
{
public class DataGridContentConveter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var doc = new HtmlAgil... | Add content conveter to show DataGrid | :+1: Add content conveter to show DataGrid
| C# | mit | TomoyaShibata/Mastoon | |
5eb96111a9884be4f1df48782662a26ec664bbad | Blaze2/Blaze/Randomization/Lab/ExponentialDistribution.cs | Blaze2/Blaze/Randomization/Lab/ExponentialDistribution.cs | using System;
using System.Collections.Generic;
namespace Blaze.Randomization.Lab
{
public static class ExponentialDistribution
{
static readonly Random random = new Random();
public static double Next(double mean) =>
-mean * Math.Log(1 - random.NextDouble());
}
}
... | Add class for exponential distribution | Add class for exponential distribution
| C# | mit | sakapon/Blaze | |
1dc4dc4d03b55ff592655984c9d90dae4f006ab0 | RemoveEmptyEntries2.cs | RemoveEmptyEntries2.cs | #!/usr/bin/csexec -r:System.Windows.Forms.dll
using System;
using System.IO;
using System.Resources;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.Design;
public static class Program
{
public static void Main (string [] args)
{
try {
var script = new EmptyEntriesRemove... | Add alternate empty entries remover | WIP: Add alternate empty entries remover
| C# | mit | roman-yagodin/R7.Dnn.Localization,roman-yagodin/R7.DnnLocalization,roman-yagodin/R7.DnnLocalization,roman-yagodin/R7.Dnn.Localization | |
bda62c737ed08367c0a06b1e0c58182bd5e2318b | tests/Microsoft.Identity.Test.Unit.net45/CacheTests/ManualCacheLoadTest.cs | tests/Microsoft.Identity.Test.Unit.net45/CacheTests/ManualCacheLoadTest.cs | // ------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associate... | Add manual test to validate python cache | Add manual test to validate python cache
| C# | mit | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | |
ae5d8bf8aca580085cab4af7ba3cd77307114a82 | HarmonyTests/Extras/RetrieveOriginalMethod.cs | HarmonyTests/Extras/RetrieveOriginalMethod.cs | using HarmonyLib;
using NUnit.Framework;
using System.Diagnostics;
using System.Reflection;
namespace HarmonyLibTests.Extras
{
[TestFixture]
class RetrieveOriginalMethod : TestLogger
{
[Test]
public void Test0()
{
var harmony = new Harmony("test-original-method");
var originalMethod = AccessTools.Metho... | Add failing test which demonstrates bug with current implementation | Add failing test which demonstrates bug with
current implementation
| C# | mit | pardeike/Harmony | |
33790081604a6b4081f520b747871c4efb32f1ff | EnumerableAcceptor.cs | EnumerableAcceptor.cs | using System;
using System.Collections.Generic;
namespace CBojar.Acceptors
{
public class EnumerableAcceptor<T> : IAcceptor<T>
{
protected IEnumerable<T> _value;
public EnumerableAcceptor(IEnumerable<T> value) {
_value = value;
}
public IAcceptor<T> Accept(Action<T> visitor) {
foreach(T... | Add Acceptor for an Enumerable of objects. | Add Acceptor for an Enumerable of objects.
| C# | mit | cbojar/acceptor-csharp | |
b2a66b42015ec1d7e188dbfc60066470015a4c16 | src/DeclarativeSql/Internals/NumericHelper.cs | src/DeclarativeSql/Internals/NumericHelper.cs | using System;
namespace DeclarativeSql.Internals
{
/// <summary>
/// Provides helper methods for numeric.
/// </summary>
internal static class NumericHelper
{
/// <summary>
/// Gets the number of digits of the specified value.
/// </summary>
/// <param name="value... | Add helper methods for numeric | Add helper methods for numeric
| C# | mit | xin9le/DeclarativeSql | |
d20fb36f71478471452462fa753de92769facc50 | Stratis.Bitcoin/Connection/DropNodesBehaviour.cs | Stratis.Bitcoin/Connection/DropNodesBehaviour.cs | using System;
using System.Linq;
using NBitcoin;
using NBitcoin.Protocol;
using NBitcoin.Protocol.Behaviors;
namespace Stratis.Bitcoin.Connection
{
/// <summary>
/// If the light wallet is only connected to nodes behind
/// it cannot progress progress to the tip to get the full balance
/// this behav... | Add a behaviour to drop nodes if all the current connected nodes are behind. | Add a behaviour to drop nodes if all the current connected nodes are behind.
| C# | mit | bokobza/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,bokobza/StratisBitcoi... | |
19aa4235ba73a89701b18741062b88cc14eb7e7c | apis/Google.Storage.V1/Google.Storage.V1.IntegrationTests/AssemblyInfo.cs | apis/Google.Storage.V1/Google.Storage.V1.IntegrationTests/AssemblyInfo.cs | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | Disable concurrency for storage integration tests | Disable concurrency for storage integration tests
Basically, it makes timing issues harder to diagnose
| C# | apache-2.0 | googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,ctaggart/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/gcloud-dotnet,evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotne... | |
5cd2841080caf8e41b135d740a246f5d6535abae | osu.Game.Rulesets.Catch.Tests/TestSceneComboCounter.cs | osu.Game.Rulesets.Catch.Tests/TestSceneComboCounter.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Catch.Objec... | Add test scene showing off the skinnable catch-specific combo counter | Add test scene showing off the skinnable catch-specific combo counter
| C# | mit | UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu | |
bdd9bafc5ab3ce872df2ce17fc75293d6e83c96d | src/Corale.Colore/ColoreProvider.cs | src/Corale.Colore/ColoreProvider.cs | // ---------------------------------------------------------------------------------------
// <copyright file="ColoreProvider.cs" company="Corale">
// Copyright © 2015-2017 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this soft... | Add an instance provider for Colore | Add an instance provider for Colore
| C# | mit | CoraleStudios/Colore | |
e7dc58f113f9665b54a89f7d7bf2ac2875ffa2b6 | DaikonDotNetFrontEnd/DotNetFrontEnd/Contracts/ContractExtensions.cs | DaikonDotNetFrontEnd/DotNetFrontEnd/Contracts/ContractExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics.Contracts;
namespace DotNetFrontEnd.Contracts
{
public static class ContractExtensions
{
[Pure]
public static bool Implies(this bool antecedent, bool consequent)
{
Contract... | Add missing Contract helper function file | Add missing Contract helper function file
| C# | mit | codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end,codespecs/daikon-dot-net-front-end | |
48b3196865e4a4d8da5f59de6ab4a33d2ea9236c | Battery-Commander.Web/Commands/AddSUTAComment.cs | Battery-Commander.Web/Commands/AddSUTAComment.cs | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using BatteryCommander.Web.Queries;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace BatteryCommander.Web.Commands
{
public class AddSUTAComment : IRequest
{... | Fix add signature and comment | Fix add signature and comment
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | |
8b744bc3b5c423c680abe2087a05c19ddfcbdb79 | src/Features/CSharp/Portable/Structure/Providers/ArrowExpressionClauseStructureProvider.cs | src/Features/CSharp/Portable/Structure/Providers/ArrowExpressionClauseStructureProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Structure;
using Micro... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Structure;
using Micro... | Make the BlockSpan non-structural. We don't want to show an indent-guide for them. | Make the BlockSpan non-structural. We don't want to show an indent-guide for them.
| C# | mit | mavasani/roslyn,jmarolf/roslyn,amcasey/roslyn,drognanar/roslyn,VSadov/roslyn,tvand7093/roslyn,MattWindsor91/roslyn,pdelvo/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,CyrusNajmabadi/roslyn,davkean/roslyn,srivatsn/roslyn,bartdesmet/roslyn,gafter/roslyn,Giftednewt/roslyn,davkean/roslyn,bkoelman/roslyn,CaptainHayashi/ros... |
5f81fe65e4c45e42ddefdcb8af29a531d91b85e6 | src/AutoMapper.Collection.Tests/NullableIdTests.cs | src/AutoMapper.Collection.Tests/NullableIdTests.cs | using System.Collections.Generic;
using AutoMapper.EquivalencyExpression;
using FluentAssertions;
using Xunit;
namespace AutoMapper.Collection
{
public class NullableIdTests
{
[Fact]
public void Should_Work_With_Null_Id()
{
Mapper.Reset();
Mapper.Initialize(x =>... | Add tests for nullable keys | Add tests for nullable keys
| C# | mit | AutoMapper/AutoMapper.Collection,TylerCarlson1/Automapper.Collection | |
96db611595ae8a0fadf420561dc0d971b44637c9 | ZocMon/ZocMon/ZocMonLib/Framework/IRecordFlush.cs | ZocMon/ZocMon/ZocMonLib/Framework/IRecordFlush.cs | using System.Data;
namespace ZocMonLib
{
public interface IRecordFlush
{
/// <summary>
/// Flush all data accumulated thus far.
/// </summary>
void FlushAll();
/// <summary>
/// Flush data for the lowest reduce resolution for the given configuration.
///... | using System.Data;
namespace ZocMonLib
{
public interface IRecordFlush
{
/// <summary>
/// Flush all data accumulated thus far.
/// </summary>
void FlushAll();
/// <summary>
/// Flush data for the lowest reduce resolution for the given configuration.
///... | Update flusher to have defaults | Update flusher to have defaults
| C# | apache-2.0 | ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon |
78046c0706454726f1f895201c5e3c0c47334a49 | samples/MvcSandbox/Pages/Index.cshtml | samples/MvcSandbox/Pages/Index.cshtml | @page Test
<div class="row">
<div class="col-md-3">
<h2>RazorPages Test</h2>
<ul>
<li>This file should give you a quick view of a Mvc Raor Page in action.</li>
</ul>
</div>
</div>
| Add missing file to samples | Add missing file to samples
| C# | apache-2.0 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | |
77d7dcc4b0a2bfef2b6b382ea38f5ffa68a0ca9d | MakeWorking_Copy.cs | MakeWorking_Copy.cs | //-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 2014-04-24
// Autor
//
// Make copy of job and open it in temporary path.
//-----------------------------------------------------------------------------------
using Syste... | Make a working copy of an PCB design | Make a working copy of an PCB design | C# | bsd-3-clause | sts-CAD-Software/PCB-Investigator-Scripts | |
1e82fd337d15fed083d8fdcec148d1d640b3bfd7 | src/dashing.net/App_Start/JobConfig.cs | src/dashing.net/App_Start/JobConfig.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Reflection;
using System.Web;
using dashing.net.common;
namespace dashing.net.App_Start
{
public class JobConfig
{
publ... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Linq;
using System.Reflection;
using System.Web;
using dashing.net.common;
namespace dashing.net.App_Start
{
using System.IO;
public class JobCon... | Update to avoid an execption if there are no jobs and therefore no jobs folder. | Update to avoid an execption if there are no jobs and therefore no jobs folder.
| C# | mit | MironovDmitry/dashing.net,voiddog/dashing.net,voiddog/dashing.net,MironovDmitry/dashing.net,Davlind/dashing.net,MironovDmitry/dashing.net,Davlind/dashing.net,voiddog/dashing.net |
9445ced998bd33bb316f370d89e23afd9b0f3312 | tests/Staccato.Tests/Subparsers/NoteSubparserTests.cs | tests/Staccato.Tests/Subparsers/NoteSubparserTests.cs | using FluentAssertions;
using NFugue.Parser;
using NFugue.Theory;
using Staccato.Subparsers.NoteSubparser;
using Xunit;
namespace Staccato.Tests.Subparsers
{
public class NoteSubparserTests : SubparserTestBase<NoteSubparser>
{
[Fact]
public void Should_match_simple_notes()
{
... | Add tests class for NoteSubparser | Add tests class for NoteSubparser
| C# | apache-2.0 | mdileep/NFugue | |
20c719fa7e3b5c6cdafcf81de9825de58582ad9d | src/Modules/Prompt/Dnn.PersonaBar.Prompt/Models/RoleModel.cs | src/Modules/Prompt/Dnn.PersonaBar.Prompt/Models/RoleModel.cs | using DotNetNuke.Security.Roles;
using System;
namespace Dnn.PersonaBar.Prompt.Models
{
public class RoleModel : RoleModelBase
{
public string Description;
public DateTime CreatedDate;
public int CreatedBy;
#region Constructors
public RoleModel()
{
}
... | Change file name to reflect new class name | Change file name to reflect new class name
| C# | mit | mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Extensions,robsiera/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,RichardHowells/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.AdminExperience.Extensions,RichardHowells/Dnn.Pl... | |
48e56adcfe500c6f72d653aa170ea1dbcd2f817a | osu.Game/Graphics/UserInterfaceV2/LabelledNumberBox.cs | osu.Game/Graphics/UserInterfaceV2/LabelledNumberBox.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.Game.Graphics.UserInterface;
namespace osu.Game.Graphics.UserInterfaceV2
{
public class LabelledNumberBox : LabelledTextBox
{
protected overrid... | Add labelled number box control | Add labelled number box control
| C# | mit | ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu | |
1d2e51e31701990d98b301ffd2caab4740a63e5f | WundergroundClient/Autocomplete/AutocompleteResponse.cs | WundergroundClient/Autocomplete/AutocompleteResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WundergroundClient.Autocomplete
{
class AutocompleteResponse
{
public Boolean IsSuccessful { get; private set; }
public IList<AutocompleteResponseObject> Results;
}
}
| Add skeleton for Autocomplete Responses. | Add skeleton for Autocomplete Responses.
| C# | mit | jcheng31/WundergroundAutocomplete.NET | |
aba256d121e66993bd3129118a463d4165a60081 | cslacs/Csla/Security/ObjectAuthorizationRules.cs | cslacs/Csla/Security/ObjectAuthorizationRules.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Csla.Security
{
/// <summary>
/// Maintains a list of all object level
/// authorization roles.
/// </summary>
internal class ObjectAuthorizationRules
{
private static... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace Csla.Security
{
/// <summary>
/// Maintains a list of all object level
/// authorization roles.
/// </summary>
internal class ObjectAuthorizationRules
{
private static... | Move initialization code into the original lock to avoid a race condition. | Move initialization code into the original lock to avoid a race condition.
| C# | mit | jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,BrettJaner/csla,BrettJaner/csla,jonnybee/csla,MarimerLLC/csla,jonnybee/csla,BrettJaner/csla,MarimerLLC/csla,rockfordlhotka/csla |
f27ce2af8441af85f3a3a5bc003b02d62a5e4d74 | src/Editors/SoftFocus.cs | src/Editors/SoftFocus.cs | /*
* Editors/SoftFocus.cs
*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
using System;
namespace FSpot.Editors {
public class SoftFocus : EffectEditor {
Widgets.SoftFocus soft;
Scale scale;
bool double_buffer;
... | Add the soft focus editor to the repository. | Add the soft focus editor to the repository.
svn path=/trunk/; revision=2830
| C# | mit | NguyenMatthieu/f-spot,Sanva/f-spot,GNOME/f-spot,GNOME/f-spot,NguyenMatthieu/f-spot,NguyenMatthieu/f-spot,nathansamson/F-Spot-Album-Exporter,mono/f-spot,dkoeb/f-spot,mono/f-spot,dkoeb/f-spot,mono/f-spot,nathansamson/F-Spot-Album-Exporter,dkoeb/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mono/f-spot,Yetangitu/... | |
857ac21766883e6d0c2242b4d4e916dd54748319 | Sharpex.GameLibrary/Framework/Game/Timing/RenderMode.cs | Sharpex.GameLibrary/Framework/Game/Timing/RenderMode.cs |
namespace SharpexGL.Framework.Game.Timing
{
public enum RenderMode
{
/// <summary>
/// Limits the render call to a fixed fps amount.
/// </summary>
Limited,
/// <summary>
/// No limitations.
/// </summary>
Unlimited
}
}
| Enable limitation control for rendering | Enable limitation control for rendering
There is now the ability to set the rendering thread to unlimited, which
means, the fps have no limit.
| C# | mit | ThuCommix/Sharpex2D | |
cc7f294d55689982233444e984769cb960f106c9 | test/Mofichan.Tests/BackendSpec.cs | test/Mofichan.Tests/BackendSpec.cs | using Mofichan.Backend;
using Mofichan.Core.Interfaces;
using Moq;
using Serilog;
using Shouldly;
using Xunit;
namespace Mofichan.Tests
{
public class BackendSpec
{
private class MockBackend : BaseBackend
{
public bool OnStartCalled { get; private set; }
public string R... | Add a few base backend tests | Add a few base backend tests
| C# | mit | TAGC/Mofichan | |
98a3ba3328e1f32bf01a7ddf539deb802a713c9c | Source/Streamstone/Partition.cs | Source/Streamstone/Partition.cs | using System;
using System.Linq;
using Microsoft.WindowsAzure.Storage.Table;
namespace Streamstone
{
public class Partition
{
static readonly string[] separator = {"|"};
public readonly CloudTable Table;
public readonly string PartitionKey;
public readonly string RowKeyPrefix... | using System;
using System.Linq;
using Microsoft.WindowsAzure.Storage.Table;
namespace Streamstone
{
public class Partition
{
static readonly string[] separator = {"|"};
public readonly CloudTable Table;
public readonly string PartitionKey;
public readonly string RowKeyPrefix... | Store and provide full original partition key | Store and provide full original partition key
| C# | apache-2.0 | jkonecki/Streamstone,james-andrewsmith/Streamstone |
5cc4b37a015d8969aff60592a2b5939a2afb158c | src/Core/Merq/IEventStreamExtensions.cs | src/Core/Merq/IEventStreamExtensions.cs | using System.ComponentModel;
namespace Merq
{
/// <summary>
/// Usability overloads for <see cref="IEventStream"/>.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static class IEventStreamExtensions
{
/// <summary>
/// Pushes a new instance of <typeparamref... | Allow pushing a TEvent that has new() constraint | Allow pushing a TEvent that has new() constraint
| C# | mit | MobileEssentials/Merq | |
de522651a59103133671e5f0b1fe29c33098e5e8 | test/Seq.Api.Tests/LinkTests.cs | test/Seq.Api.Tests/LinkTests.cs | using System;
using System.Collections.Generic;
using Seq.Api.Model;
using Xunit;
namespace Seq.Api.Tests
{
public class LinkTests
{
[Fact]
public void ALinkWithNoParametersIsLiteral()
{
const string uri = "https://example.com";
var link = new Link(uri);
... | Add some very basic tests for Link | Add some very basic tests for Link
| C# | apache-2.0 | continuousit/seq-api,datalust/seq-api | |
a8de134b61fdae36eec36366b88bae4bd418eeb7 | RemoveAttributesOfCMPs_All.cs | RemoveAttributesOfCMPs_All.cs | //-----------------------------------------------------------------------------------
// PCB-Investigator Automation Script
// Created on 27.05.2015
// Autor Gruber Fabio
//
// Clear Attributes of components.
//-----------------------------------------------------------------------------------
using System;
... | Remove attributes of an ODB++ job | Remove attributes of an ODB++ job | C# | bsd-3-clause | sts-CAD-Software/PCB-Investigator-Scripts | |
3b9d3089c61f6a93b9c4f2b0e5bf930fdc35979d | osu.Framework.Tests/Visual/Drawables/TestSceneBorderColour.cs | osu.Framework.Tests/Visual/Drawables/TestSceneBorderColour.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.T... | Add basic test coverage for solid border colour | Add basic test coverage for solid border colour
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | |
662fdba770ea350bae329d9bf53d2cd1bd0c26ae | Assets/JabaScripts/DebugDrawSpringJoints.cs | Assets/JabaScripts/DebugDrawSpringJoints.cs | // The MIT License (MIT)
//
// Copyright (c) 2015 Jabavu W. Adams.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to us... | Add a script to draw all spring joints connected to an object, for debugging. | Add a script to draw all spring joints connected to an object, for debugging.
| C# | mit | jawa0/JabaUnityScripts | |
77e345ae7f6429498cea0e08dfa737befa7aa164 | src/Tools/ExternalAccess/OmniSharp/Options/OmnisharpLegacyGlobalOptionsWorkspaceService.cs | src/Tools/ExternalAccess/OmniSharp/Options/OmnisharpLegacyGlobalOptionsWorkspaceService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.CodeG... | Add LegacyGlobalOptionsWorkspaceService for OmniSharp EA | Add LegacyGlobalOptionsWorkspaceService for OmniSharp EA
| C# | mit | mavasani/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/rosl... | |
e295d3cde84b9a18e75135f1facadbac54088c96 | NBi.Core/Etl/IEtlRunCommand.cs | NBi.Core/Etl/IEtlRunCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl
{
public interface IEtlRunCommand: IEtl
{
}
}
| Define interface for a command in setup or cleanup | Define interface for a command in setup or cleanup
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi | |
83e0f9b1b903cdca2cb31baa4d59d5f1a439ba32 | Common/SchemaModule/Manipulators/GeometryHilightManipulator.cs | Common/SchemaModule/Manipulators/GeometryHilightManipulator.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Media;
using System.Windows.Shapes;
using System.Windows;
using System.Windows.Input;
namespace FreeSCADA.Schema.Manipulators
{
class GeometryHilightManipulator:BaseManipulator
{
Rectangle hilightRect =... | Fix on previous commit ... | Fix on previous commit ... | C# | epl-1.0 | AlexDovgan/FreeSCADA | |
cb7551d2d974435e0f54146cbd893c4ca1f18d87 | osu.Framework.Tests/Visual/Drawables/TestSceneStressGLDisposal.cs | osu.Framework.Tests/Visual/Drawables/TestSceneStressGLDisposal.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK;
namesp... | Add failing GL disposal stress test | Add failing GL disposal stress test
Co-authored-by: voidedWarranties <8703afe59310e2b76940dbf42498d5eec85dac67@gmail.com>
| C# | mit | ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | |
0ea624e99fd4154166cd33baf2e13f62fd09db06 | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Authentication/AuthenticationServiceTests.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.UnitTests/Authentication/AuthenticationServiceTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using Microsoft.AspNetCore.Http;
using Moq;
using NUnit.Framework;
using NUnit.Framework.Internal;
using SFA.DAS.CommitmentsV2.Api.Authentication;
using SFA.DAS.CommitmentsV2.Authentication;
using SFA.DA... | Add unit test for getuserrole | Add unit test for getuserrole
| C# | mit | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | |
323f6e6a4d09157f5ce71f30d6791f20f0f3b836 | osu.Framework.Tests/Visual/Drawables/TestSceneCircularArcBoundingBox.cs | osu.Framework.Tests/Visual/Drawables/TestSceneCircularArcBoundingBox.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Lines;
using os... | Add test scene for arc bounding box computation | Add test scene for arc bounding box computation
| C# | mit | peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | |
e78a1c91a032e06fb140b707f6c68e7952d762bc | src/AKDK/Utilities/AkkaExtensions.cs | src/AKDK/Utilities/AkkaExtensions.cs | using Akka.Actor;
using System;
namespace AKDK.Utilities
{
/// <summary>
/// Extension methods for Akka types.
/// </summary>
public static class AkkaExtensions
{
/// <summary>
/// Determine whether another actor is a descendent of the actor.
/// </summary>
... | Add extension methods to determine whether an actor is an ancestor or descendant of another actor. | Add extension methods to determine whether an actor is an ancestor or descendant of another actor.
| C# | mit | tintoy/aykay-deekay | |
f7407347f78445a141c196fbcda5282f1ba14250 | osu.Game.Tests/NonVisual/Multiplayer/StatefulMultiplayerClientTest.cs | osu.Game.Tests/NonVisual/Multiplayer/StatefulMultiplayerClientTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using Humanizer;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Online.Multiplayer;
using osu.Game.Tests.Visual.Multiplayer;
using ... | Add test coverage of PlayingUsers tracking | Add test coverage of PlayingUsers tracking
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | |
27279b3337c34377b22c8704f465ecfcea5406d6 | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | src/Unicorn/Pipelines/UnicornSyncEnd/SendSerializationCompleteEvent.cs | using System.Linq;
using Sitecore.Configuration;
using Sitecore.Data;
using Sitecore.Data.Serialization;
using Sitecore.Diagnostics;
using Sitecore.Eventing;
using Unicorn.Predicates;
namespace Unicorn.Pipelines.UnicornSyncEnd
{
public class SendSerializationCompleteEvent : IUnicornSyncEndProcessor
{
public void ... | Move serialization end event firing into a pipeline processor | Move serialization end event firing into a pipeline processor
| C# | mit | MacDennis76/Unicorn,bllue78/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,GuitarRich/Unicorn,PetersonDave/Unicorn,bllue78/Unicorn,kamsar/Unicorn,rmwatson5/Unicorn,PetersonDave/Unicorn,kamsar/Unicorn,GuitarRich/Unicorn | |
481e541ac23bdc01341cdd07a0ca05a2e58ab8a9 | osu.Framework/Graphics/BlendingMode.cs | osu.Framework/Graphics/BlendingMode.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
namespace osu.Framework.Graphics
{
[Obsolete("Use BlendingParameters statics instead")] // can be removed 20200220
public static class BlendingMode... | Add back obsoleted mapping to improve backwards compatibility | Add back obsoleted mapping to improve backwards compatibility
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.