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
1ce48322bf272c187825219d0aea9b91965feae3
Store payments
open-pay/openpay-dotnet,EzyWebwerkstaden/openpay-dotnet
Openpay/Entities/PaymentMethod.cs
Openpay/Entities/PaymentMethod.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Openpay.Entities { public class PaymentMethod { [JsonProperty(PropertyName = "type")] public String Type { get; set; } [JsonProperty(PropertyName = "bank")] ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Openpay.Entities { public class PaymentMethod { [JsonProperty(PropertyName = "type")] public String Type { get; set; } [JsonProperty(PropertyName = "bank")] ...
apache-2.0
C#
359e12d65ac3d3f060a7ccb9955407056a3e4343
Remove Snapshot stats fields (#3886)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs
src/Nest/Modules/SnapshotAndRestore/Snapshot/SnapshotStatus/SnapshotStatusResponse.cs
using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [DataContract] public class SnapshotStatusResponse : ResponseBase { [DataMember(Name ="snapshots")] public IReadOnlyCollection<SnapshotStatus> Snapshots { get; internal set; } = EmptyReadOnly<Snapsho...
using System.Collections.Generic; using System.Runtime.Serialization; using Elasticsearch.Net; namespace Nest { [DataContract] public class SnapshotStatusResponse : ResponseBase { [DataMember(Name ="snapshots")] public IReadOnlyCollection<SnapshotStatus> Snapshots { get; internal set; } = EmptyReadOnly<Snapsho...
apache-2.0
C#
46ab0741ad07901ac79da10f8e535a5aa61519e7
Add Close() method.
Schoonology/cs-resp
Resp/RespClient.cs
Resp/RespClient.cs
using System; using System.Net; using System.Net.Sockets; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Resp { public class RespClient { private TcpClient client; private Stream stream; private RespReade...
using System; using System.Net; using System.Net.Sockets; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Resp { public class RespClient { private Stream _stream; public Stream stream { get { r...
mit
C#
896814a4276302c5ed7cd43daf7faf24e64d435d
Add GPG Keys API preview header
shiftkey-tester-org-blah-blah/octokit.net,shiftkey/octokit.net,shana/octokit.net,dampir/octokit.net,octokit/octokit.net,rlugojr/octokit.net,shiftkey-tester/octokit.net,TattsGroup/octokit.net,alfhenrik/octokit.net,ivandrofly/octokit.net,ivandrofly/octokit.net,thedillonb/octokit.net,Sarmad93/octokit.net,devkhan/octokit.n...
Octokit/Helpers/AcceptHeaders.cs
Octokit/Helpers/AcceptHeaders.cs
using System.Diagnostics.CodeAnalysis; namespace Octokit { public static class AcceptHeaders { public const string StableVersion = "application/vnd.github.v3"; public const string StableVersionHtml = "application/vnd.github.html"; public const string RedirectsPreviewThenStableVersion...
namespace Octokit { public static class AcceptHeaders { public const string StableVersion = "application/vnd.github.v3"; public const string StableVersionHtml = "application/vnd.github.html"; public const string RedirectsPreviewThenStableVersionJson = "application/vnd.github.quicksilv...
mit
C#
fc099da0e7abbdc501171c65057a73043b0f6b0d
Add one more unit test to ImportControllerTests
mgmccarthy/allReady,bcbeatty/allReady,anobleperson/allReady,VishalMadhvani/allReady,chinwobble/allReady,bcbeatty/allReady,mipre100/allReady,mipre100/allReady,dpaquette/allReady,binaryjanitor/allReady,pranap/allReady,bcbeatty/allReady,arst/allReady,c0g1t8/allReady,dpaquette/allReady,bcbeatty/allReady,HTBox/allReady,Bill...
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/ImportControllerTests.cs
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Controllers/ImportControllerTests.cs
using System; using AllReady.Areas.Admin.Controllers; using AllReady.Areas.Admin.Features.Requests; using AllReady.UnitTest.Extensions; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Moq; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Controllers { publi...
using System; using AllReady.Areas.Admin.Controllers; using AllReady.UnitTest.Extensions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Moq; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Controllers { public class ImportControllerTests { [Fact] p...
mit
C#
5c9810970e320cdd02dfb43b63ff3497ba26907b
Update AssemblyInfo.cs
aravol/Jacinth
Jacinth/Properties/AssemblyInfo.cs
Jacinth/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("Ja...
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("Ja...
epl-1.0
C#
4f4488de5222a3478b6f233f981ee38091f0bc1d
clean up example program
BaconSoap/autofac-programming-language
TestConsoleApp/IsAndrewProgram.cs
TestConsoleApp/IsAndrewProgram.cs
using AutofacProgrammingLanguage.Commands; using AutofacProgrammingLanguage.Conditions; using AutofacProgrammingLanguage.ValueProviders; namespace TestConsoleApp { public class IsAndrewProgram { public IsAndrewProgram( PrintValue<NameQuestionProvider> a, PrintValue<NewlineValue...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AutofacProgrammingLanguage.Commands; using AutofacProgrammingLanguage.Conditions; using AutofacProgrammingLanguage.ValueProviders; namespace TestConsoleApp { public class IsAndrewProgram {...
mit
C#
2b2d6c5aeaf33d79f299d4526efdedf02bbfbb3d
Update MaximalSequence.cs
PetarTilevRusev/Arrays-Homework
MaximalSequence/MaximalSequence.cs
MaximalSequence/MaximalSequence.cs
using System; using System.Collections.Generic; using System.Linq; /*Problem 4. Maximal sequence Write a program that finds the maximal sequence of equal elements in an array. Example: input ...
using System; using System.Collections.Generic; using System.Linq; /*Problem 4. Maximal sequence Write a program that finds the maximal sequence of equal elements in an array. Example: input ...
mit
C#
20cfa5d83fbe783e3f0520c216c871ccc27d17c8
Add button to access latency comparer from game
peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.cs
osu.Game/Overlays/Settings/Sections/DebugSettings/GeneralSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Framework.Screens; using osu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Configuration; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Framework.Screens; using osu...
mit
C#
aacefa745044967265258dc69bb1ec24f6e46a12
Add DllCharacteristics xmldoc.
Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver
src/AsmResolver.PE.File/Headers/DllCharacteristics.cs
src/AsmResolver.PE.File/Headers/DllCharacteristics.cs
using System; namespace AsmResolver.PE.File.Headers { /// <summary> /// Provides members describing all possible flags that can be set in the <see cref="OptionalHeader.DllCharacteristics"/> /// field. /// </summary> [Flags] public enum DllCharacteristics { /// <summary> /// ...
using System; namespace AsmResolver.PE.File.Headers { [Flags] public enum DllCharacteristics { HighEntropyVA = 0x0020, DynamicBase = 0x0040, ForceIntegrity = 0x0080, NxCompat = 0x0100, NoIsolation = 0x0200, NoSeh = 0x0400, NoBind = 0x0800, Wd...
mit
C#
c835597717679d6bd1f2035b1a1e7c1d493d9d8a
Update InterfaceUrl.cs
rongcloud/server-sdk-dotnet
RongCloudServerSDK/InterfaceUrl.cs
RongCloudServerSDK/InterfaceUrl.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace io.rong { class InterfaceUrl { public static String server_addr = "http://api.cn.ronghub.com"; public static String getTokenUrl = server_addr+"/user/getToken.json"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace io.rong { class InterfaceUrl { public static String server_addr = "http://api.cn.ronghub.com"; public static String getTokenUrl = server_addr+"/user/getToken.json"; ...
mit
C#
7ebd87a6b2904be19d382b00ac25b13ae5f8a844
Add doc comments for FormOptions.
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Http/Features/FormOptions.cs
src/Microsoft.AspNetCore.Http/Features/FormOptions.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.IO; using Microsoft.AspNetCore.WebUtilities; namespace Microsoft.AspNetCore.Http.Features { public class FormOptions { pu...
// 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 Microsoft.AspNetCore.WebUtilities; namespace Microsoft.AspNetCore.Http.Features { public class FormOptions { public const int De...
apache-2.0
C#
3ce30673473fd124c536d786fb31bee70f96c9f1
Make sure to also customize Mock<TextWriter> and use same instance
appharbor/appharbor-cli
src/AppHarbor.Tests/TextWriterCustomization.cs
src/AppHarbor.Tests/TextWriterCustomization.cs
using System.IO; using Moq; using Ploeh.AutoFixture; namespace AppHarbor.Tests { public class TextWriterCustomization : ICustomization { public void Customize(IFixture fixture) { var textWriterMock = new Mock<TextWriter>(); fixture.Customize<TextWriter>(x => x.FromFactory(() => { return textWriterMock.Obj...
using System; using System.IO; using Ploeh.AutoFixture; namespace AppHarbor.Tests { public class TextWriterCustomization : ICustomization { public void Customize(IFixture fixture) { fixture.Customize<TextWriter>(x => x.FromFactory(() => { return Console.Out; })); } } }
mit
C#
b353aa3b3ff1447216372287ba09259b782b276b
Put in the public shared secret as an example
RoyalVeterinaryCollege/VetCompassClient
clr/ConsoleExample.net45/Program.cs
clr/ConsoleExample.net45/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using VetCompass.Client; namespace ConsoleExample { class Program { static void Main(string[] args) { //var key ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using VetCompass.Client; namespace ConsoleExample { class Program { static void Main(string[] args) { var client...
mit
C#
38c3365e4e720488d545d72513858843acfba2a0
Update Problem16.cs
neilopet/projecteuler_cs
Problem16.cs
Problem16.cs
/* * Problem 16 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? */ using System; using System.Numerics; public class Problem16 { public static void Main() { BigInteger n = new BigInteger(1); /* Left bit shifting is the same as raising to p...
/* * Problem 16 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? */ using System; using System.Numerics; public class Problem16 { public static void Main() { /* Left bit shifting is the same as raising to power of 2 */ BigInteger n = new Big...
mit
C#
6c44cdce349bae8537b717b1d45d1789fbaa8d7e
Add TODOs
OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania
src/StatisticsRomania/StatisticsRomania/App.cs
src/StatisticsRomania/StatisticsRomania/App.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using StatisticsRomania.Views; using Xamarin.Forms; using SQLite.Net.Async; namespace StatisticsRomania { // TODO: new functionalities: // - export data // - fix issues on rotating // - forecast: https://azure.mic...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using StatisticsRomania.Views; using Xamarin.Forms; using SQLite.Net.Async; namespace StatisticsRomania { // TODO: new functionalities: // - export data // - fix issues on rotating // - forecast: https://azure.mic...
mit
C#
04c7bcb638909dbe83c1c0dfca36055a4ee464d9
Add "plan" to StripSubscriptionUpdateOptions so we can change plans.
haithemaraissia/stripe.net,DemocracyVenturesInc/stripe.net,weizensnake/stripe.net,duckwaffle/stripe.net,AvengingSyndrome/stripe.net,DemocracyVenturesInc/stripe.net,sidshetye/stripe.net,craigmckeachie/stripe.net,AvengingSyndrome/stripe.net,hattonpoint/stripe.net,Raganhar/stripe.net,agrogan/stripe.net,matthewcorven/strip...
src/Stripe/Services/Subscriptions/StripeSubscriptionUpdateOptions.cs
src/Stripe/Services/Subscriptions/StripeSubscriptionUpdateOptions.cs
using System; using Newtonsoft.Json; using System.Collections.Generic; namespace Stripe { public class StripeSubscriptionUpdateOptions : StripeSubscriptionCreateOptions { [JsonProperty("prorate")] public bool? Prorate { get; set; } [JsonProperty("plan")] public string PlanId { get; set; } } ...
using System; using Newtonsoft.Json; using System.Collections.Generic; namespace Stripe { public class StripeSubscriptionUpdateOptions : StripeSubscriptionCreateOptions { [JsonProperty("prorate")] public bool? Prorate { get; set; } } }
apache-2.0
C#
86367a088932a733e407ee2b738c285454408df3
Add Move.ToString()
ProgramFOX/Chess.NET
ChessDotNet/Move.cs
ChessDotNet/Move.cs
namespace ChessDotNet { public class Move { public Position OriginalPosition { get; private set; } public Position NewPosition { get; private set; } public Players Player { get; ...
namespace ChessDotNet { public class Move { public Position OriginalPosition { get; private set; } public Position NewPosition { get; private set; } public Players Player { get; ...
mit
C#
c8f7f041375263e121ad08d004ac5ab4a27a2fff
Fix naming and Documentation
tom-englert/TomsToolbox
TomsToolbox.Composition/IExport.cs
TomsToolbox.Composition/IExport.cs
namespace TomsToolbox.Composition { using JetBrains.Annotations; /// <summary> /// Encapsulation of an DI exported object with metadata. /// </summary> /// <typeparam name="T">The type of the object.</typeparam> /// <typeparam name="TMetadata">The type of the metadata.</typeparam> public i...
namespace TomsToolbox.Composition { using JetBrains.Annotations; /// <summary> /// Encapsulation of an DI exported object with metadata. /// </summary> /// <typeparam name="T">The type of the object.</typeparam> /// <typeparam name="TMetadata">The type of the metadata.</typeparam> public i...
mit
C#
2a1696b85d0307fa26d769623576d7ea3e42fedc
Remove debugging line. Sorry RockyTV!
81ninja/DarkMultiPlayer,Dan-Shields/DarkMultiPlayer,godarklight/DarkMultiPlayer,81ninja/DarkMultiPlayer,rewdmister4/rewd-mod-packs,RockyTV/DarkMultiPlayer,Sanmilie/DarkMultiPlayer,RockyTV/DarkMultiPlayer,dsonbill/DarkMultiPlayer,Kerbas-ad-astra/DarkMultiPlayer,godarklight/DarkMultiPlayer
Server/LogExpire.cs
Server/LogExpire.cs
using System; using System.IO; namespace DarkMultiPlayerServer { public class LogExpire { private static string logDirectory { get { return Path.Combine(Server.universeDirectory, DarkLog.LogFolder); } } public static void Exp...
using System; using System.IO; namespace DarkMultiPlayerServer { public class LogExpire { private static string logDirectory { get { return Path.Combine(Server.universeDirectory, DarkLog.LogFolder); } } public static void Exp...
mit
C#
2f2aeded2b22e6c443f09147933a772fe0469dd7
Add GitRepositoryConfigurer#Configure
appharbor/appharbor-cli
src/AppHarbor/GitRepositoryConfigurer.cs
src/AppHarbor/GitRepositoryConfigurer.cs
using System; using AppHarbor.Model; namespace AppHarbor { public class GitRepositoryConfigurer { private readonly IGitExecutor _executor; public GitRepositoryConfigurer(IGitExecutor executor) { _executor = executor; } public void Configure(string id, User user) { throw new NotImplementedExcepti...
namespace AppHarbor { public class GitRepositoryConfigurer { private readonly IGitExecutor _executor; public GitRepositoryConfigurer(IGitExecutor executor) { _executor = executor; } } }
mit
C#
d573e18ad8a79b17af0ba50f96845aa4a5f56c9e
bump version
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
configuration/SharedAssemblyInfo.cs
configuration/SharedAssemblyInfo.cs
using System.Reflection; // Assembly Info that is shared across the product [assembly: AssemblyProduct("InEngine.NET")] [assembly: AssemblyVersion("2.0.1.*")] [assembly: AssemblyInformationalVersion("2.0.1")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ethan Hann")] [assembly: AssemblyCopyright...
using System.Reflection; // Assembly Info that is shared across the product [assembly: AssemblyProduct("InEngine.NET")] [assembly: AssemblyVersion("2.0.0.*")] [assembly: AssemblyInformationalVersion("2.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ethan Hann")] [assembly: AssemblyCopyright...
mit
C#
eb8a521e4b3ab9fc9acef475f047c21fbc25354b
change version
HenriqueCaires/ZabbixApi,dominicx/ZabbixApi,binking338/ZabbixApi,HenriqueCaires/ZabbixApi
src/ZabbixApi/Properties/AssemblyInfo.cs
src/ZabbixApi/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("Za...
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("Za...
mit
C#
2be545a801488dbe7e634eb83013780594b57dc3
Disable NVOptimusEnabler for uwp
JeremyAnsel/helix-toolkit,chrkon/helix-toolkit,Iluvatar82/helix-toolkit,helix-toolkit/helix-toolkit,holance/helix-toolkit
Source/HelixToolkit.SharpDX.Shared/Utilities/NVOptimusEnabler.cs
Source/HelixToolkit.SharpDX.Shared/Utilities/NVOptimusEnabler.cs
using System; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX.Utilities #else namespace HelixToolkit.UWP.Utilities #endif { #if !NETFX_CORE /// <summary> /// Enable dedicated graphics card for rendering. https://stackoverflow.com/questions/17270429/forcing-hardware-accelerated-rendering /// </summary> ...
using System; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX.Utilities #else namespace HelixToolkit.UWP.Utilities #endif { /// <summary> /// Enable dedicated graphics card for rendering. https://stackoverflow.com/questions/17270429/forcing-hardware-accelerated-rendering /// </summary> public sealed...
mit
C#
7105acee7565dd3ed7814f4b44d5799cfbd0cd5c
Fix GUID in AssemblyInfo
GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA
Source/Libraries/openXDA.APIAuthentication/Properties/AssemblyInfo.cs
Source/Libraries/openXDA.APIAuthentication/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("ope...
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("ope...
mit
C#
fe99bbd846a428da44f0a92ba6d4430a7f7811ff
Move command file to appdata
adamsteinert/VoiceBuild
Vocal/Core/JsonCommandLoader.cs
Vocal/Core/JsonCommandLoader.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using Vocal.Model; namespace Vocal.Core { public class JsonCommandLoader { const string AppDataFolder = "VocalBuildEngine"; const string DefaultConfigFile = "commandsTemplate.json"; const string Wri...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using Vocal.Model; namespace Vocal.Core { public class JsonCommandLoader { const string DefaultConfigFile = "commandsTemp...
mit
C#
d9283b50d19a97a7b00886077467525f5ce618c3
Hide file input if readonly
mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory
FormFactory.Templates/Views/Shared/FormFactory/Property.FormFactory.ValueTypes.UploadedFile.cshtml
FormFactory.Templates/Views/Shared/FormFactory/Property.FormFactory.ValueTypes.UploadedFile.cshtml
@using FormFactory @model PropertyVm @if(!Model.Readonly) { <input type="hidden" name="@Model.Name" /> @*here to trick model binding into working :( *@ <input type="file" name="@Model.Name" @Model.Readonly() @Model.Disabled() /> }
@using FormFactory @model PropertyVm <input type="hidden" name="@Model.Name" id="MyFileSubmitPlaceHolder" />@*here to trick model binding into working :( *@ <input type="file" name="@Model.Name" @Model.Readonly() @Model.Disabled() />
mit
C#
f230e3db0f3045702387f377706b553ef75b0dda
Add DisconnectReuseSocket
KodamaSakuno/Sakuno.Base
src/Sakuno.Base/Net/SocketAsyncOperationContext.cs
src/Sakuno.Base/Net/SocketAsyncOperationContext.cs
using System.Net; using System.Net.Sockets; namespace Sakuno.Net { public sealed class SocketAsyncOperationContext : DisposableObject { SocketAsyncEventArgs _argument; internal SocketAsyncEventArgs Argument => _argument; SocketAsyncOperationAwaiter _awaiter; public Socket Ac...
using System.Net; using System.Net.Sockets; namespace Sakuno.Net { public sealed class SocketAsyncOperationContext : DisposableObject { SocketAsyncEventArgs _argument; internal SocketAsyncEventArgs Argument => _argument; SocketAsyncOperationAwaiter _awaiter; public Socket Ac...
mit
C#
36ea8138bb4e7439945aecdcfb6e2e383de0c285
Switch to using LocalApplicationData folder
mavasani/roslyn,diryboy/roslyn,reaction1989/roslyn,shyamnamboodiripad/roslyn,sharwell/roslyn,KirillOsenkov/roslyn,jasonmalinowski/roslyn,tmat/roslyn,ErikSchierboom/roslyn,stephentoub/roslyn,aelij/roslyn,sharwell/roslyn,diryboy/roslyn,jmarolf/roslyn,heejaechang/roslyn,AmadeusW/roslyn,agocke/roslyn,brettfo/roslyn,genlu/r...
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs
src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; using System.IO; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Serialization; namespace Micros...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Composition; using System.IO; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.Serialization; namespace Micros...
mit
C#
b0f9f02381d68c5cd8c320149476b6d77d5f08ca
Add Google Analytics
codingoutloud/azuremap-aspnet,codingoutloud/azuremap-aspnet
AzureMap/Views/Shared/_Layout.cshtml
AzureMap/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - AzureMap.azurewebsites.net</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navba...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - AzureMap.azurewebsites.net</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navba...
apache-2.0
C#
b914fc33f4c2e4156199eb20a7dbeb6dafc78b97
correct publickey
ekonbenefits/dotnetdbf,hermanho/dotnetdbf,hermanho/dotnetdbf,ekonbenefits/dotnetdbf
DotNetDBF/Properties/AssemblyInfo.cs
DotNetDBF/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 : Assembl...
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 : Assembl...
lgpl-2.1
C#
9d9e2653c5029d886083cb91fdb5e28b1b46c916
Add 'About' item to menu.
joeyespo/google-apps-client
GoogleAppsClient/MainForm.cs
GoogleAppsClient/MainForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Windows.Forms; namespace GoogleAppsClient { public partial class MainForm : Form { const string ABOUT_URL = "https://github.com/joeyespo/google-apps-client"; const string BAS...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Diagnostics; using System.Drawing; using System.Windows.Forms; namespace GoogleAppsClient { public partial class MainForm : Form { const string BASE_URL = "https://mail.google.com/"; const string DOMAIN_SEPARATOR = "a/"; ...
mit
C#
a1e50dc8af1762f1d15a1857fec02e5a5d539e46
undo tekk code
devlights/MyHelloWorld
MyHelloWorld/HelloWorld.Core/HelloWorldMessageManager.cs
MyHelloWorld/HelloWorld.Core/HelloWorldMessageManager.cs
namespace HelloWorld.Core { using System; using System.Collections.Generic; using System.Linq; public class HelloWorldMessageManager : IMessageManager { public string GetMessage(string value) { if (value == null) { throw new ArgumentNullException("value"); } if (st...
namespace HelloWorld.Core { using System; using System.Collections.Generic; using System.Linq; public class HelloWorldMessageManager : IMessageManager { public string GetMessage(string value) { if (value == null) { throw new ArgumentNullException("value"); } if (st...
mit
C#
aa3d384f47ad8f9251b67b14abb45b87d947d8fe
Add status message partial (#3030)
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/AppsPublic/PointOfSale/Light.cshtml
BTCPayServer/Views/AppsPublic/PointOfSale/Light.cshtml
@model BTCPayServer.Models.AppViewModels.ViewPointOfSaleViewModel @{ Layout = "_LayoutPos"; } <partial name="_StatusMessage" /> @if (Context.Request.Query.ContainsKey("simple")) { <partial name="/Views/AppsPublic/PointOfSale/MinimalLight.cshtml" model="Model" /> } else { <noscript> <partial name="...
@model BTCPayServer.Models.AppViewModels.ViewPointOfSaleViewModel @{ Layout = "_LayoutPos"; } @if (Context.Request.Query.ContainsKey("simple")) { <partial name="/Views/AppsPublic/PointOfSale/MinimalLight.cshtml" model="Model" /> } else { <noscript> <partial name="/Views/AppsPublic/PointOfSale/Minim...
mit
C#
5f051fb9d1109bd74d5efa17d476586245ab43a4
change tag position of post detail page
Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net,Jeffiy/ZBlog-Net
src/ZBlog/Views/Post/Detail.cshtml
src/ZBlog/Views/Post/Detail.cshtml
@model Post @using CommonMark @{ ViewData["Title"] = Model.Title; } <article class="blog-main"> <h3 class="am-article-title blog-title"> <a asp-controller="Post" asp-action="Detail" asp-route-url="@Model.Url">@Model.Title</a> @if (Html.IsAdmin()) { <a asp-controller="Post"...
@model Post @using CommonMark @{ ViewData["Title"] = Model.Title; } <article class="blog-main"> <h3 class="am-article-title blog-title"> <a asp-controller="Post" asp-action="Detail" asp-route-url="@Model.Url">@Model.Title</a> @if (Html.IsAdmin()) { <a asp-controller="Post"...
mit
C#
454a8089b05c0a1d88fa0fade1dd063b048a33d6
Make event public
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Events/RevertEvent.cs
Client/Events/RevertEvent.cs
// ReSharper disable All #pragma warning disable IDE1006 namespace LunaClient.Events { public class RevertEvent { public static EventVoid onRevertToLaunch = new EventVoid("onRevertToLaunch"); public static EventData<EditorFacility> onRevertToPrelaunch = new EventData<EditorFacility>("onRevertT...
// ReSharper disable All #pragma warning disable IDE1006 namespace LunaClient.Events { internal class RevertEvent { public static EventVoid onRevertToLaunch = new EventVoid("onRevertToLaunch"); public static EventData<EditorFacility> onRevertToPrelaunch = new EventData<EditorFacility>("onRever...
mit
C#
c4c360f0331de13506bda9571bc59144a5b6f0d8
Allow call to action banner to be optional
smbc-digital/iag-contentapi
src/StockportContentApi/ContentfulFactories/CommsContentfulFactory.cs
src/StockportContentApi/ContentfulFactories/CommsContentfulFactory.cs
using System.Collections.Generic; using StockportContentApi.ContentfulModels; using StockportContentApi.Model; namespace StockportContentApi.ContentfulFactories { public class CommsContentfulFactory : IContentfulFactory<ContentfulCommsHomepage, CommsHomepage> { private readonly IContentfulFactory<Cont...
using System.Collections.Generic; using StockportContentApi.ContentfulModels; using StockportContentApi.Model; namespace StockportContentApi.ContentfulFactories { public class CommsContentfulFactory : IContentfulFactory<ContentfulCommsHomepage, CommsHomepage> { private readonly IContentfulFactory<Cont...
mit
C#
71b00c967becfe1af1ccc13ee46ea8c697a75964
remove return from Splice
jhgbrt/google-diff-match-patch-csharp
DiffMatchPatch/Extensions.cs
DiffMatchPatch/Extensions.cs
/* * Copyright 2008 Google Inc. All Rights Reserved. * Author: fraser@google.com (Neil Fraser) * Author: anteru@developer.shelter13.net (Matthaeus G. Chajdas) * * 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...
/* * Copyright 2008 Google Inc. All Rights Reserved. * Author: fraser@google.com (Neil Fraser) * Author: anteru@developer.shelter13.net (Matthaeus G. Chajdas) * * 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...
apache-2.0
C#
5c40c94fbd0a035e2f1a22a9bc2896b15728e569
Build and publish nuget package
peteraritchie/Rock.Core,bfriesen/Rock.Core,RockFramework/Rock.Core
Rock.Core/Properties/AssemblyInfo.cs
Rock.Core/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("Ro...
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("Ro...
mit
C#
64382808233a4e6929252a0b3684f8af03f6d4ce
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#
b832a94bc245fcc4e206df8b2005766bbd314e35
change RepositoryManifest to have a private constructor
pburls/dewey
Dewey/Manifest/Repository/RepositoryManifest.cs
Dewey/Manifest/Repository/RepositoryManifest.cs
using Dewey.Manifest.Repositories; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Dewey.Manifest.Repository { public class RepositoryManifest { public IEnumerable<ComponentItem> Compo...
using Dewey.Manifest.Repositories; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Dewey.Manifest.Repository { public class RepositoryManifest { public IEnumerable<ComponentItem> Compo...
mit
C#
f25fa97a8940f6fdb037e8fe2a69fe1a08d51221
Update InsertLinkedPicture.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,ma...
Examples/CSharp/Articles/InsertLinkedPicture.cs
Examples/CSharp/Articles/InsertLinkedPicture.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class InsertLinkedPicture { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System....
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class InsertLinkedPicture { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.Ge...
mit
C#
973eed76bc969927c83d7bbd3a5534d185c5de76
Fix name in help
stsrki/fluentmigrator,fluentmigrator/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator
src/FluentMigrator.DotNet.Cli/Commands/Root.cs
src/FluentMigrator.DotNet.Cli/Commands/Root.cs
#region License // Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 /...
#region License // Copyright (c) 2007-2018, Sean Chambers and the FluentMigrator Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 /...
apache-2.0
C#
54ed85de0d9ae1bf13f07fd6891b2ad87c46fad9
Add Range test cases.
PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto.Test/Eto.Test/UnitTests/Forms/RangeTests.cs
Source/Eto.Test/Eto.Test/UnitTests/Forms/RangeTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Eto.Forms; using NUnit.Framework; namespace Eto.Test.UnitTests.Forms { [TestFixture] public class RangeTests { [TestCase(100, 200, 100, 101)] [TestCase(100, 100, 100, 1)] [TestCase(100, 99, 100, 0)] public void Rang...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Eto.Forms; using NUnit.Framework; namespace Eto.Test.UnitTests.Forms { [TestFixture] public class RangeTests { [TestCase(100, 200, 100, 101)] [TestCase(100, 100, 100, 1)] [TestCase(100, 99, 100, 0)] public void Rang...
bsd-3-clause
C#
3976aa32b47ee083f1014a5426ceea3a356f5ec5
refactor to sensible.
fffej/codekatas,fffej/codekatas,fffej/codekatas
MineField/MineSweeperTest.cs
MineField/MineSweeperTest.cs
using NUnit.Framework; using FluentAssertions; namespace Fatvat.Katas.MineSweeper { [TestFixture] public class MineSweeperTest { [Test] public void EmptyMineField() { var mineField = new MineField("."); Assert.That(mineField.Show(), Is.EqualTo("0")); ...
using NUnit.Framework; using FluentAssertions; namespace Fatvat.Katas.MineSweeper { [TestFixture] public class MineSweeperTest { [Test] public void TestSimplestMineField() { var mineField = new MineField("."); Assert.That(mineField.Show(), Is.EqualTo("0")); ...
mit
C#
840b9cc7faf36899789a42530f3aa9e2eb220e88
Fix deploy.cake
JoeMighty/shouldly,ankurMalhotra/shouldly
deploy.cake
deploy.cake
#addin "Cake.Json" using System.Net; using System.Linq; var target = Argument("target", "Default"); string Get(string url) { var assetsRequest = WebRequest.CreateHttp(url); assetsRequest.Method = "GET"; assetsRequest.Accept = "application/vnd.github.v3+json"; assetsRequest.UserAgent = "BuildScript"; ...
#addin "Cake.Json" using System.Net; using System.Linq; var target = Argument("target", "Default"); string Get(string url) { var assetsRequest = WebRequest.CreateHttp(url); assetsRequest.Method = "GET"; assetsRequest.Accept = "application/vnd.github.v3+json"; assetsRequest.UserAgent = "BuildScript"; ...
bsd-3-clause
C#
e3931db9e5c539f8da664e5bec41c38182f60666
Extend the control-flow test with an unconditional 'for'
jonathanvdc/ecsc
tests/cs/flow/Flow.cs
tests/cs/flow/Flow.cs
using System; public static class Program { public static int Select(bool C, int X, int Y) { return C ? X : Y; } public static int IfElse(bool C, int X, int Y) { if (C) return X; else return Y; } public static int If(bool C, int X, int Y) ...
using System; public static class Program { public static int Select(bool C, int X, int Y) { return C ? X : Y; } public static int IfElse(bool C, int X, int Y) { if (C) return X; else return Y; } public static int If(bool C, int X, int Y) ...
mit
C#
8174ca6ac6956ad446c6173e5aba2f7be50dd9c9
fix net40
cartermp/dnx-apps
libs/lib/src/Lib/Lib.cs
libs/lib/src/Lib/Lib.cs
using System; #if NET40 using System.Net; #else using System.Net.Http; using System.Threading.Tasks; #endif using System.Text.RegularExpressions; namespace Lib { public class Library { #if NET40 private readonly WebClient _client = new WebClient(); private readonly object _locker = new object...
using System; #if NET40 using System.Net; #else using System.Net.Http; using System.Threading.Tasks; #endif using System.Text.RegularExpressions; namespace Lib { public class Library { #if NET40 private readonly WebClient _client = new WebClient(); private readonly object _locker = new object...
mit
C#
a6381503661431715c2392ba65351de5cedafc1e
Update assembly version to 2.0.0
jasonmcboyd/Treenumerable
Source/Treenumerable/Properties/AssemblyInfo.cs
Source/Treenumerable/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
mit
C#
9d42c2cf467c753f9029051e617a7a78ced48827
Update Hello.cs
dsakam/Hello
Project/Hello/Hello/Hello.cs
Project/Hello/Hello/Hello.cs
using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; namespace Hello { class Hello { public static void Main(/*string[] args*/) { Console.WriteLine("Hello, world."); } } }
using System; //using System.Collections.Generic; //using System.Linq; //using System.Text; namespace Hello { class Hello { public static void Main(string[] args) { Console.WriteLine("Hello, world."); } } }
bsd-3-clause
C#
707a42b3f3f1cfb94d47abeef0db557003cd2e67
Fix ambiguous reference
asizikov/AsyncSuffix
src/AsyncSuffix/Analyzer/ConsiderUsingAsyncSuffixHighlighting.cs
src/AsyncSuffix/Analyzer/ConsiderUsingAsyncSuffixHighlighting.cs
using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; using Sizikov.AsyncSuffix.Analyzer; [assembly: RegisterConfigurableSeverity(ConsiderUsingAsyncSuffixHighlighti...
using ICSharpCode.NRefactory.Refactoring; using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; using Sizikov.AsyncSuffix.Analyzer; [assembly: RegisterConfigurable...
mit
C#
49a3d78cff372a2d0c6460173b78fbd76a38bd5a
Add more attributes to Notification object
ucdavis/Badges,ucdavis/Badges
Badges.Core/Domain/Notification.cs
Badges.Core/Domain/Notification.cs
using System; using FluentNHibernate.Mapping; namespace Badges.Core.Domain { public class Notification : DomainObjectGuid { public virtual User To { get; set; } public virtual User From { get; set; } public virtual bool Pending { get; set; } public virtual DateTime ...
using System; using FluentNHibernate.Mapping; namespace Badges.Core.Domain { public class Notification : DomainObjectGuid { public virtual User To { get; set; } public virtual bool Pending { get; set; } public virtual DateTime Created { get; set; } public virtual ...
mpl-2.0
C#
d460acd2e2a8c8e3ae354ae119b3b0a9481fe1d6
Clean up.
affecto/dotnet-Patterns.Domain
Source/Domain/DomainEvent.cs
Source/Domain/DomainEvent.cs
using System; namespace Affecto.Patterns.Domain { /// <summary> /// Base class for implementing domain events that represent changes in a domain entity. /// </summary> public abstract class DomainEvent : IDomainEvent { /// <summary> /// Gets the entity id. /// </summary> ...
using System; namespace Affecto.Patterns.Domain { /// <summary> /// Base class for implementing domain events that represent changes in a domain entity. /// </summary> public abstract class DomainEvent : IDomainEvent { /// <summary> /// Gets the entity id. /// </summary> ...
mit
C#
ee09b25590d623bc0f7de3d98caa2a44e8440531
Update GTFSRequiredFileMissingException.cs
itinero/GTFS,OsmSharp/GTFS,rsaat/GTFS
GTFS/Exceptions/GTFSRequiredFileMissingException.cs
GTFS/Exceptions/GTFSRequiredFileMissingException.cs
// The MIT License (MIT) // Copyright (c) 2014 Ben Abelshausen // 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, co...
// The MIT License (MIT) // Copyright (c) 2014 Ben Abelshausen // 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, co...
mit
C#
c08c1d8c6d8f5f0a2819b6b80c6e0d6bee537076
fix compilation issues (#1290)
robkeim/xcsharp,robkeim/xcsharp,exercism/xcsharp,exercism/xcsharp
exercises/two-fer/TwoFer.cs
exercises/two-fer/TwoFer.cs
using System; public static class TwoFer { // In order to get the tests running, first you need to make sure the Speak method // can be called both without any arguments and also by passing one string argument. public static string Speak() { throw new NotImplementedException("You need to impl...
public static class TwoFer { public static string Speak() { throw new NotImplementedException("You need to implement this function."); } }
mit
C#
e8346691791de683e4aa21dfe9873cee6f742538
test unit change
ravjotsingh9/StockTradingApplication
ClientServer/Stock.UnitTest/UsersTest1.cs
ClientServer/Stock.UnitTest/UsersTest1.cs
using System; using Server; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class UsersTest1 { [TestMethod] public void AddTestMethod() { Users test = new Users(); test.addUser("hello"); Console.WriteLi...
using System; using Server; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class UsersTest1 { [TestMethod] public void AddTestMethod() { Users test = new Users(); test.addUser("hello"); Console.WriteLi...
apache-2.0
C#
9f0296126adda6d31fef4351cd5dd3da1064eb7b
Update RyanYates.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/RyanYates.cs
src/Firehose.Web/Authors/RyanYates.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RyanYatesMVP :IAmAMicrosoftMVP { public string FirstName => "Ryan"; public string LastName...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RyanYatesMVP : IFilterMyBlogPosts, IAmAMicrosoftMVP { public string FirstName => "Ryan"; p...
mit
C#
cfb68ff100f263b7951ae03f5bf498f0702d373a
Throw exception when the page count could not be determined.
dlemstra/Magick.NET,dlemstra/Magick.NET
src/Magick.NET/Formats/Pdf/PdfInfo.cs
src/Magick.NET/Formats/Pdf/PdfInfo.cs
// Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
// Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
apache-2.0
C#
ad85cd64624756bf02bd9bc582b4a5adfee5cce9
Use correct path to MSBuild Roslyn folder on Mono
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn
src/OmniSharp.Host/MSBuild/Discovery/Providers/MonoInstanceProvider.cs
src/OmniSharp.Host/MSBuild/Discovery/Providers/MonoInstanceProvider.cs
using System; using System.Collections.Immutable; using System.IO; using Microsoft.Extensions.Logging; using OmniSharp.Utilities; namespace OmniSharp.MSBuild.Discovery.Providers { internal class MonoInstanceProvider : MSBuildInstanceProvider { public MonoInstanceProvider(ILoggerFactory loggerFactory) ...
using System; using System.Collections.Immutable; using System.IO; using Microsoft.Extensions.Logging; using OmniSharp.Utilities; namespace OmniSharp.MSBuild.Discovery.Providers { internal class MonoInstanceProvider : MSBuildInstanceProvider { public MonoInstanceProvider(ILoggerFactory loggerFactory) ...
mit
C#
7c43bfb1027bc3c79e75cd47a15eba7ab5fe2ce9
fix #690 - Exception when there are no trending topics for a place
linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi,linvi/tweetinvi
Tweetinvi.Controllers/Trends/TrendsQueryExecutor.cs
Tweetinvi.Controllers/Trends/TrendsQueryExecutor.cs
using System.Collections.Generic; using Tweetinvi.Core.Web; using Tweetinvi.Models; namespace Tweetinvi.Controllers.Trends { public interface ITrendsQueryExecutor { IPlaceTrends GetPlaceTrendsAt(long woeid); IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation); IEnumerable<ITren...
using System.Collections.Generic; using Tweetinvi.Core.Web; using Tweetinvi.Models; namespace Tweetinvi.Controllers.Trends { public interface ITrendsQueryExecutor { IPlaceTrends GetPlaceTrendsAt(long woeid); IPlaceTrends GetPlaceTrendsAt(IWoeIdLocation woeIdLocation); IEnumerable<ITren...
mit
C#
74f6974b12593afa862b3d69733db93562c81e59
Move properties
jcouv/roslyn,dotnet/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,abock/roslyn,genlu/roslyn,jcouv/roslyn,physhi/roslyn,dpoeschl/roslyn,jmarolf/roslyn,reaction1989/roslyn,mgoertz-msft/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,gafter/roslyn,AmadeusW/roslyn,physhi/roslyn,jmarolf/roslyn,jasonmalinowski/roslyn,...
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#
f6c2ee9b649b125c68ac8250119176fcbe18e2d8
remove unused directive
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Spells/DirectDamageSpell.cs
Assets/Scripts/HarryPotterUnity/Cards/Spells/DirectDamageSpell.cs
using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Spells { public class DirectDamageSpell : GenericSpell { [UsedImplicitly, SerializeField] private int _damageAmount; protected override void OnPlayAction() { Player.OppositePlayer...
using System.Collections.Generic; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.Cards.Spells { public class DirectDamageSpell : GenericSpell { [UsedImplicitly, SerializeField] private int _damageAmount; protected override void OnPlayAction() {...
mit
C#
6faa4e256be27e85f0824e1fe8be73b65870255a
Fix consistency check in RigidBoneSystemPerformanceDemo
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Demos/src/demos/figure/skeleton/RigidBoneSystemPerformanceDemo.cs
Demos/src/demos/figure/skeleton/RigidBoneSystemPerformanceDemo.cs
using SharpDX; using System; using System.Collections.Generic; using System.Diagnostics; public class RigidBoneSystemPerformanceDemo : IDemoApp { private ChannelSystem channelSystem; private BoneSystem boneSystem; private RigidBoneSystem rigidBoneSystem; private ChannelInputs channelInputs; public RigidBoneSyst...
using SharpDX; using System; using System.Collections.Generic; using System.Diagnostics; public class RigidBoneSystemPerformanceDemo : IDemoApp { private ChannelSystem channelSystem; private BoneSystem boneSystem; private RigidBoneSystem rigidBoneSystem; private ChannelInputs channelInputs; public RigidBoneSyst...
mit
C#
1c7dde06474edb028de8def5b2905a9ccc02d85d
Add missing Async name to GetTopGames
Aux/NTwitch,Aux/NTwitch
src/NTwitch.Core/ITwitchClient.cs
src/NTwitch.Core/ITwitchClient.cs
using System.Collections.Generic; using System.Threading.Tasks; namespace NTwitch { public interface ITwitchClient { ConnectionState ConnectionState { get; } Task<IChannel> GetChannelAsync(ulong id); Task<IEnumerable<ITopGame>> GetTopGamesAsync(TwitchPageOptions options = null...
using System.Collections.Generic; using System.Threading.Tasks; namespace NTwitch { public interface ITwitchClient { ConnectionState ConnectionState { get; } Task<IChannel> GetChannelAsync(ulong id); Task<IEnumerable<ITopGame>> GetTopGames(TwitchPageOptions options = null); ...
mit
C#
ae42de56c32df4ce8f5f790d1559e0ba459d171e
Update SearchInclusion.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/Inclusions/SearchInclusion.cs
main/Smartsheet/Api/Models/Inclusions/SearchInclusion.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
aca208104d2013e4c3c7fd56c8f169080fbb4ea1
Delete unnecessary internal forwarders (#24939)
zhenlan/corefx,shimingsg/corefx,shimingsg/corefx,mmitche/corefx,mmitche/corefx,mmitche/corefx,ericstj/corefx,zhenlan/corefx,ViktorHofer/corefx,Jiayili1/corefx,ptoonen/corefx,ptoonen/corefx,ptoonen/corefx,ericstj/corefx,axelheer/corefx,Jiayili1/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,ravimeda/corefx,wtgodbe/...
src/shims/manual/mscorlib.forwards.cs
src/shims/manual/mscorlib.forwards.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. // Add any internal types that we need to forward from mscorlib. // These types are required for Desktop to Core s...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // Add any internal types that we need to forward from mscorlib. // These types are required for Desktop to Core s...
mit
C#
39df4991d2239dede45cb4c2967e34f64bf52886
fix tests
DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit,DevExpress/AjaxControlToolkit
AjaxControlToolkit.Tests/AjaxFileUploadTests.cs
AjaxControlToolkit.Tests/AjaxFileUploadTests.cs
using NUnit.Framework; using System; using System.IO; using System.Web; using System.Web.Hosting; namespace AjaxControlToolkit.Tests { [TestFixture] public class AjaxFileUploadTests { [Test] public void NotAllowedFileExtensionIsBlocked() { var request = new WorkerRequest("", "fil...
using NUnit.Framework; using System; using System.IO; using System.Web; using System.Web.Hosting; namespace AjaxControlToolkit.Tests { [TestFixture] public class AjaxFileUploadTests { [Test] public void NotAllowedFileExtensionIsBlocked() { var request = new SimpleWorkerRequest(""...
bsd-3-clause
C#
048dae685db3dfe0fa6f47d3008080066577a2d0
Handle uppercase extension
aloisdg/CountPages,aloisdg/Doccou,saidmarouf/Doccou
Doccou.Pcl/Document.cs
Doccou.Pcl/Document.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using Doccou.Pcl.Documents; using Doccou.Pcl.Documents.Archives; namespace Doccou.Pcl { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here....
using System; using System.Collections.Generic; using System.IO; using System.Text; using Doccou.Pcl.Documents; using Doccou.Pcl.Documents.Archives; namespace Doccou.Pcl { /// <summary> /// Document is the class wrapping every other class in this library. /// If you are an user, everything you need come from here....
mit
C#
150e6e5368a410d46927286cc1bf7daa6e8af957
fix using statements in global.asax
SoftUni-NoSharpers/Project-X,SoftUni-NoSharpers/Project-X
Eventis/Global.asax.cs
Eventis/Global.asax.cs
using Eventis.Migrations; using Eventis.Models.Identity; using System.Data.Entity; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Eventis { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { Data...
using System.Linq; using System.Web;using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Eventis { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { Database .SetInitializer( ...
mit
C#
22b58e6d07c5ae7f6b3c84393c936a8c1ffbca99
Add missing `new` statement
jkereako/PillBlasta
Assets/Scripts/Map.cs
Assets/Scripts/Map.cs
using UnityEngine; using System.Collections.Generic; using System.Net; [System.Serializable] public class Map { public Coordinate size; public Vector2 maxSize; public int seed; public float tileSeparatorWidth; public float tileSize; public Obstacle obstacleData; [Range(0, 1)] public float obstaclePerc...
using UnityEngine; using System.Collections.Generic; using System.Net; [System.Serializable] public class Map { public Coordinate size; public Vector2 maxSize; public int seed; public float tileSeparatorWidth; public float tileSize; public Obstacle obstacleData; [Range(0, 1)] public float obstaclePerc...
mit
C#
805212df096204f14942e59cbf8d42c5ae2221e7
Clean up options dialog and text a bit.
jquintus/VsOpenIn
VsOpenIn/VsOpenIn/Options/OptionDialog.cs
VsOpenIn/VsOpenIn/Options/OptionDialog.cs
using Microsoft.VisualStudio.Shell; using System; using System.ComponentModel; using System.Drawing.Design; using System.Runtime.InteropServices; using System.Windows.Forms.Design; namespace MasterDevs.VsOpenIn.Options { [ClassInterface(ClassInterfaceType.AutoDual)] [CLSCompliant(false), ComVisible(true)] ...
using Microsoft.VisualStudio.Shell; using System; using System.ComponentModel; using System.Drawing.Design; using System.Runtime.InteropServices; using System.Windows.Forms.Design; namespace MasterDevs.VsOpenIn.Options { [ClassInterface(ClassInterfaceType.AutoDual)] [CLSCompliant(false), ComVisible(true)] ...
mit
C#
4427b440fddef5e81d9a753b5f4aa4694e95e88d
bump bugfix version to 1.20.1
Fody/Virtuosity
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Virtuosity")] [assembly: AssemblyProduct("Virtuosity")] [assembly: AssemblyVersion("1.20.1")] [assembly: AssemblyFileVersion("1.20.1")]
using System.Reflection; [assembly: AssemblyTitle("Virtuosity")] [assembly: AssemblyProduct("Virtuosity")] [assembly: AssemblyVersion("1.20.0")] [assembly: AssemblyFileVersion("1.20.0")]
mit
C#
b86def3325c228f62c28c4a337f0839e51ba1259
Update the systemclock to use UtcNow. This is because some of code use Month, Year properties of DateTimeOffset
askheaves/Its.Cqrs,commonsensesoftware/Its.Cqrs,commonsensesoftware/Its.Cqrs,askheaves/Its.Cqrs,commonsensesoftware/Its.Cqrs,askheaves/Its.Cqrs
Domain/SystemClock.cs
Domain/SystemClock.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; namespace Microsoft.Its.Domain { /// <summary> /// Provides access to system time. /// </summary> [DebuggerSte...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Diagnostics; namespace Microsoft.Its.Domain { /// <summary> /// Provides access to system time. /// </summary> [DebuggerSte...
mit
C#
1275e73cc52426555cdf33504622e8985e4f0202
Fix test
Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializerTests.cs
test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/AspNetCoreEnvironmentTelemetryInitializerTests.cs
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers { using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Hosting.Internal; using Xunit; public class AspNetCoreEnvironmentTele...
namespace Microsoft.ApplicationInsights.AspNetCore.Tests.TelemetryInitializers { using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNetCore.Hosting.Internal; using Xunit; public class AspNetCoreEnvironmentTele...
mit
C#
ac2a5002042999bc715b7cb143f240cb49597e11
Revert "Gary changed wording per content request"
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Views/stockportgov/ContactUs/ThankYouMessage.cshtml
src/StockportWebapp/Views/stockportgov/ContactUs/ThankYouMessage.cshtml
@model string @{ ViewData["Title"] = "Thank you"; ViewData["og:title"] = "Thank you"; Layout = "../Shared/_Layout.cshtml"; } <div class="grid-container-full-width"> <div class="grid-container grid-100"> <div class="l-body-section-filled l-short-content mobile-grid-100 tablet-grid-100 grid-10...
@model string @{ ViewData["Title"] = "Thank you"; ViewData["og:title"] = "Thank you"; Layout = "../Shared/_Layout.cshtml"; } <div class="grid-container-full-width"> <div class="grid-container grid-100"> <div class="l-body-section-filled l-short-content mobile-grid-100 tablet-grid-100 grid-10...
mit
C#
0677dad63b57bff48ea82a93b1871fde306e0ac7
Remove IDE0051 suppression
shyamnamboodiripad/roslyn,weltkante/roslyn,sharwell/roslyn,dotnet/roslyn,mavasani/roslyn,dotnet/roslyn,sharwell/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,dotnet/roslyn,weltkante/roslyn,diryboy/roslyn,KevinRansom/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,diryboy/roslyn,sharwell/roslyn,mavasani/ro...
src/VisualStudio/CSharp/Impl/ProjectSystemShim/HACK_VariantStructure.cs
src/VisualStudio/CSharp/Impl/ProjectSystemShim/HACK_VariantStructure.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. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropS...
// 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. #nullable disable using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropS...
mit
C#
4d0ccc57991b723620695cf5ae7f3640dd6fd588
Change Sensor level to 100
rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox,rehrbar/ChallP2TapBox
TapBoxWebApplication/TapBoxWebjob/MailSender.cs
TapBoxWebApplication/TapBoxWebjob/MailSender.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Net.Mail; using SendGrid; using TapBoxCommon.Models; using Microsoft.Azure; namespace TapBoxWebjob { class MailSender { public static void SendMailToOwner(Device NotifierDevi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Net; using System.Net.Mail; using SendGrid; using TapBoxCommon.Models; using Microsoft.Azure; namespace TapBoxWebjob { class MailSender { public static void SendMailToOwner(Device NotifierDevi...
mit
C#
6515a6377e48ccec843ca6605fb89a6c2f37f2fa
Add missing comment block. bugid: 812
ronnymgm/csla-light,rockfordlhotka/csla,BrettJaner/csla,rockfordlhotka/csla,jonnybee/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,jonnybee/csla,BrettJaner/csla,jonnybee/csla,JasonBock/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,rockfordlhotka/csla,JasonBock/csla
Source/Csla.Wp/PortedAttributes.cs
Source/Csla.Wp/PortedAttributes.cs
//----------------------------------------------------------------------- // <copyright file="PortedAttributes.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: http://www.lhotka.net/cslanet/ // </copyright> // <summary>Dummy implementations of .NET attributes missi...
using System; namespace Csla { internal class BrowsableAttribute : Attribute { public BrowsableAttribute(bool flag) { } } internal class DisplayAttribute : Attribute { public string Name { get; set; } public bool AutoGenerateField { get; set; } public DisplayAttribute(bool...
mit
C#
7a6da4301812d52bdbebf3da4315f6fcacf82565
Increase version to 2.0.2-rc1
bungeemonkee/Configgy
Configgy/Properties/AssemblyInfo.cs
Configgy/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
using System.Resources; using System.Reflection; // 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("Configgy")] [assembly: AssemblyDescription("Configgy: C...
mit
C#
336006b43cc7aed6b415a082a7f6646a2530d853
Use the same `singlewordlowercase` parameter name mapping convention as used in `apikey`
datalust/clef-tool
src/Datalust.ClefTool/Cli/Features/SeqOutputFeature.cs
src/Datalust.ClefTool/Cli/Features/SeqOutputFeature.cs
// Copyright 2016-2017 Datalust Pty Ltd // // 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 ag...
// Copyright 2016-2017 Datalust Pty Ltd // // 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 ag...
apache-2.0
C#
9901a01f0bf883a5689dc0f531facf042d9b8feb
Fix bug: Ensure CacheTimeout is actually set when extending cache.
queueit/FeatureSwitcher.AwsConfiguration
src/FeatureSwitcher.AwsConfiguration/Models/BehaviourCacheItem.cs
src/FeatureSwitcher.AwsConfiguration/Models/BehaviourCacheItem.cs
using System; using FeatureSwitcher.AwsConfiguration.Behaviours; namespace FeatureSwitcher.AwsConfiguration.Models { internal class BehaviourCacheItem { public IBehaviour Behaviour { get; } public DateTime CacheTimeout { get; private set; } public bool IsExpired => this.Cach...
using System; using FeatureSwitcher.AwsConfiguration.Behaviours; namespace FeatureSwitcher.AwsConfiguration.Models { internal class BehaviourCacheItem { public IBehaviour Behaviour { get; } public DateTime CacheTimeout { get; } public bool IsExpired => this.CacheTimeout < Da...
apache-2.0
C#
d50031542fe5f1bd0926767b1bb4ef876db212a6
update AssemblyInfo.cs
Aaron-Liu/enode,tangxuehua/enode
src/Extensions/ENode.EQueue/Properties/AssemblyInfo.cs
src/Extensions/ENode.EQueue/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("EN...
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("EN...
mit
C#
5af7e8db71eb0133aad4d46f0571db1168952522
Remove code that unconditionally enable https redirects and authorization
surlycoder/truck-router
TruckRouter/Program.cs
TruckRouter/Program.cs
using TruckRouter.Models; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(); build...
using TruckRouter.Models; var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle builder.Services.AddEndpointsApiExplorer(); builder.Services.AddSwaggerGen(); build...
mit
C#
4c822bbdd11c58e1d2fb959240643d51d6ba893d
Add logging in case of null response from Syncthing
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Syncthing/ApiClient/SyncthingHttpClientHandler.cs
src/SyncTrayzor/Syncthing/ApiClient/SyncthingHttpClientHandler.cs
using NLog; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace SyncTrayzor.Syncthing.ApiClient { public class SyncthingHttpClientHandler : WebRequestHandler { private static readonly Logger logger = LogManager.GetCurrentClassLogger(); public SyncthingHttpCl...
using NLog; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace SyncTrayzor.Syncthing.ApiClient { public class SyncthingHttpClientHandler : WebRequestHandler { private static readonly Logger logger = LogManager.GetCurrentClassLogger(); public SyncthingHttpCl...
mit
C#
71cd91a9d07508d2170cbf50759e703c97ae9b5e
Allow debug mode to connect to any version of remote.
MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSh...
src/Host/Client/Impl/Extensions/AboutHostExtensions.cs
src/Host/Client/Impl/Extensions/AboutHostExtensions.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Reflection; using Microsoft.Common.Core; using Microsoft.R.Host.Protocol; namespace Microsoft.R.Host.Client { public static class Abou...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using System.Reflection; using Microsoft.Common.Core; using Microsoft.R.Host.Protocol; namespace Microsoft.R.Host.Client { public static class Abou...
mit
C#
1d15bcadd2fd27c7912983b431b13bb1f737a19d
Remove duplicates in search. Closes #35
sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery
src/Pablo.Gallery/Api/V0/Controllers/FileController.cs
src/Pablo.Gallery/Api/V0/Controllers/FileController.cs
using Microsoft.Ajax.Utilities; using Pablo.Gallery.Api.ApiModels; using System.Collections.Generic; using System.Linq; using System.Web.Http; using Pablo.Gallery.Logic.Interceptors; using Pablo.Gallery.Models; namespace Pablo.Gallery.Api.V0.Controllers { public class FileController : ApiController { readonly Mod...
using Microsoft.Ajax.Utilities; using Pablo.Gallery.Api.ApiModels; using System.Collections.Generic; using System.Linq; using System.Web.Http; using Pablo.Gallery.Logic.Interceptors; using Pablo.Gallery.Models; namespace Pablo.Gallery.Api.V0.Controllers { public class FileController : ApiController { readonly Mod...
mit
C#
d5c2889ff4cd3fc84183efd2c1ee079ba54be319
Fix typo
WillemRB/serilog-sinks-webrequest
test/WebRequestSinkTests.cs
test/WebRequestSinkTests.cs
using System; using System.Collections.Specialized; using System.Configuration; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Serilog.Sinks.WebRequest.Tests { [TestClass] public class WebRequestSinkTests { private string Url = ConfigurationManager.AppSettings["testUrl"]; p...
using System; using System.Collections.Specialized; using System.Configuration; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Serilog.Sinks.WebRequest.Tests { [TestClass] public class WebRequestSinkTests { private string Url = ConfigurationManager.AppSettings["testUrl"]; ...
mit
C#
83fdedd0856c4e85f99bdc6ff2225504a247e552
Document why null is ok here
red-gate/RedGate.AppHost,nycdotnet/RedGate.AppHost
RedGate.AppHost.Remoting/ClientChannelSinkProviderForParticularServer.cs
RedGate.AppHost.Remoting/ClientChannelSinkProviderForParticularServer.cs
using System; using System.Runtime.Remoting.Channels; namespace RedGate.AppHost.Remoting { internal class ClientChannelSinkProviderForParticularServer : IClientChannelSinkProvider { private readonly IClientChannelSinkProvider m_Upstream; private readonly string m_Url; intern...
using System.Runtime.Remoting.Channels; namespace RedGate.AppHost.Remoting { internal class ClientChannelSinkProviderForParticularServer : IClientChannelSinkProvider { private readonly IClientChannelSinkProvider m_Upstream; private readonly string m_Url; internal ClientChanne...
apache-2.0
C#
6aa786b4cd0871f94458cb4189c772596bdca468
Update packages
BioID-GmbH/BWS-GUI
samples/aspnetcore/uuisample/Views/Shared/_Layout.cshtml
samples/aspnetcore/uuisample/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"]</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" integrity="sha384-gH2yIJqKdN...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"]</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" integrity="sha384-1BmE4kWBq7...
mit
C#
91de92b8d3ea3098ce620b246868339b8696a301
upgrade imocks
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
PulumiDemo/PulumiDemoTests/Mocks.cs
PulumiDemo/PulumiDemoTests/Mocks.cs
using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Testing; namespace PulumiDemoTests { internal class Mocks : IMocks { public Task<(string? id, object state)> NewResourceAsync(MockResourceArgs args) { var outputs = ImmutableDictionary.CreateBuilder<strin...
using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Testing; namespace PulumiDemoTests { internal class Mocks : IMocks { public Task<(string id, object state)> NewResourceAsync(string type, string name, ImmutableDictionary<string, object> inputs, string provider, string id) ...
mit
C#
5786b067634f874a87e9b905db0b7777c91fb419
Fix little bug.
EusthEnoptEron/Sketchball
Sketchball/Controls/WPFContainer.cs
Sketchball/Controls/WPFContainer.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Forms.Integration; using SizeChangedEventArgs = System.Windows.SizeChangedEventArgs; namespace Sket...
using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Forms; using System.Windows.Forms.Integration; using SizeChangedEventArgs = System.Windows.SizeChangedEventArgs; namespace Sket...
mit
C#
c4130e4c193083a6bed5e1ed9a0c99f416c286df
Revert "Add SecurityZone stub" (#11053)
krytarowski/coreclr,James-Ko/coreclr,cmckinsey/coreclr,qiudesong/coreclr,mskvortsov/coreclr,ragmani/coreclr,mskvortsov/coreclr,cydhaselton/coreclr,mskvortsov/coreclr,krk/coreclr,JonHanna/coreclr,yizhang82/coreclr,hseok-oh/coreclr,alexperovich/coreclr,parjong/coreclr,wateret/coreclr,mmitche/coreclr,krytarowski/coreclr,k...
src/mscorlib/shared/System/Security/SecurityException.cs
src/mscorlib/shared/System/Security/SecurityException.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.Reflection; using System.Runtime.Serialization; namespace System.Security { [Serializable] pub...
// 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.Reflection; using System.Runtime.Serialization; namespace System.Security { [Serializable] pub...
mit
C#
c33d4a25771ad2c0e9e06416bfe3309ebb950b17
change unix timestamp handling
iolevel/peachpie,iolevel/peachpie,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept
src/Peachpie.Runtime/Utilities/DateTimeUtils.cs
src/Peachpie.Runtime/Utilities/DateTimeUtils.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Pchp.Core.Utilities { public static class DateTimeUtils { /// <summary> /// Time 0 in terms of Unix TimeStamp. /// </summary> public static readonly DateTime/*!*/UtcStartO...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Pchp.Core.Utilities { public static class DateTimeUtils { /// <summary> /// Time 0 in terms of Unix TimeStamp. /// </summary> public static readonly DateTime/*!*/UtcStartO...
apache-2.0
C#
e122c4c4f06a522ed093675bc4f4786b8654d06e
Rename xy to ab.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Crypto/GroupElement.cs
WalletWasabi/Crypto/GroupElement.cs
using NBitcoin.Secp256k1; using System; using System.Collections.Generic; using System.Text; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto { public class GroupElement : IEquatable<GroupElement> { public GroupElement(GE groupElement) { if (groupElement.IsInfinity) { Ge = GE.Infinity; } ...
using NBitcoin.Secp256k1; using System; using System.Collections.Generic; using System.Text; using WalletWasabi.Helpers; namespace WalletWasabi.Crypto { public class GroupElement : IEquatable<GroupElement> { public GroupElement(GE groupElement) { if (groupElement.IsInfinity) { Ge = GE.Infinity; } ...
mit
C#
26802cac4deaa6267968b54ee043ecac7b5f3904
fix appveyor test-run
MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db,ronnyek/linq2db,MaceWindu/linq2db
Tests/Linq/UserTests/Issue1363Tests.cs
Tests/Linq/UserTests/Issue1363Tests.cs
using LinqToDB; using LinqToDB.Mapping; using NUnit.Framework; using System; using System.Linq; namespace Tests.UserTests { /// <summary> /// Test fixes to Issue #1305. /// Before fix fields in derived tables were added first in the column order by <see cref="DataExtensions.CreateTable{T}(IDataContext, string, str...
using LinqToDB; using LinqToDB.Mapping; using NUnit.Framework; using System; using System.Linq; namespace Tests.UserTests { /// <summary> /// Test fixes to Issue #1305. /// Before fix fields in derived tables were added first in the column order by <see cref="DataExtensions.CreateTable{T}(IDataContext, string, str...
mit
C#
de149d6078cf15286a5628c9b79576a78a4916b6
Support for device orientation changing at runtime
cybergen/bri-lib
BriLib/Scripts/UI/UIManager.cs
BriLib/Scripts/UI/UIManager.cs
using System; using UnityEngine; namespace BriLib { /// <summary> /// Primary entry point for all UI. Used to show and hide panels placed at different /// onscreen regions. /// </summary> public class UIManager : Singleton<UIManager> { public static Region Header { get { return Instance._header; } } ...
using UnityEngine; namespace BriLib { /// <summary> /// Primary entry point for all UI. Used to show and hide panels placed at different /// onscreen regions. /// </summary> public class UIManager : Singleton<UIManager> { public static Region Header { get { return Instance._header; } } public stat...
mit
C#
7d1d765487d3a718b2d0027c986f1c73e18d6bcb
Update AddingAnonymousCustomObject.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/As...
Examples/CSharp/Articles/AddingAnonymousCustomObject.cs
Examples/CSharp/Articles/AddingAnonymousCustomObject.cs
using System.IO; using Aspose.Cells; using System; using System.Collections; namespace Aspose.Cells.Examples.Articles { //ExStart:1 public class AddingAnonymousCustomObject { public static void Main(string[] args) { // The path to the documents directory. string dat...
using System.IO; using Aspose.Cells; using System; using System.Collections; namespace Aspose.Cells.Examples.Articles { public class AddingAnonymousCustomObject { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Ce...
mit
C#
9b76fa95aa7be2b4a46adbde751cad18ee78a171
Fix EmptyContainer graph action for items
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Construction/Completions/EmptyContainer.cs
Content.Server/Construction/Completions/EmptyContainer.cs
#nullable enable using System.Threading.Tasks; using Content.Shared.Construction; using JetBrains.Annotations; using Robust.Server.GameObjects; using Robust.Shared.Containers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization; namespace Content.Server.Construction.Completions { [UsedImplicitly] ...
#nullable enable using System.Threading.Tasks; using Content.Shared.Construction; using JetBrains.Annotations; using Robust.Server.GameObjects; using Robust.Shared.Containers; using Robust.Shared.GameObjects; using Robust.Shared.Serialization; namespace Content.Server.Construction.Completions { [UsedImplicitly] ...
mit
C#
7ee81fa181ad509b6f904dad227b006a92f4d140
Tweak FastActivator
cnblogs/EnyimMemcachedCore,cnblogs/EnyimMemcachedCore
Enyim.Caching/FastActivator.cs
Enyim.Caching/FastActivator.cs
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Reflection.Emit; using System.Text; using System.Threading; using System.Linq.Expressions; namespace Enyim.Reflection { /// <summary> /// <para>Implements a very fast object factory for dynamic object creatio...
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Reflection.Emit; using System.Text; using System.Threading; using System.Linq.Expressions; namespace Enyim.Reflection { /// <summary> /// <para>Implements a very fast object factory for dynamic object creation. Dyn...
apache-2.0
C#
7d0cadc69638b0f90a612593ad57cb614934802a
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#