commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
16b44e97fc6ffc042a506ad2407d64a98c9555ce | Update ZoomBorderTests.cs | PanAndZoom/PanAndZoom,wieslawsoltes/PanAndZoom,wieslawsoltes/MatrixPanAndZoomDemo,wieslawsoltes/PanAndZoom,PanAndZoom/PanAndZoom | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | tests/Avalonia.Controls.PanAndZoom.UnitTests/ZoomBorderTests.cs | using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact]
public void ZoomBorder_Ctor()
{
var target = new ZoomBorder();
Assert.NotNull(target);
Assert.Equal(ButtonName.Middle, target.PanButton);
... | using System;
using Xunit;
namespace Avalonia.Controls.PanAndZoom.UnitTests
{
public class ZoomBorderTests
{
[Fact]
public void Stub()
{
Assert.True(true);
}
}
}
| mit | C# |
104c61d622589b199dd859abf3dfb2e6f0d0e7f0 | Remove unnecessary scale | ppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu | osu.Game/Screens/Edit/Compose/Components/Timeline/CentreMarker.cs | osu.Game/Screens/Edit/Compose/Components/Timeline/CentreMarker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Graphics;
usin... | mit | C# |
389c651cb92f55cf57bdaebf78c71d2e350f764a | make sure food log is never null | EhrgoHealth/CS6440,EhrgoHealth/CS6440 | src/EhrgoHealth.Web/Areas/Patient/Models/FitbitViewModel.cs | src/EhrgoHealth.Web/Areas/Patient/Models/FitbitViewModel.cs | using EhrgoHealth.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EhrgoHealth.Web.Areas.Patient.Models
{
public class FitbitViewModel
{
public string ToastText { get; set; }
public string ToastClass { get; set; }
public ICollection<F... | using EhrgoHealth.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EhrgoHealth.Web.Areas.Patient.Models
{
public class FitbitViewModel
{
public string ToastText { get; set; }
public string ToastClass { get; set; }
public ICollection<F... | mit | C# |
a5d050338f4df3e879005c420889dca1d688dc3f | Add total processed count for InMemoryCaptureHandler. | techyian/MMALSharp | src/MMALSharp.Processing/Handlers/InMemoryCaptureHandler.cs | src/MMALSharp.Processing/Handlers/InMemoryCaptureHandler.cs | // <copyright file="InMemoryCaptureHandler.cs" company="Techyian">
// Copyright (c) Ian Auty. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using MMALSharp.Common.Utility;
using MMAL... | // <copyright file="InMemoryCaptureHandler.cs" company="Techyian">
// Copyright (c) Ian Auty. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using MMALSharp.Common.Utility;
using MMAL... | mit | C# |
13885f12b237a2a4bef146ab8badb556f6a6d149 | Make side effect analysis more precise | peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie | src/Peachpie.CodeAnalysis/Semantics/ExpressionsExtension.cs | src/Peachpie.CodeAnalysis/Semantics/ExpressionsExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Devsense.PHP.Syntax.Ast;
namespace Pchp.CodeAnalysis.Semantics
{
static class ExpressionsExtension
{
public static T WithAccess<T>(this T expr, BoundAccess access) where T : BoundE... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Devsense.PHP.Syntax.Ast;
namespace Pchp.CodeAnalysis.Semantics
{
static class ExpressionsExtension
{
public static T WithAccess<T>(this T expr, BoundAccess access) where T : BoundE... | apache-2.0 | C# |
66a19c81047329e2e7e524e8608ff54cd5dd51d4 | Update SSPG to v1.4 | sergeyshushlyapin/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager | src/SIM.Tool.Windows/MainWindowComponents/OpenSSPGButton.cs | src/SIM.Tool.Windows/MainWindowComponents/OpenSSPGButton.cs | namespace SIM.Tool.Windows.MainWindowComponents
{
using System.Windows;
using SIM.Instances;
using SIM.Tool.Base.Plugins;
using JetBrains.Annotations;
using SIM.Core;
[UsedImplicitly]
public class OpenSSPGButton : IMainWindowButton
{
#region Public methods
public bool IsEnabled(Window mainWind... | namespace SIM.Tool.Windows.MainWindowComponents
{
using System.Windows;
using SIM.Instances;
using SIM.Tool.Base.Plugins;
using JetBrains.Annotations;
using SIM.Core;
[UsedImplicitly]
public class OpenSSPGButton : IMainWindowButton
{
#region Public methods
public bool IsEnabled(Window mainWin... | mit | C# |
852fc07998a6ca88fc1fdf1f426816ba5b92b728 | fix gethashcode | arsouza/Aritter,aritters/Ritter,arsouza/Aritter | src/Domain.Seedwork/Entity.cs | src/Domain.Seedwork/Entity.cs | using Ritter.Domain.Seedwork.Validation;
using System;
namespace Ritter.Domain.Seedwork
{
public abstract class Entity : IEntity
{
public virtual int Id { get; protected set; }
public virtual Guid Uid { get; protected set; } = Guid.NewGuid();
protected Entity() : base() { }
p... | using Ritter.Domain.Seedwork.Validation;
using System;
namespace Ritter.Domain.Seedwork
{
public abstract class Entity : IEntity
{
private int? requestedHashCode;
public virtual int Id { get; protected set; }
public virtual Guid Uid { get; protected set; } = Guid.NewGuid();
p... | mit | C# |
498636544106643d7ae7bb529145f6aa929b4066 | Fix snapshots for #255. | ExRam/ExRam.Gremlinq | test/ExRam.Gremlinq.PublicApi.Tests/PublicApiTests.WebSocketAspNet.verified.cs | test/ExRam.Gremlinq.PublicApi.Tests/PublicApiTests.WebSocketAspNet.verified.cs | namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static ExRam.Gremlinq.Core.AspNet.GremlinqSetup UseWebSocket(this ExRam.Gremlinq.Core.AspNet.GremlinqSetup setup) { }
}
public static class WebSocketGremlinQueryExecutorBuilderExtensions
{
pub... | namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
public static ExRam.Gremlinq.Core.AspNet.GremlinqSetup ConfigureWebSocketBuilder(this ExRam.Gremlinq.Core.AspNet.GremlinqSetup setup, System.Func<ExRam.Gremlinq.Providers.WebSocket.IWebSocketConfigurator, ExRam.Gremlinq... | mit | C# |
90ca860add6d1ca92a1e49919e2eafd1972f93bf | Fix IAndOnResult | folkelib/Folke.Elm | src/Folke.Elm/Fluent/AndOn.cs | src/Folke.Elm/Fluent/AndOn.cs | using System;
using System.Linq.Expressions;
namespace Folke.Elm.Fluent
{
public interface IAndOnTarget<T,TMe> : IFluentBuilder
{
}
public static class AndOnTargetExtensions
{
public static IAndOnResult<T, TMe> AndOn<T,TMe>(this IAndOnTarget<T,TMe> andOnTarget, Expression<Func<T, bool>> e... | using System;
using System.Linq.Expressions;
namespace Folke.Elm.Fluent
{
public interface IAndOnTarget<T,TMe> : IFluentBuilder
{
}
public static class AndOnTargetExtensions
{
public static IAndOnResult<T, TMe> AndOn<T,TMe>(this IAndOnTarget<T,TMe> andOnTarget, Expression<Func<T, bool>> e... | mit | C# |
51c608275725fac8ad11b15eb882d8bcd65d4095 | Add artwork field on AlbumAPI | hutopi/MusicPickerDevice | MusicPickerDeviceApp/App/Api/Util/Album.cs | MusicPickerDeviceApp/App/Api/Util/Album.cs | // ***********************************************************************
// Assembly : MusicPickerDeviceApp
// Author : Pierre
// Created : 06-20-2015
//
// Last Modified By : Pierre
// Last Modified On : 06-20-2015
// ***********************************************************************... | // ***********************************************************************
// Assembly : MusicPickerDeviceApp
// Author : Pierre
// Created : 06-20-2015
//
// Last Modified By : Pierre
// Last Modified On : 06-20-2015
// ***********************************************************************... | apache-2.0 | C# |
9de6f65158877ad56fdf36c0b09bf61218160863 | Fix the charting for org, Fixes #155 | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Units/Details.cshtml | Battery-Commander.Web/Views/Units/Details.cshtml | @model IEnumerable<Soldier>
<div id="chart_div"></div>
@section Scripts
{
@{
var soldiers =
Model
.Select(soldier => new
{
Name = soldier.ToString(),
Supervisor = soldier.Supervisor?.ToString()
})
.ToList();
}... | @model IEnumerable<Soldier>
<div id="chart_div"></div>
@section Scripts
{
@{
var soldiers =
Model
.Select(soldier => new
{
Name = soldier.ToString(),
Supervisor = soldier.Supervisor?.ToString()
})
.ToList();
}... | mit | C# |
a6096d9a3ce72dbc35dfdf44243b90e63b263fe4 | Add draft license page to Denver theme | DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API | CkanDotNet.Web/Views/Theme/Denver/License.cshtml | CkanDotNet.Web/Views/Theme/Denver/License.cshtml | @using CkanDotNet.Web.Models.Helpers
@using CkanDotNet.Web.Models
@{
ViewBag.Title = "License";
Layout = "~/Views/Shared/Layout/_Content.cshtml";
}
<div id="body">
@Html.Partial("~/Views/Shared/Search/_Search.cshtml")
<div class="container">
<h2 class="container-title">Open Data Lice... | @using CkanDotNet.Web.Models.Helpers
@using CkanDotNet.Web.Models
@{
ViewBag.Title = "License";
Layout = "~/Views/Shared/Layout/_Content.cshtml";
}
<div id="body">
@Html.Partial("~/Views/Shared/Search/_Search.cshtml")
<h2>Open Data License</h2>
<p>The City and County of Denver Open D... | apache-2.0 | C# |
5f4d2611a8bcc57e862c3a4e3378511a0dffc8dd | Set position in MemoryStream to 0, to ensure it can be read from later. | rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core/Extensions/StreamExtensions.cs | Core/OfficeDevPnP.Core/Extensions/StreamExtensions.cs | using System.IO;
namespace OfficeDevPnP.Core.Extensions
{
public static class StreamExtensions
{
public static MemoryStream ToMemoryStream(this Stream source)
{
var stream = source as MemoryStream;
if (stream != null) return stream;
var target = new MemorySt... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Extensions
{
public static class StreamExtensions
{
public static MemoryStream ToMemoryStream(this Stream source)
{
var s... | mit | C# |
35b54d8c766213f354170c68b2e3114d625a55a5 | fix tests | JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support | nuget-extensions/nuget-commands/src/NuGetTeamCityPingCommand.cs | nuget-extensions/nuget-commands/src/NuGetTeamCityPingCommand.cs | using System.ComponentModel.Composition;
using System.Threading;
using NuGet;
using NuGet.Commands;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
[Export]
public class NuGetTeamCityInfo : ICreatableComponent
{
public void Initialize()
{
LogRuntimeInfo();
}
public voi... | using System.ComponentModel.Composition;
using System.Threading;
using NuGet;
using NuGet.Commands;
namespace JetBrains.TeamCity.NuGet.ExtendedCommands
{
[Export]
public class NuGetTeamCityInfo : ICreatableComponent
{
public void Initialize()
{
LogRuntimeInfo();
}
public voi... | apache-2.0 | C# |
2b2c4185a33ae657fb53f5e793a30c68ebb4a348 | Remove unused property from CosmosDbGraphConfiguration. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.CosmosDb/CosmosDbGraphConfiguration.cs | ExRam.Gremlinq.CosmosDb/CosmosDbGraphConfiguration.cs | namespace ExRam.Gremlinq.CosmosDb
{
public class CosmosDbGraphConfiguration
{
public string Hostname { get; set; }
public int Port { get; set; } = 443;
public bool EnableSsl { get; set; } = true;
public string AuthKey { get; set; }
public string Database { get; set; }
... | namespace ExRam.Gremlinq.CosmosDb
{
public class CosmosDbGraphConfiguration
{
public string Hostname { get; set; }
public int Port { get; set; } = 443;
public bool EnableSsl { get; set; } = true;
public string AuthKey { get; set; }
public string Database { get; set; }
... | mit | C# |
985abb28cb27efddbe3490ac184a4cae5e8f03e2 | update IToken.cs | gaulinsoft/fusion,gaulinsoft/fusion,gaulinsoft/fusion | src/dll/Gaulinsoft.VisualStudio.EditorExtensions/IToken.cs | src/dll/Gaulinsoft.VisualStudio.EditorExtensions/IToken.cs | /*! ------------------------------------------------------------------------
// Fusion
// ------------------------------------------------------------------------
//
// Copyright 2014 Nicholas Gaulin
//
// Licensed under the Apache License, Version 2.0 (th... | /*! ------------------------------------------------------------------------
// Fusion
// ------------------------------------------------------------------------
//
// Copyright 2014 Nicholas Gaulin
//
// Licensed under the Apache License, Version 2.0 (th... | apache-2.0 | C# |
6c09720bbd814152699f707530404c0e16fd47d7 | Disable log warning if GitMind.resources could not be loaded | michael-reichenauer/GitMind | GitMind/Installation/Private/AssemblyResolver.cs | GitMind/Installation/Private/AssemblyResolver.cs | using System;
using System.IO;
using System.Reflection;
using GitMind.Utils;
namespace GitMind.Installation.Private
{
internal class AssemblyResolver
{
private static readonly string GitBinaryDll = "git2-785d8c4.dll";
public static void Activate()
{
AppDomain.CurrentDomain.AssemblyResolve += ResolveAsse... | using System;
using System.IO;
using System.Reflection;
using GitMind.Utils;
namespace GitMind.Installation.Private
{
internal class AssemblyResolver
{
private static readonly string GitBinaryDll = "git2-785d8c4.dll";
public static void Activate()
{
AppDomain.CurrentDomain.AssemblyResolve += ResolveAsse... | mit | C# |
1e79c0678fa964349017483ae43392b67661babd | Add GUID | danielchalmers/Simple-TTS,danielchalmers/Simple-TTS-Reader | SimpleTTSReader/Properties/AssemblyInfo.cs | SimpleTTSReader/Properties/AssemblyInfo.cs | #region
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
#endregion
// 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: AssemblyTitl... | #region
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
#endregion
// 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: AssemblyTitl... | apache-2.0 | C# |
21abac60f4596985d55fd875944557c8d4c7544b | Build fix | blebougge/Catel | src/Catel.MVVM/Catel.MVVM.Shared/Services/MessageService.ios.cs | src/Catel.MVVM/Catel.MVVM.Shared/Services/MessageService.ios.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageService.ios.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ---------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageService.ios.cs" company="Catel development team">
// Copyright (c) 2008 - 2014 Catel development team. All rights reserved.
// </copyright>
// ---------------------------... | mit | C# |
68dd25c7403cd5a4c03091b51655b96f419b6b45 | bump to version 1.0.2.1 | lanayotech/vagrant-manager-windows | Lanayo.VagrantManager/Properties/AssemblyInfo.cs | Lanayo.VagrantManager/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("Va... | 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("Va... | mit | C# |
ffc96c8b685f31c87b767e4ef79b02527d971438 | Remove redundant ctor | k2workflow/Clay | src/SourceCode.Clay.Data/SqlClient/SqlConnectionRetryOptions.cs | src/SourceCode.Clay.Data/SqlClient/SqlConnectionRetryOptions.cs | using System.Diagnostics.Contracts;
namespace SourceCode.Clay.Data.SqlClient
{
/// <summary>
/// A property bag to hold various connection retry options.
/// </summary>
public sealed class SqlConnectionRetryOptions
{
#region Constants
public static SqlConnectionRetryOptions Defaul... | using System.Diagnostics.Contracts;
namespace SourceCode.Clay.Data.SqlClient
{
/// <summary>
/// A property bag to hold various connection retry options.
/// </summary>
public sealed class SqlConnectionRetryOptions
{
#region Constants
public static SqlConnectionRetryOptions Defaul... | mit | C# |
457327446d6c5791cc19debfcdd8c2fba9c1f47a | change CanInherited rule | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/Lite,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions.Resolution/TypeInfoExtensions.cs | src/AspectCore.Lite.Abstractions.Resolution/TypeInfoExtensions.cs | using AspectCore.Lite.Abstractions.Resolution.Generators;
using System;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions.Resolution
{
public static class TypeInfoExtensions
{
public static bool ValidateAspect(this TypeInfo typeInfo, IAspectValidator aspectValidator)
... | using AspectCore.Lite.Abstractions.Resolution.Generators;
using System;
using System.Linq;
using System.Reflection;
namespace AspectCore.Lite.Abstractions.Resolution
{
public static class TypeInfoExtensions
{
public static bool ValidateAspect(this TypeInfo typeInfo, IAspectValidator aspectValidator)
... | mit | C# |
8afa965f43bd44e7143efa9da68d47fd433a881a | Remove cert-test action to help diagnose issues in azure | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | src/SFA.DAS.EmployerUsers.Web/Controllers/HomeController.cs | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | using System;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Web.Mvc;
using Microsoft.Azure;
using SFA.DAS.EmployerUsers.WebClientComponents;
namespace SFA.DAS.EmployerUsers.Web.Controllers
{
public class HomeController : ControllerBase
{
public ActionR... | mit | C# |
a2fa5cc75292d29f4b8ec243436744784c992a7f | Update WalletWasabi.Gui/Models/LoadWalletEntry.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Models/LoadWalletEntry.cs | WalletWasabi.Gui/Models/LoadWalletEntry.cs | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Hwi.Models;
namespace WalletWasabi.Gui.Models
{
public class LoadWalletEntry
{
public string WalletName { get; set; } = null;
public HwiEnumerateEntry HardwareWalletInfo { get; set; } = null;
public LoadWalletEntry(string wa... | using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Hwi.Models;
namespace WalletWasabi.Gui.Models
{
public class LoadWalletEntry
{
public string WalletName { get; set; } = null;
public HwiEnumerateEntry HardwareWalletInfo { get; set; } = null;
public LoadWalletEntry(string wa... | mit | C# |
fda2fb67c9cafad067208d7a18d8023ff4bb9d05 | Tweak for performance | jsmale/MassTransit,D3-LucaPiombino/MassTransit | src/MassTransit/Serialization/JsonConverters/ListJsonConverter.cs | src/MassTransit/Serialization/JsonConverters/ListJsonConverter.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | // Copyright 2007-2014 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | apache-2.0 | C# |
629ba4fb483a3bd8e36cb33d35c272264bbd6c3c | Convert to NFluent | magicmonty/pickles,irfanah/pickles,picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,irfanah/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,dirkrombauts/pickles,ludwigjo... | src/Pickles/Pickles.Test/Formatters/HtmlScenarioFormatterTests.cs | src/Pickles/Pickles.Test/Formatters/HtmlScenarioFormatterTests.cs | using System;
using System.Collections.Generic;
using System.Xml.Linq;
using NFluent;
using NUnit.Framework;
using Autofac;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.Parser;
namespace PicklesDoc.Pickles.Test.Formatters
{
[TestFixture]
p... | using System;
using System.Collections.Generic;
using System.Xml.Linq;
using NUnit.Framework;
using Autofac;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.Parser;
namespace PicklesDoc.Pickles.Test.Formatters
{
[TestFixture]
public class Htm... | apache-2.0 | C# |
e68f2fc196bdfbafabc51e14dec5cdcd7b52d522 | Add seed methods with test data | unbelt/StartApp,unbelt/StartApp,unbelt/StartApp,unbelt/StartApp | Source/Data/App.Data/Migrations/Configuration.cs | Source/Data/App.Data/Migrations/Configuration.cs | namespace App.Data.Migrations
{
using System;
using System.Collections.Generic;
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using App.Data.Models;
public sealed class Configuration : DbMigrationsConfiguration<AppDbContext>
{
public ... | namespace App.Data.Migrations
{
using System.Data.Entity.Migrations;
public sealed class Configuration : DbMigrationsConfiguration<AppDbContext>
{
public Configuration()
{
this.AutomaticMigrationsEnabled = true;
this.AutomaticMigrationDataLossAllowed = true; // TODO:... | mit | C# |
0ccd545ca82ce22d10e150da03d621db42cf2df6 | Fix null exception when treeitem value is left at null | infinity8/StructuredXmlEditor | StructuredXmlEditor/Definition/TreeDefinition.cs | StructuredXmlEditor/Definition/TreeDefinition.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using StructuredXmlEditor.Data;
namespace StructuredXmlEditor.Definition
{
public class TreeDefinition : ComplexDataDefinition
{
public TreeDefinition()
{
TextColour = Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using StructuredXmlEditor.Data;
namespace StructuredXmlEditor.Definition
{
public class TreeDefinition : ComplexDataDefinition
{
public TreeDefinition()
{
TextColour = Co... | apache-2.0 | C# |
51497f04c8f5a1b05200cf868c9617232f9e0df7 | 修正了 参与其他人项目 和群的时候 无法正确打开 链接的问题。 | maikebing/GitLab.VisualStudio | src/GitLab.TeamFoundation.14/Home/GitLabNavigationItem.cs | src/GitLab.TeamFoundation.14/Home/GitLabNavigationItem.cs | using GitLab.VisualStudio.Shared;
using GitLab.VisualStudio.Shared.Controls;
using Microsoft.TeamFoundation.Controls.WPF.TeamExplorer;
using System;
using System.Windows.Media;
namespace GitLab.TeamFoundation.Home
{
public abstract class GitLabNavigationItem : TeamExplorerNavigationItemBase
{
... | using GitLab.VisualStudio.Shared;
using GitLab.VisualStudio.Shared.Controls;
using Microsoft.TeamFoundation.Controls.WPF.TeamExplorer;
using System;
using System.Windows.Media;
namespace GitLab.TeamFoundation.Home
{
public abstract class GitLabNavigationItem : TeamExplorerNavigationItemBase
{
... | mit | C# |
503c83c63c59abb4e5fb350863cc064bc172929b | Create server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | 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 : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | 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 : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
5dae43fa9b91cef5238b6159a34342e603681716 | Fix launch fleet command validator | smolyakoff/conreign,smolyakoff/conreign,smolyakoff/conreign | src/Conreign.Server/Gameplay/Validators/LaunchFleetValidator.cs | src/Conreign.Server/Gameplay/Validators/LaunchFleetValidator.cs | using System;
using Conreign.Contracts.Gameplay.Data;
using Conreign.Core;
using FluentValidation;
namespace Conreign.Server.Gameplay.Validators
{
internal class LaunchFleetValidator : AbstractValidator<FleetData>
{
private readonly Map _map;
private readonly Guid _senderId;
public La... | using System;
using Conreign.Contracts.Gameplay.Data;
using Conreign.Core;
using FluentValidation;
namespace Conreign.Server.Gameplay.Validators
{
internal class LaunchFleetValidator : AbstractValidator<FleetData>
{
private readonly Map _map;
private readonly Guid _senderId;
public La... | mit | C# |
19c09240e98ed7b7a55462fa4a81623f5762d127 | Revert "make Doors list private, add getter" | virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 | Assets/Scripts/RoomDetails.cs | Assets/Scripts/RoomDetails.cs | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
public List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject ... | using System.Collections.Generic;
using UnityEngine;
public class RoomDetails : MonoBehaviour {
public int HorizontalSize;
public int VerticalSize;
private List<GameObject> Doors;
void Start() {
int doorIndex = 0;
for(int i = 0; i < transform.childCount; i++) {
GameObject... | mit | C# |
3951310230b0c09b6eac27836c52dc84c68e1477 | Make Partition.Part and Total properties public | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/CI/Partition.cs | source/Nuke.Common/CI/Partition.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.CI
{
... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.CI
{
... | mit | C# |
09cd281701d554a72e8b48329fd53032a3d89996 | rename mysql processor | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs | src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.MySql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.MySql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ... | mit | C# |
00dd3ae5ae6c3f7946409cdce2a529467f0c693f | package was not assigned | kerryjiang/SuperSocket,kerryjiang/SuperSocket | src/SuperSocket.WebSocket/WebSocketDataPipelineFilter.cs | src/SuperSocket.WebSocket/WebSocketDataPipelineFilter.cs | using System;
using System.Buffers;
using SuperSocket.ProtoBase;
using SuperSocket.WebSocket.FramePartReader;
namespace SuperSocket.WebSocket
{
public class WebSocketDataPipelineFilter : IPipelineFilter<WebSocketPackage>
{
public IPackageDecoder<WebSocketPackage> Decoder { get; set; }
public ... | using System;
using System.Buffers;
using SuperSocket.ProtoBase;
using SuperSocket.WebSocket.FramePartReader;
namespace SuperSocket.WebSocket
{
public class WebSocketDataPipelineFilter : IPipelineFilter<WebSocketPackage>
{
public IPackageDecoder<WebSocketPackage> Decoder { get; set; }
public ... | apache-2.0 | C# |
6106fb1ffa55b78a8cfe4370ac1a0743db2ab3bb | Fix crash when deleting a book (BL-2504) | gmartin7/myBloomFork,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,JohnThomson/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,gm... | src/BloomExe/Book/BookSelection.cs | src/BloomExe/Book/BookSelection.cs | using System.Drawing.Imaging;
using Palaso.Extensions;
using Palaso.UI.WindowsForms.ClearShare;
using System;
using System.IO;
namespace Bloom.Book
{
public class BookSelection
{
private Book _currentSelection;
public event EventHandler SelectionChanged;
public void SelectBook(Book book)
{
if (_currentS... | using System.Drawing.Imaging;
using Palaso.Extensions;
using Palaso.UI.WindowsForms.ClearShare;
using System;
using System.IO;
namespace Bloom.Book
{
public class BookSelection
{
private Book _currentSelection;
public event EventHandler SelectionChanged;
public void SelectBook(Book book)
{
if (_currentS... | mit | C# |
0540539ce2b6655ff0a627963ccdc3666be2d655 | Add back missing OnHelpInvoked implementation which was removed | Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint,Nick-Lucas/EntryPoint | test/EntryPointTests/AppOptionModels/HelpWithRequiredArgsModel.cs | test/EntryPointTests/AppOptionModels/HelpWithRequiredArgsModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint;
using EntryPointTests.Helpers;
namespace EntryPointTests.AppOptionModels {
public class HelpWithRequiredArgsModel : BaseCliArguments {
public HelpWithRequiredArgsModel() : base("APP_NAME") {... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint;
using EntryPointTests.Helpers;
namespace EntryPointTests.AppOptionModels {
public class HelpWithRequiredArgsModel : BaseCliArguments {
public HelpWithRequiredArgsModel() : base("APP_NAME") {... | mit | C# |
8a8892e660b442442a8343f3a868f0235ac46a4f | Update CommentFormatting.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/As... | Examples/CSharp/DrawingObjects/Comments/CommentFormatting.cs | Examples/CSharp/DrawingObjects/Comments/CommentFormatting.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Comments
{
public class CommentFormatting
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Example... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.DrawingObjects.Comments
{
public class CommentFormatting
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syste... | mit | C# |
15116a8aba56b53a010f90c0b73ebeed5d3ecf22 | add ControllerName to SimpleHttpCacheInvalidator LogException | signumsoftware/framework,signumsoftware/framework | Signum.Engine.Extensions/Cache/SimpleHttpCacheInvalidator.cs | Signum.Engine.Extensions/Cache/SimpleHttpCacheInvalidator.cs |
using Azure.Messaging.ServiceBus;
using Azure.Messaging.ServiceBus.Administration;
using Npgsql;
using Signum.Engine.Json;
using Signum.Entities.Cache;
using Signum.Services;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Json;
namespace Signum.Engine.Cache;
public class SimpleHttpCacheInval... |
using Azure.Messaging.ServiceBus;
using Azure.Messaging.ServiceBus.Administration;
using Npgsql;
using Signum.Engine.Json;
using Signum.Entities.Cache;
using Signum.Services;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Json;
namespace Signum.Engine.Cache;
public class SimpleHttpCacheInval... | mit | C# |
f8509a3efdfdcfff54e20e2121cb572782345091 | Update ExceptionlessTelemeterBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/ExceptionlessTelemeterBase.cs | TIKSN.Core/Analytics/Telemetry/ExceptionlessTelemeterBase.cs | namespace TIKSN.Analytics.Telemetry
{
public abstract class ExceptionlessTelemeterBase
{
}
}
| namespace TIKSN.Analytics.Telemetry
{
public abstract class ExceptionlessTelemeterBase
{
}
} | mit | C# |
1dbcaf9933f372e66fbafaf45de0fa834846630f | Use Tabs sorry | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/BitcoinCore/Monitoring/P2pReconnector.cs | WalletWasabi/BitcoinCore/Monitoring/P2pReconnector.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.BitcoinCore.Monitoring
{
public class P2pReconnector : PeriodicRunner
{
public P2pReconnector(TimeSpan period, P2pNode p2pNode) : base(period)... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Bases;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.BitcoinCore.Monitoring
{
public class P2pReconnector : PeriodicRunner
{
public P2pReconnector(TimeSpan period, P2pNode p2pNode) : ... | mit | C# |
0cbb634cb7bb5d2ebdee632ea8221611703edd25 | Remove unused method. | winddyhe/knight | knight-client/Assets/Framework/WindUI/DataBinding/DataBindingPropertyWatcher.cs | knight-client/Assets/Framework/WindUI/DataBinding/DataBindingPropertyWatcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnityEngine.UI
{
public class DataBindingPropertyWatcher
{
private object mPropertyOwner;
private string mPropertyName;
private Action mAction;
priv... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnityEngine.UI
{
public class DataBindingPropertyWatcher : IDisposable
{
private object mPropertyOwner;
private string mPropertyName;
private Action mAction... | mit | C# |
5dfb4062a197792ade9d7831c418ec7ec8e5d82d | Improve tests | VictorNicollet/SocialToolBox | SocialToolBox.Core.Tests/Entity/Web/EntityPage/all_pages.cs | SocialToolBox.Core.Tests/Entity/Web/EntityPage/all_pages.cs | using System.Linq;
using NUnit.Framework;
using SocialToolBox.Core.Mocks.Entity;
using SocialToolBox.Core.Present;
using SocialToolBox.Core.Web.Args;
using SocialToolBox.Core.Web.Response;
namespace SocialToolBox.Core.Tests.Entity.Web.EntityPage
{
[TestFixture]
public class all_pages : MockFixture
{
... | using System.Linq;
using NUnit.Framework;
using SocialToolBox.Core.Present;
using SocialToolBox.Core.Web.Args;
using SocialToolBox.Core.Web.Response;
namespace SocialToolBox.Core.Tests.Entity.Web.EntityPage
{
[TestFixture]
public class all_pages : MockFixture
{
[Test]
public void get_page_... | mit | C# |
d20c77eca3a96a2e3c3b13388362a39ff9530e20 | Change link to point to recruit dashboard | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyPendingReview.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyPendingReview.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your apprenticeship advert
</h2>
<p>You have created a vacancy for your apprenticeship.</p>
<table class="responsive">
<tr>
<th sc... | mit | C# |
7386c73b02486c1e00cec68c6f73968cd2348ff6 | fix c#6 code | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Core/NakedObjects.Metamodel/Facet/MarkerFlagFacetAbstract.cs | Core/NakedObjects.Metamodel/Facet/MarkerFlagFacetAbstract.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | apache-2.0 | C# |
9db05fee50ee4e388dcc325234b6e96863722d14 | clean up tc name | asipe/SupaCharge | src/SupaCharge.UnitTests/Core/Collections/Extensions/ElementsAtExtensionTest.cs | src/SupaCharge.UnitTests/Core/Collections/Extensions/ElementsAtExtensionTest.cs | using System;
using System.Linq;
using NUnit.Framework;
using SupaCharge.Core.Collections.Extensions;
using SupaCharge.Testing;
namespace SupaCharge.UnitTests.Core.Collections.Extensions {
[TestFixture]
public class ElementsAtExtensionTest : BaseTestCase {
[TestCase(new int[0], new string[0])]
[T... | using System;
using System.Linq;
using NUnit.Framework;
using SupaCharge.Core.Collections.Extensions;
using SupaCharge.Testing;
namespace SupaCharge.UnitTests.Core.Collections.Extensions {
[TestFixture]
public class ElementsAtExtensionTest : BaseTestCase {
[TestCase(new int[0], new string[0])]
[T... | mit | C# |
caa1c0b1075468e3a3985b78ba178653362934b3 | add suggestions list | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs | WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs | using System.Collections;
using System.Collections.Generic;
using NBitcoin;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels
{
public class RecoveryPageViewModel : NavBarItemViewModel
{
public RecoveryPageViewModel(IScreen screen) : base(screen)
{
Title = "Recovery";
}
public override string Ic... | using System.Collections;
using System.Collections.Generic;
using NBitcoin;
using ReactiveUI;
namespace WalletWasabi.Fluent.ViewModels
{
public class RecoveryPageViewModel : NavBarItemViewModel
{
public RecoveryPageViewModel(IScreen screen) : base(screen)
{
Title = "Recovery";
}
public override string Ic... | mit | C# |
d9293142ca2e03ca42cff12db69edc712102d10e | Combine paths in cross-platform style to allow Ef migrations in Linux | abdllhbyrktr/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,abdllhbyrktr/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,abdllhbyrktr/module-ze... | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Web/WebContentFolderHelper.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Web/WebContentFolderHelper.cs | using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
namespace AbpCompanyName.AbpProjectName.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework core command line commands (to find conn string... | using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
namespace AbpCompanyName.AbpProjectName.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework core command line commands (to find conn string... | mit | C# |
ca797359244af3ee94c45820146109b4edaf9752 | Create hangfire sql objects extension method for ef core migration builder | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.Data.EntityFrameworkCore/Extensions/MigrationBuilderExtensions.cs | src/Server/Bit.Data.EntityFrameworkCore/Extensions/MigrationBuilderExtensions.cs | using Bit.Data.Implementations;
using System;
using System.IO;
using System.Reflection;
namespace Microsoft.EntityFrameworkCore.Migrations
{
public static class MigrationBuilderExtensions
{
/// <summary>
/// <seealso cref="SqlServerJsonLogStore"/>
/// </summary>
public static v... | using Bit.Data.Implementations;
using System;
namespace Microsoft.EntityFrameworkCore.Migrations
{
public static class MigrationBuilderExtensions
{
/// <summary>
/// <seealso cref="SqlServerJsonLogStore"/>
/// </summary>
public static void CreateSqlServerJsonLogStoreTable(this ... | mit | C# |
dfd0a48379e364d079dd7fcb25f9ab244c447855 | Call account balance | mrklintscher/libfintx | test/test_balance/Program.cs | test/test_balance/Program.cs | using System;
namespace test_balance
{
class Program
{
static string Account;
static int BLZ;
static string BIC;
static string IBAN;
static string URL;
static int HBCIVersion;
static string UserID;
static string PIN;
static bool Anonymous... | using System;
namespace test_balance
{
class Program
{
static string Account;
static int BLZ;
static string BIC;
static string IBAN;
static string URL;
static int HBCIVersion;
static string UserID;
static string PIN;
static bool Anonymous... | lgpl-2.1 | C# |
616a61655314e93d98f94cf2fcf3a8b1ee59631a | add nsurlsessionhandler as httpclient for ios 7+ (#1023) | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/Microsoft.Identity.Client/Http/HttpClientFactory.cs | src/Microsoft.Identity.Client/Http/HttpClientFactory.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated do... | mit | C# |
c332d07d4db2c17e60811d1dcdd35fdb0b05a174 | Add extensions for INotifyPropertyChanged. | Grabacr07/MetroTrilithon | source/MetroTrilithon.Desktop/Mvvm/MvvmExtensions.cs | source/MetroTrilithon.Desktop/Mvvm/MvvmExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using Livet;
using Livet.EventListeners;
namespace MetroTrilithon.Mvvm
{
public static class MvvmExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="ViewMode... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Livet;
namespace MetroTrilithon.Mvvm
{
public static class MvvmExtensions
{
/// <summary>
/// <see cref="IDisposable"/> オブジェクトを、指定した <see cref="ViewModel"/> の <see cref="ViewModel.CompositeDisposable"/> に追加します... | mit | C# |
eb84612499744db066460805ce0a47df01d406c5 | remove override definitions | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Features/Input/Handlers/DefaultTransformSmoothingLogic.cs | Assets/MRTK/SDK/Features/Input/Handlers/DefaultTransformSmoothingLogic.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// A default implementation of TransformSmoother for smoothing transforms.
/// </summary>
public class DefaultTransformSmoothingLogic : ITr... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Utilities
{
/// <summary>
/// A default implementation of TransformSmoother for smoothing transforms.
/// </summary>
public class DefaultTransformSmoothingLogic : ITr... | mit | C# |
34d2846051d63d08e419d9f9bf608adc2d1e10a1 | Update file version to 3.0.0.0 | amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | mit | C# |
579640c33a266abb6bb9f409dbd374a2a722e5be | fix message | SimonCropp/HandlerOrdering | HandlerOrdering/TypeSorter.cs | HandlerOrdering/TypeSorter.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace HandlerOrdering
{
class TypeSorter
{
Dictionary<Type, List<Type>> dependencies;
List<Type> sorted = new List<Type>();
List<Type> stack;
public ReadOnlyCollection<T... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
namespace HandlerOrdering
{
class TypeSorter
{
Dictionary<Type, List<Type>> dependencies;
List<Type> sorted = new List<Type>();
List<Type> stack;
public ReadOnlyCollection<T... | mit | C# |
8290789d5d07d61f30d20d22e143e7747cafc234 | Update MaxTimeCommand.cs | nunit/nunit,nunit/nunit | src/NUnitFramework/framework/Internal/Commands/MaxTimeCommand.cs | src/NUnitFramework/framework/Internal/Commands/MaxTimeCommand.cs | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System.Diagnostics;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Commands
{
/// <summary>
/// <see cref="MaxTimeCommand" /> adjusts the result of a successful test
//... | // Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt
#nullable enable
using System.Diagnostics;
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Commands
{
/// <summary>
/// <see cref="MaxTimeCommand" /> adjusts the result of a successful test
//... | mit | C# |
8bc9a6d5abf407c562629bb8f1349788811dd665 | cut down on the cw | pvivera/Cirqus,d60/Cirqus,hdrachmann/Cirqus,mhertis/Cirqus | d60.Cirqus.Tests/Contracts/Views/New/Models/EventEmitter.cs | d60.Cirqus.Tests/Contracts/Views/New/Models/EventEmitter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using d60.Cirqus.Aggregates;
using d60.Cirqus.Commands;
using d60.Cirqus.Events;
using d60.Cirqus.Views.ViewManagers;
namespace d60.Cirqus.Tests.Contracts.Views.New.Models
{
public class EventEmitter : AggregateRoot, IEmit<AnEvent>
... | using System;
using System.Collections.Generic;
using System.Linq;
using d60.Cirqus.Aggregates;
using d60.Cirqus.Commands;
using d60.Cirqus.Events;
using d60.Cirqus.Views.ViewManagers;
namespace d60.Cirqus.Tests.Contracts.Views.New.Models
{
public class EventEmitter : AggregateRoot, IEmit<AnEvent>
... | mit | C# |
9a77b2f23384a3e90a120872366be06915cb9234 | Store Tetris DS player name as string. | mm201/GamestatsBase | Sample/tetrisds/store.ashx.cs | Sample/tetrisds/store.ashx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GamestatsBase;
namespace Sample.tetrisds
{
/// <summary>
/// Summary description for store
/// </summary>
public class store : GamestatsHandler
{
public store() : base("Wo3vqrDoL56sAdveYeC1", 0x00000... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GamestatsBase;
namespace Sample.tetrisds
{
/// <summary>
/// Summary description for store
/// </summary>
public class store : GamestatsHandler
{
public store() : base("Wo3vqrDoL56sAdveYeC1", 0x00000... | mpl-2.0 | C# |
8d8852873dd4de63a1c4e842b90680ab1c16c36a | Fix NullReferenceException. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Areas/Guild/Controllers/MutesController.cs | MitternachtWeb/Areas/Guild/Controllers/MutesController.cs | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Modules.Administration.Services;
using Mitternacht.Services;
using MitternachtWeb.Areas.Guild.Models;
using MitternachtWeb.Exceptions;
using System;
using System.Linq;
using System.Threading... | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Modules.Administration.Services;
using Mitternacht.Services;
using MitternachtWeb.Areas.Guild.Models;
using MitternachtWeb.Exceptions;
using System;
using System.Linq;
using System.Threading... | mit | C# |
14198c0c2cc32708ad6aa10acba39e9d3a34ae28 | Update FastBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/FastBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new FastBinaryWriter<Out... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class FastBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal(object obj)
{
var output = new OutputBuffer();
var writer = new FastBinaryWriter<O... | mit | C# |
754bf151650406fdc2aa4a1e047e3e5e8fd8ce83 | Add unit test to create Kafka sink. | wespday/serilog-sinks-kafka | src/Serilog.Sinks.Kafka.Test/LoggerConfigurationKafkaExtensionsTests.cs | src/Serilog.Sinks.Kafka.Test/LoggerConfigurationKafkaExtensionsTests.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoggerConfigurationKafkaExtensionsTests.cs" company="Wes Day">
// Copyright (c) 2016 Wes Day
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="LoggerConfigurationKafkaExtensionsTests.cs" company="Wes Day">
// Copyright (c) 2016 Wes Day
//
// Licensed under the Apache License, Version 2.0 (the "License");
// yo... | apache-2.0 | C# |
a36831360a3fbc070ede006daa16f65bb3ad826c | Test the hub | Community-Manager/NCS-Server,Community-Manager/NCS-Server | Source/Server/NeighboursCommunitySystem.API/Hubs/StickyNotesHub.cs | Source/Server/NeighboursCommunitySystem.API/Hubs/StickyNotesHub.cs | namespace NeighboursCommunitySystem.API.Hubs
{
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
[HubName("stickyNotesHub")]
public class StickyNotesHub : Hub
{
public void VoteProposal()
{
var context = GlobalHost.Co... | namespace NeighboursCommunitySystem.API.Hubs
{
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
[HubName("stickyNotesHub")]
public class StickyNotesHub : Hub
{
public void VoteProposal()
{
//var context = GlobalHost.... | mit | C# |
cf5b9352579c4e858008da35d351d12cb5130471 | Configure await false to remove deadlocks | nihaue/TRex,nihaue/TRex,nihaue/TRex | Source/TRex.Metadata/Extensions/ClientTriggerCallbackExtensions.cs | Source/TRex.Metadata/Extensions/ClientTriggerCallbackExtensions.cs | using Microsoft.Azure.AppService.ApiApps.Service;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TRex.Extensions
{
public static class ClientTriggerCallbackExtensions
{
/// <summary>
/// Invokes the callbac... | using Microsoft.Azure.AppService.ApiApps.Service;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TRex.Extensions
{
public static class ClientTriggerCallbackExtensions
{
/// <summary>
/// Invokes the callbac... | mit | C# |
87bce451ab004c28b259ff929af77c81b91a1b54 | Mark the CardFingerprint property of BancontactPaymentResponse as deprecated | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | using System;
namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the ... | namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the payment is comp... | mit | C# |
d70c9fb4dfa02188fd7664f411bd829e65a8c223 | Improve debugging. :-) | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib/Statements/StatementSimpleStatement.cs | LINQToTTree/LINQToTTreeLib/Statements/StatementSimpleStatement.cs | using System;
using System.Collections.Generic;
using LinqToTTreeInterfacesLib;
namespace LINQToTTreeLib.Statements
{
/// <summary>
/// Statement that holds onto a generic line. This could be, for example, a single line with side-effects that
/// has been processed by GetExpression.
/// </sum... | using System;
using System.Collections.Generic;
using LinqToTTreeInterfacesLib;
namespace LINQToTTreeLib.Statements
{
/// <summary>
/// Statement that holds onto a generic line. This could be, for example, a single line with side-effects that
/// has been processed by GetExpression.
/// </sum... | lgpl-2.1 | C# |
6a05d1e524bf014325266d1e87d25bb84daed95a | Solve build related issue | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | 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... | mit | C# |
56d07e633505cf4dcf707ddc99e235a338b86fbd | make use of NUGET_EXE_NO_PROMPT variable on servier's nuget calls | JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,stormleoxia/teamcity-nuget-support,JetBrains/teamcity-nuget-support | nuget-extensions/nuget-runner/src/NuGetInstallExtensions5.cs | nuget-extensions/nuget-runner/src/NuGetInstallExtensions5.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace JetBrains.TeamCity.NuGetRunner
{
public class NuGetInstallExtensions5 : NuGetInstallExtensionsBase
{
public NuGetInstallExtensions5(NuGetRunner runner, IEnumerable<string> extensions) : base(runner)
{
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace JetBrains.TeamCity.NuGetRunner
{
public class NuGetInstallExtensions5 : NuGetInstallExtensionsBase
{
public NuGetInstallExtensions5(NuGetRunner runner, IEnumerable<string> extensions) : base(runner)
{
... | apache-2.0 | C# |
40ba6c214e32cbc3c61ed629fcbb0961ecce9cf9 | Fix GetUserName unit test | kmosher/PowerShell,jsoref/PowerShell,bmanikm/PowerShell,jsoref/PowerShell,kmosher/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,JamesWTruher/PowerShell-1,jsoref/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShell,KarolKaczmarek/PowerShell,TravisEz13/PowerShell,bmanikm/PowerShell,bingbi... | src/ps_test/test_CorePsPlatform.cs | src/ps_test/test_CorePsPlatform.cs | using Xunit;
using System;
using System.Diagnostics;
using System.Management.Automation;
namespace PSTests
{
public static class PlatformTests
{
[Fact]
public static void TestIsLinux()
{
Assert.True(Platform.IsLinux());
}
[Fact]
public static void Te... | using Xunit;
using System;
using System.Diagnostics;
using System.Management.Automation;
namespace PSTests
{
public static class PlatformTests
{
[Fact]
public static void TestIsLinux()
{
Assert.True(Platform.IsLinux());
}
[Fact]
public static void Te... | mit | C# |
078024961c73f513bb53654334834a75178b43c7 | Use https for hyperlinks (#1719) | AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet | src/Microsoft.IdentityModel.Protocols.OpenIdConnect/OpenIdConnectScope.cs | src/Microsoft.IdentityModel.Protocols.OpenIdConnect/OpenIdConnectScope.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | mit | C# |
27eea042971d6ead3ebbb0181dc24ffc51f2293f | update test | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite | test/AspectCore.Extensions.DependencyInjection.Test/SpecificationTests.cs | test/AspectCore.Extensions.DependencyInjection.Test/SpecificationTests.cs | using Microsoft.Extensions.DependencyInjection.Specification;
using System;
using Microsoft.Extensions.DependencyInjection;
using AspectCore.Abstractions;
namespace AspectCore.Extensions.DependencyInjection.Test
{
public class SpecificationTests: DependencyInjectionSpecificationTests
{
protected overr... | using Microsoft.Extensions.DependencyInjection.Specification;
using System;
using Microsoft.Extensions.DependencyInjection;
using AspectCore.Abstractions;
namespace AspectCore.Extensions.DependencyInjection.Test
{
public class SpecificationTests: DependencyInjectionSpecificationTests
{
protected overr... | mit | C# |
c6a0f33ed080a8be863b42fcd2c877316dc17d0a | Update my own filter | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KieranJacobsen.cs | src/Firehose.Web/Authors/KieranJacobsen.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KieranJacobsen : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KieranJacobsen : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | mit | C# |
1e9ddb4989b808625549ea6c24aeea6a0cd9e345 | add comment | bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL | Demos/TraverseAllDemos/Program.cs | Demos/TraverseAllDemos/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace TraverseAllDemos
{
class Program
{
static void Main(string[] args)
{
try
{
string self = typeof(Program).Assembly.Location;
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace TraverseAllDemos
{
class Program
{
static void Main(string[] args)
{
try
{
string self = typeof(Program).Assembly.Location;
... | mit | C# |
e66f6e8f91cd6783544d2bb1ea501d3f297e39aa | fix inspect code issues and cleanup code | smoogipoo/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu | osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.cs | osu.Game/Graphics/Backgrounds/BeatmapBackgroundWithStoryboard.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Storyboards.Drawables;
namespace osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Storyboards.Drawables;
namespace osu.Ga... | mit | C# |
3718c31126cc1316d777f1646a6dbd0ec305cce6 | Write to log instead of console | cureos/Evil-DICOM | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | EvilDICOM.Core/EvilDICOM.Core/IO/Data/DataRestriction.cs | using System;
using EvilDICOM.Core.Enums;
using EvilDICOM.Core.Logging;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
... | using System;
using EvilDICOM.Core.Enums;
namespace EvilDICOM.Core.IO.Data
{
public class DataRestriction
{
public static string EnforceLengthRestriction(uint lengthLimit, string data)
{
if (data.Length > lengthLimit)
{
Console.Write(
... | mit | C# |
2d931aca9451d995769bec2122d0c852996a1cf3 | Add link from Authentication to ZermeloAuthenticator in docs | arthurrump/Zermelo.API | Zermelo.API/Authentication.cs | Zermelo.API/Authentication.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zermelo.API.Interfaces;
using Zermelo.API.Helpers;
using Zermelo.API.Services.Interfaces;
namespace Zermelo.API
{
/// <summary>
/// A class containing the information used to authenticate ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zermelo.API.Interfaces;
using Zermelo.API.Helpers;
using Zermelo.API.Services.Interfaces;
namespace Zermelo.API
{
/// <summary>
/// A class containing the information used to authenticate ... | mit | C# |
a36dd569e6fe87b50f14e1eeea81fd719c91aaab | Fix ChromeBehaviorsPicker | john29917958/Korat-Framework | Korat-Framework/Pickers/Browser/ChromeBehaviorsPicker.cs | Korat-Framework/Pickers/Browser/ChromeBehaviorsPicker.cs | using KoratFramework.Behaviors.Browsers;
using KoratFramework.Behaviors.Browsers.Chrome;
using KoratFramework.Version;
using Ncu.Oolab.Korat.Library;
namespace KoratFramework.Pickers.Browser
{
public class ChromeBehaviorsPicker : BehaviorsPicker<BrowserBehaviors>
{
public ChromeBehaviorsPicker(Korat k... | using KoratFramework.Behaviors.Browsers;
using KoratFramework.Behaviors.Browsers.Chrome;
using KoratFramework.Version;
using Ncu.Oolab.Korat.Library;
namespace KoratFramework.Pickers.Browser
{
public class ChromeBehaviorsPicker : BehaviorsPicker<BrowserBehaviors>
{
public ChromeBehaviorsPicker(Korat k... | mit | C# |
8649a48e286cbd729225cce479f5d06364d97e92 | Remove more defunct parameters | 7digital/SevenDigital.Api.Schema,scooper91/SevenDigital.Api.Schema | src/Schema.Integration.Tests/EndpointTests/Releases/ReleaseChartTests.cs | src/Schema.Integration.Tests/EndpointTests/Releases/ReleaseChartTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SevenDigital.Api.Schema.Charts;
using SevenDigital.Api.Schema.Integration.Tests.Infrastructure;
using SevenDigital.Api.Schema.Releases;
using SevenDigital.Api.Wrapper;
namespace SevenDigital.Api.Schema.Integration.Tes... | using System;
using System.Linq;
using System.Threading.Tasks;
using NUnit.Framework;
using SevenDigital.Api.Schema.Charts;
using SevenDigital.Api.Schema.Integration.Tests.Infrastructure;
using SevenDigital.Api.Schema.Releases;
using SevenDigital.Api.Wrapper;
namespace SevenDigital.Api.Schema.Integration.Tes... | mit | C# |
e553be9d182d943e40ff1642e18eef224bc040ba | Update LogRegexAttribute.cs | destructurama/attributed | src/Destructurama.Attributed/Attributed/LogRegexAttribute.cs | src/Destructurama.Attributed/Attributed/LogRegexAttribute.cs | // Copyright 2015-2020 Destructurama Contributors, Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | // Copyright 2015-2020 Destructurama Contributors, Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... | apache-2.0 | C# |
5a6ba5ddd641773c8ec0b087ac6c7516a424f7cf | Update ITermCountProcessor.cs | LaserSrl/Orchard,vairam-svs/Orchard,OrchardCMS/Orchard,IDeliverable/Orchard,LaserSrl/Orchard,gcsuk/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,jagraz/Orchard,abhishekluv/Orchard,Lombiq/Orchard,mvarblow/Orchard,phillipsj/Orchard,brownjordaninternational/OrchardCMS,yersans/Orchard,sfmskywalker/Orchard,neTp9c/Or... | src/Orchard.Web/Modules/Orchard.Taxonomies/Services/ITermCountProcessor.cs | src/Orchard.Web/Modules/Orchard.Taxonomies/Services/ITermCountProcessor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Orchard.Events;
namespace Orchard.Taxonomies.Services {
public interface ITermCountProcessor : IEventHandler {
void Process(IEnumerable<int> termPartRecordIds);
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Orchard.Events;
namespace Orchard.Taxonomies.Services {
public interface ITermCountProcessor : IEventHandler {
void Process(params int[] termPartRecordIds);
}
}
| bsd-3-clause | C# |
b84f17ce5e00f6e1dfe88e8a620d24dc03a3388e | Replace linebreaks | bjarnef/Umbraco-CMS,WebCentrum/Umbraco-CMS,bjarnef/Umbraco-CMS,rasmusfjord/Umbraco-CMS,hfloyd/Umbraco-CMS,rasmuseeg/Umbraco-CMS,leekelleher/Umbraco-CMS,aadfPT/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,abjerner/Umbraco-CMS,neilgaietto/Umbraco-CMS,marcemarc/Umbraco-CMS,neilgaietto/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/... | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/TextString.cshtml | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/TextString.cshtml | @model dynamic
@using Umbraco.Web.Templates
@if (Model.editor.config.markup != null)
{
string markup = Model.editor.config.markup.ToString();
var UmbracoHelper = new UmbracoHelper(UmbracoContext.Current);
markup = markup.Replace("#value#", UmbracoHelper.ReplaceLineBreaksForHtml(Model.value.ToString(... | @model dynamic
@using Umbraco.Web.Templates
@if (Model.editor.config.markup != null)
{
string markup = Model.editor.config.markup.ToString();
markup = markup.Replace("#value#", Model.value.ToString());
markup = markup.Replace("#style#", Model.editor.config.style.ToString());
<text>
@Html.Raw... | mit | C# |
70b57cf52d116fac41d532dc9c24b78813fe9660 | Update Heal.cs | jappi00/Mittelalter-2D-Game | Assets/Scripts/Player/Heal.cs | Assets/Scripts/Player/Heal.cs | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Heal : MonoBehaviour {
private Transform player;
private float currentHealth;
public Slider healthbar; //Lebens anzeige
public float heal;
// Update is called once per frame
void OnTriggerEnter2D(Collider2D col... | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Heal : MonoBehaviour {
private Transform player;
private float currentHealth;
public Slider healthbar; //Lebens anzeige
public float heal;
void Start()
{
player = GameObject.FindGameObjectWithTag("Playe... | apache-2.0 | C# |
1002d58c67a57cbba0101d39ebeb1ad238bc0c74 | remove debug log | mattak/Unicache | Assets/Unicache/Scripts/IO.cs | Assets/Unicache/Scripts/IO.cs | using System.IO;
namespace UnicacheCore
{
public static class IO
{
public static void MakeParentDirectory(string path)
{
MakeDirectory(Path.GetDirectoryName(path));
}
public static void MakeDirectory(string path)
{
var components = path.Split(Pa... | using System.IO;
using UnityEngine;
namespace UnicacheCore
{
public static class IO
{
public static void MakeParentDirectory(string path)
{
MakeDirectory(Path.GetDirectoryName(path));
}
public static void MakeDirectory(string path)
{
var compone... | mit | C# |
bafedf269010fee5990dcf1f9e905258f6ca2419 | Update to support EF container isolation issue | Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype | src/Glimpse.Agent.AspNet/Internal/Inspectors/AgentStartupWebDiagnosticsInspector.cs | src/Glimpse.Agent.AspNet/Internal/Inspectors/AgentStartupWebDiagnosticsInspector.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Glimpse.Agent;
using Glimpse.Agent.Configuration;
using Glimpse.Initialization;
using Microsoft.Extensions.DependencyInjection;
namespace Glimpse.Agent.Internal.Inspectors.Mvc
{
public class AgentStartupWebDiagnosticsInspector : IAgen... | using System.Diagnostics;
using Glimpse.Agent;
using Glimpse.Agent.Configuration;
using Glimpse.Initialization;
using Microsoft.Extensions.DependencyInjection;
namespace Glimpse.Agent.Internal.Inspectors.Mvc
{
public class AgentStartupWebDiagnosticsInspector : IAgentStartup
{
public AgentStartupWebDia... | mit | C# |
4b3a3892f188b480a24838247a103d2e33a44e46 | Update IntegrationTestSourceGenerator.cs | mgoertz-msft/roslyn,gafter/roslyn,KevinRansom/roslyn,heejaechang/roslyn,jasonmalinowski/roslyn,physhi/roslyn,bartdesmet/roslyn,stephentoub/roslyn,eriawan/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,physhi/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,AlekseyTs/roslyn,AmadeusW/roslyn,wvdd007/roslyn,sharwell/roslyn,... | src/VisualStudio/IntegrationTest/IntegrationTests/IntegrationTestSourceGenerator.cs | src/VisualStudio/IntegrationTest/IntegrationTests/IntegrationTestSourceGenerator.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.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Roslyn.VisualStudio.... | // 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.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
namespace Roslyn.VisualStudio.... | mit | C# |
edca2140cf1887990370dded73d6eef72d9ef9e7 | Use var instead. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Shared/Helpers/ArrayConverters/QuantumConverter.cs | src/Magick.NET/Shared/Helpers/ArrayConverters/QuantumConverter.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | apache-2.0 | C# |
336c9b53442bd1f140c8edd73e210bd74a7fcfac | indent changes | christchron/or-tools,tonybenny2004/or-tools,bask/or-tools,christchron/or-tools,atpohjal/or-tools,waelrash1/or-tools,bask/or-tools,waelrash1/or-tools,Aminakh/or-tools,bask/or-tools,Aminakh/or-tools,atpohjal/or-tools,christchron/or-tools,tonybenny2004/or-tools,Aminakh/or-tools,waelrash1/or-tools,waelrash1/or-tools,tonybe... | src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs | src/com/google/ortools/constraintsolver/IntervalVarArrayHelper.cs | // Copyright 2010-2012 Google
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in wri... | // Copyright 2010-2012 Google
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
9cdccc5002b7eee91ab1e24d60985e1feac423ad | Format ExponentialBackoffRetryPolicy | carbon/Amazon | src/Amazon.Core/Scheduling/ExponentialBackoffRetryPolicy.cs | src/Amazon.Core/Scheduling/ExponentialBackoffRetryPolicy.cs | using System;
namespace Amazon.Scheduling
{
public sealed class ExponentialBackoffRetryPolicy : RetryPolicy
{
private readonly TimeSpan _initialDelay;
private readonly TimeSpan _maxDelay;
private readonly int _maxRetries;
public ExponentialBackoffRetryPolicy(TimeSpan... | using System;
namespace Amazon.Scheduling
{
public sealed class ExponentialBackoffRetryPolicy : RetryPolicy
{
private readonly TimeSpan initialDelay;
private readonly TimeSpan maxDelay;
private readonly int maxRetries;
public ExponentialBackoffRetryPolicy(TimeSpan in... | mit | C# |
dd3399ad085fc28daf3ba7450756685154de8d52 | Add a bunch of comments to Sasl Mechanisms with references to their RFCs | dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard | src/Novell.Directory.Ldap.NETStandard/Sasl/SaslConstants.cs | src/Novell.Directory.Ldap.NETStandard/Sasl/SaslConstants.cs | namespace Novell.Directory.Ldap.Sasl
{
#pragma warning disable CA1034 // Nested types should not be visible
public static class SaslConstants
{
/// <summary>
/// IANA Has a list of "officially" reserved mechanisms:
/// https://www.iana.org/assignments/sasl-mechanisms/sasl-mechanisms.xht... | namespace Novell.Directory.Ldap.Sasl
{
#pragma warning disable CA1034 // Nested types should not be visible
public static class SaslConstants
{
public static class Mechanism
{
public const string CramMd5 = "CRAM-MD5";
public const string DigestMd5 = "DIGEST-MD5";
... | mit | C# |
107e96f1752321cf9263107e5a1aededb864be87 | Update DefaultRegistry.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EAS.Api/DependencyResolution/DefaultRegistry.cs | src/SFA.DAS.EAS.Api/DependencyResolution/DefaultRegistry.cs | using System;
using System.Configuration;
using System.Data.Common;
using System.Data.SqlClient;
using Microsoft.Azure.Services.AppAuthentication;
using SFA.DAS.Authorization;
using SFA.DAS.Authorization.WebApi;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Infrastructure.Data;
using StructureMap;
namespac... | using System;
using System.Configuration;
using System.Data.Common;
using System.Data.SqlClient;
using Microsoft.Azure.Services.AppAuthentication;
using SFA.DAS.Authorization;
using SFA.DAS.Authorization.WebApi;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Infrastructure.Data;
using StructureMap;
namespac... | mit | C# |
ba116d9364465d7680ceebff5d9dd18df29fa065 | Enforce contract at runtime | diryboy/roslyn,sharwell/roslyn,tannergooding/roslyn,mgoertz-msft/roslyn,weltkante/roslyn,KevinRansom/roslyn,AmadeusW/roslyn,dotnet/roslyn,aelij/roslyn,ErikSchierboom/roslyn,tmat/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,panopticoncentral/roslyn,stephentoub/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,brettfo/r... | src/Features/LanguageServer/Protocol/Handler/RequestContext.cs | src/Features/LanguageServer/Protocol/Handler/RequestContext.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Diagnostics;
using Microsoft.VisualStudio.LanguageServer.Protocol;
usi... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Diagnostics;
using Microsoft.VisualStudio.LanguageServer.Protocol;
na... | mit | C# |
05b929d5d88dcab6278f3daf1ba6dc78956b162e | remove paramattribute - not valid for requests | octokit-net-test-org/octokit.net,shana/octokit.net,yonglehou/octokit.net,TattsGroup/octokit.net,eriawan/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,devkhan/octokit.net,thedillonb/octokit.net,ivandrofly/octokit.net,alfhenrik/octokit.net,dampir/octokit.net,alfhenrik/octokit.net,nsnnnnrn/octokit.net,rlugojr/octo... | Octokit/Models/Request/NewTeam.cs | Octokit/Models/Request/NewTeam.cs | using Octokit.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public class NewTeam
{
public NewTeam(string name)
{
Name = name;
RepoNames = new Colle... | using Octokit.Internal;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public class NewTeam
{
public NewTeam(string name)
{
Name = name;
RepoNames = new Colle... | mit | C# |
6eddc08199dc3e9af0cdaee3817eed216e1fe341 | Add logic to set the Repository | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/Repository.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/Repository.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using Dapper.FastCrud;
using Dapper.FastCrud.Mappings;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TSession, TEntity, TPk> : IRepository<TEntity... | using Dapper.FastCrud;
using Dapper.FastCrud.Mappings;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public abstract partial class Repository<TSession, TEntity, TPk> : IRepository<TEntity, TPk>
where TEntity : class, IEntity<TPk>
where... | mit | C# |
ba3c1dfa1d3ba37a021c204ac0a517636f1c240b | update copyright year | misterhaan/MythClient | Properties/AssemblyInfo.Common.cs | Properties/AssemblyInfo.Common.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("the analog underground")]
[assembly: AssemblyProduct("MythClient")]
[assembly: AssemblyCopyright("© 2012 - 2020 the analog underground")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(f... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("the analog underground")]
[assembly: AssemblyProduct("MythClient")]
[assembly: AssemblyCopyright("© 2012 - 2019 the analog underground")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(f... | mit | C# |
d46c0954e0369b59ed82d28fb89c358206ef6fc0 | rename postgresql processor. | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP.PostgreSql/CAP.PostgreSqlCapOptionsExtension.cs | src/DotNetCore.CAP.PostgreSql/CAP.PostgreSqlCapOptionsExtension.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.PostgreSql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.PostgreSql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;... | mit | C# |
1f121dd3d667584749fde14477c893d0f2f7a96d | Fix unhandled exceptions logging | olsh/serilog-sinks-sentry | src/Serilog.Sinks.Sentry.AspNetCore/SentrySinkContextMiddleware.cs | src/Serilog.Sinks.Sentry.AspNetCore/SentrySinkContextMiddleware.cs | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Serilog.Context;
namespace Serilog.Sinks.Sentry.AspNetCore
{
internal class SentrySinkContextMiddleware
{
private readonly RequestDelegate _next;
public SentrySinkContextMiddleware(RequestDelegate next)
... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Serilog.Context;
namespace Serilog.Sinks.Sentry.AspNetCore
{
internal class SentrySinkContextMiddleware
{
private readonly RequestDelegate _next;
public SentrySinkContextMiddleware(RequestDelegate next)
{
... | mit | C# |
93ca8c2daa98859970ad5ce35edb7647767ed0de | Remove unused code | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Controllers/ErrorController.cs | AstroPhotoGallery/AstroPhotoGallery/Controllers/ErrorController.cs | using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class ErrorController : Controller
{
public ActionResult Index()
{
return View("Error");
}
public ActionResult NotFound()
{
Response.StatusCode = 200;
return View... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace AstroPhotoGallery.Controllers
{
public class ErrorController : Controller
{
public ActionResult Index()
{
return View("Error");
}
public ActionResul... | mit | C# |
039f1219b3fd9c6e13abeabe9b6e5e0a4a4bd188 | Fix NRE in SharedCombatModeSystem when session doesn't have an attached entity. | space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/GameObjects/EntitySystems/SharedCombatModeSystem.cs | Content.Shared/GameObjects/EntitySystems/SharedCombatModeSystem.cs | using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystemMessages;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
namespace Content.Shared.GameObjects.EntitySystems
{
public abstract class SharedCombatModeSystem : EntitySystem
{
public ov... | using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystemMessages;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
namespace Content.Shared.GameObjects.EntitySystems
{
public abstract class SharedCombatModeSystem : EntitySystem
{
public ov... | mit | C# |
84ce02384b4431909db15216fbf0bbec6cb30698 | make sure new measurement will be taken after the delay. | exodus444/Sanderling,bozoweed/Sanderling,Arcitectus/Sanderling | src/Sanderling/Sanderling.Exe/sample/script/Travel.simple.cs | src/Sanderling/Sanderling.Exe/sample/script/Travel.simple.cs | // This is a warp to 0km auto-pilot, making your travels faster and thus safer by directly warping to gates/stations.
while(true)
{
var Measurement = Sanderling?.MemoryMeasurement?.Value;
// from the set of route element markers in the Info Panel pick the one that represents the next Waypoint/System.
// We assume... | // This is a warp to 0km auto-pilot, making your travels faster and thus safer by directly warping to gates/stations.
while(true)
{
var Measurement = Sanderling?.MemoryMeasurement?.Value;
// from the set of route element markers in the Info Panel pick the one that represents the next Waypoint/System.
// We assume... | apache-2.0 | C# |
2a8b14a038ff3854c3d723aaeba7c45ead8f9709 | fix spelling mistake in xml docs | damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore | src/SqlStreamStore/Subscriptions/AllStreamMessageReceived.cs | src/SqlStreamStore/Subscriptions/AllStreamMessageReceived.cs | namespace SqlStreamStore.Subscriptions
{
using System.Threading.Tasks;
using SqlStreamStore.Streams;
/// <summary>
/// Represents a delegate that is invoked when a stream message has been received in a subscription.
/// </summary>
/// <param name="subscription">
/// The source su... | namespace SqlStreamStore.Subscriptions
{
using System.Threading.Tasks;
using SqlStreamStore.Streams;
/// <summary>
/// Repesents a delegate that is invoked when a stream messages has been received in a subscription.
/// </summary>
/// <param name="subscription">
/// The source su... | mit | C# |
ace1ff3fdb77baaa7834bb0756643b9629c00622 | add runtime assert/logging | killerantz/HoloToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,vladkol/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,StephenHodgson/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/_Core/Utilities/DebugUtilities.cs | Assets/MixedRealityToolkit/_Core/Utilities/DebugUtilities.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using SystemDebug = System.Diagnostics.Debug;
using UnityApplication = UnityEngine.Application;
using UnityDebug = UnityEngine.Debug;
namespace Microsoft.MixedReali... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Internal.Utilities
{
public static class DebugUtilities
{
public static void DebugAssert... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.