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
18daceaa1c05781f8db843034ca7769c507f5938
Change string formatting due to appveyor failing
MrRoundRobin/telegram.bot,TelegramBots/telegram.bot
test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs
test/Telegram.Bot.Tests.Unit/Serialization/ReplyMarkupSerializationTests.cs
using Newtonsoft.Json; using Telegram.Bot.Types.ReplyMarkups; using Xunit; namespace Telegram.Bot.Tests.Unit.Serialization { public class ReplyMarkupSerializationTests { [Theory(DisplayName = "Should serialize request poll keyboard button")] [InlineData(null)] [InlineData("regular")] ...
using Newtonsoft.Json; using Telegram.Bot.Types.ReplyMarkups; using Xunit; namespace Telegram.Bot.Tests.Unit.Serialization { public class ReplyMarkupSerializationTests { [Theory(DisplayName = "Should serialize request poll keyboard button")] [InlineData(null)] [InlineData("regular")] ...
mit
C#
32cf237536e7ce53306b4f52c33d107f4f1c573d
Connect new components
semdiffdotnet/semdiff
SemDiff.Core/SemDiffAnalyzer.cs
SemDiff.Core/SemDiffAnalyzer.cs
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using System; using System.Collections.Immutable; namespace SemDiff.Core { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class SemDiffAnalyzer : DiagnosticAnalyzer { public override ImmutableArray<DiagnosticDescriptor> Sup...
using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using System; using System.Collections.Immutable; namespace SemDiff.Core { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class SemDiffAnalyzer : DiagnosticAnalyzer { public override ImmutableArray<DiagnosticDescriptor> Sup...
mit
C#
dbe4db820adeab5c4d804ccde563f59e043a393c
Switch from short branches to long branches.
OlegAxenow/Method.Injection
Method.Inject/EmitHelper.cs
Method.Inject/EmitHelper.cs
using System; using System.Reflection.Emit; namespace Method.Inject { /// <summary> /// Helper class. Used to simplify frequent operations inside a <see cref="IMethodBuilder"/> implementation. /// </summary> public static class EmitHelper { private const string GetInjectionsName = "GetInjections"; private st...
using System; using System.Reflection.Emit; namespace Method.Inject { /// <summary> /// Helper class. Used to simplify frequent operations inside a <see cref="IMethodBuilder"/> implementation. /// </summary> public static class EmitHelper { private const string GetInjectionsName = "GetInjections"; private st...
mit
C#
fb2509966b5746586034e1c5ad93e488fef2583f
Add a comment about the approach to loading topics
mschray/CalendarHelper
OfficeHoursTopics/run.csx
OfficeHoursTopics/run.csx
using System.Net; using System.Configuration; private static TraceWriter logger; /// Extract the topics from the and topics and experts list so there is one master list /// and topics and experts stay in sync. private static string[] LoadTopics() { string TopicsAndExperts = ConfigurationManager.AppSettings["...
using System.Net; using System.Configuration; private static TraceWriter logger; private static string[] LoadTopics() { string TopicsAndExperts = ConfigurationManager.AppSettings["EXPERTS_LIST"].ToString(); logger.Info($"Got TopicsAndExperts: {TopicsAndExperts}"); // split each topic and expert pa...
mit
C#
7cb615c910e2460f79d106b6684dca0945222882
Revert "Testing to see if the deploy is started when a test fails"
joakimskoog/PagedList
tests/PagedList.Tests/PageMetadataTests.cs
tests/PagedList.Tests/PageMetadataTests.cs
using System; using Xunit; namespace PagedList.Tests { public class PageMetadataTests { [Fact] public void PageNumberIsZero_ArgumentOutOfRangeExceptionIsThrown() { Assert.Throws<ArgumentOutOfRangeException>(() => new PageMetadata(10, 0, 1)); } [Fact] ...
using System; using Xunit; namespace PagedList.Tests { public class PageMetadataTests { [Fact] public void PageNumberIsZero_ArgumentOutOfRangeExceptionIsThrown() { Assert.True(false); // Assert.Throws<ArgumentOutOfRangeException>(() => new PageMetadata(10, 0, 1))...
mit
C#
27eec08c89451c024775946ae08ed46f1b3038d1
Remove testing variables.
jhsaily/UnitySwarms
Scripts/BoidGroupController.cs
Scripts/BoidGroupController.cs
using UnityEngine; using System.Collections; public class BoidGroupController : MonoBehaviour { public GameObject boidPrefab; public int boidCount = 10; public float minDistance = 5.0f; public float maxSubGroupDistance = 25.0f; public float alignmentWeight = 2, cohesionWeight = 1, interGroupSeparationWeight = ...
using UnityEngine; using System.Collections; public class BoidGroupController : MonoBehaviour { public GameObject boidPrefab; public int boidCount = 10; public float minDistance = 5.0f; public float maxSubGroupDistance = 25.0f; public float alignmentWeight = 2, cohesionWeight = 1, interGroupSeparationWeight = ...
apache-2.0
C#
cd2e8e535be14784c7450260dc884d2c142341cd
Update Verification.cs
EasyPost/easypost-csharp,EasyPost/easypost-csharp
EasyPost/Verification.cs
EasyPost/Verification.cs
using System.Collections.Generic; namespace EasyPost { public class Verification : Resource { public bool success { get; set; } public List<Error> errors { get; set; } public List<VerificationDetails> details { get; set; } } }
using System.Collections.Generic; namespace EasyPost { public class Verification : Resource { public bool success { get; set; } public List<Error> errors { get; set; } } }
mit
C#
349f4f1873b6b7e344c4627a5f890fa811763f59
change accesibility
autumn009/TanoCSharpSamples
chap36/ModuleInitializer/ModuleInitializer/Program.cs
chap36/ModuleInitializer/ModuleInitializer/Program.cs
using System; using System.Runtime.CompilerServices; class Program { [ModuleInitializerAttribute] internal static void ModileInitialized() { Console.WriteLine("Modile Initialized"); } static void Main() { Console.WriteLine("Hello World!"); } }
using System; using System.Runtime.CompilerServices; class Program { [ModuleInitializerAttribute] public static void ModileInitialized() { Console.WriteLine("Modile Initialized"); } static void Main() { Console.WriteLine("Hello World!"); } }
mit
C#
745daaa8a4093d4692542e9db9d5d176552ba4e6
fix some bug.
ziyunhx/thrinax
Helper/NChardetHelper.cs
Helper/NChardetHelper.cs
using System; using System.Linq; using System.Text; using Thrinax.Data; namespace Thrinax.Helper { public class NChardetHelper { /// <summary> /// Recog the Encoding from byte array. /// </summary> /// <param name="bytes">the byte array.</param> /// <param name="languag...
using System; using System.Linq; using System.Text; using Thrinax.Data; namespace Thrinax.Helper { public class NChardetHelper { /// <summary> /// Recog the Encoding from byte array. /// </summary> /// <param name="bytes">the byte array.</param> /// <param name="languag...
apache-2.0
C#
87dc1b8040bdb73b1fe69e2297d38d4ada5ef88c
change Biobrick constructors
CyberCRI/Hero.Coli,CyberCRI/Hero.Coli
Assets/Scripts/Inventory/Biobrick.cs
Assets/Scripts/Inventory/Biobrick.cs
using System; using System.Collections; using System.Collections.Generic; public abstract class BioBrick { public enum Type { PROMOTER, RBS, GENE, TERMINATOR, UNKNOWN } protected string _name; protected int _size; protected Type _type; public void setName(string name) { _name = nam...
using System; using System.Collections; using System.Collections.Generic; public abstract class BioBrick { public enum Type { PROMOTER, RBS, GENE, TERMINATOR, UNKNOWN } protected string _name; protected int _size; protected Type _type; public void setName(string name) { _name = nam...
mit
C#
fb0053350f7c532c08b2a2bef4b55228dbc122d3
Add missing semicolon.
bigfont/webapi-cors
CORS/Controllers/ValuesController.cs
CORS/Controllers/ValuesController.cs
using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Cors; namespace CORS.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "This is a CORS request.",...
using System.Collections.Generic; using System.Web.Http; using System.Web.Http.Cors; namespace CORS.Controllers { public class ValuesController : ApiController { // GET api/values public IEnumerable<string> Get() { return new string[] { "This is a CORS request.",...
mit
C#
2dfdbe34fa2cef353eb73a9ff7eb889c3446ba94
Remove unnecessary code
khellang/Middleware,khellang/Middleware
test/ProblemDetails.Tests/Helpers/FormattersExtensions.cs
test/ProblemDetails.Tests/Helpers/FormattersExtensions.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace ProblemDetails.Tests.Helpers { public static class FormattersExtensions { public static IMvcCoreBuilder AddFormatters(this IMvcCoreBuilder mvc) { return mvc.AddJsonOptions(ConfigureJson).AddXm...
using Microsoft.Extensions.DependencyInjection; #if (NETCOREAPP2_1 || NETCOREAPP2_2) using Newtonsoft.Json; #endif namespace ProblemDetails.Tests.Helpers { public static class FormattersExtensions { public static IMvcCoreBuilder AddFormatters(this IMvcCoreBuilder mvc) { #if (NETCOREAPP2_1 || ...
mit
C#
8ec688a33a26aeb3f86cd7ae76f7873af8f22fd5
add fromWebConfig() alias
Pondidum/Stronk,Pondidum/Stronk
src/Stronk/Extensions.cs
src/Stronk/Extensions.cs
namespace Stronk { public static class Extensions { public static void FromAppConfig(this object target) { target.FromAppConfig(new StronkConfiguration()); } public static void FromAppConfig(this object target, IStronkConfiguration configuration, IConfigurationSource configSource = null) { var build...
namespace Stronk { public static class Extensions { public static void FromAppConfig(this object target) { target.FromAppConfig(new StronkConfiguration()); } public static void FromAppConfig(this object target, IStronkConfiguration configuration, IConfigurationSource configSource = null) { var build...
lgpl-2.1
C#
4d2ba17be9c9709950a16271a85649753cdce063
Add test for overflowed by min.
chtoucas/Narvalo.NET,chtoucas/Narvalo.NET
tests/Narvalo.Core.Facts/HashCodeHelpersFacts.cs
tests/Narvalo.Core.Facts/HashCodeHelpersFacts.cs
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo { using System; using Xunit; public static class HashCodeHelpersFacts { [Fact] public static void Combine2_DoesNotThrow_WhenMinOverflowed() =>...
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo { using System; using Xunit; public static class HashCodeHelpersFacts { [Fact] public static void Combine2_DoesNotThrow_WhenOverflowed() => Ha...
bsd-2-clause
C#
e8914cbeef3cca9ed184d3a06efb1b015848766a
Fix typo
seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/Manage/TwoFactorAuthentication.cshtml
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/Manage/TwoFactorAuthentication.cshtml
@model TwoFactorAuthenticationViewModel @{ ViewData["Title"] = "Two-factor authentication"; ViewData.AddActivePage(ManageNavPages.TwoFactorAuthentication); } <h4>@ViewData["Title"]</h4> @if (Model.HasAny2faProviders) { if (Model.Is2faEnabled) { if (Model.RecoveryCodesLeft == 0) { ...
@model TwoFactorAuthenticationViewModel @{ ViewData["Title"] = "Two-factor authentication"; ViewData.AddActivePage(ManageNavPages.TwoFactorAuthentication); } <h4>@ViewData["Title"]</h4> @if (Model.HasAny2faProviders) { if (Model.Is2faEnabled) { if (Model.RecoveryCodesLeft == 0) { ...
mit
C#
e89963503c2175a38a9513244d7eff540ab6c96b
Enumerate IStreakAlgo implementations.
tarzenda/streak
StreakShared/IStreakAlgo.cs
StreakShared/IStreakAlgo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Tarzenda.Streak { public interface IStreakAlgo { StreakResults Calculate(int n, int k); } public static class IStreakAlgoExtensions { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tarzenda.Streak { public interface IStreakAlgo { StreakResults Calculate(int n, int k); } }
bsd-2-clause
C#
8f8b9eeb8eb68d1d65bb1bb8119b6828461ed1dc
Update PageBreakPreview.cs
aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,ma...
Examples/CSharp/Worksheets/Display/PageBreakPreview.cs
Examples/CSharp/Worksheets/Display/PageBreakPreview.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Display { public class PageBreakPreview { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Util...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Display { public class PageBreakPreview { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Refl...
mit
C#
8c430ae117df1d7072e5a064d2494ca8881fd8d6
Fix incorrect namespace for IJenkinsServerManagerFactory
csnate/cctray-jenkins-transport,csnate/cctray-jenkins-transport
JenkinsTransport/Interface/IJenkinsServerManagerFactory.cs
JenkinsTransport/Interface/IJenkinsServerManagerFactory.cs
namespace JenkinsTransport.Interface { public interface IJenkinsServerManagerFactory { IJenkinsServerManager GetInstance(); bool IsServerManagerInitialized { get; set; } } }
using JenkinsTransport.Interface; namespace JenkinsTransport { public interface IJenkinsServerManagerFactory { IJenkinsServerManager GetInstance(); bool IsServerManagerInitialized { get; set; } } }
mit
C#
9fbb266f353df7389b7301045a48447a5bc06e06
Update WrapText.cs
aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as...
Examples/CSharp/Articles/LineBreakTextWrapping/WrapText.cs
Examples/CSharp/Articles/LineBreakTextWrapping/WrapText.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.LineBreakTextWrapping { public class WrapText { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetData...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles.LineBreakTextWrapping { public class WrapText { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Me...
mit
C#
d17a01b6f28f3fb2a1692c17c91ca19d43667fab
Increase version
cap9/EEPhysics,Tunous/EEPhysics
EEPhysics/Properties/AssemblyInfo.cs
EEPhysics/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("EE...
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("EE...
mit
C#
a028436f58e91cc5af3a9c118632f9c3f5e0a4d7
change version
zesus19/hermes.net,sdgdsffdsfff/hermes.net
Arch.CMessaging.Client/Properties/AssemblyInfo.cs
Arch.CMessaging.Client/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("Ar...
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("Ar...
apache-2.0
C#
a552ba2f395d3192e924c689ad83a1d07fa9c026
fix inject
mvvm/rc,mvvm/rc,mvvm/rc
Rc/Rc.Web/Areas/HelpPage/Controllers/HelpController.cs
Rc/Rc.Web/Areas/HelpPage/Controllers/HelpController.cs
using System; using System.Web.Http; using System.Web.Mvc; using Rc.Web.Areas.HelpPage.ModelDescriptions; using Rc.Web.Areas.HelpPage.Models; namespace Rc.Web.Areas.HelpPage.Controllers { /// <summary> /// The controller that will handle requests for the help page. /// </summary> public class HelpContr...
using System; using System.Web.Http; using System.Web.Mvc; using Rc.Web.Areas.HelpPage.ModelDescriptions; using Rc.Web.Areas.HelpPage.Models; namespace Rc.Web.Areas.HelpPage.Controllers { /// <summary> /// The controller that will handle requests for the help page. /// </summary> public class HelpContr...
mit
C#
25746d90b56f649787bad5d8ea04ec437aa263e6
Test fix.
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/ApprenticeshipBulkUploadValidationTestBase.cs
src/SFA.DAS.ProviderApprenticeshipsService.Web.UnitTests/Validation/ApprenticeshipBulkUpload/ApprenticeshipBulkUploadValidationTestBase.cs
using System; using Moq; using NUnit.Framework; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Web.Models; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.BulkUpload; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types; using SFA.DAS.Provi...
using System; using Moq; using NUnit.Framework; using SFA.DAS.ProviderApprenticeshipsService.Domain.Interfaces; using SFA.DAS.ProviderApprenticeshipsService.Web.Models; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.BulkUpload; using SFA.DAS.ProviderApprenticeshipsService.Web.Models.Types; using SFA.DAS.Provi...
mit
C#
86c3d33b32ec6d737fabcd3840017e78ea89b273
remove old analytics stuff
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Dashboard/Areas/admin/Controllers/HomeController.cs
WebAPI.Dashboard/Areas/admin/Controllers/HomeController.cs
using System.Linq; using System.Web.Mvc; using Raven.Client; using WebAPI.Common.Models.Raven.Admin; using WebAPI.Dashboard.Controllers; namespace WebAPI.Dashboard.Areas.admin.Controllers { [Authorize] public class HomeController : RavenController { public HomeController(IDocumentStore store) ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using AutoMapper; using Raven.Client; using WebAPI.Common.Extensions; using WebAPI.Common.Indexes; using WebAPI.Common.Models.Raven.Admin; using WebAPI.Dashboard.Controllers; using WebAPI.Dashboard.Models.ViewModels.Usage; namesp...
mit
C#
d9e3aa6330b7ca47bdb6494649f13a11d205b18e
fix test data creation
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Tools.Test.Database/Model/Tasks/CreateItProjectTask.cs
Tools.Test.Database/Model/Tasks/CreateItProjectTask.cs
using System; using System.Collections.Generic; using System.Linq; using Core.DomainModel; using Core.DomainServices.Factories; using Infrastructure.DataAccess; using Tools.Test.Database.Model.Extensions; namespace Tools.Test.Database.Model.Tasks { public class CreateItProjectTask : DatabaseTask { pri...
using System; using System.Linq; using Core.DomainServices.Factories; using Infrastructure.DataAccess; using Tools.Test.Database.Model.Extensions; namespace Tools.Test.Database.Model.Tasks { public class CreateItProjectTask : DatabaseTask { private readonly string _name; public CreateItProjec...
mpl-2.0
C#
046bd31ac3f1a6d7d2f5f87b1170375a874e771e
fix String -> string
RyotaMurohoshi/unity_snippets
unity/Assets/Scripts/Examples/Data/Data.cs
unity/Assets/Scripts/Examples/Data/Data.cs
using UnityEngine; using System; [Serializable] public class Data { public Data(Color color, string name) { this.color = color; this.name = name; } [SerializeField] Color color; [SerializeField] string name; Vector3 destination; public Color Color { get { return...
using UnityEngine; using System; [Serializable] public class Data { public Data(Color color, string name) { this.color = color; this.name = name; } [SerializeField] Color color; [SerializeField] String name; public Color Color { get { return color; } } public St...
mit
C#
ad8fda6c4b14227334a563966d9424b193191b3a
edit left bar menu
ndrmc/cats,ndrmc/cats,ndrmc/cats
Web/Areas/Logistics/Views/Shared/_AllocationLeftBar.cshtml
Web/Areas/Logistics/Views/Shared/_AllocationLeftBar.cshtml
 <ul class="nav nav-list " > @*<li class="nav-header">Allocation</li> <li><a href="@Url.Action("ApprovedRequisitions", "HubAllocation", new { Area = "Logistics" })"><i class="icon-inbox"></i> Draft Allocations</a></li> <li><a href="@Url.Action("AllocateProjectCode", "Pr...
<nav> <ul class="nav nav-list " > @*<li class="nav-header">Allocation</li> <li><a href="@Url.Action("ApprovedRequisitions", "HubAllocation", new { Area = "Logistics" })"><i class="icon-inbox"></i> Draft Allocations</a></li> <li><a href="@Url.Action("AllocateProjectCode",...
apache-2.0
C#
1f93a649cbb88aa5f54e4627f41c26eaaa90f6f8
Fix ShutdownDotNetAfterServerBuildAttribute to specify a timeout
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/ShutdownDotNetAfterServerBuildAttribute.cs
source/Nuke.Common/CI/ShutdownDotNetAfterServerBuildAttribute.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Execution; using Nuke.Common.Tools.DotNet; namespace Nuke.Common.CI { /// <summary> /// See <...
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using JetBrains.Annotations; using Nuke.Common.Execution; using Nuke.Common.Tools.DotNet; namespace Nuke.Common.CI { /// <summary> /// See <...
mit
C#
4ec63983ad6d0027beca254a8426b818db85cbbe
Improve error message when scripting fk fails
sethreno/schemazen,sethreno/schemazen,Zocdoc/schemazen,ruediger-stevens/schemazen,keith-hall/schemazen
model/ForeignKey.cs
model/ForeignKey.cs
using System; using System.Collections.Generic; using System.Text; namespace model { public class ForeignKey { public bool Check; public List<string> Columns = new List<string>(); public string Name; public string OnDelete; public string OnUpdate; public List<string> RefColumns = new List<stri...
using System.Collections.Generic; using System.Text; namespace model { public class ForeignKey { public bool Check; public List<string> Columns = new List<string>(); public string Name; public string OnDelete; public string OnUpdate; public List<string> RefColumns = new List<string>(); publi...
mit
C#
940c71eaf8f8d82d7cb9e2aa71098ae0b39ff79a
Correct spelling in summary (#975)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Http.Abstractions/IMiddlewareFactory.cs
src/Microsoft.AspNetCore.Http.Abstractions/IMiddlewareFactory.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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Http...
// 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; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Htt...
apache-2.0
C#
5f8e61995cde87520b04774e378b2ed797e5c363
Write properties and constructor for server
wrightg42/tron,It423/tron
Tron/Networking/Server.cs
Tron/Networking/Server.cs
// Server.cs // <copyright file="Server.cs"> This code is protected under the MIT License. </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; namespace Networking { /// <summary> /// A class that acts as a server for a...
// Server.cs // <copyright file="Server.cs"> This code is protected under the MIT License. </copyright> using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Networking { /// <summary> /// A class that acts as a server for a networked game of tron. /// </summary> ...
mit
C#
2ca43745b324d90b7913befdba027a2e538be688
enable tracing in sample api
wikibus/Argolis
src/Examples/TestNancyApp/Bootstrap/Bootstrapper.cs
src/Examples/TestNancyApp/Bootstrap/Bootstrapper.cs
using Nancy; using Nancy.Bootstrapper; using Nancy.Configuration; using Nancy.TinyIoc; namespace TestNancyApp.Bootstrap { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ConfigureApplicationContainer(TinyIoCContainer container) { // don't call base to...
using Nancy; using Nancy.Bootstrapper; using Nancy.Configuration; using Nancy.TinyIoc; namespace TestNancyApp.Bootstrap { public class Bootstrapper : DefaultNancyBootstrapper { protected override void ConfigureApplicationContainer(TinyIoCContainer container) { // don't call base to...
mit
C#
aaf72f65caffa6716d40e081f9cdce5a8f6f9b6c
increase version to 1.0.0-alpha6
bungeemonkee/Utilitron
Utilitron/Properties/AssemblyInfo.cs
Utilitron/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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("Utilitron")] [ass...
using System.Reflection; using System.Resources; 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("Utilitron")] [ass...
mit
C#
1ee533d6a53c4bbf2f8302acdb6a89d619c5aa6c
Add an history to the ScreenManager.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Core/Screens/ScreenManager.cs
Xmas-Hell/Xmas-Hell-Core/Screens/ScreenManager.cs
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XmasHell.Screens { public class ScreenManager { private XmasHell _game; private List<Screen> _screens; private Screen _currentScreen; private Stack<Scr...
using Microsoft.Xna.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace XmasHell.Screens { public class ScreenManager { private XmasHell _game; private List<Screen> _screens; private Screen _currentScreen; private Screen _p...
mit
C#
512edaeaf908ccb72fabb8e44e3a0b042a748af1
Make Archetype Model enumerable to simplify usage, make Fieldsets internal
tomfulton/Archetype,tomfulton/Archetype,imulus/Archetype,imulus/Archetype,kjac/Archetype,kgiszewski/Archetype,kipusoep/Archetype,kipusoep/Archetype,Nicholas-Westby/Archetype,imulus/Archetype,tomfulton/Archetype,kjac/Archetype,kgiszewski/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,kjac/Archetype,Nicholas-We...
app/Umbraco/Umbraco.Archetype/Models/Archetype.cs
app/Umbraco/Umbraco.Archetype/Models/Archetype.cs
using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; namespace Archetype.Umbraco.Models { [JsonObject] public class Archetype : IEnumerable<Fieldset> { [JsonProperty("fieldsets")] internal IEnumerable<Fieldset> Fieldsets { get; set; } public Archetype...
using System.Collections.Generic; using Newtonsoft.Json; namespace Archetype.Umbraco.Models { public class Archetype { [JsonProperty("fieldsets")] public IEnumerable<Fieldset> Fieldsets { get; set; } public Archetype() { Fieldsets = new List<Fieldset>(); } ...
mit
C#
95d3bed5deceba438af28a44a0f471d39c8d5a71
fix uninitialized constants in url test
Wox-launcher/Wox,qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox
Wox.Test/UrlPluginTest.cs
Wox.Test/UrlPluginTest.cs
using NUnit.Framework; using Wox.Infrastructure; using Wox.Plugin.Url; namespace Wox.Test { [TestFixture] public class UrlPluginTest { [Test] public void URLMatchTest() { Constant.Initialize(); var plugin = new Main(); Assert.IsTrue(plugin.IsURL...
using NUnit.Framework; using Wox.Plugin.Url; namespace Wox.Test { [TestFixture] public class UrlPluginTest { [Test] public void URLMatchTest() { var plugin = new Main(); Assert.IsTrue(plugin.IsURL("http://www.google.com")); Assert.IsTrue(plugin.I...
mit
C#
b53bcf7b1711d61210c613c01c7ce65ea576715a
Add equality operators to SizeConstraint
iainx/xwt,mono/xwt,residuum/xwt,antmicro/xwt,steffenWi/xwt,cra0zy/xwt,lytico/xwt,sevoku/xwt,directhex/xwt,hamekoz/xwt,mminns/xwt,akrisiun/xwt,mminns/xwt,hwthomas/xwt,TheBrainTech/xwt
Xwt/Xwt/SizeConstraint.cs
Xwt/Xwt/SizeConstraint.cs
// // SizeConstraint.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // 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 restrictio...
// // SizeConstraint.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. // // 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 restrictio...
mit
C#
5eabaf26ac9ec54c7ae8d4443b3d250fc566c2be
Update SystemState.cs
AreYouFreeBusy/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET,AreYouFreeBusy/AlexaSkillsKit.NET
AlexaSkillsKit.Lib/Speechlet/SystemState.cs
AlexaSkillsKit.Lib/Speechlet/SystemState.cs
// Copyright 2018 Stefan Negritoiu (FreeBusy) and contributors. See LICENSE file for more information. using Newtonsoft.Json.Linq; namespace AlexaSkillsKit.Speechlet { /// <summary> /// https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html#system-object /// </summary> ...
// Copyright 2018 Stefan Negritoiu (FreeBusy) and contributors. See LICENSE file for more information. using Newtonsoft.Json.Linq; namespace AlexaSkillsKit.Speechlet { /// <summary> /// https://developer.amazon.com/docs/custom-skills/request-and-response-json-reference.html#system-object /// </summary> ...
mit
C#
767a96c7dcc2fcd7c86d523cad67dd3ea3eba23e
修复EventListener的onClick和ugui 的Scroll冲突
lulersoft/ME_NLua,lulersoft/ME_NLua
Assets/Engine/Script/Event/EventListener.cs
Assets/Engine/Script/Event/EventListener.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.EventSystems; public class EventListener : MonoBehaviour, IEventSystemHandler, IPointerClickHandler, ISubmitHandler// UnityEngine.EventSystems.EventTrigger { public delegate void VoidDelegate (GameObject go); public delegate void...
using UnityEngine; using System.Collections; using UnityEngine.EventSystems; public class EventListener : UnityEngine.EventSystems.EventTrigger { public delegate void VoidDelegate (GameObject go); public VoidDelegate onClick; public VoidDelegate onDown; public VoidDelegate onEnter; public VoidDelegate onExit; pu...
mit
C#
d579f7ba21db4b26976fc4863a03072c13ccac7f
Fix unit tests
mono-soc-2011/banshee,arfbtwn/banshee,stsundermann/banshee,Carbenium/banshee,arfbtwn/banshee,stsundermann/banshee,arfbtwn/banshee,mono-soc-2011/banshee,lamalex/Banshee,Dynalon/banshee-osx,babycaseny/banshee,dufoli/banshee,arfbtwn/banshee,stsundermann/banshee,petejohanson/banshee,arfbtwn/banshee,GNOME/banshee,dufoli/ban...
src/Backends/Banshee.Gio/Banshee.IO.Gio/DemuxVfs.cs
src/Backends/Banshee.Gio/Banshee.IO.Gio/DemuxVfs.cs
// // DemuxVfs.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // 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...
// // DemuxVfs.cs // // Author: // Gabriel Burt <gburt@novell.com> // // Copyright (C) 2009 Novell, Inc. // // 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...
mit
C#
c9d8645341ac3f68d2696427b62cd4c8fd1fe63e
Fix startup import test waiting on potentially incorrect notification type
peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu
osu.Game.Tests/Visual/Navigation/TestSceneStartupImport.cs
osu.Game.Tests/Visual/Navigation/TestSceneStartupImport.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.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Overlays.Notifications; using osu.Game.Tests.Resources; namespace osu.Game.Tests.Vi...
// 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.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Database; using osu.Game.Tests.Resources; namespace osu.Game.Tests.Visual.Navigatio...
mit
C#
4994659622e6098b4077890cb60fda406075b54b
work in progress
KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin,KirillShlenskiy/Kirkin
src/Kirkin.Experimental/Diagnostics/ProcessScope.cs
src/Kirkin.Experimental/Diagnostics/ProcessScope.cs
using System; using System.Diagnostics; using System.Threading; namespace Kirkin.Diagnostics { public sealed class ProcessScope : IDisposable { private readonly EventHandler CurrentDomainExitHandler; private Process _process; public Process Process { get ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Kirkin.Diagnostics { public sealed class ProcessScope : IDisposable { private readonly EventHandler CurrentDomainExitHandler; private Process ...
mit
C#
5c54deddc9159c061b6f29ce9c7ae081c9138ed1
Disable texturing in editor window to hotfix compiler errors ==> make a proper Editor Window later
Saduras/TerrainGeneration,Saduras/TerrainGeneration,Saduras/TerrainGeneration
Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs
Assets/TerrainGeneration/Scripts/Editor/TerrainGeneratorWindow.cs
using UnityEngine; using UnityEditor; using System.Collections; public class TerrainGeneratorWindow : EditorWindow { TerrainGenerator m_generator; TerrainTexturer m_texturer; [MenuItem("Window/TerrainGenerator")] static void Init() { GetWindow<TerrainGeneratorWindow>(); } void OnGUI() { m_generator = (T...
using UnityEngine; using UnityEditor; using System.Collections; public class TerrainGeneratorWindow : EditorWindow { TerrainGenerator m_generator; TerrainTexturer m_texturer; [MenuItem("Window/TerrainGenerator")] static void Init() { GetWindow<TerrainGeneratorWindow>(); } void OnGUI() { m_generator = (T...
mit
C#
c51fead49b0d8af7864b6ef9a5a91936513ac7f0
Update AddingRectangleControl.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,as...
Examples/CSharp/DrawingObjects/Controls/AddingRectangleControl.cs
Examples/CSharp/DrawingObjects/Controls/AddingRectangleControl.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; using System.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingRectangleControl { public static void Main(string[] args) { //ExStart:1 // The path to the documents direc...
using System.IO; using Aspose.Cells; using Aspose.Cells.Drawing; using System.Drawing; namespace Aspose.Cells.Examples.DrawingObjects.Controls { public class AddingRectangleControl { public static void Main(string[] args) { // The path to the documents directory. string...
mit
C#
5f504c8c0c62ebe994d475a7dc1dc4de5b375f18
Make RepositoryBase implement IRepository<TEntity>
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.EntityFrameworkCore/EntityFrameworkCore/Repositories/AbpProjectNameRepositoryBase.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.EntityFrameworkCore/EntityFrameworkCore/Repositories/AbpProjectNameRepositoryBase.cs
using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace AbpCompanyName.AbpProjectName.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <t...
using Abp.Domain.Entities; using Abp.EntityFrameworkCore; using Abp.EntityFrameworkCore.Repositories; namespace AbpCompanyName.AbpProjectName.EntityFrameworkCore.Repositories { /// <summary> /// Base class for custom repositories of the application. /// </summary> /// <typeparam name="TEntity">Entity ...
mit
C#
d81e04e05bfb85e0b62ead68e31e6d160c36d15a
Remove hardcoded string links
pseale/monopoly-dotnet,pseale/monopoly-dotnet
src/MonopolyDotNet/MonopolyWeb/Views/Shared/_Layout.cshtml
src/MonopolyDotNet/MonopolyWeb/Views/Shared/_Layout.cshtml
@using Microsoft.Web.Mvc @using MonopolyWeb.Controllers <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Monopoly</title> @Styles.Render("~/Content/css") @RenderSection("styles", required: false) ...
@using Microsoft.Web.Mvc @using MonopolyWeb.Controllers <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Monopoly</title> @Styles.Render("~/Content/css") @RenderSection("styles", required: false) ...
mit
C#
16636bb95361df08b9be6698035e7b4566c50097
Update FileTransferOptions.cs
A51UK/File-Repository
File-Repository/Enum/FileTransferOptions.cs
File-Repository/Enum/FileTransferOptions.cs
/* * Copyright 2017 Craig Lee Mark Adams Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
/* * Copyright 2017 Criag Lee Mark Adams Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
apache-2.0
C#
470a98943bb687b27d48770e724c745f4f129712
Update TimeConvert.cs
michaeljwebb/Algorithm-Practice
Coderbyte/TimeConvert.cs
Coderbyte/TimeConvert.cs
//Take the num parameter being passed and return the number of hours and minutes the parameter converts to. using System; class MainClass { public static string TimeConvert(int num) { int numHours = num / 60; int numMins = num % 60; return numHours.ToString() + ":" + numMins.ToString(); } stati...
using System; class MainClass { public static string TimeConvert(int num) { int numHours = num / 60; int numMins = num % 60; return numHours.ToString() + ":" + numMins.ToString(); } static void Main() { // keep this function call here Console.WriteLine(TimeConvert(Console.ReadLine())); ...
mit
C#
cc6114b344d168ce9f7b6a08a515e30ceabed4bf
Fix ApproachRate not inheriting OverallDifficulty when it is undefined
ppy/osu,ppy/osu,DrabWeb/osu,peppy/osu,ZLima12/osu,Frontear/osuKyzer,johnneijzen/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,Nabile-Rahmani/osu,UselessToucan/osu,naoey/osu,peppy/osu-new,DrabWeb/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,2yang...
osu.Game/Beatmaps/BeatmapDifficulty.cs
osu.Game/Beatmaps/BeatmapDifficulty.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.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace osu.Game.Beatmaps { public class BeatmapDifficulty { ///...
// 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.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; namespace osu.Game.Beatmaps { public class BeatmapDifficulty { ///...
mit
C#
a6d7641a29a3c13fe6922649552730b1f9090a4a
Add AlmostBiffer for doubles.
DrabWeb/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,default0/osu-framework,paparony03/osu-framew...
osu.Framework/MathUtils/Precision.cs
osu.Framework/MathUtils/Precision.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using System; namespace osu.Framework.MathUtils { public static class Precision { public const float FLOAT_EPSILON = ...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using OpenTK; using System; namespace osu.Framework.MathUtils { public static class Precision { public const float FLOAT_EPSILON = ...
mit
C#
37de313dc61707efe19278a6e143d3df3bef4251
Clean up code and comments in RoslynUnsafe
ErikSchierboom/roslyn,diryboy/roslyn,wvdd007/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,eriawan/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,mavasani/roslyn,tannergooding/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,dotn...
src/Dependencies/Collections/Internal/RoslynUnsafe.cs
src/Dependencies/Collections/Internal/RoslynUnsafe.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.CompilerServices; namespace Microsoft.CodeAnalysis.Collections.Internal { internal static...
// 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.CompilerServices; namespace Microsoft.CodeAnalysis.Collections.Internal { internal static...
mit
C#
e4d0cb94662ed74c8269ea26c971daba1b65f086
Update AssemblyInfo.cs
samtoubia/azure-sdk-for-net,shutchings/azure-sdk-for-net,gubookgu/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,Nilambari/azure-sdk-for-net,jasper-schneider/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,shuagarw/azure-sdk-for-net,mabsimms/azure-sdk-for-net,msfcolombo/azure-sdk-for-net,jhendrixMSFT/azure-sdk-f...
src/SiteRecoveryManagement/Properties/AssemblyInfo.cs
src/SiteRecoveryManagement/Properties/AssemblyInfo.cs
// Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
// Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
mit
C#
9c84e991f6a3c0e3e795a02b3a58d46b442f57af
add comment to Computer class
Vinogradov-Mikhail/semestr3
workTwo/workTwo/Computer.cs
workTwo/workTwo/Computer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Network { /// <summary> /// class realization Сomputer with type of OS and infected of this pc in Local Network /// </summary> public class Computer { /// <summary>...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Network { /// <summary> /// class for Сomuter in Local Network /// </summary> public class Computer { /// <summary> /// OperatingSystem of this PC /...
apache-2.0
C#
e68fe6d8a65f4d9e88f9ef7a1a1edbb95635540e
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
4e929140e1c3ed65733884f9403bf4e6b5e7c536
Fix unit tests after last set of changes
spritely/ReadModel.Sql
ReadModel.Sql.Test/TestReadModelDatabase.cs
ReadModel.Sql.Test/TestReadModelDatabase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestReadModelDatabase.cs"> // Copyright (c) 2015. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestReadModelDatabase.cs"> // Copyright (c) 2015. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. //...
mit
C#
52c2a5045d49d63a1872b0a8bc1519df45a15abb
Convert graph node key to struct
joukevandermaas/saule,bjornharrtell/saule,laurence79/saule,sergey-litvinov-work/saule
Saule/Serialization/ResourceGraphNodeKey.cs
Saule/Serialization/ResourceGraphNodeKey.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Saule.Serialization { internal struct ResourceGraphNodeKey : IEquatable<ResourceGraphNodeKey> { public ResourceGraphNodeKey( ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Saule.Serialization { internal class ResourceGraphNodeKey : IEquatable<ResourceGraphNodeKey> { public ResourceGraphNodeKey( ...
mit
C#
5356fc43d9330f678c41d33143f877c51984c0d6
Fix rendering of unreadable characters in map signs
ethanmoffat/EndlessClient
EOLib/Domain/Map/Sign.cs
EOLib/Domain/Map/Sign.cs
using EOLib.IO.Map; using System.Linq; namespace EOLib.Domain.Map { public class Sign : ISign { public string Title { get; private set; } public string Message { get; private set; } public Sign(SignMapEntity sign) { Title = Filter(sign.Title); Message ...
using EOLib.IO.Map; namespace EOLib.Domain.Map { public class Sign : ISign { public string Title { get; private set; } public string Message { get; private set; } public Sign(SignMapEntity sign) { Title = sign.Title; Message = sign.Message; } ...
mit
C#
b3e197b7702babf92571e2ee367af4577b2be4a2
Fix slow downs.
Eusth/VookaRaylee
VookaRaylee/VRPlugin.cs
VookaRaylee/VRPlugin.cs
using IllusionPlugin; using System; using System.Diagnostics; using System.Linq; using UnityEngine; using VRGIN.Core; using VRGIN.Helpers; using VRGIN.Modes; namespace VookaRaylee { public class VRPlugin : IPlugin { public string Name { get { return "Voo...
using IllusionPlugin; using System; using System.Diagnostics; using System.Linq; using VRGIN.Core; using VRGIN.Helpers; using VRGIN.Modes; namespace VookaRaylee { public class VRPlugin : IPlugin { public string Name { get { return "Vooka Laylee"; ...
mit
C#
890d7f49550d6776b76b690f34d0daa3f511db19
Fix typo in MusicStore.Spa page
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/MusicStore.Spa/Pages/Home.cshtml
src/MusicStore.Spa/Pages/Home.cshtml
@{ ViewBag.Title = "Home Page"; ViewBag.ngApp = "MusicStore.Store"; Layout = "/Views/Shared/_Layout.cshtml"; } @section NavBarItems { <li app-genre-menu></li> @*@Html.InlineData("GenreMenuList", "GenresApi")*@ } <div ng-view></div> @*@Html.InlineData("MostPopular", "AlbumsApi")*@ @section Scripts { ...
@{ ViewBag.Title = "Home Page"; ViewBag.ngApp = "MusicStore.Store"; Layout = "/Views/Shared/_Layout.cshtml"; } @section NavBarItems { <li app-genre-menu></li> @*@Html.InlineData("GenreMenuList", "GenresApi")*@ } <div ng-view></div> @*@Html.InlineData("MostPopular", "AlbumsApi")*@ @section Scripts { ...
apache-2.0
C#
a958385905d64d23e7fbc5778c163b5fda717b27
Introduce a bug to prove out CI integration.
plioi/parsley
src/Parsley.Test/GrammarRuleTests.cs
src/Parsley.Test/GrammarRuleTests.cs
using System.Linq; using Should; namespace Parsley { public class GrammarRuleTests : Grammar { public void CanDefineMutuallyRecursiveRules() { var tokens = new CharLexer().Tokenize("(A)"); var expression = new GrammarRule<string>(); var alpha = new GrammarRu...
using System.Linq; using Should; namespace Parsley { public class GrammarRuleTests : Grammar { public void CanDefineMutuallyRecursiveRules() { var tokens = new CharLexer().Tokenize("(A)"); var expression = new GrammarRule<string>(); var alpha = new GrammarRu...
mit
C#
be49e839b23ca9e02a1c44eebc3815e23a46f5d4
Fix broken test
jacobdufault/fullserializer,Ksubaka/fullserializer,jacobdufault/fullserializer,shadowmint/fullserializer,shadowmint/fullserializer,jagt/fullserializer,shadowmint/fullserializer,Ksubaka/fullserializer,jagt/fullserializer,jacobdufault/fullserializer,Ksubaka/fullserializer,jagt/fullserializer
Testing/RuntimeTests/Providers/PropertiesProvider.cs
Testing/RuntimeTests/Providers/PropertiesProvider.cs
using System; using System.Collections.Generic; using FullSerializer; public class PropertiesProvider : TestProvider<object> { public struct PublicGetPublicSet { public PublicGetPublicSet(int value) : this() { Value = value; } public int Value { get; set; } } public struct PrivateGetPubli...
using FullSerializer; using System; using System.Collections.Generic; public class PropertiesProvider : TestProvider<object> { public struct PublicGetPublicSet { public PublicGetPublicSet(int value) : this() { Value = value; } public int Value { get; set; } } public struct PrivateGetPubli...
mit
C#
6c109560f102598453a2f43e4bc538a67f0f1777
Add timer constant
vlastikcz/wallpaper-monster,vlastikcz/wallpaper-monster
WallpaperChangerApplication/WallpaperChangerTimer.cs
WallpaperChangerApplication/WallpaperChangerTimer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Timers; namespace WallpaperChangerApplication { class WallpaperChangerTimer { private const Double MILLISECONDS_IN_A_HOUR = 3600000; private WallpaperChangerService...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Timers; namespace WallpaperChangerApplication { class WallpaperChangerTimer { private WallpaperChangerService wallpaperChangerService; private Timer timer; ...
mit
C#
02f7958446bbfd06e14642c20f41d1596d96ba97
Fix usage of AddAll
jvanzyl/antlr4,Distrotech/antlr4,hce/antlr4,Distrotech/antlr4,joshids/antlr4,worsht/antlr4,supriyantomaftuh/antlr4,chandler14362/antlr4,cooperra/antlr4,krzkaczor/antlr4,ericvergnaud/antlr4,mcanthony/antlr4,krzkaczor/antlr4,krzkaczor/antlr4,supriyantomaftuh/antlr4,cooperra/antlr4,wjkohnen/antlr4,joshids/antlr4,antlr/ant...
Antlr4.Runtime/Atn/OrderedATNConfigSet.cs
Antlr4.Runtime/Atn/OrderedATNConfigSet.cs
/* * [The "BSD license"] * Copyright (c) 2013 Terence Parr * Copyright (c) 2013 Sam Harwell * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code...
/* * [The "BSD license"] * Copyright (c) 2013 Terence Parr * Copyright (c) 2013 Sam Harwell * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code...
bsd-3-clause
C#
67b2cfca87449f47ee9d8690de48a0f1cab00dc2
add enum for stating whether the targetType can hit multiple targets
lizard-entertainment/runityscape,Cinnamon18/runityscape
Assets/Scripts/Model/Spells/TargetType.cs
Assets/Scripts/Model/Spells/TargetType.cs
using Scripts.Model.Characters; using Scripts.Model.Pages; using System; using System.Collections.Generic; using System.Linq; namespace Scripts.Model.Spells { /// <summary> /// Whomst a Spell can target. /// </summary> public sealed class TargetType { public readonly string Name; publ...
using Scripts.Model.Characters; using Scripts.Model.Pages; using System; using System.Collections.Generic; using System.Linq; namespace Scripts.Model.Spells { /// <summary> /// Whomst a Spell can target. /// </summary> public sealed class TargetType { public readonly string Name; publ...
mit
C#
4efcfbe1d316c073f06d2996a26a7e4ce73cc6da
Update Font Service to Return Fonts Using CDN When Appropriate
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Services/Themes/FontService.cs
Portal.CMS.Services/Themes/FontService.cs
using Portal.CMS.Entities; using Portal.CMS.Entities.Entities; using Portal.CMS.Services.Settings; using System; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Services.Themes { public interface IFontService { Font Get(int fontId); List<Font> Get(); int Cre...
using Portal.CMS.Entities; using Portal.CMS.Entities.Entities; using System; using System.Collections.Generic; using System.Linq; namespace Portal.CMS.Services.Themes { public interface IFontService { Font Get(int fontId); List<Font> Get(); int Create(string fontName, string fontType...
mit
C#
434599f9ff678bb243d97ee7620e4e1bf83fedd0
Add null checks
RockyTV/Duality.IronPython
CorePlugin/ScriptExecutor.cs
CorePlugin/ScriptExecutor.cs
using System; using System.Collections.Generic; using System.Linq; using Duality; using RockyTV.Duality.Plugins.IronPython.Resources; using IronPython.Hosting; using IronPython.Runtime; using IronPython.Compiler; using Microsoft.Scripting; using Microsoft.Scripting.Hosting; using Duality.Editor; namespace RockyTV....
using System; using System.Collections.Generic; using System.Linq; using Duality; using RockyTV.Duality.Plugins.IronPython.Resources; using IronPython.Hosting; using IronPython.Runtime; using IronPython.Compiler; using Microsoft.Scripting; using Microsoft.Scripting.Hosting; using Duality.Editor; namespace RockyTV....
mit
C#
3ecb49439c89e3633fe1fad0e5113b874072a704
Update reviewer’s comments.
OfficeDev/MAPI-Inspector-for-Fiddler,jiaxiaoyan23/MAPI-Inspector-for-Fiddler,OfficeDev/MAPI-Inspector-for-Fiddler,jiaxiaoyan23/MAPI-Inspector-for-Fiddler
MAPIInspector/MAPIControl.cs
MAPIInspector/MAPIControl.cs
using System.Windows.Forms; using Be.Windows.Forms; namespace MapiInspector { public partial class MAPIControl : UserControl { public MAPIControl() { InitializeComponent(); } public TreeView TreeView1 { get { ...
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; using Be.Windows.Forms; namespace MapiInspector { public partial class MAPIControl : UserControl { publi...
mit
C#
dedb6301021ed3d907c26b7bf119120875649189
Fix a bug about any roles attribute
CodeComb/Extensions,CodeComb/Extensions
src/CodeComb.AspNet.Extensions/Claims/AnyRolesAttribute.cs
src/CodeComb.AspNet.Extensions/Claims/AnyRolesAttribute.cs
using System.Linq; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.ViewFeatures; using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Mvc { public class AnyRolesAttribute : ActionFilterAttribute ...
using System.Linq; using Microsoft.Extensions.DependencyInjection; using Microsoft.AspNet.Mvc.Filters; using Microsoft.AspNet.Mvc.ViewFeatures; using Microsoft.AspNet.Mvc.ModelBinding; using Microsoft.AspNet.Http; namespace Microsoft.AspNet.Mvc { public class AnyRolesAttribute : ActionFilterAttribute ...
apache-2.0
C#
41333d4519770a50827fd1e5e0a30fcdd5f158a9
add proper exception when there is no aggregate root id in state
Elders/Cronus,Elders/Cronus
src/Elders.Cronus/EventStore/LoggingAggregateRepository.cs
src/Elders.Cronus/EventStore/LoggingAggregateRepository.cs
using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; namespace Elders.Cronus.EventStore { public sealed class LoggingAggregateRepository : IAggregateRepository { private readonly IAggregateRepository realDeal; private readonly ILogger<LoggingAggregateRepository> logg...
using Microsoft.Extensions.Logging; using System.Threading.Tasks; namespace Elders.Cronus.EventStore { public sealed class LoggingAggregateRepository : IAggregateRepository { private readonly IAggregateRepository realDeal; private readonly ILogger<LoggingAggregateRepository> logger; p...
apache-2.0
C#
41df269eaf4fc727a7be1e8776b999810b6af1d6
Fix typo in xml docs (#10119)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.cs
src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.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. namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// <summary> /// A factory for producing client errors. This contract is used by controlle...
// 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. namespace Microsoft.AspNetCore.Mvc.Infrastructure { /// <summary> /// A factory for producing client errors. This contract is used by controlle...
apache-2.0
C#
68ada271198144ff8b200e5175ab05bea8ab8480
remove todo
SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments
src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/Program.cs
src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/Program.cs
using System; using SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob.DependencyResolution; using SFA.DAS.NLog.Logger; namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob { // To learn more about Microsoft Azure WebJobs SDK, please see https://go.microsoft.com/fwlink/?LinkID=320976 class Program ...
using System; using SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob.DependencyResolution; using SFA.DAS.NLog.Logger; namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob { // To learn more about Microsoft Azure WebJobs SDK, please see https://go.microsoft.com/fwlink/?LinkID=320976 class Program ...
mit
C#
1abd122f8b0bbae724b4aa766469cea536a93e34
Allow for no header passed.
johnbrunnings/Neat
Neat.Infrastructure.WebApi/Filter/ApiAuthorizationFilter.cs
Neat.Infrastructure.WebApi/Filter/ApiAuthorizationFilter.cs
using System; using System.Linq; using System.Net.Http; using System.Web.Http.Controllers; using System.Web.Http.Filters; using Microsoft.Practices.Unity; using Neat.Infrastructure.Security; namespace Neat.Infrastructure.WebApi.Filter { [AttributeUsage(AttributeTargets.All, Inherited = true)] public class Api...
using System; using System.Linq; using System.Net.Http; using System.Web.Http.Controllers; using System.Web.Http.Filters; using Microsoft.Practices.Unity; using Neat.Infrastructure.Security; namespace Neat.Infrastructure.WebApi.Filter { [AttributeUsage(AttributeTargets.All, Inherited = true)] public class Api...
mit
C#
8eb9df38dbaa89a4044ab6b92f12e96b6fa5a83c
increment assembly version for nuget purposes.
patHyatt/XmppBot-for-HipChat
XmppBot.Common/Properties/AssemblyInfo.cs
XmppBot.Common/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("Xm...
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("Xm...
mit
C#
5839c7aa97ee391266ae22cc87f5ea89a20044a9
add guid to string method to GuidExtensions
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.Foundation/RuntimeExtensions/GuidExtensions.cs
HermaFx.Foundation/RuntimeExtensions/GuidExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HermaFx { public static class GuidExtensions { public static bool TryParse(string input, out Guid result) { try { result = new Guid(input); return true; } catch { } result = default(Guid); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HermaFx { public static class GuidExtensions { public static bool TryParse(string input, out Guid result) { try { result = new Guid(input); return true; } catch { } result = default(Guid); ...
mit
C#
0472d12c3f2ac8f74f889bfa3865453dceb5ad05
Clean up.
ronnieholm/Bugfree.Spo.Cqrs
src/Bugfree.Spo.Cqrs.Core/Commands/CreateFolderPath.cs
src/Bugfree.Spo.Cqrs.Core/Commands/CreateFolderPath.cs
using System.Collections.Generic; using System.Linq; using Microsoft.SharePoint.Client; namespace Bugfree.Spo.Cqrs.Core.Commands { public class CreateFolderPath : Command { public CreateFolderPath(ILogger l) : base(l) { } private Folder CreateFolderPathRecursive(Folder f, List<strin...
using Microsoft.SharePoint.Client; using System.Collections.Generic; using System.Linq; namespace Bugfree.Spo.Cqrs.Core.Commands { public class CreateFolderPath : Command { public CreateFolderPath(ILogger l) : base(l) { } private Folder CreateFolderPathRecursive(Folder f, List<strin...
bsd-2-clause
C#
e3abb7f18b2a5b7124227a838ceb95a1ca2b582d
Add Uri Methods
justcool393/RedditSharp-1,angelotodaro/RedditSharp,tomnolan95/RedditSharp,IAmAnubhavSaini/RedditSharp,nyanpasudo/RedditSharp,chuggafan/RedditSharp-1,SirCmpwn/RedditSharp,epvanhouten/RedditSharp,pimanac/RedditSharp,Jinivus/RedditSharp,theonlylawislove/RedditSharp,ekaralar/RedditSharpWindowsStore,CrustyJew/RedditSharp,Ro...
RedditSharp/IWebAgent.cs
RedditSharp/IWebAgent.cs
using System; using System.IO; using System.Net; using Newtonsoft.Json.Linq; namespace RedditSharp { public interface IWebAgent { CookieContainer Cookies { get; set; } string AuthCookie { get; set; } string AccessToken { get; set; } [Obsolete("The Uri implementation of this meth...
using System.IO; using System.Net; using Newtonsoft.Json.Linq; namespace RedditSharp { public interface IWebAgent { CookieContainer Cookies { get; set; } string AuthCookie { get; set; } string AccessToken { get; set; } HttpWebRequest CreateRequest(string url, string method); ...
mit
C#
29940a86f3bfc43c8ff35b01c787cd5c21e458b0
Fix race condition in Exec process output capture
eatdrinksleepcode/casper,eatdrinksleepcode/casper
Core/Exec.cs
Core/Exec.cs
using System.Diagnostics; using System.Text; using System; using Casper.IO; namespace Casper { public class Exec : TaskBase { public string WorkingDirectory { get; set; } public string Executable { get; set; } public string Arguments { get; set; } public override void Execute(IFileSystem fileSystem) { if...
using System.Diagnostics; using System.Text; using System; using Casper.IO; namespace Casper { public class Exec : TaskBase { public string WorkingDirectory { get; set; } public string Executable { get; set; } public string Arguments { get; set; } public override void Execute(IFileSystem fileSystem) { if...
mit
C#
fe470e5b078d0cb873e7d3de26734efcfa39b911
Add comments to main
Onosume/battleships-cli-c-sharp
battleships-cli/battleships-cli/Application/Program.cs
battleships-cli/battleships-cli/Application/Program.cs
// battleships-cli // Program.cs // Author: Matthew Tinn using System; using battleships_cli.Application.GameProcessor; namespace battleships_cli { /// <summary> /// The main application class /// </summary> class Program { /// <summary> /// Main game loop /// </summary> ...
using System; using battleships_cli.Application.GameProcessor; namespace battleships_cli { class Program { static void Main(string[] args) { GameProcessor gameProcessor = new GameProcessor(); gameProcessor.WriteIntro(); while (!gameProcessor.GameOver) ...
mit
C#
8650a58878b9b93712c12899beff7bb10266a4fe
Fix test.
msgpack/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli
test/MsgPack.UnitTest/Serialization/RegressionTests.cs
test/MsgPack.UnitTest/Serialization/RegressionTests.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2015 FUJIWARA, Yusuke // // 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.or...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2015 FUJIWARA, Yusuke // // 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.or...
apache-2.0
C#
312b4c5fb510913d9f0efa3586865b3c50a20b48
sort usings
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/MvcSample/Home2Controller.cs
samples/MvcSample/Home2Controller.cs
using System.Text; using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Mvc; namespace MvcSample { public class Home2Controller { private User _user = new User() { Name = "User Name", Address = "Home Address" }; public Home2Controller(IActionResultHelper actionResultHelper) { ...
using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Mvc; using System.Text; namespace MvcSample { public class Home2Controller { private User _user = new User() { Name = "User Name", Address = "Home Address" }; public Home2Controller(IActionResultHelper actionResultHelper) { ...
apache-2.0
C#
6642b598e4367cb5cc43a5d19c4bf9574a30d606
Remove link to guild list from GuildLayout.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml
MitternachtWeb/Areas/Guild/Views/Shared/_GuildLayout.cshtml
@{ Layout = "_Layout"; ViewData["Title"] = "Guild"; } <div class="row"> <nav class="col-md-3 col-xl-2"> <ul class="nav"> <li class="nav-item"> <a class="nav-link text-dark" asp-area="Guild" asp-controller="Stats" asp-action="Index">Statistiken</a> </li> <li class="nav-item"> <a class="nav-link t...
@{ Layout = "_Layout"; ViewData["Title"] = "Guild"; } <div class="row"> <nav class="col-md-3 col-xl-2"> <ul class="nav"> <li class="nav-item"> <a class="nav-link text-dark" asp-area="" asp-controller="GuildList" asp-action="Index">Übersicht</a> </li> <li class="nav-item"> <a class="nav-link text...
mit
C#
ccc4c12f45541dd5d15c33eaed54844f11c4b292
Remove `SetCompatibiltyVersion(...)` call in sample (#2088)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/ApiAuthSample/Startup.cs
samples/ApiAuthSample/Startup.cs
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using ApiAuthSample.Data; using ApiAuthSample...
using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using ApiAuthSample.Data; using ApiAuthSample...
apache-2.0
C#
53de18a3a03f4dafd8548f4dc80b966f702463a5
Set version 0.10.1
morgen2009/DelegateDecompiler,jaenyph/DelegateDecompiler,hazzik/DelegateDecompiler
src/DelegateDecompiler/Properties/AssemblyInfo.cs
src/DelegateDecompiler/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: Assembly...
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: Assembly...
mit
C#
2a6149dd45853e75df8321c2af0087071b29f322
Fix capturing pasteboard
ksasao/Gochiusearch
src/Gochiusearch.Mac/Views/AcceptDropImageView.cs
src/Gochiusearch.Mac/Views/AcceptDropImageView.cs
using System; using AppKit; using Foundation; using System.Diagnostics; using CoreGraphics; using System.Linq; using CoreAnimation; using System.Security.Policy; namespace Gochiusearch.Mac { [global::Foundation.Register("AcceptDropImageView")] public class AcceptDropImageView : NSImageView { publi...
using System; using AppKit; using Foundation; using System.Diagnostics; using CoreGraphics; using System.Linq; using CoreAnimation; using System.Security.Policy; namespace Gochiusearch.Mac { [global::Foundation.Register("AcceptDropImageView")] public class AcceptDropImageView : NSImageView { publi...
apache-2.0
C#
50bdfa51ea74ad301e5f03cb0b06f847c33d59b5
Remove something that shouldn#t be there...
V10lator/Ultimate-Cam
PlayerController.cs
PlayerController.cs
using UnityEngine; using System.Collections; namespace UltimateCam { public class PlayerController : MonoBehaviour { private float speed; // = 7.0f; private float jumpSpeed; // = 6.0f; private float gravity; // = 20.0f; private Vector3 moveDirection = Vector3.zero; private CharacterController controller; ...
using UnityEngine; using System.Collections; namespace UltimateCam { public class PlayerController : MonoBehaviour { private float speed; // = 7.0f; private float jumpSpeed; // = 6.0f; private float gravity; // = 20.0f; private Vector3 moveDirection = Vector3.zero; private CharacterController controller; ...
mit
C#
dda6cc6ae1fa963bd01c684abd056d2468c02591
Enhance IMoney.
chtoucas/Narvalo.NET,chtoucas/Narvalo.NET
src/Narvalo.Finance/Internal/IMoney.cs
src/Narvalo.Finance/Internal/IMoney.cs
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance.Internal { using System; using Narvalo.Finance.Rounding; // Used internally to ensure that Money and Money<T> are in sync. internal interface IMoney<T> : IEquatab...
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information. namespace Narvalo.Finance.Internal { using System; using Narvalo.Finance.Rounding; // Used internally to ensure that Money and Money<T> are in sync. internal interface IMoney<T> : IEquatab...
bsd-2-clause
C#
ee10dd83c55d6b25dd367a4f7adc441d23b9d18f
Fix ChildrenAttribute
Gibe/Gibe.DittoProcessors
Gibe.DittoProcessors/Processors/ChildrenAttribute.cs
Gibe.DittoProcessors/Processors/ChildrenAttribute.cs
using System.Linq; using Our.Umbraco.Ditto; using Umbraco.Web; namespace Gibe.DittoProcessors.Processors { public class ChildrenAttribute : DittoProcessorAttribute { private readonly string _docTypeAlias; public ChildrenAttribute(string docTypeAlias) { _docTypeAlias = docTypeAlias; } public overrid...
using System.Linq; using Our.Umbraco.Ditto; using Umbraco.Web; namespace Gibe.DittoProcessors.Processors { public class ChildrenAttribute : DittoProcessorAttribute { private readonly string _docTypeAlias; protected ChildrenAttribute(string docTypeAlias) { _docTypeAlias = docTypeAlias; } public over...
mit
C#
7e6eaaa37b5e9b99d9066c6848ff04ab4d5a71a8
Fix Areas property is not deserialized, In the return value of the GetRichMenuListAsync method.
pierre3/LineMessagingApi,pierre3/LineMessagingApi
Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs
Line.Messaging/Messages/RichMenu/ResponseRichMenu.cs
namespace Line.Messaging { /// <summary> /// Rich menu response object. /// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object /// </summary> public class ResponseRichMenu : RichMenu { /// <summary> /// Rich menu ID /// </summary> ...
namespace Line.Messaging { /// <summary> /// Rich menu response object. /// https://developers.line.me/en/docs/messaging-api/reference/#rich-menu-response-object /// </summary> public class ResponseRichMenu : RichMenu { /// <summary> /// Rich menu ID /// </summary> ...
mit
C#
163a7ec79dc76af4c6a7fb746d329d7fb4756095
Fix quick info to not generate models for invalid symbols
terrajobst/nquery-vnext
NQuery.Language.Services/QuickInfo/QuickInfoModel.cs
NQuery.Language.Services/QuickInfo/QuickInfoModel.cs
using NQuery.Language.Symbols; namespace NQuery.Language.VSEditor { public sealed class QuickInfoModel { private readonly SemanticModel _semanticModel; private readonly TextSpan _span; private readonly NQueryGlyph _glyph; private readonly SymbolMarkup _markup; public Qu...
using NQuery.Language.Symbols; namespace NQuery.Language.VSEditor { public sealed class QuickInfoModel { private readonly SemanticModel _semanticModel; private readonly TextSpan _span; private readonly NQueryGlyph _glyph; private readonly SymbolMarkup _markup; public Qu...
mit
C#
db9ac6a96d4d7b6507d610bd2acc87bec6ca4346
Update assembly info and start version at 0.1
ryanewtaylor/snagit-jira-output-accessory,ryanewtaylor/snagit-jira-output-accessory
SnagitJiraOutputAccessory/Properties/AssemblyInfo.cs
SnagitJiraOutputAccessory/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("Sn...
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("Sn...
mit
C#
ffea28db4e70d0f66c689aeb8f93fdd3ea20b6eb
Add parser error messages to SerializedExportedType.
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.DotNet/Serialized/SerializedExportedType.cs
src/AsmResolver.DotNet/Serialized/SerializedExportedType.cs
using System; using System.Collections.Generic; using AsmResolver.Collections; using AsmResolver.DotNet.Collections; using AsmResolver.PE.DotNet.Metadata.Strings; using AsmResolver.PE.DotNet.Metadata.Tables; using AsmResolver.PE.DotNet.Metadata.Tables.Rows; namespace AsmResolver.DotNet.Serialized { /// <summary> ...
using System; using System.Collections.Generic; using AsmResolver.Collections; using AsmResolver.DotNet.Collections; using AsmResolver.PE.DotNet.Metadata.Strings; using AsmResolver.PE.DotNet.Metadata.Tables; using AsmResolver.PE.DotNet.Metadata.Tables.Rows; namespace AsmResolver.DotNet.Serialized { /// <summary> ...
mit
C#
eb418dbe6fe2be1d4a2f34bc40e4e0ada860a053
Handle listener being null BL-4868
BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myB...
src/BloomExe/Publish/Android/wifi/BloomReaderUDPListener.cs
src/BloomExe/Publish/Android/wifi/BloomReaderUDPListener.cs
using System; using System.Net; using System.Net.Sockets; using System.Threading; using Bloom.Api; namespace Bloom.Publish.Android.wifi { /// <summary> /// Helper class to listen for a single packet from the Android. Construct an instance to start /// listening (on another thread); hook NewMessageReceived to recei...
using System; using System.Net; using System.Net.Sockets; using System.Threading; using Bloom.Api; namespace Bloom.Publish.Android.wifi { /// <summary> /// Helper class to listen for a single packet from the Android. Construct an instance to start /// listening (on another thread); hook NewMessageReceived to recei...
mit
C#
80a03ddb786736ac1c00d83e22c688b9fa00b7f6
Fix message sometimes wrong.
yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli
src/MsgPack.Rpc/Rpc/Protocols/RpcMessageTooLongException.cs
src/MsgPack.Rpc/Rpc/Protocols/RpcMessageTooLongException.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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.or...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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.or...
apache-2.0
C#
60704031efc96553d59d2e76fceba534a4f3f48c
Refactor Status Controller
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Support.Web/Controllers/StatusController.cs
src/SFA.DAS.EAS.Support.Web/Controllers/StatusController.cs
using System; using System.Reflection; using System.Web; using System.Web.Http; using SFA.DAS.Support.Shared; namespace SFA.DAS.EAS.Support.Web.Controllers { [System.Web.Mvc.RoutePrefix("api/status")] public class StatusController : ApiController { // GET: Status [System.Web.Mvc.AllowAnony...
using System; using System.Reflection; using System.Web; using System.Web.Http; using SFA.DAS.Support.Shared; namespace SFA.DAS.EAS.Support.Web.Controllers { [System.Web.Mvc.RoutePrefix("api/status")] public class StatusController : ApiController { // GET: Status [System.Web.Mvc.AllowAnony...
mit
C#
f49e47b3402e348896f103cec628bf5c6bdae19a
Update method signatures
GetTabster/Tabster.Plugin.TextFile
TextFileExporter.cs
TextFileExporter.cs
#region using System; using System.IO; using Tabster.Data; using Tabster.Data.Processing; #endregion namespace TextFile { internal class TextFileExporter : ITablatureFileExporter { public TextFileExporter() { FileType = new FileType("Text File", ".txt"); }...
#region using System; using System.IO; using Tabster.Data; using Tabster.Data.Processing; #endregion namespace TextFile { internal class TextFileExporter : ITablatureFileExporter { public TextFileExporter() { FileType = new FileType("Text File", ".txt"); }...
apache-2.0
C#
74a83e26e5f5dc685ade1894f60a93778e46658f
Update DiffReporter.cs
droyad/Assent
src/Assent/Reporters/DiffReporter.cs
src/Assent/Reporters/DiffReporter.cs
using System; using System.Collections.Generic; using Assent.Reporters.DiffPrograms; namespace Assent.Reporters { public class DiffReporter : IReporter { #if NET45 internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT; #else internal static readonly bool...
using System; using System.Collections.Generic; using Assent.Reporters.DiffPrograms; namespace Assent.Reporters { public class DiffReporter : IReporter { #if NET45 internal static readonly bool IsWindows = Environment.OSVersion.Platform == PlatformID.Win32NT; #else internal static readonly bool...
mit
C#
03978af7512173ebb06f2e6f5b48100f0b9058f8
Set a static value so my references quit freaking out.
steffenWi/xwt,mono/xwt,sevoku/xwt,mminns/xwt,directhex/xwt,cra0zy/xwt,antmicro/xwt,hamekoz/xwt,mminns/xwt,residuum/xwt,lytico/xwt,hwthomas/xwt,TheBrainTech/xwt,akrisiun/xwt,iainx/xwt
Xwt/AssemblyInfo.cs
Xwt/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Xwt")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assem...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Xwt")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assem...
mit
C#
e03f5dcb10b8dd6448e35c04d874377e9eb66532
fix typos
yvschmid/Cake.Prompt
src/Cake.Prompt/PromptAliases.cs
src/Cake.Prompt/PromptAliases.cs
using System; using Cake.Core; using Cake.Core.Annotations; namespace Cake.Common.IO { /// <summary> /// Contains functionality related to interactive console prompts. /// </summary> [CakeAliasCategory("Prompt")] public static class PromptAliases { private const string InteractiveOptio...
using System; using Cake.Core; using Cake.Core.Annotations; namespace Cake.Common.IO { /// <summary> /// Contains functionality related to interactive console prompts. /// </summary> [CakeAliasCategory("Prompt")] public static class PromptAliases { private const string InteractiveOptio...
mit
C#
0872a754e57a41d774c6fbd8e8443867ff97f568
Allow Int64 to be a discriminator
gliljas/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,al...
src/NHibernate/Type/Int64Type.cs
src/NHibernate/Type/Int64Type.cs
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Int64"/> Property /// to a <see cref="DbType.Int64"/> column. /// </summary> public class Int64Type : ValueTypeType, IDiscriminatorType, IVersionType { /// <summary></summary> i...
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Int64"/> Property /// to a <see cref="DbType.Int64"/> column. /// </summary> public class Int64Type : ValueTypeType, IIdentifierType, IVersionType { /// <summary></summary> inte...
lgpl-2.1
C#
243ea4b8e6e5a2f76398293602389fd99b54b0ba
Update SitemapInfo
ernado-x/X.Web.Sitemap
src/X.Web.Sitemap/SitemapInfo.cs
src/X.Web.Sitemap/SitemapInfo.cs
using System; using System.Xml.Serialization; namespace X.Web.Sitemap; [Serializable] public class SitemapInfo { private SitemapInfo() { AbsolutePathToSitemap = ""; DateLastModified = ""; } /// <summary> /// Creates a SitemapInfo object which serializes to the "sitemap" element o...
using System; using System.Xml.Serialization; namespace X.Web.Sitemap; [Serializable] public class SitemapInfo { private readonly DateTime? _dateLastModified; private SitemapInfo() { } /// <summary> /// Creates a SitemapInfo object which serializes to the "sitemap" element of a sitemap inde...
mit
C#