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
2a76d81f27dcbfb27667de4c4239e7c46000dde6
Fix to convert paragraph tag with single carriage return
mysticmind/reversemarkdown-net
src/ReverseMarkdown/Converters/P.cs
src/ReverseMarkdown/Converters/P.cs
using System; using System.Linq; using HtmlAgilityPack; namespace ReverseMarkdown.Converters { public class P : ConverterBase { public P(Converter converter) : base(converter) { Converter.Register("p", this); } public override string Convert(HtmlNode...
using System; using System.Linq; using HtmlAgilityPack; namespace ReverseMarkdown.Converters { public class P : ConverterBase { public P(Converter converter) : base(converter) { Converter.Register("p", this); } public override string Convert(HtmlNode...
mit
C#
846f6d174e9eec002c75ca5f505a33bc3036462a
Add some fields, I will use some of them (IsServer, IsOwnerClient) when serialize /deserialize some field at client
insthync/LiteNetLibManager,insthync/LiteNetLibManager
Scripts/GameApi/LiteNetLibElement.cs
Scripts/GameApi/LiteNetLibElement.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using LiteNetLib.Utils; namespace LiteNetLibManager { public struct LiteNetLibElementInfo { public uint objectId; public int elementId; public LiteNetLibElementInfo(uint objectId, int elementId) { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using LiteNetLib.Utils; namespace LiteNetLibManager { public struct LiteNetLibElementInfo { public uint objectId; public int elementId; public LiteNetLibElementInfo(uint objectId, int elementId) { ...
mit
C#
f14be4d336f0e466f1cf7ebefbe12f7b0ed6f9f5
Remove done TODO.
DanTup/SimpleSlackBot
SimpleSlackBot/TestBot/Program.cs
SimpleSlackBot/TestBot/Program.cs
using System; using System.Diagnostics; using System.Threading.Tasks; using SimpleSlackBot; using TestBot.Commands; namespace TestBot { class Program { static void Main(string[] args) { Debug.Listeners.Add(new ConsoleTraceListener()); MainAsync(args).Wait(); } static async Task MainAsync(string[] ar...
using System; using System.Diagnostics; using System.Threading.Tasks; using SimpleSlackBot; using TestBot.Commands; namespace TestBot { class Program { static void Main(string[] args) { Debug.Listeners.Add(new ConsoleTraceListener()); MainAsync(args).Wait(); } static async Task MainAsync(string[] ar...
mit
C#
fa711cbb9caa99c52016f57bdf1303caa0223870
make cookie valid cross sessions. (#85)
gyrosworkshop/Wukong,gyrosworkshop/Wukong
Wukong/Controllers/AuthController.cs
Wukong/Controllers/AuthController.cs
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authentication; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Wukong.Models; namespace Wukong.Controllers { ...
using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authentication; using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authentication.OpenIdConnect; using Wukong.Models; namespace Wukong.Controllers { ...
mit
C#
8a503a1cdbdba2a32c378f3d51801ee60f1f4205
Refactor block constructor
ajlopez/BlockchainSharp
Src/BlockchainSharp/Core/Block.cs
Src/BlockchainSharp/Core/Block.cs
namespace BlockchainSharp.Core { using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Linq; using System.Text; using BlockchainSharp.Encoding; using Org.BouncyCastle.Crypto.Digests; public class Block { private stati...
namespace BlockchainSharp.Core { using System; using System.Collections.Generic; using System.Security.Cryptography; using System.Linq; using System.Text; using BlockchainSharp.Encoding; using Org.BouncyCastle.Crypto.Digests; public class Block { BlockHeader h...
mit
C#
24ad06ada22d162c631a98ebcfc3ae7d530e494b
Add XmlnsPrefix attribute
canton7/Stylet,canton7/Stylet
Stylet/Properties/AssemblyInfo.cs
Stylet/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
mit
C#
f501ca1bb6b2c369f80e383db7b519fe7bcdcc3c
Correct Vector Test
alesliehughes/monoDX,alesliehughes/monoDX
Test.Microsoft.DirectX/Vector3.cs
Test.Microsoft.DirectX/Vector3.cs
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 without restriction, including without limitation the rights ...
/* * The MIT License (MIT) * * Copyright (c) 2013 Alistair Leslie-Hughes * * 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 without restriction, including without limitation the rights ...
mit
C#
c5bdf02db3149a62e55e59715ff76488c3aabfad
Add test to verify overwriting of values.
Alan-Lun/git-p3
Test/ConfigurationTests.cs
Test/ConfigurationTests.cs
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.TeamFoundation.Authentication.Test { /// <summary> /// A class to test <see cref="Configuration"/>. /// </summary> [TestClass] public class ConfigurationTests ...
using System; using System.Collections.Generic; using System.IO; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.TeamFoundation.Authentication.Test { /// <summary> /// A class to test <see cref="Configuration"/>. /// </summary> [TestClass] public class ConfigurationTests ...
mit
C#
ae95b0ebe59ad45fd60f0b2f36a4af2d4ae7c520
Update to test
RagtimeWilly/Astro.CQRS
src/Astro.CQRS.Tests/Messaging/CommandQueueSubscriberTests.cs
src/Astro.CQRS.Tests/Messaging/CommandQueueSubscriberTests.cs
 namespace Astro.CQRS.Tests { using System.Collections.Generic; using System.Configuration; using System.Threading; using Astro.CQRS.Messaging; using Moq; using NUnit.Framework; using Serilog; [TestFixture] public class CommandQueueSubscriberTests { [Test, Explicit] ...
 namespace Astro.CQRS.Tests { using System.Collections.Generic; using System.Configuration; using System.Threading; using Astro.CQRS.Messaging; using Moq; using NUnit.Framework; using Serilog; [TestFixture] public class CommandQueueSubscriberTests { [Test, Explicit] ...
mit
C#
21f5514fe11f4ee4c02661134bffbf700e24170d
Delete workaround for a long-fixed editor bug
MichalStrehovsky/roslyn,orthoxerox/roslyn,wvdd007/roslyn,davkean/roslyn,cston/roslyn,AnthonyDGreen/roslyn,weltkante/roslyn,tvand7093/roslyn,gafter/roslyn,eriawan/roslyn,robinsedlaczek/roslyn,weltkante/roslyn,bartdesmet/roslyn,kelltrick/roslyn,CyrusNajmabadi/roslyn,jcouv/roslyn,bartdesmet/roslyn,wvdd007/roslyn,AmadeusW/...
src/EditorFeatures/TestUtilities/TestExtensionErrorHandler.cs
src/EditorFeatures/TestUtilities/TestExtensionErrorHandler.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.Collections.Generic; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Text...
// 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.Collections.Generic; using System.ComponentModel.Composition; using Microsoft.CodeAnalysis.Text; using Microsoft.VisualStudio.Text...
mit
C#
aadcd60694f45e2f5d544a708455688667c437f7
Fix multithreaded test initialisation.
mysql-net/MySqlConnector,mysql-net/MySqlConnector
tests/SideBySide/DatabaseFixture.cs
tests/SideBySide/DatabaseFixture.cs
using System; #if NETCOREAPP1_1_2 using System.Reflection; #endif using System.Threading; using MySql.Data.MySqlClient; namespace SideBySide { public class DatabaseFixture : IDisposable { public DatabaseFixture() { lock (s_lock) { if (!s_isInitialized) { // increase the number of worker thread...
using System; #if NETCOREAPP1_1_2 using System.Reflection; #endif using System.Threading; using MySql.Data.MySqlClient; namespace SideBySide { public class DatabaseFixture : IDisposable { public DatabaseFixture() { // increase the number of worker threads to reduce number of spurious failures from threadpool ...
mit
C#
a26ce25c964205180d0b933e1e5d742b1b2dca22
Rename MemoryHandle PinnedPointer to Pointer and add property HasPointer. (#14604)
wtgodbe/corefx,ViktorHofer/corefx,ptoonen/corefx,mmitche/corefx,BrennanConroy/corefx,ptoonen/corefx,wtgodbe/corefx,ericstj/corefx,Ermiar/corefx,mmitche/corefx,mmitche/corefx,mmitche/corefx,ptoonen/corefx,Jiayili1/corefx,Jiayili1/corefx,Ermiar/corefx,shimingsg/corefx,zhenlan/corefx,ravimeda/corefx,ravimeda/corefx,shimin...
src/Common/src/CoreLib/System/Buffers/MemoryHandle.cs
src/Common/src/CoreLib/System/Buffers/MemoryHandle.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.Runtime; using System.Runtime.InteropServices; namespace System.Buffers { public unsafe struct Mem...
// 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.Runtime; using System.Runtime.InteropServices; namespace System.Buffers { public unsafe struct Mem...
mit
C#
d4d0906459baa3e82c8025171595d8d200e8f977
remove useless member
pascalberger/docfx,hellosnow/docfx,LordZoltan/docfx,superyyrrzz/docfx,hellosnow/docfx,dotnet/docfx,pascalberger/docfx,superyyrrzz/docfx,928PJY/docfx,dotnet/docfx,pascalberger/docfx,hellosnow/docfx,LordZoltan/docfx,LordZoltan/docfx,DuncanmaMSFT/docfx,LordZoltan/docfx,dotnet/docfx,928PJY/docfx,928PJY/docfx,superyyrrzz/do...
src/Microsoft.DocAsCode.Plugins/ProcessingPriority.cs
src/Microsoft.DocAsCode.Plugins/ProcessingPriority.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.Plugins { using System; using System.ComponentModel; public enum ProcessingPriority { NotSupported = -1, ...
// 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.Plugins { using System; using System.ComponentModel; public enum ProcessingPriority { NotSupported = -1, ...
mit
C#
a5c592d903e9e1767c0f4dd8adfc1a37c0790f2d
Add missing EOF whitespace
tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
src/Tgstation.Server.Host/System/IProcessSuspender.cs
src/Tgstation.Server.Host/System/IProcessSuspender.cs
namespace Tgstation.Server.Host.System { /// <summary> /// Abstraction for suspending and resuming processes. /// </summary> interface IProcessSuspender { /// <summary> /// Suspend a given <see cref="Process"/>. /// </summary> /// <param name="process">The <see cref="Process"/> to suspend.</param> void ...
namespace Tgstation.Server.Host.System { /// <summary> /// Abstraction for suspending and resuming processes. /// </summary> interface IProcessSuspender { /// <summary> /// Suspend a given <see cref="Process"/>. /// </summary> /// <param name="process">The <see cref="Process"/> to suspend.</param> void ...
agpl-3.0
C#
a4d52ab0963b29d62d4d5374fc05cd58e1211260
Add function to get deductions from a payrun for a specific employee
KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet
src/keypay-dotnet/ApiFunctions/V2/PayRunDeductionFunction.cs
src/keypay-dotnet/ApiFunctions/V2/PayRunDeductionFunction.cs
using KeyPay.DomainModels.V2.PayRun; using RestSharp; namespace KeyPay.ApiFunctions.V2 { public class PayRunDeductionFunction : BaseFunction { public PayRunDeductionFunction(ApiRequestExecutor api) : base(api) { } public DeductionsResponse List(int businessId, int p...
using KeyPay.DomainModels.V2.PayRun; using RestSharp; namespace KeyPay.ApiFunctions.V2 { public class PayRunDeductionFunction : BaseFunction { public PayRunDeductionFunction(ApiRequestExecutor api) : base(api) { } public DeductionsResponse List(int businessId, int p...
mit
C#
a91253a4fa1a0cdca2720d159da5d49f2392d783
add comments
reaction1989/roslyn,dotnet/roslyn,tannergooding/roslyn,AmadeusW/roslyn,heejaechang/roslyn,dotnet/roslyn,weltkante/roslyn,stephentoub/roslyn,diryboy/roslyn,bartdesmet/roslyn,sharwell/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,MichalStrehovsky/roslyn,MichalStrehovsky/roslyn,CyrusNajmabadi/roslyn,agocke/roslyn,agocke/ro...
src/Features/CSharp/Portable/Completion/KeywordRecommenders/AssemblyKeywordRecommender.cs
src/Features/CSharp/Portable/Completion/KeywordRecommenders/AssemblyKeywordRecommender.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.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAna...
// 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.Threading; using Microsoft.CodeAnalysis.CSharp.Extensions.ContextQuery; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAna...
mit
C#
8aba727248e353d55895299b128774c4c9b2abd3
Use temp path for test
dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,Jim...
src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Infrastructure.HostedServices; namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices...
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Moq; using NUnit.Framework; using Umbraco.Core; using Umbraco.Core.IO; using Umbraco.Core.Logging; using Umbraco.Infrastructure.HostedServices; namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices...
mit
C#
6b93d9c10a9e05b0075af16fc9e68e51753bfe20
Verify proof
Fairlay/FairlayDotNetClient
Program.cs
Program.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FairlaySampleClient { class Program { static void Main(string[] args) { TestClient tc = new TestClient(); Co...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FairlaySampleClient { class Program { static void Main(string[] args) { TestClient tc = new TestClient(); Co...
mit
C#
91fa532907fd5cf1270e64f9bfc16b6407536cd1
Clarify that tax status can apply to all entities
mattgwagner/CertiPay.Payroll.Common
CertiPay.Payroll.Common/SpecialTaxStatus.cs
CertiPay.Payroll.Common/SpecialTaxStatus.cs
using System; using System.Collections.Generic; namespace CertiPay.Payroll.Common { /// <summary> /// Applies a special tax status to an employee, company, earning, or other entity. Can be combined together /// i.e. SpecialTaxStatus.ExemptFromFICA | SpecialTaxStatus.ExemptFromMedicare /// </summary> ...
using System; using System.Collections.Generic; namespace CertiPay.Payroll.Common { /// <summary> /// Applies a special tax status to an employee or company, can be combined together /// i.e. SpecialTaxStatus.ExemptFromFICA | SpecialTaxStatus.ExemptFromMedicare /// </summary> [Flags] public en...
mit
C#
d4badac60f14148750d47f361a6fd831020b5375
Change app to use minified files
yyankov/club-challange,yyankov/club-challange,yyankov/club-challange
ClubChallengeBeta/App_Start/BundleConfig.cs
ClubChallengeBeta/App_Start/BundleConfig.cs
using System.Web; using System.Web.Optimization; namespace ClubChallengeBeta { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new...
using System.Web; using System.Web.Optimization; namespace ClubChallengeBeta { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new...
mit
C#
67a99b580e37f6eb15f9d50873952d9f62868a4c
Update the label we use for issues that need the team's attention. (#621)
tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools
tools/github-issues/Azure.Sdk.Tools.GitHubIssues/Constants.cs
tools/github-issues/Azure.Sdk.Tools.GitHubIssues/Constants.cs
namespace GitHubIssues { internal static class Constants { public static class Labels { public static string NeedsAttention = "needs-team-attention"; public static string CustomerReported = "customer-reported"; public static string Bug = "bug"; pu...
namespace GitHubIssues { internal static class Constants { public static class Labels { public static string NeedsAttention = "needs-attention"; public static string CustomerReported = "customer-reported"; public static string Bug = "bug"; public ...
mit
C#
7bb58c56f41c4c185b6926f360301ae268c2b839
Add Genre model implementation.
TeamYAGNI/LibrarySystem
LibrarySystem/LibrarySystem.Models/Genre.cs
LibrarySystem/LibrarySystem.Models/Genre.cs
// <copyright file="Genre.cs" company="YAGNI"> // All rights reserved. // </copyright> // <summary>Holds implementation of Genre model.</summary> using System.Collections.Generic; namespace LibrarySystem.Models { /// <summary> /// Represent a <see cref="Genre"/> entity model. /// </summary> public cl...
using System.ComponentModel.DataAnnotations; namespace LibrarySystem.Models { public class Genre { public int Id { get; set; } [Required] [MaxLength(50)] public string Name { get; set; } } }
mit
C#
52ede6bb9212a153d1e1183672fe3b66e459a9b7
Add hashing code to bench
furesoft/cecil,joj/cecil,ttRevan/cecil,saynomoo/cecil,sailro/cecil,fnajera-rac-de/cecil,mono/cecil,xen2/cecil,SiliconStudio/Mono.Cecil,jbevain/cecil,gluck/cecil,kzu/cecil,cgourlay/cecil
Mono.Cecil.PE/ByteBufferEqualityComparer.cs
Mono.Cecil.PE/ByteBufferEqualityComparer.cs
// // ByteBufferEqualityComparer.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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 without rest...
// // ByteBufferEqualityComparer.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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 without rest...
mit
C#
aa1997e5e8c4fcbe16fb2fceb351563b58f126dc
Remove warning about hidden versus new
Seddryck/NBi,Seddryck/NBi
NBi.Core/Scalar/Resolver/IScalarResolver.cs
NBi.Core/Scalar/Resolver/IScalarResolver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Resolver { public interface IScalarResolver { object Execute(); } public interface IScalarResolver<T> : IScalarResolver { new T Execute(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Resolver { public interface IScalarResolver { object Execute(); } public interface IScalarResolver<T> : IScalarResolver { T Execute(); ...
apache-2.0
C#
c13aec2bf681bcba6bf095c7e6c1767b2597f3e2
Update test case
wongjiahau/TTAP-UTAR,wongjiahau/TTAP-UTAR
NUnit.Tests2/Test_StartDateEndDateFinder.cs
NUnit.Tests2/Test_StartDateEndDateFinder.cs
using NUnit.Framework; using System; using System.IO; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; namespace NUnit.Tests2 { [TestFixture] public class Test_StartDateEndDateFinder { string input = Helper.RawStringOfTestFile("SampleData-FAM-2017-2ndSem.html"); [...
using NUnit.Framework; using System; using System.IO; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; namespace NUnit.Tests2 { [TestFixture] public class Test_StartDateEndDateFinder { private static string input = "Home\t\t\r\n Log Out \t\r\n \r\nWelcome, LOW KE L...
agpl-3.0
C#
b66b6c29ac7d87fbfa7651f7b9ec89b40a8c3b3d
Fix for relative paths not working.
BenPhegan/NuGet.Extensions
NuGet.Extensions.Tests/Commands/GetTests.cs
NuGet.Extensions.Tests/Commands/GetTests.cs
using System.Linq; using NUnit.Framework; using NuGet.Extensions.Tests.TestObjects; namespace NuGet.Extensions.Tests.Commands { public class RepositoryConfigExecuteTests : GetCommandTestsBase { protected override void SetUpTest() { } [TestCase(@"c:\TestSolution", 2)] p...
using System.Linq; using NUnit.Framework; using NuGet.Extensions.Tests.TestObjects; namespace NuGet.Extensions.Tests.Commands { public class RepositoryConfigExecuteTests : GetCommandTestsBase { protected override void SetUpTest() { } [TestCase(@"c:\TestSolution", 2)] p...
mit
C#
05d7112b5909732f1f7f1685a7381abbdd6d7262
Update required mono version
mono/mono-addins,mono/mono-addins
bot-provisioning/dependencies.csx
bot-provisioning/dependencies.csx
#r "_provisionator/provisionator.dll" using static Xamarin.Provisioning.ProvisioningScript; using System; using System.Linq; Item ("https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2020-02/99/620cf538206fe0f8cd63d76c502149b331f56f51/MonoFramework-MDK-6.12.0.93.macos10.xamarin.universal.pkg", kind: Ite...
#r "_provisionator/provisionator.dll" using static Xamarin.Provisioning.ProvisioningScript; using System; using System.Linq; Item ("https://xamjenkinsartifact.azureedge.net/build-package-osx-mono/2019-06/174/6b4b99e571b94331765170418d875416bf295a4e/MonoFramework-MDK-6.4.0.190.macos10.xamarin.universal.pkg", kind: It...
mit
C#
9100471b1d69dccfda3448a0c51da0ec422bfa9f
fix classifier condition
GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack
MagicdrawMigrator/Correctors/FixCallBehaviorActionCorrector.cs
MagicdrawMigrator/Correctors/FixCallBehaviorActionCorrector.cs
using System.Linq; using System; using EAAddinFramework.Utilities; using TSF_EA =TSF.UmlToolingFramework.Wrappers.EA; using UML = TSF.UmlToolingFramework.UML; namespace MagicdrawMigrator { /// <summary> /// Description of FixCallBehaviorActionCorrector. /// </summary> public class FixCallBehaviorActionCorrector:M...
using System.Linq; using System; using EAAddinFramework.Utilities; using TSF_EA =TSF.UmlToolingFramework.Wrappers.EA; using UML = TSF.UmlToolingFramework.UML; namespace MagicdrawMigrator { /// <summary> /// Description of FixCallBehaviorActionCorrector. /// </summary> public class FixCallBehaviorActionCorrector:M...
bsd-2-clause
C#
26591b838aa62eafc225d96fb3fe598e40f7d6c0
Remove windows long filename prefix
Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Host.Watchdog/WindowsActiveAssemblyDeleter.cs
src/Tgstation.Server.Host.Watchdog/WindowsActiveAssemblyDeleter.cs
using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.InteropServices; namespace Tgstation.Server.Host.Watchdog { /// <summary> /// See <see cref="IActiveAssemblyDeleter"/> for Windows systems /// </summary> sealed class WindowsActiveAssemblyDelete...
using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.IO; using System.Runtime.InteropServices; namespace Tgstation.Server.Host.Watchdog { /// <summary> /// See <see cref="IActiveAssemblyDeleter"/> for Windows systems /// </summary> sealed class WindowsActiveAssemblyDelete...
agpl-3.0
C#
b7ff96eb1f3bafc8f0039879a2ac77e473daf8a1
Add MonoDevelopGtk synchronization context as consumption of Roslyn in VS for Mac uses this context.
tannergooding/roslyn,dotnet/roslyn,Giftednewt/roslyn,CyrusNajmabadi/roslyn,cston/roslyn,ErikSchierboom/roslyn,physhi/roslyn,aelij/roslyn,stephentoub/roslyn,nguerrera/roslyn,bkoelman/roslyn,pdelvo/roslyn,mavasani/roslyn,panopticoncentral/roslyn,KirillOsenkov/roslyn,agocke/roslyn,Hosch250/roslyn,srivatsn/roslyn,gafter/ro...
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.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.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
// 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.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
mit
C#
12394cacf66d8967388b1592da472f1f9200bb72
Add RGB property on MyColor
Verrickt/BsodSimulator
BsodSimulator/Model/MyColor.cs
BsodSimulator/Model/MyColor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Windows.UI; using Windows.UI.Xaml.Media; namespace BsodSimulator.Model { public class MyColor { public string Name { get; private set; } public Bru...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Windows.UI; using Windows.UI.Xaml.Media; namespace BsodSimulator.Model { public class MyColor { public string Name { get; set; } public Brush Brush...
mit
C#
a57443b86c1963b221533702d62dc309f9eab5e1
Add a function; turn pawns ghostly
MoyTW/MTW_AncestorSpirits
Source/MTW_AncestorSpirits/AncestorUtils.cs
Source/MTW_AncestorSpirits/AncestorUtils.cs
using Verse; using RimWorld; using UnityEngine; namespace MTW_AncestorSpirits { public static class AncestorUtils { public static readonly Color spiritColor = new Color(0.95f, 0.87f, 0.93f, .2f); public const int TicksPerInterval = GenDate.TicksPerHour / 10; public const int Intervals...
using Verse; using RimWorld; using UnityEngine; namespace MTW_AncestorSpirits { public static class AncestorUtils { public const int TicksPerInterval = GenDate.TicksPerHour / 10; public const int IntervalsPerDay = GenDate.TicksPerDay / TicksPerInterval; public const int IntervalsPerSea...
mit
C#
cb409496ce0ae53741670f99fc78e75044f77e7b
bump version
shanselman/Fody,ColinDabritzViewpoint/Fody,PKRoma/Fody,distantcam/Fody,ichengzi/Fody,GeertvanHorrik/Fody,Fody/Fody,jasonholloway/Fody,shanselman/Fody,huoxudong125/Fody,shanselman/Fody,furesoft/Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.6.3.0")] [assembly: AssemblyFileVersion("1.6.3.0")]
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.6.2.0")] [assembly: AssemblyFileVersion("1.6.2.0")]
mit
C#
10e8a95f714451c184e68b62374d3cfc5d611db4
fix linux
NickStrupat/ComputerInfo
ComputerInfo/Linux.cs
ComputerInfo/Linux.cs
using System; using System.IO; using System.Linq; namespace NickStrupat { internal static class Linux { public static UInt64 TotalPhysicalMemory => GetBytesFromLine(MemTotalToken); public static UInt64 AvailablePhysicalMemory => GetBytesFromLine(MemFreeToken); public static UInt64 TotalVi...
using System; using System.IO; using System.Linq; namespace NickStrupat { internal static class Linux { public static UInt64 TotalPhysicalMemory => GetBytesFromLine(MemTotalToken); public static UInt64 AvailablePhysicalMemory => GetBytesFromLine(MemFreeToken); public static UInt64 TotalVi...
mit
C#
3746c9c5cf7f72ec1b8faa4c4e8ed12e80a04556
fix in schema generation
namics/TerrificNet,namics/TerrificNet,schaelle/TerrificNet,schaelle/TerrificNet,TerrificNet/TerrificNet,namics/TerrificNet,TerrificNet/TerrificNet,namics/TerrificNet,schaelle/TerrificNet,TerrificNet/TerrificNet,namics/TerrificNet,TerrificNet/TerrificNet,TerrificNet/TerrificNet,schaelle/TerrificNet,schaelle/TerrificNet
TerrificNet.ViewEngine/SchemaProviders/SchemaMergeProvider.cs
TerrificNet.ViewEngine/SchemaProviders/SchemaMergeProvider.cs
using System.Threading.Tasks; using Newtonsoft.Json.Schema; using TerrificNet.ViewEngine.Schema; namespace TerrificNet.ViewEngine.SchemaProviders { public class SchemaMergeProvider : ISchemaProvider { private readonly ISchemaProvider _schemaProvider; private readonly ISchemaProvider _schemaBas...
using System.Threading.Tasks; using Newtonsoft.Json.Schema; using TerrificNet.ViewEngine.Schema; namespace TerrificNet.ViewEngine.SchemaProviders { public class SchemaMergeProvider : ISchemaProvider { private readonly ISchemaProvider _schemaProvider; private readonly ISchemaProvider _schemaBas...
mit
C#
1bfeebaacd8bb38cc0dd53b845f9b7aaf65923a1
fix Upgrade_20221012_ReplaceButtonClass
signumsoftware/framework,signumsoftware/framework
Signum.Upgrade/Upgrades/Upgrade_20221012_ReplaceButtonClass.cs
Signum.Upgrade/Upgrades/Upgrade_20221012_ReplaceButtonClass.cs
using System; using System.IO; using System.Net; using System.Net.Http; namespace Signum.Upgrade.Upgrades; class Upgrade_20221012_ReplaceButtonClass : CodeUpgradeBase { public override string Description => "Replaces badge btn-primary -> badge bg-primary..."; public override void Execute(UpgradeContext uctx)...
using System; using System.IO; using System.Net; using System.Net.Http; namespace Signum.Upgrade.Upgrades; class Upgrade_20221012_ReplaceButtonClass : CodeUpgradeBase { public override string Description => "Replaces btn-primary -> bg-primary and btn-... -> bg-..."; public override void Execute(UpgradeContex...
mit
C#
f9710fbe55a11cac209df320be1cab3165b5ade7
test of moving a pawn up successful
MorganR/wizards-chess,MorganR/wizards-chess
WizardsChess/WizardsChessTest/Movement/MovementPlannerTest1.cs
WizardsChess/WizardsChessTest/Movement/MovementPlannerTest1.cs
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using WizardsChess.Chess; using WizardsChess.Chess.Pieces; using WizardsChess.Movement; namespace WizardsChessTest { [TestClass] public class MovementPlannerTest1 { [TestMethod] public void MovePlannerInitializa...
using System; using System.Collections.Generic; using Microsoft.VisualStudio.TestTools.UnitTesting; using WizardsChess.Chess; using WizardsChess.Chess.Pieces; using WizardsChess.Movement; namespace WizardsChessTest { [TestClass] public class MovementPlannerTest1 { [TestMethod] public void MovePlannerInitializa...
apache-2.0
C#
96f895650dc5eb2ef2e61760f1b7b7e829dca896
add missed _logger.IsEnabled
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
WorkWithTelemetryInDotNET/BillingService/OrderPlacedHandler.cs
WorkWithTelemetryInDotNET/BillingService/OrderPlacedHandler.cs
using JetBrains.Annotations; using NServiceBus; using NServiceBus.Extensions.Diagnostics; using Shared; namespace BillingService; [UsedImplicitly] public partial class OrderPlacedHandler : IHandleMessages<OrderPlaced> { private readonly ILogger<OrderPlacedHandler> _logger; public OrderPlacedHandler(ILogger<O...
using JetBrains.Annotations; using NServiceBus; using NServiceBus.Extensions.Diagnostics; using Shared; namespace BillingService; [UsedImplicitly] public partial class OrderPlacedHandler : IHandleMessages<OrderPlaced> { private readonly ILogger<OrderPlacedHandler> _logger; public OrderPlacedHandler(ILogger<O...
mit
C#
37ab5cfb151d578e91f58320cd75e512d6da0d7c
Fix comment
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/TestDialogViewModel.cs
using System.Windows.Input; using ReactiveUI; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class TestDialogViewModel : DialogViewModelBase<bool> { private NavigationStateViewModel _navigationState; private string _message; public TestDialogViewModel(NavigationStateViewModel navigationState, strin...
using System.Windows.Input; using ReactiveUI; namespace WalletWasabi.Fluent.ViewModels.Dialogs { public class TestDialogViewModel : DialogViewModelBase<bool> { private NavigationStateViewModel _navigationState; private string _message; public TestDialogViewModel(NavigationStateViewModel navigationState, strin...
mit
C#
2a9027cf72eec7f5b71fa34d202dab7fd312980a
Put the addresses in the BCC line
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Jobs/EvaluationDueReminderJob.cs
Battery-Commander.Web/Jobs/EvaluationDueReminderJob.cs
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using FluentEmail.Core; using FluentScheduler; using Serilog; using System; using System.IO; using System.Linq; namespace BatteryCommander.Web.Jobs { public class EvaluationDueReminderJob : IJob { private static readonly ILogger L...
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using FluentEmail.Core; using FluentScheduler; using Serilog; using System; using System.IO; using System.Linq; namespace BatteryCommander.Web.Jobs { public class EvaluationDueReminderJob : IJob { private static readonly ILogger L...
mit
C#
014a30a92f27e89fa17e9006fb48718338bda918
Simplify the AutoSubscribe feature
RadicalFx/Radical.Windows
src/Radical.Windows/Presentation/Boot/Features/AutoSubscribe.cs
src/Radical.Windows/Presentation/Boot/Features/AutoSubscribe.cs
using Microsoft.Extensions.DependencyInjection; using Radical.ComponentModel.Messaging; using Radical.Linq; using Radical.Reflection; using System; using System.Collections.Generic; using System.Linq; namespace Radical.Windows.Presentation.Boot.Features { class AutoSubscribe : IFeature { readonly List...
using Microsoft.Extensions.DependencyInjection; using Radical.ComponentModel.Messaging; using Radical.Linq; using Radical.Reflection; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Radical.Windows.Presentation.Boot.Features { class AutoSubscribe : IFeature { ...
mit
C#
096925012cf2127f3f92c783342ee9bac1134fd4
Update BaseCommitmentOrchestrator.cs
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Orchestrators/BaseCommitmentOrchestrator.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web/Orchestrators/BaseCommitmentOrchestrator.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MediatR; using SFA.DAS.Commitments.Api.Types; using SFA.DAS.Commitments.Api.Types.Commitment; using SFA.DAS.Commitments.Api.Types.Commitment.Types; using SFA.DAS.Commitments.Api.Types.TrainingProgramme; using SFA.DAS....
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MediatR; using SFA.DAS.Commitments.Api.Types; using SFA.DAS.Commitments.Api.Types.Commitment; using SFA.DAS.Commitments.Api.Types.Commitment.Types; using SFA.DAS.Commitments.Api.Types.TrainingProgramme; using SFA.DAS...
mit
C#
1d0761b604ce0f5abafac03f919a0347f0349002
Add a random string to adminEmail when creating account during integration testing to make sure the new account is unique
Jericho/CakeMail.RestClient
Source/CakeMail.RestClient.IntegrationTests/Clients.cs
Source/CakeMail.RestClient.IntegrationTests/Clients.cs
using CakeMail.RestClient.Models; using System; using System.Linq; using System.Threading.Tasks; namespace CakeMail.RestClient.IntegrationTests { public static class ClientsTests { private const int UTC_TIMEZONE_ID = 542; public static async Task ExecuteAllMethods(CakeMailRestClient api, string userKey, long c...
using CakeMail.RestClient.Models; using System; using System.Linq; using System.Threading.Tasks; namespace CakeMail.RestClient.IntegrationTests { public static class ClientsTests { private const int UTC_TIMEZONE_ID = 542; public static async Task ExecuteAllMethods(CakeMailRestClient api, string userKey, long c...
mit
C#
a20806d3a8fa68155caef9ad7bb0d488270c667c
Fix namespace issue in uwp
markmeeus/MarcelloDB
MarcelloDB.uwp/Platform.cs
MarcelloDB.uwp/Platform.cs
using MarcelloDB.Collections; using MarcelloDB.Platform; using MarcelloDB.Storage; using MarcelloDB.uwp.Storage; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; namespace MarcelloDB.uwp { public class Platform : IPlatform ...
using MarcelloDB.Collections; using MarcelloDB.Platform; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; namespace MarcelloDB.uwp { public class Platform : IPlatform { public Storage.IStorageStreamProvider Creat...
mit
C#
8a9ec4b34c83a45e83f0e34ca8c1e0b3a8d7f7cb
update version
IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var buildArtifacts...
apache-2.0
C#
c2d968382df8cd07ac93cdddb65d1e6305760cea
Clean up usings.
sjp/Schematic,sjp/Schematic,sjp/SJP.Schema,sjp/Schematic,sjp/Schematic
src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseIdentifierLengthValidationTests.cs
src/SJP.Schematic.Oracle.Tests/Integration/OracleDatabaseIdentifierLengthValidationTests.cs
using NUnit.Framework; using SJP.Schematic.Core; namespace SJP.Schematic.Oracle.Tests.Integration { [TestFixture] internal sealed class OracleDatabaseIdentifierLengthValidationTests : OracleTest { private IOracleDatabaseIdentifierValidation Validator => new OracleDatabaseIdentifierLengthValidation...
using System; using NUnit.Framework; using System.Data; using Moq; using SJP.Schematic.Core; namespace SJP.Schematic.Oracle.Tests.Integration { [TestFixture] internal class OracleDatabaseIdentifierLengthValidationTests : OracleTest { private IOracleDatabaseIdentifierValidation Validator => new Ora...
mit
C#
0d2921222cbe9e7ed4fba19edb38254466cafcf7
Fix test appveyor
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LMP.Tests/XmlConverterTests.cs
LMP.Tests/XmlConverterTests.cs
using LunaCommon.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace LMP.Tests { [TestClass] public class XmlConverterTests { private static readonly string XmlExamplePath = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "XmlExampleFiles"); [Test...
using LunaCommon.Xml; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; namespace LMP.Tests { [TestClass] public class XmlConverterTests { private static readonly string XmlExamplePath = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "XmlExampleFiles"); [Test...
mit
C#
7181548128339348eac72a8bb90b22c099d1d128
add message saying that all pictures in that category will be deleted too
SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery
AstroPhotoGallery/AstroPhotoGallery/Views/Category/Delete.cshtml
AstroPhotoGallery/AstroPhotoGallery/Views/Category/Delete.cshtml
@model AstroPhotoGallery.Models.Category @{ ViewBag.Title = "Delete Category"; } <div class="container"> <div class="well"> <h2>@ViewBag.Title</h2> <h3 style="color: #e74c3c; text-align: center"> Are you sure you want to delete the below category? <br /> <br...
@model AstroPhotoGallery.Models.Category @{ ViewBag.Title = "Delete Category"; } <div class="container"> <div class="well"> <h2>@ViewBag.Title</h2> <h3 style="color: #e74c3c; text-align: center">Are you sure you want to delete the below category?</h3> <br /> @using (Html.BeginF...
mit
C#
eb26e3aaa9915ce72b4bceb62ab6bd40f1d53975
Make monster ignore enemy bullets
ianlav/EECS393IsaacGameThing,ianlav/EECS393IsaacGameThing,ianlav/EECS393IsaacGameThing
EECS393IsaacGameThing/Assets/Scripts/Characters/Enemy/Monster.cs
EECS393IsaacGameThing/Assets/Scripts/Characters/Enemy/Monster.cs
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody2D))] public class Monster : MonoBehaviour { public float updatesToUpgrade; private float updateClock; public float maxVelocity; //Highest possible speed of monster. Increases as game progresses. public float acceleration; //Ability f...
using UnityEngine; using System.Collections; [RequireComponent(typeof(Rigidbody2D))] public class Monster : MonoBehaviour { public float updatesToUpgrade; private float updateClock; public float maxVelocity; //Highest possible speed of monster. Increases as game progresses. public float acceleration; //Ability f...
apache-2.0
C#
7cb39f212eaa07ad8b45b65c1a733d510cf5275f
refactor interface
Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017
PhotoArtSystem/Data/PhotoArtSystem.Data/IApplicationDbContext.cs
PhotoArtSystem/Data/PhotoArtSystem.Data/IApplicationDbContext.cs
namespace PhotoArtSystem.Data { using System.Data.Entity; using System.Data.Entity.Infrastructure; public interface IApplicationDbContext { DbSet<TEntity> Set<TEntity>() where TEntity : class; DbEntityEntry<TEntity> Entry<TEntity>(TEntity entity) where TEntity ...
namespace PhotoArtSystem.Data { public interface IApplicationDbContext { int SaveChanges(); } }
mit
C#
24803833ac008a506f650237ea6a1d36dc84712f
Add source documentation for history item.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/History/TraktHistoryItem.cs
Source/Lib/TraktApiSharp/Objects/Get/History/TraktHistoryItem.cs
namespace TraktApiSharp.Objects.Get.History { using Attributes; using Enums; using Movies; using Newtonsoft.Json; using Shows; using Shows.Episodes; using Shows.Seasons; using System; /// <summary>A Trakt history item, containing a movie, show, season and / or episode and informati...
namespace TraktApiSharp.Objects.Get.History { using Attributes; using Enums; using Movies; using Newtonsoft.Json; using Shows; using Shows.Episodes; using Shows.Seasons; using System; public class TraktHistoryItem { [JsonProperty(PropertyName = "id")] public int...
mit
C#
a32550a54c9027bc3e46f6f4942f1efd05627e62
Allow preempting queue in dispatcher
rit-sse-mycroft/core
Mycroft/Dispatcher.cs
Mycroft/Dispatcher.cs
using Mycroft.App; using Mycroft.Cmd; using Mycroft.Cmd.Msg; using Mycroft.Server; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Mycroft { public class Dispatcher : ICommand...
using Mycroft.App; using Mycroft.Cmd; using Mycroft.Cmd.Msg; using Mycroft.Server; using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Mycroft { public class Dispatcher : ICommand...
bsd-3-clause
C#
b0bbcf51a2a44e515f563e6075cf0fa99207f66f
Add new method to overwrite TransactionDetail line with a new string.
kenwilcox/BankFileParsers
BankFileParsers/Classes/BaiDetail.cs
BankFileParsers/Classes/BaiDetail.cs
using System.Collections.Generic; namespace BankFileParsers { public class BaiDetail { public string TransactionDetail { get; private set; } public List<string> DetailContinuation { get; internal set; } public BaiDetail(string line) { TransactionDetail = line; ...
using System.Collections.Generic; namespace BankFileParsers { public class BaiDetail { public string TransactionDetail { get; private set; } public List<string> DetailContinuation { get; internal set; } public BaiDetail(string line) { TransactionDetail = line; ...
mit
C#
a685a36011ec8a6ece52e5400c09337d4e178737
Remove redundant SDL_SendAppEvent from IosSurfaceRenderer
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Forms/IosSurfaceRenderer.cs
Bindings/Forms/IosSurfaceRenderer.cs
using System; using System.Threading; using System.Threading.Tasks; using Urho.Forms; using System.Runtime.InteropServices; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using UIKit; [assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))] namespace Urho.Forms { public class IosS...
using System; using System.Threading; using System.Threading.Tasks; using Urho.Forms; using System.Runtime.InteropServices; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using UIKit; [assembly: ExportRendererAttribute(typeof(UrhoSurface), typeof(IosSurfaceRenderer))] namespace Urho.Forms { public class IosS...
mit
C#
eb3f1b398788ac400dbaef518f08c4a57e4c7b72
Revert "Remove unused property"
mstrother/BmpListener
BmpListener/Bgp/OptionalParameter.cs
BmpListener/Bgp/OptionalParameter.cs
using System; using System.Linq; namespace BmpListener.Bgp { public abstract class OptionalParameter { public enum Type : byte { Capabilities = 2 } protected OptionalParameter(ArraySegment<byte> data) { ParameterType = (Type) data.First(); ...
using System; using System.Linq; namespace BmpListener.Bgp { public abstract class OptionalParameter { public enum Type { Capabilities = 2 } protected OptionalParameter(ref ArraySegment<byte> data) { ParameterType = (Type) data.First(); ...
mit
C#
a90024252a1175dab27d99c7633b0123c285b768
fix exception documentation bug
OBeautifulCode/OBeautifulCode.AccountingTime
OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs
OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode. All rights reserved. // </copyright> // -------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode. All rights reserved. // </copyright> // -------------------------------------------------------...
mit
C#
cbd8d9a5523d3da21ee25267e7563673ffd04b27
Fix change Account Apply to public
oskardudycz/EventSourcing.NetCore
Sample/EventSourcing.Sample.Transactions/Domain/Accounts/Account.cs
Sample/EventSourcing.Sample.Transactions/Domain/Accounts/Account.cs
using Domain.Aggregates; using EventSourcing.Sample.Tasks.Contracts.Accounts.Events; using EventSourcing.Sample.Tasks.Contracts.Transactions; using EventSourcing.Sample.Tasks.Contracts.Transactions.Events; using EventSourcing.Sample.Transactions.Domain.Accounts; using System; namespace EventSourcing.Sample.Tasks.Doma...
using Domain.Aggregates; using EventSourcing.Sample.Tasks.Contracts.Accounts.Events; using EventSourcing.Sample.Tasks.Contracts.Transactions; using EventSourcing.Sample.Tasks.Contracts.Transactions.Events; using EventSourcing.Sample.Transactions.Domain.Accounts; using System; namespace EventSourcing.Sample.Tasks.Doma...
mit
C#
81c3c2274f736cbe86ccf258e9a85254368c3d7e
Replace obsolete NavMeshAgent interface fot he newer one
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/Enemy/Action_Patrol.cs
Assets/Scripts/Enemy/Action_Patrol.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Patrol")] public class Action_Patrol : Action { public override void Act(StateController controller) { Act(controller as Enemy_StateController); } public void Act(Enemy_StateController controller) { Patrol(controller); } ...
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Patrol")] public class Action_Patrol : Action { public override void Act(StateController controller) { Act(controller as Enemy_StateController); } public void Act(Enemy_StateController controller) { Patrol(controller); } ...
apache-2.0
C#
8cd0c39c400a211f4dd392a1bc3d816a38d86adb
fix LF to CRLF
GROWrepo/Santa_Inc
Assets/script/monoBehavior/testNPC.cs
Assets/script/monoBehavior/testNPC.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class testNPC : MonoBehaviour, I_NPC { public dialog[] dialogs; public dialog[] getDialogs(GameObject GO) { GO.SendMessage("setCurrent", dialogs, SendMessageOptions.DontRequireReceiver); ...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class testNPC : MonoBehaviour, I_NPC { public dialog[] dialogs; public dialog[] getDialogs(GameObject GO) { GO.SendMessage("setCurrent", dialogs, SendMessageOptions.DontRequireReceiver); ...
mit
C#
af6741d412fdad6c154555963abb84472c6fe84f
Bump version
Yuisbean/WebMConverter,o11c/WebMConverter,nixxquality/WebMConverter
Properties/AssemblyInfo.cs
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("We...
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("We...
mit
C#
72f176b16f1d5027c614b1277c681bb04b7935cb
Bump version
transistor1/SQLFormatterPlugin
Properties/AssemblyInfo.cs
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("SQ...
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("SQ...
bsd-3-clause
C#
703bd707cf3aeeb06010f2b6df9ab5ff846d5856
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Extras.AggregateService
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.AggregateService")]
using System.Reflection; [assembly: AssemblyTitle("Autofac.Extras.Tests.AggregateService")] [assembly: AssemblyDescription("")]
mit
C#
a0026f2510fa861165a0ba610ef6829ecf04f40e
Fix capacity estiminate for StringBuilder
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon/Components/Utils.cs
R7.Epsilon/Components/Utils.cs
// // Utils.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2014-2016 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 Free Software Foundation...
// // Utils.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2014-2016 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 Free Software Foundation...
agpl-3.0
C#
b48def16275378e131ce2ed9157796a7c687eaab
Align SwellSymbolPiece better for rotation.
ZLima12/osu,2yangk23/osu,Drezi126/osu,johnneijzen/osu,ZLima12/osu,peppy/osu-new,DrabWeb/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,peppy/osu,DrabWeb/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,Damnae/osu,smoogipooo/osu,ppy/osu,peppy/osu,nyaamara/osu,naoey/osu,NeoAdonis/osu,UselessToucan/o...
osu.Game.Modes.Taiko/Objects/Drawable/Pieces/SwellSymbolPiece.cs
osu.Game.Modes.Taiko/Objects/Drawable/Pieces/SwellSymbolPiece.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics; using osu.Framework.Graphics; namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces { /// <summary> /// The symbol used for ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Graphics; using osu.Framework.Graphics; namespace osu.Game.Modes.Taiko.Objects.Drawable.Pieces { /// <summary> /// The symbol used for ...
mit
C#
0253123bbcc0b5291683d2f7b5c2c325c1485c8f
Change Issue's ScheduleImpact, CostImpact, and DueAt properties nullable (#8)
plangrid/plangrid-api-net
PlanGrid.Api/Issue.cs
PlanGrid.Api/Issue.cs
// <copyright file="Issue.cs" company="PlanGrid, Inc."> // Copyright (c) 2016 PlanGrid, Inc. All rights reserved. // </copyright> using System; using Newtonsoft.Json; namespace PlanGrid.Api { public class Issue : Record { [JsonProperty("number")] public int Number { get; set; } [...
// <copyright file="Issue.cs" company="PlanGrid, Inc."> // Copyright (c) 2016 PlanGrid, Inc. All rights reserved. // </copyright> using System; using Newtonsoft.Json; namespace PlanGrid.Api { public class Issue : Record { [JsonProperty("number")] public int Number { get; set; } [...
mit
C#
5ebb7c03cd69b48456222549b6c0b5b603ab9bdc
Update documentation
ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp
source/Htc.Vita.Core/Net/FileTransfer.FileTransferProgress.cs
source/Htc.Vita.Core/Net/FileTransfer.FileTransferProgress.cs
namespace Htc.Vita.Core.Net { public abstract partial class FileTransfer { /// <summary> /// Class FileTransferProgress. /// </summary> public class FileTransferProgress { /// <summary> /// Gets or sets the total bytes. /// </summary> ...
namespace Htc.Vita.Core.Net { public abstract partial class FileTransfer { public class FileTransferProgress { public ulong TotalBytes { get; set; } public uint TotalFiles { get; set; } public ulong TransferredBytes { get; set; } public uint Transf...
mit
C#
22e96843046c670e1263fc5146c9e3dbc577e982
Add HasClass extension method for IWebElement
atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata.WebDriverExtras/Extensions/IWebElementExtensions.cs
src/Atata.WebDriverExtras/Extensions/IWebElementExtensions.cs
using System; using System.Linq; using OpenQA.Selenium; namespace Atata { // TODO: Review IWebElementExtensions class. Remove unused methods. public static class IWebElementExtensions { public static WebElementExtendedSearchContext Try(this IWebElement element) { return new Web...
using OpenQA.Selenium; using System; namespace Atata { // TODO: Review IWebElementExtensions class. Remove unused methods. public static class IWebElementExtensions { public static WebElementExtendedSearchContext Try(this IWebElement element) { return new WebElementExtendedSear...
apache-2.0
C#
a99debc5b1db62366e3dbe49ab2655b65fbdc28c
Add CloseAllChannels to ObserverEventDispatcher
SaladbowlCreative/Akka.Interfaced.SlimSocket
core/Akka.Interfaced.SlimSocket.Client/Communicator/Communicator.cs
core/Akka.Interfaced.SlimSocket.Client/Communicator/Communicator.cs
using System.Collections.Generic; using System.Linq; namespace Akka.Interfaced.SlimSocket.Client { public class Communicator { public ChannelFactory ChannelFactory { get; } public IList<IChannel> Channels { get; } public IObserverRegistry ObserverRegistry { get; } public Commu...
using System.Collections.Generic; namespace Akka.Interfaced.SlimSocket.Client { public class Communicator { public ChannelFactory ChannelFactory { get; } public IList<IChannel> Channels { get; } public IObserverRegistry ObserverRegistry { get; } public Communicator() {...
mit
C#
be7628d496da9a3c1a4b02ba0cb77d2ca7ccd0f4
Remove obsolete code
Elders/VSE-FormatDocumentOnSave,segrived/VSE-FormatDocumentOnSave
src/NMSD.VSE-FormatDocumentOnSave/KeyBindingFilterProvider.cs
src/NMSD.VSE-FormatDocumentOnSave/KeyBindingFilterProvider.cs
using System.ComponentModel.Composition; using EnvDTE; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.TextManager.Interop; using Microsoft.Visu...
using System.ComponentModel.Composition; using EnvDTE; using Microsoft.VisualStudio; using Microsoft.VisualStudio.Editor; using Microsoft.VisualStudio.OLE.Interop; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Text.Editor; using Microsoft.VisualStudio.TextManager.Interop; using Microsoft.Visu...
apache-2.0
C#
20717bbff0616c70bcb003c5e3ba0e44cca1cdeb
Convert KeyInfoNodeTest.cs
ravimeda/corefx,ViktorHofer/corefx,gkhanna79/corefx,ptoonen/corefx,marksmeltzer/corefx,MaggieTsang/corefx,jlin177/corefx,rjxby/corefx,YoupHulsebos/corefx,dhoehna/corefx,elijah6/corefx,krytarowski/corefx,stone-li/corefx,wtgodbe/corefx,krk/corefx,fgreinacher/corefx,Ermiar/corefx,YoupHulsebos/corefx,seanshpark/corefx,elij...
src/System.Security.Cryptography.Xml/tests/KeyInfoNodeTest.cs
src/System.Security.Cryptography.Xml/tests/KeyInfoNodeTest.cs
// // KeyInfoNodeTest.cs - NUnit Test Cases for KeyInfoNode // // Author: // Sebastien Pouliot (spouliot@motus.com) // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT licen...
// // KeyInfoNodeTest.cs - NUnit Test Cases for KeyInfoNode // // Author: // Sebastien Pouliot (spouliot@motus.com) // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT licen...
mit
C#
05fefb25e89e2ba36336454624fc7ad98bfaf378
move to version 3.0
WebApiContrib/WebApiContrib.Formatting.Jsonp,WebApiContrib/WebApiContrib.Formatting.Jsonp,puco/WebApiContrib.Formatting.Jsonp,puco/WebApiContrib.Formatting.Jsonp
src/WebApiContrib.Formatting.Jsonp/Properties/AssemblyInfo.cs
src/WebApiContrib.Formatting.Jsonp/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("Web...
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("Web...
mit
C#
3a27814b2447d3be17ab6111334c065b7cc17230
optimize FluentConfigInterceptorResolver
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs
src/WeihanLi.Common/Aspect/FluentConfigInterceptorResolver.cs
using System; using System.Collections.Generic; using WeihanLi.Common.Helpers; namespace WeihanLi.Common.Aspect { public class FluentConfigInterceptorResolver : IInterceptorResolver { public static readonly IInterceptorResolver Instance = new FluentConfigInterceptorResolver(); private FluentC...
using System.Collections.Generic; using WeihanLi.Common.Helpers; namespace WeihanLi.Common.Aspect { public class FluentConfigInterceptorResolver : IInterceptorResolver { public static readonly IInterceptorResolver Instance = new FluentConfigInterceptorResolver(); private FluentConfigIntercept...
mit
C#
57e93464fa9b6623eb2a11b5e7f2ad3af9461228
use property instead of method
lukehoban/JabbR,AAPT/jean0226case1322,yadyn/JabbR,fuzeman/vox,e10/JabbR,SonOfSam/JabbR,yadyn/JabbR,LookLikeAPro/JabbR,M-Zuber/JabbR,lukehoban/JabbR,CrankyTRex/JabbRMirror,meebey/JabbR,e10/JabbR,yadyn/JabbR,huanglitest/JabbRTest2,LookLikeAPro/JabbR,SonOfSam/JabbR,ajayanandgit/JabbR,18098924759/JabbR,AAPT/jean0226case132...
JabbR/Services/ChatNotificationService.cs
JabbR/Services/ChatNotificationService.cs
using System; using JabbR.Models; using JabbR.ViewModels; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Infrastructure; namespace JabbR.Services { public class ChatNotificationService : IChatNotificationService { private readonly IConnectionManager _connectionManager; public ...
using System; using JabbR.Models; using JabbR.ViewModels; using Microsoft.AspNet.SignalR; using Microsoft.AspNet.SignalR.Infrastructure; namespace JabbR.Services { public class ChatNotificationService : IChatNotificationService { private readonly IConnectionManager _connectionManager; public ...
mit
C#
55a7fa76b7f384e395351b8c6dc1197b16ef9513
remove unused code
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
src/DotNetCore.CAP.AzureServiceBus/CAP.AzureServiceBusOptions.cs
src/DotNetCore.CAP.AzureServiceBus/CAP.AzureServiceBusOptions.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.ServiceBus; using Microsoft.Azure.ServiceBus.Primitives; // ReSharper disable once CheckNamespace namespace DotNetCore.CAP { /// <summar...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using Microsoft.Azure.ServiceBus; using Microsoft.Azure.ServiceBus.Primitives; // ReSharper disable once CheckNamespace namespace DotNetCore.CAP { /// <summar...
mit
C#
c4a21ba20f2b043fe2bf7a0af50b57cfccd9e25b
Fix tests
DigDes/SoapCore
src/SoapCore.Tests/ModelBindingFilter/ModelBindingFilterTests.cs
src/SoapCore.Tests/ModelBindingFilter/ModelBindingFilterTests.cs
using System; using System.Collections.Generic; using System.ServiceModel; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SoapCore.Tests.ModelBindingFilter { [TestClass] public class ModelBindingFilterTests { [ClassInitialize] publ...
using System; using System.Collections.Generic; using System.ServiceModel; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace SoapCore.Tests.ModelBindingFilter { [TestClass] public class ModelBindingFilterTests { [ClassInitialize] publ...
mit
C#
7225558ecef5e012aa5291d92a988f55999b88bb
Clean up using statements
patridge/StackGeography,patridge/StackGeography,patridge/StackGeography
StackGeography/geocode.ashx.cs
StackGeography/geocode.ashx.cs
using System.Configuration; using System.Web; using Newtonsoft.Json; using StackGeography.Models; namespace StackGeography { public class geocode : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "application/json"; string location = ...
using System.Collections.Concurrent; using System.IO; using System.Linq; using System.Net; using System.Web; using Newtonsoft.Json; using StackGeography.Models; using System.Data; using System.Data.SqlClient; using System.Configuration; using System.Data.SqlServerCe; namespace StackGeography { public class geocod...
mit
C#
e70dcf5178508ee9559c2eddf4aa7750caf5f5f7
fix bool logic when case testing
picoe/Eto.Parse,picoe/Eto.Parse
Eto.Parse/Parsers/CharSetTerminal.cs
Eto.Parse/Parsers/CharSetTerminal.cs
using System; using System.Linq; using Eto.Parse.Parsers; using System.Collections.Generic; namespace Eto.Parse.Parsers { public class CharSetTerminal : CharTerminal { char[] lookupCharacters; HashSet<char> characterLookup; /// <summary> /// Gets or sets the minimum count of characters before a lookup hash ...
using System; using System.Linq; using Eto.Parse.Parsers; using System.Collections.Generic; namespace Eto.Parse.Parsers { public class CharSetTerminal : CharTerminal { char[] lookupCharacters; HashSet<char> characterLookup; /// <summary> /// Gets or sets the minimum count of characters before a lookup hash ...
mit
C#
668f2e5f1a2a9c605b07f539fd3727f8f32229de
Increment to v1.1.0.0
austins/PasswordHasher
PasswordHasher/Properties/AssemblyInfo.cs
PasswordHasher/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("Password Hasher")] [assembly: Assemb...
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("Password Hasher")] [assembly: Assemb...
apache-2.0
C#
1b27f38c463b8149ee1f3edd1d655a2fca0de71a
fix copy paste
Fody/Scalpel
Tests/ConfigReaderTests.cs
Tests/ConfigReaderTests.cs
using System.Xml.Linq; using NUnit.Framework; [TestFixture] public class ConfigReaderTests { [Test] public void RemoveReferencesNode() { var xElement = XElement.Parse(@" <Scalpel> <RemoveReferences> Foo Bar </RemoveReferences> </Scalpel>"); var moduleWeaver = new ModuleWeaver { Co...
using System.Xml.Linq; using NUnit.Framework; [TestFixture] public class ConfigReaderTests { [Test] public void IncludeAssembliesNode() { var xElement = XElement.Parse(@" <Costura> <RemoveReferences> Foo Bar </RemoveReferences> </Costura>"); var moduleWeaver = new ModuleWeaver { C...
mit
C#
a48d1d235edf663d0cb378f5ae396abe4dd1dce5
Add comments too Live.cd
jappi00/Mittelalter-2D-Game
Assets/Scripts/Player/Live.cs
Assets/Scripts/Player/Live.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; public class Live : MonoBehaviour { public Slider healthbar; //Lebens anzeige public int currentLife; //Anfangs Leben public int minLive; // Minimales Leben Standard = 0 public int maxLive; // Maximales Leben Standard = 100 // Übe...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class Live : MonoBehaviour { public Slider healthbar; //Lebens anzeige public int currentLife; //Anfangs Leben public int minLive; // Minimales Leben Standard = 0 public int maxLive; // Maximales Leben Standard = 100 // Use...
apache-2.0
C#
6e28ffd23fc99c0e6b91645e3174034693b50f06
Fix Clean target in default build to use 'SourceDirectory'.
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
bootstrapping/Build.cs
bootstrapping/Build.cs
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using...
using System; using System.Linq; using Nuke.Common; using Nuke.Common.Git; using Nuke.Common.Tools.GitVersion; using Nuke.Common.Tools.MSBuild; using Nuke.Core; using static Nuke.Common.Tools.DotNet.DotNetTasks; using static Nuke.Common.Tools.MSBuild.MSBuildTasks; using static Nuke.Common.Tools.NuGet.NuGetTasks; using...
mit
C#
4bee952aabf537ba99e5ea310a93735de8f38f2a
Add id for register button
leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Views/Account/Register.cshtml
Joinrpg/Views/Account/Register.cshtml
@using JoinRpg.Web.App_Code; @model JoinRpg.Web.Models.RegisterViewModel @{ ViewBag.Title = "Регистрация"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm("Register", "Account", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken() <h4>Создать аккаунт</h4> <d...
@using JoinRpg.Web.App_Code; @model JoinRpg.Web.Models.RegisterViewModel @{ ViewBag.Title = "Регистрация"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm("Register", "Account", FormMethod.Post, new {@class = "form-horizontal", role = "form"})) { @Html.AntiForgeryToken() <h4>Создать аккаунт</h4> <d...
mit
C#
e21a3afd0bb02a9fe5a5b01599638d80827219d7
Allow overriding page heading, render()
kamsar/Kamsar.WebConsole,kamsar/Kamsar.WebConsole
Kamsar.WebConsole/Html5WebConsole.cs
Kamsar.WebConsole/Html5WebConsole.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; namespace Kamsar.WebConsole { /// <summary> /// Implements a WebConsole that has a basic HTML5 page wrapper on it. /// </summary> public class Html5WebConsole : WebConsole { HttpResponse...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Web.UI; namespace Kamsar.WebConsole { /// <summary> /// Implements a WebConsole that has a basic HTML5 page wrapper on it. /// </summary> public class Html5WebConsole : WebConsole { HttpResponse...
mit
C#
09b1a40f3cce0d9c31bb7d06e4743bf5eaae2019
Use public interface in test app
Microsoft/ApplicationInsights-Xamarin
XamarinTest/XamarinTest.cs
XamarinTest/XamarinTest.cs
using System; using Xamarin.Forms; namespace XamarinTest { public class App : Application { public App () { // The root page of your application MainPage = new ContentPage { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, Children = { new Label { XAlign = Tex...
using System; using Xamarin.Forms; namespace XamarinTest { public class App : Application { public App () { // The root page of your application MainPage = new ContentPage { Content = new StackLayout { VerticalOptions = LayoutOptions.Center, Children = { new Label { XAlign = Tex...
mit
C#
b71c2e15c0fb16f589a88fc4857e84ecac7a2d4f
Bump version
kamil-mrzyglod/Oxygenize
Oxygenize/Properties/AssemblyInfo.cs
Oxygenize/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("Ox...
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("Ox...
mit
C#
bdfd7ee5520b1d603b40d150dbef5db44802eeab
Teste de Envio Secundário
gsmgabriela/Vai-Fundos
VaiFundos/VaiFundos/Program.cs
VaiFundos/VaiFundos/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VaiFundos { class Program { static void Main(string[] args) { //Olá Mundo! } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VaiFundos { class Program { static void Main(string[] args) { } } }
mit
C#
2bc1711b4817c160cdb14cba113a277a8bb436d6
Update AssemblyInfo.cs
DrunkyBard/AnalyzeMe
src/AnalyzeMe/AnalyzeMe.Design.Analyzers/Properties/AssemblyInfo.cs
src/AnalyzeMe/AnalyzeMe.Design.Analyzers/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
mit
C#
9de19027ec1b842fbef2114f0529cf78583a3e67
use internal metrics in sample
DeonHeyns/Metrics.NET,alhardy/Metrics.NET,Liwoj/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,huoxudong125/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,alhardy/Met...
Samples/Metrics.SamplesConsole/Program.cs
Samples/Metrics.SamplesConsole/Program.cs
using System; using Metrics.Samples; using Metrics.Utils; namespace Metrics.SamplesConsole { class Program { static void Main(string[] args) { //Metric.CompletelyDisableMetrics(); Metric.Config .WithHttpEndpoint("http://localhost:1234/") ...
using System; using Metrics.Samples; using Metrics.Utils; namespace Metrics.SamplesConsole { class Program { static void Main(string[] args) { //Metric.CompletelyDisableMetrics(); Metric.Config .WithHttpEndpoint("http://localhost:1234/") ...
apache-2.0
C#
4f8daaba1293c01b94e46dd9abb7e5be00b19861
Fix ExcelViewModel
Zjazure/Joinzjazure,Zjazure/Joinzjazure
Joinzjazure/Models/ExcelViewModel.cs
Joinzjazure/Models/ExcelViewModel.cs
using Joinzjazure.Data; using System; using System.Linq; using System.Runtime.Serialization; namespace Joinzjazure.Models { [DataContract] public class ExcelViewModel { public ExcelViewModel(FormEntity entity) { Gender = entity.Gender; Email = entity.Email; ...
using Joinzjazure.Data; using System; using System.Linq; using System.Runtime.Serialization; namespace Joinzjazure.Models { [DataContract] public class ExcelViewModel { public ExcelViewModel(FormEntity entity) { Gender = entity.Gender; Email = entity.Email; ...
mit
C#
1d9024dff2bf4b7b0ba46b6f862f0717877e0770
add CurrentUserChanged
AlejandroCano/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework,avifatal/framework
Signum.Entities/Basics/IUserEntity.cs
Signum.Entities/Basics/IUserEntity.cs
using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Signum.Entities.Basics { public interface IUserEntity : IEntity { } public static class UserHolder { public static readonly string UserSessionKey = "user";...
using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Signum.Entities.Basics { public interface IUserEntity : IEntity { } public static class UserHolder { public static readonly string UserSessionKey = "user";...
mit
C#
fd4b49e0d5ab086d24225ce69b1a2a267ab4a4d5
Fix remote API load order
TorchAPI/Torch
Torch.Server/Managers/RemoteAPIManager.cs
Torch.Server/Managers/RemoteAPIManager.cs
using NLog; using Sandbox; using Torch.API; using Torch.Managers; using VRage.Dedicated.RemoteAPI; namespace Torch.Server.Managers { public class RemoteAPIManager : Manager { /// <inheritdoc /> public RemoteAPIManager(ITorchBase torchInstance) : base(torchInstance) { ...
using NLog; using Sandbox; using Torch.API; using Torch.Managers; using VRage.Dedicated.RemoteAPI; namespace Torch.Server.Managers { public class RemoteAPIManager : Manager { /// <inheritdoc /> public RemoteAPIManager(ITorchBase torchInstance) : base(torchInstance) { ...
apache-2.0
C#
cf60639e6a5b1909208b0011d628e66e97b2df6e
Complete missing documentation
evilz/sc2replay-csharp,ascendedguard/sc2replay-csharp
Starcraft2.ReplayParser/Difficulty.cs
Starcraft2.ReplayParser/Difficulty.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Difficulty.cs" company="SC2ReplayParser"> // Copyright © 2011 All Rights Reserved // </copyright> // <summary> // Describes the difficulty of a computer AI opponent. // </summ...
namespace Starcraft2.ReplayParser { /// <summary> /// Enumeration of available difficulties for computer players. /// </summary> public enum Difficulty { Unknown, VeryEasy, Easy, Medium, Hard, VeryHard, Insane, } }
mit
C#
f09c2c6ab2134813b4161e743abca3da648a36a0
Fix test failure when BasicAuth tests were first to run
iamjasonp/wcf,imcarolwang/wcf,ericstj/wcf,imcarolwang/wcf,MattGal/wcf,dotnet/wcf,dotnet/wcf,mconnew/wcf,iamjasonp/wcf,StephenBonikowsky/wcf,khdang/wcf,shmao/wcf,imcarolwang/wcf,MattGal/wcf,mconnew/wcf,shmao/wcf,ElJerry/wcf,khdang/wcf,ElJerry/wcf,hongdai/wcf,KKhurin/wcf,hongdai/wcf,StephenBonikowsky/wcf,zhenlan/wcf,mcon...
src/System.Private.ServiceModel/tools/test/SelfHostWcfService/TestResources/BasicAuthResource.cs
src/System.Private.ServiceModel/tools/test/SelfHostWcfService/TestResources/BasicAuthResource.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; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.Serv...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using System.ServiceModel.Description; using System.Serv...
mit
C#
5285c807f70cdc9b17a08df8891f60ca6d7d4258
Add guard methods for Enum Argument OutOfRange check
jnyrup/fluentassertions,jnyrup/fluentassertions,dennisdoomen/fluentassertions,fluentassertions/fluentassertions,fluentassertions/fluentassertions,dennisdoomen/fluentassertions
Src/FluentAssertions/Common/Guard.cs
Src/FluentAssertions/Common/Guard.cs
using System; namespace FluentAssertions.Common { internal static class Guard { public static void ThrowIfArgumentIsNull<T>([ValidatedNotNull] T obj, string paramName) { if (obj is null) { throw new ArgumentNullException(paramName); } ...
using System; namespace FluentAssertions.Common { internal static class Guard { public static void ThrowIfArgumentIsNull<T>([ValidatedNotNull] T obj, string paramName) { if (obj is null) { throw new ArgumentNullException(paramName); } ...
apache-2.0
C#
5d77002f9c3c997d76ffe0c19ed41a5b7f78533d
Add XInput "A" button for jumping
danbolt/ggj-jan-2017
Pumpkin/Assets/Scripts/PlayerJump.cs
Pumpkin/Assets/Scripts/PlayerJump.cs
 using System; using UnityEngine; public class PlayerJump : MonoBehaviour { public Vector3 Force = new Vector3(0f, 2f, 0f); public string Button = "Jump"; public AudioClip[] JumpSounds; private Rigidbody _Rigidbody; private CapsuleCollider _Collider; private AudioSource _AudioSource; private float ColliderHei...
 using System; using UnityEngine; public class PlayerJump : MonoBehaviour { public Vector3 Force = new Vector3(0f, 2f, 0f); public string Button = "Jump"; public AudioClip[] JumpSounds; private Rigidbody _Rigidbody; private CapsuleCollider _Collider; private AudioSource _AudioSource; private float ColliderHei...
mit
C#
a952a2b3cfb17f38f506109b95bd3177eda09e47
Add fake pour buttons in admin
RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast
RightpointLabs.Pourcast.Web/Areas/Admin/Views/Tap/Index.cshtml
RightpointLabs.Pourcast.Web/Areas/Admin/Views/Tap/Index.cshtml
@model IEnumerable<RightpointLabs.Pourcast.Web.Areas.Admin.Models.TapModel> @{ ViewBag.Title = "Index"; } <h2>Taps</h2> @foreach (var tap in Model) { <div class="col-lg-6"> <h3>@tap.Name</h3> @if (null == tap.Keg) { <h4>No Keg On Tap</h4> <hr /> } ...
@model IEnumerable<RightpointLabs.Pourcast.Web.Areas.Admin.Models.TapModel> @{ ViewBag.Title = "Index"; } <h2>Taps</h2> @foreach (var tap in Model) { <div class="col-lg-6"> <h3>@tap.Name</h3> @if (null == tap.Keg) { <h4>No Keg On Tap</h4> <hr /> } ...
mit
C#
f0b3a761ebe0a1eb6e39080eea248b03105adf02
Increase copyright year to 2017 in CommonAssemblyInfo.cs
atata-framework/atata-sample-app-tests
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata Framework")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2017")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Assembly...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata Framework")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Assembly...
apache-2.0
C#
98afd73c04339993652abff4aebb0dcacf456c11
Update project scope in GlobalAssemblyInfo
michael-wolfenden/Polly
src/GlobalAssemblyInfo.cs
src/GlobalAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyProduct("Polly")] [assembly: AssemblyCompany("App vNext")] [assembly: AssemblyDescription("Polly is a library that allows developers to express resilience and transient fault handling policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation and Fallback in a flue...
using System.Reflection; [assembly: AssemblyProduct("Polly")] [assembly: AssemblyCompany("App vNext")] [assembly: AssemblyDescription("Polly is a library that allows developers to express transient exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker in a fluent manner.")] [assem...
bsd-3-clause
C#
294e744002660ef99b99de95ea81a81d99d78629
Fix regex pattern in removing emotes.
Ervie/Homunculus
Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs
Homunculus/MarekMotykaBot/ExtensionsMethods/StringExtensions.cs
using System.Text.RegularExpressions; namespace MarekMotykaBot.ExtensionsMethods { public static class StringExtensions { public static string RemoveRepeatingChars(this string inputString) { string newString = string.Empty; char[] charArray = inputString.ToCharArray(); for (int i = 0; i < charArray.Le...
using System.Text.RegularExpressions; namespace MarekMotykaBot.ExtensionsMethods { public static class StringExtensions { public static string RemoveRepeatingChars(this string inputString) { string newString = string.Empty; char[] charArray = inputString.ToCharArray(); for (int i = 0; i < charArray.Le...
mit
C#
704121a21c81e0cecad802a750c5c437acb801e3
add new stripe Hue settings
kubdotnet/LedControllerEngine
LedControllerEngine/Assets/Effects/Stripes/HueShift/HueShift.cs
LedControllerEngine/Assets/Effects/Stripes/HueShift/HueShift.cs
using System; using System.Collections.Generic; namespace LedControllerEngine.Assets.Effects.Stripes { public class HueShift : IEffect { public string Name { get => "HUE Shift"; } public int ModeNumber { get => 0; } public Guid Id { get => new Guid("46B5B727-0B0A-4ADD-A28A-2B578F1A48F9...
using System; using System.Collections.Generic; namespace LedControllerEngine.Assets.Effects.Stripes { public class HueShift : IEffect { public string Name { get => "HUE Shift"; } public int ModeNumber { get => 0; } public Guid Id { get => new Guid("46B5B727-0B0A-4ADD-A28A-2B578F1A48F9...
mit
C#