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 |
|---|---|---|---|---|---|---|---|---|---|
2a8a89bb9937b83969ed3a1e417cc5d11de2dcbd | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/Vendor/MsSqlSparqlTestSuite.cs | src/Slp.Evi.Storage/Slp.Evi.Test.System/Sparql/Vendor/MsSqlSparqlTestSuite.cs | using System.Linq;
using Microsoft.Extensions.Configuration;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.Database.Vendor.MsSql;
using Xunit;
namespace Slp.Evi.Test.System.Sparql.Vendor
{
public sealed class MsSqlSparqlFixture
: SparqlFixture
{
public MsSqlSparqlFixture()
{
... | using System.Linq;
using Microsoft.Extensions.Configuration;
using Slp.Evi.Storage.Database;
using Slp.Evi.Storage.Database.Vendor.MsSql;
using Xunit;
namespace Slp.Evi.Test.System.Sparql.Vendor
{
public sealed class MsSqlSparqlFixture
: SparqlFixture
{
public MsSqlSparqlFixture()
{
... | Improve way how fixture is bootup. | Improve way how fixture is bootup.
| C# | mit | mchaloupka/EVI |
2d9918d6a895a239bd5fe619ecf58ae08eeb8e4f | Assets/Alensia/Core/UI/Legacy/CursorDefinition.cs | Assets/Alensia/Core/UI/Legacy/CursorDefinition.cs | using System;
using UnityEngine;
namespace Alensia.Core.UI.Legacy
{
[Serializable]
public class CursorDefinition
{
public bool Visible;
public CursorLockMode LockMode;
public Vector2 Hotspot;
public Texture2D Image;
public void Apply()
{
Curso... | using System;
using UnityEngine;
namespace Alensia.Core.UI.Legacy
{
[Serializable]
public class CursorDefinition
{
public bool Visible;
public CursorLockMode LockMode;
public Vector2 Hotspot;
public Texture2D Image;
public void Apply()
{
Unity... | Fix compile error with namespace conflict | Fix compile error with namespace conflict
| C# | apache-2.0 | mysticfall/Alensia |
b5d86cb5c13127b2a273f2a6688fad462ea8ead5 | src/AsmResolver.PE/Debug/DefaultDebugDataReader.cs | src/AsmResolver.PE/Debug/DefaultDebugDataReader.cs | using AsmResolver.PE.Debug.CodeView;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides a default implementation of the <see cref="IDebugDataReader"/> interface.
/// </summary>
public class DefaultDebugDataReader : IDebugDataReader
{
/// <inheritdoc />
public IDebugDataSegm... | using AsmResolver.PE.Debug.CodeView;
namespace AsmResolver.PE.Debug
{
/// <summary>
/// Provides a default implementation of the <see cref="IDebugDataReader"/> interface.
/// </summary>
public class DefaultDebugDataReader : IDebugDataReader
{
/// <inheritdoc />
public IDebugDataSegm... | Change if to switch expression | Change if to switch expression
| C# | mit | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver |
630bef1d9b795110b1f700dfe4be6a6632db1188 | SimpSim.NET/StateSaver.cs | SimpSim.NET/StateSaver.cs | using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace SimpSim.NET
{
public class StateSaver
{
public virtual void SaveMemory(Memory memory, FileInfo file)
{
Save(memory, file);
}
public virtual Memory LoadMemory(FileInfo file)
{
... | using System.IO;
using System.Text.Json;
namespace SimpSim.NET
{
public class StateSaver
{
public virtual void SaveMemory(Memory memory, FileInfo file)
{
Save(memory, file);
}
public virtual Memory LoadMemory(FileInfo file)
{
return Load<Memory>... | Replace BinaryFormatter with JsonSerializer due to the former being obsoleted. Tests still fail. | Replace BinaryFormatter with JsonSerializer due to the former being obsoleted. Tests still fail.
| C# | mit | ryanjfitz/SimpSim.NET |
3d1f9c6e54398a89d239bef272685b895bb866a9 | Assets/OCDRoomEscape/Scripts/Interaction/DeskLampPuzzle.cs | Assets/OCDRoomEscape/Scripts/Interaction/DeskLampPuzzle.cs | using UnityEngine;
using System.Collections;
public class DeskLampPuzzle : Puzzle
{
private bool isLampOn = false;
private bool hasLampBeenTurnedOn = false;
private InteractableSwitch lampSwitch;
// Use this for initialization
public override void Start ()
{
base.Start();
lampSwitch = GetComponent<Intera... | using UnityEngine;
using System.Collections;
public class DeskLampPuzzle : Puzzle
{
private bool isLampOn = false;
private bool hasLampBeenTurnedOn = false;
private InteractableSwitch lampSwitch;
// Use this for initialization
public override void Start ()
{
base.Start();
lampSwitch = GetComponent<Intera... | Check that the puzzle has not already been solved. | Check that the puzzle has not already been solved.
| C# | apache-2.0 | gadauto/OCDEscape |
644021383639d599a978e6170ae3db7c5d787015 | src/EloWeb/Models/Games.cs | src/EloWeb/Models/Games.cs | using System.Collections.Generic;
using System.Linq;
namespace EloWeb.Models
{
public class Games
{
public enum GamesSortOrder
{
MostRecentFirst = 1,
MostRecentLast = 2
}
private static List<Game> _games = new List<Game>();
public static void I... | using System.Collections.Generic;
using System.Linq;
namespace EloWeb.Models
{
public class Games
{
public enum GamesSortOrder
{
MostRecentFirst = 1,
MostRecentLast = 2
}
private static List<Game> _games = new List<Game>();
public static void I... | Fix order of games when calculating ratings | Fix order of games when calculating ratings
| C# | unlicense | Variares/ELOSYSTEM,richardadalton/EloRate,richardadalton/EloRate,Variares/ELOSYSTEM |
2827e28ba62e8582bc5c21dcf8891d2deca1959b | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml | DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_SelectLanguagePartial.cshtml | @using System.Globalization
@using Microsoft.AspNetCore.Builder
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Localization
@using Microsoft.Extensions.Options
@inject IViewLocalizer Localizer
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultureItems = new SelectList(LocOptions.Va... | @using System.Globalization
@using Microsoft.AspNetCore.Builder
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Localization
@using Microsoft.Extensions.Options
@inject IViewLocalizer Localizer
@inject IOptions<RequestLocalizationOptions> LocOptions
@{
var cultureItems = new SelectList(LocOptions.Va... | Fix issue with tagHelper that requries field or property to target for | Fix issue with tagHelper that requries field or property to target for
| C# | mit | diolive/cache,diolive/cache |
3bd72be798d1d5858ce5f9c5af5739c653b65e12 | Credentials/src/Credentials/Properties/AssemblyInfo.cs | Credentials/src/Credentials/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: AssemblyConfigurat... | 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: AssemblyConfigurat... | Correct AssemblyProduct name from Security to Credentials | Correct AssemblyProduct name from Security to Credentials
| C# | mit | alansav/credentials |
d3d61cc54f4f9cc2a589d3e5d8d57bda2d6a1fe6 | sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/Properties/AssemblyInfo.cs | sdk/xamarin/ios/Microsoft.WindowsAzure.Mobile.Ext.iOS/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("Mi... | 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("Mi... | Drop the Xamarin copyright after the CLA has been signed to contribute this back to Microsoft | Drop the Xamarin copyright after the CLA has been signed to contribute this back to Microsoft
| C# | apache-2.0 | erichedstrom/azure-mobile-services,dcristoloveanu/azure-mobile-services,paulbatum/azure-mobile-services,paulbatum/azure-mobile-services,intellitour/azure-mobile-services,soninaren/azure-mobile-services,intellitour/azure-mobile-services,Reminouche/azure-mobile-services,jeremy50dj/azure-mobile-services,marianosz/azure-mo... |
9e28040206f71ed8bfcee34f3d981afbdad55f54 | src/Arkivverket.Arkade.Core/Base/ArkadeTestNameProvider.cs | src/Arkivverket.Arkade.Core/Base/ArkadeTestNameProvider.cs | using Arkivverket.Arkade.Core.Base.Addml.Processes;
using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Util;
namespace Arkivverket.Arkade.Core.Base
{
public static class ArkadeTestNameProvider
{
public static string GetDisplayName(IArkadeTest arkadeTest)
{
TestId... | using Arkivverket.Arkade.Core.Resources;
using Arkivverket.Arkade.Core.Util;
namespace Arkivverket.Arkade.Core.Base
{
public static class ArkadeTestNameProvider
{
public static string GetDisplayName(IArkadeTest arkadeTest)
{
TestId testId = arkadeTest.GetId();
string te... | Remove no longer needed display name fallback | Remove no longer needed display name fallback
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
f580a2ca8bcbcc6fb8d6657d90c09c9c48bb33f2 | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
</head>
<body>
<div>
@RenderBody()
</div>
</body>
</html>
| <!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
@Styles.Render("~/Content/bootstrap.min.css")
</head>
<body>
<div>
@RenderBody()
</div>
@RenderSection("Scripts", false)
</bo... | Add Scripts section and Bootstrap styling. | Add Scripts section and Bootstrap styling.
| C# | mit | alastairs/cgowebsite,alastairs/cgowebsite |
a7f00bac976a2a3bfe75670e60dcbb6413c79f55 | data/mango-tool/layouts/default/StaticContentModule.cs | data/mango-tool/layouts/default/StaticContentModule.cs |
using System;
using System.IO;
using Mango;
//
// This the default StaticContentModule that comes with all Mango apps
// if you do not wish to serve any static content with Mango you can
// remove its route handler from <YourApp>.cs's constructor and delete
// this file.
//
// All Content placed on the Conten... |
using System;
using System.IO;
using Mango;
//
// This the default StaticContentModule that comes with all Mango apps
// if you do not wish to serve any static content with Mango you can
// remove its route handler from <YourApp>.cs's constructor and delete
// this file.
//
// All Content placed on the Conten... | Use the correct namespace on the static content module. | Use the correct namespace on the static content module.
| C# | mit | mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/... |
c54a4ea61b7724974a541d5ab28721e99e46b153 | GridDomain.CQRS.Messaging/MessageRouting/ProjectionGroup.cs | GridDomain.CQRS.Messaging/MessageRouting/ProjectionGroup.cs | using System;
using System.Collections.Generic;
namespace GridDomain.CQRS.Messaging.MessageRouting
{
public class ProjectionGroup: IProjectionGroup
{
private readonly IServiceLocator _locator;
readonly Dictionary<Type, List<Action<object>>> _handlers = new Dictionary<Type, List<Action<object>>>... | using System;
using System.Collections.Generic;
using System.Linq;
namespace GridDomain.CQRS.Messaging.MessageRouting
{
public class ProjectionGroup: IProjectionGroup
{
private readonly IServiceLocator _locator;
readonly Dictionary<Type, List<Action<object>>> _handlers = new Dictionary<Type, Li... | Fix for several handlers for one message in projection group | Fix for several handlers for one message in projection group
| C# | apache-2.0 | linkelf/GridDomain,andreyleskov/GridDomain |
610a1c7b8fddceb0dcee2f395a15d1a904a76f51 | src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs | src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs | using Lime.Protocol;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Takenet.MessagingHub.Client.Test
{
[TestFixture]
internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase
{
[SetUp]
... | using Lime.Protocol;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Takenet.MessagingHub.Client.Test
{
[TestFixture]
internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase
{
[SetUp]
... | Use await um command tests | Use await um command tests
| C# | apache-2.0 | takenet/messaginghub-client-csharp |
1dd354120b1013759d210e49902e08393c6d18b9 | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.cs | osu.Game.Tests/Visual/Editing/TestSceneTimingScreen.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.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu;
using osu.Game.Rulesets.Osu.Beatmaps;
using osu.Game.Scr... | // 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.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu;
using osu.Game.Screens.Edit;
using osu.Game.Screens.Edit... | Fix beatmap potentially changing in test scene | Fix beatmap potentially changing in test scene
| C# | mit | smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu |
5bcb20245c4b801d5e59ec7b5d3d89829bd30fe3 | Battery-Commander.Web/Models/NavigationViewComponent.cs | Battery-Commander.Web/Models/NavigationViewComponent.cs | using BatteryCommander.Web.Controllers;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Models
{
public class NavigationViewComponent : ViewComponent
{
private readonly Dat... | using BatteryCommander.Web.Controllers;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Models
{
public class NavigationViewComponent : ViewComponent
{
p... | Use the actual db data | Use the actual db data
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
3d4c7bc35c0bf1ffd1137655184acc4da1d0aa30 | src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs | src/Jasper.ConfluentKafka/KafkaTransportProtocol.cs | using System.Text;
using Confluent.Kafka;
using Jasper.Transports;
namespace Jasper.ConfluentKafka
{
public class KafkaTransportProtocol<TKey, TVal> : ITransportProtocol<Message<TKey, TVal>>
{
public Message<TKey, TVal> WriteFromEnvelope(Envelope envelope) =>
new Message<TKey, TVal>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Confluent.Kafka;
using Jasper.Transports;
namespace Jasper.ConfluentKafka
{
public class KafkaTransportProtocol<TKey, TVal> : ITransportProtocol<Message<TKey, TVal>>
{
private const string JasperMessageIdHeader ... | Make sure Jasper MessageId goes across the wire | Make sure Jasper MessageId goes across the wire
| C# | mit | JasperFx/jasper,JasperFx/jasper,JasperFx/jasper |
9a2425f316903a8725da40f6d0374afa91aebe8c | osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.cs | osu.Game/Beatmaps/Drawables/Cards/Buttons/DownloadButton.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.Sprites;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
{
public class DownloadButton... | // 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.Sprites;
using osu.Game.Online.API.Requests.Responses;
namespace osu.Game.Beatmaps.Drawables.Cards.Buttons
{
public class DownloadButton... | Remove unused field for now to appease inspectcode | Remove unused field for now to appease inspectcode
| C# | mit | peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu |
37640d1c0820ba9cf1ab8cddbdaacf38d7aa6af4 | src/Orchard.Web/Modules/Orchard.Lists/Migrations.cs | src/Orchard.Web/Modules/Orchard.Lists/Migrations.cs | using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace Orchard.Lists {
public class Migrations : DataMigrationImpl {
public int Create() {
ContentDefinitionManager.AlterTypeDefinition("List",
cfg=>cfg
... | using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
namespace Orchard.Lists {
public class Migrations : DataMigrationImpl {
public int Create() {
ContentDefinitionManager.AlterTypeDefinition("List",
cfg=>cfg
... | Update Lists migrations for Autoroute | Update Lists migrations for Autoroute
--HG--
branch : autoroute
| C# | bsd-3-clause | qt1/orchard4ibn,Anton-Am/Orchard,escofieldnaxos/Orchard,TalaveraTechnologySolutions/Orchard,LaserSrl/Orchard,salarvand/Portal,Praggie/Orchard,jchenga/Orchard,Anton-Am/Orchard,escofieldnaxos/Orchard,SouleDesigns/SouleDesigns.Orchard,emretiryaki/Orchard,dcinzona/Orchard-Harvest-Website,spraiin/Orchard,neTp9c/Orchard,arma... |
48cf40b195efe0aaa453a158313538a338a9f6ba | src/GogoKit/Models/Response/Carrier.cs | src/GogoKit/Models/Response/Carrier.cs | using HalKit.Json;
using HalKit.Models.Response;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
/// <summary>
/// A carrier (e.g. UPS) that will collect tickets that are to be delivered.
/// </summary>
/// <remarks>See http://developer.viagogo... | using HalKit.Json;
using HalKit.Models.Response;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace GogoKit.Models.Response
{
/// <summary>
/// A carrier (e.g. UPS) that will collect tickets that are to be delivered.
/// </summary>
/// <remarks>See http://developer.viagogo... | Add missing resource base class | Add missing resource base class | C# | mit | viagogo/gogokit.net |
3aaf2c6255945841c443c07bb0c80cce5604a59a | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | Create server side API for single multiple answer question | Create server side API for single multiple answer question
| C# | mit | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist |
6915fe85ef7676da171bfad173cffc4aded426af | Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs | Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs | namespace Line.Messaging
{
/// <summary>
/// Rich menu response object.
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object
/// </summary>
public class ResponseRichMenu : RichMenu
{
/// <summary>
/// Rich menu ID
/// </summary>
... | namespace Line.Messaging
{
/// <summary>
/// Rich menu response object.
/// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object
/// </summary>
public class ResponseRichMenu : RichMenu
{
/// <summary>
/// Rich menu ID
/// </summary>
... | Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method. | Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method.
| C# | mit | pierre3/LineMessagingApi,pierre3/LineMessagingApi |
a86ebccf5c478c5d76d3e4e3385e0f68f22f4903 | Staxel.Trace/TraceScope.cs | Staxel.Trace/TraceScope.cs | using System;
namespace Staxel.Trace {
public struct TraceScope : IDisposable {
public TraceKey Key;
public TraceScope(TraceKey key) {
Key = key;
TraceRecorder.Enter(Key);
}
public void Dispose() {
TraceRecorder.Leave(Key);
}
}
}
| using System;
using System.Diagnostics;
using System.Runtime;
using System.Runtime.CompilerServices;
namespace Staxel.Trace {
public struct TraceScope : IDisposable {
public TraceKey Key;
[TargetedPatchingOptOut("")]
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public TraceS... | Patch out the Tracescope for as far as possible when applicable. | Patch out the Tracescope for as far as possible when applicable.
| C# | unlicense | bartwe/StaxelTraceViewer |
e7c86dc7c535e2e99d313e104a24eee64151c2d4 | osu.Framework.Tests/Visual/Containers/TestSceneEnumerator.cs | osu.Framework.Tests/Visual/Containers/TestSceneEnumerator.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class Test... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Tests.Visual.Containers
{
public class Test... | Use SetUp for tests, add test for clearing children | Use SetUp for tests, add test for clearing children
| C# | mit | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework |
58c2736361674eb4752394b3694cee344ac1e6df | NitroNet.ViewEngine.TemplateHandler/ComponentHelperHandler.cs | NitroNet.ViewEngine.TemplateHandler/ComponentHelperHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Veil;
using Veil.Helper;
namespace NitroNet.ViewEngine.TemplateHandler
{
internal class ComponentHelperHandler : IHelperHandler
{
private readonly INitroTemplateHandler _handler;
public ComponentHelperHandler(INitroTempla... | using System;
using System.Collections.Generic;
using System.Linq;
using Veil;
using Veil.Helper;
namespace NitroNet.ViewEngine.TemplateHandler
{
internal class ComponentHelperHandler : IHelperHandler
{
private readonly INitroTemplateHandler _handler;
public ComponentHelperHandler(INitroTempla... | Enable pattern helper as equivalent of component helper | Enable pattern helper as equivalent of component helper
| C# | mit | namics/NitroNet,namics/NitroNet |
e53f897b9b59b5e05d08c071f8ab8ec18dd8330b | NHibernate.Sessions.Operations/AbstractCachedDatabaseQuery.cs | NHibernate.Sessions.Operations/AbstractCachedDatabaseQuery.cs | using System;
namespace NHibernate.Sessions.Operations
{
public abstract class AbstractCachedDatabaseQuery<T> : DatabaseOperation
{
protected abstract void ConfigureCache(CacheConfig cacheConfig);
protected abstract T QueryDatabase(ISessionManager sessionManager);
public virtual string CacheKeyPref... | using System;
namespace NHibernate.Sessions.Operations
{
public abstract class AbstractCachedDatabaseQuery<T> : DatabaseOperation
{
protected abstract void ConfigureCache(CacheConfig cacheConfig);
protected abstract T QueryDatabase(ISessionManager sessionManager);
protected virtual string CacheKeyP... | Make the CackeKeyPrefix protected instead of Public | Make the CackeKeyPrefix protected instead of Public
| C# | mit | shaynevanasperen/NHibernate.Sessions.Operations |
a5611da9485b474c4ea5552b34fe26bc86e7423c | Snowflake.API/Core/EventDelegate/JsonRPCEventDelegate.cs | Snowflake.API/Core/EventDelegate/JsonRPCEventDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Collections.Specialized;
using Newtonsoft.Json;
using System.IO;
namespace Snowflake.Core.EventDelegate
{
public c... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Collections.Specialized;
using Newtonsoft.Json;
using System.IO;
namespace Snowflake.Core.EventDelegate
{
public c... | Create generic invoke method for RPC | Create generic invoke method for RPC
| C# | mpl-2.0 | faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake |
d14711290d7a6f32dc40332b888502717bacda40 | Postolego/PostolegoMapper.cs | Postolego/PostolegoMapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;
namespace Postolego {
public class PostolegoMapper : UriMapperBase {
public override Uri MapUri(Uri uri) {
var tempUri = HttpUt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Navigation;
namespace Postolego {
public class PostolegoMapper : UriMapperBase {
public override Uri MapUri(Uri uri) {
var tempUri = HttpUt... | Fix uri mapper return invalid uri | Fix uri mapper return invalid uri
| C# | mit | jonstodle/Postolego |
64b7f6ba3c5fe153bf90dcbc747fd99f1109fc11 | ConsoleApps/Repack/Repack/Program.cs | ConsoleApps/Repack/Repack/Program.cs | using System;
using Humanizer;
namespace Repack
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Usage: repack [date]");
Console.WriteLine("Prints how long it is until your birthday.");
Console.WriteLine("If you don't ... | using System;
using Humanizer;
namespace Repack
{
internal class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Usage: repack [date]");
Console.WriteLine("Prints how long it is until your birthday.");
Console.WriteLine("If you don't ... | Make sure date processing is accurate | Make sure date processing is accurate
| C# | mit | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes |
aab810f233c6211b4106f8bc06c018a31827cff8 | src/Tests/MyCouch.IntegrationTests/TestClientFactory.cs | src/Tests/MyCouch.IntegrationTests/TestClientFactory.cs | namespace MyCouch.IntegrationTests
{
internal static class TestClientFactory
{
internal static IClient CreateDefault()
{
return new Client("http://mycouchtester:1q2w3e4r@localhost:5984/" + TestConstants.TestDbName);
}
}
} | using System;
namespace MyCouch.IntegrationTests
{
internal static class TestClientFactory
{
internal static IClient CreateDefault()
{
return new Client("http://mycouchtester:" + Uri.EscapeDataString("p@ssword") + "@localhost:5984/" + TestConstants.TestDbName);
}
... | Use at least a password that has char that needs to be encoded so that that is tested. | Use at least a password that has char that needs to be encoded so that that is tested.
| C# | mit | danielwertheim/mycouch,danielwertheim/mycouch |
60a1fbaf175e88090b6d30a7f0a1cac9d31bc0c6 | src/CommonAssemblyInfo.cs | src/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2017")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Assembly... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Yevgeniy Shunevych")]
[assembly: AssemblyProduct("Atata Framework")]
[assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2017")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Assembly... | Increase project version to 0.15.0 | Increase project version to 0.15.0
| C# | apache-2.0 | atata-framework/atata-sample-app-tests |
1e0be9a25eab735883b52d424875bb976bd2ef8d | Sample/SilverScreen/Domain/Cinema.cs | Sample/SilverScreen/Domain/Cinema.cs | using System.Collections.Generic;
using Argentum.Core;
namespace SilverScreen.Domain
{
public class Cinema : AggregateBase<CinemaState>
{
public Cinema(CinemaState state) : base(state) { }
private Cinema(string name)
{
Apply(new CinemaAdded(name));
}
public static Cinema Add(stri... | using System;
using System.Collections.Generic;
using Argentum.Core;
namespace SilverScreen.Domain
{
public class Cinema : AggregateBase<CinemaState>
{
public Cinema(CinemaState state) : base(state) { }
private Cinema(Guid id, string name)
{
Apply(new CinemaAdded(id, name));
}
pu... | Set id when adding new cinema | Set id when adding new cinema
| C# | mit | jenspettersson/Argentum |
4d52e5a4064356d2d5f5d626017c79e88219f196 | SignalR.AspNet/AspNetHost.cs | SignalR.AspNet/AspNetHost.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetHost : HttpTaskAsyncHandler
{
private readonly PersistentConnection _connection;
private static readonly Lazy<bool> _hasAcceptWebSocketReq... | using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetHost : HttpTaskAsyncHandler
{
private readonly PersistentConnection _connection;
private static readonly Lazy<bool> _hasAcceptWebSocketReq... | Change HttpContext variable to aspnet.HttpContext. | Change HttpContext variable to aspnet.HttpContext.
| C# | mit | shiftkey/SignalR,shiftkey/SignalR |
e193f8214df514f770d3bcad9ef41ce053255ed8 | osu.Game/Online/RealtimeMultiplayer/ISpectatorServer.cs | osu.Game/Online/RealtimeMultiplayer/ISpectatorServer.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;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining the spectator server instance.
/// </su... | // 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;
namespace osu.Game.Online.RealtimeMultiplayer
{
/// <summary>
/// An interface defining the spectator server instance.
/// </su... | Remove unnecessary room id from leave room request | Remove unnecessary room id from leave room request
| C# | mit | smoogipooo/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu |
02188fe727e632855e1804960c65995076e01366 | lib/build.cake | lib/build.cake | ###############################################################################
# Copyright Lewis Baker
# Licenced under MIT license. See LICENSE.txt for details.
###############################################################################
import cake.path
from cake.tools import compiler, script, env, project
inc... | ###############################################################################
# Copyright Lewis Baker
# Licenced under MIT license. See LICENSE.txt for details.
###############################################################################
import cake.path
from cake.tools import compiler, script, env, project
inc... | Add some missing headers to generated .vcproj file. | Add some missing headers to generated .vcproj file.
| C# | mit | lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro |
ad5bd1f0c00ae10c0c857759e38b1f588d2f4b45 | osu.Game/Overlays/BeatmapListing/SearchLanguage.cs | osu.Game/Overlays/BeatmapListing/SearchLanguage.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.Utils;
namespace osu.Game.Overlays.BeatmapListing
{
[HasOrderedElements]
public enum SearchLanguage
{
[Order(0)]
Any,
... | // 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.Utils;
namespace osu.Game.Overlays.BeatmapListing
{
[HasOrderedElements]
public enum SearchLanguage
{
[Order(0)]
Any,
... | Update in line with other/unspecified switch | Update in line with other/unspecified switch
See https://github.com/ppy/osu-web/commit/289f0f0a209f1f840270db07794a7bfd52439db1.
| C# | mit | peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu |
3b13ad480af5afa7f0fe15c300a5e02bcf0fb4d7 | osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.cs | osu.Game.Rulesets.Osu/Edit/DrawableOsuEditRuleset.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
using osuTK;
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 System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.... | Increase fade-out time of hitobjects in the editor | Increase fade-out time of hitobjects in the editor
| C# | mit | EVAST9919/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,2yangk23/osu,peppy/osu-new |
7edf87619cd9342dcce2ee3d6ee34bb858c58018 | ecologylabSemantics/ecologylab/semantics/metadata/scalar/MetadataScalars.cs | ecologylabSemantics/ecologylab/semantics/metadata/scalar/MetadataScalars.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ecologylab.semantics.metadata.scalar
{
abstract public class MetadataScalarBase<T>
{
public T value;
public static String VALUE_FIELD_NAME = "value";
public MetadataScalar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ecologylab.semantics.metadata.scalar
{
abstract public class MetadataScalarBase<T>
{
public T value;
public static String VALUE_FIELD_NAME = "value";
public MetadataScalar... | Return type T for metadata scalars. | Return type T for metadata scalars.
| C# | apache-2.0 | ecologylab/BigSemanticsCSharp |
1772a2626814684b8db5e1adf585a8625a615067 | SocketService/SocketServiceInstaller.cs | SocketService/SocketServiceInstaller.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
using System.Configuration;
namespace SuperSocket.SocketService
{
[RunInstaller(true)]
public partial class SocketServiceInstaller : Installer
{
private Service... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
using System.Configuration;
namespace SuperSocket.SocketService
{
[RunInstaller(true)]
public partial class SocketServiceInstaller : Installer
{
private Service... | Change service's start mode to auto | Change service's start mode to auto
git-svn-id: 6d1cac2d86fac78d43d5e0dd3566a1010e844f91@53932 81fbe566-5dc4-48c1-bdea-7421811ca204
| C# | apache-2.0 | mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket |
097bd37e37c38095113bd706717a9601afc1f3c0 | osu.Game/Overlays/Chat/Tabs/ChannelSelectorTabItem.cs | osu.Game/Overlays/Chat/Tabs/ChannelSelectorTabItem.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Online.Chat;
namespace osu.Game.Overlays.Chat.Tabs
{
public class ChannelSelectorTabItem : C... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Online.Chat;
namespace osu.Game.Overlays.Chat.Tabs
{
public class ChannelSelectorTabItem : C... | Fix SelectorTab crashing tests after a reload | Fix SelectorTab crashing tests after a reload
For some reason, the default channel type (Public) caused the channel manager to attempt to connect to an API, which was null at that time, after hot reloading the test environment (via dynamic compilation). Changing the channel type seems to fix that.
| C# | mit | UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu |
398624659e4c3d64cd683f6ec1dd10c2896edcf0 | src/base/common/providers/data/SqlConnectionProviderFactory.cs | src/base/common/providers/data/SqlConnectionProviderFactory.cs | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Nohros.Configuration;
namespace Nohros.Data.Providers
{
public partial class SqlConnectionProvider : IConnectionProviderFactory
{
#region .ctor
/// <summary>
/// Constructor implied by the interface
/// ... | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using Nohros.Configuration;
namespace Nohros.Data.Providers
{
public partial class SqlConnectionProvider : IConnectionProviderFactory
{
#region .ctor
/// <summary>
/// Constructor implied by the interface
/// ... | Fix a bug that causes the GetProviderNode to return null references. | Fix a bug that causes the GetProviderNode to return null references.
| C# | mit | nohros/must,nohros/must,nohros/must |
3f1aa0763c02dad012b400330333d8df824aa351 | src/NHibernate.Test/NHSpecificTest/NH3408/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH3408/Fixture.cs | using System.Linq;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3408
{
public class Fixture : BugTestCase
{
[Test]
public void ProjectAnonymousTypeWithArrayProperty()
{
using (var session = OpenSession())
using (session.BeginTransaction())
{
... | using System.Collections.Generic;
using System.Linq;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH3408
{
public class Fixture : BugTestCase
{
[Test]
public void ProjectAnonymousTypeWithArrayProperty()
{
using (var session = OpenSession())
using (se... | Add more tests for NH-3408 | Add more tests for NH-3408
| C# | lgpl-2.1 | nhibernate/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,fredericDelaporte/nhibernate-core,lnu/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,alobakov/nhibernate-core,livioc/nhibernate-core,ManufacturingIntelligence/nhibernate-core,frede... |
d713d4b97fdd94dbc158c0097ab4027b5ba1a71f | src/net45/WampSharp/WAMP2/V2/Core/WampObjectFormatter.cs | src/net45/WampSharp/WAMP2/V2/Core/WampObjectFormatter.cs | using System;
using System.Linq;
using System.Reflection;
using WampSharp.Core.Serialization;
using WampSharp.Core.Utilities;
namespace WampSharp.V2.Core
{
public class WampObjectFormatter : IWampFormatter<object>
{
public static readonly IWampFormatter<object> Value = new WampObjectFormatter();
... | using System;
using System.Linq;
using System.Reflection;
using WampSharp.Core.Serialization;
using WampSharp.Core.Utilities;
namespace WampSharp.V2.Core
{
public class WampObjectFormatter : IWampFormatter<object>
{
public static readonly IWampFormatter<object> Value = new WampObjectFormatter();
... | Call the reflection method only if types don't match | Call the reflection method only if types don't match
| C# | bsd-2-clause | jmptrader/WampSharp,jmptrader/WampSharp,jmptrader/WampSharp |
68e370ce7cd72c51a7eda6f9863ed37b0f86b3d5 | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSpinnerTick.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.Audio;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Object... | // 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.Audio;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Osu.Object... | Set spinner tick start time to allow result reverting | Set spinner tick start time to allow result reverting
| C# | mit | smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu |
e068ae49d0c6b46e9f40e5ef32a427f04cac9e9d | 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... | 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... | Make ProjectionCollection unit test more strict | Make ProjectionCollection unit test more strict
| C# | mit | KodamaSakuno/Sakuno.Base |
12ea8369ee504caddcaf38488cae09bfedb091b6 | osu.Game/Beatmaps/Drawables/CalculatingDifficultyIcon.cs | osu.Game/Beatmaps/Drawables/CalculatingDifficultyIcon.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osuTK;
namespace osu.Game.Beatmaps.Drawables
{
/// <summary>
/// A di... | // 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.Framework.Graphics.Containers;
using osuTK;
namespace osu.Game.Beatmaps.Drawables
{
/// <summary>
/// A difficulty icon ... | Update retriever to be relatively sized | Update retriever to be relatively sized
| C# | mit | ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu |
6e1ab275ca398fe2e62235a9ded56417d4e573ec | XamarinFormsExtendedSplashPage/XamarinFormsExtendedSplashPage/RootPage.xaml.cs | XamarinFormsExtendedSplashPage/XamarinFormsExtendedSplashPage/RootPage.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XamarinFormsExtendedSplashPage
{
public partial class RootPage : ContentPage
{
public RootPage()
{
InitializeComponent();
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XamarinFormsExtendedSplashPage
{
public partial class RootPage : ContentPage
{
public RootPage()
{
InitializeComponent();
}
... | Fix bug when root page would be shown a second time. | Fix bug when root page would be shown a second time.
| C# | apache-2.0 | mallibone/XamarinFormsExtendedSplashPage |
8ac1d56861a5802ba9755d7fde303e8a7aece1bf | Battery-Commander.Web/Views/Shared/DisplayTemplates/Unit.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/Unit.cshtml | @model Unit
<div>@Html.ActionLink(Model.Name, "Index", "Soldiers", new { unit = Model.Id })</div> | @model Unit
@if (Model != null)
{
<div>@Html.ActionLink(Model.Name, "Index", "Soldiers", new { unit = Model.Id })</div>
} | Make sure unit isn't null | Make sure unit isn't null
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
bd60b1e750065aec021d91f5e3597b589959865f | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.Extras.NHibernate |
515e4ca1651e520a5b5cdf75481e2bfadf25c7b8 | src/VisualStudio/PackageSource/AggregatePackageSource.cs | src/VisualStudio/PackageSource/AggregatePackageSource.cs | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio
{
public static class AggregatePackageSource
{
public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName);
public static bool IsAg... | using System.Collections.Generic;
using System.Linq;
namespace NuGet.VisualStudio
{
public static class AggregatePackageSource
{
public static readonly PackageSource Instance = new PackageSource("(Aggregate source)", Resources.VsResources.AggregateSourceName);
public static bool IsAg... | Add back a method that was removed bug is required by functional tests. | Add back a method that was removed bug is required by functional tests.
| C# | apache-2.0 | chocolatey/nuget-chocolatey,mono/nuget,GearedToWar/NuGet2,antiufo/NuGet2,GearedToWar/NuGet2,jmezach/NuGet2,rikoe/nuget,pratikkagda/nuget,dolkensp/node.net,antiufo/NuGet2,mrward/nuget,jholovacs/NuGet,jmezach/NuGet2,jmezach/NuGet2,ctaggart/nuget,mono/nuget,alluran/node.net,antiufo/NuGet2,xoofx/NuGet,mrward/nuget,RichiCod... |
afbd7e229b13ce14eac5c8cf5b48593603662710 | SadConsole/UI/Themes/DrawingAreaTheme.cs | SadConsole/UI/Themes/DrawingAreaTheme.cs | using System;
using System.Runtime.Serialization;
using SadConsole.UI.Controls;
using SadRogue.Primitives;
namespace SadConsole.UI.Themes
{
/// <summary>
/// A basic theme for a drawing surface that simply fills the surface based on the state.
/// </summary>
[DataContract]
public class DrawingArea... | using System;
using System.Runtime.Serialization;
using SadConsole.UI.Controls;
using SadRogue.Primitives;
namespace SadConsole.UI.Themes
{
/// <summary>
/// A basic theme for a drawing surface that simply fills the surface based on the state.
/// </summary>
[DataContract]
public class DrawingArea... | Fix bug in DrawArea control | Fix bug in DrawArea control
| C# | mit | Thraka/SadConsole |
014eeaaaa25629aae1589f5c346bcda4dccc2375 | tests/fixtures/TagLib.Tests.Images/JpegNoMetadataTest.cs | tests/fixtures/TagLib.Tests.Images/JpegNoMetadataTest.cs | using System;
using NUnit.Framework;
using TagLib.IFD;
using TagLib.IFD.Entries;
using TagLib.IFD.Tags;
using TagLib.Xmp;
using TagLib.Tests.Images.Validators;
namespace TagLib.Tests.Images
{
[TestFixture]
public class JpegNoMetadataTest
{
[Test]
public void Test ()
{
ImageTest.Run ("sample_no_metadata.jpg... | using System;
using NUnit.Framework;
using TagLib.IFD;
using TagLib.IFD.Entries;
using TagLib.IFD.Tags;
using TagLib.Xmp;
using TagLib.Tests.Images.Validators;
namespace TagLib.Tests.Images
{
[TestFixture]
public class JpegNoMetadataTest
{
[Test]
public void Test ()
{
ImageTest.Run ("sample_no_metadata.jpg... | Remove CommentTest for jpeg test without metadata | Remove CommentTest for jpeg test without metadata
It does not make sense to have that test here, because a comment
cannot be added, when no tag is present. And it is against the current
taglib policy to add tags without a request from the user.
https://bugzilla.gnome.org/show_bug.cgi?id=619920
| C# | lgpl-2.1 | Clancey/taglib-sharp,mono/taglib-sharp,CamargoR/taglib-sharp,CamargoR/taglib-sharp,Clancey/taglib-sharp,Clancey/taglib-sharp,hwahrmann/taglib-sharp,archrival/taglib-sharp,punker76/taglib-sharp,hwahrmann/taglib-sharp,punker76/taglib-sharp,archrival/taglib-sharp |
16bbc7887d2a5cb6c62b734dd98eeb910b4c3ad9 | net/Azure.Storage.Blobs.PerfStress/Core/SizeOptions.cs | net/Azure.Storage.Blobs.PerfStress/Core/SizeOptions.cs | using Azure.Test.PerfStress;
using CommandLine;
namespace Azure.Storage.Blobs.PerfStress.Core
{
public class SizeOptions : PerfStressOptions
{
[Option('s', "size", Default = 10 * 1024, HelpText = "Size of message (in bytes)")]
public int Size { get; set; }
}
}
| using Azure.Test.PerfStress;
using CommandLine;
namespace Azure.Storage.Blobs.PerfStress.Core
{
public class SizeOptions : PerfStressOptions
{
[Option('s', "size", Default = 10 * 1024, HelpText = "Size of message (in bytes)")]
public long Size { get; set; }
}
}
| Convert size parameter from int to long | Convert size parameter from int to long
| C# | mit | Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java |
e4df1c0d9a261fbe22dc64f23d09ceff15d8c73b | Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs | Tests/Agiil.Web.TestBuild/Bootstrap/DataPackagesModule.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using Agiil.Web.Services.DataPackages;
using Autofac;
using Agiil.Web.Services;
namespace Agiil.Web.Bootstrap
{
public class DataPackagesModule : Autofac.Module
{
static readonly Type
NamespaceMarker = typeof(IDa... | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using Agiil.Web.Services.DataPackages;
using Autofac;
using Agiil.Web.Services;
namespace Agiil.Web.Bootstrap
{
public class DataPackagesModule : Autofac.Module
{
static readonly Type
NamespaceMarker = typeof(IDa... | Fix registration of Data Packages | Fix registration of Data Packages
| C# | mit | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil |
cfd1646de4672ee1d2005faa4c54ec80936ad87d | Bonobo.Git.Server/Configuration/AuthenticationSettings.cs | Bonobo.Git.Server/Configuration/AuthenticationSettings.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace Bonobo.Git.Server.Configuration
{
public class AuthenticationSettings
{
public static string MembershipService { get; private set; }
public static string RoleProvider { ge... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;
namespace Bonobo.Git.Server.Configuration
{
public class AuthenticationSettings
{
public static string MembershipService { get; private set; }
static AuthenticationSettings()
... | Remove unused RoleProvider setting from authentication configuration | Remove unused RoleProvider setting from authentication configuration
| C# | mit | Acute-sales-ltd/Bonobo-Git-Server,larshg/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,crowar/Bonobo-Git-Server,NipponSysits/IIS.Git-Connector,PGM-NipponSysits/IIS.Git-Connector,Acute-sales-ltd/Bonobo-Git-Server,Webmine/Bonobo-Git-Server,kfarnung/Bonobo-Git-Server,PGM-NipponSysits/IIS.Git-Connector,padremortius/Bono... |
5b3b6a3c3e0a3c12c8c8366108848d101764d36d | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | RemoteProcessTool/RemoteProcessService/Command/LIST.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SuperSocket.SocketServiceCore.Command;
using System.Diagnostics;
namespace RemoteProcessService.Command
{
public class LIST : ICommand<RemotePrcessSession>
{
#region ICommand<RemotePrcessSession> Mem... | Fix access denied issue when access process information in RemoteProcessService | Fix access denied issue when access process information in RemoteProcessService
git-svn-id: 6d1cac2d86fac78d43d5e0dd3566a1010e844f91@53862 81fbe566-5dc4-48c1-bdea-7421811ca204
| C# | apache-2.0 | mdavid/SuperSocket,mdavid/SuperSocket,mdavid/SuperSocket |
d71c4318c1b7e874df27edab7f5ad4f2e4edf2fb | GeneratorAPI/IGenerator.cs | GeneratorAPI/IGenerator.cs | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | namespace GeneratorAPI {
/// <summary>
/// Represents a generic generator which can generate any ammount of elements.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IGenerator<out T> : IGenerator {
/// <summary>
/// Generate next element.
/// </... | Add new keyword for hiding the none generic generate | Add new keyword for hiding the none generic generate
Former-commit-id: 5280876761e8347c145624427d7ba1840d6aa013 | C# | mit | inputfalken/Sharpy |
b27add915b1f113ee416f6f529908f169920b525 | Samples/GPSTracker/GPSTracker.Web/Controllers/HomeController.cs | Samples/GPSTracker/GPSTracker.Web/Controllers/HomeController.cs | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using GPSTracker.Common;
using GPSTracker.GrainInterface;
namespace GPSTracker.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public async ... | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using GPSTracker.Common;
using GPSTracker.GrainInterface;
using Orleans;
namespace GPSTracker.Web.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
... | Fix code using old style code-gen factory classes - use GrainClient.GrainFactory | Fix code using old style code-gen factory classes - use GrainClient.GrainFactory
| C# | mit | amccool/orleans,rrector/orleans,Liversage/orleans,SoftWar1923/orleans,benjaminpetit/orleans,jokin/orleans,dotnet/orleans,gabikliot/orleans,sergeybykov/orleans,xclayl/orleans,tsibelman/orleans,hoopsomuah/orleans,MikeHardman/orleans,kowalot/orleans,gigya/orleans,bstauff/orleans,rrector/orleans,tsibelman/orleans,LoveElect... |
66e08bd7cfd48d11fee5d7fe0056f301cf32331e | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DomainServices")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("Autofac.Extras.Tests.DomainServices")]
| Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major. | Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
| C# | mit | autofac/Autofac.Extras.DomainServices |
5cf370cde220c29d5b73ada8154eecb4f94bc261 | unity-sample-environment/Assets/Scripts/AgentBehaviour.cs | unity-sample-environment/Assets/Scripts/AgentBehaviour.cs | using UnityEngine;
using MsgPack;
[RequireComponent(typeof (AgentController))]
[RequireComponent(typeof (AgentSensor))]
public class AgentBehaviour : MonoBehaviour {
private LISClient client = new LISClient("myagent");
private AgentController controller;
private AgentSensor sensor;
private MsgPack.C... | using UnityEngine;
using MsgPack;
[RequireComponent(typeof (AgentController))]
[RequireComponent(typeof (AgentSensor))]
public class AgentBehaviour : MonoBehaviour {
private LISClient client = new LISClient("myagent");
private AgentController controller;
private AgentSensor sensor;
private MsgPack.C... | Fix behaviour from calling create multiple times | Fix behaviour from calling create multiple times
| C# | apache-2.0 | pekin0609/-,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,pekin0609/-,wbap/hackathon-2017-sample,wbap/hackathon-2017-sample,pekin0609/-,pekin0609/- |
5704e9ee6553de4324dffa802cdf7bbada5108ec | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | osu.Game.Rulesets.Catch/Scoring/CatchScoreProcessor.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Gam... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Catch.Judgements;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
namespace osu.Gam... | Fix failing at beginning of map | Fix failing at beginning of map
| C# | mit | naoey/osu,naoey/osu,DrabWeb/osu,ppy/osu,peppy/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,naoey/osu,Nabile-Rahmani/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,EVAST9919/osu,peppy/os... |
a0f02a0346f53a50f65b7b36959ce8da64a1509a | src/Common/src/Interop/Windows/mincore/Interop.Normalization.cs | src/Common/src/Interop/Windows/mincore/Interop.Normalization.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.Runtime.InteropServices;
internal partial class Interop
{
// These are error codes w... | // 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.Runtime.InteropServices;
internal partial class Interop
{
// These are error codes w... | Fix typos in NormalizeString P/Invoke signature | Fix typos in NormalizeString P/Invoke signature
| C# | mit | elijah6/corefx,gkhanna79/corefx,mmitche/corefx,shmao/corefx,alphonsekurian/corefx,stephenmichaelf/corefx,dhoehna/corefx,zhenlan/corefx,Petermarcu/corefx,weltkante/corefx,MaggieTsang/corefx,ravimeda/corefx,DnlHarvey/corefx,rahku/corefx,ptoonen/corefx,cydhaselton/corefx,alphonsekurian/corefx,Petermarcu/corefx,yizhang82/c... |
dcc4a75094353c3f002e61f6fe20a4e04e32b469 | src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs | src/Arkivverket.Arkade.CLI/Options/GenerateOptions.cs | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace Arkivverket.Arkade.CLI.Options
{
[Verb("generate", HelpText = "Generate a specified file. Run this command followed by '--help' for more detailed info.")]
public class GenerateOptions : OutputOptions
{
[Option('m... | using System.Collections.Generic;
using CommandLine;
using CommandLine.Text;
namespace Arkivverket.Arkade.CLI.Options
{
[Verb("generate", HelpText = "Generate a specified file. Run this command followed by '--help' for more detailed info.")]
public class GenerateOptions : OutputOptions
{
[Option('m... | Improve help texts for CLI file generation | Improve help texts for CLI file generation
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
05d9247eaca33dad7c19aa187411545243387965 | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | src/Prism.Plugin.Popups.Shared/AssemblyInfo-Shared.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2016" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany( "AvantiPoint, LLC" )]
[assembly: AssemblyCopyright( "Copyright © Dan Siegel 2016" )]
[assembly: NeutralResourcesLanguage( "en" )]
[assembly: AssemblyVersion( "1.1.0.0" )]
[assembly: AssemblyFileVersion( "1.1.0.0" )]
[assembly: AssemblyInfor... | Update Informational Version to 1.1.0-pre2 | Update Informational Version to 1.1.0-pre2
| C# | mit | dansiegel/Prism.Plugin.Popups,dansiegel/Prism.Plugin.Popups |
e25503fee385a502dd4b4b28563fdecf1507d969 | food_tracker/FoodBoxItem.cs | food_tracker/FoodBoxItem.cs | using System.Windows.Controls;
using System.Windows.Forms;
namespace food_tracker {
public class FoodBoxItem : ListBoxItem {
public int calories { get; set; }
public int fats { get; set; }
public int saturatedFat { get; set; }
public int carbohydrates { get; set; }
public int sugar { get; set; }
public ... | using System.Windows.Controls;
using System.Windows.Forms;
namespace food_tracker {
public class FoodBoxItem : ListBoxItem {
public int calories { get; set; }
public int fats { get; set; }
public int saturatedFat { get; set; }
public int carbohydrates { get; set; }
public int sugar { get; set; }
public ... | Update food box item with fibre | Update food box item with fibre
| C# | mit | lukecahill/NutritionTracker |
d8022904aaaa686d25c44a4d33b8848ca7476871 | Ductus.FluentDocker/Model/Containers/ContainerState.cs | Ductus.FluentDocker/Model/Containers/ContainerState.cs | using System;
// ReSharper disable InconsistentNaming
namespace Ductus.FluentDocker.Model.Containers
{
public sealed class ContainerState
{
public string Status { get; set; }
public bool Running { get; set; }
public bool Paused { get; set; }
public bool Restarting { get; set; }
public bool OO... | using System;
// ReSharper disable InconsistentNaming
namespace Ductus.FluentDocker.Model.Containers
{
public sealed class ContainerState
{
public string Status { get; set; }
public bool Running { get; set; }
public bool Paused { get; set; }
public bool Restarting { get; set; }
public bool OO... | Update ExitCode to long. This is because Windows Containers sometimes exit with 3221225725 | Update ExitCode to long. This is because Windows Containers sometimes exit with 3221225725
| C# | apache-2.0 | mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker |
ab3010f0b692eb51309bc17a08938103341893bb | WalletWasabi.Gui/ViewModels/WasabiWalletDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiWalletDocumentTabViewModel.cs | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Gui.Controls.WalletExplorer;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiWalletDocumentTabViewModel : WasabiDocumentTabViewModel
{
protected WasabiWalletDocumentTabViewModel(str... | using ReactiveUI;
using Splat;
using System;
using System.Reactive.Linq;
using WalletWasabi.Gui.Controls.WalletExplorer;
using WalletWasabi.Wallets;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiWalletDocumentTabViewModel : WasabiDocumentTabViewModel
{
protected WasabiWalletDocumentTabViewMod... | Make WalletViewModel private and WalletViewModelBase protected. | Make WalletViewModel private and WalletViewModelBase protected.
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
b0edd1cd690eee9483d82664b8091a3a85c303aa | Microsoft.TeamFoundation.Authentication/ITokenStore.cs | Microsoft.TeamFoundation.Authentication/ITokenStore.cs | using System;
namespace Microsoft.TeamFoundation.Authentication
{
public interface ITokenStore
{
/// <summary>
/// Deletes a <see cref="Token"/> from the underlying storage.
/// </summary>
/// <param name="targetUri">The key identifying which token is being deleted.</param>
... | using System;
namespace Microsoft.TeamFoundation.Authentication
{
public interface ITokenStore
{
/// <summary>
/// Deletes a <see cref="Token"/> from the underlying storage.
/// </summary>
/// <param name="targetUri">The key identifying which token is being deleted.</param>
... | Fix typo and use <see langword=""/>. | Fix typo and use <see langword=""/>.
| C# | mit | Alan-Lun/git-p3 |
e7cb93519a9f344a802eb66827052c5ae0421791 | TimeLog.Api.Documentation/Views/Reporting/Index.cshtml | TimeLog.Api.Documentation/Views/Reporting/Index.cshtml |
@{
ViewBag.Title = "Reporting API - Introduction";
}
<article class="article">
<h1>Introduction to the Reporting API</h1>
<p>
The Reporting API is based on standard web technologies, web services and XML.
Use the Reporting API to extract from TimeLog into intranets, extranets,
... |
@{
ViewBag.Title = "Reporting API - Introduction";
}
<article class="article">
<h1>Introduction to the Reporting API</h1>
<p>
The Reporting API is based on standard web technologies, web services and XML.
Use the Reporting API to extract from TimeLog into intranets, extranets,
... | Add information about http status codes in the reporting API | Add information about http status codes in the reporting API
| C# | mit | TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk,TimeLog/TimeLogApiSdk |
57b3c07aa4395260417e64781f2dc2137d932888 | LtiLibrary.NetCore/Profiles/ToolConsumerProfileResponse.cs | LtiLibrary.NetCore/Profiles/ToolConsumerProfileResponse.cs | using System.Net;
namespace LtiLibrary.NetCore.Profiles
{
public class ToolConsumerProfileResponse
{
public HttpStatusCode StatusCode { get; set; }
public ToolConsumerProfile ToolConsumerProfile { get; set; }
}
}
| using System.Net;
namespace LtiLibrary.NetCore.Profiles
{
public class ToolConsumerProfileResponse
{
public string ContentType { get; set; }
public HttpStatusCode StatusCode { get; set; }
public ToolConsumerProfile ToolConsumerProfile { get; set; }
}
}
| Add ContentType of the response. | Add ContentType of the response.
| C# | apache-2.0 | andyfmiller/LtiLibrary |
f5eaedcc0fc9d51f0eb021ba652923d47a35fdf6 | VSYard/VSYard/BraceMatching/BraceMatchingTaggerProvider.cs | VSYard/VSYard/BraceMatching/BraceMatchingTaggerProvider.cs | namespace VSYard.BraceMatching
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Tagging;... | namespace VSYard.BraceMatching
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Classification;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.... | Add example of getting root YRD file. | Add example of getting root YRD file.
| C# | apache-2.0 | Albiglittle/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,Albiglittle/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,melentyev/YaccConstructor,RomanBelkov/YaccConstructor,fedorovr/YaccConstructor,YaccConstructor/YaccConstructor,sanyaade-g2g-repos/YaccConstructor,melentyev/YaccConstructor,fedorovr/YaccConstruct... |
198fe94a9f999b4c97e1f9d2d2920eea374d0ada | src/Cake.Yarn/IYarnRunnerCommands.cs | src/Cake.Yarn/IYarnRunnerCommands.cs | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | Add fix for missing method on interface | Add fix for missing method on interface
| C# | mit | MilovanovM/cake-yarn,MilovanovM/cake-yarn |
ba8894b725f347078cd550f430dbd593a9a64534 | Ylp.GitDb.Core/ILogger.cs | Ylp.GitDb.Core/ILogger.cs | using System;
using System.IO;
using System.Threading.Tasks;
namespace Ylp.GitDb.Core
{
public interface ILogger
{
Task Log(string message);
}
public class Logger : ILogger
{
public readonly string FileName;
public Logger(string fileName)
{
FileName = ... | using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
namespace Ylp.GitDb.Core
{
public interface ILogger
{
Task Log(string message);
}
public class Logger : ILogger
{
public readonly string FileName;
static readonly object LockObj = new ob... | Make sure logging doesn't cause cross-thread access to the log-file | Bugfix: Make sure logging doesn't cause cross-thread access to the log-file
| C# | mit | YellowLineParking/Ylp.GitDb |
0b9b09fa1ebc4e8a911221e3ade68d89273af590 | src/Core/Managed/Shared/Extensibility/Implementation/External/ExceptionDetails_types.cs | src/Core/Managed/Shared/Extensibility/Implementation/External/ExceptionDetails_types.cs |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 0.4.1.0
// File : ExceptionDetails_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated ... |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 0.4.1.0
// File : ExceptionDetails_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated ... | Revert the whitespace change of the auto generated file | Revert the whitespace change of the auto generated file
| C# | mit | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet |
69292d88612fa328a47ad3ce207ad94cbf29b105 | src/Qowaiv.UnitTests/TestTools/DebuggerDisplayAssert.cs | src/Qowaiv.UnitTests/TestTools/DebuggerDisplayAssert.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Qowaiv.UnitTests.TestTools
{
public static class DebuggerDisplayAssert
{
public static void HasAttribute(Type type... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Qowaiv.UnitTests.TestTools
{
public static class DebuggerDisplayAssert
{
public static void HasAttribute(Type type... | Support all objects for debugger display. | Support all objects for debugger display.
| C# | mit | Qowaiv/Qowaiv |
f07cae787f16ea07ffd1bedd5e8e4346567bb3b5 | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.C... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.C... | Clean up test and reference original issue | Clean up test and reference original issue
| C# | mit | DotNetAnalyzers/StyleCopAnalyzers |
2c339da50e228d205d11fd3e0c4953ed2523dacb | src/DocumentDbTests/Bugs/Bug_673_multiple_version_assertions.cs | src/DocumentDbTests/Bugs/Bug_673_multiple_version_assertions.cs | using System;
using Marten.Testing.Harness;
using Xunit;
namespace DocumentDbTests.Bugs
{
public class Bug_673_multiple_version_assertions: IntegrationContext
{
[Fact]
public void replaces_the_max_version_assertion()
{
var streamId = Guid.NewGuid();
using (var s... | using System;
using Marten.Events;
using Marten.Testing.Harness;
using Xunit;
namespace DocumentDbTests.Bugs
{
public class Bug_673_multiple_version_assertions: IntegrationContext
{
[Fact]
public void replaces_the_max_version_assertion()
{
var streamId = Guid.NewGuid();
... | Add failing test for append called several times for string identity | Add failing test for append called several times for string identity
| C# | mit | ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten |
2cce76d72e6099d7aba771e0193f9d46b8cde631 | src/NQuery.Authoring/CodeActions/CodeRefactoringProvider.cs | src/NQuery.Authoring/CodeActions/CodeRefactoringProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace NQuery.Authoring.CodeActions
{
public abstract class CodeRefactoringProvider<T> : ICodeRefactoringProvider
where T : SyntaxNode
{
public IEnumerable<ICodeAction> GetRefactorings(SemanticModel semanticModel, int positi... | using System;
using System.Collections.Generic;
using System.Linq;
namespace NQuery.Authoring.CodeActions
{
public abstract class CodeRefactoringProvider<T> : ICodeRefactoringProvider
where T : SyntaxNode
{
public IEnumerable<ICodeAction> GetRefactorings(SemanticModel semanticModel, int positi... | Fix refactoring provider to correctly handle positions near EOF | Fix refactoring provider to correctly handle positions near EOF
| C# | mit | terrajobst/nquery-vnext |
715776771a6904c64303bee298afe98adf03d3f5 | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | Fix deserialization of RegEx enabled properties | Fix deserialization of RegEx enabled properties
Fix type mismatch for RegEx (introduced in 6e50301 - my bad, sorry)
| C# | mit | kjac/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,tomfulton/Archetype,kgiszewski/Archetype,kipusoep/Archetype,imulus/Archetype,kipusoep/Archetype,tomfulton/Archetype,tomfulton/Archetype,kipusoep/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,imulus/Archetype,Nicholas-West... |
d1c84b8b6ec6b01c7d2175aeaea270a121db1224 | Topppro.WebSite/Areas/Humanist/Controllers/DashboardController.cs | Topppro.WebSite/Areas/Humanist/Controllers/DashboardController.cs | using System.Configuration;
using System.IO;
using System.Linq;
using System.Web.Helpers;
using System.Web.Mvc;
using Topppro.WebSite.Areas.Humanist.Models;
namespace Topppro.WebSite.Areas.Humanist.Controllers
{
[Authorize]
public class DashboardController : Controller
{
private readon... | using System.IO;
using System.Linq;
using System.Web.Helpers;
using System.Web.Mvc;
using Topppro.WebSite.Areas.Humanist.Models;
using Topppro.WebSite.Settings;
namespace Topppro.WebSite.Areas.Humanist.Controllers
{
[Authorize]
public class DashboardController : Controller
{
public Act... | Fix en dashboard. Uso de la clase de configuracion. | Fix en dashboard. Uso de la clase de configuracion.
| C# | mit | jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro |
5ae1c92b39436eb5944333c98b9555f4aec190a7 | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | using System;
using Caliburn.Micro;
using NDC.Build.Core.Services;
using static System.String;
namespace NDC.Build.Core.ViewModels
{
public class LoginViewModel : Screen
{
private readonly ICredentialsService credentials;
private readonly IAuthenticationService authentication;
private ... | using System;
using Caliburn.Micro;
using NDC.Build.Core.Services;
using PropertyChanged;
using static System.String;
namespace NDC.Build.Core.ViewModels
{
public class LoginViewModel : Screen
{
private readonly ICredentialsService credentials;
private readonly IAuthenticationService authentic... | Fix login view model inpc | Fix login view model inpc
| C# | mit | nigel-sampson/talks,nigel-sampson/talks |
fa6bb66e3eeb56591498b7525dfe9fc271c8cf4a | src/DotvvmAcademy.Web/Course/030_repeater/20_repeater.dothtml.csx | src/DotvvmAcademy.Web/Course/030_repeater/20_repeater.dothtml.csx | #load "00_constants.csx"
using DotvvmAcademy.Validation.Dothtml.Unit;
using DotvvmAcademy.Validation.Unit;
public DothtmlUnit Unit { get; set; } = new DothtmlUnit();
Unit.GetDirective("/@viewModel")
.RequireTypeArgument(ViewModelName);
var repeater = Unit.GetControl("/html/body/dot:Repeater");
{
repeater.Ge... | #load "00_constants.csx"
using DotvvmAcademy.Validation.Dothtml.Unit;
using DotvvmAcademy.Validation.Unit;
public DothtmlUnit Unit { get; set; } = new DothtmlUnit();
Unit.GetDirective("/@viewModel")
.RequireTypeArgument(ViewModelName);
var repeater = Unit.GetControl("/html/body/dot:Repeater");
{
repeater.Ge... | Fix bug in the repeater step validation | Fix bug in the repeater step validation
| C# | apache-2.0 | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy |
b8616e27a05f22ca16f767309a8b954e276222f4 | Assets/EasyButtons/ButtonAttribute.cs | Assets/EasyButtons/ButtonAttribute.cs | using System;
namespace EasyButtons
{
/// <summary>
/// Attribute to create a button in the inspector for calling the method it is attached to.
/// The method must have no arguments.
/// </summary>
/// <example>
/// [<see cref="ButtonAttribute"/>]
/// void MyMethod()
/// {
/// ... | using System;
namespace EasyButtons
{
/// <summary>
/// Attribute to create a button in the inspector for calling the method it is attached to.
/// The method must be public and have no arguments.
/// </summary>
/// <example>
/// [<see cref="ButtonAttribute"/>]
/// public void MyMethod()
... | Update attribute summary and example | Update attribute summary and example
| C# | mit | madsbangh/EasyButtons |
37a47c96accb8e66694eb6bbacbe2fa8d0202495 | GitDiffMargin/EditorDiffMarginFactory.cs | GitDiffMargin/EditorDiffMarginFactory.cs | #region using
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
#endregion
namespace GitDiffMargin
{
[Export(typeof (IWpfTextViewMarginProvider))]
[Name(EditorDiffMargin.MarginNameConst)]
[Order(Before = PredefinedMarginNames.LineN... | #region using
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
#endregion
namespace GitDiffMargin
{
[Export(typeof (IWpfTextViewMarginProvider))]
[Name(EditorDiffMargin.MarginNameConst)]
[Order(After = PredefinedMarginNames.Spacer... | Move diff bar to the right of the line numbers (like in the GitSCC extension) | Move diff bar to the right of the line numbers (like in the GitSCC extension)
| C# | mit | laurentkempe/GitDiffMargin,modulexcite/GitDiffMargin |
9e2279bdddfd8b5824cda2f92907cd205751e9e6 | bindings/csharp/Context.cs | bindings/csharp/Context.cs | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | Remove random context cleanup console output | Remove random context cleanup console output
git-svn-id: 40dd595c6684d839db675001a64203a1457e7319@8996 67ed7778-7388-44ab-90cf-0a291f65f57c
| C# | lgpl-2.1 | gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION |
cc9a800812d0d1bf32b5baa5bc77f8348bf8200f | src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs | src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class AccountBusinessProfileOptions : INestedOptions
{
[JsonProperty("mcc")]
public string Mcc { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("primary_color")]
public stri... | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountBusinessProfileOptions : INestedOptions
{
/// <summary>
/// The merchant category code for the account. MCCs are used to classify businesses based
/// on the goods or services they provide.
/// <... | Add support for `SupportAddress` on `Account` create and update | Add support for `SupportAddress` on `Account` create and update
| C# | apache-2.0 | stripe/stripe-dotnet |
3cba46608ab2e2ca6a095baf1cf8112010e81036 | src/PowerShellEditorServices.Protocol/LanguageServer/References.cs | src/PowerShellEditorServices.Protocol/LanguageServer/References.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.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Refe... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Refe... | Add registration options for reference request | Add registration options for reference request
| C# | mit | PowerShell/PowerShellEditorServices |
10e66e24e962b3499edc2ed73050930ab8735379 | src/NEventSocket/FreeSwitch/ChannelState.cs | src/NEventSocket/FreeSwitch/ChannelState.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ChannelState.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// ------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ChannelState.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// ------------------------------------------... | Add channel state None (CS_NONE) | Add channel state None (CS_NONE)
| C# | mpl-2.0 | pragmatrix/NEventSocket,pragmatrix/NEventSocket |
d7c04cddefaf1868c2b14dac26dd25a601c58d05 | Battery-Commander.Web/Models/NavigationViewComponent.cs | Battery-Commander.Web/Models/NavigationViewComponent.cs | using BatteryCommander.Web.Controllers;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Models
{
public class NavigationViewComponent : ViewComponent
{
private readonly Database db;
public Soldier ... | using BatteryCommander.Web.Controllers;
using BatteryCommander.Web.Services;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Models
{
public class NavigationViewComponent : ViewComponent
{
private readonly Database db;
public Soldier ... | Fix for no soldier foudn on nav component | Fix for no soldier foudn on nav component
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
b47a7eccfd2e6e0ab765b4d31d0abfde91377c7e | src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml | @model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel
@{
ViewBag.PageID = "authorize-response";
ViewBag.Title = "Login Successful";
ViewBag.HideSigninLink = "true";
}
<h1 class="heading-xlarge">Login successful</h1>
<form id="mainForm" method="post" action="@Model.ResponseFormUri">
... | @model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel
@{
ViewBag.PageID = "authorize-response";
ViewBag.Title = "Login Successful";
ViewBag.HideSigninLink = "true";
}
<h1 class="heading-xlarge">Login successful</h1>
<form id="mainForm" method="post" action="@Model.ResponseFormUri">
... | Copy change on the logged in page | Copy change on the logged in page
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
dba328016a5736e4704923b5c531ada4b3f4fac8 | MailRuCloud/MailRuCloudApi/Base/Requests/WebM1/MoveRequest.cs | MailRuCloud/MailRuCloudApi/Base/Requests/WebM1/MoveRequest.cs | using System;
using System.Net;
using System.Text;
using YaR.MailRuCloud.Api.Base.Requests.Repo;
namespace YaR.MailRuCloud.Api.Base.Requests.WebM1
{
class MoveRequest : BaseRequestJson<WebV2.CopyRequest.Result>
{
private readonly string _sourceFullPath;
private readonly string _destinationPath... | using System;
using System.Net;
using System.Text;
using YaR.MailRuCloud.Api.Base.Requests.Repo;
namespace YaR.MailRuCloud.Api.Base.Requests.WebM1
{
class MoveRequest : BaseRequestJson<WebV2.CopyRequest.Result>
{
private readonly string _sourceFullPath;
private readonly string _destinationPath... | Move request changed for uniformity | WebM1: Move request changed for uniformity
| C# | mit | yar229/WebDavMailRuCloud |
8dffb0d1f3d62796afd9e4c3ffdda8aad90b375d | Mollie.WebApplicationCoreExample/Views/Payment/Create.cshtml | Mollie.WebApplicationCoreExample/Views/Payment/Create.cshtml | @using Mollie.WebApplicationCoreExample.Framework.Extensions
@model CreatePaymentModel
@{
ViewData["Title"] = "Create payment";
}
<div class="container">
<h2>Create new payment</h2>
<form method="post">
<div asp-validation-summary="All"></div>
<div class="row">
<div ... | @using Mollie.WebApplicationCoreExample.Framework.Extensions
@model CreatePaymentModel
@{
ViewData["Title"] = "Create payment";
}
<div class="container">
<h2>Create new payment</h2>
<form method="post">
<div asp-validation-summary="All"></div>
<div class="row">
<div ... | Disable autocomplete for payment amount | Disable autocomplete for payment amount
| C# | mit | Viincenttt/MollieApi,Viincenttt/MollieApi |
f0b9bf35cd3a46a0dc04be7ef8e52687c094607a | src/Fixie.Console/Options.cs | src/Fixie.Console/Options.cs | namespace Fixie.Console
{
public class Options
{
public Options(
string configuration,
bool noBuild,
string framework,
string report)
{
Configuration = configuration ?? "Debug";
NoBuild = noBuild;
Framework = fr... | namespace Fixie.Console
{
public class Options
{
public Options(
string? configuration,
bool noBuild,
string? framework,
string? report)
{
Configuration = configuration ?? "Debug";
NoBuild = noBuild;
Framework =... | Declare the nullability of parsed command line arguments. | Declare the nullability of parsed command line arguments.
| C# | mit | fixie/fixie |
ac48ff87da15d10a020a3cff56f8b7cdb176defe | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ---------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ---------------------------------------------------------------------... | Fix and re-enable the canvas mock. | Fix and re-enable the canvas mock.
This got busted when we updated SharpDX to 2.6.3.
| C# | mit | aparajit-pratap/helix-toolkit,DynamoDS/helix-toolkit,smischke/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,jotschgl/helix-toolkit,0x53A/helix-toolkit,holance/helix-toolkit,huoxudong125/helix-toolkit,JeremyAnsel/helix-toolkit,CobraCalle/helix-toolkit,chrkon/helix-toolkit |
4ceb9bff5273597fea5723426a03c09ba909fbf5 | source/Playnite/CefTools.cs | source/Playnite/CefTools.cs | using CefSharp;
using CefSharp.Wpf;
using Playnite.Common;
using Playnite.Settings;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite
{
public class CefTools
{
public static bool IsInit... | using CefSharp;
using CefSharp.Wpf;
using Playnite.Common;
using Playnite.Settings;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite
{
public class CefTools
{
public static bool IsInit... | Make sure GPU accel. in web view is disabled even if default cefsharp settings change | Make sure GPU accel. in web view is disabled even if default cefsharp settings change
| C# | mit | JosefNemec/Playnite,JosefNemec/Playnite,JosefNemec/Playnite |
f6ccc4ba6881ef9bd34d6201abf23f0b9af64fe8 | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | Update the version to 1.2.2 | Update the version to 1.2.2
| C# | apache-2.0 | RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,rpmoore/ds3_net_sdk |
524b151a2d2d9acd9e34199fd7f0a275b0cade89 | code/SoftwareThresher/SoftwareThresher/Observations/Observation.cs | code/SoftwareThresher/SoftwareThresher/Observations/Observation.cs | using System.IO;
using SoftwareThresher.Settings.Search;
using SoftwareThresher.Utilities;
namespace SoftwareThresher.Observations {
public abstract class Observation {
readonly Search search;
protected Observation(Search search)
{
this.search = search;
}
public virtual boo... | using System.IO;
using SoftwareThresher.Settings.Search;
using SoftwareThresher.Utilities;
namespace SoftwareThresher.Observations {
public abstract class Observation {
readonly Search search;
protected Observation(Search search)
{
this.search = search;
}
public virtual boo... | Remove comment - no action needed | Remove comment - no action needed
| C# | mit | markaschell/SoftwareThresher |
1a07273910438d87cc89aea4af337e8615ad6483 | Gu.State.Benchmarks/Program.cs | Gu.State.Benchmarks/Program.cs | // ReSharper disable UnusedMember.Local
namespace Gu.State.Benchmarks
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
public static class Program
{
public static void Main()
... | // ReSharper disable UnusedMember.Local
namespace Gu.State.Benchmarks
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
public static class Program
{
public static void Main()
... | Fix copying of markdown result. | Fix copying of markdown result.
Would be nice if there were API for this.
| C# | mit | JohanLarsson/Gu.State,JohanLarsson/Gu.ChangeTracking,JohanLarsson/Gu.State |
f95d71470ddc80bbe273d85a239a727571f8d121 | Blog.Data/Post.cs | Blog.Data/Post.cs | using System;
namespace Blog.Data
{
public class Post
{
public int Id { get; set; }
public string Url { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string ComputedDescription
{
get
{
... | using System;
using System.Linq.Expressions;
namespace Blog.Data
{
public class Post
{
public int Id { get; set; }
public string Url { get; set; }
public string Title { get; set; }
public string Description { get; set; }
public string ComputedDescription
{
... | Add expression indicating if a post is published | Add expression indicating if a post is published
| C# | mit | sebastieno/sebastienollivier.fr,sebastieno/sebastienollivier.fr |
686f0b9ceedceb8ca255ccc6e7ae7fbaf80f239b | RightpointLabs.ConferenceRoom.Services/Controllers/BaseController.cs | RightpointLabs.ConferenceRoom.Services/Controllers/BaseController.cs | using log4net;
using RightpointLabs.ConferenceRoom.Services.Attributes;
using System.Net.Http;
using System.ServiceModel.Channels;
using System.Web;
using System.Web.Http;
namespace RightpointLabs.ConferenceRoom.Services.Controllers
{
/// <summary>
/// Operations dealing with client log messages
/// </sum... | using log4net;
using RightpointLabs.ConferenceRoom.Services.Attributes;
using System.Net.Http;
using System.ServiceModel.Channels;
using System.Web;
using System.Web.Http;
namespace RightpointLabs.ConferenceRoom.Services.Controllers
{
/// <summary>
/// Operations dealing with client log messages
/// </sum... | Fix process of requesting access to a room | Fix process of requesting access to a room
| C# | mit | RightpointLabs/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.