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
0191f017c5f5055ea0b4904838fe3d43d2addc59
Change version
alexguirre/VehicleGadgetsPlus
scr/Properties/AssemblyInfo.cs
scr/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Rage.Attributes; [assembly: AssemblyTitle("Vehicle Gadgets+")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("alexguirre")] [assembly: AssemblyProduct("Vehicle Gadgets+")] [assembly: AssemblyCop...
using System.Reflection; using System.Runtime.InteropServices; using Rage.Attributes; [assembly: AssemblyTitle("Vehicle Gadgets+")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("alexguirre")] [assembly: AssemblyProduct("Vehicle Gadgets+")] [assembly: AssemblyCop...
mit
C#
033b922c344c93dcb9a6c0007e77702d0620c6da
Remove unnecessary code
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Controllers/AgreementController.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web/Controllers/AgreementController.cs
using System.Threading.Tasks; using System.Web.Mvc; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Web.Attributes; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types; using SFA.DAS.ProviderApprenticeshipsService.Web.Orchestrators; namespace SFA....
using System; using System.Threading.Tasks; using System.Web.Mvc; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Web.Attributes; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types; using SFA.DAS.ProviderApprenticeshipsService.Web.Orchestrators; ...
mit
C#
d801c2262a92782be6c34ded5917210d0a46fee1
support hosting.json file
0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload
PenguinUpload/src/PenguinUpload/Program.cs
PenguinUpload/src/PenguinUpload/Program.cs
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; namespace PenguinUpload { public class Program { public static void Main(string[] args) { // Load PenguinUpload Config if (File.Exists(PenguinUploadRegi...
using System.IO; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; namespace PenguinUpload { public class Program { public static void Main(string[] args) { // Load PenguinUpload Config if (File.Exists(PenguinUploadRegi...
apache-2.0
C#
e156972474c0cfbe2f249e82f98a753193e46136
Revert "Tests bumped"
SpainHoliday/sepawriter
SepaWriter.Test/Properties/AssemblyInfo.cs
SepaWriter.Test/Properties/AssemblyInfo.cs
using System.Reflection; 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("SpainHoliday.SepaWriter.Test")] [as...
using System.Reflection; 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("SpainHoliday.SepaWriter.Test")] [as...
apache-2.0
C#
42f923d4949c1b4571d3e46c3a80523bb84dbdcb
Fix 'connect to receiving employer' link
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerAccounts.Web/Views/Transfers/TransferConnectionInvitationAuthorization.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/Transfers/TransferConnectionInvitationAuthorization.cshtml
@using SFA.DAS.Authorization @using SFA.DAS.Common.Domain.Types; @using SFA.DAS.Authorization @using SFA.DAS.Authorization.Mvc @model TransferConnectionInvitationAuthorizationViewModel <p>Employers who pay the apprenticeship levy can connect with other employers and transfer up to @Model.TransferAllowancePercentage.T...
@using SFA.DAS.Authorization @using SFA.DAS.EmployerAccounts.Web.Extensions @switch (Model.AuthorizationResult) { case AuthorizationResult.Ok: <div class="grid-row"> <div class="column-two-thirds"> <p><a href="@Url.EmployerProjectionsAction("forecasting/estimations/start-transfe...
mit
C#
3da0f78da33ecc8b1639a1c09f52ee34de0eca3c
Use the same EventStore server for all tests to eliminate TCP self connects
rasmus/EventFlow,AntoineGa/EventFlow
Source/EventFlow.EventStores.EventStore.Tests/IntegrationTests/EventStoreEventStoreTests.cs
Source/EventFlow.EventStores.EventStore.Tests/IntegrationTests/EventStoreEventStoreTests.cs
// The MIT License (MIT) // // Copyright (c) 2015 Rasmus Mikkelsen // Copyright (c) 2015 eBay Software Foundation // https://github.com/rasmus/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal ...
// The MIT License (MIT) // // Copyright (c) 2015 Rasmus Mikkelsen // Copyright (c) 2015 eBay Software Foundation // https://github.com/rasmus/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal ...
mit
C#
8580b737f13784ad5ca3d39650c471fd7260ca90
Fix expiry date on create new poll
tpkelly/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,J...
VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollCreationRequestModel.cs
VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollCreationRequestModel.cs
using System; using System.ComponentModel.DataAnnotations; namespace VotingApplication.Web.Api.Models.DBViewModels { public class PollCreationRequestModel { [Required] public string Name { get; set; } [Required] public string Creator { get; set; } [Required] p...
using System; using System.ComponentModel.DataAnnotations; namespace VotingApplication.Web.Api.Models.DBViewModels { public class PollCreationRequestModel { [Required] public string Name { get; set; } [Required] public string Creator { get; set; } [Required] p...
apache-2.0
C#
4ab7a212303a4e6eac324f902d4140cc003f6c0d
Update HMRC Policy Only Null 404s
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/ExecutionPolicies/HmrcExecutionPolicy.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/ExecutionPolicies/HmrcExecutionPolicy.cs
using System; using HMRC.ESFA.Levy.Api.Types.Exceptions; using Polly; using SFA.DAS.EAS.Domain.Http; using SFA.DAS.NLog.Logger; namespace SFA.DAS.EAS.Infrastructure.ExecutionPolicies { [PolicyName(Name)] public class HmrcExecutionPolicy : ExecutionPolicy { public const string Name = "HM...
using System; using Polly; using SFA.DAS.EAS.Domain.Http; using SFA.DAS.NLog.Logger; namespace SFA.DAS.EAS.Infrastructure.ExecutionPolicies { [PolicyName(Name)] public class HmrcExecutionPolicy : ExecutionPolicy { public const string Name = "HMRC Policy"; private readonly ILog...
mit
C#
f11c92e35d8cd008a85fb0cb7c6ce1cc03cac742
Update BeforeGateway.cshtml
odises/nopPlugins
Payments/v3.8/mellat/src/Nop.Plugin.Payments.Mellat/Views/PaymentMellat/BeforeGateway.cshtml
Payments/v3.8/mellat/src/Nop.Plugin.Payments.Mellat/Views/PaymentMellat/BeforeGateway.cshtml
@using Nop.Plugin.Payments.Mellat.Models @model BeforeGatewayModel <form id="Gateway__PostForm" name="Gateway__PostForm" action="https://bpm.shaparak.ir/pgwchannel/startpay.mellat" method="POST"> <input type="hidden" name="RefId" value="@Model.RefId"> </form> <script language="javascript"> var myForm = docum...
@using Nop.Plugin.Payments.Mellat.Models @model BeforeGatewayModel <form id="Gateway__PostForm" name="Gateway__PostForm" action="https://pgw.bpm.bankmellat.ir/pgwchannel/startpay.mellat" method="POST"> <input type="hidden" name="RefId" value="@Model.RefId"> </form> <script language="javascript"> var myForm =...
mit
C#
53a153acb66e336913aae97c05ed37dcfced5d75
Revert "xoa console.writeline"
toannvqo/dnn_publish
Components/ProductController.cs
Components/ProductController.cs
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
mit
C#
3a11ead9e884002b2406c1ba028be294b6f99353
Update description
pauljz/pvc-cloudfront
src/Properties/AssemblyInfo.cs
src/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("Pvc...
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("Pvc...
mit
C#
e3e42df5134fe2e21d44fbbfac0098fc984fb6ff
Mark the SubAppMetadata constructor as a JSON constructor
NFig/NFig
NFig/Metadata/SubAppMetadata.cs
NFig/Metadata/SubAppMetadata.cs
using Newtonsoft.Json; namespace NFig.Metadata { /// <summary> /// Metadata specific to a sub-app. This includes the default values applicable to the sub-app. /// </summary> public class SubAppMetadata<TTier, TDataCenter> where TTier : struct where TDataCenter : struct { //...
namespace NFig.Metadata { /// <summary> /// Metadata specific to a sub-app. This includes the default values applicable to the sub-app. /// </summary> public class SubAppMetadata<TTier, TDataCenter> where TTier : struct where TDataCenter : struct { /// <summary> /// ...
mit
C#
9df3a986d8bbeaa74ae79b6dcc4b5ff22674eda8
Fix incorrect reference assembly path
gkhanna79/cli,schellap/cli,AbhitejJohn/cli,MichaelSimons/cli,weshaggard/cli,danquirk/cli,marono/cli,johnbeisner/cli,mlorbetske/cli,JohnChen0/cli,schellap/cli,borgdylan/dotnet-cli,anurse/Cli,nguerrera/cli,jonsequitur/cli,blackdwarf/cli,marono/cli,gkhanna79/cli,stuartleeks/dotnet-cli,EdwardBlair/cli,AbhitejJohn/cli,wesha...
src/Microsoft.Extensions.DependencyModel/Resolution/DotNetReferenceAssembliesPathResolver.cs
src/Microsoft.Extensions.DependencyModel/Resolution/DotNetReferenceAssembliesPathResolver.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Extensions.EnvironmentAbstractions; using Microsoft.Extensions.PlatformAbstractions; namespace Mi...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Microsoft.Extensions.EnvironmentAbstractions; using Microsoft.Extensions.PlatformAbstractions; namespace Mi...
mit
C#
7bc8101ce376d36b6a76a413efc5ee83523dc0f4
add using
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Backend/Program.cs
WalletWasabi.Backend/Program.cs
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using NBitcoin; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi....
using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using NBitcoin; using NBitcoin.RPC; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; using WalletWasabi.Logging; namespace WalletWasabi....
mit
C#
2d2e6096e07f207b4a1ba5a2375a92d4c668fe41
change date time format
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/NotificationTransactionDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/NotificationTransactionDto.cs
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Event; namespace PS.Mothership.Core.Common.Dto.Event { [DataContract] public class NotificationTransactionDto { [DataMember] public Guid NotificationGuid { get; set; } [DataMember] pu...
using System; using System.Runtime.Serialization; using PS.Mothership.Core.Common.Template.Event; namespace PS.Mothership.Core.Common.Dto.Event { [DataContract] public class NotificationTransactionDto { [DataMember] public Guid NotificationGuid { get; set; } [DataMember] pu...
mit
C#
1bbba86dcda4b616fa1cdec94df13d19793a69f7
Add Initialize() method to ITabsterPlugin
GetTabster/Tabster.Plugin.TextFile
TextFilePlugin.cs
TextFilePlugin.cs
#region using System; using Tabster.Core.Plugins; #endregion namespace TextFile { public class TextFilePlugin : ITabsterPlugin { #region Implementation of ITabsterPlugin public string Author { get { return "Nate Shoffner"; } } public st...
#region using System; using Tabster.Core.Plugins; #endregion namespace TextFile { public class TextFilePlugin : ITabsterPlugin { #region Implementation of ITabsterPlugin public string Author { get { return "Nate Shoffner"; } } public st...
apache-2.0
C#
4d72e3115ebc871efa7a42989b2b69d16f76697c
Throw ArgumentException with clearer error rather than rely on exception from .First()
AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azur...
src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs
src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
C#
4d312e3b7592d761466f31801e8be96616d8ecab
Fix eichenwalde crash
overtools/OWLib,kerzyte/OWLib
OWLib/Types/Map/Map0B.cs
OWLib/Types/Map/Map0B.cs
using System.IO; using System.Runtime.InteropServices; namespace OWLib.Types.Map { public class Map0B : IMapFormat { public ushort Identifier => 0xB; public string Name => "Prop Models"; [StructLayout(LayoutKind.Sequential, Pack = 4)] public unsafe struct Map0BHeader { ...
using System.IO; using System.Runtime.InteropServices; namespace OWLib.Types.Map { public class Map0B : IMapFormat { public ushort Identifier => 0xB; public string Name => "Prop Models"; [StructLayout(LayoutKind.Sequential, Pack = 4)] public unsafe struct Map0BHeader { ...
mit
C#
1ec305e10d4ba70ee06a9f21bb3087e0d2e245e9
Update TaskChain to use ContinueWithSequential internally
NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,smoogipooo/osu
osu.Game/Utils/TaskChain.cs
osu.Game/Utils/TaskChain.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using System.Threading; using System.Threading.Tasks; using osu.Game.Extensions; namespace osu.Game.Utils { /// <summary> /// A c...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using System.Threading; using System.Threading.Tasks; namespace osu.Game.Utils { /// <summary> /// A chain of <see cref="Task"/>s...
mit
C#
733ce5f0258bb34948c1017075278610b915fa9a
Simplify Example App More
jwmarsden/Kinetic3
Kinetic/Kinetic-Example/K3TestApplication1.cs
Kinetic/Kinetic-Example/K3TestApplication1.cs
using System; using System.Drawing; using Kinetic.Base; using Kinetic.IO; using Kinetic.Common; using Kinetic.Math; using Kinetic.Scene; using Kinetic.Resource; using Kinetic.Render; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; namespace KineticExample { public class K3TestApplication1: BaseA...
using System; using System.Drawing; using Kinetic.Base; using Kinetic.IO; using Kinetic.Common; using Kinetic.Math; using Kinetic.Scene; using Kinetic.Resource; using Kinetic.Render; using OpenTK; using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; namespace KineticExample { public class K3TestApplication1: BaseA...
apache-2.0
C#
5e15cc805de34106dcf36215d2228437edb50e6d
bump to v0.1.18
abelsilva/swaggerwcf
src/SwaggerWcf/Properties/AssemblyInfo.cs
src/SwaggerWcf/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("Sw...
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("Sw...
apache-2.0
C#
e8c4754b989ac2fafbcd50e7ed5e3c727c2d6922
fix 'secrets.json' was not found
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Configuration/AppConfigurations.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Configuration/AppConfigurations.cs
using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Abp.Extensions; using Abp.Reflection.Extensions; namespace AbpCompanyName.AbpProjectName.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot>...
using System.Collections.Concurrent; using Microsoft.Extensions.Configuration; using Abp.Extensions; using Abp.Reflection.Extensions; namespace AbpCompanyName.AbpProjectName.Configuration { public static class AppConfigurations { private static readonly ConcurrentDictionary<string, IConfigurationRoot>...
mit
C#
01b1690708bf289a24b6a30bfca8ce0e820ed0a9
Add AssertConfigurationIsValid test for missing ctor parameter
kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap
Tests/ValidationTests.cs
Tests/ValidationTests.cs
using Core; using StructureMap; using System; using Xunit; namespace Tests { public class ValidationTests { [Fact] public void MissingRequiredConstructorArgument() { var container = new Container(x => { x.For<IService>().Use<ServiceWithCtorArg>()...
using Core; using StructureMap; using System; using Xunit; namespace Tests { public class ValidationTests { [Fact] public void VerifyValidConfiguration() { var container = new Container(x => { x.For<IService>().Use<Service>(); }); ...
mit
C#
3bde637695324eb018e94a3b57c4688537733d2d
Fix warning
solarwinds/OrionSDK
Src/SwqlStudio/MainForm.ApplicationService.cs
Src/SwqlStudio/MainForm.ApplicationService.cs
using System.Windows.Forms; using SwqlStudio.Metadata; using SwqlStudio.Subscriptions; namespace SwqlStudio { partial class MainForm : IApplicationService { public SubscriptionManager SubscriptionManager { get; } = new SubscriptionManager(); public void AddTextToEditor(string text, Connection...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Forms; using SwqlStudio.Metadata; using SwqlStudio.Subscriptions; namespace SwqlStudio { partial class MainForm : IApplicationService { public event EventHandler<IndicationEventArgs> IndicationRe...
apache-2.0
C#
97658c2c8c479c035458ffaa41db3311f8f2435e
Use anchor tag helper instead of hard coded href
seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/Disable2fa.cshtml
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/Disable2fa.cshtml
@page @model Disable2faModel @{ ViewData["Title"] = "Disable two-factor authentication (2FA)"; ViewData["ActivePage"] = "TwoFactorAuthentication"; } <h2>@ViewData["Title"]</h2> <div class="alert alert-warning" role="alert"> <p> <span class="glyphicon glyphicon-warning-sign"></span> <stron...
@page @model Disable2faModel @{ ViewData["Title"] = "Disable two-factor authentication (2FA)"; ViewData["ActivePage"] = "TwoFactorAuthentication"; } <h2>@ViewData["Title"]</h2> <div class="alert alert-warning" role="alert"> <p> <span class="glyphicon glyphicon-warning-sign"></span> <stron...
mit
C#
4e1592406296bf142e833a60bdb395ae4c8e222e
Add missing property ExpressionBlockNode::Expression:IExpression
jcracknell/emd,jcracknell/emd
cs/src/emd.cs/Nodes/ExpressionBlockNode.cs
cs/src/emd.cs/Nodes/ExpressionBlockNode.cs
using emd.cs.Expressions; using pegleg.cs.Parsing; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace emd.cs.Nodes { public class ExpressionBlockNode : IBlockNode { private readonly IExpression _expression; private readonly SourceRange _sourceRange; pub...
using emd.cs.Expressions; using pegleg.cs.Parsing; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace emd.cs.Nodes { public class ExpressionBlockNode : IBlockNode { private readonly IExpression _expression; private readonly SourceRange _sourceRange; pub...
mit
C#
94e65a324456172971e1b387f039ec1fd7343c0d
Fix settings checkboxes not being searchable
ppy/osu,ppy/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,Z...
osu.Game/Overlays/Settings/SettingsCheckbox.cs
osu.Game/Overlays/Settings/SettingsCheckbox.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsCheckbox : SettingsItem<bool> { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsCheckbox : SettingsItem<bool> { ...
mit
C#
cf1dc2c93dc4f7acd829ebec441edf79139e6afb
Fix PublishLater view
geertdoornbos/Orchard,SeyDutch/Airbrush,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,huoxudong125/Orchard,jtkech/Orchard,sfmskywalker/Orchard,planetClaire/Orchard-LETS,xkproject/Orchard,Morgma/valleyviewknolls,xkproject/Orchard,LaserSrl/Orchard,AEdmunds/beautiful-springtime,smartnet-developers/Orchard,AdvantageCS/O...
src/Orchard.Web/Core/PublishLater/Views/Parts/PublishLater.Metadata.SummaryAdmin.cshtml
src/Orchard.Web/Core/PublishLater/Views/Parts/PublishLater.Metadata.SummaryAdmin.cshtml
@using Orchard.ContentManagement; @using Orchard.Core.Common.Models; @using Orchard.Core.PublishLater.Models; @{ PublishLaterPart publishLaterPart = Model.ContentPart; DateTime? versionPublishedUtc = publishLaterPart.As<CommonPart>() == null ? null : publishLaterPart.As<CommonPart>().VersionPublishedUtc; ...
@using Orchard.ContentManagement; @using Orchard.Core.Common.Models; @using Orchard.Core.PublishLater.Models; @{ PublishLaterPart publishLaterPart = Model.ContentPart; DateTime? versionPublishedUtc = publishLaterPart.As<CommonPart>() == null ? null : publishLaterPart.As<CommonPart>().VersionPublishedUtc; ...
bsd-3-clause
C#
d6ace31b93f4ecdeaccc1a78b4de3418d963ab54
Update Start.cs
DYanis/UniversalNumeralSystems
ConvertorFromDecimalToBaseNumeralSystem/ConvertorFromDecimalToBaseNumeralSystem/Start.cs
ConvertorFromDecimalToBaseNumeralSystem/ConvertorFromDecimalToBaseNumeralSystem/Start.cs
using System; using System.Collections.Generic; using System.Linq; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("ZZZ0"); // 1 keys.Add("ZZZ1"); // 2 keys.Add("ZZZ2"); // 3 keys....
using System; using System.Collections.Generic; using System.Linq; internal class Start { internal static void Main() { // Add numeral system keys. List<string> keys = new List<string>(); keys.Add("ZZZ0"); // 1 keys.Add("ZZZ1"); // 2 keys.Add("ZZZ2"); // 3 keys....
mit
C#
7c222d046a4cc12046c55dc1451a6bede21d65aa
Allow deletion and reading of saved package information.
Craftitude-Team/Craftitude-Launcher,Craftitude-Team/Craftitude-Launcher
Craftitude-Api/RepositoryCache.cs
Craftitude-Api/RepositoryCache.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using System.IO; using YaTools.Yaml; using Raven; using Raven.Client; using Raven.Client.Document; using Raven.Client.Embedded; using Raven.Storage; using Raven.Database; ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using System.IO; using YaTools.Yaml; using Raven; using Raven.Client; using Raven.Client.Document; using Raven.Client.Embedded; using Raven.Storage; using Raven.Database; ...
agpl-3.0
C#
b82ab2d43d32d8326e276a8a2ea3f1cfff5a3109
Split apart and made generic the interfaces for maps following interface segregation and CQRS
Journeyman08/Game
Engine/Engine/Mappings/Mapping.cs
Engine/Engine/Mappings/Mapping.cs
using Engine.Mappings.Coordinates; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Mappings { public interface IMapWriteable<T> { bool can_move(ICoordinate<T> startCoord, ICoordinate<T> endCoord); bool move(I...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Engine.Mappings { public interface IMapping<T> { void print(); T get_pos(ICoordinate coord); bool pos_exists(ICoordinate coord); bool add_to_pos(T addit...
mit
C#
d2e2e44339e7307ce950576bf2e16ba8f91f77a6
Update MainStart
kawansoft/AceQL.Client
AceQL.Client.Tests/MainStart.cs
AceQL.Client.Tests/MainStart.cs
/* * This file is part of AceQL C# Client SDK. * AceQL C# Client SDK: Remote SQL access over HTTP with AceQL HTTP. * Copyright (C) 2017, KawanSoft SAS * (http://www.kawansoft.com). All rights reserved. * ...
/* * This file is part of AceQL C# Client SDK. * AceQL C# Client SDK: Remote SQL access over HTTP with AceQL HTTP. * Copyright (C) 2017, KawanSoft SAS * (http://www.kawansoft.com). All rights reserved. * ...
apache-2.0
C#
60fffea837e6933413f5b945eb55e47eeb25ce8d
fix 404
yar229/Mail.Ru-.net-cloud-client
MailRuCloudApi/SplittedCloud.cs
MailRuCloudApi/SplittedCloud.cs
using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MailRuCloudApi { public class SplittedCloud : MailRuCloud { public SplittedCloud(string login, string password) : base(login, password) { } public override async Task<Entry> GetIte...
using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace MailRuCloudApi { public class SplittedCloud : MailRuCloud { public SplittedCloud(string login, string password) : base(login, password) { } public override async Task<Entry> GetIte...
mit
C#
91e881f5794556a5c5d3af89f17bd9cf923a9268
Update RuleUpdater.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
ProcessBlockUtil/RuleUpdater.cs
ProcessBlockUtil/RuleUpdater.cs
/* Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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 ...
apache-2.0
C#
7857565c47786a59825b2be7562f1e71bd14ade2
Make ReflectionExtension internal
Miaplaza/expression-utils
ExpressionUtils/ReflectionExtension.cs
ExpressionUtils/ReflectionExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace MiaPlaza.ExpressionUtils { /// <summary> /// Collects custom extension-methods to ease things we do with reflection /// </summary> internal static class ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace MiaPlaza.ExpressionUtils { /// <summary> /// Collects custom extension-methods to ease things we do with reflection /// </summary> public static class Re...
mit
C#
dd2e037b9930cdf15b92d75e88626d9a334176da
Remove duplicates from sorted list - slower lol
Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews
LeetCode/remote/remove_duplicates_from_sorted_list.cs
LeetCode/remote/remove_duplicates_from_sorted_list.cs
// https://leetcode.com/submissions/detail/52724586/ // // // Submission Details // 164 / 164 test cases passed. // Status: Accepted // Runtime: 160 ms // // Submitted: 0 minutes ago // /** * Definition for singly-linked list. * public class ListNode { * public int val; * ...
// https://leetcode.com/submissions/detail/52724586/ // // // Submission Details // 164 / 164 test cases passed. // Status: Accepted // Runtime: 160 ms // // Submitted: 0 minutes ago // /** * Definition for singly-linked list. * public class ListNode { * public int val; * ...
mit
C#
58e4f2fa379b387d50e328c54101bdfb49ba4757
Check key is null if it's not defined [RED]
SuperDrew/MbDotNet,mattherman/MbDotNet,mattherman/MbDotNet
MbDotNet.Tests/Models/Imposters/HttpsImposterTests.cs
MbDotNet.Tests/Models/Imposters/HttpsImposterTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using MbDotNet.Enums; using MbDotNet.Models; using MbDotNet.Models.Imposters; namespace MbDotNet.Tests.Imposters { /// <summary> /// Summary description for ImposterTests /// </summary> [TestClass] public class HttpsImposterTests { #r...
using Microsoft.VisualStudio.TestTools.UnitTesting; using MbDotNet.Enums; using MbDotNet.Models; using MbDotNet.Models.Imposters; namespace MbDotNet.Tests.Imposters { /// <summary> /// Summary description for ImposterTests /// </summary> [TestClass] public class HttpsImposterTests { #r...
mit
C#
eda8d1ee51cfb1525806d54caa2f91b3f316a02c
Add headers
jkereako/PillBlasta
Assets/Scripts/Weapon/Weapon.cs
Assets/Scripts/Weapon/Weapon.cs
using UnityEngine; public enum FireMode { Automatic, Burst, Single} ; [RequireComponent(typeof(MuzzleFlash))] public class Weapon: MonoBehaviour { [Header("Weapon attributes")] public FireMode fireMode; public int burstCount = 3; public float fireRate = 100; public float muzzleVelocity = 35; [Hea...
using UnityEngine; public enum FireMode { Automatic, Burst, Single} ; [RequireComponent(typeof(MuzzleFlash))] public class Weapon: MonoBehaviour { public FireMode fireMode; public Transform muzzle; public Transform ejector; public Projectile projectile; public Transform shell; public int burstCou...
mit
C#
e731c3f773d0e1ca641767b9afbdabcf0fd95a1e
Fix reservation
Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS,Sebazzz/IFS
src/IFS.Web/Views/Upload/_UploadForm.Reservation.cshtml
src/IFS.Web/Views/Upload/_UploadForm.Reservation.cshtml
@model UploadModel <input asp-for="Expiration" type="hidden" value="@Model.Expiration.ToString("O")" /> <hr /> <div class="hidden"> <h4>Protect this download</h4> <div class="form-group"> <div class="custom-control custom-checkbox"> <input type="checkbox" class="custom-control-input" id...
@model UploadModel <input asp-for="Expiration" type="hidden" value="@Model.Expiration.ToString("O")" />
mit
C#
8aec42166d0a08f4ddf992c0027fd51182d8d0a1
Fix wording in PrincipalExtensions.cs summary (#17859)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Identity/Extensions.Core/src/PrincipalExtensions.cs
src/Identity/Extensions.Core/src/PrincipalExtensions.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.Linq; using Microsoft.AspNetCore.Identity; namespace System.Security.Claims { /// <summary> /// Claims related extensions for <see...
// 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.Linq; using Microsoft.AspNetCore.Identity; namespace System.Security.Claims { /// <summary> /// Claims related extensions for <see...
apache-2.0
C#
8d92330ad666dfee00e2fedb3f91882ccbbecd4c
Fix broken comments
kasperhhk/Umbraco-CMS,arknu/Umbraco-CMS,Phosworks/Umbraco-CMS,rasmusfjord/Umbraco-CMS,tompipe/Umbraco-CMS,Pyuuma/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,Phosworks/Umbraco-CMS,tcmorris/Umbraco-CMS,mattbrailsford/Umbraco-CMS,aadfPT/Umbraco-CMS,lars-erik/Umbraco-CMS,rasmuseeg/Umbraco-CMS,NikRimington/Umbraco-C...
src/Umbraco.Core/PropertyEditors/IPropertyEditorValueConverter.cs
src/Umbraco.Core/PropertyEditors/IPropertyEditorValueConverter.cs
using System; namespace Umbraco.Core.PropertyEditors { /// <summary> /// Maps a property source value to a data object. /// </summary> // todo: drop IPropertyEditorValueConverter support (when?). [Obsolete("Use IPropertyValueConverter.")] public interface IPropertyEditorValueConverter ...
using System; namespace Umbraco.Core.PropertyEditors { /// Maps a property source value to a data object. /// </summary> // todo: drop IPropertyEditorValueConverter support (when?). [Obsolete("Use IPropertyValueConverter.")] public interface IPropertyEditorValueConverter { /// <summary...
mit
C#
4391f221179160d5aa9426c5f8babc425a9671ac
Return correct positions from simple league
TheEadie/PlayerRank,TheEadie/PlayerRank
UnitTests/SimpleLeagueTests.cs
UnitTests/SimpleLeagueTests.cs
using System.Linq; using PlayerRank.Scoring; using PlayerRank.Scoring.Simple; using Xunit; namespace PlayerRank.UnitTests { public class SimpleLeagueTests { [Fact] public void CanRecordSimpleGameByScores() { var league = new League(); var game = new Game(); ...
using System.Linq; using PlayerRank.Scoring; using PlayerRank.Scoring.Simple; using Xunit; namespace PlayerRank.UnitTests { public class SimpleLeagueTests { [Fact] public void CanRecordSimpleGameByScores() { var league = new League(); var game = new Game(); ...
mit
C#
4bdb40853caed8e38fa37e63fd43714644e84a18
write initial algorithm structure
TheGoodFella/LotteryWinner
LotteryWinner/LotteryWinner/Program.cs
LotteryWinner/LotteryWinner/Program.cs
using System; using System.Threading; using System.Collections.Generic; namespace LotteryWinner { class Program { /// <summary> /// locker obj /// </summary> static private Object locker = new Object(); static private char separator = ','; static void Main(str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LotteryWinner { class Program { static void Main(string[] args) { } } }
mit
C#
489eb0e1dc2f0dc2abcb04d506cdb9bcebd48879
Remove unused ISerializationConverterProvider instance
couchbaselabs/Linq2Couchbase,brantburnett/Linq2Couchbase
Src/Couchbase.Linq/QueryGeneration/N1QlQueryGenerationContext.cs
Src/Couchbase.Linq/QueryGeneration/N1QlQueryGenerationContext.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Couchbase.Core.Serialization; using Couchbase.Core.Version; using Couchbase.Linq.QueryGeneration.MemberNameResolvers; using Couchbase.Linq.Serialization; using Couchbase.Linq.Versioning; using Newt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Couchbase.Core.Serialization; using Couchbase.Core.Version; using Couchbase.Linq.QueryGeneration.MemberNameResolvers; using Couchbase.Linq.Serialization; using Couchbase.Linq.Versioning; using Newt...
apache-2.0
C#
35e52b6e45b7edef491353004695ec2653e3057e
Use Dictionary<object, object> instead of Hashtable (the latter does not exist in RT.)
l8s/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1
Source/Eto/Forms/GenerateActionArgs.cs
Source/Eto/Forms/GenerateActionArgs.cs
using System; using System.Collections; using System.Collections.Generic; namespace Eto.Forms { public interface IActionGenerator { void Generate(GenerateActionArgs args); } public class GenerateActionArgs : EventArgs { #region Members readonly ActionCollection actions; readonly ActionItemCollectio...
using System; using System.Collections; namespace Eto.Forms { public interface IActionGenerator { void Generate(GenerateActionArgs args); } public class GenerateActionArgs : EventArgs { #region Members readonly ActionCollection actions; readonly ActionItemCollection menu; readonly ActionItemColle...
bsd-3-clause
C#
b04378b1ea7424b108e69aa5b639c3ff3efecad6
add SourceKind.ModifierGroup
WarHub/wham
src/WarHub.ArmouryModel.Source/Foundation/SourceKind.cs
src/WarHub.ArmouryModel.Source/Foundation/SourceKind.cs
namespace WarHub.ArmouryModel.Source { public enum SourceKind { Unknown, // types CharacteristicType, CharacteristicTypeList, CostType, CostTypeList, ProfileType, ProfileTypeList, // entries CategoryEntry, CategoryEntryList, DataIndexEntry, Data...
namespace WarHub.ArmouryModel.Source { public enum SourceKind { Unknown, // types CostType, CostTypeList, CharacteristicType, CharacteristicTypeList, ProfileType, ProfileTypeList, // entries SelectionEntry, SelectionEntryList, SelectionEntryGrou...
mit
C#
1c69e16b1eb8b81e729ee1beb1f7fba3a7d8d8e7
Initialize ModelEvents on change of Model
MMDaemon/Voxel-Editor,MMDaemon/Voxel-Editor
VoxelEditor/Controller/MainController.cs
VoxelEditor/Controller/MainController.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using DMS.Application; using OpenTK; using VoxelEditor.Common.Enums; using VoxelEditor.Model; using VoxelEditor.View; using VoxelEditor.View.Editor; using VoxelEditor.Common.EventArguments; using VoxelEditor.Model.Editor; usin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using DMS.Application; using OpenTK; using VoxelEditor.Common.Enums; using VoxelEditor.Model; using VoxelEditor.View; using VoxelEditor.View.Editor; using VoxelEditor.Common.EventArguments; using VoxelEditor.Model.Editor; usin...
apache-2.0
C#
a56f79514406dc89fad36b2c65303f7a1f5f4402
Refresh tray menu if icon already exists when attempting to initialise
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/TrayIconHelper.cs
SteamAccountSwitcher/TrayIconHelper.cs
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { public static class TrayIconHelper { ...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Hardcodet.Wpf.TaskbarNotification; using SteamAccountSwitcher.Properties; namespace SteamAccountSwitcher { public static class TrayIconHelper { ...
mit
C#
debff062692653a80c91b83ac3bef3b5f06c68a3
add an X to click into.
hfoffani/WinFormTagsEditor
WinFormTagsEditor/WinFormTagsEditor.cs
WinFormTagsEditor/WinFormTagsEditor.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace WinFormTagsEditor { public partial class WinFormTagsEditor: UserControl { private string head = @" <script>...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Windows.Forms; namespace WinFormTagsEditor { public partial class WinFormTagsEditor: UserControl { private string head = @" <script>...
apache-2.0
C#
92152aa22e19bff6200ee67e3764e882300cf502
Update Viktor.cs
FireBuddy/adevade
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
using System; using EloBuddy; using EloBuddy.SDK; namespace AdEvade.Data.Spells.SpecialSpells { class Viktor : IChampionPlugin { static Viktor() { } public const string ChampionName = "Viktor"; public string GetChampionName() { return ChampionName; ...
mit
C#
dc47fa3c4caaeead1f267680ec29ae83f35f32e4
Update VBEDriver.cs
jp2masa/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,trivalik/Cosmos,trivalik/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,fanoI/Cosmos
source/Cosmos.HAL/Drivers/VBEDriver.cs
source/Cosmos.HAL/Drivers/VBEDriver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cosmos.HAL.Drivers { public class VBEDriver { private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE; public VBEDriver() { if (Cosmos.HA...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cosmos.HAL.Drivers { public class VBEDriver { private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE; private void vbe_write(ushort index, ushort value) ...
bsd-3-clause
C#
ef3d146953d214cd4fb281fdcb67b24b958dfaf3
add response type
hidden-sound-team/Hidden-Sound-API
HiddenSound.API/Areas/Mobile/Controllers/DevicesController.cs
HiddenSound.API/Areas/Mobile/Controllers/DevicesController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using HiddenSound.API.Areas.Mobile.Models.Requests; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace HiddenSound.API.Areas.Mobile.Controllers { [Area("Mobile")] [Route("Mobile/[c...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using HiddenSound.API.Areas.Mobile.Models.Requests; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; namespace HiddenSound.API.Areas.Mobile.Controllers { [Area("Mobile")] [Route("Mobile/[c...
apache-2.0
C#
7a4de6640e6f1387b468b5da5e735d74d3eb27f9
Add link to example prefab in PrefabRepository
mikelovesrobots/daft-pong,mikelovesrobots/unity3d-game-of-life,jshou/party-game,mikelovesrobots/daft-pong,mikelovesrobots/unity3d-base,mikelovesrobots/throw-a-ball-tutorial
app/Assets/Scripts/PrefabRepository.cs
app/Assets/Scripts/PrefabRepository.cs
using UnityEngine; using System.Collections; public class PrefabRepository : MonoBehaviour { public GameObject ExamplePrefab; private static PrefabRepository instance; public static PrefabRepository Instance { get { if (instance == null) { instance = GameObject.Find("/G...
using UnityEngine; using System.Collections; public class PrefabRepository : MonoBehaviour { private static PrefabRepository instance; public static PrefabRepository Instance { get { if (instance == null) { instance = GameObject.Find("/Global/PrefabRepository").GetComponent...
mit
C#
60a615aa850424c5ca42d335a96d0558097d762a
Fix assertion in unit-test to work on net5.0
skarpdev/dotnet-version-cli
test/CsProj/FileSystem/DotNetFileSystemProviderTests.cs
test/CsProj/FileSystem/DotNetFileSystemProviderTests.cs
using System; using System.IO; using System.Linq; using Skarp.Version.Cli.CsProj.FileSystem; using Xunit; namespace Skarp.Version.Cli.Test.CsProj.FileSystem { public class DotNetFileSystemProviderTests { private readonly DotNetFileSystemProvider _provider; public DotNetFileSystemProviderTests(...
using System; using System.IO; using System.Linq; using Skarp.Version.Cli.CsProj.FileSystem; using Xunit; namespace Skarp.Version.Cli.Test.CsProj.FileSystem { public class DotNetFileSystemProviderTests { private readonly DotNetFileSystemProvider _provider; public DotNetFileSystemProviderTests(...
mit
C#
142e348d9a41baa0b231de93d2edf1f35e8aa287
Update code task
roman-yagodin/R7.Documents,roman-yagodin/R7.Documents,roman-yagodin/R7.Documents
R7.Documents.Dnn/Components/HttpOffContextHelper.cs
R7.Documents.Dnn/Components/HttpOffContextHelper.cs
using System.Linq; using DotNetNuke.Entities.Portals; namespace R7.Documents.Components { // TODO: Replace with PortalHelper.GetPortalSettingsOutOfHttpContext public static class HttpOffContextHelper { /// <summary> /// Gets the portal settings with portal alias info outside HTTP context. ...
// // HttpOffContextHelper.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2018 Roman M. Yagodin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software...
mit
C#
e343b757e9da9f1ac205ec958c295510ee589f7d
Add ml to NodeRole enum (#4049)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Cluster/NodesInfo/NodeRole.cs
src/Nest/Cluster/NodesInfo/NodeRole.cs
using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum NodeRole { [EnumMember(Value = "master")] Master, [EnumMember(Value = "data")] Data, [EnumMember(Value = "client")] Client, [EnumMember(Value = "ingest")] Ingest, [EnumMember(Value = "ml")] ...
using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [StringEnum] public enum NodeRole { [EnumMember(Value = "master")] Master, [EnumMember(Value = "data")] Data, [EnumMember(Value = "client")] Client, [EnumMember(Value = "ingest")] Ingest } }
apache-2.0
C#
26a417613d8aa739bf6167539a452ac0acb9bf93
Update src/Swan.Lite/Parsers/ArgumentParser.TypeResolver.cs
unosquare/swan
src/Swan.Lite/Parsers/ArgumentParser.TypeResolver.cs
src/Swan.Lite/Parsers/ArgumentParser.TypeResolver.cs
using System; using System.Linq; using System.Reflection; using Swan.Reflection; namespace Swan.Parsers { /// <summary> /// Provides methods to parse command line arguments. /// </summary> public partial class ArgumentParser { private sealed class TypeResolver<T> { publ...
using System; using System.Linq; using System.Reflection; using Swan.Reflection; namespace Swan.Parsers { /// <summary> /// Provides methods to parse command line arguments. /// </summary> public partial class ArgumentParser { private sealed class TypeResolver<T> { publ...
mit
C#
4050cb88ea476cce8bf0363d0f9a4c6d9f63e523
Fix potential nullref
ZLima12/osu,ppy/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,DrabWeb/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,2yangk23/osu,NeoAdonis/osu,naoey/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu...
osu.Game/Screens/Multi/Match/Components/ReadyButton.cs
osu.Game/Screens/Multi/Match/Components/ReadyButton.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osuTK; namespace osu....
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osuTK; namespace osu....
mit
C#
87cd390eed6f7a23d1db3b7d1ad3726065deb288
Increase Cassandra delay after startup (90 sec)
lecaillon/Evolve
test/Evolve.Test.Utilities/CassandraDockerContainer.cs
test/Evolve.Test.Utilities/CassandraDockerContainer.cs
using System; namespace Evolve.Test.Utilities { public class CassandraDockerContainer { private DockerContainer _container; public string Id => _container.Id; public string ExposedPort => "9042"; public string HostPort => "9042"; public string ClusterName => "evolve"; ...
using System; namespace Evolve.Test.Utilities { public class CassandraDockerContainer { private DockerContainer _container; public string Id => _container.Id; public string ExposedPort => "9042"; public string HostPort => "9042"; public string ClusterName => "evolve"; ...
mit
C#
af3f33a0434bdc93442e35d57eb39bf15e6d3cfe
Optimize FindDocuments command, close #18
kotorihq/kotori-core
KotoriCore/Database/DocumentDb/Commands/FindDocuments.cs
KotoriCore/Database/DocumentDb/Commands/FindDocuments.cs
using System; using System.Threading.Tasks; using KotoriCore.Commands; using KotoriCore.Domains; using KotoriCore.Exceptions; using KotoriCore.Helpers; using KotoriCore.Database.DocumentDb.Helpers; using System.Linq; namespace KotoriCore.Database.DocumentDb { partial class DocumentDb { async Task<Com...
using System; using System.Threading.Tasks; using KotoriCore.Commands; using KotoriCore.Domains; using KotoriCore.Exceptions; using KotoriCore.Helpers; using KotoriCore.Database.DocumentDb.Helpers; using System.Linq; namespace KotoriCore.Database.DocumentDb { partial class DocumentDb { async Task<Com...
mit
C#
3ee21dc5353558594e8c5864a8b2375c0a642cd9
Fix unfinished doc comment
Joe4evr/Discord.Addons
src/Discord.Addons.MpGame/Extensions/IBufferStrategy.cs
src/Discord.Addons.MpGame/Extensions/IBufferStrategy.cs
namespace Discord.Addons { /// <summary> /// Defines a strategy to use for managing temporary buffers. /// </summary> /// <typeparam name="T">The object type.</typeparam> internal interface IBufferStrategy<T> { /// <summary> /// Gets a buffer of the specified size. /// <...
namespace Discord.Addons { /// <summary> /// Defines a strategy to use for managing temporary buffers. /// </summary> /// <typeparam name="T">The object type.</typeparam> internal interface IBufferStrategy<T> { /// <summary> /// Gets a buffer of the specified size. /// <...
mit
C#
2a8d3a5d957f0ec11d7e780f3cd84b954ea77628
Prepare for the November 2016 release
OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core,OfficeDev/PnP-Sites-Core
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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. [asse...
using System.Reflection; using System.Resources; 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. [asse...
mit
C#
05c164fb31f84daa82866249b6872537821e4d2c
Update version number for next release
phillipharding/PnP-Sites-Core,itacs/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,itacs/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,Puzzlepart/PnP-Sites-Core,PieterVeenstra/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,Puzzlepart/PnP-Sites-Core,phillipharding/PnP-Sites-Core,comblox/PnP-Sites-Core,m-ca...
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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. [asse...
using System.Reflection; using System.Resources; 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. [asse...
mit
C#
21ce9631122893b3c8c212e5fe13ab42b602aa36
Move test to root namespace
Simution/NServiceBus.Recoverability.RetrySuccessNotification
src/Tests/Config/RetrySuccessNotificationConfigTests.cs
src/Tests/Config/RetrySuccessNotificationConfigTests.cs
using System.Linq; using NServiceBus; using NServiceBus.Configuration.AdvanceExtensibility; using NServiceBus.Features; using NUnit.Framework; [TestFixture] public class RetrySuccessNotificationConfigTests { [Test] public void Notification_Address_Can_Be_Set() { var endpointConfiguration = new End...
namespace NServiceBus.Recoverability.RetrySucessNotification.ComponentTests { using System.Linq; using NServiceBus; using Configuration.AdvanceExtensibility; using Features; using NUnit.Framework; [TestFixture] public class RetrySuccessNotificationConfigTests { [Test] p...
mit
C#
aba3c932fe4df9fdb6ebce735e698b70d93b7641
Fix custom font manager
SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,g...
src/Web/Avalonia.Web.Blazor/BlazorSingleViewLifetime.cs
src/Web/Avalonia.Web.Blazor/BlazorSingleViewLifetime.cs
using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Media; namespace Avalonia.Web.Blazor { public class BlazorSingleViewLifetime : ISingleViewApplicationLifetime { public Control MainView { get; set; } } public static class BlazorSingleViewLifetimeExtensions ...
using Avalonia.Controls; using Avalonia.Controls.ApplicationLifetimes; using Avalonia.Platform; namespace Avalonia.Web.Blazor { public class BlazorSingleViewLifetime : ISingleViewApplicationLifetime { public Control MainView { get; set; } } public static class BlazorSingleViewLifetimeExtensio...
mit
C#
b6c806dc2fe5c3227b3d6ad554ac2b74849bc1c7
Add StreamButtonClick in ButtonExt
ronnelreposo/cardiotocography
cardio/cardio/Ext/ButtonExt.cs
cardio/cardio/Ext/ButtonExt.cs
using System; using System.Windows.Controls; using static System.Reactive.Linq.Observable; namespace cardio.Ext { /// <summary> /// Represents Button Extension /// </summary> static class ButtonExt { /// <summary> /// Disables the button /// </summary> /// <param na...
using System.Windows.Controls; namespace cardio.Ext { /// <summary> /// Represents Button Extension /// </summary> static class ButtonExt { /// <summary> /// Disables the button /// </summary> /// <param name="button">Given button to be disbaled</param> /// ...
mit
C#
ddfac15670ad981f3b7786383ff92b77700f27d2
Fix error in custom action code
SunburstApps/WordPerfectIndexer,SunburstApps/WordPerfectIndexer
IndexerSetup.RegisterProperties/RegisterAction.cs
IndexerSetup.RegisterProperties/RegisterAction.cs
using System; using System.IO; using System.Runtime.InteropServices; using Microsoft.Deployment.WindowsInstaller; namespace IndexerSetup.RegisterProperties { public class RegisterAction { [CustomAction] public static ActionResult RegisterPropDescFile(Session session) { sessi...
using System; using System.IO; using System.Runtime.InteropServices; using Microsoft.Deployment.WindowsInstaller; namespace IndexerSetup.RegisterProperties { public class RegisterAction { [CustomAction] public static ActionResult RegisterPropDescFile(Session session) { sessi...
mpl-2.0
C#
a09e6b02968ef810c423b3716534b0d9985523e5
Update WebDownloader.cs
milkshakesoftware/PreMailer.Net
PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs
PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs
using System; using System.IO; using System.Net; namespace PreMailer.Net.Downloaders { public class WebDownloader : IWebDownloader { private static IWebDownloader _sharedDownloader; public static IWebDownloader SharedDownloader { get { if (_sharedDownloader == null) { _sharedDownloader = n...
using System; using System.IO; using System.Net; namespace PreMailer.Net.Downloaders { public class WebDownloader : IWebDownloader { private static IWebDownloader _sharedDownloader; public static IWebDownloader SharedDownloader { get { if (_sharedDownloader == null) { _sharedDownloader = n...
mit
C#
a6fbc0f966dc0611135a5b7f42f006905419a593
fix compile
IndiegameGarden/Pixie
Pixie1/Pixie1/Behaviors/ReverseControlBehavior.cs
Pixie1/Pixie1/Behaviors/ReverseControlBehavior.cs
 using TTengine.Core; namespace Pixie1.Behaviors { public class ReverseControlBehavior: ThingControl { public ReverseControlBehavior() : base() { } protected override void OnUpdate(ref UpdateParams p) { base.OnUpdate(ref p); ParentTh...
 using TTengine.Core; namespace Pixie1.Behaviors { public class ReverseControlBehavior: ThingControl { public ReverseControlBehavior() : base() { } protected override void OnUpdate(UpdateParams p) { base.OnUpdate(ref p); ParentThing....
bsd-2-clause
C#
20475c850f21819bcbb2b4da8e5a9bc168380de6
implement ICloneable and override Equals on WorkItem so that equality checking can prevent unnecessary signalr broadcasts
acas/tfs-monitor,acas/tfs-monitor,acas/tfs-monitor
TfsMonitor.Api/Work/WorkItem.cs
TfsMonitor.Api/Work/WorkItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Reflection; namespace TfsMonitor.Api.Work { public class WorkItem: ICloneable { public int WorkItemID { get; set; } public string Type {get; set;} public string Project { get; set; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TfsMonitor.Api.Work { public class WorkItem { public int WorkItemID; public string Type; public string Project; public string Title; public string Assignee; public string State; ...
mit
C#
e1b298eccf2a01dfa35e676c2cf6b10bd33ffb3b
Return search by term URL if no other URL is associated with term was found
roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News
R7.News/Controls/ViewModels/TermLinksViewModel.cs
R7.News/Controls/ViewModels/TermLinksViewModel.cs
// // TermLinksViewModel.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundatio...
// // TermLinksViewModel.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundatio...
agpl-3.0
C#
e08525110a6d0eab322d43bbe39a570cf46fc4e8
Enable localhost
mtmk/akkadotnetexamples,mtmk/akkadotnetexamples
containerized/shared/Common.cs
containerized/shared/Common.cs
using System; using System.IO; using System.Threading; using Akka.Actor; using Akka.Configuration; using Akka.Event; namespace shared { public static class Common { public static ActorSystem CreateSystem(string configFile) { Console.WriteLine("Starting.."); StandardOut...
using System; using System.IO; using System.Threading; using Akka.Actor; using Akka.Configuration; using Akka.Event; namespace shared { public static class Common { public static ActorSystem CreateSystem(string configFile) { Console.WriteLine("Starting.."); StandardOut...
mit
C#
716a4c2a2c334cf85dc040afbab725080539d1fe
Update Label.cs
thakyZ/VoidEngine,vvoid-inc/VoidEngine
VoidEngine/Label.cs
VoidEngine/Label.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Inp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.GamerServices; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Inp...
mit
C#
36cabe72cf854cbfd05f01fb0d03dc91e9717078
Make DimmedLoadingLayer block input when active
smoogipoo/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,peppy/osu
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
// 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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
mit
C#
4419b4cfa53e26db14bca25cff79b1cfc82c1019
Use IsDefault for RazorSpan's
sharwell/roslyn,panopticoncentral/roslyn,jmarolf/roslyn,panopticoncentral/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,genlu/roslyn,weltkante/roslyn,diryboy/roslyn,brettfo/roslyn,heejaechang/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,genlu/roslyn,heejaechang/roslyn,bartdesmet/roslyn,physhi/roslyn,...
src/Tools/ExternalAccess/Razor/RazorSpanMappingServiceWrapper.cs
src/Tools/ExternalAccess/Razor/RazorSpanMappingServiceWrapper.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using S...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading; using S...
mit
C#
e99647f3eb088f55697dbf5b823e1a28834afdd7
fix missing theory attribute
mruhul/Bolt.Common.Extensions
src/Bolt.Common.Extensions.UnitTests/EnumExtensionsTest.cs
src/Bolt.Common.Extensions.UnitTests/EnumExtensionsTest.cs
using Shouldly; using Xunit; namespace Bolt.Common.Extensions.UnitTests { public class EnumExtensionsTest { [Theory] [InlineData("", null)] [InlineData(null, null)] [InlineData("red", Color.Red)] [InlineData("Red", Color.Red)] [InlineData("reds", null)] ...
using Shouldly; using Xunit; namespace Bolt.Common.Extensions.UnitTests { public class EnumExtensionsTest { [Theory] [InlineData("", null)] [InlineData(null, null)] [InlineData("red", Color.Red)] [InlineData("Red", Color.Red)] [InlineData("reds", null)] ...
mit
C#
0af74e4a4807b270b8ad49de909bb1eb52122b71
Make Tables module-level setting
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University.Launchpad/Components/LaunchpadSettings.cs
R7.University.Launchpad/Components/LaunchpadSettings.cs
// // LaunchpadSettings.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2014-2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Fre...
// // LaunchpadSettings.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2014-2017 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Fre...
agpl-3.0
C#
b6bda54f21f2a5724857905f02cfb558247cc67d
use path attribute instead of file
darrenkopp/SassyStudio
SassyStudio.Compiler/Parsing/XmlDoc/FileReferenceTag.cs
SassyStudio.Compiler/Parsing/XmlDoc/FileReferenceTag.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassyStudio.Compiler.Parsing { public class FileReferenceTag : XmlDocumentationTag { public ISassDocument Document { get; protected set; } public XmlAt...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassyStudio.Compiler.Parsing { public class FileReferenceTag : XmlDocumentationTag { public ISassDocument Document { get; protected set; } public XmlAt...
mit
C#
5c14210fa363da12def4ebfeb9b6a32f3852b683
Add remove functions to Tasker
Huex/VKDiscordBot
VKDiscordBot/Services/Tasker.cs
VKDiscordBot/Services/Tasker.cs
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using VKDiscordBot.Models; namespace VKDiscordBot.Services { public class Tasker : BotServiceBase { private List<RepetitiveTask> _tasks; public Tasker() { _tasks = new ...
using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using VKDiscordBot.Models; namespace VKDiscordBot.Services { public class Tasker : BotServiceBase { private List<RepetitiveTask> _tasks; public Tasker() { _tasks = new ...
mit
C#
faa083922eaba77db4c801bee00ab42761463428
Fix ModelTestBase.
quartz-software/kephas,quartz-software/kephas
src/TestingFramework/Kephas.Testing.Model/ModelTestBase.cs
src/TestingFramework/Kephas.Testing.Model/ModelTestBase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelTestBase.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ModelTestBase.cs" company="Kephas Software SRL"> // Copyright (c) Kephas Software SRL. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project ...
mit
C#
e0b4ef593e8577d036016144705ac21d750db0fe
test automatic challenge after redirecting from another site
VahidN/DNTIdentity,VahidN/DNTIdentity,VahidN/DNTIdentity
src/ASPNETCoreIdentitySample/Controllers/HomeController.cs
src/ASPNETCoreIdentitySample/Controllers/HomeController.cs
using DNTBreadCrumb.Core; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using ASPNETCoreIdentitySample.Common.IdentityToolkit; namespace ASPNETCoreIdentitySample.Controllers { [BreadCrumb(Title = "خانه", UseDefaultRouteUrl = true, Order = 0)] public class HomeController : Controlle...
using DNTBreadCrumb.Core; using Microsoft.AspNetCore.Mvc; namespace ASPNETCoreIdentitySample.Controllers { [BreadCrumb(Title = "خانه", UseDefaultRouteUrl = true, Order = 0)] public class HomeController : Controller { [BreadCrumb(Title = "ایندکس", Order = 1)] public IActionResult Index() ...
apache-2.0
C#
96cb161ea7259d271c25eb5643c0d30794768f15
Update RoslynSyntaxClassificationServiceFactory.cs
jasonmalinowski/roslyn,KevinRansom/roslyn,physhi/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,AmadeusW/roslyn,weltkante/roslyn,ErikSchierboom/roslyn,diryboy/roslyn,tmat/roslyn,KirillOsenkov/roslyn,stephentoub/roslyn,genlu/roslyn,tmat/roslyn,heejaechang/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,tmat/roslyn,bre...
src/VisualStudio/LiveShare/Impl/Client/Classification/RoslynSyntaxClassificationServiceFactory.cs
src/VisualStudio/LiveShare/Impl/Client/Classification/RoslynSyntaxClassificationServiceFactory.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Microsoft.CodeAnalysis.Classification; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; us...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Microsoft.CodeAnalysis.Classification; using Microsoft.CodeAnalysis.Editor.Shared.Utilities; us...
mit
C#
4ea9172ef5a80fd95e73f6bf7102548b136d1f38
Update SubHeader.cshtml
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Support.Web/Views/Account/SubHeader.cshtml
src/SFA.DAS.EAS.Support.Web/Views/Account/SubHeader.cshtml
@model SFA.DAS.EAS.Support.Core.Models.Account @{ Layout = null; } <div class="grid-row"> <div class="column-full"> <h5 class="heading-small"> <a href="/" class="govuk-back-link"> Home </a> </h5> <h1 class="heading-large"> @(Model?....
@model SFA.DAS.EAS.Support.Core.Models.Account @{ Layout = null; } <div class="grid-row"> <div class="column-full"> <h1 class="heading-large"> @(Model?.DasAccountName) @if (!string.IsNullOrEmpty(Model?.PublicHashedAccountId)) { <span class="heading-s...
mit
C#
3f2712f853474a927292ba90d616d46389f689a3
Update ProviderPronim2i.cs
ACBrNet/ACBr.Net.NFSe
src/ACBr.Net.NFSe/Providers/Pronim2/ProviderPronim2i.cs
src/ACBr.Net.NFSe/Providers/Pronim2/ProviderPronim2i.cs
// *********************************************************************** // Assembly : ACBr.Net.NFSe // Author : Felipe Silveira/Transis // Created : 14-02-2020 // // *********************************************************************** // <copyright file="ProviderFiorilli.cs" company="AC...
// *********************************************************************** // Assembly : ACBr.Net.NFSe // Author : Rafael Dias // Created : 29-01-2020 // // Last Modified By : Rafael Dias // Last Modified On : 29-01-2020 // *********************************************************************...
mit
C#
471c4d634ea5d3f54c7e056cdfe2f77b8d06ee1f
update tests to use auth (of course!)
thefilter/AspNetCore.Identity.Elastic,thefilter/AspNetCore.Identity.Elastic
src/AspNetCore.Identity.Elastic/ElasticClientFactory.cs
src/AspNetCore.Identity.Elastic/ElasticClientFactory.cs
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Nest; using Elasticsearch.Net; using Newtonsoft.Json; [assembly: InternalsVisibleTo("AspNetCore.Identity.Elastic.Tests")] namespace AspNetCore.Identity.Elastic { internal static class ElasticClientFactory { ...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Nest; using Elasticsearch.Net; using Newtonsoft.Json; [assembly: InternalsVisibleTo("AspNetCore.Identity.Elastic.Tests")] namespace AspNetCore.Identity.Elastic { internal static class ElasticClientFactory { ...
apache-2.0
C#
102b1b64eb565209afd2340a2b9d927b820e3f54
Add CreateHiddenitem test
hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb
src/Sitecore.FakeDb.Tests/Data/Items/ItemAppearanceTest.cs
src/Sitecore.FakeDb.Tests/Data/Items/ItemAppearanceTest.cs
namespace Sitecore.FakeDb.Tests.Data.Items { using FluentAssertions; using Sitecore.Data.Items; using Xunit; public class ItemAppearanceTest { [Fact] public void ShouldReadDefaultItemAppearance() { // arrange & act using (var db = new Db { new DbItem("home") }) { var it...
namespace Sitecore.FakeDb.Tests.Data.Items { using FluentAssertions; using Sitecore.Data.Items; using Xunit; public class ItemAppearanceTest { [Fact] public void ShouldReadDefaultItemAppearance() { // arrange & act using (var db = new Db { new DbItem("home") }) { var it...
mit
C#
76a09557f45443a9d021c7a4c23fd91ac947f17a
Set next.
julianpaulozzi/katanaproject,evicertia/Katana,PxAndy/Katana,HongJunRen/katanaproject,abrodersen/katana,tomi85/Microsoft.Owin,abrodersen/katana,eocampo/KatanaProject301,eocampo/KatanaProject301,PxAndy/Katana,HongJunRen/katanaproject,HongJunRen/katanaproject,abrodersen/katana,abrodersen/katana,evicertia/Katana,PxAndy/Kat...
src/Microsoft.Owin.Diagnostics/WelcomePageMiddleware.cs
src/Microsoft.Owin.Diagnostics/WelcomePageMiddleware.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Owin.Diagnostics.Views; namespace Microsoft.Owin.Diagnostics { using AppFunc = Func<ID...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Owin.Diagnostics.Views; namespace Microsoft.Owin.Diagnostics { using AppFunc = Func<ID...
apache-2.0
C#
659b95cf43083b7115cdf74c4bbeb0e87771bba4
update expec. response for generated iframe
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
test/StockportWebappTests/Unit/Parsers/FormBuilderParserTests.cs
test/StockportWebappTests/Unit/Parsers/FormBuilderParserTests.cs
using FluentAssertions; using StockportWebapp.Parsers; using Xunit; namespace StockportWebappTests_Unit.Unit.Parsers { public class FormBuilderTagParserTests { private readonly FormBuilderTagParser _parser; public FormBuilderTagParserTests() { _parser = new FormBuilderTagPa...
using FluentAssertions; using StockportWebapp.Parsers; using Xunit; namespace StockportWebappTests_Unit.Unit.Parsers { public class FormBuilderTagParserTests { private readonly FormBuilderTagParser _parser; public FormBuilderTagParserTests() { _parser = new FormBuilderTagPa...
mit
C#
b1bf6fa8b0a10770d6b404c6ded0a6b0853bc3d7
Remove unnecessary code
Ninputer/VBF
src/Compilers/Compilers.Common/CompilationErrorList.cs
src/Compilers/Compilers.Common/CompilationErrorList.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VBF.Compilers { public class CompilationErrorList : IReadOnlyList<CompilationError> { private List<CompilationError> m_errors; pri...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VBF.Compilers { public class CompilationErrorList : IReadOnlyList<CompilationError> { private List<CompilationError> m_errors; pri...
apache-2.0
C#
10030c49883600910266f31cf4927629c726b745
Check for null argument
arthot/xsp,murador/xsp,stormleoxia/xsp,murador/xsp,murador/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,stormleoxia/xsp,arthot/xsp,murador/xsp
src/Mono.WebServer.FastCgi/Server/FakeGenericServer.cs
src/Mono.WebServer.FastCgi/Server/FakeGenericServer.cs
// // OnDemandServer.cs // // Author: // Leonardo Taglialegne <leonardo.taglialegne@gmail.com> // // Copyright (c) 2013 Leonardo Taglialegne. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the So...
// // OnDemandServer.cs // // Author: // Leonardo Taglialegne <leonardo.taglialegne@gmail.com> // // Copyright (c) 2013 Leonardo Taglialegne. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the So...
mit
C#
01871952854d85d080de51390df533f3ddbc4a21
Add PaymentIntent to filter lists of Disputes
stripe/stripe-dotnet
src/Stripe.net/Services/Disputes/DisputeListOptions.cs
src/Stripe.net/Services/Disputes/DisputeListOptions.cs
namespace Stripe { using Newtonsoft.Json; /// <summary> /// The optional arguments you can pass. <a href="https://stripe.com/docs/api#list_disputes">Stripe Documentation</a>. /// </summary> public class DisputeListOptions : ListOptionsWithCreated { /// <summary> /// Only return ...
namespace Stripe { using Newtonsoft.Json; /// <summary> /// The optional arguments you can pass. <a href="https://stripe.com/docs/api#list_disputes">Stripe Documentation</a>. /// </summary> public class DisputeListOptions : ListOptionsWithCreated { /// <summary> /// Only return ...
apache-2.0
C#
9120c1db75288649291a1baed7bada2ab5e72521
Add logs to show what is happening when processing Foscam
chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp
src/FoscamCamera.cs
src/FoscamCamera.cs
using System; using System.IO; using System.Text.RegularExpressions; namespace Cams { public class FoscamCamera : Camera { public override void Process(string outputDir) { Console.WriteLine($"{Name} (Foscam): {RawFilePath}"); var files = Directory.GetFiles(Path.Combine(RawFilePath, "record"), "*.mkv"); ...
using System; using System.IO; using System.Text.RegularExpressions; namespace Cams { public class FoscamCamera : Camera { public override void Process(string outputDir) { var files = Directory.GetFiles(Path.Combine(RawFilePath, "record"), "*.mkv"); foreach (string file in files) { ProcessFile(fil...
mit
C#
23a8142c688ca2c551155916f14638cd3cda3f15
Update 20180327.LuckWheelManager.cs
twilightspike/cuddly-disco,twilightspike/cuddly-disco
main/20180327.LuckWheelManager.cs
main/20180327.LuckWheelManager.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; public class LuckWheelManager: MonoBehaviour{ /*stuffset*/ private bool _beStarted; private float[] _angleSector; private float _angleFinal; private float _angleBegin; private float _lerpRotateTim...
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; public class LuckWheelManager: MonoBehaviour{ /*stuffset*/ private bool _beStarted; private float[] _angleSector; private float _angleFinal; private float _angleBegin; private float _lerpRotateTim...
mit
C#
2fafe65fb024cac8f8953afc16026e129141ff7f
add sealed modifier for StringParser
acple/ParsecSharp
ParsecSharp/Parser/Text/Implementations/PrimitiveParser.String.cs
ParsecSharp/Parser/Text/Implementations/PrimitiveParser.String.cs
using System; using System.Linq; namespace ParsecSharp.Internal.Parsers { internal sealed class StringParser : PrimitiveParser<char, string> { private readonly string _text; private readonly StringComparison _comparison; public StringParser(string text, StringComparison comparison) ...
using System; using System.Linq; namespace ParsecSharp.Internal.Parsers { internal class StringParser : PrimitiveParser<char, string> { private readonly string _text; private readonly StringComparison _comparison; public StringParser(string text, StringComparison comparison) {...
mit
C#
a3b3361b0f67f5c75db023765031c4e544d01047
Revert "WIP #AG377 - Ignore another test to try and fix hanging tests"
csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil
Tests/Agiil.Tests.Web/Services/ApplicationBaseUriProviderTests.cs
Tests/Agiil.Tests.Web/Services/ApplicationBaseUriProviderTests.cs
using System; using System.Web; using System.Web.Mvc; using Agiil.Web.Services; using Moq; using NUnit.Framework; namespace Agiil.Tests.Web.Services { [TestFixture,Parallelizable] public class ApplicationBaseUriProviderTests { [Test] public void GetBaseUri_returns_root_of_the_domain_when_the_request_has...
using System; using System.Web; using System.Web.Mvc; using Agiil.Web.Services; using Moq; using NUnit.Framework; namespace Agiil.Tests.Web.Services { [TestFixture,Parallelizable] public class ApplicationBaseUriProviderTests { [Test] public void GetBaseUri_returns_root_of_the_domain_when_the_request_has...
mit
C#
9e5030c5f7799d6da704702e0bafaa855997ddc5
Allow ObjectStacks with no upper limit of cached objects.
smoogipooo/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,naoey/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,naoey/osu-framework,Tom94/osu-framework,...
osu.Framework/Allocation/ObjectStack.cs
osu.Framework/Allocation/ObjectStack.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; namespace osu.Framework.Allocation { public class ObjectStack<T> where T : new() { private int max...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; namespace osu.Framework.Allocation { public class ObjectStack<T> where T : new() { private int max...
mit
C#
379971578dbc7cdc80c352ae35a46d0025602784
Remove culling notice from HasEffect
NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu
osu.Game/Beatmaps/Timing/BreakPeriod.cs
osu.Game/Beatmaps/Timing/BreakPeriod.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Screens.Play; namespace osu.Game.Beatmaps.Timing { public class BreakPeriod { /// <summary> /// The minimum duration required for...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Screens.Play; namespace osu.Game.Beatmaps.Timing { public class BreakPeriod { /// <summary> /// The minimum duration required for...
mit
C#
9803e63e6f0c9a2a14f6427c9faafb629c5ef2ac
Update IPC usage to return `null`
peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/IPC/ArchiveImportIPCChannel.cs
osu.Game/IPC/ArchiveImportIPCChannel.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using osu.Framework.Platform; using osu.Game.Database; namespace osu.Game.IP...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using System.IO; using System.Linq; using System.Threading.Tasks; using osu.Framework.Platform; using osu.Game.Database; namespace osu.Game.IP...
mit
C#
31f3bbcfdfab08cc65ecfb3e40040ef9f618e5b2
Bump nuget id to keep future versions working
Smartrak/Smartrak.Library
FakeDbSet.ContextGenerator/Properties/AssemblyInfo.cs
FakeDbSet.ContextGenerator/Properties/AssemblyInfo.cs
using System.Reflection; 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("Smartrak.EFMockContext")] [assembly: Asse...
using System.Reflection; 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("Smartrak.EFMockContext")] [assembly: Asse...
mit
C#
d3f7dae8ac24961a8b7e9a6fb149461c356ef199
Test Major/Minor versions - Commit 1
ravi-msi/practicegit,ravi-msi/practicegit,ravi-msi/practicegit
PracticeGit/PracticeGit/Controllers/HomeController.cs
PracticeGit/PracticeGit/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; // ADDED FIRST LINE namespace PracticeGit.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; re...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace PracticeGit.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); }...
mit
C#