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
78cd2fe67cce9d64b6bb6f856998bbad52c69746
Correct version.
gheeres/Extendables.NET
Extendables/Properties/AssemblyInfo.cs
Extendables/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("Ex...
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("Ex...
mit
C#
6b8e6e114f3d40133825889338da0049550b1036
Update ManipulatingTextBoxControls.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/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,asposecells/Aspose_Cells_NET,aspose-c...
Examples/CSharp/DrawingObjects/Controls/ManipulatingTextBoxControls.cs
Examples/CSharp/DrawingObjects/Controls/ManipulatingTextBoxControls.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class ManipulatingTextBoxControls { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cel...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class ManipulatingTextBoxControls { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDat...
mit
C#
9347dff2f499a2fae78cc6453ab3c5f4feafc42f
Fix codefactor
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/AdvancedDetailTabViewModel.cs
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class AdvancedDetailTabViewModel : WasabiDocumentTabViewModel { public AdvancedDetailTabViewModel(s...
using System; using System.Collections.Generic; using System.Reactive.Disposables; using System.Reflection; using Splat; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Gui.Controls.WalletExplorer { public class AdvancedDetailTabViewModel : WasabiDocumentTabViewModel { private CompositeDisposable Disposa...
mit
C#
54ede1963b480acd8f2be23a32c23ddfda0f711e
Use the correct way to get the main thread
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
samples/SkiaSharpSample.Shared/Samples/DecodeGifFramesSample.cs
samples/SkiaSharpSample.Shared/Samples/DecodeGifFramesSample.cs
using System; using System.Threading; using System.Threading.Tasks; using SkiaSharp; namespace SkiaSharpSample.Samples { [Preserve(AllMembers = true)] public class DecodeGifFramesSample : SampleBase { private int currentFrame = 0; private SKCodec codec = null; private SKImageInfo info = SKImageInfo.Empty; ...
using System; using System.Threading; using System.Threading.Tasks; using SkiaSharp; namespace SkiaSharpSample.Samples { [Preserve(AllMembers = true)] public class DecodeGifFramesSample : SampleBase { private int currentFrame = 0; private SKCodec codec = null; private SKImageInfo info = SKImageInfo.Empty; ...
mit
C#
d6b304d71aad4caeef1e6bd82f0f29bc52bdaa2e
Test for different named for bool
JohanLarsson/Gu.Analyzers
Gu.Analyzers.Test/GU0009UseNamedParametersForBooleansTests/Diagnostics.cs
Gu.Analyzers.Test/GU0009UseNamedParametersForBooleansTests/Diagnostics.cs
namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests { using System.Threading.Tasks; using NUnit.Framework; internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans> { [Test] public async Task UnnamedBooleanParameters() { ...
namespace Gu.Analyzers.Test.GU0009UseNamedParametersForBooleansTests { using System.Threading.Tasks; using NUnit.Framework; internal class Diagnostics : DiagnosticVerifier<Analyzers.GU0009UseNamedParametersForBooleans> { [Test] public async Task UnnamedBooleanParameters() { ...
mit
C#
d02be0c066d6e44094685ee8e1b86fa0939200a2
Revert changes to EditorComponentOnOffOptions - these are actually not used outside Roslyn, so don't need to be on the public API
shyamnamboodiripad/roslyn,ErikSchierboom/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,genlu/roslyn,KirillOsenkov/roslyn,dotnet/roslyn,KevinRansom/roslyn,brettfo/roslyn,AmadeusW/roslyn,gafter/roslyn,sharwell/roslyn,tmat/roslyn,davkean/roslyn,jmarolf/roslyn,gafter/roslyn,eriawan/roslyn,AlekseyTs/roslyn,stephentoub/rosl...
src/EditorFeatures/Core/Shared/Options/ComponentOnOffOptions.cs
src/EditorFeatures/Core/Shared/Options/ComponentOnOffOptions.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.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.Options; using Microsoft...
// 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.Collections.Immutable; using System.Composition; using Microsoft.CodeAnalysis.Options; using Microsoft...
mit
C#
a4eb7534420fd986e010f330b68755f2fc2e9c7b
Remove redundant OnEditRemotesAsync
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.App/ViewModels/GitHubPane/NoRemoteOriginViewModel.cs
src/GitHub.App/ViewModels/GitHubPane/NoRemoteOriginViewModel.cs
using System; using System.Reactive; using System.Threading.Tasks; using System.ComponentModel.Composition; using GitHub.Services; using ReactiveUI; namespace GitHub.ViewModels.GitHubPane { /// <summary> /// The view model for the "No Origin Remote" view in the GitHub pane. /// </summary> [Export(typeo...
using System; using System.Reactive; using System.Threading.Tasks; using System.ComponentModel.Composition; using GitHub.Services; using ReactiveUI; namespace GitHub.ViewModels.GitHubPane { /// <summary> /// The view model for the "No Origin Remote" view in the GitHub pane. /// </summary> [Export(typeo...
mit
C#
fea87200e30665797445e3e81d2f1b2a48f72bb2
Remove config registration
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerFinance/DependencyResolution/ConfigurationRegistry.cs
src/SFA.DAS.EmployerFinance/DependencyResolution/ConfigurationRegistry.cs
using SFA.DAS.Authorization.EmployerFeatures.Configuration; using SFA.DAS.AutoConfiguration; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.EmployerFinance.Configuration; using SFA.DAS.Hmrc.Configuration; using StructureMap; namespace SFA.DAS.EmployerFinance.DependencyResolution { public class ConfigurationR...
using SFA.DAS.Authorization.EmployerFeatures.Configuration; using SFA.DAS.AutoConfiguration; using SFA.DAS.EAS.Account.Api.Client; using SFA.DAS.EmployerFinance.Configuration; using SFA.DAS.Hmrc.Configuration; using StructureMap; namespace SFA.DAS.EmployerFinance.DependencyResolution { public class ConfigurationR...
mit
C#
25a7242ca6cb99c125331af4d37305daf24fee28
Fix logging for exceptions from ValueInjectionAttributeBase.GetValue
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/ValueInjection/ValueInjectionAttributeBase.cs
source/Nuke.Common/ValueInjection/ValueInjectionAttributeBase.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.Utilities; using Nuke.Common.Utilities.Collections; using Serilog; namespace N...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.Utilities; using Nuke.Common.Utilities.Collections; namespace Nuke.Common.Valu...
mit
C#
95c6d4ac262407fdbe09406d066bea7d7b3fb5eb
Fix user display template
leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.Helpers/StaticStringHelpers.cs
JoinRpg.Helpers/StaticStringHelpers.cs
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace JoinRpg.Helpers { public static class StaticStringHelpers { public static string JoinIfNotNullOrWhitespace([NotNull] this IEnumerable<string> strings, [NotNull] string separator) { return string...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; namespace JoinRpg.Helpers { public static class StaticStringHelpers { public static string JoinIfNotNullOrWhitespace([NotNull] this IEnumerable<string> strings, [NotNull] string separator) { return string...
mit
C#
855974f128b109f74f76fd62d5c299b6282a9e0f
Fix #4959 - Doc cleanup for RouteValueAttribute
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Mvc.Core/Routing/RouteValueAttribute.cs
src/Microsoft.AspNetCore.Mvc.Core/Routing/RouteValueAttribute.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Mvc.Routing { /// <summary> /// <para> /// An attribute which specifies a required route value...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Mvc.Routing { /// <summary> /// <para> /// An attribute which specifies a required route value...
apache-2.0
C#
9758100e418dc32273c8ae69c19377b8cc6dd911
Update IOutputBand.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO/IOutputBand.cs
src/RasterIO/IOutputBand.cs
// Contributors: // James Domingo, Green Code LLC namespace Landis.RasterIO { /// <summary> /// Output raster band /// </summary> public interface IOutputBand { /// <summary> /// Write the value from the corresponding band in the buffer pixel /// to the raster band. ...
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
d4d856f0726e334c40f60aafaaf55d0a30ac744f
fix encoding issue
lianzhao/WikiaWP,lianzhao/WikiaWP,lianzhao/WikiaWP
src/ZhAsoiafWiki.Plus.Web/Areas/HelpPage/Views/Help/Index.cshtml
src/ZhAsoiafWiki.Plus.Web/Areas/HelpPage/Views/Help/Index.cshtml
@using System.Web.Http @using System.Web.Http.Controllers @using System.Web.Http.Description @using System.Collections.ObjectModel @using ZhAsoiafWiki.Plus.Web.Areas.HelpPage.Models @model Collection<ApiDescription> @{ ViewBag.Title = "冰与火之歌中文维基+ API Help Page"; // Group APIs by controller ILo...
@using System.Web.Http @using System.Web.Http.Controllers @using System.Web.Http.Description @using System.Collections.ObjectModel @using ZhAsoiafWiki.Plus.Web.Areas.HelpPage.Models @model Collection<ApiDescription> @{ ViewBag.Title = "֮ά+ API Help Page"; // Group APIs by controller ILookup<Htt...
mit
C#
1a80c10c796e8ae770d3b5155f241ed9ad576562
fix build error from removing redundant property
assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,assaframan/MoviesRestForAppHarbor,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/Se...
src/ServiceStack.Examples/ServiceStack.Examples.Host.Console/AppHost.cs
src/ServiceStack.Examples/ServiceStack.Examples.Host.Console/AppHost.cs
using Funq; using ServiceStack.Common.Utils; using ServiceStack.Configuration; using ServiceStack.Examples.ServiceInterface; using ServiceStack.Examples.ServiceInterface.Support; using ServiceStack.Examples.ServiceModel.Operations; using ServiceStack.Logging; using ServiceStack.Logging.Support.Logging; using ServiceSt...
using Funq; using ServiceStack.Common.Utils; using ServiceStack.Configuration; using ServiceStack.Examples.ServiceInterface; using ServiceStack.Examples.ServiceInterface.Support; using ServiceStack.Examples.ServiceModel.Operations; using ServiceStack.Logging; using ServiceStack.Logging.Support.Logging; using ServiceSt...
bsd-3-clause
C#
416a96b32ce3d611505d87bbba25883767696914
Fix color shader
id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv
Core/VVVV.DX11.Lib/Effects/Pins/Standard/ColorShaderPin.cs
Core/VVVV.DX11.Lib/Effects/Pins/Standard/ColorShaderPin.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VVVV.Hosting.Pins.Input; using SlimDX.Direct3D11; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using SlimDX; using VVVV.Utils.VColor; using VVVV.DX11.Lib.Effects.Pins; using FeralTic.DX11; namespace VVVV.DX1...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VVVV.Hosting.Pins.Input; using SlimDX.Direct3D11; using VVVV.PluginInterfaces.V1; using VVVV.PluginInterfaces.V2; using SlimDX; using VVVV.Utils.VColor; using VVVV.DX11.Lib.Effects.Pins; using FeralTic.DX11; namespace VVVV.DX1...
bsd-3-clause
C#
45606d387ce2386314efa8a3faae98fac9880e52
Make InvalidParameterValueException serializable
gigya/microdot
Gigya.ServiceContract/Exceptions/InvalidParameterValueException.cs
Gigya.ServiceContract/Exceptions/InvalidParameterValueException.cs
using System; using System.Runtime.Serialization; using Gigya.Common.Contracts.Exceptions; namespace Gigya.ServiceContract.Exceptions { /// <summary> /// This excpetion is thrown if a parameter contains an invalid value /// </summary> public class InvalidParameterValueException: RequestException {...
using System; using System.Runtime.Serialization; using Gigya.Common.Contracts.Exceptions; namespace Gigya.ServiceContract.Exceptions { /// <summary> /// This excpetion is thrown if a parameter contains an invalid value /// </summary> public class InvalidParameterValueException: RequestException {...
apache-2.0
C#
8321989a7f3e682fe32e4f2a63d576f4fb196710
allow specifying include paths
JSONAPIdotNET/JSONAPI.NET,SathishN/JSONAPI.NET,danshapir/JSONAPI.NET,SphtKr/JSONAPI.NET
JSONAPI/Http/QueryableToManyRelatedResourceDocumentMaterializer.cs
JSONAPI/Http/QueryableToManyRelatedResourceDocumentMaterializer.cs
using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using JSONAPI.Documents; using JSONAPI.Documents.Builders; namespace JSONAPI.Http { /// <summary> /// Base class for implementations of <see cref="IRelatedResourceDocumentMaterializer"/> that use IQueryable to get r...
using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using JSONAPI.Documents; using JSONAPI.Documents.Builders; namespace JSONAPI.Http { /// <summary> /// Base class for implementations of <see cref="IRelatedResourceDocumentMaterializer"/> that use IQueryable to get r...
mit
C#
8a6ecbdf9df48a56b5da511fa80e0d2855322ec3
Remove redundant overload parameters from HtmlHelper extension method
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Oogstplanner.Web/Utilities/ExtensionMethods/HtmlHelperExtension.cs
Oogstplanner.Web/Utilities/ExtensionMethods/HtmlHelperExtension.cs
using System; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; namespace Oogstplanner.Web.Utilities.ExtensionMethods { /// <summary> /// Extension to add the active class to a link if we are on that page. /// Inspiration: http://stackoverflow.com/questions/20410623/how-to-add-ac...
using System; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; namespace Oogstplanner.Web.Utilities.ExtensionMethods { /// <summary> /// Extension to add the active class to a link if we are on that page. /// Inspiration: http://stackoverflow.com/questions/20410623/how-to-add-ac...
mit
C#
871d5d820fbbc6a4dac26bc6aab6f9182eb83d99
Clean up code
rcarrillopadron/depth-first-search
DepthFirstSearch/Program.cs
DepthFirstSearch/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace DepthFirstSearch { class Program { static void Main() { Node root = Data.Fill(); Traverse(root); Console.WriteLine(); } // G--A--D // | | | // E--...
using System; using System.Collections.Generic; using System.Linq; namespace DepthFirstSearch { class Program { static void Main() { Node root = Data.Fill(); Traverse(root); Console.WriteLine(); } // G--A--D // | | | // E--...
mit
C#
bd7f9bd9ed3b6c838f3c43c63ac1d808c19b350f
Change the AssemblyCompany to FCBH-SIL
sillsdev/Glyssen,sillsdev/Glyssen
ProtoScript/Properties/AssemblyInfo.cs
ProtoScript/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("Pr...
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("Pr...
mit
C#
b134aa298ddedc5164f320256eb362bb8a336505
Fix hat rendering offset for ranged weapons
ethanmoffat/EndlessClient
EndlessClient/Rendering/CharacterProperties/HatRenderer.cs
EndlessClient/Rendering/CharacterProperties/HatRenderer.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Content; using EndlessClient.Rendering.Sprites; using EOLib; using EOLib.Domain.Character; using EOLib.Domain.Extensions; using Microsoft.Xna.Framewor...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using EndlessClient.Content; using EndlessClient.Rendering.Sprites; using EOLib; using EOLib.Domain.Character; using EOLib.Domain.Extensions; using Microsoft.Xna.Framewor...
mit
C#
c2d6262beca7359a79b90f6ec4df2d9022bff480
Convert time received from Robinhood to local before charting it.
Terohnon/RobinhoodDesktop
RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs
RobinhoodDesktop/RobinhoodDesktop/HomePage/HomePageForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using BasicallyMe.RobinhoodNet; namespace RobinhoodDesktop.HomePage { public partial class HomePageF...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using BasicallyMe.RobinhoodNet; namespace RobinhoodDesktop.HomePage { public partial cl...
bsd-2-clause
C#
28bb8e7910b1a5d80076d1006f3dd7db4207137b
change version 1.0.0.0
wo80/MusicBrainz,mikgam/MusicBrainz,avatar29A/MusicBrainz
Hqub.MusicBrainz/Hqub.MusicBrainz.API/Properties/AssemblyInfo.cs
Hqub.MusicBrainz/Hqub.MusicBrainz.API/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("Mu...
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("Mu...
mit
C#
6190c8be0cfecc0168105f5e6c905f1d6bcf47ad
Fix divide by zero error in NetStatistics
RevenantX/LiteNetLib
LiteNetLib/NetStatistics.cs
LiteNetLib/NetStatistics.cs
namespace LiteNetLib { public sealed class NetStatistics { public ulong PacketsSent; public ulong PacketsReceived; public ulong BytesSent; public ulong BytesReceived; public ulong PacketLoss; public ulong PacketLossPercent { get { ...
namespace LiteNetLib { public sealed class NetStatistics { public ulong PacketsSent; public ulong PacketsReceived; public ulong BytesSent; public ulong BytesReceived; public ulong PacketLoss; public ulong PacketLossPercent { get { return PacketLoss * 100 / Packet...
mit
C#
f797d98f5b1ee5dae2252a4d75a4d82dd62ef1b9
Remove completed todo
HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp
src/MobileKidsIdApp/MobileKidsIdApp/Services/FamilyRepository.cache.cs
src/MobileKidsIdApp/MobileKidsIdApp/Services/FamilyRepository.cache.cs
using System; using System.Collections.Generic; using MobileKidsIdApp.Models; namespace MobileKidsIdApp.Services { public partial class FamilyRepository { private Lazy<List<Child>> _childCache; public List<Child> Children => _childCache.Value; public Child CurrentChild { get; private ...
using System; using System.Collections.Generic; using MobileKidsIdApp.Models; namespace MobileKidsIdApp.Services { // TODO: add calls to save from views public partial class FamilyRepository { private Lazy<List<Child>> _childCache; public List<Child> Children => _childCache.Value; ...
apache-2.0
C#
4884619fb5f86d4ef0eb4e08f6ae2669b829d4f0
Make class static
RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates
Source/ApiTemplate/Source/ApiTemplate/Constants/ApiVersionName.cs
Source/ApiTemplate/Source/ApiTemplate/Constants/ApiVersionName.cs
namespace ApiTemplate.Constants { public static class ApiVersionName { public const string V1 = "1.0"; } }
namespace ApiTemplate.Constants { public class ApiVersionName { public const string V1 = "1.0"; } }
mit
C#
a8d5b6a03bcd8cd33510c5bb47126d0f46fd9b19
Remove try/catch around IsSupported property (#41123)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderQuicExtensions.cs
src/Servers/Kestrel/Transport.Quic/src/WebHostBuilderQuicExtensions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.Quic; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic; using Microsoft.Extensions.DependencyInjection; namespace Mi...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Net.Quic; using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Server.Kestrel.Transport.Quic; using Microsoft.Extensions.DependencyInjection; namespace Mi...
apache-2.0
C#
09d7b52c181375e41c4e57a723dd956a953fc395
write tests later....
mattiasnordqvist/Web-Anchor
WebAnchor.Analyzer/WebAnchor.Analyzer.Test/WebAnchorAnalyzerUnitTests.cs
WebAnchor.Analyzer/WebAnchor.Analyzer.Test/WebAnchorAnalyzerUnitTests.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using TestHelper; namespace WebAnchor.Analyzers.Test { [TestClass] public class UnitTest : CodeFixVerifier { //No diagno...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using TestHelper; namespace WebAnchor.Analyzers.Test { [TestClass] public class UnitTest : CodeFixVerifier { //No diagno...
mit
C#
1898d3605602342f05567733ba0f96f6fc89d2f6
修复一个代码实现错误。
Zongsoft/Zongsoft.Web
src/Mvc/ValidateInputFilter.cs
src/Mvc/ValidateInputFilter.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.Web. * * Zongsoft.Web is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publ...
lgpl-2.1
C#
556d25ef151dbae5f33b27d244bbbf087e16d030
Fix typo in Stylet.Samples.RedditBrowser
cH40z-Lord/Stylet,cH40z-Lord/Stylet,canton7/Stylet,canton7/Stylet
Samples/Stylet.Samples.RedditBrowser/Pages/SubredditViewModel.cs
Samples/Stylet.Samples.RedditBrowser/Pages/SubredditViewModel.cs
using Stylet.Samples.RedditBrowser.RedditApi; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet.Samples.RedditBrowser.Pages { public class SubredditViewModel : Conductor<IScreen>.StackNavigation { private IPostCommentsV...
using Stylet.Samples.RedditBrowser.RedditApi; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Stylet.Samples.RedditBrowser.Pages { public class SubredditViewModel : Conductor<IScreen>.StackNavigation { private IPostCommentsV...
mit
C#
4781d1a4d72a5f5838dacb2b214bb7d3c84ba4f7
Fix static _media field
tdelplace/fortis
Fortis/Model/RenderingParameters/Fields/ImageFieldWrapper.cs
Fortis/Model/RenderingParameters/Fields/ImageFieldWrapper.cs
using System; using System.Web; using Fortis.Model.Fields; using Fortis.Providers; using Sitecore.Data.Fields; using Sitecore.Data.Items; using Sitecore.Resources.Media; using Sitecore.Web.UI.WebControls; using Sitecore.Xml; namespace Fortis.Model.RenderingParameters.Fields { public class ImageFieldWrapper : FieldWr...
using System; using System.Web; using Fortis.Model.Fields; using Fortis.Providers; using Sitecore.Data.Fields; using Sitecore.Data.Items; using Sitecore.Resources.Media; using Sitecore.Web.UI.WebControls; using Sitecore.Xml; namespace Fortis.Model.RenderingParameters.Fields { public class ImageFieldWrapper : FieldWr...
mit
C#
6b6010b89122259c5fe0b52e2183ba71e6bc0e5b
Update MySecureTokenValidator.cs
jchannon/Owin.StatelessAuth,jchannon/Owin.StatelessAuth,jchannon/Owin.StatelessAuth
src/Owin.StatelessAuthExample/MySecureTokenValidator.cs
src/Owin.StatelessAuthExample/MySecureTokenValidator.cs
namespace Owin.StatelessAuthExample { using RequiresStatelessAuth; using System.Security.Claims; class MySecureTokenValidator : ITokenValidator { public ClaimsPrincipal ValidateUser(string token) { return new ClaimsPrincipal(); } } }
namespace Owin.StatelessAuthExample { using RequiresStatelessAuth; class MySecureTokenValidator : ITokenValidator { public bool ValidateUser(string token) { return true; } } }
mit
C#
863d2dfa990615e1dbed8d3c322203dc43c96bcd
Update MoveTool.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/PathDemo/Tools/MoveTool.cs
src/PathDemo/Tools/MoveTool.cs
using System; using System.Windows; namespace PathDemo.Tools { public class MoveTool : ToolBase { private readonly PathTool _pathTool; public MoveTool(PathTool pathTool) { _pathTool = pathTool; } public override void LeftDown(IToolContext context, Point po...
using System; using System.Windows; namespace PathDemo { public class MoveTool : ToolBase { private readonly PathTool _pathTool; public MoveTool(PathTool pathTool) { _pathTool = pathTool; } public override void LeftDown(IToolContext context, Point point) ...
mit
C#
91754c3fa83ccc5f2eba56ff1838ecf186a37827
Update Counters.cs
kookxiang/KanColleViewer,heartfelt-fancy/KanColleViewer,gakada/KanColleViewer,KatoriKai/KanColleViewer,gakada/KanColleViewer,bllue78/KanColleViewer,AnnaKutou/KanColleViewer,yuyuvn/KanColleViewer,BossaGroove/KanColleViewer,gakada/KanColleViewer,Astrologers/KanColleViewer
Plugins/Counter/Counters.cs
Plugins/Counter/Counters.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using Grabacr07.KanColleWrapper; using Grabacr07.KanColleWrapper.Models.Raw; using Livet; namespace Counter { public abstract class CounterBase : NotificationObject { #region Text 変更通知プロパティ...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Threading.Tasks; using Grabacr07.KanColleWrapper; using Grabacr07.KanColleWrapper.Models.Raw; using Livet; namespace Counter { public abstract class CounterBase : NotificationObject { #region Text 変更通知プロパティ...
mit
C#
ca738452b90126fdfcc4a0a12e55977c269f8a18
Revert "#299 - A dirty way make DbContext from ServiceProvider working outside of request scope."
maraf/Money,maraf/Money,maraf/Money
src/Money.EntityFrameworkCore/ServiceCollectionExtensions.cs
src/Money.EntityFrameworkCore/ServiceCollectionExtensions.cs
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Money.EntityFrameworkCore; using Money.EntityFrameworkCore.Migrations; using Neptuo; using Neptuo.Activators; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threadin...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Money; using Money.EntityFrameworkCore; using Money.EntityFrameworkCore.Migrations; using Neptuo; using Neptuo.Activators; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; us...
apache-2.0
C#
a89c29c5cd0304ffcfb5c3b264aae5c8da2357dd
Fix RavenConfiguration for Embedded mode.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/NinjectModules/RavenModule.cs
src/CGO.Web/NinjectModules/RavenModule.cs
using Ninject; using Ninject.Modules; using Ninject.Web.Common; using Raven.Client; using Raven.Client.Embedded; namespace CGO.Web.NinjectModules { public class RavenModule : NinjectModule { public override void Load() { Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume...
using Ninject; using Ninject.Modules; using Ninject.Web.Common; using Raven.Client; using Raven.Client.Embedded; namespace CGO.Web.NinjectModules { public class RavenModule : NinjectModule { public override void Load() { Kernel.Bind<IDocumentStore>().ToMethod(_ => InitialiseDocume...
mit
C#
d6bb1573be4bc9a4c3b76670c6dad1f457de52cb
Update NicholasDille.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/NicholasDille.cs
src/Firehose.Web/Authors/NicholasDille.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 NicholasDille : IFilterMyBlogPosts, IAmAMicrosoftMVP { public string FirstName => "Nicholas"; ...
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 NicholasDille : IFilterMyBlogPosts, IAmAMicrosoftMVP { public string FirstName => "Nicholas"; ...
mit
C#
5e402220be25d892c40aad57d3009bbd4163c317
Correct Administrators Role (set IsAdministrator to false)
mehrandvd/Tralus,mehrandvd/Tralus
Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs
Framework/Source/Tralus.Framework.Migration/Migrations/Configuration.cs
using System; using Tralus.Framework.BusinessModel.Entities; namespace Tralus.Framework.Migration.Migrations { using System.Data.Entity.Migrations; public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext> { public Configuration() { AutomaticM...
using System; using Tralus.Framework.BusinessModel.Entities; namespace Tralus.Framework.Migration.Migrations { using System.Data.Entity.Migrations; public sealed class Configuration : TralusDbMigrationConfiguration<Data.FrameworkDbContext> { public Configuration() { AutomaticM...
apache-2.0
C#
83406fb06eb73eabbecc462efc512dafbf29f09b
tidy up
PhiloSoftware/PhiloSoftware.Core
Project/PhiloSoftware.Core.Infrastructure/Data/Repository/Repository.cs
Project/PhiloSoftware.Core.Infrastructure/Data/Repository/Repository.cs
using PhiloSoftware.Core.Infrastructure.Implementation; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace PhiloSoftware.Core.Infrastructure.Data.Repository { public class Repository<T> : IRepository<T> where T : Entity { ...
using PhiloSoftware.Core.Infrastructure.Implementation; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using PhiloSoftware.Core.Infrastructure.Implementation; namespace PhiloSoftware.Core.Infrastructure.Data.Repository { public class Rep...
mit
C#
835e87e8cdb46629666be214505d0cc0a61e588d
add a failing relative panel test.
jkoritzinsky/Perspex,grokys/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,SuperJMN/Avaloni...
tests/Avalonia.Controls.UnitTests/RelativePanelTests.cs
tests/Avalonia.Controls.UnitTests/RelativePanelTests.cs
using Avalonia.Controls.Shapes; using Xunit; namespace Avalonia.Controls.UnitTests { public class RelativePanelTests { [Fact] public void Lays_Out_1_Child_Below_the_other() { var rect1 = new Rectangle { Height = 20, Width = 20 }; var rect2 = new Rectangle { Heig...
using Avalonia.Controls.Shapes; using Xunit; namespace Avalonia.Controls.UnitTests { public class RelativePanelTests { [Fact] public void Lays_Out_1_Child_Below_the_other() { var rect1 = new Rectangle { Height = 20, Width = 20 }; var rect2 = new Rectangle { Heig...
mit
C#
0fe1a91cac01c81d737f60fd7ac57d5eb1dc7774
Add new option so anyone who set the option value in 17.0 doesn't forever disable async lightbulbs in 17.1 and onwards
shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,weltkante/roslyn,KevinRansom/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,mavasani/roslyn,sharwell/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,bartdesm...
src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptions.cs
src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions { int...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Options; namespace Microsoft.CodeAnalysis.Editor.Implementation.Suggestions { int...
mit
C#
a4825133f40ca378b539cd06d7c1386a6f4adc07
Test was expecting ordered data without order by.
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
spanner/api/Spanner.Samples.Tests/QueryDataWithArrayOfStructAsyncTest.cs
spanner/api/Spanner.Samples.Tests/QueryDataWithArrayOfStructAsyncTest.cs
// Copyright 2020 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2020 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
242eb261a4451f45c032a5eefef2478aab4b1cf8
fix schemaName in DefaultVersionTableMetaData;
DefiSolutions/fluentmigrator,jogibear9988/fluentmigrator,MetSystem/fluentmigrator,drmohundro/fluentmigrator,tohagan/fluentmigrator,lcharlebois/fluentmigrator,mstancombe/fluentmigrator,akema-fr/fluentmigrator,igitur/fluentmigrator,ManfredLange/fluentmigrator,barser/fluentmigrator,IRlyDontKnow/fluentmigrator,schambers/fl...
src/FluentMigrator/VersionTableInfo/DefaultVersionTableMetaData.cs
src/FluentMigrator/VersionTableInfo/DefaultVersionTableMetaData.cs
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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 /...
#region License // // Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com> // // 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#
947863b39e3e9ee9452ee893552aec5d92bcb99f
mark decorator internal
chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,siyo-wang/IdentityServer4,MienDev/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,chrisowhite/IdentityServer4,Mien...
src/IdentityServer4/Configuration/DependencyInjection/Decorator.cs
src/IdentityServer4/Configuration/DependencyInjection/Decorator.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; namespace IdentityServer4.Configuration.DependencyInjection { internal class Decorator<TService> { public TServ...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using System; namespace IdentityServer4.Configuration.DependencyInjection { public class Decorator<TService> { public TServic...
apache-2.0
C#
c9710091be3a32ac05cd5912c6c910ca7d354ef9
fix bug: fal copy read only file. (#1047)
dotnet/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,pascalberger/docfx,LordZoltan/docfx,LordZoltan/docfx,superyyrrzz/docfx,superyyrrzz/docfx,928PJY/docfx,LordZoltan/docfx,hellosnow/docfx,928PJY/docfx,pascalberger/docfx,pascalberger/docfx,928PJY/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,LordZoltan/docfx,superyyrrzz/docfx,dot...
src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs
src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Common { using System; using System.Collections.Immutable; using System.IO; public class RealFileWriter : FileWriterBase...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Common { using System; using System.Collections.Immutable; using System.IO; public class RealFileWriter : FileWriterBase...
mit
C#
09bfbe0b623a48371e22bbde836ca6c181c750d3
correct minor comment. (#203)
open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet
src/OpenTelemetry.Collector.AspNetCore/RequestsCollectorOptions.cs
src/OpenTelemetry.Collector.AspNetCore/RequestsCollectorOptions.cs
// <copyright file="RequestsCollectorOptions.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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:...
// <copyright file="RequestsCollectorOptions.cs" company="OpenTelemetry Authors"> // Copyright 2018, OpenTelemetry Authors // // 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:...
apache-2.0
C#
3802cd82257433a3208f0ed20874e867af97a283
Fix URL used in System.Net.Security tests
Jiayili1/corefx,weltkante/corefx,axelheer/corefx,wtgodbe/corefx,tstringer/corefx,rahku/corefx,JosephTremoulet/corefx,stone-li/corefx,khdang/corefx,shahid-pk/corefx,MaggieTsang/corefx,ericstj/corefx,mafiya69/corefx,MaggieTsang/corefx,kkurni/corefx,ravimeda/corefx,benpye/corefx,ericstj/corefx,mokchhya/corefx,jhendrixMSFT...
src/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs
src/System.Net.Security/tests/FunctionalTests/TestConfiguration.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using Xunit; namespace System.Net.Security.Tests { in...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using Xunit; namespace System.Net.Security.Tests { in...
mit
C#
dbac7eed68228e4d98631c0f97f6a13fe5ea0f7a
Define 'drop', 'select' operators
jonathanvdc/cs-wasm,jonathanvdc/cs-wasm
libwasm/Instructions/Operators.cs
libwasm/Instructions/Operators.cs
using System.Collections.Generic; namespace Wasm.Instructions { /// <summary> /// A collection of operator definitions. /// </summary> public static class Operators { static Operators() { opsByOpCode = new Dictionary<byte, Operator>(); Unreachable = Register...
using System.Collections.Generic; namespace Wasm.Instructions { /// <summary> /// A collection of operator definitions. /// </summary> public static class Operators { static Operators() { opsByOpCode = new Dictionary<byte, Operator>(); Unreachable = Register...
mit
C#
360d1ee35498c537ae5b18ef1f602a833346a074
Add option to enforce placement even if turned off
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs
SPAD.Interfaces/Configuration/IProfileOptionsProvider.cs
using SPAD.neXt.Interfaces.Profile; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace SPAD.neXt.Interfaces.Configuration { public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider { ...
using SPAD.neXt.Interfaces.Profile; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace SPAD.neXt.Interfaces.Configuration { public interface ISettingsProvider : IProfileOptionsProvider, IWindowPlacementProvider { ...
mit
C#
394b88aa65d704cf602fb6f7bae4e2f6d0f95640
Add thread mode dropdown
UselessToucan/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu-new
osu.Game/Overlays/Settings/Sections/Graphics/RendererSettings.cs
osu.Game/Overlays/Settings/Sections/Graphics/RendererSettings.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.Configuration; using osu.Framework.Graphics; using osu.Framework.Platform; using osu.Game.Configuration; namespace o...
// 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.Configuration; using osu.Framework.Graphics; using osu.Game.Configuration; namespace osu.Game.Overlays.Settings.Sect...
mit
C#
a5495c9090f12871db7acbd241e65c65c8c7bfbf
Update GetEquipmentItemByIdQueryHandler.cs
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.BusinessLayer/QueryHandlers/GetEquipmentItemByIdQueryHandler.cs
NinjaHive.BusinessLayer/QueryHandlers/GetEquipmentItemByIdQueryHandler.cs
using System.Collections.Generic; using System.Linq; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer.QueryHandlers { public class GetEquipmentItemByIdQueryHandler : IQueryHandler<GetEquipmentItemByIdQuery, Eq...
using System.Collections.Generic; using System.Linq; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer.QueryHandlers { public class GetEquipmentItemByIdQueryHandler : IQueryHandler<GetEquipmentItemByIdQuery, Eq...
apache-2.0
C#
8988fa9d4b05373955f69b0d14144e52fe02cfee
Fix ErrorHandler to use BCL's list
sebastienros/esprima-dotnet,sebastienros/esprima-dotnet
src/Esprima/ErrorHandler.cs
src/Esprima/ErrorHandler.cs
using System.Collections.Generic; namespace Esprima { public class ErrorHandler : IErrorHandler { public IList<ParserException> Errors { get; } public bool Tolerant { get; set; } public string Source { get; set; } public ErrorHandler() { Errors = new List<...
namespace Esprima { using Ast; public class ErrorHandler : IErrorHandler { public List<ParserException> Errors { get; } public bool Tolerant { get; set; } public string Source { get; set; } public ErrorHandler() { Errors = new List<ParserException>(); ...
bsd-3-clause
C#
054543f58fd8a0ec7641047635d1b8c9d6ff821c
Revert tournament beatmap panel test change with comment
NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu
osu.Game.Tournament.Tests/Components/TestSceneTournamentBeatmapPanel.cs
osu.Game.Tournament.Tests/Components/TestSceneTournamentBeatmapPanel.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.Game.Online.API; using osu.Game.Online.API.Requests; using osu.Game.Online.API.Requests.Responses;...
// 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.Game.Online.API.Requests; using osu.Game.Online.API.Requests.Responses; using osu.Game.Tournament....
mit
C#
5192da6ab7cd5d154b59a978167ecceddaa15e49
Fix unintentionally making the singleton SystemClock internal instead of public.
BenJenkinson/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime,nodatime/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,zaccharles/nodatime
src/NodaTime/SystemClock.cs
src/NodaTime/SystemClock.cs
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // ht...
#region Copyright and license information // Copyright 2001-2009 Stephen Colebourne // Copyright 2009-2011 Jon Skeet // // 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 // // ht...
apache-2.0
C#
18ea17bb680572eb181f70ba7f2250afa9d0280f
简化 ICensorship 单词审查接口。 :tractor:
MetSystem/Zongsoft.CoreLibrary,Zongsoft/Zongsoft.CoreLibrary,huoxudong125/Zongsoft.CoreLibrary
src/Security/ICensorship.cs
src/Security/ICensorship.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public *...
lgpl-2.1
C#
9fa749f0b73080c8a651639cc0d3374245d2fdd7
Fix incorrect assertion
cH40z-Lord/Stylet,canton7/Stylet,canton7/Stylet,cH40z-Lord/Stylet
Stylet/StyletIoC/Internal/RegistrationCollections/RegistrationCollection.cs
Stylet/StyletIoC/Internal/RegistrationCollections/RegistrationCollection.cs
using StyletIoC.Creation; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace StyletIoC.Internal.RegistrationCollections { internal class RegistrationCollection : IRegistrationCollection { private readonly object registrationsLock = new object(); private re...
using StyletIoC.Creation; using System.Collections.Generic; using System.Diagnostics; using System.Linq; namespace StyletIoC.Internal.RegistrationCollections { internal class RegistrationCollection : IRegistrationCollection { private readonly object registrationsLock = new object(); private re...
mit
C#
9f2967d63984fa5518743f4a708d346ebf5a2cfc
undo checked-in debug hack
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Portal.Worker.TestHarness/Startup/NServiceBusStartup.cs
src/SFA.DAS.EAS.Portal.Worker.TestHarness/Startup/NServiceBusStartup.cs
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using NServiceBus; using SFA.DAS.NServiceBus.AzureServiceBus; using SFA.DAS.EAS.Portal.Configuration; using SFA.DAS.EAS.Portal.Startup; using SFA.DAS.NServiceBus; using SFA.DAS.NServiceBus.Newt...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using NServiceBus; using SFA.DAS.NServiceBus.AzureServiceBus; using SFA.DAS.EAS.Portal.Configuration; using SFA.DAS.EAS.Portal.Startup; using SFA.DAS.NServiceBus; using SFA.DAS.NServiceBus.Newt...
mit
C#
2352b50d97ad4c0aeecebd0ad13730ff47e761b3
Handle checkbox value conversion from Nested Content
KevinJump/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,tcmorris/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,mattbrailsford/Umbraco-CMS,leekelleher/Umbraco-CMS,madsoulswe/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/...
src/Umbraco.Core/PropertyEditors/ValueConverters/YesNoValueConverter.cs
src/Umbraco.Core/PropertyEditors/ValueConverters/YesNoValueConverter.cs
using System; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class YesNoValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType propertyType) => pro...
using System; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class YesNoValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType propertyType) => pro...
mit
C#
1f29f171c46c2fe907d44028f256c88bb09d8900
Disable debugger in WireGenerator
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer
src/FreecraftCore.Serializer.Compiler/Generator/WireGenerator.cs
src/FreecraftCore.Serializer.Compiler/Generator/WireGenerator.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnaly...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnaly...
agpl-3.0
C#
f7b64a458a33fa862fe63b7763acf213f840bddf
Fix incorrect end time calculation in SongProgressGraph
peppy/osu,naoey/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,peppy/osu,ppy/osu,smoogipooo/osu,naoey/osu,Frontear/osuKyzer,NeoAdonis/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,johnneijzen/osu,DrabWeb/osu,Drezi126/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,Na...
osu.Game/Screens/Play/SongProgressGraph.cs
osu.Game/Screens/Play/SongProgressGraph.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using System.Collections.Generic; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Play {...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using System.Collections.Generic; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Objects; namespace osu.Game.Screens.Play {...
mit
C#
2c57deea2bd2724a0a333146f58c2002c18e0c22
Trim double full-stop in xmldoc
peppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu
osu.Game/Skinning/IPooledSampleProvider.cs
osu.Game/Skinning/IPooledSampleProvider.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 JetBrains.Annotations; using osu.Game.Audio; namespace osu.Game.Skinning { /// <summary> /// Provides pooled samples to be used by <see cref="SkinnableSoun...
// 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 JetBrains.Annotations; using osu.Game.Audio; namespace osu.Game.Skinning { /// <summary> /// Provides pooled samples to be used by <see cref="SkinnableSoun...
mit
C#
bfc36e4439ad50c4baee344386a253ff92bd90ae
disable AlembicStreamSync updates in play mode
unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStreamSync.cs
AlembicImporter/Assets/AlembicImporter/Scripts/AlembicStreamSync.cs
using UnityEngine; using UnityEditor; using System; using System.Collections; using System.Collections.Generic; [ExecuteInEditMode] public class AlembicStreamSync : MonoBehaviour { public float m_time; float m_time_prev; float m_time_eps = 0.001f; [Serializable] public class SyncItem { publi...
using UnityEngine; using UnityEditor; using System; using System.Collections; using System.Collections.Generic; [ExecuteInEditMode] public class AlembicStreamSync : MonoBehaviour { public float m_time; float m_time_prev; float m_time_eps = 0.001f; [Serializable] public class SyncItem { publi...
mit
C#
057d1b4197a99def05ee57292c691f73ad14ce2b
Add missing deferral enum
feinoujc/Mandrill.net
src/Mandrill.net/Model/WebHook/MandrillWebHookEventType.cs
src/Mandrill.net/Model/WebHook/MandrillWebHookEventType.cs
using System.Runtime.Serialization; namespace Mandrill.Model { public enum MandrillWebHookEventType { Send, HardBounce, SoftBounce, Open, Click, Spam, Unsub, Reject, Deferral, Blacklist, Whitelist } }
using System.Runtime.Serialization; namespace Mandrill.Model { public enum MandrillWebHookEventType { Send, HardBounce, SoftBounce, Open, Click, Spam, Unsub, Reject, Blacklist, Whitelist } }
mit
C#
a4d476e58ff5b2725064a013c028891dc0bf9258
Add returnUrl hadnling in MenuItem.Edit.cshtml
ehe888/Orchard,Lombiq/Orchard,bedegaming-aleksej/Orchard,omidnasri/Orchard,omidnasri/Orchard,OrchardCMS/Orchard,jersiovic/Orchard,LaserSrl/Orchard,Dolphinsimon/Orchard,Lombiq/Orchard,jimasp/Orchard,Praggie/Orchard,hannan-azam/Orchard,hbulzy/Orchard,jersiovic/Orchard,rtpHarry/Orchard,jimasp/Orchard,sfmskywalker/Orchard,...
src/Orchard.Web/Core/Navigation/Views/MenuItem.Edit.cshtml
src/Orchard.Web/Core/Navigation/Views/MenuItem.Edit.cshtml
@using Orchard.Core.Shapes @{ var tabs = (IEnumerable<string>)CoreShapes.HarvestAndSortTabs(Model.Content); Display.LocalNavigation(Tabs: tabs); } <div class="sections"> <div class="primary"> @Display(Model.Content) </div> <div class="secondary"> @Display(Model.Sidebar) </div> </...
@using Orchard.Core.Shapes @{ var tabs = (IEnumerable<string>)CoreShapes.HarvestAndSortTabs(Model.Content); Display.LocalNavigation(Tabs: tabs); } <div class="sections"> <div class="primary"> @Display(Model.Content) </div> <div class="secondary"> @Display(Model.Sidebar) </div> </...
bsd-3-clause
C#
ee44ff5602ada66e6557eee267553c5536f6051a
Update FirstNonShouldlyMethodFinder.cs
JoeMighty/shouldly
src/Shouldly/Configuration/FirstNonShouldlyMethodFinder.cs
src/Shouldly/Configuration/FirstNonShouldlyMethodFinder.cs
#if ShouldMatchApproved using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; namespace Shouldly.Configuration { public class FirstNonShouldlyMethodFinder : ITestMethodFinder { static readonly Regex AnonMethod ...
#if ShouldMatchApproved using System.Diagnostics; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; namespace Shouldly.Configuration { public class FirstNonShouldlyMethodFinder : ITestMethodFinder { static readonly Regex AnonMethod ...
bsd-3-clause
C#
b1a8734e0682a9975161f93ae94374030da3ba4c
Exclude debug extensions from coverage
skwasjer/SilentHunter
src/SilentHunter.FileFormats/Extensions/DebugExtensions.cs
src/SilentHunter.FileFormats/Extensions/DebugExtensions.cs
#if DEBUG using System; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Reflection; using SilentHunter.FileFormats.IO; namespace SilentHunter.FileFormats.Extensions { [ExcludeFromCodeCoverage] internal static class DebugExtensions { internal static string GetBaseStreamName(this Stream s) {...
#if DEBUG using System; using System.IO; using System.Reflection; using SilentHunter.FileFormats.IO; namespace SilentHunter.FileFormats.Extensions { internal static class DebugExtensions { internal static string GetBaseStreamName(this Stream s) { Stream baseStream = s; if (baseStream is RegionStream) {...
apache-2.0
C#
26b2ac5486ed4e7fa4094a9a0af66c6abc318949
fix home page layout in mobile view
tbyehl/boxstarter,cam1985/boxstarter,smaglio81/boxstarter,smaglio81/boxstarter,napramirez/boxstarter,dex1on/pub,napramirez/boxstarter,tbyehl/boxstarter,cam1985/boxstarter,modulexcite/boxstarter,modulexcite/boxstarter,dex1on/pub,fhchina/boxstarter,fhchina/boxstarter,dhilgarth/boxstarter,smaglio81/boxstarter,modulexcite/...
Web/index.cshtml
Web/index.cshtml
@{ Layout = "~/_SiteLayout.cshtml"; } @section featured { <div class="jumbotron"> <div class="container"> <div class="media"> <a class="col-xs-12 col-md-3 pull-left" href="#"> <img height="270" class="media-object" src="images/boxlogo.png" width="270"> </a> ...
@{ Layout = "~/_SiteLayout.cshtml"; } @section featured { <div class="jumbotron"> <div class="container"> <div class="media"> <a class="pull-left" href="#"> <img height="270" class="media-object" src="images/boxlogo.png" width="270"> </a> <div class=...
apache-2.0
C#
9252657422c6fa180f85e28ec95e04e02a66b752
Fix async tests for Sqlite.
sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic,sjp/Schematic
src/SJP.Schematic.Sqlite.Tests/Integration/SqliteRelationalDatabaseTests.cs
src/SJP.Schematic.Sqlite.Tests/Integration/SqliteRelationalDatabaseTests.cs
using System.Threading.Tasks; using Microsoft.Data.Sqlite; using NUnit.Framework; namespace SJP.Schematic.Sqlite.Tests.Integration { internal sealed class SqliteRelationalDatabaseTests : SqliteTest { [Test] public async Task VacuumAsync_WhenInvoked_RunsWithoutError() { var ...
using System.Threading.Tasks; using Microsoft.Data.Sqlite; using NUnit.Framework; namespace SJP.Schematic.Sqlite.Tests.Integration { internal sealed class SqliteRelationalDatabaseTests : SqliteTest { [Test] public Task VacuumAsync_WhenInvoked_RunsWithoutError() { var sqlite...
mit
C#
0f36f82716b147b7c77e07b6ab343ebc9c6acdc8
Update IEvaluator.cs
informedcitizenry/6502.Net
6502.Net/IEvaluator.cs
6502.Net/IEvaluator.cs
//----------------------------------------------------------------------------- // Copyright (c) 2017 informedcitizenry <informedcitizenry@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // d...
//----------------------------------------------------------------------------- // Copyright (c) 2017 informedcitizenry <informedcitizenry@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // d...
mit
C#
3d141673c209bbb6f2bc24e696f9c028dd390f71
Use RGB565 for the GPU to support older GLES #229
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
source/SkiaSharp.Views/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.cs
source/SkiaSharp.Views/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.cs
using System; using Android.Opengl; using Android.Runtime; using Javax.Microedition.Khronos.Egl; using Javax.Microedition.Khronos.Opengles; namespace SkiaSharp.Views.Android { public abstract class SKGLSurfaceViewRenderer : Java.Lang.Object, GLSurfaceView.IRenderer { private GRContext context; private GRBackendR...
using System; using Android.Opengl; using Android.Runtime; using Javax.Microedition.Khronos.Egl; using Javax.Microedition.Khronos.Opengles; namespace SkiaSharp.Views.Android { public abstract class SKGLSurfaceViewRenderer : Java.Lang.Object, GLSurfaceView.IRenderer { private GRContext context; private GRBackendR...
mit
C#
6ed72e7f2ea2b5373079ac6f459375a8181e978c
Add docs
shyamnamboodiripad/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,tannergooding/roslyn,shyamnamboodiripad/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jmarolf/roslyn,CyrusNajmabadi/roslyn,genlu/roslyn,aelij/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,reaction1989/roslyn,diryboy/ros...
src/Compilers/CSharp/Portable/Syntax/AnonymousFunctionExpressionSyntax.cs
src/Compilers/CSharp/Portable/Syntax/AnonymousFunctionExpressionSyntax.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.CSharp.Syntax { public partial class AnonymousFunctionExpressionSyntax { /// <summary> /// Either th...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.CSharp.Syntax { public partial class AnonymousFunctionExpressionSyntax { public CSharpSyntaxNode Body => thi...
mit
C#
7f114478247c6f0dfa416dbdbe1598cfbfefe686
mark abstract class ctor as protected
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit/Providers/BaseCameraSettingsProvider.cs
Assets/MixedRealityToolkit/Providers/BaseCameraSettingsProvider.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.CameraSystem { public abstract class BaseCameraSetti...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.CameraSystem { public abstract class BaseCameraSetti...
mit
C#
68bfb31cd4450311f0cc44d644bc4904c07f6706
Update how the 401 status code is returned when authenticating
fvilers/OWIN-Katana
CompleteSample/CompleteSample.Authentication/AuthenticationMiddleware.cs
CompleteSample/CompleteSample.Authentication/AuthenticationMiddleware.cs
using Microsoft.Owin; using System.Linq; using System.Security.Principal; using System.Threading.Tasks; namespace CompleteSample.Authentication { public class AuthenticationMiddleware : OwinMiddleware { public AuthenticationMiddleware(OwinMiddleware next) : base(next) { } ...
using Microsoft.Owin; using System.Linq; using System.Security.Principal; using System.Threading.Tasks; namespace CompleteSample.Authentication { public class AuthenticationMiddleware : OwinMiddleware { public AuthenticationMiddleware(OwinMiddleware next) : base(next) { } ...
mit
C#
2f5ec67b394db7f4b4c819416f7a856617ad91f2
update test
yonglehou/RigoFunc
test/RigoFunc.Scheduler.Tests/HowToUse.cs
test/RigoFunc.Scheduler.Tests/HowToUse.cs
 namespace RigoFunc.Scheduler.Tests { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class HowToUse { ISchedulerManager schedulerMgr; bool? isCallbackCalled; [TestInitialize] public void Initialize() { schedulerMgr = ne...
 namespace RigoFunc.Scheduler.Tests { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class HowToUse { ISchedulerManager schedulerMgr; bool? isCallbackCalled; [TestInitialize] public void Initialize() { schedulerMgr = ne...
apache-2.0
C#
7d6ad8329c525b6a72732fce63441a53cbfeea02
fix config value
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
addons/Rules/Tweek.Drivers.Rules.Management/RulesManagementAddon.cs
addons/Rules/Tweek.Drivers.Rules.Management/RulesManagementAddon.cs
using System; using System.Net.Http; using App.Metrics; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Tweek.ApiService.Addons; using System.Linq; using App.Metrics.Healt...
using System; using System.Net.Http; using App.Metrics; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Tweek.ApiService.Addons; using System.Linq; using App.Metrics.Healt...
mit
C#
9cedf020aae5b6280d9675e78e6022b2082e640e
Update TestMethodCommand.cs
nunit/nunit,nunit/nunit
src/NUnitFramework/framework/Internal/Commands/TestMethodCommand.cs
src/NUnitFramework/framework/Internal/Commands/TestMethodCommand.cs
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using NUnit.Framework.Interfaces; namespace NUnit.Framework.Internal.Commands { /// <summary> /// TestMethodCommand is the lowest level concrete command /// used to run actual test cases. /// <...
// Copyright (c) Charlie Poole, Rob Prouse and Contributors. MIT License - see LICENSE.txt #nullable enable using NUnit.Framework.Interfaces; namespace NUnit.Framework.Internal.Commands { /// <summary> /// TestMethodCommand is the lowest level concrete command /// used to run actual test cases. /// <...
mit
C#
f713e75e86f7326ded31ebe912305aef12614480
Fix test case
jefking/King.Service.ServiceBus
King.Service.ServiceBus.Unit.Tests/BusDequeueBatchDynamicTests.cs
King.Service.ServiceBus.Unit.Tests/BusDequeueBatchDynamicTests.cs
namespace King.Service.ServiceBus.Unit.Tests { using King.Azure.Data; using King.Service.Data; using King.Service.Timing; using NSubstitute; using NUnit.Framework; using System; using System.Configuration; [TestFixture] public class BusDequeueBatchDynamicTests { const s...
namespace King.Service.ServiceBus.Unit.Tests { using King.Azure.Data; using King.Service.Data; using King.Service.Timing; using NSubstitute; using NUnit.Framework; using System; using System.Configuration; [TestFixture] public class BusDequeueBatchDynamicTests { static ...
mit
C#
238d4381dbc35aa41a01546191e8aab21d159e86
Add Simulator64 link flag
MindscapeHQ/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,ddunkin/raygun4net,articulate/raygun4net,tdiehl/raygun4net,articulate/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net.Xamarin.iOS.Unified/libRaygun4iOS.linkwith.cs
Mindscape.Raygun4Net.Xamarin.iOS.Unified/libRaygun4iOS.linkwith.cs
using System; using ObjCRuntime; [assembly: LinkWith ("libRaygun4iOS.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator | LinkTarget.Simulator64 | LinkTarget.Arm64, ForceLoad = true)]
using System; using ObjCRuntime; [assembly: LinkWith ("libRaygun4iOS.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator | LinkTarget.Arm64, ForceLoad = true)]
mit
C#
e2f18c8a909c9fb0930f6dbce2b766118cf25cc2
Add force solve handler to Morse Code
CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/MorseCodeComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/MorseCodeComponentSolver.cs
using System; using System.Collections; using System.Text.RegularExpressions; public class MorseCodeComponentSolver : ComponentSolver { public MorseCodeComponentSolver(BombCommander bombCommander, MorseCodeComponent bombComponent) : base(bombCommander, bombComponent) { _upButton = bombComponent.UpButton; _dow...
using System; using System.Collections; using System.Text.RegularExpressions; public class MorseCodeComponentSolver : ComponentSolver { public MorseCodeComponentSolver(BombCommander bombCommander, MorseCodeComponent bombComponent) : base(bombCommander, bombComponent) { _upButton = bombComponent.UpButton; _dow...
mit
C#
f6c0441fe27d75c6b333cfbd7d89463d6948c9c1
Fix an issue with the binding converter of framework assembly reference.
NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,dsplaisted/NuGetPackageExplorer,BreeeZe/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
PackageExplorer/Converters/FrameworkAssemblyReferenceConverter.cs
PackageExplorer/Converters/FrameworkAssemblyReferenceConverter.cs
using System; using System.Collections.Generic; using System.Runtime.Versioning; using System.Windows; using System.Windows.Data; using NuGet; namespace PackageExplorer { public class FrameworkAssemblyReferenceConverter : IValueConverter { public object Convert(object value, Type targetType, ob...
using System; using System.Collections.Generic; using System.Runtime.Versioning; using System.Windows; using System.Windows.Data; using NuGet; namespace PackageExplorer { public class FrameworkAssemblyReferenceConverter : IValueConverter { public object Convert(object value, Type targetType, ob...
mit
C#
dae75b813cdc2ad3aba98a0274a5fe8c58d217af
add remark
dfaruque/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,volkanceylan/Seren...
Serenity.Core/ComponentModel/PropertyGrid/PlaceholderAttribute.cs
Serenity.Core/ComponentModel/PropertyGrid/PlaceholderAttribute.cs
using System; namespace Serenity.ComponentModel { /// <summary> /// Sets a placeholder for a form field. Placeholder text is shown inside the editor /// when its value is empty. Only editors using basic inputs and Select2 editor /// supports this. /// </summary> public class Placehold...
using System; namespace Serenity.ComponentModel { /// <summary> /// Sets a placeholder for a form field. /// </summary> public class PlaceholderAttribute : Attribute { public PlaceholderAttribute(string value) { Value = value; } public str...
mit
C#
083fe7af07533f13c823f1ab3235442d4f3dce4f
Replace usage of FakeItEasy's Repeated API (#49)
machine/machine.fakes,machine/machine.fakes
Source/Machine.Fakes.FakeItEasy/FakeItEasyMethodCallOccurrence.cs
Source/Machine.Fakes.FakeItEasy/FakeItEasyMethodCallOccurrence.cs
using FakeItEasy; using FakeItEasy.Configuration; using NumberOfTimes = FakeItEasy.Times; namespace Machine.Fakes.Adapters.FakeItEasy { class FakeItEasyMethodCallOccurrence : IMethodCallOccurrence { readonly IVoidArgumentValidationConfiguration _configuration; public FakeItEasyMethodCallOccurr...
using FakeItEasy; using FakeItEasy.Configuration; namespace Machine.Fakes.Adapters.FakeItEasy { class FakeItEasyMethodCallOccurrence : IMethodCallOccurrence { readonly IVoidArgumentValidationConfiguration _configuration; public FakeItEasyMethodCallOccurrence(IVoidArgumentValidationConfiguratio...
mit
C#
c8da44049a7211a7db9e1c13dfddda4d177e9313
remove not needed code
dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,dotnet-architecture/eShopOnContain...
src/Services/Marketing/Marketing.FunctionalTests/MarketingScenarioBase.cs
src/Services/Marketing/Marketing.FunctionalTests/MarketingScenarioBase.cs
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.eShopOnContainers.Services.Marketing.API; using Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extension...
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.TestHost; using Microsoft.eShopOnContainers.Services.Marketing.API; using Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extension...
mit
C#
8d1ef33a0bdb6b57d076dff3f241caf0846ddb0d
Add IOUtilities helper for calling IO methods that don't return values.
orthoxerox/roslyn,bbarry/roslyn,brettfo/roslyn,budcribar/roslyn,sharadagrawal/Roslyn,MatthieuMEZIL/roslyn,robinsedlaczek/roslyn,mattwar/roslyn,KevinH-MS/roslyn,kelltrick/roslyn,mattscheffer/roslyn,jamesqo/roslyn,jmarolf/roslyn,brettfo/roslyn,zooba/roslyn,jasonmalinowski/roslyn,tvand7093/roslyn,mmitche/roslyn,aelij/rosl...
src/Features/Core/Portable/Shared/Utilities/IOUtilities.cs
src/Features/Core/Portable/Shared/Utilities/IOUtilities.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Security; namespace Microsoft.CodeAnalysis.Shared.Utilities { internal static class IOUtilities { ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using System.Security; namespace Microsoft.CodeAnalysis.Shared.Utilities { internal static class IOUtilities { ...
apache-2.0
C#
3eefe38491ca91a0620767497c83e2c47c55f414
Undo changes
PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core,PiranhaCMS/piranha.core
identity/Piranha.AspNetCore.Identity/Areas/Manager/Pages/Login.cshtml.cs
identity/Piranha.AspNetCore.Identity/Areas/Manager/Pages/Login.cshtml.cs
/* * Copyright (c) 2019 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System; using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Micr...
/* * Copyright (c) 2019 Håkan Edling * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. * * https://github.com/piranhacms/piranha.core * */ using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Microsoft.AspNetCo...
mit
C#
529a5e10d94d9c8022cbb557cdfdd2afb5f19123
Use string.PadRight to be more explicit with what we are doing with the Log4Net level property enricher
dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,WebCentrum/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,lars-erik/Umbraco-CMS,robertjf/Umbraco-CMS,NikRimington/Umbraco-CMS,abjerner/Umbraco-CMS,leeke...
src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs
src/Umbraco.Core/Logging/SerilogExtensions/Log4NetLevelMapperEnricher.cs
using Serilog.Core; using Serilog.Events; namespace Umbraco.Core.Logging.SerilogExtensions { /// <summary> /// This is used to create a new property in Logs called 'Log4NetLevel' /// So that we can map Serilog levels to Log4Net levels - so log files stay consistent /// </summary> public class Log4...
using Serilog.Core; using Serilog.Events; namespace Umbraco.Core.Logging.SerilogExtensions { /// <summary> /// This is used to create a new property in Logs called 'Log4NetLevel' /// So that we can map Serilog levels to Log4Net levels - so log files stay consistent /// </summary> public class Log4...
mit
C#
08ebd3c82de3c77ea32b1599e75bed384186bfc7
Update HealthChecksRegistrar.cs
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
services/api/Tweek.ApiService.NetCore/Diagnostics/HealthChecksRegistrar.cs
services/api/Tweek.ApiService.NetCore/Diagnostics/HealthChecksRegistrar.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using App.Metrics; using App.Metrics.Health; using App.Metrics.Health.Abstractions; namespace Tweek.ApiService.NetCore.Diagnostics { public class HealthChecksRegistrar { private readonly IEnumerable<IDiagnosticsProvider> mDi...
using System; using System.Collections.Generic; using System.Threading.Tasks; using App.Metrics; using App.Metrics.Health; using App.Metrics.Health.Abstractions; namespace Tweek.ApiService.NetCore.Diagnostics { public class HealthChecksRegistrar { private readonly IEnumerable<IDiagnosticsProvider> mDi...
mit
C#
91aed863809b59ba9007578becf3c29836b282d5
Trim spaces at the end of a serialized master server list request.
icedream/NPSharp
src/client/Master/Messages/Client/MasterGetServersMessage.cs
src/client/Master/Messages/Client/MasterGetServersMessage.cs
using System.Collections.Generic; using System.Linq; using log4net; using NPSharp.Master.Data; namespace NPSharp.Master.Messages.Client { /// <summary> /// Represents a request message for the master server for a standard dedicated server list. /// </summary> [MasterClientMessage("getservers")] ...
using System.Collections.Generic; using System.Linq; using log4net; using NPSharp.Master.Data; namespace NPSharp.Master.Messages.Client { /// <summary> /// Represents a request message for the master server for a standard dedicated server list. /// </summary> [MasterClientMessage("getservers")] ...
mit
C#
cef94c7d55c2fd81e404a97ba7eb0201b6f4d545
更新.net 4.5版本号
JeffreySu/WxOpen,JeffreySu/WxOpen
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
apache-2.0
C#
f3589a727486bb922df51acf6f16617d9909b41b
Fix in manager
garaio/Garaio.CompositeC1Packages.GoogleAnalytics
Garaio.CompositeC1Packages.GoogleAnalytics/GoogleAnalyticsManager.cs
Garaio.CompositeC1Packages.GoogleAnalytics/GoogleAnalyticsManager.cs
using System; using System.Configuration; using System.Linq; using Composite.Data; using Garaio.CompositeC1Packages.GoogleAnalytics.DataTypes; namespace Garaio.CompositeC1Packages.GoogleAnalytics { /// <summary> /// Manager Klasse für den Google-Analytics Konfigurationseintrag. /// </summary> publi...
using System; using System.Configuration; using System.Linq; using Composite.Data; using Garaio.CompositeC1Packages.GoogleAnalytics.DataTypes; namespace Garaio.CompositeC1Packages.GoogleAnalytics { /// <summary> /// Manager Klasse für den Google-Analytics Konfigurationseintrag. /// </summary> publi...
apache-2.0
C#
ef90939aaf0255ffcdb05e8881827d64aaf3e6b8
fix student ordering
chunk1ty/TeachersDiary,chunk1ty/TeachersDiary,chunk1ty/TeachersDiary
src/Clients/TeachersDiary.Clients.Mvc/ViewModels/Student/StudentViewModel.cs
src/Clients/TeachersDiary.Clients.Mvc/ViewModels/Student/StudentViewModel.cs
using System.Collections.Generic; using AutoMapper; using TeachersDiary.Clients.Mvc.ViewModels.Absence; using TeachersDiary.Common.Extensions; using TeachersDiary.Domain; using TeachersDiary.Services.Contracts.Mapping; namespace TeachersDiary.Clients.Mvc.ViewModels.Student { public class StudentViewModel : IMap...
using System.Collections.Generic; using AutoMapper; using TeachersDiary.Clients.Mvc.ViewModels.Absence; using TeachersDiary.Common.Extensions; using TeachersDiary.Domain; using TeachersDiary.Services.Contracts.Mapping; namespace TeachersDiary.Clients.Mvc.ViewModels.Student { public class StudentViewModel : IMap...
mit
C#
ab7fed434523204d2ed6adcee84ae63abd91c678
Increase the amount of retries when rendering the dialog
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine/UI/Text/Dialogs/AGSDialogLayout.cs
Source/Engine/AGS.Engine/UI/Text/Dialogs/AGSDialogLayout.cs
using System; using AGS.API; using System.Collections.Generic; using System.Threading.Tasks; namespace AGS.Engine { public class AGSDialogLayout : IDialogLayout { private IGame _game; public AGSDialogLayout(IGame game) { _game = game; } #region IDialogLayout implementation public async Task Layou...
using System; using AGS.API; using System.Collections.Generic; using System.Threading.Tasks; namespace AGS.Engine { public class AGSDialogLayout : IDialogLayout { private IGame _game; public AGSDialogLayout(IGame game) { _game = game; } #region IDialogLayout implementation public async Task Layou...
artistic-2.0
C#
8e9ac6f6ef2a00d5032d038fc481c0d7032f612a
Return some error if we fuck up hard
TheTree/branch,TheTree/branch,TheTree/branch
dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs
dotnet/Packages/Apollo/Middleware/ExceptionMiddleware.cs
using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Apollo.Converters; using Branch.Packages.Exceptions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; ...
using System; using System.Collections.Generic; using System.Net; using System.Threading.Tasks; using Apollo.Converters; using Branch.Packages.Exceptions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; ...
mit
C#
2036aa309b8f2447b916dd89216e18eb638a91db
Exclude Program.cs from code coverage
dcjulian29/HealthCheck,dcjulian29/HealthCheck
HealthCheck/Program.cs
HealthCheck/Program.cs
using System; using System.Diagnostics.CodeAnalysis; using System.Reflection; using NLog; using Topshelf; namespace HealthCheck { [ExcludeFromCodeCoverage] internal static class Program { private static readonly Logger _log = LogManager.GetCurrentClassLogger(); private static void Main(str...
using System; using System.Reflection; using NLog; using Topshelf; namespace HealthCheck { internal static class Program { private static readonly Logger _log = LogManager.GetCurrentClassLogger(); private static void Main(string[] args) { var assembly = Assembly.GetEntryAss...
apache-2.0
C#
0fd33dc50742b7f8d64a230446827f242eecc616
return generic text if available
HearthSim/HearthDb
HearthDb/Card.cs
HearthDb/Card.cs
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
#region using System; using System.Linq; using HearthDb.CardDefs; using HearthDb.Enums; using static HearthDb.Enums.GameTag; #endregion namespace HearthDb { public class Card { internal Card(Entity entity) { Entity = entity; } public Entity Entity { get; } public string Id => Entity.CardId; publi...
mit
C#
a19bcc20f881dd84408def9bb9c8ea41cb17cfdd
Update DeviceInfoImplementation.cs
predictive-technology-laboratory/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,JC-Chris/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,monostefan/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins,tim-hoff/Xamarin.Plugins
DeviceInfo/DeviceInfo/DeviceInfo.Plugin.Android/DeviceInfoImplementation.cs
DeviceInfo/DeviceInfo/DeviceInfo.Plugin.Android/DeviceInfoImplementation.cs
/* * Ported with permission from: Thomasz Cielecki @Cheesebaron * AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins */ //--------------------------------------------------------------------------------- // Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk) // Licensed under the Apache License, Versio...
using DeviceInfo.Plugin.Abstractions; using System; using Android.OS; namespace DeviceInfo.Plugin { /// <summary> /// Implementation for Feature /// </summary> public class DeviceInfoImplementation : IDeviceInfo { public string GenerateAppId(bool usingPhoneId = false, string prefix = null, string suffix...
mit
C#
33a89021573c2a1506453b46e4be911ef9da6c4b
Add comma
spaccabit/fluentmigrator,fluentmigrator/fluentmigrator,amroel/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,amroel/fluentmigrator,spaccabit/fluentmigrator,stsrki/fluentmigrator
src/FluentMigrator.Runner.MySql/Processors/MySql/MySqlDbFactory.cs
src/FluentMigrator.Runner.MySql/Processors/MySql/MySqlDbFactory.cs
#region License // Copyright (c) 2007-2018, FluentMigrator Project // // 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 b...
#region License // Copyright (c) 2007-2018, FluentMigrator Project // // 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 b...
apache-2.0
C#
0ecf942fe10cf2e42b1533ed4e179b242ad2afcc
Remove note
lionfire/Core,lionfire/Core,lionfire/Core,jaredthirsk/Core
src/LionFire.StateMachines.Class.Tests/GeneratedExecutableTests.cs
src/LionFire.StateMachines.Class.Tests/GeneratedExecutableTests.cs
using Xunit; using LionFire.Execution; namespace LionFire.StateMachines.Class.Tests { public class GeneratedExecutableTests { public GeneratedExecutableTests() { } [Fact] public void Current_State_Flow() { var te = new GeneratedExecutable(); ...
using Xunit; using LionFire.Execution; namespace LionFire.StateMachines.Class.Tests { public class GeneratedExecutableTests { public GeneratedExecutableTests() { } [Fact] public void Current_State_Flow() { var te = new GeneratedExecutable(); ...
mit
C#
03a34a15c00d8e51af387f84f0d42c9746e31287
Add header
RSuter/NSwag,NSwag/NSwag,NSwag/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,NSwag/NSwag,RSuter/NSwag,RSuter/NSwag,RSuter/NSwag,NSwag/NSwag,quails4Eva/NSwag,quails4Eva/NSwag,RSuter/NSwag
src/NSwag.SwaggerGeneration/SwaggerGeneratorSettingsFactoryBase.cs
src/NSwag.SwaggerGeneration/SwaggerGeneratorSettingsFactoryBase.cs
//----------------------------------------------------------------------- // <copyright file="SwaggerGeneratorSettingsFactoryBase.cs" company="NSwag"> // Copyright (c) Rico Suter. All rights reserved. // </copyright> // <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license> // <author>Rico Suter,...
using System.Threading.Tasks; using Newtonsoft.Json; namespace NSwag.SwaggerGeneration { /// <summary>The Swagger generator settings factory.</summary> /// <typeparam name="TSettings">The settings type.</typeparam> /// <typeparam name="TContext">The context type.</typeparam> public abstract class Swag...
mit
C#
bdc637d3afe3626f9963ec809a583cbebb85f635
Remove unused field to fix compiler warning.
space-wizards/space-station-14-content,space-wizards/space-station-14,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
Content.Client/Parallax/ParallaxOverlay.cs
Content.Client/Parallax/ParallaxOverlay.cs
using Content.Client.Interfaces.Parallax; using Robust.Client.Graphics; using Robust.Client.Graphics.Drawing; using Robust.Client.Graphics.Overlays; using Robust.Client.Graphics.Shaders; using Robust.Client.Interfaces.Graphics.ClientEye; using Robust.Shared.IoC; using Robust.Shared.Maths; using Robust.Shared.Prototype...
using Content.Client.Interfaces.Parallax; using Robust.Client.Graphics; using Robust.Client.Graphics.Drawing; using Robust.Client.Graphics.Overlays; using Robust.Client.Graphics.Shaders; using Robust.Client.Interfaces.Graphics.ClientEye; using Robust.Shared.Interfaces.Map; using Robust.Shared.IoC; using Robust.Shared....
mit
C#