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 |
|---|---|---|---|---|---|---|---|---|---|
36fe807d5a947bd9a338dacf87742bc01b0d55a2 | test/System.Web.Http.OData.Test/OData/Formatter/JsonAssert.cs | test/System.Web.Http.OData.Test/OData/Formatter/JsonAssert.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Linq;
using Microsoft.TestCommon;
namespace System.Web.Http.OData.Formatter
{
internal static class JsonAssert
{
public static void Equal(string expected, ... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using Microsoft.TestCommon;
using Newtonsoft.Json.Linq;
namespace System.Web.Http.OData.Formatter
{
internal static class JsonAssert
{
public static void Equal(string e... | Fix some flaky OData JSON tests using string comparison | Fix some flaky OData JSON tests using string comparison
Fixing by using JToken.EqualityComparer.
| C# | mit | lewischeng-ms/WebApi,congysu/WebApi,chimpinano/WebApi,scz2011/WebApi,scz2011/WebApi,yonglehou/WebApi,LianwMS/WebApi,yonglehou/WebApi,abkmr/WebApi,lungisam/WebApi,lungisam/WebApi,abkmr/WebApi,lewischeng-ms/WebApi,congysu/WebApi,LianwMS/WebApi,chimpinano/WebApi |
36927feac1021f18d4ca9485582ccce98878befe | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/AsmDefProblemAnalyzer.cs | resharper/resharper-unity/src/AsmDef/Feature/Services/Daemon/AsmDefProblemAnalyzer.cs | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.AsmDef.Feature.Services.Daemon
{
public abstr... | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Unity.JsonNew.Psi;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Tree;
namespace JetBrains.ReSharper.Plugins.Unity.AsmDef.Feature.Services.Daemon
{
public abstr... | Fix asmdef analysers working on external files | Fix asmdef analysers working on external files
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
d9a2f1e074fabfc5cf24e0cf88adfa84deb7f326 | Src/Roflcopter.Plugin/MismatchedFileNames/MismatchedFileNameHighlighting.cs | Src/Roflcopter.Plugin/MismatchedFileNames/MismatchedFileNameHighlighting.cs | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.Tree;
using ReSharperExtensionsShared.Highlighting;
using Roflcopter.Plugin.MismatchedFileNames;
[assembly: RegisterConfigurableSeverity(
MismatchedFileNameHighligh... | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.Tree;
using ReSharperExtensionsShared.Highlighting;
using Roflcopter.Plugin.MismatchedFileNames;
[assembly: RegisterConfigurableSeverity(
MismatchedFileNameHighligh... | Format code and remove wrong doc comment | Format code and remove wrong doc comment
| C# | mit | ulrichb/Roflcopter,ulrichb/Roflcopter |
d4db28bd128aecf9e578c3de9f2fcf34b9d99680 | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | src/CompetitionPlatform/Data/ProjectCategory/ProjectCategoriesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CompetitionPlatform.Data.ProjectCategory;
namespace CompetitionPlatform.Data.ProjectCategory
{
public class ProjectCategoriesRepository : IProjectCategoriesRepository
{
public List<string> GetCategor... | Rename Development category to Software Development. | Rename Development category to Software Development.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform |
9d655b1ad36b6907345b46cae22a472232eedfe0 | source/MetroRadiance.Core/Interop/Win32/Dwmapi.cs | source/MetroRadiance.Core/Interop/Win32/Dwmapi.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace MetroRadiance.Interop.Win32
{
public static class Dwmapi
{
[DllImport("Dwmapi.dll", ExactSpelling = true)]
public static extern void DwmGetColorizationColor([Out] out uint pcrColorization... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
namespace MetroRadiance.Interop.Win32
{
public static class Dwmapi
{
[DllImport("Dwmapi.dll", ExactSpelling = true, PreserveSig = false)]
public static extern void DwmGetColorizationColor([Out] out... | Fix issue that HRESULT returned by DWMAPI isn't converted. | Fix issue that HRESULT returned by DWMAPI isn't converted.
| C# | mit | Grabacr07/MetroRadiance |
c9ef9f624be1669aee088c5321d1d93160d5d6e0 | Scripts/Coroutines/EditorCoroutineTween.cs | Scripts/Coroutines/EditorCoroutineTween.cs | using System;
using System.Collections;
using UnityEngine;
//using DG.Tweening;
public class EditorCoroutineTween
{
/*
public static EditorCoroutine Run(Tween t)
{
EditorCoroutineTween ct = new EditorCoroutineTween();
return EditorCoroutine.Start(ct.UpdateTween(t));
}
IEnumerator UpdateTween(Tween t)
{
... | #if !NO_DOTWEEN
using System;
using System.Collections;
using UnityEngine;
using DG.Tweening;
public class EditorCoroutineTween
{
public static EditorCoroutine Run(Tween t)
{
EditorCoroutineTween ct = new EditorCoroutineTween();
return EditorCoroutine.Start(ct.UpdateTween(t));
}
IEnumerator UpdateTween(Twe... | Disable with compiler constant instead. | Disable with compiler constant instead.
| C# | mit | nostek/UnityCodebase |
b2df6e685ee43e4f4cc0eb52b7754ab75cf663d3 | tests/NHibernate.Caches.Redis.Tests/PerformanceTests.cs | tests/NHibernate.Caches.Redis.Tests/PerformanceTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NHibernate.Caches.Redis.Tests
{
public class PerformanceTests : IntegrationTestBase
{
[Fact]
async Task concurrent_reads_and_writes()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NHibernate.Caches.Redis.Tests
{
public class PerformanceTests : IntegrationTestBase
{
[Fact]
async Task concurrent_sessions_with_reads_and_writes()
... | Add test for concurrent session factories. | Add test for concurrent session factories.
| C# | mit | EzyWebwerkstaden/NHibernate.Caches.Redis,TheCloudlessSky/NHibernate.Caches.Redis |
fb47fe45a6723a2ddd4a05f275b82f317452f71d | TMDbLib/Objects/General/TranslationData.cs | TMDbLib/Objects/General/TranslationData.cs | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("overview")]
public string Overview { get; set; }
[JsonProperty("homepage")]
public string HomePag... | using Newtonsoft.Json;
namespace TMDbLib.Objects.General
{
public class TranslationData
{
[JsonProperty("name")]
public string Name { get; set; }
// Private hack to ensure two properties (name, title) are deserialized into Name.
// Tv Shows and Movies will use different names ... | Use Name and title interchangeably. | Use Name and title interchangeably.
| C# | mit | LordMike/TMDbLib |
4c30ebe80b4bf88b41c71cc5b0796cb7f4365ae9 | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | Revert "Remove uneeded player collection methods" | Revert "Remove uneeded player collection methods"
This reverts commit a94975b6e6925a52f67731f3dd134ff14760d230.
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
c2e21496eb0042d374522f3a8eb89e035be80571 | DataAccessExamples.Web/Bootstrapper.cs | DataAccessExamples.Web/Bootstrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccessExamples.Core.Services;
using DataAccessExamples.Core.ViewModels;
using Nancy.TinyIoc;
namespace DataAccessExamples.Web
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
... | using System;
using System.Linq;
using DataAccessExamples.Core.Services;
using Nancy.Bootstrapper;
using Nancy.Responses;
using Nancy.TinyIoc;
namespace DataAccessExamples.Web
{
using Nancy;
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureReque... | Store selected implementation in cookie | Store selected implementation in cookie
| C# | cc0-1.0 | hgcummings/DataAccessExamples,hgcummings/DataAccessExamples |
6b33a163f8c24d6b36a15181d387e446d6319d92 | Assets/Scripts/GameManager.cs | Assets/Scripts/GameManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
void Start ()
{
}
void Update ()
{
}
}
| using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
void Start ()
{
Cursor.visible = false;
Cursor.lockState = CursorLockMode.Locked;
}
void Update ()
{
if (Input.GetKey(KeyCode.Escape))
{
... | Hide cursor and quit with escape. | Hide cursor and quit with escape.
| C# | mit | simonchauvin/LD38 |
15dcaa87b8cb7da868e0f93a6fff09faaed8f7d4 | src/Our.Umbraco.Nexu.Core/Services/NexuEntityRelationService.cs | src/Our.Umbraco.Nexu.Core/Services/NexuEntityRelationService.cs | namespace Our.Umbraco.Nexu.Core.Services
{
/// <summary>
/// Represents nexu entity relation service.
/// </summary>
public class NexuEntityRelationService
{
}
}
| namespace Our.Umbraco.Nexu.Core.Services
{
using Our.Umbraco.Nexu.Common.Interfaces.Services;
/// <summary>
/// Represents nexu entity relation service.
/// </summary>
public class NexuEntityRelationService : IEntityRelationService
{
}
}
| Implement interface in concrete class | Implement interface in concrete class
| C# | mit | dawoe/umbraco-nexu,dawoe/umbraco-nexu,dawoe/umbraco-nexu |
d4868df627c95722e4e07329788c8fb8f5d6d216 | Lbookshelf/App.xaml.cs | Lbookshelf/App.xaml.cs | using Lbookshelf.Models;
using Lbookshelf.Utils;
using Lbookshelf.ViewModels;
using Ldata;
using Ldata.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Lbookshelf
{
/// <summary>
... | using Lbookshelf.Models;
using Lbookshelf.Utils;
using Lbookshelf.ViewModels;
using Ldata;
using Ldata.Json;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace Lbookshelf
{
/// <summary>
... | Remove disused data collection partition registers. | Remove disused data collection partition registers.
| C# | mit | allenlooplee/Lbookshelf |
1dbc97680964e36c58c9fd858c3fa03ec84062b3 | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | Battery-Commander.Web/Views/Reports/EvaluationUpdated.cshtml | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | @model BatteryCommander.Web.Models.Evaluation
<h1>@Model.Ratee</h1>
<table border="1">
<tbody>
<tr>
<td>Soldier</td>
<td>@Model.Ratee</td>
</tr>
<tr>
<td>Rater</td>
<td>@Model.Rater</td>
</tr>
<tr>
<td>SR Rater</td... | Tweak format of evaluation email per BC request | Tweak format of evaluation email per BC request
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
9ae4559784dec3805a81c769bd7801f98f726927 | src/BibleBot.Frontend/Utils.cs | src/BibleBot.Frontend/Utils.cs | using BibleBot.Lib;
using DSharpPlus.Entities;
namespace BibleBot.Frontend
{
public class Utils
{
public DiscordEmbed Embed2Embed(InternalEmbed embed)
{
var builder = new DiscordEmbedBuilder();
var footerText =
builder.WithTitle(embed.Title);
b... | using BibleBot.Lib;
using DSharpPlus.Entities;
namespace BibleBot.Frontend
{
public class Utils
{
public enum Colours
{
NORMAL_COLOR = 6709986,
ERROR_COLOR = 16723502
}
public DiscordEmbed Embed2Embed(InternalEmbed embed)
{
var builde... | Implement embedify function on frontend. | Implement embedify function on frontend.
| C# | mpl-2.0 | BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot |
e02073fed57495f8ac43f2da489a18eca3b2f2d0 | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/CoinInfoTabViewModel.cs | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"Details of {coin.OutputIndex}:{coin.TransactionId[0..7]}";
... | using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class CoinInfoTabViewModel : WasabiDocumentTabViewModel
{
public CoinInfoTabViewModel(CoinViewModel coin) : base(string.Empty)
{
Coin = coin;
Title = $"Coin ({coin.Amount.ToString(false, true)}) Details";
}
... | Use Amount as coin identifier. | Use Amount as coin identifier.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
fa8ce844f71c283ac48f958ba50df5640c77992e | RegTesting.Tests.Framework/Properties/AssemblyInfo.cs | RegTesting.Tests.Framework/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("Re... | 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("Re... | Fix autogeneration of Framework version Version has to be Major.Minor.* instead of Major.Minor.*.* | Fix autogeneration of Framework version
Version has to be Major.Minor.* instead of Major.Minor.*.*
| C# | apache-2.0 | hotelde/regtesting,AlexEndris/regtesting |
93e2d8f30984d1cdb880a5bb2fcd180cc4a8a35f | osu.Game.Tests/Visual/TestCaseChatDisplay.cs | osu.Game.Tests/Visual/TestCaseChatDisplay.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.ComponentModel;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
namespace osu.Game.Tests.Visual
{
[Description("Testing chat api and... | // 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;
using System.Collections.Generic;
using System.ComponentModel;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays;
using osu.Game.Overlays.C... | Allow testing of all chat-related classes dynamically | Allow testing of all chat-related classes dynamically
| C# | mit | peppy/osu,johnneijzen/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,DrabWeb/osu,smoogipoo/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,smoogipoo/osu,naoey/osu,peppy/osu,naoey/osu,NeoAdonis/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,DrabWeb/osu,EVAST9919/osu,naoey/... |
ccd664896185a0aff852fb8eaf6c47cb1b7bf125 | osu.Game/Overlays/Profile/Sections/RanksSection.cs | osu.Game/Overlays/Profile/Sections/RanksSection.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.Overlays.Profile.Sections.Ranks;
using osu.Game.Online.API.Requests;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespa... | // 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.Overlays.Profile.Sections.Ranks;
using osu.Game.Online.API.Requests;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespa... | Update pinned score container header to use localised title | Update pinned score container header to use localised title
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu |
4fae3450a64e596c619c134fa9f39aad801ef72d | DanTup.DartAnalysis/Commands/AnalysisGetHover.cs | DanTup.DartAnalysis/Commands/AnalysisGetHover.cs | using System.Threading.Tasks;
namespace DanTup.DartAnalysis
{
class AnalysisGetHoverRequest : Request<AnalysisGetHoverParams, Response<AnalysisGetHoverResponse>>
{
public string method = "analysis.getHover";
public AnalysisGetHoverRequest(string file, int offset)
{
this.@params = new AnalysisGetHoverParam... | using System.Threading.Tasks;
using DanTup.DartAnalysis.Json;
namespace DanTup.DartAnalysis
{
public static class AnalysisGetHoverImplementation
{
public static async Task<HoverInformation[]> GetHover(this DartAnalysisService service, string file, int offset)
{
var request = new AnalysisGetHoverRequest
{
... | Replace GetHover implementation with generated classes. | Replace GetHover implementation with generated classes.
Does not yet compile; due to errors in generated classes (Eg. FileInfo
== string).
| C# | mit | modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS |
3248e984b0c5cc3b6f1d8897425068159e172196 | SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs | SystemProgramming/Lab2/Lab2/Automaton/AutomatonBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2.Automaton
{
public class AutomatonBuilder : IIOAutomatonBuilder
{
private FiniteStateAutomaton automaton = new FiniteStateAutomaton();
public void AddSta... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lab2.Automaton
{
public class AutomatonBuilder : IIOAutomatonBuilder
{
private FiniteStateAutomaton automaton = new FiniteStateAutomaton();
public void AddSta... | Add System Programming Lab2 Automaton Builder - Added Start and Finish | Add System Programming Lab2 Automaton Builder - Added Start and Finish
| C# | mit | pugachAG/univ,pugachAG/univ,pugachAG/univ |
e08ac0be21e097fab02e6eb14fac11429524e240 | tests/unit/AlphaDev.Web.Tests.Unit/Controllers/AdminControllerTests.cs | tests/unit/AlphaDev.Web.Tests.Unit/Controllers/AdminControllerTests.cs | using System;
using AlphaDev.Core;
using AlphaDev.Web.Controllers;
using AlphaDev.Web.Models;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Optional;
using Xunit;
namespace AlphaDev.Web.Tests.Unit.Controllers
{
public class AdminControllerTests
{
private AdminControl... | using System;
using AlphaDev.Core;
using AlphaDev.Web.Controllers;
using AlphaDev.Web.Models;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc;
using NSubstitute;
using Optional;
using Xunit;
namespace AlphaDev.Web.Tests.Unit.Controllers
{
public class AdminControllerTests
{
private AdminControl... | Remove redundant code from Admin controller | Remove redundant code from Admin controller
| C# | unlicense | OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev |
2eb2d16a3af71eb946aaae129824845814adf9f0 | Watsonia.Data/AssemblyInfo.cs | Watsonia.Data/AssemblyInfo.cs |
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Watsonia.Data.Tests")]
|
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Watsonia.Data.Tests")]
[assembly: InternalsVisibleTo("Watsonia.Data.Reference")]
| Make the assembly's internals visible to the reference assembly | Make the assembly's internals visible to the reference assembly
| C# | mit | andrewjk/Watsonia.Data |
0d02cb8fe8aeeddb65a158568c043401c94d4178 | api/CommaDelimitedArrayModelBinder.cs | api/CommaDelimitedArrayModelBinder.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace api
{
public class CommaDelimitedArrayModelBinder : IModelBinder
{
pub... | using System;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace api
{
public class CommaDelimitedArrayModelBinder : IModelBinder
{
public Task BindModelAsync(ModelBindingContext bindingContext)
... | Add input binder to allow for comma-separated list inputs for API routes | Add input binder to allow for comma-separated list inputs for API routes
Signed-off-by: Max Cairney-Leeming <d90f0d0190ac210d40c0e06a2594c771efeb4f5b@gmail.com>
| C# | mit | mtcairneyleeming/latin |
dc73689a018403cf0e683326f2c2c17bc4c13f2f | ExifLibrary/ImageError.cs | ExifLibrary/ImageError.cs | namespace ExifLibrary
{
/// <summary>
/// Represents error severity.
/// </summary>
public enum Severity
{
Info,
Warning,
Error,
}
/// <summary>
/// Represents errors or warnings generated while reading/writing image files.
/// </summary>
public class Im... | namespace ExifLibrary
{
/// <summary>
/// Represents error severity.
/// </summary>
public enum Severity
{
Info,
Warning,
Error,
}
/// <summary>
/// Represents errors or warnings generated while reading/writing image files.
/// </summary>
public class Im... | Add toString override to error class | Add toString override to error class
| C# | mit | oozcitak/exiflibrary |
031f4d11d11d9b94159704f39fcb307158979600 | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | Increase nuget package version to 2.0.0-beta03 | Increase nuget package version to 2.0.0-beta03
| C# | mit | Jericho/CakeMail.RestClient |
30420b50d82770760d63e7b189fcbf0eeb65a6b0 | Assets/Scripts/Room/BoxInfo.cs | Assets/Scripts/Room/BoxInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
public class BoxInfo : MonoBehaviour
{
public Text LeftText;
public Text RightText;
readonly StringBuilder names = new StringBuilder();
readonly StringBuilder values = new StringBuilder(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
public class BoxInfo : MonoBehaviour
{
public Text LeftText;
public Text RightText;
readonly StringBuilder names = new StringBuilder();
readonly StringBuilder values = new StringBuilder(... | Fix exception when box info is empty | Fix exception when box info is empty
| C# | mit | tigrouind/AITD-roomviewer |
98b2a4f1c58ce5ae48d3e8701907327c34339970 | osu.Framework/Platform/Windows/WindowsStorage.cs | osu.Framework/Platform/Windows/WindowsStorage.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.Diagnostics;
using System.Text.RegularExpressions;
namespace osu.Framework.Platform.Windows
{
public class WindowsStorage : DesktopStorag... | // 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.Diagnostics;
namespace osu.Framework.Platform.Windows
{
public class WindowsStorage : DesktopStorage
{
public WindowsStorage(... | Remove Windows long path workaround. | Remove Windows long path workaround.
| C# | mit | peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework |
9b9d9bc750be2672a005eca270eb3dc379fb984a | src/Fixie/ReflectionExtensions.cs | src/Fixie/ReflectionExtensions.cs | namespace Fixie
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using static Internal.Maybe;
public static class ReflectionExtensions
{
public static bool IsVoid(this MethodInfo method)
{
return method.ReturnTyp... | namespace Fixie
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Reflection;
using static Internal.Maybe;
public static class ReflectionExtensions
{
public static bool IsVoid(this MethodInfo method)
{
return method.ReturnTyp... | Rephrase null-safe Dispose helper to use pattern matching syntax. | Rephrase null-safe Dispose helper to use pattern matching syntax.
| C# | mit | fixie/fixie |
ac77f6927e8b94fb66e13831bdf6a139814f47ae | MvcMiniProfiler.RavenDb/Profiler.cs | MvcMiniProfiler.RavenDb/Profiler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcMiniProfiler;
using Raven.Client.Connection;
using Raven.Client.Connection.Profiling;
using Raven.Client.Document;
namespace MvcMiniProfiler.RavenDb
{
public class Profiler
{
private static Dictionary<string, IDisposabl... | using System;
using System.Collections.Generic;
using Raven.Client.Connection;
using Raven.Client.Connection.Profiling;
using Raven.Client.Document;
namespace MvcMiniProfiler.RavenDb
{
public class Profiler
{
private static Dictionary<string, IDisposable> _Requests = new Dictionary<string, IDisposable>();
publ... | Tidy up some formatting of code file | Tidy up some formatting of code file
| C# | mit | csainty/MvcMiniProfiler.RavenDb |
b81074bd4af12796fe00b45f67c0700d1f686d5d | LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs | LearnosityDemo/Pages/ItemsAPIDemo.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using LearnositySDK.Request;
using LearnositySDK.Utils;
// static LearnositySDK.Credentials;
namespace LearnosityDemo.Pages
{
public class Ite... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using LearnositySDK.Request;
using LearnositySDK.Utils;
namespace LearnosityDemo.Pages
{
public class ItemsAPIDemoModel : PageModel
{
... | Remove commented code line from developer review. | [DOC] Remove commented code line from developer review.
| C# | apache-2.0 | Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net |
d5b8d156302dfcdf729fd72267e7452157281e35 | src/NHibernate.DomainModel/SubComponent.cs | src/NHibernate.DomainModel/SubComponent.cs | using System;
namespace NHibernate.DomainModel
{
/// <summary>
/// Summary description for SubComponent.
/// </summary>
public class SubComponent
{
private string _subName;
private string _subName1;
public SubComponent()
{
}
public string SubName
{
get { return _subName; }
set { _subName = v... | Test code for SQL queries | NH-204: Test code for SQL queries
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@1333
| C# | lgpl-2.1 | nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-co... | |
43212bb51828de888dc736b9f2c608889dd9370f | source/ZocMonCore/Framework/MonitorReductionType.cs | source/ZocMonCore/Framework/MonitorReductionType.cs | namespace ZocMonLib
{
public enum MonitorReductionType
{
Custom = 0,
DefaultAverage = 1,
DefaultAccumulate = 2
}
}
| namespace ZocMonLib
{
public enum MonitorReductionType : byte
{
Custom = 0,
DefaultAverage = 1,
DefaultAccumulate = 2
}
}
| Make this enum a byte for small serialization | Make this enum a byte for small serialization
| C# | apache-2.0 | modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon |
e9d424c82dc05e92896af9d8c05d20cdfc0b3ef7 | src/DasMulli.Win32.ServiceUtils/HashCode.cs | src/DasMulli.Win32.ServiceUtils/HashCode.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DasMulli.Win32.ServiceUtils
{
/// <summary>
/// Simplifies the work of hashing.
/// Taken from <see cref="https://rehansaeed.com/gethashcode-made-easy/"/>, and modified with Reshaper
/// </summary>
public stru... | Add a reusable hash-code class. | Add a reusable hash-code class.
| C# | mit | dasMulli/dotnet-win32-service | |
4d511f7e3dd160f5fa70a22f28a934e483aa84f7 | CareerCup/split_string.cs | CareerCup/split_string.cs | // http://careercup.com/question?id=5702976138117120
// Split string per pattern
//
using System;
using System.Collections.Generic;
using System.Linq;
static class Program
{
static IEnumerable<String> Split(this String s, IEnumerable<int> pattern)
{
int prev = 0;
foreach (int index in pattern)... | Split string per given pattern | Split string per given pattern
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
aba828aa0caa076fb5e65ce02d92a6d0adb0b2fd | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/NormalizationTest.cs | apis/Google.Cloud.Storage.V1/Google.Cloud.Storage.V1.IntegrationTests/NormalizationTest.cs | // Copyright 2017 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... | Add "no normalization performed" test for Storage client. | Add "no normalization performed" test for Storage client.
| C# | apache-2.0 | chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/google-cloud-dotnet,chrisdunelm/gcloud-dotnet,iantalarico/google-cloud-dotnet,benwulfe/google-cloud-dotnet,ben... | |
66fea3e7959f9229d55071898135c621197ad749 | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs | using Microsoft.AspNetCore.Mvc;
using Promact.Trappist.DomainModel.Models.Question;
using Promact.Trappist.Repository.Questions;
using System;
namespace Promact.Trappist.Core.Controllers
{
[Route("api/question")]
public class QuestionsController : Controller
{
private readonly IQuestionRepository ... | Update server side API for single multiple answer question | Update server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | |
41a6fba8f04892e4b0b7856c285e1b80474547a5 | test/Marvin.Cache.Headers.Test/Extensions/AppBuilderExtensionsFacts.cs | test/Marvin.Cache.Headers.Test/Extensions/AppBuilderExtensionsFacts.cs | using System;
using Microsoft.AspNetCore.Builder;
using Moq;
using Xunit;
namespace Marvin.Cache.Headers.Test.Extensions
{
public class AppBuilderExtensionsFacts
{
[Fact(Skip = "The Verify throws an exception because UseMiddleware is an extension function as well and can't be mocked, need to find ")]
... | Add first draft of AppBuilderExtension tests. | Add first draft of AppBuilderExtension tests.
| C# | mit | KevinDockx/HttpCacheHeaders | |
09f0be7f392ec0d50bdca80e5d7d113a509c9071 | src/Pather.CSharp/PathElements/SelectionAccess.cs | src/Pather.CSharp/PathElements/SelectionAccess.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class SelectionAccess : IPathElement
{
public SelectionAccess()
{
}
public object A... | Add path element class for selection access | Add path element class for selection access
| C# | mit | Domysee/Pather.CSharp | |
097d854c83e2e1ac80612279302abf2cdb14fd84 | osu.Framework.Tests/Platform/GameExitTest.cs | osu.Framework.Tests/Platform/GameExitTest.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;
using System.Threading.Tasks;
using NUnit.Framework;
using osu.Framework.Extensions;
using osu.Framework.Platform;
using osu.Framework.Testing;
n... | Add baseline test coverage for blocking exit flow | Add baseline test coverage for blocking exit flow
| C# | mit | smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework | |
5006cf8176e67f42975e85805e57f28000db775f | src/Marten.Testing/Bugs/Bug_854_multiple_or_expressions_softdelete_tenancy_filters_appended_incorrectly.cs | src/Marten.Testing/Bugs/Bug_854_multiple_or_expressions_softdelete_tenancy_filters_appended_incorrectly.cs | using System.Linq;
using Xunit;
using Marten.Testing.Linq;
namespace Marten.Testing.Bugs
{
public class Bug_854_multiple_or_expressions_softdelete_tenancy_filters_appended_incorrectly: IntegratedFixture
{
[Fact]
public void query_where_with_multiple_or_expressions_against_single_tenant()
... | Add failing tests for GH-854 | Add failing tests for GH-854
| C# | mit | ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,ericgreenmix/marten,mdissel/Marten,JasperFx/Marten,mdissel/Marten,JasperFx/Marten,mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,mysticmind/marten,mysticmind/marten | |
0a187a9c4769fe9a4e60a2c8bf053ba9b8f8d605 | src/System.Net.Primitives/src/System/Net/SocketException.netstandard17.cs | src/System.Net.Primitives/src/System/Net/SocketException.netstandard17.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.ComponentModel;
using System.Runtime.Serialization;
namespace System.Net.Sockets
{
[Serializable]
... | // 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.ComponentModel;
using System.Runtime.Serialization;
namespace System.Net.Sockets
{
[Serializable]
... | Add missing members in System.Net.Sockets.SocketException | Add missing members in System.Net.Sockets.SocketException
Fixes #12459
| C# | mit | dhoehna/corefx,nchikanov/corefx,alexperovich/corefx,ravimeda/corefx,zhenlan/corefx,rjxby/corefx,mmitche/corefx,nchikanov/corefx,ericstj/corefx,JosephTremoulet/corefx,stone-li/corefx,axelheer/corefx,stephenmichaelf/corefx,rjxby/corefx,parjong/corefx,cydhaselton/corefx,krk/corefx,stone-li/corefx,alexperovich/corefx,kryta... |
39be4831af241487a91d8466de75fcd30a50a501 | src/NuProj.Package/NuProjProjectTreeModifier.cs | src/NuProj.Package/NuProjProjectTreeModifier.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
using Microsoft.VisualStudio.ProjectSystem.Utilities.Designers;
namespace NuProj.ProjectSystem
{
[Export(typeof(IProjectTreeModifier))]
[PartMetad... | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
using Microsoft.VisualStudio.ProjectSystem.Utilities.Designers;
namespace NuProj.ProjectSystem
{
[Export(typeof(IProjectTreeModifier))]
[PartMetad... | Remove unused project tree factory. | Remove unused project tree factory.
Not only is it unused, tree modifiers are not generally privileged to create new nodes. So it's a bad import to have.
| C# | mit | zbrad/nuproj,PedroLamas/nuproj,ericstj/nuproj,faustoscardovi/nuproj,nuproj/nuproj,kovalikp/nuproj,oliver-feng/nuproj,NN---/nuproj,AArnott/nuproj |
f2b1fa5d758662293b719afdaf0b98e4c36efef1 | LeetCode/remote/copy_list_with_random_pointer.cs | LeetCode/remote/copy_list_with_random_pointer.cs | // https://leetcode.com/problems/copy-list-with-random-pointer/
//
// A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
//
// Return a deep copy of the list.
// Finally nailed it.
// https://leetcode.com/submissions/detail/535889... | Copy list with random pointer | Copy list with random pointer
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews | |
847d2ee9c869af8c7ac247876a3ea5388bc0a2c5 | test/PowerShellEditorServices.Test/AssemblyInfo.cs | test/PowerShellEditorServices.Test/AssemblyInfo.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Xunit;
// Disable test parallelization to avoid port reuse issues
[assembly: CollectionBehavior(DisableTestParallelization = true)]
| Disable test parallelization in PowerShellEditorServices.Test project | Disable test parallelization in PowerShellEditorServices.Test project
More test instability, I think xUnit's parallelization must have become
more aggressive in 2.2.
| C# | mit | PowerShell/PowerShellEditorServices | |
465bc65ba5e6d3d347e7b7809f7aaa12e956817f | core/Piranha.Azure.BlobStorage/Extensions/SystemExtensions.cs | core/Piranha.Azure.BlobStorage/Extensions/SystemExtensions.cs | namespace System
{
internal static class SystemExtensions
{
internal static bool IsSuccessStatusCode(this int @this)
{
return @this >= 200 && @this <= 299;
}
}
} | Add extension method check for success HTTP Status code | Add extension method check for success HTTP Status code
| C# | mit | PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core | |
93e43951dbb58cacca68d78a1ddfade135de250f | src/Windows/Avalonia.Win32/ITaskBarList2VTable.cs | src/Windows/Avalonia.Win32/ITaskBarList2VTable.cs | using System;
using System.Runtime.InteropServices;
using static Avalonia.Win32.Interop.UnmanagedMethods;
namespace Avalonia.Win32
{
delegate void MarkFullscreenWindow(IntPtr This, IntPtr hwnd, [MarshalAs(UnmanagedType.Bool)] bool fullscreen);
delegate HRESULT HrInit(IntPtr This);
struct ITaskBarList2VTa... | Add delegates and VTables for ITaskBarList2. | Add delegates and VTables for ITaskBarList2.
| C# | mit | SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia... | |
0146ab3d4d3f67288da1971cef3bb664942885c4 | Pinta.ImageManipulation.System.Drawing/BitmapExtensions.cs | Pinta.ImageManipulation.System.Drawing/BitmapExtensions.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Pinta.ImageManipulation
{
public static class BitmapExtensions
{
public static void Render (this BaseEffect effect, Bitmap source)
{
var wrapper = new BitmapWrapper (source);
effect.Rende... | Add extension overload of Render that takes care of the BitmapWrapper. | Add extension overload of Render that takes care of the BitmapWrapper.
| C# | mit | PintaProject/Pinta.ImageManipulation | |
1ca54882d8868797d1b15b5f4720ba185476758a | Novak.Andriy/parallel-extension-demo/Groups.cs | Novak.Andriy/parallel-extension-demo/Groups.cs | using System.Collections.Generic;
using System.Xml.Serialization;
namespace parallel_extension_demo
{
[XmlRoot("groop")]
public class Groups
{
[XmlArray("employees"), XmlArrayItem("employee")]
public List<Employee> Colection { get; set; }
[XmlAttribute("employeeCount")]
pub... | Add Groping class for Employee | Add Groping class for Employee
| C# | cc0-1.0 | 23S163PR/system-programming | |
17633e6435879bb4f9ad15823e92b97b703678f2 | stellar-dotnet-sdk/AccountUtil.cs | stellar-dotnet-sdk/AccountUtil.cs | using System;
using System.IO;
using System.Net;
namespace stellar_dotnet_sdk
{
public static class AccountUtil
{
public static void FundTestAccount(string Public_Key)
{
UriBuilder baseUri = new UriBuilder("https://horizon-testnet.stellar.org/friendbot");
string queryToAppend = "addr=" + Public_Key;
b... | Add fund test account method | Add fund test account method
Signed-off-by: Jagadish Krishnamoorthy <476cecf2ec888ddf2e8e64a95d4cb60429928e9e@gmail.com>
| C# | apache-2.0 | elucidsoft/dotnetcore-stellar-sdk | |
d4c489c61667c96ed96b95c5ee1566a509f71523 | test/Sprache.Tests/OptionTests.cs | test/Sprache.Tests/OptionTests.cs | using Sprache;
using Xunit;
namespace Sprache.Tests
{
public class OptionTests
{
private Parser<IOption<char>> ParserOptionalSelect = Parse.Char('a').Optional().Select(o => o.Select(c => char.ToUpperInvariant(c)));
private Parser<IOption<string>> ParserOptionalSelectMany =
from... | Add unit test for OptionExtensions | Add unit test for OptionExtensions
| C# | mit | sprache/Sprache | |
d370c84f84f5b0baef9c65d66048f1ef92aacb9d | ZocMon/ZocMon/ZocMonLib/Framework/IRecordReduce.cs | ZocMon/ZocMon/ZocMonLib/Framework/IRecordReduce.cs | using System.Data;
namespace ZocMonLib
{
public interface IRecordReduce
{
/// <summary>
/// Reduce all known data.
/// </summary>
string ReduceAll(bool deleteReducedData);
/// <summary>
/// Calculate and store all reductions for the given configuration.
... | using System.Data;
namespace ZocMonLib
{
public interface IRecordReduce
{
/// <summary>
/// Reduce all known data.
/// </summary>
string ReduceAll(bool deleteReducedData);
/// <summary>
/// Calculate and store all reductions for the given configuration.
... | Update reducer so that the interface has defaults | Update reducer so that the interface has defaults
| C# | apache-2.0 | modulexcite/ZocMon,ZocDoc/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon,ZocDoc/ZocMon,modulexcite/ZocMon |
c0b29865fc00d15a8e50a79bcafe0048b1bc22aa | src/Atata.WebDriverExtras/Extensions/StringBuilderExtensions.cs | src/Atata.WebDriverExtras/Extensions/StringBuilderExtensions.cs | using System.Text;
namespace Atata
{
/// <summary>
/// Provides a set of extension methods for <see cref="StringBuilder"/>.
/// </summary>
public static class StringBuilderExtensions
{
/// <summary>
/// Appends the space character.
/// </summary>
/// <param name="bu... | Add AppendSpace extension method for StringBuilder | Add AppendSpace extension method for StringBuilder
| C# | apache-2.0 | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | |
333165e0528f2f48d427d8cf215efcd01bfb886e | osu.Game.Tests/Visual/Background/TestSceneTrianglesBackground.cs | osu.Game.Tests/Visual/Background/TestSceneTrianglesBackground.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.Backgrounds;
using osu.Framework.Graphics;
using osuTK.Graphics;
using osu.Framework.Graphics.Shapes;
namespace osu.Game.Tests.Visual.Background... | Add test scene for Triangles | Add test scene for Triangles
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu | |
c403e628ddae77c9c3173604e8c9832dd09b8a6c | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneOsuEditorGrids.cs | osu.Game.Rulesets.Osu.Tests/Editor/TestSceneOsuEditorGrids.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.Rulesets.Osu.Edit;
using osu.Game.Screens.Edit.Compose.Components;
using osu.Game.Te... | Add test coverage for distance/rectangular grid exclusivity | Add test coverage for distance/rectangular grid exclusivity
| C# | mit | ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu | |
56f020eae1b7af9c180793916b068d7716f53362 | src/GitVersionCore.Tests/IntegrationTests/WorktreeScenarios.cs | src/GitVersionCore.Tests/IntegrationTests/WorktreeScenarios.cs | using GitTools.Testing;
using LibGit2Sharp;
using NUnit.Framework;
using System.IO;
using GitVersionCore.Tests.Helpers;
namespace GitVersionCore.Tests.IntegrationTests
{
[TestFixture]
public class WorktreeScenarios : TestBase
{
[Test]
[Category("NoMono")]
[Description("LibGit2Shar... | Add a worktree repository test | Add a worktree repository test
| C# | mit | gep13/GitVersion,ParticularLabs/GitVersion,asbjornu/GitVersion,gep13/GitVersion,asbjornu/GitVersion,ParticularLabs/GitVersion,ermshiperete/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion,GitTools/GitVersion,ermshiperete/GitVersion | |
ba9cefc4c5a2c077740696591ced5d357d7d6f4e | resharper/resharper-unity/src/Rider/RiderUnityDocumentOperationsImpl.cs | resharper/resharper-unity/src/Rider/RiderUnityDocumentOperationsImpl.cs | using JetBrains.Annotations;
using JetBrains.Application.changes;
using JetBrains.Application.FileSystemTracker;
using JetBrains.Application.Threading;
using JetBrains.DocumentManagers;
using JetBrains.DocumentModel;
using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Host.Features.Docume... | Fix autosave and refresh on shared projects | Fix autosave and refresh on shared projects
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | |
20f426cda0348a8ad4f45cd7b75b0d3ce8a91951 | osu.Game.Benchmarks/BenchmarkBeatmapParsing.cs | osu.Game.Benchmarks/BenchmarkBeatmapParsing.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.IO;
using BenchmarkDotNet.Attributes;
using osu.Framework.IO.Stores;
using osu.Game.Beatmaps;
using osu.Game.Beatmaps.Formats;
using osu.Game.IO;
using osu.... | Add beatmap parsing as sample benchmark. | Add beatmap parsing as sample benchmark.
| C# | mit | 2yangk23/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu | |
6f2fe0f8c3962fd7fd92e3f4a630316479a0cbc8 | ProjectTracker20cs/ProjectTracker.Library/ResourceList.cs | ProjectTracker20cs/ProjectTracker.Library/ResourceList.cs | using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
namespace ProjectTracker.Library
{
[Serializable()]
public class ResourceList :
ReadOnlyListBase<ResourceList, ResourceInfo>
{
#region Factory Methods
public static ResourceList GetResourceList()
{
... | using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
namespace ProjectTracker.Library
{
[Serializable()]
public class ResourceList :
ReadOnlyListBase<ResourceList, ResourceInfo>
{
#region Factory Methods
public static ResourceList GetResourceList()
{
... | Set list to readonly after fetch. | Set list to readonly after fetch.
| C# | mit | MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,BrettJaner/csla,jonnybee/csla,rockfordlhotka/csla,rockfordlhotka/csla,ronnymgm/csla-light,ronnymgm/csla-light,ronnymgm/csla-light,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,BrettJaner/csla,JasonBock/csla |
72ef3c6427137ecf56f40c1abfd0ba6663174f23 | src/Glimpse.Web.Common/Framework/DefaultRequestRuntimeProvider.cs | src/Glimpse.Web.Common/Framework/DefaultRequestRuntimeProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Web
{
public class DefaultRequestRuntimeProvider : IRequestRuntimeProvider
{
private readonly ITypeService _typeService;
public DefaultRequestRuntimeProvider(ITypeService typeService)
{
_t... | Add default provider for RequestRuntime | Add default provider for RequestRuntime
| C# | mit | zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Gl... | |
a0c43d691a118d7181c1c35a940dd1dc017a618b | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs | src/NHibernate.Test/SqlCommandTest/TemplateFixture.cs | using System;
using NHibernate.Dialect;
using NHibernate.SqlCommand;
using NUnit.Framework;
namespace NHibernate.Test.SqlCommandTest
{
[TestFixture]
public class TemplateFixture
{
public TemplateFixture()
{
}
/// <summary>
/// Tests that a column enclosed by <c>`</c> is enclosed by the Dialect.Ope... | Test Fixture for Template class. | Test Fixture for Template class.
SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@403
| C# | lgpl-2.1 | nkreipke/nhibernate-core,gliljas/nhibernate-core,livioc/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligen... | |
a72bb932661faa2442ceb9160d61b0d21e803790 | osu.Game.Tests/Visual/Online/TestSceneNewsHeader.cs | osu.Game.Tests/Visual/Online/TestSceneNewsHeader.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.Overlays.News;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Framework.Allocation;
namespace osu.Game.Tests.Vis... | Add test scene for NewsHeader | Add test scene for NewsHeader
| C# | mit | ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu | |
6b72f7ebe7724ad741ccd33bdcd4b12a67dfaa55 | src/Glimpse.Server.Web/GlimpseServerWebOptionsSetup.cs | src/Glimpse.Server.Web/GlimpseServerWebOptionsSetup.cs | using System;
using Microsoft.Framework.OptionsModel;
namespace Glimpse.Server
{
public class GlimpseServerWebOptionsSetup : ConfigureOptions<GlimpseServerWebOptions>
{
public GlimpseServerWebOptionsSetup() : base(ConfigureGlimpseServerWebOptions)
{
Order = -1000;
}
... | Add Server Web Options Setup | Add Server Web Options Setup
| C# | mit | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-k... | |
b528df2cdb3bafe7ad439e04d063c682f1aa4f31 | Battery-Commander.Web/Controllers/API/SoldiersController.cs | Battery-Commander.Web/Controllers/API/SoldiersController.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace Bat... | Add first API stub endpoint | Add first API stub endpoint
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | |
2407bfa48dd5f149c73fe4b167a02b37c552c178 | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.cs | test/Openchain.Sqlite.Tests/SqliteAnchorStateBuilderTests.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 SqliteAnchorStateBuilder class | Add unit tests for the SqliteAnchorStateBuilder class
| C# | apache-2.0 | openchain/openchain | |
95df7ca44176d585911a72cb0f0e8bb4ede28e73 | src/Marten.Testing/Events/Bugs/Bug_1723_inline_projections_get_cut_off.cs | src/Marten.Testing/Events/Bugs/Bug_1723_inline_projections_get_cut_off.cs | using System;
using System.Threading.Tasks;
using Marten.Testing.Events.Aggregation;
using Marten.Testing.Harness;
using Shouldly;
using Xunit;
using Xunit.Abstractions;
namespace Marten.Testing.Events.Bugs
{
public class Bug_1723_inline_projections_get_cut_off : AggregationContext
{
private readonly I... | Test to verify inline projections with lots of events. Closes GH-1723 | Test to verify inline projections with lots of events. Closes GH-1723
| C# | mit | mysticmind/marten,mysticmind/marten,JasperFx/Marten,mysticmind/marten,JasperFx/Marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten | |
099b044f04c556aefe50db9ab9a40fe9dee06c12 | osu.Game.Tests/Online/TestSceneBeatmapDownloading.cs | osu.Game.Tests/Online/TestSceneBeatmapDownloading.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.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.Notifications;
using osu.Game.Tests.V... | Add headless test ensuring correct cancelling download behaviour | Add headless test ensuring correct cancelling download behaviour
| C# | mit | peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu | |
4a94f9119b4d5e449a84839b90199e44f0c8c254 | test/AsmResolver.DotNet.Tests/Code/Cil/CilLocalVariableCollectionTest.cs | test/AsmResolver.DotNet.Tests/Code/Cil/CilLocalVariableCollectionTest.cs | using AsmResolver.DotNet.Code.Cil;
using Xunit;
namespace AsmResolver.DotNet.Tests.Code.Cil
{
public class CilLocalVariableCollectionTest
{
private readonly CilLocalVariableCollection _collection = new CilLocalVariableCollection();
private readonly ModuleDefinition _module = new ModuleDefinitio... | Add CilLocalVariableCollection index consistency tests. | Add CilLocalVariableCollection index consistency tests.
| C# | mit | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | |
2ea174cbc47f6325c05a839f39dce9cfa83522aa | CSharpRecipe/Recipe.ThreadAndConcurrent/EventRaiseExtentions.cs | CSharpRecipe/Recipe.ThreadAndConcurrent/EventRaiseExtentions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Recipe.ThreadAndConcurrent
{
public static class EventRaiseExtentions
{
public static void Raise<TEventArgs>(this TEventArgs e, object sender,
... | Add thread safe event trigger | Add thread safe event trigger
| C# | mit | caronyan/CSharpRecipe | |
771532bcb4bd8ef84a8742a789ad8b36f4979b8d | src/Pather.CSharp/PathElements/EnumerableAccessFactory.cs | src/Pather.CSharp/PathElements/EnumerableAccessFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Pather.CSharp.PathElements
{
public class EnumerableAccessFactory : IPathElementFactory
{
public IPathElement Create(string pathElement)
{
... | Add factory for the PathElement class for array like access | Add factory for the PathElement class for array like access
| C# | mit | Domysee/Pather.CSharp | |
c219cd4da027f5445c1aa697ab2f12f0493c2de9 | src/ServiceStack.ServiceInterface/DefaultViewAttribute.cs | src/ServiceStack.ServiceInterface/DefaultViewAttribute.cs | using ServiceStack.ServiceHost;
namespace ServiceStack.ServiceInterface
{
public class DefaultViewAttribute : RequestFilterAttribute
{
public string View { get; set; }
public string Template { get; set; }
public DefaultViewAttribute() { }
public DefaultViewAttribute(s... | Add DefaultView RequestFilterAttribute to set a default view/template for attributed services/actions | Add DefaultView RequestFilterAttribute to set a default view/template for attributed services/actions
| C# | bsd-3-clause | nataren/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,nataren/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,ZocDoc/ServiceStack,NServi... | |
3d72ff28c3e09b1e1be93917ceaf2957e34d1adc | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModFreezeFrame.cs | osu.Game.Rulesets.Osu.Tests/Mods/TestSceneOsuModFreezeFrame.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.Osu.Mods;
namespace osu.Game.Rulesets.Osu.Tests.Mods
{
public class TestSceneOsuModFreezeFrame : OsuModTestScene
{... | Add test scene for "Freeze Frame" mod | Add test scene for "Freeze Frame" mod
| C# | mit | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu | |
9d7f4a8b1fde940857cc831bb8188f84acdf418c | src/Glimpse.Agent.Web/Framework/FixedRequestProfilerProvider.cs | src/Glimpse.Agent.Web/Framework/FixedRequestProfilerProvider.cs | using System.Collections.Generic;
using System.Linq;
namespace Glimpse.Agent.Web
{
public class FixedRequestProfilerProvider : IRequestProfilerProvider
{
public FixedRequestProfilerProvider()
: this(Enumerable.Empty<IRequestProfiler>())
{
}
public FixedRequestProfi... | Add fixed implementation for RequestProfilers provider | Add fixed implementation for RequestProfilers provider
| C# | mit | peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.... | |
6fb79e7c89ed2d8930c391e9990e611627fd9618 | apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1/ClusterManagerSettings.cs | apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1/ClusterManagerSettings.cs | // Copyright 2019 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 settings for backward compatibility | Add settings for backward compatibility
| C# | apache-2.0 | jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | |
192d1f62f870d9b2b8909c2d2351a524c172afa5 | src/ReactiveDomain.Messaging.Tests/when_serializing_ids.cs | src/ReactiveDomain.Messaging.Tests/when_serializing_ids.cs | using System;
using Newtonsoft.Json;
using Xunit;
namespace ReactiveDomain.Messaging.Tests
{
public sealed class when_serializing_ids
{
private readonly CorrelationId _corrId;
private readonly SourceId _sourceId;
private readonly SourceId _nullSourceId;
public when_serializing... | Add tests for Id struct serialization and deserialization | Add tests for Id struct serialization and deserialization
| C# | mit | PKI-InVivo/reactive-domain | |
dea4fd9499449ee9f46c52eb767d7cecd08b7274 | LonoNetTest/UnitTest1.cs | LonoNetTest/UnitTest1.cs | using LonoNet.Client;
using LonoNet.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
namespace LonoNetTest
{
/// <summary>
/// Early stage. At this point, this is more of sample code to get you started. Will work on actual unit tests soon.
/// </summary>
[TestClass... | Add sample code to the unit test project for now. | Add sample code to the unit test project for now.
| C# | apache-2.0 | jbct/LonoNet | |
616f4101c3482657dbcb1d1f78f03391fdf30b99 | src/CompetitionPlatform/Views/Shared/CreateInitiativeClosed.cshtml | src/CompetitionPlatform/Views/Shared/CreateInitiativeClosed.cshtml | @{
ViewData["Title"] = "Access Denied";
}
<br>
<br>
<br>
<div class="container">
<h2 class="text-danger">Creating Initiative projects is unavailable.</h2>
<p>
You do not have appropriate permissions to create Initiative projects. Please create a Draft project.
</p>
</div> | Add view for "Initiative Create Closed" error page. | Add view for "Initiative Create Closed" error page.
| C# | mit | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | |
016bda13412ef5d6b96ff3b3bcf9eb1ef24578c3 | ClumsyWordsUniversal/ClumsyWordsUniversal.Shared/DataModel/DataSources/LocalDataSource.cs | ClumsyWordsUniversal/ClumsyWordsUniversal.Shared/DataModel/DataSources/LocalDataSource.cs | using Microsoft.Live;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.Storage;
namespace ClumsyWor... | Create data source for local storage | Create data source for local storage
| C# | mit | tenevdev/ClumsyWords | |
fbc664822d4acfbd8e2a10607e638d3c3c9702f8 | osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.cs | osu.Framework.Tests/Visual/Sprites/TestSceneRomanisableSpriteText.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.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Co... | Add failing test covering RomanisableString usage in SpriteText | Add failing test covering RomanisableString usage in SpriteText
| C# | mit | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework | |
733c7f58dc7b614ae6d3a2185c206c11d28434a7 | LiteDB/Core/Collections/Delete.cs | LiteDB/Core/Collections/Delete.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace LiteDB
{
public partial class LiteCollection<T>
{
/// <summary>
/// Remove all document based on a Query object. Returns removed document counts
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace LiteDB
{
public partial class LiteCollection<T>
{
/// <summary>
/// Remove all document based on a Query object. Returns removed document counts
... | Add delete auto index creation | Add delete auto index creation
| C# | mit | 89sos98/LiteDB,Xicy/LiteDB,prepare/LiteDB,Skysper/LiteDB,falahati/LiteDB,icelty/LiteDB,falahati/LiteDB,masterdidoo/LiteDB,masterdidoo/LiteDB,prepare/LiteDB,89sos98/LiteDB,RytisLT/LiteDB,mbdavid/LiteDB,prepare/LiteDB,prepare/LiteDB,RytisLT/LiteDB |
5a0c947d26e84cb132979605b5c3662d46b4fb13 | Settings.aspx.cs | Settings.aspx.cs | using System;
public partial class Settings : System.Web.UI.Page
{
//---------------------------------------------------------------------------
protected void Page_Load( object sender, EventArgs e )
{
// Don't allow people to skip the login page.
if( Session[ SettingsLogin.SES_SETTINGS_LOGGED_IN ] == ... | Remove reference to settings icon | Remove reference to settings icon | C# | mit | grae22/TeamTracker | |
da8a1692d9cbdcf8ba24dde2ac30e43cfc6ccf11 | osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.cs | osu.Game.Tests/Online/TestMultiplayerMessagePackSerialization.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 MessagePack;
using NUnit.Framework;
using osu.Game.Online;
using osu.Game.Online.Multiplayer;
using osu.Game.Online.Multiplayer.MatchTypes.TeamVersus;
namespace os... | Add test coverage of multiplayer room/state messagepack serialisation | Add test coverage of multiplayer room/state messagepack serialisation
| C# | mit | peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,ppy/osu,ppy/osu,NeoAdonis/osu | |
e1c4c8f3d5401ce298c4f3392a1464103a931385 | osu.Game.Tests/Visual/Gameplay/TestSceneGameplaySamplePlayback.cs | osu.Game.Tests/Visual/Gameplay/TestSceneGameplaySamplePlayback.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.Audio;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu... | Add failing test coverage of gameplay sample pausing (during seek) | Add failing test coverage of gameplay sample pausing (during seek)
| C# | mit | peppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu-new | |
0ed849f95ed7d8c352b8834f317bd1ac273641e9 | Com.OneSignal.Core/Properties/AssemblyInfo.cs | Com.OneSignal.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Com.OneSignal.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
... | Add assembly info to OneSignal.Core | Add assembly info to OneSignal.Core
| C# | mit | one-signal/OneSignal-Xamarin-SDK,one-signal/OneSignal-Xamarin-SDK | |
bcbe3a4c5a8e86ce0c9d4c51dd1ed5c7a88cd2a9 | Battery-Commander.Web/Controllers/API/VehiclesController.cs | Battery-Commander.Web/Controllers/API/VehiclesController.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.Threading.Tasks;
namespace BatteryCommander.Web.Controllers.API
{
[Route("api/[controller]"), Authoriz... | Add stub endpoint for getting vehicle info | Add stub endpoint for getting vehicle info
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | |
ac175deea29a0f84d9c843a93839bde33acbfae4 | NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestContentTypeLayoutRenderer.cs | NLog.Web.AspNetCore/LayoutRenderers/AspNetRequestContentTypeLayoutRenderer.cs | #if NETSTANDARD_1plus
using NLog.LayoutRenderers;
using System.Text;
using Microsoft.AspNetCore.Routing;
using NLog.Web.Internal;
namespace NLog.Web.LayoutRenderers
{
/// <summary>
/// ASP.NET content type.
/// </summary>
/// <example>
/// <code lang="NLog Layout Renderer">
/// ${aspnet-reque... | Add ${aspnet-request-contenttype} (ASP.NET Core only) | Add ${aspnet-request-contenttype} (ASP.NET Core only)
| C# | bsd-3-clause | 304NotModified/NLog.Web,NLog/NLog.Web | |
3f4a66c4ae6036b98cb3512ba2440d75596c056e | osu.Game/Tests/Visual/RealtimeMultiplayer/RealtimeMultiplayerTestScene.cs | osu.Game/Tests/Visual/RealtimeMultiplayer/RealtimeMultiplayerTestScene.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.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | Add realtime multiplayer test scene abstract class | Add realtime multiplayer test scene abstract class
| C# | mit | peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu | |
3cb86d2226222d77d671ce48bd85f8668a1d9299 | DevelopmentInProgress.WPFControls/NavigationPanel/NavigationPanelResources.cs | DevelopmentInProgress.WPFControls/NavigationPanel/NavigationPanelResources.cs | using System.Windows.Controls;
using System.Windows.Input;
namespace DevelopmentInProgress.WPFControls.NavigationPanel
{
partial class NavigationPanelResources
{
private void ExpanderImageMouseDown(object sender, MouseButtonEventArgs e)
{
throw new System.NotImplementedException();... | Add code behind for the Navigation Panel resource file | Add code behind for the Navigation Panel resource file
Add code behind for the Navigation Panel resource file
| C# | apache-2.0 | grantcolley/wpfcontrols | |
54c72db118edcb37908c95b685c8225cf8001c9b | WalletWasabi.Fluent/ViewModels/NavBar/SearchItemViewModel.cs | WalletWasabi.Fluent/ViewModels/NavBar/SearchItemViewModel.cs | using System;
using System.Windows.Input;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels.NavBar
{
public class SearchItemViewModel : RoutableViewModel
{
public SearchItemViewModel(NavigationStateViewModel navigationState, NavigationTarget navigationTarget, string iconName, string title, Func<RoutableVi... | Add search item view model | Add search item view model
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | |
4ff4f14b50495898b76a347cbba0fdba1f155334 | src/FakeItEasy/Expressions/ArgumentConstraints/EqualityArgumentConstraint.cs | src/FakeItEasy/Expressions/ArgumentConstraints/EqualityArgumentConstraint.cs | namespace FakeItEasy.Expressions.ArgumentConstraints
{
using System;
using System.Diagnostics.CodeAnalysis;
using FakeItEasy.Core;
internal class EqualityArgumentConstraint
: IArgumentConstraint
{
public EqualityArgumentConstraint(object expectedValue)
{
... | namespace FakeItEasy.Expressions.ArgumentConstraints
{
using System;
using System.Diagnostics.CodeAnalysis;
using FakeItEasy.Core;
internal class EqualityArgumentConstraint
: IArgumentConstraint
{
public EqualityArgumentConstraint(object expectedValue)
{
... | Use value formatters to describe asserted call | [green] Use value formatters to describe asserted call
| C# | mit | adamralph/FakeItEasy,blairconrad/FakeItEasy,FakeItEasy/FakeItEasy,FakeItEasy/FakeItEasy,blairconrad/FakeItEasy,adamralph/FakeItEasy,thomaslevesque/FakeItEasy,thomaslevesque/FakeItEasy |
d905ef53b37ac287c2072fb8bcb26c8704211c27 | osu.Game.Rulesets.Mania.Tests/TestSceneManiaHitObjectComposer.cs | osu.Game.Rulesets.Mania.Tests/TestSceneManiaHitObjectComposer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containe... | Add test scene for mania composer | Add test scene for mania composer
| C# | mit | UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipoo/osu | |
89429021c999913a057c73d8d3eb263c02ff6bdd | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledDropdown.cs | osu.Game.Tests/Visual/UserInterface/TestSceneLabelledDropdown.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.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.UserInterface
{
public class TestSceneLabell... | Add test scene for labelled dropdowns | Add test scene for labelled dropdowns
| C# | mit | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu | |
4013cc9244635f9c00b767d0fad97d06c7ba18a6 | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.cs | osu.Framework.Tests/Visual/Testing/TestSceneManualInputManagerTestScene.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.Input;
using osu.Framework.Testing;
using osuTK;
using osuTK.Input;
namespace osu.Framework.Tests.Visual.Testing
{
public ... | Add test scene ensuring input reset works properly and mouse position set initially | Add test scene ensuring input reset works properly and mouse position set initially
| C# | mit | smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework | |
7ebd0db59767ff795ee6c62ddfa05f40f2c56fe4 | apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1.Tests/ApiClientHeaderTest.cs | apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1.Tests/ApiClientHeaderTest.cs | // Copyright 2019 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... | Test for headers in GAPIC client libraries | Test for headers in GAPIC client libraries
There's nothing particularly special about Language here - it's just a fairly vanilla GAPIC libary.
| C# | apache-2.0 | jskeet/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,googleapis/google-cloud-dotnet | |
5ccdfe5dc00a176c8773dc8db45792268ad153c4 | RenderScripts/Mpdn.Presets.cs | RenderScripts/Mpdn.Presets.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Mpdn.RenderScript.Config;
using Mpdn.PlayerExtensions.GitHub;
using YAXLib;
namespace Mpdn.RenderScript
{
namespace Mpdn.ScriptChain
{
public abstract class PresetRenderScript : IRenderScriptUi
... | Add renderscript for the Preset playerextension. | Add renderscript for the Preset playerextension.
| C# | mit | zachsaw/RenderScripts | |
e8dafef184c8d293dce96e3855d2b0443b8c1391 | NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs | NuKeeper.Integration.Tests/NuGet/Process/DotNetUpdatePackageCommandTests.cs | using System.IO;
using System.Threading.Tasks;
using NuGet.Versioning;
using NuKeeper.Configuration;
using NuKeeper.Inspection.RepositoryInspection;
using NuKeeper.NuGet.Process;
using NUnit.Framework;
namespace NuKeeper.Integration.Tests.NuGet.Process
{
[TestFixture]
public class DotNetUpdatePackageCommandTes... | Test replicating the asp webapi failure scenario | Test replicating the asp webapi failure scenario
| C# | apache-2.0 | AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper | |
1aef8693e3c42837ca3003e2aeffe453b84ff139 | src/Cosmos.Logging/ExtraSupports/ExtraMessageProperty.Extensions.cs | src/Cosmos.Logging/ExtraSupports/ExtraMessageProperty.Extensions.cs | using Cosmos.Logging.Events;
namespace Cosmos.Logging.ExtraSupports
{
public static class ExtraMessagePropertyExtensions
{
public static ExtraMessageProperty AsExtra(this MessageProperty property) => new ExtraMessageProperty(property);
}
} | Add a convert extension for MessageProperty - convert message property to extra message property. | Add a convert extension for MessageProperty - convert message property to extra message property.
| C# | mit | CosmosProgramme/Cosmos.Core | |
1e5925b0affee8b0cb72e2736538a6eaf5c904fb | Examples/CSharp/Programming-Documents/Comments/RemoveRegionText.cs | Examples/CSharp/Programming-Documents/Comments/RemoveRegionText.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Aspose.Words.Examples.CSharp.Programming_Documents.Comments
{
class RemoveRegionText
{
public static void Run()
{
// ExStart:RemoveRegionText
// The path to the documents dir... | Remove text between CommentRangeStart and CommentRangeEnd | Remove text between CommentRangeStart and CommentRangeEnd
| C# | mit | aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,aspose-words/Aspose.Words-for-.NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET,asposewords/Aspose_Words_NET | |
e14d3fc21abde9d372ab34119366da3303fe6bf3 | WalletWasabi/WebClients/Coinstamp/CoinstampExchangeRateProvider.cs | WalletWasabi/WebClients/Coinstamp/CoinstampExchangeRateProvider.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
using WalletWasabi.Backend.Models;
using WalletWasabi.Interfaces;
namespace WalletWasabi.WebClients.BlockchainInfo
{
public class CoinstampExchangeRateProvider : IExchangeRateProvider
{
publ... | Add Coinstamp as price provider | Add Coinstamp as price provider
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | |
81070b474269cff0ccf2b1c47c44a85c100de4ea | test/Tester/TestStreamProviders/FailureInjectionStreamProvider.cs | test/Tester/TestStreamProviders/FailureInjectionStreamProvider.cs | using System;
using System.Threading.Tasks;
using Orleans;
using Orleans.Streams;
using Orleans.Providers;
namespace Tester.TestStreamProviders
{
/// <summary>
/// This is a test stream provider that throws exceptions when config file contains certain properties.
/// </summary>
public enum FailureInjec... | using System;
using System.Threading.Tasks;
using Orleans;
using Orleans.Async;
using Orleans.Streams;
using Orleans.Providers;
namespace Tester.TestStreamProviders
{
/// <summary>
/// This is a test stream provider that throws exceptions when config file contains certain properties.
/// </summary>
pub... | Return exceptions in faulted tasks. | Return exceptions in faulted tasks.
| C# | mit | dVakulen/orleans,xclayl/orleans,sebastianburckhardt/orleans,ashkan-saeedi-mazdeh/orleans,jokin/orleans,sebastianburckhardt/orleans,shlomiw/orleans,ElanHasson/orleans,sergeybykov/orleans,pherbel/orleans,bstauff/orleans,dotnet/orleans,tsibelman/orleans,tsibelman/orleans,Carlm-MS/orleans,ashkan-saeedi-mazdeh/orleans,yevhe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.