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
b1b8afcdec8b610457b565d84d0c25c17f533a7a
stop application when initialize failed in asp.net core
zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs
ZKWeb/ZKWeb.Hosting.AspNetCore/StartupBase.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; using System; using System.IO; using System.Threading.Tasks; using ZKWebStandard.Ioc; namespace ZKWeb.Hosting.AspNetCore { /// <summary> /// Base startup class for Asp.Net Core /// </...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.PlatformAbstractions; using System; using System.IO; using System.Threading.Tasks; using ZKWebStandard.Ioc; namespace ZKWeb.Hosting.AspNetCore { /// <summary> /// Base startup class for Asp.Net Core /// </...
mit
C#
1a1c480943f837d0b57f487690c1f62f84baa941
Simplify syntax
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/Benchmarks/BenchmarkTests.cs
tests/AdventOfCode.Tests/Benchmarks/BenchmarkTests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using static MartinCostello.AdventOfCode.Benchmarks.PuzzleBenchmarks; namespace MartinCostello.AdventOfCode.Benchmarks; public static class Be...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. using static MartinCostello.AdventOfCode.Benchmarks.PuzzleBenchmarks; namespace MartinCostello.AdventOfCode.Benchmarks; public static class Be...
apache-2.0
C#
2cba9103737ae5f85fccb1328966fb986cc5ed60
Update Path.cs
primo-ppcg/BF-Crunch
src/Path.cs
src/Path.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace ppcg { [Serializable] public class Path : LinkedList<Node> { public int Cost { get { return this.Sum(node => node.Cost); } } ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace ppcg { [Serializable] public class Path : LinkedList<Node> { public int Cost { get { return this.Sum(node => node.Cost); } } ...
mit
C#
72187ffbdc4d08f5c65a34aa765db2517acd8f05
Update annotations_multiple.cs
pardeike/Harmony
Harmony/Documentation/examples/annotations_multiple.cs
Harmony/Documentation/examples/annotations_multiple.cs
namespace Annotations_Multiple { using HarmonyLib; using System.Collections.Generic; using System.Linq; using System.Reflection; public class Example { // <example> [HarmonyPatch] // make sure Harmony inspects the class class MyPatches { static IEnumerable<MethodBase> TargetMethods() { return A...
namespace Annotations_Multiple { using HarmonyLib; using System.Collections.Generic; using System.Linq; using System.Reflection; public class Example { // <example> [HarmonyPatch] // make sure Harmony inspects the class class MyPatches { IEnumerable<MethodBase> TargetMethods() { return AccessTo...
mit
C#
021fd65fa2edbc946759141cad23a3fe15984d5f
update to latest from GOTG
hungweng/MarkerMetro.Unity.WinShared,hungweng/MarkerMetro.Unity.WinShared,MarkerMetro/MarkerMetro.Unity.WinShared,cedw032/MarkerMetro.Unity.WinShared,Kezeali/MarkerMetro.Unity.WinShared
Assets/Editor/MarkerMetro/DTX5TexturePostprocessor.cs
Assets/Editor/MarkerMetro/DTX5TexturePostprocessor.cs
using UnityEngine; using UnityEditor; class DTX5TexturePostprocessor : AssetPostprocessor { const bool Enabled = false; #pragma warning disable /** * Change the import settings of the texture to import as DXT5. * This is preferable over the post process method since it changes the meta file so ...
using UnityEngine; using UnityEditor; /** * Tries to apply a DXT5 compression when importing a texture. * This will change the texture meta file. */ class DTX5TexturePostprocessor : AssetPostprocessor { // ENABLE HERE TO MAKE THE SCRIPT WORK const bool Enabled = false; #pragma warning disable public...
mit
C#
25650f59ff5fa354d9154e724ea1f164cfc165d8
Handle bad values
campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
PackageExplorer/Converters/TargetFrameworkConverter.cs
PackageExplorer/Converters/TargetFrameworkConverter.cs
using System; using System.Windows; using System.Windows.Data; using NuGet.Frameworks; namespace PackageExplorer { public class TargetFrameworkConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { ...
using System; using System.Windows; using System.Windows.Data; using NuGet.Frameworks; namespace PackageExplorer { public class TargetFrameworkConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { ...
mit
C#
8c090e8a3eef420fc88cf338db56814154b1f7b7
Update Book Index View to show the correct information needed. I.E. Title, Author, ISBN, and Genre, and a column name for Availability for future use.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Views/Books/Index.cshtml
src/Open-School-Library/Views/Books/Index.cshtml
@model IEnumerable<Open_School_Library.Models.DatabaseModels.Book> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Title) </th> ...
@model IEnumerable<Open_School_Library.Models.DatabaseModels.Book> @{ ViewData["Title"] = "Index"; } <h2>Index</h2> <p> <a asp-action="Create">Create New</a> </p> <table class="table"> <thead> <tr> <th> @Html.DisplayNameFor(model => model.Author) </th> ...
mit
C#
f33a552be3d7bacdb4148c04adeea4ae33fd5fb1
Revert fix
leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net
JoinRpg.Domain/SubscribeExtensions.cs
JoinRpg.Domain/SubscribeExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class SubscribeExtensions { public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable...
using System; using System.Collections.Generic; using System.Linq; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers; namespace JoinRpg.Domain { public static class SubscribeExtensions { public static IEnumerable<User> GetSubscriptions(this ForumThread claim, [CanBeNull] IEnumerable...
mit
C#
20aba8b158a2fdf5212464ed0a1d0d37fdc99e54
Improve sorting
leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Controllers/HomeController.cs
Joinrpg/Controllers/HomeController.cs
using System; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Web.Models; using JoinRpg.Web.Models.CommonTypes; namespace JoinRpg.Web.Controllers { public class HomeController : Common.ControllerBase { private const int ...
using System; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; using JoinRpg.Data.Interfaces; using JoinRpg.Domain; using JoinRpg.Web.Models; using JoinRpg.Web.Models.CommonTypes; namespace JoinRpg.Web.Controllers { public class HomeController : Common.ControllerBase { private const int ...
mit
C#
f388cfadef6a8a4922165c785cfbead9c96fc5c8
Fix TextCaster
Seddryck/NBi,Seddryck/NBi
NBi.Core/Scalar/Casting/TextCaster.cs
NBi.Core/Scalar/Casting/TextCaster.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Casting { class TextCaster : ICaster<string> { public string Execute(object value) { if (value is string) return (string)val...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Core.Scalar.Casting { class TextCaster : ICaster<string> { public string Execute(object value) { if (value is string) return (string)val...
apache-2.0
C#
d367c8b5cd3ceb2bc1196324fdc2edb896602d2c
fix SecurityHeaderTest due to text formatting issue
projectkudu/SiteExtensionGallery,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGaller...
tests/NuGetGallery.FunctionalTests/WebUITests/BasicPages/SecurityHeaderTest.cs
tests/NuGetGallery.FunctionalTests/WebUITests/BasicPages/SecurityHeaderTest.cs
using Microsoft.VisualStudio.TestTools.WebTesting; using NuGetGallery.FunctionalTests.Helpers; using NuGetGallery.FunctionTests.Helpers; using System; using System.Collections.Generic; namespace NuGetGallery.FunctionalTests { /// <summary> /// Verify that an expected series of security headers is retur...
using Microsoft.VisualStudio.TestTools.WebTesting; using NuGetGallery.FunctionalTests.Helpers; using NuGetGallery.FunctionTests.Helpers; using System; using System.Collections.Generic; namespace NuGetGallery.FunctionalTests { /// <summary> /// Verify that an expected series of security headers is retur...
apache-2.0
C#
b815f10d4dbc8b4889a16c2a70239a8d91f00d52
Update RadialLookupCollection.cs
ADAPT/ADAPT
source/ADAPT/Prescriptions/RadialLookupCollection.cs
source/ADAPT/Prescriptions/RadialLookupCollection.cs
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
epl-1.0
C#
05f667b0bcc38cd7a1cadead7c09e328f26dd7de
Extend integration test migration timeout
Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
tests/Tgstation.Server.Tests/IntegrationTest.cs
tests/Tgstation.Server.Tests/IntegrationTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using System.Net.Http.Headers; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; using Tgstation.Server.Client; using Tgstation.Server.Host; nam...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; using System.Net.Http.Headers; using System.Reflection; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api; using Tgstation.Server.Api.Models; using Tgstation.Server.Client; using Tgstation.Server.Host; nam...
agpl-3.0
C#
899a4237aa6bcfb03e177a0b8e681c5b6a54a3e2
Mark GlobalSSPI fields as readonly
cydhaselton/corefx,the-dwyer/corefx,Ermiar/corefx,parjong/corefx,ericstj/corefx,ravimeda/corefx,nchikanov/corefx,rubo/corefx,the-dwyer/corefx,cydhaselton/corefx,YoupHulsebos/corefx,axelheer/corefx,mazong1123/corefx,krytarowski/corefx,marksmeltzer/corefx,Petermarcu/corefx,ptoonen/corefx,rjxby/corefx,jlin177/corefx,nchik...
src/Common/src/Interop/Windows/sspicli/GlobalSSPI.cs
src/Common/src/Interop/Windows/sspicli/GlobalSSPI.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. namespace System.Net { internal static class GlobalSSPI { internal static readonly SSPIInterface SSP...
// 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. namespace System.Net { internal static class GlobalSSPI { internal static SSPIInterface SSPIAuth = n...
mit
C#
738580ec617a23789236575f2525606a6a4d227e
Add IsTopLevel property
UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,2yangk23/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu
osu.Game/Online/API/Requests/Responses/Comment.cs
osu.Game/Online/API/Requests/Responses/Comment.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 Newtonsoft.Json; using System; namespace osu.Game.Online.API.Requests.Responses { public class Comment { [JsonProperty(@"id")] public long...
// 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 Newtonsoft.Json; using System; namespace osu.Game.Online.API.Requests.Responses { public class Comment { [JsonProperty(@"id")] public long...
mit
C#
2bfc7d482e813c31989a20f230e06f53b6902c4d
fix focus next item behavior.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
WalletWasabi.Fluent/Behaviors/FocusNextItemBehavior.cs
using Avalonia; using Avalonia.Controls; using Avalonia.LogicalTree; using Avalonia.VisualTree; using ReactiveUI; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Fluent.Behaviors { internal class FocusNextItemBehavior : DisposingBehavior<Control> { public static ...
using Avalonia; using Avalonia.Controls; using Avalonia.LogicalTree; using Avalonia.VisualTree; using ReactiveUI; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace WalletWasabi.Fluent.Behaviors { internal class FocusNextItemBehavior : DisposingBehavior<Control> { public static ...
mit
C#
7453fd9b6c3a58074288ee400fe9b80636e8214d
Remove illegal await in catch block.
jagrem/msg
Msg.Infrastructure/Server/ClientRequestProcessor.cs
Msg.Infrastructure/Server/ClientRequestProcessor.cs
using System.Net.Sockets; using System.Threading.Tasks; using Version = Msg.Core.Versioning.Version; using System.Linq; namespace Msg.Infrastructure.Server { class ClientRequestProcessor { readonly AmqpSettings settings; public ClientRequestProcessor (AmqpSettings settings) { this.settings = settings; } ...
using System.Net.Sockets; using System.Threading.Tasks; using Version = Msg.Core.Versioning.Version; using System.Linq; namespace Msg.Infrastructure.Server { class ClientRequestProcessor { readonly AmqpSettings settings; public ClientRequestProcessor (AmqpSettings settings) { this.settings = settings; } ...
apache-2.0
C#
4e6b35e108c55b93fb09cf403748ed344007528b
Update PiaHeader.cs
Allockse/PiaNO,phusband/PiaNO
PiaHeader.cs
PiaHeader.cs
// // Copyright © 2014 Parrish Husband (parrish.husband@gmail.com) // The MIT License (MIT) - See LICENSE.txt for further details. // using System; using System.Globalization; namespace PiaNO { public class PiaHeader { private string _headerData; public double PiaFileVersion { get; private...
// // Copyright © 2014 Parrish Husband (parrish.husband@gmail.com) // The MIT License (MIT) - See LICENSE.txt for further details. // using System; namespace PiaNO { public class PiaHeader { private string _headerData; public double PiaFileVersion { get; private set; } public short...
mit
C#
5856671a21f0cdfbae5492a109c830c85095d535
Update version to 1.0.3
tdiehl/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,ddunkin/raygun4net,tdiehl/raygun4net,MindscapeHQ/raygun4net,articulate/raygun4net
Mindscape.Raygun4Net.WinRT/Properties/AssemblyInfo.cs
Mindscape.Raygun4Net.WinRT/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("Mi...
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("Mi...
mit
C#
033e923a7908b52b2b9f517494a0d7b70d63434c
Store the already serialised RaygunMessage object.
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
Mindscape.Raygun4Net/Storage/IRaygunOfflineStorage.cs
Mindscape.Raygun4Net/Storage/IRaygunOfflineStorage.cs
using System.Collections.Generic; using Mindscape.Raygun4Net.Messages; namespace Mindscape.Raygun4Net.Storage { public interface IRaygunOfflineStorage { /// <summary> /// Persist the <paramref name="message"/>> to local storage. /// </summary> /// <param name="message">The serialized error report t...
using System.Collections.Generic; using Mindscape.Raygun4Net.Messages; namespace Mindscape.Raygun4Net.Storage { public interface IRaygunOfflineStorage { /// <summary> /// Persist the <paramref name="message"/>> to local storage. /// </summary> /// <param name="message">The error report to store loc...
mit
C#
7c62d5246964b244172146171688131f88635916
remove commented out code
jonnii/chinchilla
src/Chinchilla.Sample.SharedSubscriptions/FastMessageSubscriber.cs
src/Chinchilla.Sample.SharedSubscriptions/FastMessageSubscriber.cs
using System; using System.Threading; using Chinchilla.Topologies; namespace Chinchilla.Sample.SharedSubscriptions { public class FastMessageSubscriber { private readonly IBus bus; public FastMessageSubscriber() { bus = Depot.Connect("localhost/shared-subscriptions"); ...
using System; using System.Threading; using Chinchilla.Topologies; namespace Chinchilla.Sample.SharedSubscriptions { public class FastMessageSubscriber { private readonly IBus bus; public FastMessageSubscriber() { bus = Depot.Connect("localhost/shared-subscriptions"); ...
apache-2.0
C#
85b18aea48e95de5ca56e6197b33516b2c72b4df
更新 .net 4.5 项目版本号
JeffreySu/Senparc.WebSocket
src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs
src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 //[assembly: AssemblyTitle("Senparc.WebSocket")] //[assembly: AssemblyDescription("")] //[assembly: AssemblyConfiguration("")] //[assembly: AssemblyCompany("")] //[asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 //[assembly: AssemblyTitle("Senparc.WebSocket")] //[assembly: AssemblyDescription("")] //[assembly: AssemblyConfiguration("")] //[assembly: AssemblyCompany("")] //[asse...
apache-2.0
C#
fe28b48035fe846ed6d681e153cf93d205567436
Make the include file adder well known in the interface. We may have to add IncludeFiles too in a bit.
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs
LINQToTTree/LinqToTTreeInterfacesLib/IGeneratedCode.cs
 namespace LinqToTTreeInterfacesLib { /// <summary> /// Interface for implementing an object that will contain a complete single query /// </summary> public interface IGeneratedCode { /// <summary> /// Add a new statement to the current spot where the "writing" currsor is p...
 namespace LinqToTTreeInterfacesLib { /// <summary> /// Interface for implementing an object that will contain a complete single query /// </summary> public interface IGeneratedCode { /// <summary> /// Add a new statement to the current spot where the "writing" currsor is p...
lgpl-2.1
C#
5d9353ea75e0ddf6b57e35afc50234208d79f01c
Fix null reference exception when spawning Fungus objects in Unity 5.1
RonanPearce/Fungus,Nilihum/fungus,lealeelu/Fungus,tapiralec/Fungus,snozbot/fungus,FungusGames/Fungus,inarizushi/Fungus,kdoore/Fungus
Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs
Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs
using UnityEngine; using UnityEditor; using System.IO; using System.Collections; namespace Fungus { public class FlowchartMenuItems { [MenuItem("Tools/Fungus/Create/Flowchart", false, 0)] static void CreateFlowchart() { GameObject go = SpawnPrefab("Flowchart"); go.transform.position = Vector3.zero; }...
using UnityEngine; using UnityEditor; using System.IO; using System.Collections; namespace Fungus { public class FlowchartMenuItems { [MenuItem("Tools/Fungus/Create/Flowchart", false, 0)] static void CreateFlowchart() { GameObject go = SpawnPrefab("Flowchart"); go.transform.position = Vector3.zero; }...
mit
C#
9ceba84de1c1b32fdcf41e378a1487fb90e9c615
Remove hardcoded service alert
RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
CorvallisBus.Core/WebClients/ServiceAlertsClient.cs
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
using System; using System.Linq; using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using CorvallisBus.Core.Models; using HtmlAgilityPack; namespace CorvallisBus.Core.WebClients { public static class ServiceAlertsClient { static readonly Uri FEED_URL = new Uri("http...
mit
C#
fab5ae8cd30c691506cb614594b133ca7f67cc60
Increase diagnostic log limit
File-New-Project/EarTrumpet
EarTrumpet/Diagnosis/CircularBufferTraceListener.cs
EarTrumpet/Diagnosis/CircularBufferTraceListener.cs
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Text; using System.Threading; namespace EarTrumpet.Diagnosis { class CircularBufferTraceListener : TraceListener { private const int MAX_LOG_LINES = 800; private readonly ConcurrentQueue<string> _log = ne...
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Text; using System.Threading; namespace EarTrumpet.Diagnosis { class CircularBufferTraceListener : TraceListener { private const int MAX_LOG_LINES = 400; private readonly ConcurrentQueue<string> _log = ne...
mit
C#
d8562e3b5da99ce45aeab3f7047dc8a1cc7201a5
Move variable declaration to the top of method
deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playground,deniscostadsc/playgr...
solutions/beecrowd/1010/1010.cs
solutions/beecrowd/1010/1010.cs
using System; class Solution { static void Main() { int b; double c, s = 0.0; string line; string[] numbers; while ((line = Console.ReadLine()) != null) { numbers = line.Split(' '); b = Convert.ToInt16(numbers[1]); c = Convert.ToDouble(nu...
using System; class Solution { static void Main() { int b; double c, s = 0.0; string line; while ((line = Console.ReadLine()) != null) { string[] numbers = line.Split(' '); b = Convert.ToInt16(numbers[1]); c = Convert.ToDouble(numbers[2]); ...
mit
C#
2d73f62f14f04a59e3beac3febb3e9fd312505af
Update Place.cs
ADAPT/ADAPT
source/ADAPT/Logistics/Place.cs
source/ADAPT/Logistics/Place.cs
/******************************************************************************* * Copyright (C) 2019 AgGateway, ADAPT Contributors, and Syngenta * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies thi...
/******************************************************************************* * Copyright (C) 2019 AgGateway, ADAPT Contributors, and Syngenta * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies thi...
epl-1.0
C#
5c48b0b10e667a52c50d0c346e277c1baf8a5a7c
Update Note
markaschell/SoftwareThresher
code/SoftwareThresher/SoftwareThresher/Tasks/Filter.cs
code/SoftwareThresher/SoftwareThresher/Tasks/Filter.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using SoftwareThresher.Observations; namespace SoftwareThresher.Tasks { public class Filter : Task { // TODO - make nullable when the next parameter is added - make sure the nullable is represented in the usage - Either use ? or if get ...
using System.Collections.Generic; using System.Text.RegularExpressions; using SoftwareThresher.Observations; namespace SoftwareThresher.Tasks { public class Filter : Task { // TODO - make nullable when the next parameter is added // NOTE - RegEx format public string LocationSearchPattern { get; ...
mit
C#
0d3842438aae97db9637d099cb54a8fa15ad0ee9
Format RequireHttpsAttribute
appharbor/ConsolR,appharbor/ConsolR
CodeConsole.Web/Infrastructure/RequireHttpsAttribute.cs
CodeConsole.Web/Infrastructure/RequireHttpsAttribute.cs
using System; using System.Web.Mvc; namespace ConsolR.Web.Infrastructure { /// <summary> /// Redirects HTTP requests to HTTPS.</summary> /// <remarks> /// Overriding the default behavior is necessary to avoid a redirect loop. See this article for details: /// http://support.appharbor.com/kb/tips-and-tricks/ssl-a...
using System; using System.Web.Mvc; namespace ConsolR.Web.Infrastructure { /// <summary> /// Redirects HTTP requests to HTTPS.</summary> /// <remarks> /// Overriding the default behavior is necessary to avoid a redirect loop. See this article for details: /// http://support.appharbor.com/kb/tips-a...
mit
C#
648e290e55133a2cf3d7452917a7f71570fd7099
Fix delete tests
visualeyes/cabinet,visualeyes/cabinet,visualeyes/cabinet
src/Cabinet.Tests/S3/Results/DeleteResultFacts.cs
src/Cabinet.Tests/S3/Results/DeleteResultFacts.cs
using Cabinet.S3.Results; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace Cabinet.Tests.S3.Results { public class DeleteResultFacts { [Theory] [InlineData(HttpStatusCode.N...
using Cabinet.S3.Results; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; using Xunit; namespace Cabinet.Tests.S3.Results { public class DeleteResultFacts { [Theory] [InlineData(HttpStatusCode.O...
mit
C#
bf5547d8563b1cf23c625f00a7cdcc1b6a1368e6
Update StephanosConstantinou.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/StephanosConstantinou.cs
src/Firehose.Web/Authors/StephanosConstantinou.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 StephanosConstantinou : IAmACommunityMember { public string FirstName => "Stephanos"; publ...
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 StephanosConstantinou : IAmACommunityMember { public string FirstName => "Stephanos"; publ...
mit
C#
7a4c3c9fb068379587aafbee47ec133444187ad6
Fix a typo in the GitHub.UI.Reactive assembly title
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.UI.Reactive/Properties/AssemblyInfo.cs
src/GitHub.UI.Reactive/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("GitHub.UI.Reactive")] [assembly: AssemblyDescription("GitHub flavored WPF styles and controls that require Rx and RxUI")] [assembly: Guid("885a491c-1d13-49e7-baa6-d61f424befcb")]...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Markup; [assembly: AssemblyTitle("GitHub.UI.Recative")] [assembly: AssemblyDescription("GitHub flavored WPF styles and controls that require Rx and RxUI")] [assembly: Guid("885a491c-1d13-49e7-baa6-d61f424befcb")]...
mit
C#
3cb3d004d0173a61771d4f0b714414c2d264fb2a
Fix typo.
eealeivan/mixpanel-csharp
src/Mixpanel/Mixpanel/MixpanelBatchMessageTest.cs
src/Mixpanel/Mixpanel/MixpanelBatchMessageTest.cs
using System; using System.Collections.Generic; namespace Mixpanel { /// <summary> /// Can be used to check all steps of creating a batch mixpanel messages for /// MixpanelClient 'Send' and 'SendAsync' methods. /// </summary> public sealed class MixpanelBatchMessageTest { /// <summary>...
using System; using System.Collections.Generic; namespace Mixpanel { /// <summary> /// Can be used to check all steps of creating a batch mixapnel messages for /// MixpanelClient 'Send' and 'SendAsync' methods. /// </summary> public sealed class MixpanelBatchMessageTest { /// <summary>...
mit
C#
1999729687850a5a12549860357d0e10f25cee3d
Use friendly url while sending transfer
leonaascimento/Neblina
src/Neblina.Api/Controllers/TransferController.cs
src/Neblina.Api/Controllers/TransferController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Neblina.Api.Core; using Neblina.Api.Models.TransferViewModels; using Neblina.Api.Core.Models; namespace Neblina.Api.Controllers { [Route("transfers")] public class...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Neblina.Api.Core; using Neblina.Api.Models.TransferViewModels; using Neblina.Api.Core.Models; namespace Neblina.Api.Controllers { [Route("transfers")] public class...
mit
C#
526ceef60d6b764643b53f2efb71b487322beabd
Fix a bug that admiral information is not updated.
bllue78/KanColleViewer,GIGAFortress/KanColleViewer,kookxiang/KanColleViewer,lcxit/KanColleViewer,Yuubari/KanColleViewer,BossaGroove/KanColleViewer,gakada/KanColleViewer,kyoryo/test,Astrologers/KanColleViewer,ShunKun/KanColleViewer,balderm/KanColleViewer,stu43005/KanColleViewer,maron8676/KanColleViewer,twinkfrag/KanColl...
Grabacr07.KanColleViewer/ViewModels/AdmiralViewModel.cs
Grabacr07.KanColleViewer/ViewModels/AdmiralViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Grabacr07.KanColleWrapper; using Grabacr07.KanColleWrapper.Models; using Livet; using Livet.EventListeners; namespace Grabacr07.KanColleViewer.ViewModels { public class AdmiralViewMod...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Grabacr07.KanColleWrapper; using Grabacr07.KanColleWrapper.Models; using Livet; using Livet.EventListeners; namespace Grabacr07.KanColleViewer.ViewModels { public class AdmiralViewModel : ViewMod...
mit
C#
72b7cc26d8b5fbace8665f995ea61f753b112b03
Update MicrosoftBannerAdUnitBundle.cs
tiksn/TIKSN-Framework
TIKSN.Core/Advertising/MicrosoftBannerAdUnitBundle.cs
TIKSN.Core/Advertising/MicrosoftBannerAdUnitBundle.cs
namespace TIKSN.Advertising { public class MicrosoftBannerAdUnitBundle : MicrosoftAdUnitBundle { public static readonly AdUnit MicrosoftTestModeBannerAdUnit = new(AdProviders.Microsoft, "3f83fe91-d6be-434d-a0ae-7351c5a997f1", "10865270", true); public MicrosoftBannerAdU...
namespace TIKSN.Advertising { public class MicrosoftBannerAdUnitBundle : MicrosoftAdUnitBundle { public static readonly AdUnit MicrosoftTestModeBannerAdUnit = new AdUnit(AdProviders.Microsoft, "3f83fe91-d6be-434d-a0ae-7351c5a997f1", "10865270", true); public MicrosoftBa...
mit
C#
eb85ef69ab5dcc26e1440e4bb205c88cf15dd4c3
Add DeliveryPointId to RouteLocation
MiXTelematics/MiX.Integrate.Api.Client
MiX.Integrate.Shared/Entities/Journeys/RouteLocation.cs
MiX.Integrate.Shared/Entities/Journeys/RouteLocation.cs
using System; namespace MiX.Integrate.Shared.Entities.Journeys { public class RouteLocation { public string RouteId { get; set; } public int RouteOrder { get; set; } public double Latitude { get; set; } public double Longitude { get; set; } public bool RestStop { get; set; } public bool FuelStop { get; ...
using System; namespace MiX.Integrate.Shared.Entities.Journeys { public class RouteLocation { public string RouteId { get; set; } public int RouteOrder { get; set; } public double Latitude { get; set; } public double Longitude { get; set; } public bool RestStop { get; set; } public bool FuelStop { get; ...
mit
C#
3cfa4248fee7f00f3936f1f560a86aaba8dc6677
fix unit test
NiallHow/Software-Eng,M-Zuber/MyHome
MyHome.Infrastructure.Tests/Validation/ContractTests.cs
MyHome.Infrastructure.Tests/Validation/ContractTests.cs
using System; using MyHome.Infrastructure.Validation; using NUnit.Framework; namespace MyHome.Infrastructure.Tests.Validation { [TestFixture] public class ContractTests { [Test] public void Contract_Requires_WithNoMessage_ShouldLeaveNoMessage() { // Act Acti...
using System; using MyHome.Infrastructure.Validation; using NUnit.Framework; namespace MyHome.Infrastructure.Tests.Validation { [TestFixture] public class ContractTests { [Test] public void Contract_Requires_WithNoMessage_ShouldLeaveNoMessage() { // Act Acti...
mit
C#
15c8341e4a9c8f3d6aca5807c844b2cb1ecf6f43
Add alias for CreateAppCommand
appharbor/appharbor-cli
src/AppHarbor/Commands/CreateAppCommand.cs
src/AppHarbor/Commands/CreateAppCommand.cs
using System; using System.Linq; namespace AppHarbor.Commands { [CommandHelp("Create an application", "[NAME]", "create")] public class CreateAppCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly IApplicationConfiguration _applicationConfiguration; public CreateAppComm...
using System; using System.Linq; namespace AppHarbor.Commands { [CommandHelp("Create an application", "[NAME]")] public class CreateAppCommand : ICommand { private readonly IAppHarborClient _appHarborClient; private readonly IApplicationConfiguration _applicationConfiguration; public CreateAppCommand(IAppHa...
mit
C#
43bfff83a048ff78fe6989f3b874bf048605faba
Update IAnimationSetter.cs
Perspex/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avaloni...
src/Avalonia.Animation/IAnimationSetter.cs
src/Avalonia.Animation/IAnimationSetter.cs
namespace Avalonia.Animation { public interface IAnimationSetter { AvaloniaProperty Property { get; set; } object Value { get; set; } } }
using System; namespace Avalonia.Animation { public interface IAnimationSetter { AvaloniaProperty Property { get; set; } object Value { get; set; } } }
mit
C#
36667f0afedf9ac596c258375392b66b1a95e57d
fix StringLengthValidator.Min for Body
MehdyKarimpour/extensions,signumsoftware/extensions,AlejandroCano/extensions,MehdyKarimpour/extensions,signumsoftware/extensions,signumsoftware/framework,signumsoftware/framework,AlejandroCano/extensions
Signum.Entities.Extensions/Dynamic/DynamicExpression.cs
Signum.Entities.Extensions/Dynamic/DynamicExpression.cs
using Signum.Entities; using Signum.Entities.Basics; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Signum.Entities.Dynamic { [Serializable, EntityKind(Ent...
using Signum.Entities; using Signum.Entities.Basics; using Signum.Utilities; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Signum.Entities.Dynamic { [Serializable, EntityKind(Ent...
mit
C#
3fe149a689782de8f1d789627f1b8a38e7086109
Add category service tests.
markshark05/GForum,markshark05/GForum
GForum/GForum.Services.Tests/CategoryServiceTests.cs
GForum/GForum.Services.Tests/CategoryServiceTests.cs
using System; using System.Linq; using GForum.Data.Contracts; using GForum.Data.Models; using Moq; using NUnit.Framework; namespace GForum.Services.Tests { [TestFixture] public class CategoryServiceTests { [Test] public void Create_ShouldCallRepositoryAddAndUnitOFWorkComplete() { ...
using System; using GForum.Data.Contracts; using GForum.Data.Models; using Moq; using NUnit.Framework; namespace GForum.Services.Tests { [TestFixture] public class CategoryServiceTests { [Test] public void Create_ShouldCallRepositoryAddAndUnitOFWorkComplete() { // Arran...
mit
C#
b802f11ba32b10630836578c8c199f0ca3824011
Fix checked,
NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer
PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs
PackageViewModel/PackageAnalyzer/PrereleasePackageDependencyRule.cs
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Globalization; using NuGetPe; using NuGetPackageExplorer.Types; using NuGet.Packaging.Core; namespace PackageExplorerViewModel.Rules { [Export(typeof(IPackageRule))] internal class Prerelea...
using System; using System.Collections.Generic; using System.ComponentModel.Composition; using System.Linq; using System.Globalization; using NuGetPe; using NuGetPackageExplorer.Types; using NuGet.Packaging.Core; namespace PackageExplorerViewModel.Rules { [Export(typeof(IPackageRule))] internal class Prerelea...
mit
C#
ff22aad68d529b79b22d189329d37253f88978cc
Make pagination list result enumerable.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs
Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs
namespace TraktApiSharp.Objects.Basic { using System.Collections; using System.Collections.Generic; /// <summary> /// Represents results of requests supporting pagination.<para /> /// Contains the current page, the item limitation per page, the total page count, the total item count /// and ca...
namespace TraktApiSharp.Objects.Basic { using System.Collections.Generic; /// <summary> /// Represents results of requests supporting pagination.<para /> /// Contains the current page, the item limitation per page, the total page count, the total item count /// and can also contain the total user ...
mit
C#
0767182ed81969b76a48225ddf036b1c76a140bb
Fix Base Class Property Resolving
Domysee/Pather.CSharp
src/Pather.CSharp/PathElements/Property.cs
src/Pather.CSharp/PathElements/Property.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Pather.CSharp.PathElements { public class Property : PathElementBase { private string property; public Property(string prop...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Pather.CSharp.PathElements { public class Property : PathElementBase { private string property; public Property(string prop...
mit
C#
96e79bfa202e09c1695a6569eaea5fd6b19a7322
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#
9f814b1c91c0e2f179ab7aec733213509549f168
Remove unused property
crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin
SignInCheckIn/SignInCheckIn/Models/DTO/EventRoomDto.cs
SignInCheckIn/SignInCheckIn/Models/DTO/EventRoomDto.cs
using System.Collections.Generic; namespace SignInCheckIn.Models.DTO { public class EventRoomDto { public int? EventRoomId { get; set; } public int RoomId { get; set; } public int EventId { get; set; } public string RoomName { get; set; } public string RoomNumber { ...
using System.Collections.Generic; using System.Linq; namespace SignInCheckIn.Models.DTO { public class EventRoomDto { public int? EventRoomId { get; set; } public int RoomId { get; set; } public int EventId { get; set; } public string RoomName { get; set; } public s...
bsd-2-clause
C#
92bf6a8b152e5ac23f8f3a1d551657e4e1548d54
Modify ShoppingCart to add CreatedUserId property.
v1nc3ntl1/VS-Project,v1nc3ntl1/VS-Project,v1nc3ntl1/VS-Project
WebApplication1/MvcApplication1/Models/ShoppingCart.cs
WebApplication1/MvcApplication1/Models/ShoppingCart.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Configuration; using System.Linq; using System.Web; namespace MvcApplication1.Models { public class ShoppingCart { private string _id = ""; private string _customerId; private decimal _gr...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Configuration; using System.Linq; using System.Web; namespace MvcApplication1.Models { public class ShoppingCart { private string _id = ""; private string _customerId; private decimal _gr...
mit
C#
0ec71e397e1ce1621d73aa2c0a3b824fd65b7199
Handle string ids when downloading artifacts
ermshiperete/BuildDependency
BuildDependencyLib/Artifacts/ArtifactTemplate.cs
BuildDependencyLib/Artifacts/ArtifactTemplate.cs
// Copyright (c) 2014 Eberhard Beilharz // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using BuildDependency.Artifacts; using BuildDependency.TeamCity; using BuildDependency.TeamCity.RestClasses; using System.IO; using System.Thre...
// Copyright (c) 2014 Eberhard Beilharz // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.Collections.Generic; using BuildDependency.Artifacts; using BuildDependency.TeamCity; using BuildDependency.TeamCity.RestClasses; using System.IO; using System.Thre...
mit
C#
d328bd5fe715abb7d2e1e265d28f2dce1ed19ec6
make backing store read-only
solomobro/Instagram,solomobro/Instagram,solomobro/Instagram
src/Solomobro.Instagram/Ioc.cs
src/Solomobro.Instagram/Ioc.cs
using System; using System.Collections.Generic; namespace Solomobro.Instagram { /// <summary> /// Internal-only homegrown IOC container. /// It's not really meant to make our code more flexible /// Just makes it possible to substitute some types for unit testing /// </summary> internal static ...
using System; using System.Collections.Generic; namespace Solomobro.Instagram { /// <summary> /// Internal-only homegrown IOC container. /// It's not really meant to make our code more flexible /// Just makes it possible to substitute some types for unit testing /// </summary> internal static ...
apache-2.0
C#
8dce11cf0315cd33fe4712485335c1f72e6b526a
Fix build
ChocoPacker/ChocoPacker.Clr
ChocoPacker.Burn.Tests/ManifestExtensionsTests.cs
ChocoPacker.Burn.Tests/ManifestExtensionsTests.cs
using Xunit; namespace ChocoPacker.Burn.Tests { public class ManifestExtensionsTests { [Fact] public void ParseInstallerInfo_Parse_Proper_Manifest() { const string expectedUninstall = "%ALLUSERSPROFILE%\\Package Cache\\{aa4ffaa7-f2a1-40c4-a7b9-e2424e3620f8}\\dotnet-dev-win-x...
using Xunit; namespace ChocoPacker.Burn.Tests { public class ManifestExtensionsTests { [Fact] public void ParseInstallerInfo_Parse_Proper_Manifest() { const string expectedUninstall = "%ALLUSERSPROFILE%\\Package Cache\\{aa4ffaa7-f2a1-40c4-a7b9-e2424e3620f8}\\dotnet-dev-win-x...
mit
C#
93267c81b3523ae4dcd606a2fecd952476b1dc6e
Update FormatPivotTableCells.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_...
Examples/CSharp/Articles/FormatPivotTableCells.cs
Examples/CSharp/Articles/FormatPivotTableCells.cs
using System.IO; using Aspose.Cells; using Aspose.Cells.Pivot; using System.Drawing; namespace Aspose.Cells.Examples.Articles { public class FormatPivotTableCells { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDi...
using System.IO; using Aspose.Cells; using Aspose.Cells.Pivot; using System.Drawing; namespace Aspose.Cells.Examples.Articles { public class FormatPivotTableCells { public static void Main() { // The path to the documents directory. string dataDir = Aspose.Cells.Example...
mit
C#
a9e0b4a5431f6b50a57dd55f8b2eb852773f4584
Fix #669: Отключение оптимизаций StandaloneRunner.
Faithfinder/OneScript,artbear/OneScript,artbear/OneScript,EvilBeaver/OneScript,Faithfinder/OneScript,EvilBeaver/OneScript,artbear/OneScript,dmpas/OneScript,EvilBeaver/OneScript,dmpas/OneScript,dmpas/OneScript,artbear/OneScript,EvilBeaver/OneScript,dmpas/OneScript,artbear/OneScript,Faithfinder/OneScript,EvilBeaver/OneSc...
src/StandaloneRunner/Program.cs
src/StandaloneRunner/Program.cs
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------...
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------...
mpl-2.0
C#
b3e1e58206faa231c1da202e1ee4343f3d1eedb5
Send the kerbal when evaing
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Client/Systems/VesselCrewSys/VesselCrewEvents.cs
Client/Systems/VesselCrewSys/VesselCrewEvents.cs
using LunaClient.Base; using LunaClient.Systems.Lock; using LunaClient.Systems.VesselProtoSys; using LunaClient.Systems.VesselRemoveSys; using LunaClient.VesselUtilities; namespace LunaClient.Systems.VesselCrewSys { public class VesselCrewEvents : SubSystem<VesselCrewSystem> { /// <summary> //...
using LunaClient.Base; using LunaClient.Systems.Lock; using LunaClient.Systems.VesselProtoSys; using LunaClient.Systems.VesselRemoveSys; using LunaClient.VesselUtilities; namespace LunaClient.Systems.VesselCrewSys { public class VesselCrewEvents : SubSystem<VesselCrewSystem> { /// <summary> //...
mit
C#
444aa2a44fbb5ed730c9b2f6fc6d01e418496d27
Comment Response Added
augustjared1/EntityLINQPractice,augustjared1/EntityLINQPractice
EntityLINQPractice/Controllers/HomeController.cs
EntityLINQPractice/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace EntityLINQPractice.Controllers { public class HomeController : Controller { public ActionResult Index() { //Hey there Jared //Sup Homeslice r...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace EntityLINQPractice.Controllers { public class HomeController : Controller { public ActionResult Index() { //Hey there Jared return View(); } ...
mit
C#
3bed1c2b57665eff190b42b4e9949aa2ab9c0f17
Change ISession
jpdante/HTCSharp
Modules/HtcSharp.HttpModule/Http.Features/ISession.cs
Modules/HtcSharp.HttpModule/Http.Features/ISession.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { ...
// 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.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace HtcSharp.HttpModule.Http.Features { // SourceTool...
mit
C#
aca880d573816388240640401f1d6b5e31b86575
increase version no
gigya/microdot
Gigya.ServiceContract/Properties/AssemblyInfo.cs
Gigya.ServiceContract/Properties/AssemblyInfo.cs
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
#region Copyright // Copyright 2017 Gigya Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // THI...
apache-2.0
C#
94f37b3c3f3c9f0d4f2e682bdb86aede7f74947b
Add view for news details route
Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife
PhotoLife/PhotoLife.Web/Views/News/NewsDetails.cshtml
PhotoLife/PhotoLife.Web/Views/News/NewsDetails.cshtml
@model PhotoLife.ViewModels.News.NewsDetailsViewModel @{ ViewBag.Title = "NewsDetails"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>NewsDetails</h2> <div> <h4>NewsDetailsViewModel</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Title) ...
@model PhotoLife.ViewModels.News.NewsDetailsViewModel @{ ViewBag.Title = "NewsDetails"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>NewsDetails</h2> <div> <h4>NewsDetailsViewModel</h4> <hr /> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.Title) ...
mit
C#
7d8a07e703cc87c1fc14b912bbbef0df790c6a0f
Fix KeepAlive Config so that value from appsettings.json is used (#12224)
arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS...
src/Umbraco.Core/Configuration/Models/KeepAliveSettings.cs
src/Umbraco.Core/Configuration/Models/KeepAliveSettings.cs
// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for keep alive settings. /// </summary> [UmbracoOptions(Constants.Configuration.ConfigKeepAlive)] public class Kee...
// Copyright (c) Umbraco. // See LICENSE for more details. using System.ComponentModel; namespace Umbraco.Cms.Core.Configuration.Models { /// <summary> /// Typed configuration options for keep alive settings. /// </summary> [UmbracoOptions(Constants.Configuration.ConfigKeepAlive)] public class Kee...
mit
C#
1aa0b5c062f71424b5c0085bbaefa2d0bd851e33
Remove unnecessary override in AudioResourceDecorator
antonio-bakula/simpleDLNA,itamar82/simpleDLNA,nmaier/simpleDLNA,bra1nb3am3r/simpleDLNA
server/Types/AudioResourceDecorator.cs
server/Types/AudioResourceDecorator.cs
using System; namespace NMaier.SimpleDlna.Server { internal class AudioResourceDecorator : MediaResourceDecorator<IMediaAudioResource> { public AudioResourceDecorator(IMediaAudioResource resource) : base(resource) { } public virtual string MetaAlbum { get { return re...
using System; namespace NMaier.SimpleDlna.Server { internal class AudioResourceDecorator : MediaResourceDecorator<IMediaAudioResource> { public AudioResourceDecorator(IMediaAudioResource resource) : base(resource) { } virtual public IMediaCoverResource Cover { get { ...
bsd-2-clause
C#
71bba88e70f5a88087ac6d45a263273a09424a40
Increase timeout from 20s to 2 minutes.
nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost
RedGate.AppHost.Server/StartProcessWithTimeout.cs
RedGate.AppHost.Server/StartProcessWithTimeout.cs
using System; using System.Diagnostics; using System.Threading; namespace RedGate.AppHost.Server { internal class StartProcessWithTimeout : IProcessStartOperation { private readonly IProcessStartOperation m_WrappedProcessStarter; private static readonly TimeSpan s_TimeOut = TimeSpan...
using System; using System.Diagnostics; using System.Threading; namespace RedGate.AppHost.Server { internal class StartProcessWithTimeout : IProcessStartOperation { private readonly IProcessStartOperation m_WrappedProcessStarter; private static readonly TimeSpan s_TimeOut = TimeSpan...
apache-2.0
C#
548d24e0aa692bdb44d13cd5ca1e512ed8c73a16
Remove incorrect HostingChannel property from TwitchHostedChannel
fedoaa/SimpleTwitchBot
SimpleTwitchBot.Lib/Models/TwitchHostedChannel.cs
SimpleTwitchBot.Lib/Models/TwitchHostedChannel.cs
namespace SimpleTwitchBot.Lib.Models { public class TwitchHostedChannel : TwitchMessage { public string HosterDisplayName { get; set; } public bool IsAutohost { get; set; } public int NumberOfViewers { get; set; } public string TargetChannel { get; set; } public Twit...
namespace SimpleTwitchBot.Lib.Models { public class TwitchHostedChannel : TwitchMessage { public string HostingChannel { get; set; } public string HosterDisplayName { get; set; } public bool IsAutohost { get; set; } public int NumberOfViewers { get; set; } public str...
mit
C#
1fc888a32059c7259f83e8924f12edb18a48015e
Add documentation
vdaron/ovhapicil,vdaron/ovhapicil
OVHApi/Commands/Dedicated/Server/Intervention.cs
OVHApi/Commands/Dedicated/Server/Intervention.cs
// // Intervention.cs // // Author: // Vincent DARON <vda@depfac.com> // // Copyright (c) 2013 Vincent DARON // // 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, i...
// // Intervention.cs // // Author: // Vincent DARON <vda@depfac.com> // // Copyright (c) 2013 Vincent DARON // // 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, i...
mit
C#
5092f01cfcfa431cac6400bac7463403399d8c0d
Add RegisterTypeForNavigation to IKernel and NinjectModule
ali-hk/Prism,ederbond/Prism,dersia/Prism,allanrsmith/Prism,frogger3d/Prism,hardcodet/Prism,ethedy/Prism
Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs
Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs
using System; using Ninject; using Ninject.Modules; using Ninject.Parameters; namespace Prism.Ninject { public static class NinjectExtensions { public static bool IsRegistered<TService>(this IKernel kernel) { return kernel.IsRegistered(typeof(TService)); } public s...
using System; using Ninject; using Ninject.Parameters; namespace Prism.Ninject { public static class NinjectExtensions { public static bool IsRegistered<TService>(this IKernel kernel) { return kernel.IsRegistered(typeof(TService)); } public static bool IsRegistered...
apache-2.0
C#
48ead7708cbf76a113067bf3423eaa9340248168
bump version
Fody/Fielder
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: AssemblyVersion("1.1.5")]
using System.Reflection; [assembly: AssemblyTitle("Fielder")] [assembly: AssemblyProduct("Fielder")] [assembly: AssemblyVersion("1.1.4")]
mit
C#
48eb07c90ce1128a55689e7ea5c8612a12cb57ae
bump version
dpurge/GitVersion,pascalberger/GitVersion,anobleperson/GitVersion,onovotny/GitVersion,asbjornu/GitVersion,JakeGinnivan/GitVersion,orjan/GitVersion,JakeGinnivan/GitVersion,pascalberger/GitVersion,Philo/GitVersion,TomGillen/GitVersion,TomGillen/GitVersion,alexhardwicke/GitVersion,RaphHaddad/GitVersion,openkas/GitVersion,...
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("GitFlowVersion")] [assembly: AssemblyProduct("GitFlowVersion")] [assembly: AssemblyVersion("0.3.0")] [assembly: AssemblyFileVersion("0.3.0")] [assembly: InternalsVisibleTo("Tests")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("GitFlowVersion")] [assembly: AssemblyProduct("GitFlowVersion")] [assembly: AssemblyVersion("0.2.0")] [assembly: AssemblyFileVersion("0.2.0")] [assembly: InternalsVisibleTo("Tests")]
mit
C#
c6405bec35e2d1f0ae3915cfdc5bdc8400e1890c
bump version
Fody/Obsolete
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
using System.Reflection; [assembly: AssemblyTitle("Obsolete")] [assembly: AssemblyProduct("Obsolete")] [assembly: AssemblyVersion("0.10.0.0")] [assembly: AssemblyFileVersion("0.10.0.0")]
mit
C#
83705f7256ed9000fb5df77dbd985742f81deadb
Fix manual plugin unattended mode (#573)
Lone-Coder/letsencrypt-win-simple
letsencrypt-win-simple/Plugins/TargetPlugins/Manual.cs
letsencrypt-win-simple/Plugins/TargetPlugins/Manual.cs
using LetsEncrypt.ACME.Simple.Services; using System.Collections.Generic; using System.Linq; namespace LetsEncrypt.ACME.Simple.Plugins.TargetPlugins { class Manual : ManualPlugin, ITargetPlugin { string IHasName.Name { get { return nameof(Manual); ...
using LetsEncrypt.ACME.Simple.Services; using System.Collections.Generic; using System.Linq; namespace LetsEncrypt.ACME.Simple.Plugins.TargetPlugins { class Manual : ManualPlugin, ITargetPlugin { string IHasName.Name { get { return nameof(Manual); ...
apache-2.0
C#
46b3eddfe8df1656eea73192b458ffe1c90e4331
Update VTexFormat
SteamDatabase/ValveResourceFormat
ValveResourceFormat/Resource/Enums/VTexFormat.cs
ValveResourceFormat/Resource/Enums/VTexFormat.cs
using System; namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, RGBA8888 = 4, R16 = 5, RG1616 = 6, RGBA16161616 = 7, R16F = 8, RG1616F = 9, RGBA16...
using System; namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, RGBA8888 = 4, R16 = 5, RG1616 = 6, RGBA16161616 = 7, R16F = 8, RG1616F = 9, RGBA16...
mit
C#
1008a539e1ac52a0ce12ef80c701acff842880b1
Remove debug statement
eggapauli/MyDocs,eggapauli/MyDocs
Common.Test/ViewModel/RenameCategoryCommandTest.cs
Common.Test/ViewModel/RenameCategoryCommandTest.cs
using FakeItEasy; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using MyDocs.Common.Contract.Service; using System.Threading.Tasks; namespace MyDocs.Common.Test.ViewModel { public partial class DocumentViewModelTest { [TestMethod] public void RenamingCategoryShoul...
using FakeItEasy; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using MyDocs.Common.Contract.Service; using System.Threading.Tasks; namespace MyDocs.Common.Test.ViewModel { public partial class DocumentViewModelTest { [TestMethod] public void RenamingCategoryShoul...
mit
C#
0938c9882a9bffa089f72fb04091c4207e8578cb
Change calling convention of ImGuiInputTextCallback
mellinoe/ImGui.NET,mellinoe/ImGui.NET
src/ImGui.NET/ImGuiTextEditCallback.cs
src/ImGui.NET/ImGuiTextEditCallback.cs
using System.Runtime.InteropServices; namespace ImGuiNET { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data); }
namespace ImGuiNET { public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data); }
mit
C#
d461ce149f6216326c510a1efc99c005e390af98
Add try/catch on subscriber
northspb/RawRabbit,pardahlman/RawRabbit
src/RawRabbit/Operations/Subscriber.cs
src/RawRabbit/Operations/Subscriber.cs
using System; using System.Runtime.Serialization; using System.Threading.Tasks; using RabbitMQ.Client.Events; using RawRabbit.Common; using RawRabbit.Configuration.Subscribe; using RawRabbit.Context; using RawRabbit.Context.Provider; using RawRabbit.Serialization; namespace RawRabbit.Operations { public interface IS...
using System; using System.Threading.Tasks; using RabbitMQ.Client.Events; using RawRabbit.Common; using RawRabbit.Configuration.Subscribe; using RawRabbit.Context; using RawRabbit.Context.Provider; using RawRabbit.Serialization; namespace RawRabbit.Operations { public interface ISubscriber<out TMessageContext> where...
mit
C#
c135fe60fc2b3cda522978bf680441cdf60e06a4
bump version
ParticularLabs/SetStartupProjects
src/SetStartupProjects/AssemblyInfo.cs
src/SetStartupProjects/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("SetStartupProjects")] [assembly: AssemblyProduct("SetStartupProjects")] [assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")] [assembly: AssemblyVersion("1.3.0")] [assembly: AssemblyFileVersion("1.3.0")] [assembly: Intern...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("SetStartupProjects")] [assembly: AssemblyProduct("SetStartupProjects")] [assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")] [assembly: AssemblyVersion("1.2.4")] [assembly: AssemblyFileVersion("1.2.4")] [assembly: Intern...
mit
C#
5f0f9634441da53fbcb5179a4ecfa03f0f35c048
Update test RP to include client id in change email / password links
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/TestRP/Views/Shared/_Layout.cshtml
src/TestRP/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test relying party</title> </head> <body> <div> @if (User.Identity.IsAuthenticated) { <span><a href="https://localhost:44334/accoun...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test relying party</title> </head> <body> <div> @if (User.Identity.IsAuthenticated) { <span><a href="https://localhost:44334/accoun...
mit
C#
1d109c6ca436c64dd1b067b0fe4f3a785a2ac18f
Update FitAllWorksheetColumns.cs
aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecel...
Examples/CSharp/Articles/FitAllWorksheetColumns.cs
Examples/CSharp/Articles/FitAllWorksheetColumns.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class FitAllWorksheetColumns { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syst...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Articles { public class FitAllWorksheetColumns { public static void Main() { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syst...
mit
C#
e7e431b8ccaed667bf5186599781e9ee52380106
make Summa.Net.Feed.Parse() work correctly
wfarr/newskit,wfarr/newskit
src/Summa/Summa.Net/Feed.cs
src/Summa/Summa.Net/Feed.cs
using System; using System.Xml; namespace Summa { namespace Net { public static class Feed { public static Summa.Data.Parser.FeedParser Sniff(Summa.Net.Request request) { Summa.Data.Parser.FeedParser parser = null; try { parse...
using System; using System.Xml; namespace Summa { namespace Net { public static class Feed { public static Summa.Data.Parser.FeedParser Sniff(Summa.Net.Request request) { Summa.Data.Parser.FeedParser parser = null; //try { parser ...
mit
C#
efc343283f022f9d35851627852a6c377a96d880
Mark methods as virtual
scottbrady91/ScottBrady91.AspNetCore.Identity.BCryptPasswordHasher
src/ScottBrady91.AspNetCore.Identity.BCryptPasswordHasher/BCryptPasswordHasher.cs
src/ScottBrady91.AspNetCore.Identity.BCryptPasswordHasher/BCryptPasswordHasher.cs
using System; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; namespace ScottBrady91.AspNetCore.Identity { public class BCryptPasswordHasher<TUser> : IPasswordHasher<TUser> where TUser : class { private readonly BCryptPasswordHasherOptions options; public BCryptPasswo...
using System; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions.Options; namespace ScottBrady91.AspNetCore.Identity { public class BCryptPasswordHasher<TUser> : IPasswordHasher<TUser> where TUser : class { private readonly BCryptPasswordHasherOptions options; public BCryptPasswo...
mit
C#
d2e9c167317fa7bc6c66f3fb7c5b0dca8c7da813
Fix compilation warning.
Microsoft/ApplicationInsights-SDK-Labs
WCF/Shared.Tests/ClientExceptionExtensionsTests.cs
WCF/Shared.Tests/ClientExceptionExtensionsTests.cs
using Microsoft.ApplicationInsights.Wcf.Implementation; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.ServiceModel; namespace Microsoft.ApplicationInsights.Wcf.Tests { [TestClass] public class ClientExceptionExtensionsTests { [TestMethod] public void When_E...
using Microsoft.ApplicationInsights.Wcf.Implementation; using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.ServiceModel; namespace Microsoft.ApplicationInsights.Wcf.Tests { [TestClass] public class ClientExceptionExtensionsTests { [TestMethod] public void When_E...
mit
C#
08c96757782995bc45e3b557fa019bcf7da6be79
Make XNAControls internals visible to XNAControls.Test
ethanmoffat/XNAControls
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("XN...
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("XN...
mit
C#
b1f09d2f169d56fb9ba9c90a2c283fec5d50d1ee
comment out ToString for StringBuilder, there is no need for plug anymore
sgetaz/Cosmos,trivalik/Cosmos,Cyber4/Cosmos,sgetaz/Cosmos,fanoI/Cosmos,zdimension/Cosmos,tgiphil/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,zhangwenquan/Cosmos,zarlo/Cosmos,kant2002/Cosmos-1,fanoI/Cosmos,kant2002/Cosmos-1,zhangwenquan/Cosmos,zdimension/Cosmos,kant2002/Cosmos-1,MetSystem/Cosmos,Cyber4/Cosmos,...
source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs
source2/IL2CPU/Cosmos.IL2CPU/CustomImplementation/System/Text/StringBuilderImpl.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cosmos.IL2CPU.Plugs; namespace Cosmos.IL2CPU.CustomImplementation.System.Text { // no need for plug, after 64 bit support //[Plug(Target = typeof(StringBuilder))] //public static class StringBuilde...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Cosmos.IL2CPU.Plugs; namespace Cosmos.IL2CPU.CustomImplementation.System.Text { [Plug(Target = typeof(StringBuilder))] public static class StringBuilderImpl { public static strin...
bsd-3-clause
C#
0f760b9ff725115c8b12cfa62d78936277aadfc5
fix else statements, and add line num and pos for error
ilovepi/Compiler,ilovepi/Compiler
compiler/frontend/Parser.cs
compiler/frontend/Parser.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using compiler.frontend; namespace compiler.frontend { class Parser { public Token t; public Lexer s; string filename; int lineno; int pos; publ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using compiler.frontend; namespace compiler.frontend { class Parser { public Token t; public Lexer s; string filename; public void getExpected(Token expected) ...
mit
C#
e1251c7d65c65f60013229b5abd95cc2f8e477b8
Fix double Ergo auth request header problem
coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore
src/Miningcore/Blockchain/Ergo/ErgoClientExtensions.cs
src/Miningcore/Blockchain/Ergo/ErgoClientExtensions.cs
using System.Text; namespace Miningcore.Blockchain.Ergo; public partial class ErgoClient { public Dictionary<string, string> RequestHeaders { get; } = new(); private Task PrepareRequestAsync(HttpClient client, HttpRequestMessage request, StringBuilder url, CancellationToken ct) { foreach(var pair...
using System.Text; namespace Miningcore.Blockchain.Ergo; public partial class ErgoClient { public Dictionary<string, string> RequestHeaders { get; } = new(); private Task PrepareRequestAsync(HttpClient client, HttpRequestMessage request, StringBuilder url, CancellationToken ct) { foreach(var pair...
mit
C#
ab8223f0059e272a5a7aafa8b327d7f09a271c91
Update SceneManager.
cmilr/Unity2D-Components,jguarShark/Unity2D-Components
Scene/SceneManager.cs
Scene/SceneManager.cs
using UnityEngine; using System.Collections; using DG.Tweening; using Matcha.Game.Tweens; public class SceneManager : CacheBehaviour { // private SceneData sData; private float timeToFade = 2f; private float fadeInAfter = 0f; private float fadeOutAfter = 2f; private float timeBeforeLevelReload = 3f; void Sta...
using UnityEngine; using System.Collections; using DG.Tweening; using Matcha.Game.Tweens; public class SceneManager : CacheBehaviour { // private SceneData data; private float timeToFade = 2f; private float fadeInAfter = 0f; private float fadeOutAfter = 2f; private float timeBeforeLevelReload = 3f; void Star...
mit
C#
9df4674ee529d28ce6bfa67f1bb666b44dfc18ed
Make property attributes public in IR
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Razor.Evolution/Intermediate/SetTagHelperPropertyIRNode.cs
src/Microsoft.AspNetCore.Razor.Evolution/Intermediate/SetTagHelperPropertyIRNode.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Evolution.Legacy; namespace Microsoft.AspNetCore.Razor.Evolution.Inte...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Evolution.Legacy; namespace Microsoft.AspNetCore.Razor.Evolution.Inte...
apache-2.0
C#
46828843c560b42d7c18616c25da63a180807b39
Update dotnet tests for 3.1.302.
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
tests/OmniSharp.Tests/DotNetCliServiceFacts.cs
tests/OmniSharp.Tests/DotNetCliServiceFacts.cs
using OmniSharp.Services; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.Tests { public class DotNetCliServiceFacts : AbstractTestFixture { public DotNetCliServiceFacts(ITestOutputHelper output) : base(output) { } [Fact] publi...
using OmniSharp.Services; using TestUtility; using Xunit; using Xunit.Abstractions; namespace OmniSharp.Tests { public class DotNetCliServiceFacts : AbstractTestFixture { public DotNetCliServiceFacts(ITestOutputHelper output) : base(output) { } [Fact] publi...
mit
C#
3f2b0d63c92b0ccbb124c4af73db8fa88381bbd7
Change the order of properties and methods.
CountrySideEngineer/Ev3Controller
dev/src/Ev3Controller/Model/PeriodicCommandRoutine.cs
dev/src/Ev3Controller/Model/PeriodicCommandRoutine.cs
using Ev3Controller.Ev3Command; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Ev3Controller.Model { public class PeriodicCommandRoutine : CommandRoutine { #region Constructors and the Fi...
using Ev3Controller.Ev3Command; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Ev3Controller.Model { public class PeriodicCommandRoutine : CommandRoutine { /// <summary> /// Cons...
mit
C#
ff903b1efdb4cb7610c597db74bb8237f0c0ae99
Add FindFocusedControl method
fredatgithub/UsefulFunctions
FonctionsUtiles.Fred.Csharp/FunctionsApplicationFeatures.cs
FonctionsUtiles.Fred.Csharp/FunctionsApplicationFeatures.cs
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel 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, copy, modify, merge, pub...
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel 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, copy, modify, merge, pub...
mit
C#
b6ce997b454019e1f57b76d712943cce1554e7ab
Disable check on MacOS.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/Shared/Settings/MagickSettingsTests/TheFontFamilyProperty.cs
tests/Magick.NET.Tests/Shared/Settings/MagickSettingsTests/TheFontFamilyProperty.cs
// Copyright 2013-2020 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-2020 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#
a358c0459ff59f7d054a2bd514e079221afa3d3f
add using
ProjectBlueMonkey/BlueMonkey,ProjectBlueMonkey/BlueMonkey
client/BlueMonkey/BlueMonkey.ExpenseServices.Azure.Shared/AzureFileStorageService.cs
client/BlueMonkey/BlueMonkey.ExpenseServices.Azure.Shared/AzureFileStorageService.cs
using BlueMonkey.MediaServices; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.IO; using System.Threading.Tasks; namespace BlueMonkey.ExpenseServices.Azure { public class AzureFileStorageService : IFileStorageService { private static readonl...
using BlueMonkey.MediaServices; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Blob; using System; using System.IO; using System.Threading.Tasks; namespace BlueMonkey.ExpenseServices.Azure { public class AzureFileStorageService : IFileStorageService { private static readonl...
mit
C#
2bacb6003f3bc2c3b58107c1118346dca3f5fa13
Fix typo in XML doc
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/IApplicationFeatureProviderOfT.cs
src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/IApplicationFeatureProviderOfT.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.Collections.Generic; namespace Microsoft.AspNetCore.Mvc.ApplicationParts { /// <summary> /// A provider for a given <typeparamref ...
// 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.Collections.Generic; namespace Microsoft.AspNetCore.Mvc.ApplicationParts { /// <summary> /// A provider for a given <typeparamref ...
apache-2.0
C#
333c0cd4f9c717187cc8a15f6ba93207a02ffbbf
Add open folder button to open currently selected tournament
ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu
osu.Game.Tournament/Screens/Setup/TournamentSwitcher.cs
osu.Game.Tournament/Screens/Setup/TournamentSwitcher.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; using osu.Game.Graphics.UserInterface; using osu.Game.Tournament.IO; namespace osu.Game.Tournament.Screens....
// 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; using osu.Game.Graphics.UserInterface; using osu.Game.Tournament.IO; namespace osu.Game.Tournament.Screens....
mit
C#
0d051ae60fdac75bd5418598f41a0073a7a4d5ad
Add missing * and / operators to ExpressionParser
dpek/unity-raconteur,exodrifter/unity-raconteur
Assets/Raconteur/RenPy/Script/Expressions/ExpressionParserFactory.cs
Assets/Raconteur/RenPy/Script/Expressions/ExpressionParserFactory.cs
using UnityEngine; namespace DPek.Raconteur.RenPy.Script { /// <summary> /// A convenience class for getting Expression Parsers of a specific /// setup. /// </summary> public class ExpressionParserFactory { private static ExpressionParser m_renPyExpressionParser; private ExpressionParserFactory() { //...
using UnityEngine; namespace DPek.Raconteur.RenPy.Script { /// <summary> /// A convenience class for getting Expression Parsers of a specific /// setup. /// </summary> public class ExpressionParserFactory { private static ExpressionParser m_renPyExpressionParser; private ExpressionParserFactory() { //...
bsd-3-clause
C#
8ebb787831aaadc5fd1697fc828d2bddd6e0d41d
支持在.Net Core上编译common.base
303248153/ZKWeb.Plugins,303248153/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins,303248153/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins,zkweb-framework/ZKWeb.Plugins
Common.Base/src/Extensions/_DataTable/DataTableExtensions.cs
Common.Base/src/Extensions/_DataTable/DataTableExtensions.cs
#if !NETCORE using System.Data; using System.Text; using ZKWeb.Localize; using ZKWebStandard.Collection; using ZKWebStandard.Extensions; using ZKWebStandard.Utils; namespace ZKWeb.Plugins.Common.Base.src.Extensions { /// <summary> /// 数据表格的扩展函数 /// </summary> public static class DataTableExtensions { ...
using System.Data; using System.Text; using ZKWeb.Localize; using ZKWebStandard.Collection; using ZKWebStandard.Extensions; using ZKWebStandard.Utils; namespace ZKWeb.Plugins.Common.Base.src.Extensions { /// <summary> /// 数据表格的扩展函数 /// </summary> public static class DataTableExtensions { /// <summar...
mit
C#
04b003d4cca2a4069e9be9363251850b54718c67
Remove unused constructor
ilovepi/Compiler,ilovepi/Compiler
compiler/middleend/optimization/CopyPropagation.cs
compiler/middleend/optimization/CopyPropagation.cs
using System.Collections.Generic; using compiler.middleend.ir; namespace compiler.middleend.optimization { public class CopyPropagation { private static HashSet<Node> _visited = null; public static void Propagate(Node root) { _visited = new HashSet<Node>(); PropagateValues(root); } ...
using System.Collections.Generic; using compiler.middleend.ir; namespace compiler.middleend.optimization { public class CopyPropagation { public CopyPropagation() { } private static HashSet<Node> _visited = null; public static void Propagate(Node root) { _visited = new HashSet<Node>(); ...
mit
C#
086e696b71091a59cde0e601bdc89f97ede89d00
Throw an exception if a popover is attempted to be shown without a parent `PopoverContainer`
peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
osu.Framework/Extensions/PopoverExtensions.cs
osu.Framework/Extensions/PopoverExtensions.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; using osu.Framework.Graphics.Cursor; #nullable enable namespace osu.Framework.Extensions { public static class PopoverEx...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; #nullable enable namespace osu.Framework.Extensions { public static class PopoverExtensions {...
mit
C#
0841719d0899141fa15e1b5c175020270708d1eb
Change 3M performance test to 5M
billboga/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,ritterim/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api
test/Silverpop.Core.Performance/Program.cs
test/Silverpop.Core.Performance/Program.cs
using System; using System.Collections.Generic; using System.Linq; namespace Silverpop.Core.Performance { internal class Program { private static void Main(string[] args) { var tagValue = new string( Enumerable.Repeat("ABC", 1000) .SelectMany(x =...
using System; using System.Collections.Generic; using System.Linq; namespace Silverpop.Core.Performance { internal class Program { private static void Main(string[] args) { var tagValue = new string( Enumerable.Repeat("ABC", 1000) .SelectMany(x =...
mit
C#
7c79543ac1cb3ca1d4130fdef76a305573ab0ed0
support incremental progress events (#1381)
lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows
ReactWindows/ReactNative.Shared/Modules/Network/DefaultHttpClient.cs
ReactWindows/ReactNative.Shared/Modules/Network/DefaultHttpClient.cs
using System; using System.Threading; using System.Threading.Tasks; #if WINDOWS_UWP using Windows.Web.Http; #else using System.Net.Http; #endif namespace ReactNative.Modules.Network { class DefaultHttpClient : IHttpClient { private readonly HttpClient _client; [System.Diagnostics.CodeAnalysis....
using System; using System.Threading; using System.Threading.Tasks; #if WINDOWS_UWP using Windows.Web.Http; #else using System.Net.Http; #endif namespace ReactNative.Modules.Network { class DefaultHttpClient : IHttpClient { private readonly HttpClient _client; [System.Diagnostics.CodeAnalysis...
mit
C#
3e3b8e19ff5b7e86f013a3b99d2e60d26a6afd21
Use thread context parameter for find implementations.
panopticoncentral/roslyn,nguerrera/roslyn,KevinRansom/roslyn,brettfo/roslyn,mavasani/roslyn,eriawan/roslyn,ErikSchierboom/roslyn,aelij/roslyn,stephentoub/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,gafter/roslyn,heejaechang/roslyn,mgoertz-msft/roslyn,dotnet/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,weltkante/roslyn,...
src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.cs
src/Features/LanguageServer/Protocol/Handler/References/FindImplementationsHandler.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.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.FindUsages; using Micr...
// 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.Composition; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.FindUsages; using Micr...
mit
C#
e232dd7d7e1618eadac67dffcfa7ac9e30692c6f
Add a space between "Test" and "Email" in the UI.
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Models/ServerViewModels/EmailsViewModel.cs
BTCPayServer/Models/ServerViewModels/EmailsViewModel.cs
using BTCPayServer.Services.Mails; using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BTCPayServer.Models.ServerViewModels { public class EmailsViewModel { pub...
using BTCPayServer.Services.Mails; using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace BTCPayServer.Models.ServerViewModels { public class EmailsViewModel { pub...
mit
C#