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
1653d236a6b6e13a430b4c5b4dad5034e0c0e051
improve tests not found error message
TryItOnline/TioTests
Program.cs
Program.cs
using System; using System.IO; using Newtonsoft.Json; namespace TioTests { public class Program { public static void Main(string[] args) { try { Execute(args); } catch (Exception e) { Logger.LogLine("Un...
using System; using System.IO; using Newtonsoft.Json; namespace TioTests { public class Program { public static void Main(string[] args) { try { Execute(args); } catch (Exception e) { Logger.LogLine("Un...
mit
C#
3c05b20dc815dc7d986645c75818f33611825709
make non-async
jonsequitur/PocketLogger
Pocket.Logger/For.Xunit/Tests/WhatIsLogged.cs
Pocket.Logger/For.Xunit/Tests/WhatIsLogged.cs
using FluentAssertions; using System.Linq; using Xunit; namespace Pocket.For.Xunit.Tests { public class WhatIsLogged { [Fact] public void Start_events_are_logged_for_each_test() { var attribute = new LogToPocketLoggerAttribute(); var methodInfo = GetType().GetM...
using System.Reflection; using FluentAssertions; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Pocket.For.Xunit.Tests { public class WhatIsLogged { [Fact] public void Start_events_are_logged_for_each_test() { var attribute = new LogToPocketLoggerAt...
mit
C#
ebc588a0e01779778e8f0a2b8184cfe44651e6c0
improve netherlands provider
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Nager.Date/PublicHolidays/NetherlandsProvider.cs
Nager.Date/PublicHolidays/NetherlandsProvider.cs
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; using System.Linq; namespace Nager.Date.PublicHolidays { public class NetherlandsProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year) { ...
using Nager.Date.Contract; using Nager.Date.Model; using System; using System.Collections.Generic; namespace Nager.Date.PublicHolidays { public class NetherlandsProvider : IPublicHolidayProvider { public IEnumerable<PublicHoliday> Get(DateTime easterSunday, int year) { //Netherland...
mit
C#
ab0c9710574b84c7372440e1ef33c25aaeaf93a0
Make sealed.
gafter/roslyn,DustinCampbell/roslyn,sharwell/roslyn,physhi/roslyn,genlu/roslyn,panopticoncentral/roslyn,AlekseyTs/roslyn,KevinRansom/roslyn,dotnet/roslyn,KirillOsenkov/roslyn,gafter/roslyn,nguerrera/roslyn,xasx/roslyn,tmat/roslyn,aelij/roslyn,dpoeschl/roslyn,reaction1989/roslyn,MichalStrehovsky/roslyn,xasx/roslyn,react...
src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/LanguageServices/RegexEmbeddedLanguage.cs
src/Workspaces/Core/Portable/EmbeddedLanguages/RegularExpressions/LanguageServices/RegexEmbeddedLanguage.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 Microsoft.CodeAnalysis.EmbeddedLanguages.LanguageServices; using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; using Microsoft.CodeAnalysis.La...
// 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 Microsoft.CodeAnalysis.EmbeddedLanguages.LanguageServices; using Microsoft.CodeAnalysis.EmbeddedLanguages.VirtualChars; using Microsoft.CodeAnalysis.La...
mit
C#
e498be24e1deedab2d3c7be2519a8fdb7676dee8
Fix random IP NRE
Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder,Arkhist/Hacknet-Pathfinder
PathfinderAPI/BaseGameFixes/RandomIPNoRepeats.cs
PathfinderAPI/BaseGameFixes/RandomIPNoRepeats.cs
using Hacknet; using HarmonyLib; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes { [HarmonyPatch] internal static class RandomIPNoRepeats { [HarmonyPrefix] [HarmonyPatch(typeof(NetworkMap), nameof(NetworkMap.generateRandomIP))] internal static bool GenerateRandomIPReplace...
using Hacknet; using HarmonyLib; using Pathfinder.Util; namespace Pathfinder.BaseGameFixes { [HarmonyPatch] internal static class RandomIPNoRepeats { [HarmonyPrefix] [HarmonyPatch(typeof(NetworkMap), nameof(NetworkMap.generateRandomIP))] internal static bool GenerateRandomIPReplace...
mit
C#
709b103e7c2e2b400a2ff224bb2bf2529ec91fa8
Fix Login VM
drasticactions/Pureisuteshon-App,drasticactions/PlayStation-App,drasticactions/PlayStation-App,drasticactions/Pureisuteshon-App
PlayStation-App/ViewModels/LoginPageViewModel.cs
PlayStation-App/ViewModels/LoginPageViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PlayStation_App.Common; using PlayStation_App.Core.Entities; using PlayStation_App.Core.Exceptions; using PlayStation_App.Core.Managers; namespace PlayStation_App.ViewModels { public class Log...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PlayStation_App.Common; using PlayStation_App.Core.Entities; using PlayStation_App.Core.Exceptions; using PlayStation_App.Core.Managers; namespace PlayStation_App.ViewModels { public class Log...
mit
C#
676634e8b6e1deed93f6d2b5f473ee78c6c45e90
test names to have RecoveryServices
tonytang-microsoft-com/azure-powershell,stankovski/azure-powershell,praveennet/azure-powershell,zaevans/azure-powershell,hungmai-msft/azure-powershell,zhencui/azure-powershell,TaraMeyer/azure-powershell,hallihan/azure-powershell,praveennet/azure-powershell,yoavrubin/azure-powershell,zaevans/azure-powershell,jasper-schn...
src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs
src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
5b473a216bfbe6dfb5f4349d59daee611207b4b6
Fix compilation error
wmaryszczak/anixe_atoms_date_range
src/Anixe.Atoms.DateRange.Test/DateRangeTest.cs
src/Anixe.Atoms.DateRange.Test/DateRangeTest.cs
using System; using System.Globalization; using Xunit; namespace Anixe.Atoms.Test { public class DateRangeTest { [ Theory, InlineData("20170101:20170110", "20170102", true), InlineData("20170101:20170110", "20170111", false), InlineData("20170101:20170110", "20161211", false), Inl...
using System; using System.Globalization; using Xunit; namespace Anixe.Atoms.Test { public class DateRangeTest { [ Theory InlineData("20170101:20170110", "20170102", true) InlineData("20170101:20170110", "20170111", false) InlineData("20170101:20170110", "20161211", false) InlineD...
mit
C#
73cf24612a9e89bb281a8b440e8920c19dd8de0b
Fix GetAllCategories
notdev/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI
RohlikAPI/Categories.cs
RohlikAPI/Categories.cs
using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace RohlikAPI { internal class Categories { private readonly PersistentSessionHttpClient httpClient; internal Categories(PersistentSessionHttpClient httpClient) { this.httpClient = httpClient...
using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace RohlikAPI { internal class Categories { private readonly PersistentSessionHttpClient httpClient; internal Categories(PersistentSessionHttpClient httpClient) { this.httpClient = httpClient...
mit
C#
55dc699ec0296b75b3181ecd088603b05757b333
resolve null pointer exception when search returns no results
Kentico/Mvc,Kentico/Mvc,Kentico/Mvc
src/DancingGoat/Controllers/SearchController.cs
src/DancingGoat/Controllers/SearchController.cs
using System.Collections.Generic; using System.Web.Mvc; using PagedList; using DancingGoat.Models.Search; using Kentico.Search; namespace DancingGoat.Controllers { public class SearchController : Controller { private readonly SearchService mService; private const int PAGE_SIZE = 5; ...
using System.Web.Mvc; using PagedList; using DancingGoat.Models.Search; using Kentico.Search; namespace DancingGoat.Controllers { public class SearchController : Controller { private readonly SearchService mService; private const int PAGE_SIZE = 5; public SearchController(SearchSe...
mit
C#
de59652255d6cbc6b63bf80f495b5fdd34f576d6
Fix ModifyGuildMemberParameters serializing full role objects
BundledSticksInkorperated/Discore
src/Discore/Http/ModifyGuildMemberParameters.cs
src/Discore/Http/ModifyGuildMemberParameters.cs
using System.Collections.Generic; namespace Discore.Http { /// <summary> /// An optional set of parameters to change the attributes of a guild member. /// </summary> public class ModifyGuildMemberParameters { /// <summary> /// The users nickname for the guild. /// </summary...
using System.Collections.Generic; namespace Discore.Http { /// <summary> /// An optional set of parameters to change the attributes of a guild member. /// </summary> public class ModifyGuildMemberParameters { /// <summary> /// The users nickname for the guild. /// </summary...
mit
C#
47e00887a29a2a468cd920c1e548e00cbc6cf468
Remove some spurious Console.WriteLine() calls from a test.
BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime,zaccharles/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,jskeet/nodatime,nodatime/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,malcolmr/nodatime
src/NodaTime.Test/Annotations/MutabilityTest.cs
src/NodaTime.Test/Annotations/MutabilityTest.cs
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using System.Linq; using NodaTime.Annotations; using NUnit.Framework; namespace NodaTime.Test.Annotations { [TestFixture] public c...
// Copyright 2013 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using System; using System.Linq; using NodaTime.Annotations; using NUnit.Framework; namespace NodaTime.Test.Annotations { [TestFixture] public c...
apache-2.0
C#
0b4a36b6a62eaa5435ddb949e864025e32d9cce8
Fix warning about empty constructor
amweiss/WeatherLink
src/Services/HourlyAndMinutelyDarkSkyService.cs
src/Services/HourlyAndMinutelyDarkSkyService.cs
using DarkSky.Models; using DarkSky.Services; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Threading.Tasks; using WeatherLink.Models; namespace WeatherLink.Services { /// <summary> /// A service to get a Dark Sky forecast for a latitude and longitude. /// </summary> ...
using DarkSky.Models; using DarkSky.Services; using Microsoft.Extensions.Options; using System.Collections.Generic; using System.Threading.Tasks; using WeatherLink.Models; namespace WeatherLink.Services { /// <summary> /// A service to get a Dark Sky forecast for a latitude and longitude. /// </summary> ...
mit
C#
3e9f23df8e72c8c547e37798db9fb5a3ac68bb1d
Rewrite of the Time Parsing code
stoye/LiveSplit,Dalet/LiveSplit,zoton2/LiveSplit,CryZe/LiveSplit,Jiiks/LiveSplit,kugelrund/LiveSplit,drtchops/LiveSplit,Dalet/LiveSplit,PackSciences/LiveSplit,glasnonck/LiveSplit,Fluzzarn/LiveSplit,Seldszar/LiveSplit,glasnonck/LiveSplit,chloe747/LiveSplit,drtchops/LiveSplit,stoye/LiveSplit,kugelrund/LiveSplit,CryZe/Liv...
LiveSplit/LiveSplit.Core/Model/TimeSpanParser.cs
LiveSplit/LiveSplit.Core/Model/TimeSpanParser.cs
using System; using System.Linq; using System.Globalization; namespace LiveSplit.Model { public static class TimeSpanParser { public static TimeSpan? ParseNullable(String timeString) { if (String.IsNullOrEmpty(timeString)) return null; return Parse(timeS...
using System; using System.Globalization; namespace LiveSplit.Model { public static class TimeSpanParser { public static TimeSpan? ParseNullable(String timeString) { if (String.IsNullOrEmpty(timeString)) return null; return Parse(timeString); } ...
mit
C#
d12e4928e62023e26aa90ce32bbf84f087886e7d
Increase editor verify settings width to give more breathing space
ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu
osu.Game/Screens/Edit/Verify/VerifyScreen.cs
osu.Game/Screens/Edit/Verify/VerifyScreen.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.G...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Beatmaps; using osu.G...
mit
C#
a33efa9bde170f6a9e77175a76f8547d85b7dea9
Include watermark for flv containers
taliesins/talifun-commander,taliesins/talifun-commander
Talifun.Commander.Command.Video/FLVCommand.cs
Talifun.Commander.Command.Video/FLVCommand.cs
using System; using System.Configuration; using System.IO; using Talifun.Commander.Command.Video.AudioFormats; using Talifun.Commander.Command.Video.Configuration; using Talifun.Commander.Command.Video.Containers; using Talifun.Commander.Command.Video.VideoFormats; using Talifun.Commander.Executor.CommandLine; using T...
using System; using System.Configuration; using System.IO; using Talifun.Commander.Command.Video.AudioFormats; using Talifun.Commander.Command.Video.Configuration; using Talifun.Commander.Command.Video.Containers; using Talifun.Commander.Command.Video.VideoFormats; using Talifun.Commander.Executor.CommandLine; using T...
apache-2.0
C#
386d9b28cf8b77b370f244f7978c2134019af028
Update MinValueInSortedArrayWithDuplicates.cs
shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/hackerrank,shreeharshas/hackerrank,shreeharshas/hackerrank,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/hackerrank
interim/MinValueInSortedArrayWithDuplicates.cs
interim/MinValueInSortedArrayWithDuplicates.cs
public class Solution { private int minVal; public int FindMin(int[] nums) { if(nums.Length==0) return -1; if(nums.Length==1) return nums[0]; if(nums.Length==2) return Math.Min(nums[0],nums[1]); int? x = modifiedBinarySearch(nums, 0, (nums.Leng...
public class MinValueInSortedArrayWithDuplicates { private int minVal; public int FindMin(int[] nums) { return modifiedBinarySearch(nums, low, mid, high); } private int modifiedBinarySearch(int []nums, int low, int mid, int high){ if(nums.Length==0) return; minVa...
mit
C#
3b10811e61ed71ec331dd606b0234c7cb934f2bb
Set compatibility version to 2.2 in hello world sample project
ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions
samples/HelloWorld/Startup.cs
samples/HelloWorld/Startup.cs
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.DependencyInjection; namespace HelloWorld { public class Startup { public void ConfigureServices(IServiceCollection services) { services...
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; namespace HelloWorld { public class Startup { public void ConfigureServices(IServiceCollection services) { services.AddMvc().AddFluentActions(); ...
mit
C#
ab42b2db338427d010e9107c44f1975eeba3a084
Add code documentation to the StringPalmValue
haefele/PalmDB
src/PalmDB/Serialization/StringPalmValue.cs
src/PalmDB/Serialization/StringPalmValue.cs
using System; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PalmDB.Serialization { /// <summary> /// Represents a <see cref="string"/> value inside a palm database. /// </summary> internal class StringPalmValue : IPalmValue<string> { /// <summary> //...
using System; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PalmDB.Serialization { internal class StringPalmValue : IPalmValue<string> { public int Length { get; } public Encoding Encoding { get; } public bool ZeroTerminated { get; } ...
mit
C#
003570c03ba11cecf1cfa500ba79414602adce4a
remove the notifications node - it was dependent on OWIN
alexrster/SAML2,elerch/SAML2
src/SAML2.Core/Config/Saml2Configuration.cs
src/SAML2.Core/Config/Saml2Configuration.cs
using System.Collections.Generic; using System.Configuration; namespace SAML2.Config { /// <summary> /// SAML2 Configuration Section. /// </summary> public class Saml2Configuration { /// <summary> /// Gets the section name. /// </summary> public static string Name {...
using System.Collections.Generic; using System.Configuration; namespace SAML2.Config { /// <summary> /// SAML2 Configuration Section. /// </summary> public class Saml2Configuration { /// <summary> /// Gets the section name. /// </summary> public static string Name {...
mpl-2.0
C#
f28dcd8d0c37eb63b1eefb9ca1cf17d3dd92f63b
Add extension method to set bitmap for all keys (+Xml documentation)
OpenStreamDeck/StreamDeckSharp
src/StreamDeckSharp/StreamDeckExtensions.cs
src/StreamDeckSharp/StreamDeckExtensions.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StreamDeckSharp { /// <summary> /// </summary> /// <remarks> /// The <see cref="IStreamDeck"/> interface is...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StreamDeckSharp { /// <summary> /// </summary> /// <remarks> /// The <see cref="IStreamDeck"/> interface is...
mit
C#
df562ee967d1e059fe62096443f67f599e04b68b
Fix semantic errors not showing error message.
mrward/typescript-addin,chrisber/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin
src/TypeScriptBinding/Hosting/Diagnostic.cs
src/TypeScriptBinding/Hosting/Diagnostic.cs
// // Diagnostic.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2014 Matthew Ward // // 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, in...
// // Diagnostic.cs // // Author: // Matt Ward <ward.matt@gmail.com> // // Copyright (C) 2014 Matthew Ward // // 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, in...
mit
C#
5b87638c8bde92509aa19ccc405bf3f54ce78a82
Replace MSBuild with DotNetBuild
syedhassaanahmed/aspnet-core-crud-demo,syedhassaanahmed/aspnet-core-crud-demo,syedhassaanahmed/aspnet-core-crud-demo
build.cake
build.cake
#tool "nuget:?package=GitVersion.CommandLine" var target = Argument("target", "Default"); var outputDir = "./artifacts/"; var artifactName = "artifact.zip"; var solutionPath = "./AspNetCore.CrudDemo.sln"; var projectPath = "./AspNetCore.CrudDemo"; var projectJsonPath = projectPath + "/project.json"; var buildConfig = ...
#tool "nuget:?package=GitVersion.CommandLine" var target = Argument("target", "Default"); var outputDir = "./artifacts/"; var artifactName = "artifact.zip"; var solutionPath = "./AspNetCore.CrudDemo.sln"; var projectPath = "./AspNetCore.CrudDemo"; var projectJsonPath = projectPath + "/project.json"; var buildConfig = ...
mit
C#
d8b07d2a36baf95bbb92ba7935067f9cc2f79730
Change type of child order id
kiyoaki/bitflyer-api-dotnet-client
src/BitFlyer.Apis/ResponseData/ChildOrder.cs
src/BitFlyer.Apis/ResponseData/ChildOrder.cs
using System.Runtime.Serialization; using System.Text; using Utf8Json; namespace BitFlyer.Apis { public class ChildOrder { [DataMember(Name = "id")] public long Id { get; set; } [DataMember(Name = "child_order_id")] public string ChildOrderId { get; set; } [DataMem...
using System.Runtime.Serialization; using System.Text; using Utf8Json; namespace BitFlyer.Apis { public class ChildOrder { [DataMember(Name = "id")] public int Id { get; set; } [DataMember(Name = "child_order_id")] public string ChildOrderId { get; set; } [DataMemb...
mit
C#
080b8cd367c5277c4cb0f43093e763b325bba51c
Update Views to be a catalogItem
smithab/azure-sdk-for-net,djyou/azure-sdk-for-net,yaakoviyun/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,begoldsm/azure-sdk-for-net,peshen/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,djyou/azure-sdk-for-net,pankajsn/azure-sdk-for-net,nathannfan/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,markcowl/azure-sdk-for-net,...
src/ResourceManagement/DataLake.Analytics/Microsoft.Azure.Management.DataLake.Analytics/Generated/Models/USqlView.cs
src/ResourceManagement/DataLake.Analytics/Microsoft.Azure.Management.DataLake.Analytics/Generated/Models/USqlView.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator 0.14.0.0 // Changes may cause incorrect behavior and will be lost if the code is // regenerated. ...
mit
C#
fbcab418b5bb3b8da7cbe4c62c1c0b3166970c9b
Fix unlock user (#9701)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2
src/OrchardCore.Modules/OrchardCore.Users/Views/UserButtons.cshtml
src/OrchardCore.Modules/OrchardCore.Users/Views/UserButtons.cshtml
@model SummaryAdminUserViewModel @using OrchardCore.Entities @using OrchardCore.Users.Models @using Microsoft.AspNetCore.Identity @using OrchardCore.Users @inject UserManager<IUser> UserManager @inject IAuthorizationService AuthorizationService @{ var user = Model.User as User; var currentUser = user.UserName =...
@model SummaryAdminUserViewModel @using OrchardCore.Entities @using OrchardCore.Users.Models @using Microsoft.AspNetCore.Identity @using OrchardCore.Users @inject UserManager<IUser> UserManager @inject IAuthorizationService AuthorizationService @{ var user = Model.User as User; var currentUser = user.UserName =...
bsd-3-clause
C#
0e9d0f037efe9d9017bbbedf7ac22f69688a1d2b
update version 1.3 => 1.3.1
devmondo/HangFire.SimpleInjector
src/HangFire.SimpleInjector/Properties/AssemblyInfo.cs
src/HangFire.SimpleInjector/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("Ha...
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("Ha...
mit
C#
76d15ba83ee82bf52627d78b45998139ef772124
Fix LanguageString (#3196)
ACEmulator/ACE,LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE
Source/ACE.DatLoader/FileTypes/LanguageString.cs
Source/ACE.DatLoader/FileTypes/LanguageString.cs
using System.IO; namespace ACE.DatLoader.FileTypes { /// <summary> /// These are client_portal.dat files starting with 0x31. /// This is called a "String" in the client; It has been renamed to avoid conflicts with the generic "String" class. /// </summary> [DatFileType(DatFileType.String)] publ...
using System.IO; namespace ACE.DatLoader.FileTypes { /// <summary> /// These are client_portal.dat files starting with 0x31. /// This is called a "String" in the client; It has been renamed to avoid conflicts with the generic "String" class. /// </summary> [DatFileType(DatFileType.String)] publ...
agpl-3.0
C#
81e5d852c6e277535f1268e5225bbdf7afedb288
Fix ReturnsDefaultRepresenationCurrentCulture test for all cultures
omar/ByteSize
src/ByteSizeLib.Tests/Binary/ToBinaryStringMethod.cs
src/ByteSizeLib.Tests/Binary/ToBinaryStringMethod.cs
using System.Globalization; using Xunit; namespace ByteSizeLib.Tests.BinaryByteSizeTests { public class ToBinaryStringMethod { [Fact] public void ReturnsDefaultRepresenation() { // Arrange var b = ByteSize.FromKiloBytes(10); // Act var r...
using System.Globalization; using Xunit; namespace ByteSizeLib.Tests.BinaryByteSizeTests { public class ToBinaryStringMethod { [Fact] public void ReturnsDefaultRepresenation() { // Arrange var b = ByteSize.FromKiloBytes(10); // Act var r...
mit
C#
d89d42cdc3df5561a0cdae38462de514a972da4a
Configure StartupExtensions to use our new services
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Configuration/StartupExtensions.cs
src/Diploms.WebUI/Configuration/StartupExtensions.cs
using Diploms.Core; using Diploms.DataLayer; using Diploms.Services.Departments; using Diploms.WebUI.Authentication; using Microsoft.Extensions.DependencyInjection; namespace Diploms.WebUI.Configuration { public static class StartupExtensions { public static IServiceCollection AddDepartments(this IServ...
using Diploms.Core; using Diploms.DataLayer; using Diploms.Services.Departments; using Microsoft.Extensions.DependencyInjection; namespace Diploms.WebUI.Configuration { public static class StartupExtensions { public static IServiceCollection AddDepartments(this IServiceCollection services) { ...
mit
C#
330eb6e5ea01b02800b64f71257839d2fb2449b1
bump version
Fody/Fielder
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: AssemblyVersion("1.1.6")]
using System.Reflection; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: AssemblyVersion("1.1.5")]
mit
C#
6544b6308c9aca9ba34a040c9bb473c08cdbf8af
Make NSIndexSet an IEnumerable
cwensley/maccore,beni55/maccore,jorik041/maccore,mono/maccore
src/Foundation/NSIndexSet.cs
src/Foundation/NSIndexSet.cs
// // Authors: // James Clancey james.clancey@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, cop...
// // Authors: // James Clancey james.clancey@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, cop...
apache-2.0
C#
e9d6292d04e32f776326645a7baccd7723d11a8e
Add newfile Droid/MainActivity.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
Droid/MainActivity.cs
Droid/MainActivity.cs
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/icon", MainLa...
 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace userAuth.cpl.Droid { [Activity (Label = "MainActivity")] public class MainActivity : Acti...
mit
C#
9d71f68d59aab695fb22306998f76c7bc2a53c98
Add Fields prop to EndpointBase
arthurrump/Zermelo.API
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
Zermelo/Zermelo.API/Endpoints/EndpointBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase { protected IAuthentication _auth; pro...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Endpoints { abstract internal class EndpointBase { protected IAuthentication _auth; pro...
mit
C#
16973e7db1fb7610e39a68976237b72fca28b1c5
Use CssParser front-end as intended
Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,zedr0n/Angle...
AngleSharp.Performance.Css/AngleSharpParser.cs
AngleSharp.Performance.Css/AngleSharpParser.cs
namespace AngleSharp.Performance.Css { using AngleSharp; using AngleSharp.Parser.Css; using System; class AngleSharpParser : ITestee { static readonly IConfiguration configuration = new Configuration().WithCss(); static readonly CssParserOptions options = new CssParserOptions ...
namespace AngleSharp.Performance.Css { using AngleSharp; using AngleSharp.Parser.Css; using System; class AngleSharpParser : ITestee { static readonly IConfiguration configuration = new Configuration().WithCss(); public String Name { get { return "AngleSharp"; ...
mit
C#
695d0589d8efd6fc55a908e4d7af4fd560ae64a5
Update to AssemblyInfo
taiste/ImmutableClass.Fody
AssemblyToReference/Properties/AssemblyInfo.cs
AssemblyToReference/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("Im...
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("Im...
mit
C#
d0aa9665db1940104be6112cf9e73f8b616f5c59
Remove debugging logs
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/AI/Enemy/TargetSpot_Decision.cs
Assets/Scripts/AI/Enemy/TargetSpot_Decision.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetSpot")] public class TargetSpot_Decision : Decision { [SerializeField] float lookRange; [SerializeField] string targetTag; public override bool Decide(StateController controller) { return TargetInSight(controller); } private bool TargetInS...
using System.Collections; using System.Collections.Generic; using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetSpot")] public class TargetSpot_Decision : Decision { [SerializeField] float lookRange; [SerializeField] string targetTag; public override bool Decide(StateController controller) { r...
apache-2.0
C#
986af3dbec492f8c251846e2dfcca5ab9f32c513
Update MinValueInSortedArrayWithDuplicates.cs
shreeharshas/hackerrank,shreeharshas/Algorithms,shreeharshas/hackerrank,shreeharshas/Algorithms,shreeharshas/hackerrank,shreeharshas/Algorithms,shreeharshas/Algorithms,shreeharshas/hackerrank,shreeharshas/Algorithms
interim/MinValueInSortedArrayWithDuplicates.cs
interim/MinValueInSortedArrayWithDuplicates.cs
public class Solution { private int minVal; public int FindMin(int[] nums) { if(nums.Length==0) return -1; if(nums.Length==1) return nums[0]; if(nums.Length==2) return Math.Min(nums[0],nums[1]); int?...
public class Solution { private int minVal; public int FindMin(int[] nums) { if(nums.Length==0) return -1; if(nums.Length==1) return nums[0]; if(nums.Length==2) return Math.Min(nums[0],nums[1]); int? x = modifiedBinarySearch(nums, 0, (nums.Leng...
mit
C#
1f1d5c3b18e20621a2f621d6ad3bbec038277d4b
add ModelBinderProvider tests
ssg/TurkishId
test/TurkishId.ModelBinderTest/TurkishIdModelBinderProviderTest.cs
test/TurkishId.ModelBinderTest/TurkishIdModelBinderProviderTest.cs
using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Moq; using NUnit.Framework; using TurkishId.ModelBinder; namespace TurkishId.ModelBinderTest { [TestFixture] public class TurkishIdModelBinderProviderTest { public abstract class FakeStringMode...
using System; using Microsoft.AspNetCore.Mvc.ModelBinding; using Moq; using NUnit.Framework; using TurkishId.ModelBinder; namespace TurkishId.ModelBinderTest { [TestFixture] public class TurkishIdModelBinderProviderTest { [Test] public void GetBinder_ModelTypeIsTurkishIdNumber_ReturnsTurki...
apache-2.0
C#
5a3e55e820de1c94dfc23839b2169412743dafec
Remove trailing slash from safe dir
sschmid/Entitas-CSharp,sschmid/Entitas-CSharp
Addons/Entitas.CodeGeneration.Plugins/Plugins/PostProcessors/WriteToDiskPostProcessor.cs
Addons/Entitas.CodeGeneration.Plugins/Plugins/PostProcessors/WriteToDiskPostProcessor.cs
using System; using System.IO; namespace Entitas.CodeGenerator { public class WriteToDiskPostProcessor : ICodeGenFilePostProcessor { public string name { get { return "Write to disk"; } } public int priority { get { return 100; } } public bool isEnabledByDefault { get { return true; } } ...
using System; using System.IO; namespace Entitas.CodeGenerator { public class WriteToDiskPostProcessor : ICodeGenFilePostProcessor { public string name { get { return "Write to disk"; } } public int priority { get { return 100; } } public bool isEnabledByDefault { get { return true; } } ...
mit
C#
1674f6afc68a89a2570c35fd40a0f1d277f08ac5
Add some more properties to hover info.
DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS
DanTup.DartAnalysis/Commands/AnalysisGetHover.cs
DanTup.DartAnalysis/Commands/AnalysisGetHover.cs
using System.Threading.Tasks; namespace DanTup.DartAnalysis { class AnalysisGetHoverRequest : Request<AnalysisGetHoverParams, Response<AnalysisGetHoverResponse>> { public string method = "analysis.getHover"; public AnalysisGetHoverRequest(string file, int offset) { this.@params = new AnalysisGetHoverParam...
using System.Threading.Tasks; namespace DanTup.DartAnalysis { class AnalysisGetHoverRequest : Request<AnalysisGetHoverParams, Response<AnalysisGetHoverResponse>> { public string method = "analysis.getHover"; public AnalysisGetHoverRequest(string file, int offset) { this.@params = new AnalysisGetHoverParam...
mit
C#
a24949f772acb37245578dfac48b51383beb6297
fix locator url
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.API/Commands/Geocode/GetAltNameLocatorsForLocationCommand.cs
WebAPI.API/Commands/Geocode/GetAltNameLocatorsForLocationCommand.cs
using System.Configuration; using WebAPI.Common.Abstractions; using WebAPI.Domain; using WebAPI.Domain.ArcServerResponse.Geolocator; namespace WebAPI.API.Commands.Geocode { public class GetAltNameLocatorsForLocationCommand : Command<LocatorDetails> { public GetAltNameLocatorsForLocationCommand(Locatio...
using System.Configuration; using WebAPI.Common.Abstractions; using WebAPI.Domain; using WebAPI.Domain.ArcServerResponse.Geolocator; namespace WebAPI.API.Commands.Geocode { public class GetAltNameLocatorsForLocationCommand : Command<LocatorDetails> { public GetAltNameLocatorsForLocationCommand(Locatio...
mit
C#
6382df06d25699c285f0fc313dd6bcccfe2c260e
Implement the second overload of Select
BillWagner/MVA-LINQ,sushantgoel/MVA-LINQ
CodePlayground/Program.cs
CodePlayground/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodePlayground { public static class MyLinqMethods { public static IEnumerable<T> Where<T>( this IEnumerable<T> inputSequence, Func<T, bool> predicate)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CodePlayground { public static class MyLinqMethods { public static IEnumerable<T> Where<T>( this IEnumerable<T> inputSequence, Func<T, bool> predicate)...
apache-2.0
C#
a7fef9d2b4d16e88e6f5a896e8572bc1b53e5f5b
Initialize wrapped SmtpClient
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
IntegrationEngine.Core/Mail/SmtpClientAdapter.cs
IntegrationEngine.Core/Mail/SmtpClientAdapter.cs
using System; using System.Net.Mail; namespace IntegrationEngine.Core { public class SmtpClientAdapter : ISmtpClient { public SmtpClient SmtpClient { get; set; } public string Host { get { return SmtpClient.Host; } set { SmtpClient.Host = value; } } public int Port { get { return SmtpC...
using System; using System.Net.Mail; namespace IntegrationEngine.Core { public class SmtpClientAdapter : ISmtpClient { public SmtpClient SmtpClient { get; set; } public string Host { get { return SmtpClient.Host; } set { SmtpClient.Host = value; } } public int Port { get { return SmtpC...
mit
C#
1747535d0604db376786e186d7cdd8f2de7bd231
Remove double licence header and add comment about Video vs VideoSprite
peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Video/VideoSprite.cs
osu.Framework/Graphics/Video/VideoSprite.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics.Shaders; using osu.Framework.Graphics.Sprites; using osu.Framework.Platform; using osuTK; namespace osu.Fram...
// 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. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework....
mit
C#
1a9790fb35b56ef49073fd1478ebacf12b7623ec
Increment Version Number
mj1856/TimeZoneNames
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.2.0.*")] [assembly: AssemblyInformationalVersion("1.2.0")]
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.1.1.*")] [assembly: AssemblyInformationalVersion("1.1.1")]
mit
C#
b03af4a7f5b36160b20db51afc32bd3f9331273d
修改 HelloWorld Index view.
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Views/HelloWorld/Index.cshtml
src/MvcMovie/Views/HelloWorld/Index.cshtml
@{ ViewData["Title"] = "Movie List"; } <h2>My Movie List</h2> <p>Hello from our View Template!</p>
@{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p>Hello from our View Template!</p>
apache-2.0
C#
3cc87f8a68c1b339f68a34ed2c235fc0f093b4b0
remove apikey for now
myty/muse,myty/muse,myty/muse
src/MyTy.Blog.Web/Modules/SiteMapModule.cs
src/MyTy.Blog.Web/Modules/SiteMapModule.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; using MyTy.Blog.Web.Models; using MyTy.Blog.Web.ViewModels; using Nancy; namespace MyTy.Blog.Web.Modules { public class SiteMapModule : NancyModule { public SiteMapModule(BlogDB db, IApplicationConfigurat...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; using MyTy.Blog.Web.Models; using MyTy.Blog.Web.ViewModels; using Nancy; namespace MyTy.Blog.Web.Modules { public class SiteMapModule : NancyModule { public SiteMapModule(BlogDB db, IApplicationConfigurat...
mit
C#
fb07c9b87cee9de45df57196481401eff74dc28c
Improve test drive program.
jsakamoto/nupkg-selenium-webdriver-chromedriver
TestDrives/Program.cs
TestDrives/Program.cs
using System; namespace TestDrive { class Program { static void Main(string[] args) { using (var driver = new OpenQA.Selenium.Chrome.ChromeDriver()) { driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(3); driver.Navigate().Go...
using System; namespace TestDrive { class Program { static void Main(string[] args) { using (var driver = new OpenQA.Selenium.Chrome.ChromeDriver()) { driver.Navigate().GoToUrl("https://www.bing.com/"); driver.FindElementById("sb_form_q")...
unlicense
C#
d16066f9e84b1257969201efa3b0d01aed8a0caf
Fix `IBindableWithCurrent` using wrong constructor signature
ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Bindables/IBindableWithCurrent.cs
osu.Framework/Bindables/IBindableWithCurrent.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; using osu.Framework.Graphics.UserInterface; using osu.Framework.Utils; namespace osu.Framework.Bindables { public interface IBindableWithCurrent<T> : I...
// 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; using osu.Framework.Graphics.UserInterface; using osu.Framework.Utils; namespace osu.Framework.Bindables { public interface IBindableWithCurrent<T> : I...
mit
C#
71fb51ad8900ed83b7c88bef137fff2feef39ac8
Update IScriptRunner.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D/Model/Interfaces/IScriptRunner.cs
src/Core2D/Model/Interfaces/IScriptRunner.cs
using System.Threading.Tasks; namespace Core2D.Interfaces { /// <summary> /// Executes code scripts. /// </summary> public interface IScriptRunner { /// <summary> /// Executes code script and return current script state. /// </summary> /// <param name="code">The scr...
using System.Threading.Tasks; namespace Core2D.Interfaces { /// <summary> /// Executes code scripts. /// </summary> public interface IScriptRunner { /// <summary> /// Executes code script. /// </summary> /// <param name="code">The script code.</param> Task<o...
mit
C#
f539fd1a26c1e1cda3ca81dbce57586f27a824a5
add default timeout configuration for kafka client.
dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.cs
src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace DotNetC...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; // ReSharper disable once CheckNamespace namespace DotNetC...
mit
C#
d999bb22462c7f4ebf585e9921444f47186dac73
Remove unused namespaces
extremecodetv/SocksSharp
src/SocksSharp/Proxy/IProxySettingsFluent.cs
src/SocksSharp/Proxy/IProxySettingsFluent.cs
using System.Net; namespace SocksSharp.Proxy { public interface IProxySettingsFluent { IProxySettingsFluent SetHost(string host); IProxySettingsFluent SetPort(int port); IProxySettingsFluent SetConnectionTimeout(int connectionTimeout); IProxySettingsFluent SetReadWriteTimeou...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace SocksSharp.Proxy { public interface IProxySettingsFluent { IProxySettingsFluent SetHost(string host); IProxySettingsFluent SetPort(int port); ...
mit
C#
5da502ec8fb2362bbaf2f45be4eadd02b1373a0a
fix build
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram/Models/Pagination.cs
src/Solomobro.Instagram/Models/Pagination.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Solomobro.Instagram.Models { [DataContract] public class Pagination { internal Pagination() {} public Uri NextUrl => new Uri(Ne...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; using System.Threading.Tasks; namespace Solomobro.Instagram.Models { [DataContract] public class Pagination { internal Pagination() {}; public Uri NextUrl => new Uri(N...
apache-2.0
C#
714720b9aa80b63403551d88f5a7e1fbf35b00ea
Update sql commands and use the new method
Mimalef/repop
src/CustomerListEquip.aspx.cs
src/CustomerListEquip.aspx.cs
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; p...
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; p...
mit
C#
a02eaf0e94ad08817eb70e16899918109e499f53
Use StageDefinition to determine special column in ManiaReplayFrame
Frontear/osuKyzer,UselessToucan/osu,ppy/osu,DrabWeb/osu,peppy/osu,smoogipooo/osu,Nabile-Rahmani/osu,johnneijzen/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,naoey/osu,DrabWeb/osu,smoogipoo/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,naoey/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,peppy/osu...
osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.cs
osu.Game.Rulesets.Mania/Replays/ManiaReplayFrame.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.Collections.Generic; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Replay...
// 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.Collections.Generic; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mania.Beatmaps; using osu.Game.Rulesets.Replays; using osu.Game.Rulesets.Replay...
mit
C#
b2af0ea3bf4fe525e1dfa7d3f515738bd923aea3
Clean usings.
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
tests/OmniSharp.MSBuild.Tests/MSBuildContextTests.cs
tests/OmniSharp.MSBuild.Tests/MSBuildContextTests.cs
using OmniSharp.MSBuild.ProjectFile; using Xunit; namespace OmniSharp.Tests { public class MSBuildContextTests { [Fact] public void Project_path_is_case_insensitive() { var projectPath = @"c:\projects\project1\project.csproj"; var searchProjectPath = @"c:\Proje...
using System.Linq; using System.Threading.Tasks; using OmniSharp.MSBuild.ProjectFile; using OmniSharp.MSBuild.Tests; using TestUtility; using Xunit; namespace OmniSharp.Tests { public class MSBuildContextTests { [Fact] public void Project_path_is_case_insensitive() { var pr...
mit
C#
fdf93bcd764078b086816d9de4dbf6aad908beec
Make sure not to parse non-command arguments
appharbor/appharbor-cli
src/AppHarbor/CommandDispatcher.cs
src/AppHarbor/CommandDispatcher.cs
using System; using System.IO; using System.Linq; using Castle.MicroKernel; namespace AppHarbor { public class CommandDispatcher { private readonly IAliasMatcher _aliasMatcher; private readonly ITypeNameMatcher _typeNameMatcher; private readonly IKernel _kernel; public CommandDispatcher(IAliasMatcher alias...
using System; using System.IO; using System.Linq; using Castle.MicroKernel; namespace AppHarbor { public class CommandDispatcher { private readonly IAliasMatcher _aliasMatcher; private readonly ITypeNameMatcher _typeNameMatcher; private readonly IKernel _kernel; public CommandDispatcher(IAliasMatcher alias...
mit
C#
ee5037d63411916e2c71357030ff4e1b79f43aeb
Add touch and mouse support
danvy/win10demo
src/Win10Demo/InkView.xaml.cs
src/Win10Demo/InkView.xaml.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Core; using Windows.UI.Input.Inking; using Windows.UI.Xaml; using Windows.UI.Xaml....
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Text; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Input.Inking; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows...
apache-2.0
C#
6fd5c94c661f159aadc61d12f06c2ee739bf0b13
update client
shakuu/Parser,shakuu/Parser,shakuu/Parser
Parser/Clients/Parser.ConsoleClient/Program.cs
Parser/Clients/Parser.ConsoleClient/Program.cs
using System.Threading; using Ninject; using Parser.ConsoleClient.NinjectModules; using Parser.FileReader.Contracts; namespace Parser.ConsoleClient { public class Program { private const string MorninWoodDummyParse = @"../../../../../SampleLogs/combat_2017-02-22_22_30_37_978667.txt"; public...
using System.Threading; using System.Threading.Tasks; using Ninject; using Parser.ConsoleClient.NinjectModules; using Parser.FileReader.Contracts; namespace Parser.ConsoleClient { public class Program { private const string MorninWoodDummyParse = @"../../../../../SampleLogs/combat_2017-02-22_22_30_3...
mit
C#
6336cf03a2dd912f02865e1b4bb1a9674c57f820
test the clearMetadata
mono/exiv2-sharp,mono/exiv2-sharp,mono/exiv2-sharp,mono/exiv2-sharp
samples/ImageInfo.cs
samples/ImageInfo.cs
/* * ImageInfo.cs: get the image level info * * Author(s): * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details */ using System; using Exiv2; namespace Sample { public class ImageInfo { static void Main (string [] args) { GLib.GType.Init (); try { if (...
/* * ImageInfo.cs: get the image level info * * Author(s): * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details */ using System; using Exiv2; namespace Sample { public class ImageInfo { static void Main (string [] args) { GLib.GType.Init (); try { if (...
mit
C#
6d2acbdcbf75bf0dd90ad7e74e4c8ea108e5786d
Add Launchpad Mini support
DarthAffe/RGB.NET,DarthAffe/RGB.NET
RGB.NET.Devices.Novation/Enum/NovationDevices.cs
RGB.NET.Devices.Novation/Enum/NovationDevices.cs
#pragma warning disable 1591 // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global using RGB.NET.Devices.Novation.Attributes; namespace RGB.NET.Devices.Novation { /// <summary> /// Represents a specific novation device. /// </summary> public enum NovationDevices { ...
#pragma warning disable 1591 // ReSharper disable InconsistentNaming // ReSharper disable UnusedMember.Global using RGB.NET.Devices.Novation.Attributes; namespace RGB.NET.Devices.Novation { /// <summary> /// Represents a specific novation device. /// </summary> public enum NovationDevices { ...
lgpl-2.1
C#
01961a2cfdfe3635bca0419d315f63672ebfc14e
Fix tests - all green
sheix/GameEngine,sheix/GameEngine,sheix/GameEngine
EngineTest/ActorShould.cs
EngineTest/ActorShould.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Moq; using Engine; namespace EngineTest { [TestFixture()] public class ActorShould { Mock<IScene> scene; Actor actor; Mock<IStrategy> strategy; private Mock<IAct> act; [SetUp()] pu...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using Moq; using Engine; namespace EngineTest { [TestFixture()] public class ActorShould { Mock<IScene> scene; Actor actor; Mock<IStrategy> strategy; [SetUp()] public void SetUp() { strat...
mit
C#
dc2465cec2e087bcf793cd752d6ce4f23f672bd4
Remove using
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Models/UniversityCrudProvider.cs
R7.University/Models/UniversityCrudProvider.cs
// // UniversityCrudProvider.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2018 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 Softwar...
// // UniversityCrudProvider.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2018 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 Softwar...
agpl-3.0
C#
c3af1fedc868de1fa0f7b371601851c61a508860
make /event work
prozum/solitude
Solitude.Server/Controllers/EventController.cs
Solitude.Server/Controllers/EventController.cs
using System.Web.Http; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using System.Collections.Generic; using Model; namespace Solitude.Server { [RoutePrefix("api/event")] public class EventController : SolitudeController { [Authorize] public async Task<IHttpActionResult> Get(...
using System.Web.Http; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using System.Collections.Generic; using Model; namespace Solitude.Server { [RoutePrefix("api/event")] public class EventController : SolitudeController { [Authorize] public async Task<IHttpActionResult> Get(...
mit
C#
ae7f4087cd0a91b686276fe5b019ef89c9b8aff8
fix for MyGravityProviderComponent
Souper07/Autopilot,Rynchodon/ARMS,Rynchodon/Autopilot,Souper07/Autopilot,Rynchodon/ARMS,Rynchodon/Autopilot
Scripts/Utility/Extensions/MyPlanetExtensions.cs
Scripts/Utility/Extensions/MyPlanetExtensions.cs
using Sandbox.Game.Entities; using Sandbox.ModAPI; using VRage.ModAPI; using VRageMath; namespace Rynchodon { public static class MyPlanetExtensions { public static MyPlanet GetClosestPlanet(Vector3D position) { double distSquared; return GetClosestPlanet(position, out distSquared); } public static M...
using Sandbox.Game.Entities; using Sandbox.ModAPI; using VRage.ModAPI; using VRageMath; namespace Rynchodon { public static class MyPlanetExtensions { public static MyPlanet GetClosestPlanet(Vector3D position) { double distSquared; return GetClosestPlanet(position, out distSquared); } public static M...
cc0-1.0
C#
06242559492710e6b62773e7510086d5d3dd1626
Fix inner exception message assertion
edpollitt/Nerdle.AutoConfig
Nerdle.AutoConfig.Tests.Unit/Mapping/MappingFromAttributeTests/When_mapping_a_property.cs
Nerdle.AutoConfig.Tests.Unit/Mapping/MappingFromAttributeTests/When_mapping_a_property.cs
using System; using System.Reflection; using System.Xml.Linq; using FluentAssertions; using Nerdle.AutoConfig.Exceptions; using Nerdle.AutoConfig.Mapping; using NUnit.Framework; namespace Nerdle.AutoConfig.Tests.Unit.Mapping.MappingFromAttributeTests { [TestFixture] public class When_mapping_a_property { ...
using System; using System.Reflection; using System.Xml.Linq; using FluentAssertions; using Nerdle.AutoConfig.Exceptions; using Nerdle.AutoConfig.Mapping; using NUnit.Framework; namespace Nerdle.AutoConfig.Tests.Unit.Mapping.MappingFromAttributeTests { [TestFixture] public class When_mapping_a_property { ...
mit
C#
9c87bdbcc62f04a709eb11036d7f637a1ffc7724
Update HttpStringDecodeFilter.cs
CypressNorth/.NET-WebApi-HttpStringDecodeFilter
HttpStringDecodeFilter.cs
HttpStringDecodeFilter.cs
using System; using System.Net; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace CN.WebApi.Filters { public class DecodeFilter : ActionFilterAttribute { public override void OnActionExecuting(HttpActionContext actionContext) { base...
using System; using System.Net; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace CN.WebApi.Filters { public class DecodeFilter : ActionFilterAttribute { public override void OnActionExecuting(HttpActionContext actionContext) { base...
mit
C#
56d2afabe55562282e79a3d9f7fbe986ddebcedd
Remove unnecessary else statement. Remove unnecessary return statement.
kreynes/TeleBot
TeleBot/API/Extensions/ParseModeEnumConverter.cs
TeleBot/API/Extensions/ParseModeEnumConverter.cs
using System; using Newtonsoft.Json; using TeleBot.API.Enums; namespace TeleBot.API.Extensions { public class ParseModeEnumConverter : JsonConverter { public override bool CanConvert(Type objectType) { return objectType == typeof(string); } public override object R...
using System; using Newtonsoft.Json; using TeleBot.API.Enums; namespace TeleBot.API.Extensions { public class ParseModeEnumConverter : JsonConverter { public override bool CanConvert(Type objectType) { return objectType == typeof(string); } public override object R...
mit
C#
888f050b86fc092fce2c4706ad91bfd2b6ea6f20
add reference type restriction to generic param
NebulousConcept/b2-csharp-client
b2-csharp-client/B2.Client/ValidationUtils.cs
b2-csharp-client/B2.Client/ValidationUtils.cs
using System; namespace B2.Client { /// <summary> /// Extension methods for doing common method parameter validation. /// </summary> public static class ValidationUtils { /// <summary> /// Validate that a value is non-null. This method is intended for simple parameter validation i...
using System; namespace B2.Client { /// <summary> /// Extension methods for doing common method parameter validation. /// </summary> public static class ValidationUtils { /// <summary> /// Validate that a value is non-null. This method is intended for simple parameter validation i...
mit
C#
76bb320f08e0a686e4c7383b2edcf2c69caa0d3b
Fix hash calculation
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Utils/EntityLumpKeyLookup.cs
ValveResourceFormat/Utils/EntityLumpKeyLookup.cs
using System.Collections.Generic; using ValveResourceFormat.ThirdParty; namespace ValveResourceFormat.Utils { public static class EntityLumpKeyLookup { public const uint MURMUR2SEED = 0x31415926; // It's pi! private static Dictionary<string, uint> Lookup = new Dictionary<string, uint>(); ...
using System.Collections.Generic; using ValveResourceFormat.ThirdParty; namespace ValveResourceFormat.Utils { public static class EntityLumpKeyLookup { public const uint MURMUR2SEED = 0x31415926; // It's pi! private static Dictionary<string, uint> Lookup = new Dictionary<string, uint>(); ...
mit
C#
93d44d29d2ec933fbf7af6649e7a28e8b0bc66e2
Remove IPlayerEvent
Yonom/BotBits,EEJesse/BotBits,Tunous/BotBits
BotBits/Packages/MessageHandler/Events/PlayerEvent.cs
BotBits/Packages/MessageHandler/Events/PlayerEvent.cs
using PlayerIOClient; namespace BotBits.Events { internal interface ICancellable { bool Cancelled { get; } } public abstract class PlayerEvent<T> : ReceiveEvent<T>, ICancellable where T : PlayerEvent<T> { private readonly Player _player; internal PlayerEvent(BotBitsClient...
using System; using System.Collections.Generic; using PlayerIOClient; namespace BotBits.Events { internal interface ICancellable { bool Cancelled { get; } } public interface IPlayerEvent { Player Player { get; } } public abstract class PlayerEvent<T> : ReceiveEvent<T>, IP...
mit
C#
0f945ac2b1f13a7530be767bad5490bbcb8781a5
Update VM.cs
zxfishhack/KafkaSniffer
VM.cs
VM.cs
using System.Collections.ObjectModel; namespace KafkaSniffer { internal class Vm { public BrokerInfo BrokerInfo { get; } = BrokerInfo.Instance; public ObservableCollection<Consumer> ConsumerList { get; } = new ObservableCollection<Consumer>(); public ObservableCollection<Producer> Produ...
using System.Collections.Generic; namespace KafkaSniffer { internal class Vm { public BrokerInfo BrokerInfo { get; } = BrokerInfo.Instance; public List<Consumer> ConsumerList { get; } = new List<Consumer>(); public List<Producer> ProducerList { get; } = new List<Producer>(); } }
apache-2.0
C#
02d242a71c9fe959f6726862804d600080490f4e
split out the variable
wangkanai/Detection
test/Hosting/PageRouteModelConventionTest.cs
test/Hosting/PageRouteModelConventionTest.cs
using System.Linq; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging.Abstractions; using Wangkanai.Detection.Mocks; using Xunit; namespace Wangkanai.Detection.Hosting { public class PageRouteModelConventionTest { [Fact] ...
using System.Linq; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging.Abstractions; using Wangkanai.Detection.Mocks; using Xunit; namespace Wangkanai.Detection.Hosting { public class PageRouteModelConventionTest { [Fact] ...
apache-2.0
C#
86a1403d4846bd0ae37df0baf68e077477c54615
Update layout
tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller
schreinerei-gfeller/Views/Shared/_Layout.cshtml
schreinerei-gfeller/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Schreinerei Gfeller</title> @* CSS *@ <link href="~/res/16x16/favicon.png"...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - Meine ASP.NET-Anwendung</title> @Styles.Render("~/Content/css") @Scripts.Render(...
mit
C#
0f2e4c47c695686ef42d36c144887de28113caa3
Revert "Added edit method into UserRepository"
BikeMates/bike-mates,BikeMates/bike-mates,BikeMates/bike-mates
BikeMates/BikeMates.Contracts/IUserRepository.cs
BikeMates/BikeMates.Contracts/IUserRepository.cs
using BikeMates.DataAccess.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BikeMates.Contracts { //TODO: Create folder Repositories and move this interface into it //TODO: Create a base IRepository interface public inter...
using BikeMates.DataAccess.Entity; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BikeMates.Contracts { //TODO: Create folder Repositories and move this interface into it //TODO: Create a base IRepository interface public inter...
mit
C#
d385b53f81339208a8b6274bac73f206f39f1b56
Fix #7: Remove empty groups
tom-englert/ProjectConfigurationManager
ProjectConfigurationManager.Model/ExtensionMethods.cs
ProjectConfigurationManager.Model/ExtensionMethods.cs
namespace tomenglertde.ProjectConfigurationManager.Model { using System.Diagnostics.Contracts; using System.Xml.Linq; public static class ExtensionMethods { public static void RemoveSelfAndWhitespace(this XElement element) { Contract.Requires(element != null); ...
namespace tomenglertde.ProjectConfigurationManager.Model { using System.Diagnostics.Contracts; using System.Xml.Linq; public static class ExtensionMethods { public static void RemoveSelfAndWhitespace(this XElement element) { Contract.Requires(element != null); ...
mit
C#
af160fea3e814cec388976a54914d9694148e873
correct sheard to shared
mschray/CalendarHelper
shared/LogHelper.csx
shared/LogHelper.csx
public static class LogHelper { private static TraceWriter logger; public static void Initialize(TraceWriter log) { if (!logger) logger = log; } public static void Info(TraceWriter log, string logtext) { logger.Info(logtext); } public static void Error(TraceWriter l...
public static class LogHelper { private static TraceWriter logger; public static void Initialize(TraceWriter log) { if (!logger) logger = log; } public static void Info(TraceWriter log, string logtext) { logger.Info(logtext); } public static void Error(TraceWriter lo...
mit
C#
7e484d5c4eeda9a0a8b4d852c242054e9e4f4f16
Add StdToText and StdToJson
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tooling/ProcessExtensions.cs
source/Nuke.Common/Tooling/ProcessExtensions.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; using Newtonsoft.Json.Linq; using Nuke.Common.IO; using Nuke....
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using JetBrains.Annotations; namespace Nuke.Common.Tooling { [PublicAPI] [Debugge...
mit
C#
50a02b23f904abd5b65e654b561fb38587c5b35c
Add xml comments to IExecutionStrategy (#1539)
graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Execution/IExecutionStrategy.cs
src/GraphQL/Execution/IExecutionStrategy.cs
using System.Threading.Tasks; namespace GraphQL.Execution { /// <summary> /// Processes a parsed GraphQL request, resolving all the nodes and returning the result; exceptions /// are unhandled. Should not run any <see cref="IDocumentExecutionListener">IDocumentExecutionListener</see>s except /// for <s...
using System.Threading.Tasks; namespace GraphQL.Execution { public interface IExecutionStrategy { Task<ExecutionResult> ExecuteAsync(ExecutionContext context); } }
mit
C#
a6648da511e2f5ebfcf43c204f9d0129d5e34b78
fix namespace in FileSandboxFeature
ArtofQuality/F2F.Testing,ArtofQuality/F2F.Testing
src/F2F.Testing.Xunit.Sandbox/FileSandboxFeature.cs
src/F2F.Testing.Xunit.Sandbox/FileSandboxFeature.cs
using System; using System.Collections.Generic; using System.Text; using F2F.Testing.Sandbox; #if NUNIT using NUnit.Framework; namespace F2F.Testing.NUnit.Sandbox #endif #if XUNIT namespace F2F.Testing.Xunit.Sandbox #endif #if MSTEST using Microsoft.VisualStudio.TestTools.UnitTesting; namespace F2F.Testing.MSTest.Sa...
using System; using System.Collections.Generic; using System.Text; using F2F.Testing.Sandbox; #if NUNIT using NUnit.Framework; namespace F2F.Testing.NUnit #endif #if XUNIT namespace F2F.Testing.Xunit #endif #if MSTEST using Microsoft.VisualStudio.TestTools.UnitTesting; namespace F2F.Testing.MSTest #endif { /// <su...
mit
C#
7072d089ef9671e5e42a05b687968c46cc566d4e
Remove heartbeat server property index name
sergezhigunov/Hangfire.EntityFramework
src/Hangfire.EntityFramework/HangfireServer.cs
src/Hangfire.EntityFramework/HangfireServer.cs
// Copyright (c) 2017 Sergey Zhigunov. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hangfire.EntityFramework { internal class HangfireS...
// Copyright (c) 2017 Sergey Zhigunov. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Hangfire.EntityFramework { internal class HangfireS...
mit
C#
3d39cc02578e28899114ccf2d0bc1a03f7ef9b89
Increase version to 1.3 before publication
fredatgithub/UsefulFunctions
CodeGenerationWinForm/Properties/AssemblyInfo.cs
CodeGenerationWinForm/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
mit
C#
bdb07e5396562f1a1b4d2f01853df872ca8f3e83
Add Fallback func
bunashibu/kikan
Assets/Scripts/Matching/TeamToggleManager.cs
Assets/Scripts/Matching/TeamToggleManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Hashtable = ExitGames.Client.Photon.Hashtable; namespace Bunashibu.Kikan { public class TeamToggleManager : Photon.MonoBehaviour { void Start() { SetHope(-1); _redToggle.onValueChanged.AddList...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Hashtable = ExitGames.Client.Photon.Hashtable; namespace Bunashibu.Kikan { public class TeamToggleManager : Photon.MonoBehaviour { void Start() { _redToggle.onValueChanged.AddListener((state) => { ...
mit
C#
fa9e7b7d85ba3eaae8758f182829ae65957b76c2
Fix bug on zoom camera by mouse wheel
ReiiYuki/KU-Structure
Assets/Scripts/UtilityScript/CameraZoomer.cs
Assets/Scripts/UtilityScript/CameraZoomer.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraZoomer : MonoBehaviour { public float perspectiveZoomSpeed = 0.5f; // The rate of change of the field of view in perspective mode. public float orthoZoomSpeed = 0.5f; // The rate of change of the o...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraZoomer : MonoBehaviour { public float perspectiveZoomSpeed = 0.5f; // The rate of change of the field of view in perspective mode. public float orthoZoomSpeed = 0.5f; // The rate of change of the o...
mit
C#
e5bf98f204470a02b95d7bee7373e7c42a3d04ab
Add ShowInExpenseClaims prop in Account model
jcvandan/XeroAPI.Net,TDaphneB/XeroAPI.Net,XeroAPI/XeroAPI.Net,MatthewSteeples/XeroAPI.Net
source/XeroApi/Model/Account.cs
source/XeroApi/Model/Account.cs
using System; namespace XeroApi.Model { public class Account : ModelBase { [ItemId] public Guid AccountID { get; set; } public string Code { get; set; } public string Name { get; set; } public string Status { get; set; } public string Type { get; set; } ...
using System; namespace XeroApi.Model { public class Account : ModelBase { [ItemId] public Guid AccountID { get; set; } public string Code { get; set; } public string Name { get; set; } public string Status { get; set; } public string Type { get; set; } ...
mit
C#
9cdb1c13d02b96fca2ac8d40e90670b61e597349
Update CsiTests.cs to explicitly check for /i- in the generated build task response file contents.
tannergooding/roslyn,MichalStrehovsky/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,diryboy/roslyn,Giftednewt/roslyn,panopticoncentral/roslyn,antonssonj/roslyn,davkean/roslyn,MatthieuMEZIL/roslyn,reaction1989/roslyn,panopticoncentral/roslyn,dpoeschl/roslyn,heejaechang/roslyn,amcasey/roslyn,dotnet/roslyn,vcsjones/roslyn...
src/Compilers/Core/MSBuildTaskTests/CsiTests.cs
src/Compilers/Core/MSBuildTaskTests/CsiTests.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 Xunit; namespace Microsoft.CodeAnalysis.BuildTasks.UnitTests { public sealed class CsiTests { [Fact] public void...
// 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 Xunit; namespace Microsoft.CodeAnalysis.BuildTasks.UnitTests { public sealed class CsiTests { [Fact] public void...
mit
C#
8395fd6f6e8f1bebfa3384ddece309a9200cfa68
Fix validation error message, add working directory to failure message
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#
53ee0902ae0941fae4f221ad9f505cb7df957db7
Add warnings to ResultType
bazzilic/choco,harish123400/choco,jberezanski/choco,kouweizhong/choco,sideeffffect/choco,mwrock/choco,alephnaughty/choco,finchd/choco,harish123400/choco,raisercostin/choco,hagb4rd/choco,jamessingizi/choco,TheBigBear/choco,dshaneg/choco,TheBigBear/choco,mwrock/choco,ShwoognationHQ/choco,Apteryx0/choco,vcarrera/choco,hag...
src/chocolatey/infrastructure/results/ResultType.cs
src/chocolatey/infrastructure/results/ResultType.cs
namespace chocolatey.infrastructure.results { /// <summary> /// When working with results, this identifies the type of result /// </summary> public enum ResultType { /// <summary> /// The default result type. /// </summary> None, /// <summary>...
namespace chocolatey.infrastructure.results { /// <summary> /// When working with results, this identifies the type of result /// </summary> public enum ResultType { /// <summary> /// The default result type. /// </summary> None, /// <summary>...
apache-2.0
C#
afdb5fcee54635c405bad7c35d331575350ffbdf
Fix identation
toddams/RazorLight,toddams/RazorLight
src/RazorLight/ITemplatePage.cs
src/RazorLight/ITemplatePage.cs
using Microsoft.AspNetCore.Html; using RazorLight.Internal; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace RazorLight { public interface ITemplatePage { void SetModel(object model); /// <summary> /// Gets or sets the view context of the rendering template. /// </sum...
using Microsoft.AspNetCore.Html; using RazorLight.Internal; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace RazorLight { public interface ITemplatePage { void SetModel(object model); /// <summary> /// Gets or sets the view context of the renderi...
apache-2.0
C#
f25240cfe6a4b7f030b2dfd5db1365b4de44301d
Set current SynchronizationContext before the game loop starts
mcanders/godot,mcanders/godot,RandomShaper/godot,Paulloz/godot,RandomShaper/godot,Valentactive/godot,NateWardawg/godot,sanikoyes/godot,josempans/godot,firefly2442/godot,godotengine/godot,Valentactive/godot,BastiaanOlij/godot,NateWardawg/godot,Valentactive/godot,guilhermefelipecgs/godot,groud/godot,ZuBsPaCe/godot,firefl...
modules/mono/glue/cs_files/GodotTaskScheduler.cs
modules/mono/glue/cs_files/GodotTaskScheduler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Godot { public class GodotTaskScheduler : TaskScheduler { private GodotSynchronizationContext Context { get; set; } private readonly LinkedList<Task> _tasks = new LinkedList<Task>();...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Godot { public class GodotTaskScheduler : TaskScheduler { private GodotSynchronizationContext Context { get; set; } private readonly LinkedList<Task> _tasks = new LinkedList<Task>();...
mit
C#
40a28c08d92d98cf06af688a71b551e6a4ffd2e1
fix specs that depend on version
jonnii/SpeakEasy
src/SpeakEasy.Specifications/UserAgentSpecs.cs
src/SpeakEasy.Specifications/UserAgentSpecs.cs
using Machine.Specifications; namespace SpeakEasy.Specifications { [Subject(typeof(UserAgent))] class UserAgentSpecs { class default_user_agent { It should_contain_app_version = () => UserAgent.SpeakEasy.Name.ShouldContain("SpeakEasy/1."); } } }
using Machine.Specifications; namespace SpeakEasy.Specifications { [Subject(typeof(UserAgent))] class UserAgentSpecs { class default_user_agent { It should_contain_app_version = () => UserAgent.SpeakEasy.Name.ShouldContain("SpeakEasy/1.0"); } } }
apache-2.0
C#
d0c1245877064612cb78446d634b5a801802907d
Make ClientException fields public
tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Client/ClientException.cs
src/Tgstation.Server.Client/ClientException.cs
using System; using System.Net; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <summary> /// Exceptions thrown by <see cref="IServerClient"/>s /// </summary> public abstract class ClientException : Exception { /// <summary> /// The <see cref="HttpStatusCode"/> of the <see cref="Cli...
using System; using System.Net; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <summary> /// Exceptions thrown by <see cref="IServerClient"/>s /// </summary> public abstract class ClientException : Exception { /// <summary> /// The <see cref="HttpStatusCode"/> of the <see cref="Cl...
agpl-3.0
C#
a0864fb41f959c81d52154f5cb0d15f12bf5104e
Update AssemblyInfo
Implem/Implem.Pleasanter,Implem/Implem.Pleasanter,Implem/Implem.Pleasanter
Implem.Pleasanter/Properties/AssemblyInfo.cs
Implem.Pleasanter/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Implem.Pleasanter")] [assembly: AssemblyDescription("Business application platform")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Implem.Pleasanter")] [assembly: AssemblyCopyri...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Implem.Pleasanter")] [assembly: AssemblyDescription("Business application platform")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Implem.Pleasanter")] [assembly: AssemblyCopyri...
agpl-3.0
C#
f6e38562ca963299ec18f590b33a3d01ac767168
Handle null id for Cars/Details action
tipjung/tdd-carfuel,tipjung/tdd-carfuel,tipjung/tdd-carfuel
CarFuel/Controllers/CarsController.cs
CarFuel/Controllers/CarsController.cs
using CarFuel.DataAccess; using CarFuel.Models; using CarFuel.Services; using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; namespace CarFuel.Controllers { public class CarsController : Controller { ...
using CarFuel.DataAccess; using CarFuel.Models; using CarFuel.Services; using Microsoft.AspNet.Identity; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace CarFuel.Controllers { public class CarsController : Controller { private ICarDb ...
mit
C#
65e7aa20fc4becf81d18a90ff7b07ff23a8b3b52
Update version to 0.8
Carbon/Css
Carbon.Css/Properties/AssemblyInfo.cs
Carbon.Css/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Carbon Css")] [assembly: AssemblyProduct("Carbon")] [assembly: AssemblyCopyright("© 2012-2014 Jason Nelson")] [assembly: AssemblyVersion("0.0.8")] /* - CssPropertyInfo IsStandard Vendor 0.0.1 (2012-07-20) ---------------------------------------...
using System.Reflection; [assembly: AssemblyTitle("Carbon Css")] [assembly: AssemblyProduct("Carbon")] [assembly: AssemblyCopyright("© 2012-2014 Jason Nelson")] [assembly: AssemblyVersion("0.0.7")] /* - CssPropertyInfo IsStandard Vendor 0.0.1 (2012-07-20) ---------------------------------------...
mit
C#
007d807efffbd5838392e85412a1adddc1f382c8
Comment section updated
shahriarhossain/MailChimp.Api.Net
MailChimp.Api.Net/Services/Reports/MCReportsLocation.cs
MailChimp.Api.Net/Services/Reports/MCReportsLocation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsLocation ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Reports; using MailChimp.Api.Net.Enum; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Reports { public class MCReportsLocation ...
mit
C#
ee851cf3049d59f9ef6ab40949d41eb2db3b2729
add test for missing x-upstream header
Pondidum/Jess,Pondidum/Jess
Jess.Tests/Acceptance/Hydration/WhenHydrating.cs
Jess.Tests/Acceptance/Hydration/WhenHydrating.cs
using System; using System.Net; using System.Net.Http; using Jess.Tests.Util; using Newtonsoft.Json; using Shouldly; using Xunit; namespace Jess.Tests.Acceptance.Hydration { public class WhenHydrating : AcceptanceBase { public WhenHydrating() { Remote.RespondsTo( "/candidate/ref/123", request => new ...
using System.Net.Http; using Jess.Tests.Util; using Shouldly; using Xunit; namespace Jess.Tests.Acceptance.Hydration { public class WhenHydrating : AcceptanceBase { public WhenHydrating() { Remote.RespondsTo( "/candidate/ref/123", request => new DehydratedResponse(Resource.PersonWithOneRef)); Rem...
lgpl-2.1
C#
32f54484363662d973c5583522179fe46f439390
Add NotOfType<T>() and FirstOfType<T>().
PombeirP/LinqContrib
src/Linq.Contrib/LinqExtensions.cs
src/Linq.Contrib/LinqExtensions.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LinqExtensions.cs" company="Developer In The Flow"> // © 2013 Pedro Pombeiro // </copyright> // ---------------------------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="LinqExtensions.cs" company="Developer In The Flow"> // © 2013 Pedro Pombeiro // </copyright> // ---------------------------------------------------------------------------------...
mit
C#
ede7d9b8e77d5b5c71f33af67676d58179863a74
Update SkillsController - nou it is possible to remove skills from the database
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.WebApp/Controllers/SkillsController.cs
NinjaHive.WebApp/Controllers/SkillsController.cs
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class SkillsController : Controller { private readonly IQueryPr...
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class SkillsController : Controller { private readonly IQueryPr...
apache-2.0
C#