commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
6e630737c12095335bd91408f1de91ea704029db
MultiMiner.Win/Forms/CoinEditForm.cs
MultiMiner.Win/Forms/CoinEditForm.cs
using MultiMiner.Engine.Data; using MultiMiner.Utility.Forms; using MultiMiner.Xgminer.Data; using MultiMiner.Win.Extensions; using System; using MultiMiner.Engine; namespace MultiMiner.Win.Forms { public partial class CoinEditForm : MessageBoxFontForm { private readonly CryptoCoin cryptoCoin; ...
using MultiMiner.Engine.Data; using MultiMiner.Utility.Forms; using MultiMiner.Xgminer.Data; using MultiMiner.Win.Extensions; using System; using MultiMiner.Engine; namespace MultiMiner.Win.Forms { public partial class CoinEditForm : MessageBoxFontForm { private readonly CryptoCoin cryptoCoin; ...
Fix algorithm not selected when adding a custom coin
Fix algorithm not selected when adding a custom coin
C#
mit
nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
f4d6eadf7be551e8d037313fe3cd1ea4b4fa6c1f
wallabag/wallabag.Windows/Views/ItemPage.xaml.cs
wallabag/wallabag.Windows/Views/ItemPage.xaml.cs
using System; using wallabag.Common; using wallabag.ViewModel; using Windows.ApplicationModel.DataTransfer; using Windows.System; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace wallabag.Views { public sealed partial class ItemPage : basicPage { public ItemPage() { ...
using System; using wallabag.Common; using wallabag.ViewModel; using Windows.ApplicationModel.DataTransfer; using Windows.System; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; namespace wallabag.Views { public sealed partial class ItemPage : basicPage { public ItemPage() { ...
Add dataTransferManager to Windows app.
Add dataTransferManager to Windows app.
C#
mit
wangjun/windows-app,wangjun/windows-app
c3cc41b1123247dbaf59dbda615f308439344658
src/Diploms.WebUI/Startup.cs
src/Diploms.WebUI/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.WebUI.Configuration; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Microsoft.Extensions.Configuration; using Microsoft.Extensions...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.DataLayer; using Diploms.WebUI.Configuration; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Microsoft.Extensions.Configuration; u...
Use DiplomContext in DI container
Use DiplomContext in DI container
C#
mit
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
28acf0ae74128d2d13cc39197ba2ad416033aa61
src/HelloWorldDbContext.cs
src/HelloWorldDbContext.cs
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace HelloWorldApp { public class HelloWorldDbContext : DbContext, IHelloWorldDbContext { public HelloWorldDbContext(DbContextOptions<HelloWorldDbContext> options) : base(options) { } public DbSet<Greet...
using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace HelloWorldApp { public class HelloWorldDbContext : DbContext, IHelloWorldDbContext { public HelloWorldDbContext() { } public HelloWorldDbContext(DbContextOptions<HelloWorldDbContext> options) ...
Add the default constructor, eventually needed for migrations.
Add the default constructor, eventually needed for migrations.
C#
mit
jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr,jp7677/hellocoreclr
6319d4f3690fbd19fcbfa0a46fed2ea6470edb65
Tests/Mapsui.Nts.Tests/Extensions/CoordinateExtensionsTests.cs
Tests/Mapsui.Nts.Tests/Extensions/CoordinateExtensionsTests.cs
using System.Collections.Generic; using NetTopologySuite.Geometries; using NUnit.Framework; using Mapsui.Nts.Extensions; using System; namespace Mapsui.Nts.Tests; [TestFixture] public class CoordinateExtensionsTests { [Test] public void CoordinateExtensionsShouldThrow() { // Arrange IEnum...
using System.Collections.Generic; using NetTopologySuite.Geometries; using NUnit.Framework; using Mapsui.Nts.Extensions; using System; namespace Mapsui.Nts.Tests; [TestFixture] public class CoordinateExtensionsTests { [Test] public void ToLineStringShouldNotThrowWhenCoordinatesIsEmpty() { // Arra...
Fix unit test for changed implementation
Fix unit test for changed implementation
C#
mit
charlenni/Mapsui,charlenni/Mapsui
bd37216fce6c13204c7d4edc4b70dc40109797cf
SimpleZipeCode.Tests/Properties/AssemblyInfo.cs
SimpleZipeCode.Tests/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("Si...
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("Si...
Set test version to auto increment
Set test version to auto increment
C#
mit
alexmaris/simplezipcode
0ccb08c9c8e2be0632e091c5795285297791517b
proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs
proj/Mail/Dragon.Mail/Impl/DefaultReceiverMapper.cs
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dragon.Mail.Interfaces; namespace Dragon.Mail.Impl { public class DefaultReceiverMapper : IReceiverMapper { public void Map(dynamic receiver, Models.Mail mail...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Text; using System.Threading.Tasks; using Dragon.Mail.Interfaces; namespace Dragon.Mail.Impl { public class DefaultReceiverMapper : IReceiverMapper { public void Map(dynamic receiver, Models.Mail mail...
Make fullname optional for receiver
Make fullname optional for receiver
C#
mit
aduggleby/dragon,aduggleby/dragon,jbinder/dragon,jbinder/dragon,jbinder/dragon,aduggleby/dragon
e7931ef4c79302434d5468cdbf3acadb0b771ff8
osu.Game/Beatmaps/Drawables/DifficultyIcon.cs
osu.Game/Beatmaps/Drawables/DifficultyIcon.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using OpenTK; namespace osu.Game.Bea...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Graphics.Containers; using OpenTK; namespace osu.Game.Bea...
Add a default icon when a ruleset isn't present
Add a default icon when a ruleset isn't present
C#
mit
NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,Drezi126/osu,NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,2yangk23/osu,naoey/osu,Frontear/osuKyzer,ZLima12/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,ZLima12/osu,naoey/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,NeoAdonis/osu,s...
c9e8c340251ec3afcd4032d10cb6d363a1bd4245
src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs
src/SlashTodo.Infrastructure/AzureTables/ComplexTableEntity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; using Newtonsoft.Json; namespace SlashTodo.Infrastructure.AzureTables { public abstract class ComplexTableEntity<T> : TableEntity { public str...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.WindowsAzure.Storage.Table; using Newtonsoft.Json; namespace SlashTodo.Infrastructure.AzureTables { public abstract class ComplexTableEntity<T> : TableEntity { private st...
Use Json.Net type stamping instead of assembly qualified name.
Use Json.Net type stamping instead of assembly qualified name.
C#
mit
Hihaj/SlashTodo,Hihaj/SlashTodo
13fc2f65b29ca11fa15ad35bd6bd27a2c8f240c9
engine/engine/tests/SupermarketAcceptanceTests.cs
engine/engine/tests/SupermarketAcceptanceTests.cs
using NUnit.Framework; namespace engine.tests { [TestFixture] public class SupermarketAcceptanceTests { [Test] public void EmptyBasket() { var till = new Till(); var basket = new Basket(); var total = till.CalculatePrice(basket); va...
using NUnit.Framework; namespace engine.tests { [TestFixture] public class SupermarketAcceptanceTests { [Test] public void EmptyBasket() { var till = new Till(); var basket = new Basket(); var total = till.CalculatePrice(basket); va...
Store an item when it is added to the basket
Store an item when it is added to the basket
C#
mit
lukedrury/super-market-kata
28ad5398cc928deb58ec68fbb3d0d24313bec175
osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.cs
osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Objects.Legacy.Catch { /// <summary> /// Legacy osu!catch Spinner-type, used for parsing Bea...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Objects.Legacy.Catch { /// <summary> /// Legacy osu!catch Spinner-type, used for parsing Bea...
Remove the changes in convert spinner
Remove the changes in convert spinner
C#
mit
UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,naoey/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,ZLima12/osu,peppy/osu-new,naoey/osu,EVAST9919/osu,johnneijze...
55694a96e82a9722e7029798361fe16eb0a18bc9
Aurio/GlobalAssemblyInfo.cs
Aurio/GlobalAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // http://stackoverflow.com/questions/62353/what-are-the-best-practices-for-using-assembly-attributes [assembly: AssemblyCompany("Mario Guggenberger / protyposis.net")] [assembly: Ass...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // http://stackoverflow.com/questions/62353/what-are-the-best-practices-for-using-assembly-attributes [assembly: AssemblyCompany("Mario Guggenberger / protyposis.net")] [assembly: Ass...
Remove website url from product description
Remove website url from product description
C#
agpl-3.0
protyposis/Aurio,protyposis/Aurio
134b2a12fb3552495e38ccbab5ab7709517eeb6d
src/Stripe.net/Entities/Sources/SourceAuBecsDebit.cs
src/Stripe.net/Entities/Sources/SourceAuBecsDebit.cs
namespace Stripe { using Newtonsoft.Json; public class SourceAuBecsDebit : StripeEntity { [JsonProperty("account_number")] public string AccountNumber { get; set; } [JsonProperty("bsb_number")] public string BsbNumber { get; set; } [JsonProperty("fingerprint")] ...
namespace Stripe { using System; using Newtonsoft.Json; public class SourceAuBecsDebit : StripeEntity { [JsonProperty("account_number")] public string AccountNumber { get; set; } [JsonProperty("bsb_number")] public string BsbNumber { get; set; } [JsonProperty("...
Add Last4 in AU BECS Source and Deprecating Last3
Add Last4 in AU BECS Source and Deprecating Last3
C#
apache-2.0
stripe/stripe-dotnet
116518b1426b06b3c8905c54ff4ad51f6e9d8479
src/Compilers/Core/Portable/SourceCodeKind.cs
src/Compilers/Core/Portable/SourceCodeKind.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.ComponentModel; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Specifies the C# ...
// 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.ComponentModel; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis { /// <summary> /// Specifies the C# ...
Fix typo in summary comment
Fix typo in summary comment
C#
mit
wvdd007/roslyn,tvand7093/roslyn,balajikris/roslyn,tvand7093/roslyn,HellBrick/roslyn,shyamnamboodiripad/roslyn,jeffanders/roslyn,stephentoub/roslyn,dotnet/roslyn,sharadagrawal/Roslyn,natgla/roslyn,jasonmalinowski/roslyn,heejaechang/roslyn,Maxwe11/roslyn,bbarry/roslyn,danielcweber/roslyn,srivatsn/roslyn,AdamSpeight2008/r...
b91c1bf09ef719361ce497f760950af11b4e33f4
Source/Core/Pipeline/090_IncrementCountersAction.cs
Source/Core/Pipeline/090_IncrementCountersAction.cs
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://w...
#region Copyright 2014 Exceptionless // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU Affero General Public License as published // by the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // http://w...
Increment the stats counters in bulk
Increment the stats counters in bulk
C#
apache-2.0
adamzolotarev/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless
58ea716ba826335df44c81c076a5c80c771b56dd
src/MassTransit/MassTransit/MassTransitOptions.cs
src/MassTransit/MassTransit/MassTransitOptions.cs
using System; using Nybus.Configuration; using Nybus.Logging; namespace Nybus.MassTransit { public class MassTransitOptions { public IQueueStrategy CommandQueueStrategy { get; set; } = new AutoGeneratedNameQueueStrategy(); public IErrorStrategy CommandErrorStrategy { get; set; } = new RetryEr...
using System; using Nybus.Configuration; using Nybus.Logging; namespace Nybus.MassTransit { public class MassTransitOptions { public IQueueStrategy CommandQueueStrategy { get; set; } = new AutoGeneratedNameQueueStrategy(); public IErrorStrategy CommandErrorStrategy { get; set; } = new RetryEr...
Fix for compatibility with AppVeyor
Fix for compatibility with AppVeyor
C#
mit
Kralizek/Nybus,Nybus-project/Nybus
ffa0cf2d44174c870c5c0dc2173b73e9ba496a89
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.cs
osu.Game/Graphics/UserInterface/DimmedLoadingLayer.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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
// 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 osuTK.Graphics; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using osu.Framework.Extensions.Color4Ex...
Add comment detailing why this is requried
Add comment detailing why this is requried
C#
mit
2yangk23/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu
bb0a7efda38f5bd4b0d82c565dd0fa37681abf19
Assets/MixedRealityToolkit/Utilities/CameraEventRouter.cs
Assets/MixedRealityToolkit/Utilities/CameraEventRouter.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// A helper class to provide hooks into the Unity camera exclusive Lifecycle events /// </summary> publi...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Utilities { /// <summary> /// A helper class to provide hooks into the Unity camera exclusive Lifecycle events /// </summary> publi...
Fix the broken doc build.
Fix the broken doc build.
C#
mit
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
44aa2a4e76dc6cb857b740f8fabb34e537020c18
BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs
BasicSyntax-MoreExercises/04.PhotoGallery/PhotoGallery.cs
using System; class PhotoGallery { static void Main() { } }
using System; class PhotoGallery { static void Main() { int photosNumber = int.Parse(Console.ReadLine()); int day = int.Parse(Console.ReadLine()); int month = int.Parse(Console.ReadLine()); int year = int.Parse(Console.ReadLine()); int hours = int.Parse(Console.ReadLine...
Add problem 4. Photo Gallery
Add problem 4. Photo Gallery
C#
mit
Peter-Georgiev/Programming.Fundamentals,Peter-Georgiev/Programming.Fundamentals
d847af7a63eaae8840ae8f622fff407a64da5b05
webapp-net/TridionDocsMashup/Areas/TridionDocsMashup/Views/TridionDocsMashup/StaticWidget.cshtml
webapp-net/TridionDocsMashup/Areas/TridionDocsMashup/Views/TridionDocsMashup/StaticWidget.cshtml
@model StaticWidget <div class="rich-text @Model.HtmlClasses" @Html.DxaEntityMarkup()> @if (Model.TridionDocsItems != null) { foreach (TridionDocsItem item in Model.TridionDocsItems) { if (Model.DisplayContentAs.ToLower() == "embedded content") { <div c...
@model StaticWidget <div class="rich-text @Model.HtmlClasses" @Html.DxaEntityMarkup()> @if (Model.TridionDocsItems != null && Model.TridionDocsItems.Any()) { foreach (TridionDocsItem item in Model.TridionDocsItems) { if (Model.DisplayContentAs.ToLower() == "embedded content") ...
Enable the content type to be editable when there is no result appearing based on the chosen keywords
Enable the content type to be editable when there is no result appearing based on the chosen keywords
C#
apache-2.0
sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules,sdl/dxa-modules
028c72c4ff13870643f10724ff552ff8d2d7b6a4
DemoQueryUtil/Program.cs
DemoQueryUtil/Program.cs
using DemoDataAccess; using DemoDataAccess.Entity; using NHibernate.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoQueryUtil { class Program { static void Main(string[] args) { // Works, but Area is null var county = ...
using DemoDataAccess; using DemoDataAccess.Entity; using NHibernate.Linq; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoQueryUtil { class Program { static void Main(string[] args) { FluentConfiguration.Configure(); // Wor...
Add call to Configure() and clean up comments.
Add call to Configure() and clean up comments.
C#
mit
andrerav/NHibernate.Spatial.MySql.Demo,andrerav/NHibernate.Spatial.MySql.Demo,andrerav/NHibernate.Spatial.MySql.Demo
c5728c1b58a74dca1f2db2c154ef4687f22c7477
ThScoreFileConverterTests/Actions/Win32WindowTests.cs
ThScoreFileConverterTests/Actions/Win32WindowTests.cs
using System; using System.Diagnostics.CodeAnalysis; using System.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter.Actions; using ThScoreFileConverterTests.Models; namespace ThScoreFileConverterTests.Actions { [TestClass] public class Win32WindowTests { [Test...
using System; using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Interop; using Microsoft.VisualStudio.TestTools.UnitTesting; using ThScoreFileConverter.Actions; using ThScoreFileConverterTests.Models; namespace ThScoreFileConverterTests.Actions { [TestClass] public class Win32W...
Revise unit tests for Actions.Win32Window
Revise unit tests for Actions.Win32Window
C#
bsd-2-clause
y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter
318e62cdd90a172052b001c55e858d847d815372
TOTD.EntityFramework/ConfigurationExtensions.cs
TOTD.EntityFramework/ConfigurationExtensions.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.ModelConfiguration.Configuration; using System.Linq; namespace TOTD.EntityFramework { public static class ConfigurationExtensions { ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Infrastructure.Annotations; using System.Data.Entity.ModelConfiguration.Configuration; using System.Linq; namespace TOTD.EntityFramework { public static class ConfigurationExtensions { ...
Change extension methods to use constant from IndexAnnotation for annotation name
Change extension methods to use constant from IndexAnnotation for annotation name
C#
mit
TheOtherTimDuncan/TOTD
5c3bb9c44ccddd7602bd200dcc281bf2d4512943
Alexa.NET/Response/Response.cs
Alexa.NET/Response/Response.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProperty("card", NullValueHandling = Nu...
using Newtonsoft.Json; using System.Collections.Generic; namespace Alexa.NET.Response { public class ResponseBody { [JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)] public IOutputSpeech OutputSpeech { get; set; } [JsonProperty("card", NullValueHandling = Nu...
Add ShouldSerializeDirectives to pass test ensuring it's only serialized when non-empty
Add ShouldSerializeDirectives to pass test ensuring it's only serialized when non-empty
C#
mit
timheuer/alexa-skills-dotnet,stoiveyp/alexa-skills-dotnet
a15f9c60b0c52c583f44a6258b4025a124de38b5
Tron/Networking/Extensions/NetGameExtension.cs
Tron/Networking/Extensions/NetGameExtension.cs
// NetGameExtension.cs // <copyright file="NetGameExtension.cs"> This code is protected under the MIT License. </copyright> using Tron; namespace Networking.Extensions { /// <summary> /// An extension class for the game containing useful tools for a networked game of tron. /// </summary> public static...
// NetGameExtension.cs // <copyright file="NetGameExtension.cs"> This code is protected under the MIT License. </copyright> using Tron; namespace Networking.Extensions { /// <summary> /// An extension class for the game containing useful tools for a networked game of tron. /// </summary> public static...
Store car value on grid when car is moved via byte array
Store car value on grid when car is moved via byte array
C#
mit
wrightg42/tron,It423/tron
219e8c730de749924d6cfa418649a642a3f41611
src/Umbraco.Web/WebApi/UnhandledExceptionLogger.cs
src/Umbraco.Web/WebApi/UnhandledExceptionLogger.cs
using System.Web.Http.ExceptionHandling; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; namespace Umbraco.Web.WebApi { /// <summary> /// Used to log unhandled exceptions in webapi controllers /// </summary> public class UnhandledExceptionLogger : ExceptionLogger { ...
using System.Web.Http.ExceptionHandling; using Umbraco.Core; using Umbraco.Core.Composing; using Umbraco.Core.Logging; namespace Umbraco.Web.WebApi { /// <summary> /// Used to log unhandled exceptions in webapi controllers /// </summary> public class UnhandledExceptionLogger : ExceptionLogger { ...
Add inline null checks as requested
Add inline null checks as requested
C#
mit
NikRimington/Umbraco-CMS,madsoulswe/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,tompipe/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,NikRimington/Umbraco-CMS,arknu/Umbraco-CMS,marcemarc/Umbraco-CMS,lars-erik/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-C...
3167016b608b1a1afe4f1ffdb052838c4291feae
src/dotless.Test/Specs/Compression/ColorsFixture.cs
src/dotless.Test/Specs/Compression/ColorsFixture.cs
using System; using dotless.Core.Parser; using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs.Compression { using NUnit.Framework; public class ColorsFixture : CompressedSpecFixtureBase { [Test] public void Colors() { AssertExpression("#fea", "#fea"); ...
using System; using dotless.Core.Parser; using dotless.Core.Parser.Infrastructure; namespace dotless.Test.Specs.Compression { using NUnit.Framework; public class ColorsFixture : CompressedSpecFixtureBase { [Test] public void Colors() { AssertExpression("#fea", "#fea"); ...
Remove test for "DisableColorCompression" flag.
Remove test for "DisableColorCompression" flag.
C#
apache-2.0
dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,dotless/dotless,rytmis/dotless,rytmis/dotless
ec7dbe41fbdaa5eb229f4ab2baa30ae777c47495
src/EditorFeatures/Core/Logging/FunctionIdOptions.cs
src/EditorFeatures/Core/Logging/FunctionIdOptions.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; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
// 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; using System.Linq; using System.Collections.Concurrent; using Microsoft.CodeAnalysis.Options; using R...
Call ToString() instead of Enum.GetName
Call ToString() instead of Enum.GetName I don't see any reason why we were doing this the other way.
C#
mit
mavasani/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,bartdesmet/roslyn,dotnet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmal...
b3eb733bb1635d274615148a55d8555405fb384b
src/Winium.Desktop.Driver/CommandExecutors/IsComboBoxExpandedExecutor.cs
src/Winium.Desktop.Driver/CommandExecutors/IsComboBoxExpandedExecutor.cs
namespace Winium.Desktop.Driver.CommandExecutors { #region using using Winium.StoreApps.Common; #endregion internal class IsComboBoxExpandedExecutor : CommandExecutorBase { #region Methods protected override string DoImpl() { var registeredKey = this.Executed...
namespace Winium.Desktop.Driver.CommandExecutors { #region using using Winium.Cruciatus.Extensions; using Winium.StoreApps.Common; #endregion internal class IsComboBoxExpandedExecutor : CommandExecutorBase { #region Methods protected override string DoImpl() { ...
Fix incorrect implementation of executor
Fix incorrect implementation of executor
C#
mpl-2.0
zebraxxl/Winium.Desktop,jorik041/Winium.Desktop,2gis/Winium.Desktop
eb5b2c662343ba8bcdcc6b1bbd21a3f9b20d0af6
Moya.Runner.Console/Program.cs
Moya.Runner.Console/Program.cs
namespace Moya.Runner.Console { using System; using Extensions; class Program { private static void Main(string[] args) { try { new Startup().Run(args); } catch(Exception e) { Console.Error.Writ...
namespace Moya.Runner.Console { using System; using Extensions; class Program { private static void Main(string[] args) { try { new Startup.Startup().Run(args); } catch(Exception e) { Console.Er...
Fix namespace issue after refactor of startup
Fix namespace issue after refactor of startup
C#
mit
Hammerstad/Moya
0a84b75fd9036ab824c7a93f0c895da77cb6cae7
ssh-handler/ssh-handler.cs
ssh-handler/ssh-handler.cs
// SSH Handler // // Douglas Thrift // // ssh-handler using System.Diagnostics; using System.Text; public class SshHandler { public static void Main(string[] args) { foreach (string arg in args) Ssh(arg); } private static void Ssh(string arg) { System.Uri uri = new Sy...
// SSH Handler // // Douglas Thrift // // ssh-handler.cs /* Copyright 2013 Douglas Thrift * * 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/L...
Add Apache 2.0 license header.
Add Apache 2.0 license header.
C#
apache-2.0
douglaswth/ssh-handler
e639d5c275f264a7b325a0f68268b8545b52973f
src/Glimpse.Server.Web/Framework/RequestAuthorizerAllowRemote.cs
src/Glimpse.Server.Web/Framework/RequestAuthorizerAllowRemote.cs
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Server.Web { public class RequestAuthorizerAllowRemote : IRequestAuthorizer { private readonly IAllowRemoteProvider _allowRemoteProvider; public RequestAuthorizerAllowRemote(IAllowRemoteProvider allowRemotePr...
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Server.Web { public class RequestAuthorizerAllowRemote : IRequestAuthorizer { private readonly IAllowRemoteProvider _allowRemoteProvider; public RequestAuthorizerAllowRemote(IAllowRemoteProvider allowRemotePr...
Update to deal with breaking Features change in httpabstraction
Update to deal with breaking Features change in httpabstraction
C#
mit
Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse...
ac59384537e8f670437307f450771b58dfb1e751
src/ZBuildLights.Core/Services/UnassignedLightService.cs
src/ZBuildLights.Core/Services/UnassignedLightService.cs
using System.Linq; using ZBuildLights.Core.Models; namespace ZBuildLights.Core.Services { public class UnassignedLightService : IUnassignedLightService { private readonly IZWaveNetwork _network; public UnassignedLightService(IZWaveNetwork network) { _network = network; ...
using System.Linq; using ZBuildLights.Core.Models; namespace ZBuildLights.Core.Services { public class UnassignedLightService : IUnassignedLightService { private readonly IZWaveNetwork _network; public UnassignedLightService(IZWaveNetwork network) { _network = network; ...
Make a little section of code easier to debug
Make a little section of code easier to debug
C#
mit
Vector241-Eric/ZBuildLights,mhinze/ZBuildLights,mhinze/ZBuildLights,Vector241-Eric/ZBuildLights,Vector241-Eric/ZBuildLights,mhinze/ZBuildLights
ae472bd6d33eac66e311de7a4e91e9aac55065b2
ValveResourceFormat/Resource/Enums/VTexFormat.cs
ValveResourceFormat/Resource/Enums/VTexFormat.cs
namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, // TODO: Not used in dota RGBA8888 = 4, R16 = 5, // TODO: Not used in dota RG1616 = 6, // TODO: Not used in dota RGBA161...
using System; namespace ValveResourceFormat { public enum VTexFormat { #pragma warning disable 1591 UNKNOWN = 0, DXT1 = 1, DXT5 = 2, I8 = 3, // TODO: Not used in dota RGBA8888 = 4, R16 = 5, // TODO: Not used in dota RG1616 = 6, // TODO: Not used in dota ...
Add `using System` to fix this file being detected as Smalltalk
Add `using System` to fix this file being detected as Smalltalk
C#
mit
SteamDatabase/ValveResourceFormat
d9371b92a09babc98321d366711b1e3894f0bfd9
DataDogCSharp/DataDogCSharp/Properties/AssemblyInfo.cs
DataDogCSharp/DataDogCSharp/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("Da...
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("Da...
Update assembly info informational version
Update assembly info informational version
C#
mit
SkyKick/datadogcsharp
6a4a907ed67e6a82fa25fa54fb81eb9a4eb481f6
LmpCommon/Message/Data/Vessel/VesselProtoMsgData.cs
LmpCommon/Message/Data/Vessel/VesselProtoMsgData.cs
using Lidgren.Network; using LmpCommon.Message.Types; namespace LmpCommon.Message.Data.Vessel { public class VesselProtoMsgData : VesselBaseMsgData { internal VesselProtoMsgData() { } public int NumBytes; public byte[] Data = new byte[0]; public override VesselMessageType Ves...
using Lidgren.Network; using LmpCommon.Message.Types; namespace LmpCommon.Message.Data.Vessel { public class VesselProtoMsgData : VesselBaseMsgData { internal VesselProtoMsgData() { } public override bool CompressCondition => true; public int NumBytes; public byte[] Data = new...
Compress only the vessel proto. TEST
Compress only the vessel proto. TEST
C#
mit
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
520ff5dc46c96a7cf9d82136b62966f202260383
Xamarin.Forms.Xaml/MarkupExtensions/TypeExtension.cs
Xamarin.Forms.Xaml/MarkupExtensions/TypeExtension.cs
using System; namespace Xamarin.Forms.Xaml { [ContentProperty("TypeName")] public class TypeExtension : IMarkupExtension<Type> { public string TypeName { get; set; } public Type ProvideValue(IServiceProvider serviceProvider) { if (serviceProvider == null) throw new ArgumentNullException("serviceProvid...
using System; namespace Xamarin.Forms.Xaml { [ContentProperty("TypeName")] public class TypeExtension : IMarkupExtension<Type> { public string TypeName { get; set; } public Type ProvideValue(IServiceProvider serviceProvider) { if (serviceProvider == null) throw new ArgumentNullException("serviceProvid...
Revert "Fix for an odd crash we were experiencing"
Revert "Fix for an odd crash we were experiencing" This reverts commit d3720f480898332853e95815f28cc72962e60186.
C#
mit
Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms
6dacc5dbb7cb9c1ed288bd43ff1455bad227ebaf
Tests/Data/Models/ProjectModelTest.cs
Tests/Data/Models/ProjectModelTest.cs
using System; using NUnit.Framework; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { [TestFixture] public class ProjectModelTest : ModelTest<ProjectModel> { } }
using System; using NUnit.Framework; using Toggl.Phoebe.Data.DataObjects; using Toggl.Phoebe.Data.NewModels; namespace Toggl.Phoebe.Tests.Data.Models { [TestFixture] public class ProjectModelTest : ModelTest<ProjectModel> { [Test] public void TestColorEnforcing () { var...
Test project model color enforcing.
Test project model color enforcing.
C#
bsd-3-clause
ZhangLeiCharles/mobile,eatskolnikov/mobile,peeedge/mobile,eatskolnikov/mobile,masterrr/mobile,peeedge/mobile,masterrr/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile
fe7747da0d7822b72b17b2c3d100c1a765a6b318
src/Catel.Benchmarks.Shared/BenchmarkBase.cs
src/Catel.Benchmarks.Shared/BenchmarkBase.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkBase.cs" company="Catel development team"> // Copyright (c) 2008 - 2017 Catel development team. All rights reserved. // </copyright> // --------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="BenchmarkBase.cs" company="Catel development team"> // Copyright (c) 2008 - 2017 Catel development team. All rights reserved. // </copyright> // --------------------------------...
Decrease number of operations to run to decrease benchmark duration from few hours to about 30 minutes
Decrease number of operations to run to decrease benchmark duration from few hours to about 30 minutes
C#
mit
Catel/Catel.Benchmarks
71cdeee501d87726c1aeee0eeff0cc93779c7706
WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/ClosedWalletViewModel.cs
using AvalonStudio.Extensibility; using ReactiveUI; using Splat; using System; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Threading; using WalletWasabi.Gui.Helpers; using WalletWasabi.Logging; using WalletWasabi.Wallets; namespace WalletWasabi.Gui.Controls.WalletExplorer { publ...
using AvalonStudio.Extensibility; using ReactiveUI; using Splat; using System; using System.Linq; using System.Reactive; using System.Reactive.Linq; using System.Threading; using WalletWasabi.Gui.Helpers; using WalletWasabi.Logging; using WalletWasabi.Wallets; namespace WalletWasabi.Gui.Controls.WalletExplorer { publ...
Clear IsBusy on Wallet load error
Clear IsBusy on Wallet load error
C#
mit
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
e9bce922f06f64884a7a3da8304c8884f11166ee
wasm-dump/Program.cs
wasm-dump/Program.cs
using System; using System.IO; using Wasm.Binary; namespace Wasm.Dump { public static class Program { public static int Main(string[] args) { if (args.Length != 1) { Console.Error.WriteLine("usage: wasm-dump file.wasm"); return 1; ...
using System; using System.IO; using Wasm.Binary; namespace Wasm.Dump { public static class Program { private static MemoryStream ReadStdinToEnd() { // Based on Marc Gravell's answer to this StackOverflow question: // https://stackoverflow.com/questions/1562417/read-bin...
Support piping a WebAssembly file to wasm-dump
Support piping a WebAssembly file to wasm-dump
C#
mit
jonathanvdc/cs-wasm,jonathanvdc/cs-wasm
57cd90a7db9653640a41103321864e1c565cdf44
DemoParser-Console/Program.cs
DemoParser-Console/Program.cs
using DemoParser_Core; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoParser_Console { class Program { static void Main(string[] args) { Console.WriteLine(DateTime.Now); Stream inputStream = new FileStream(...
using DemoParser_Core; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoParser_Console { class Program { static void Main(string[] args) { DateTime begin; DateTime end; Stream inputStream = new FileStr...
Update console to show parsing duration
Update console to show parsing duration
C#
mit
CSGO-Analysis/CSGO-Analyzer
c66699b7c76377b6809601313a0e12c56f52c1bb
Oogstplanner.Tests/Controllers/CropControllerTest.cs
Oogstplanner.Tests/Controllers/CropControllerTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using NUnit.Framework; using Oogstplanner.Services; using Oogstplanner.Controllers; using Oogstplanner.Models; using Oogstplanner.Repositories; namespace Oogstplanner.Tests { [TestFixture] public class CropControllerTest...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Mvc; using NUnit.Framework; using Oogstplanner.Services; using Oogstplanner.Controllers; using Oogstplanner.Models; using Oogstplanner.Repositories; namespace Oogstplanner.Tests { [TestFixture] public class CropControllerTest...
Add unit test for all action method on CropController
Add unit test for all action method on CropController
C#
mit
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
4e85478f1e1bd8caf508f1b42012deffa53c9ec2
Zk/Views/Account/Register.cshtml
Zk/Views/Account/Register.cshtml
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <div class="row"> <div class="mainbox col-md-12 col-sm-12 col-xs-12"...
@{ ViewBag.Title = "Registreer je vandaag bij de Oogstplanner"; } <div class="flowtype-area"> <!-- START RESPONSIVE RECTANGLE LAYOUT --> <!-- Top bar --> <div id="top"> </div> <!-- Fixed main screen --> <div id="login" class="bg imglogin"> <div class="row"> <div class="mainbox col-md-12 col-sm-12 col-xs-12"...
Fix login link on register page
Fix login link on register page
C#
mit
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
390d3a30a0fc39be456469774045cb3cc0b414fd
src/OutputFormatOptions.cs
src/OutputFormatOptions.cs
using System.Text; namespace SoxSharp { /// <summary> /// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file. /// </summary> public class OutputFormatOptions : FormatOptions { /// <summary> /// Compression factor for output f...
using System.Text; namespace SoxSharp { /// <summary> /// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file. /// </summary> public class OutputFormatOptions : FormatOptions { /// <summary> /// Compression factor for output f...
Put comment text between quotes
FIXED: Put comment text between quotes
C#
apache-2.0
igece/SoxSharp
e78395dc8d4e739c8145626819e60a207c7cb841
sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs
sdmap/test/sdmap.test/IntegratedTest/NamespaceTest.cs
using sdmap.Runtime; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace sdmap.test.IntegratedTest { public class NamespaceTest { [Fact] public void CanReferenceOtherInOneNamespace() { var code = "namespace...
using sdmap.Runtime; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace sdmap.test.IntegratedTest { public class NamespaceTest { [Fact] public void CanReferenceOtherInOneNamespace() { var code = "namespace...
Split the CanCombineTwoNs test code into two line.
Split the CanCombineTwoNs test code into two line.
C#
mit
sdcb/sdmap
61230348c5704bca7184ae73ae7e3531a2163317
JAGBE/GB/Computation/Apu.cs
JAGBE/GB/Computation/Apu.cs
namespace JAGBE.GB.Computation { internal sealed class Apu { private byte NR50; private byte NR51; private byte NR52; internal void Clear() { this.NR50 = 0; this.NR51 = 0; } internal byte GetRegister(byte num) { ...
using System; namespace JAGBE.GB.Computation { internal sealed class Apu { private byte NR50; private byte NR51; private byte NR52; internal void Clear() { this.NR50 = 0; this.NR51 = 0; } internal byte GetRegister(byte num) ...
Write to console on failed apu write
Write to console on failed apu write
C#
mit
izik1/JAGBE
9e12df615006e94837d25aca83daa8635cdd44eb
src/MonoTorrent/MonoTorrent.Tracker/RequestMonitor.cs
src/MonoTorrent/MonoTorrent.Tracker/RequestMonitor.cs
using System; using System.Collections.Generic; using System.Text; using MonoTorrent.Client; using MonoTorrent.Common; namespace MonoTorrent.Tracker { public class RequestMonitor { #region Member Variables private SpeedMonitor announces; private SpeedMonitor scrapes; ...
using System; using System.Collections.Generic; using System.Text; using MonoTorrent.Client; using MonoTorrent.Common; namespace MonoTorrent.Tracker { public class RequestMonitor { #region Member Variables private SpeedMonitor announces; private SpeedMonitor scrapes; ...
Fix lock of scrapes list
Fix lock of scrapes list svn path=/trunk/bitsharp/; revision=115381
C#
mit
dipeshc/BTDeploy
9f6a220099dc45c41812bc1b8e4a3cb1330ec679
TeamCityBuildChanges.Tests/HtmlOutputTests.cs
TeamCityBuildChanges.Tests/HtmlOutputTests.cs
using NUnit.Framework; using TeamCityBuildChanges.Output; using TeamCityBuildChanges.Testing; namespace TeamCityBuildChanges.Tests { [TestFixture] public class HtmlOutputTests { [Test] public void CanRenderSimpleTemplate() { var result = new RazorOutputRenderer(@".\temp...
using System.Globalization; using NUnit.Framework; using TeamCityBuildChanges.Output; using TeamCityBuildChanges.Testing; namespace TeamCityBuildChanges.Tests { [TestFixture] public class HtmlOutputTests { [Test] public void CanRenderSimpleTemplate() { var result = new ...
Fix broken (admittedly crappy) test.
Fix broken (admittedly crappy) test.
C#
mit
TicketSolutionsPtyLtd/TeamCityBuildChanges,BenPhegan/TeamCityBuildChanges
cf2781724ad71a34e1cb24c6c6a61f000178021b
src/Shimmer.WiXUiClient/Properties/AssemblyInfo.cs
src/Shimmer.WiXUiClient/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("Sh...
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("Sh...
Set proper version for WixUiClient
Set proper version for WixUiClient
C#
mit
rzhw/Squirrel.Windows,rzhw/Squirrel.Windows
a8957b9b5e2e8c8bc6ab902759da179c69149e4a
Scripts/Utils/Reflection.cs
Scripts/Utils/Reflection.cs
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace LiteNetLibManager.Utils { public class Reflection { private static readonly Dictionary<string, ObjectActivator> objectActivators = new Dictionary<string, ObjectActivator>(); private static string tempTypeN...
using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection.Emit; namespace LiteNetLibManager.Utils { public class Reflection { private static readonly Dictionary<string, Func<object>> expressionActivators = new Dictionary<string, Func<object>>(); pri...
Add dynamic method constuctor codes (didn't use it yet, other developer may learn something from the function)
Add dynamic method constuctor codes (didn't use it yet, other developer may learn something from the function)
C#
mit
insthync/LiteNetLibManager,insthync/LiteNetLibManager
7453fd9b6c3a58074288ee400fe9b80636e8214d
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; } ...
Remove illegal await in catch block.
Remove illegal await in catch block. This is not picked up on Mono.
C#
apache-2.0
jagrem/msg
033e923a7908b52b2b9f517494a0d7b70d63434c
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 error report to store loc...
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...
Store the already serialised RaygunMessage object.
Store the already serialised RaygunMessage object. Store the already serialised RaygunMessage object.
C#
mit
MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net
fe28b48035fe846ed6d681e153cf93d205567436
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...
Make the include file adder well known in the interface. We may have to add IncludeFiles too in a bit.
Make the include file adder well known in the interface. We may have to add IncludeFiles too in a bit.
C#
lgpl-2.1
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
5d9353ea75e0ddf6b57e35afc50234208d79f01c
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; }...
Fix null reference exception when spawning Fungus objects in Unity 5.1
Fix null reference exception when spawning Fungus objects in Unity 5.1
C#
mit
RonanPearce/Fungus,Nilihum/fungus,lealeelu/Fungus,tapiralec/Fungus,snozbot/fungus,FungusGames/Fungus,inarizushi/Fungus,kdoore/Fungus
d8562e3b5da99ce45aeab3f7047dc8a1cc7201a5
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; while ((line = Console.ReadLine()) != null) { string[] numbers = line.Split(' '); b = Convert.ToInt16(numbers[1]); c = Convert.ToDouble(numbers[2]); ...
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...
Move variable declaration to the top of method
Move variable declaration to the top of method
C#
mit
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...
7a4c3c9fb068379587aafbee47ec133444187ad6
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.Recative")] [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.Reactive")] [assembly: AssemblyDescription("GitHub flavored WPF styles and controls that require Rx and RxUI")] [assembly: Guid("885a491c-1d13-49e7-baa6-d61f424befcb")]...
Fix a typo in the GitHub.UI.Reactive assembly title
Fix a typo in the GitHub.UI.Reactive assembly title
C#
mit
github/VisualStudio,github/VisualStudio,github/VisualStudio
1999729687850a5a12549860357d0e10f25cee3d
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...
Use friendly url while sending transfer
Use friendly url while sending transfer
C#
mit
leonaascimento/Neblina
526ceef60d6b764643b53f2efb71b487322beabd
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 AdmiralViewModel : ViewMod...
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...
Fix a bug that admiral information is not updated.
Fix a bug that admiral information is not updated. fixed #6
C#
mit
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...
ff22aad68d529b79b22d189329d37253f88978cc
Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs
Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs
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 ...
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...
Make pagination list result enumerable.
Make pagination list result enumerable.
C#
mit
henrikfroehling/TraktApiSharp
94f37b3c3f3c9f0d4f2e682bdb86aede7f74947b
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) ...
Add view for news details route
Add view for news details route
C#
mit
Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife
71bba88e70f5a88087ac6d45a263273a09424a40
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...
Increase timeout from 20s to 2 minutes.
Increase timeout from 20s to 2 minutes. We are seeing timeouts in APP on some slower machines. We may want to make this configurable in the future.
C#
apache-2.0
nycdotnet/RedGate.AppHost,red-gate/RedGate.AppHost
5092f01cfcfa431cac6400bac7463403399d8c0d
Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs
Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs
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...
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...
Add RegisterTypeForNavigation to IKernel and NinjectModule
Add RegisterTypeForNavigation to IKernel and NinjectModule Add extensions for RegisterTypeForNavigation to IKernel and Ninjectmodule, similar to the method available on Container for Unity/MEF.
C#
apache-2.0
ali-hk/Prism,ederbond/Prism,dersia/Prism,allanrsmith/Prism,frogger3d/Prism,hardcodet/Prism,ethedy/Prism
0938c9882a9bffa089f72fb04091c4207e8578cb
src/ImGui.NET/ImGuiTextEditCallback.cs
src/ImGui.NET/ImGuiTextEditCallback.cs
namespace ImGuiNET { public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data); }
using System.Runtime.InteropServices; namespace ImGuiNET { [UnmanagedFunctionPointer(CallingConvention.Cdecl)] public unsafe delegate int ImGuiInputTextCallback(ImGuiInputTextCallbackData* data); }
Change calling convention of ImGuiInputTextCallback
Change calling convention of ImGuiInputTextCallback
C#
mit
mellinoe/ImGui.NET,mellinoe/ImGui.NET
5f0f9634441da53fbcb5179a4ecfa03f0f35c048
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...
Update test RP to include client id in change email / password links
Update test RP to include client id in change email / password links
C#
mit
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
08c96757782995bc45e3b557fa019bcf7da6be79
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...
Make XNAControls internals visible to XNAControls.Test
Make XNAControls internals visible to XNAControls.Test
C#
mit
ethanmoffat/XNAControls
e1251c7d65c65f60013229b5abd95cc2f8e477b8
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...
Fix double Ergo auth request header problem
Fix double Ergo auth request header problem
C#
mit
coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore,coinfoundry/miningcore
9df4674ee529d28ce6bfa67f1bb666b44dfc18ed
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...
Make property attributes public in IR
Make property attributes public in IR
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
46828843c560b42d7c18616c25da63a180807b39
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...
Update dotnet tests for 3.1.302.
Update dotnet tests for 3.1.302.
C#
mit
OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
2bacb6003f3bc2c3b58107c1118346dca3f5fa13
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 ...
Fix typo in XML doc
Fix typo in XML doc
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
333c0cd4f9c717187cc8a15f6ba93207a02ffbbf
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....
Add open folder button to open currently selected tournament
Add open folder button to open currently selected tournament
C#
mit
ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu
086e696b71091a59cde0e601bdc89f97ede89d00
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 osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; #nullable enable namespace osu.Framework.Extensions { public static class PopoverExtensions {...
// 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...
Throw an exception if a popover is attempted to be shown without a parent `PopoverContainer`
Throw an exception if a popover is attempted to be shown without a parent `PopoverContainer` The intention is to help framework consumers to understand how this component should be used, if they happen to be attempting to misuse it (rather than silently failing).
C#
mit
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
0841719d0899141fa15e1b5c175020270708d1eb
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 =...
Change 3M performance test to 5M
Change 3M performance test to 5M
C#
mit
billboga/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,ritterim/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api
e232dd7d7e1618eadac67dffcfa7ac9e30692c6f
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...
Add a space between "Test" and "Email" in the UI.
Add a space between "Test" and "Email" in the UI.
C#
mit
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
b9db982c18ed4423f8f60947eba6faec780c8397
src/photo.exif.unit.test/ParserTest.cs
src/photo.exif.unit.test/ParserTest.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; namespace photo.exif.unit.test { [TestFixture("Images/Canon PowerShot SX500 IS.JPG")] [TestFixture("Images/Nikon COOLPIX P510.JPG")] [TestFixture("Images/Panasonic Lumix DMC-FZ200.JPG")] [TestFixture("Images/Samsung SII...
using System; using System.IO; using System.Linq; using NUnit.Framework; namespace photo.exif.unit.test { public class ParserTest { public ParserTest() { _parser = new Parser(); } private readonly Parser _parser; static string[] paths = Dir...
Load images in the test folder
Load images in the test folder
C#
mit
fraxedas/photo,fraxedas/photo
a4de7bdeb7fe51cca5828e9f70c88fe3577c680a
Source/Miruken/Callback/HandlerDecorator.cs
Source/Miruken/Callback/HandlerDecorator.cs
namespace Miruken.Callback { using System; public abstract class HandlerDecorator : Handler, IDecorator { protected HandlerDecorator(IHandler decoratee) { if (decoratee == null) throw new ArgumentNullException(nameof(decoratee)); Decoratee = decorat...
namespace Miruken.Callback { using System; public abstract class HandlerDecorator : Handler, IDecorator { protected HandlerDecorator(IHandler decoratee) { if (decoratee == null) throw new ArgumentNullException(nameof(decoratee)); Decoratee = decorat...
Call base Handle if Decoratee not handled
Call base Handle if Decoratee not handled
C#
mit
Miruken-DotNet/Miruken
5d199e9b51f49f7260aea574201b0b0879ccb67c
src/CompetitionPlatform/Exceptions/GlobalExceptionFilter.cs
src/CompetitionPlatform/Exceptions/GlobalExceptionFilter.cs
using System; using AzureStorage.Queue; using Common.Log; using CompetitionPlatform.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace CompetitionPlatform.Exceptions { public class GlobalExceptionFilter : IExceptionFilter, IDisposable { private readonly ILog _log...
using System; using AzureStorage.Queue; using Common.Log; using CompetitionPlatform.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; namespace CompetitionPlatform.Exceptions { public class GlobalExceptionFilter : IExceptionFilter, IDisposable { private readonly ILog _log...
Change slack error message text.
Change slack error message text.
C#
mit
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
34ace2553e5b8db36be5dd0447bac569eeb2d843
osu.Game/Overlays/Settings/SettingsEnumDropdown.cs
osu.Game/Overlays/Settings/SettingsEnumDropdown.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.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsEnumDropdown<T> : Set...
// 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.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { public class SettingsEnumDropdown<T> : Set...
Revert "Refactor the menu's max height to be a property"
Revert "Refactor the menu's max height to be a property" This reverts commit 9cb9ef5c
C#
mit
NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu
4212b44f40c1d7fca50dd24f5456c82391526cb5
src/unity/Runtime/Services/Internal/FirebaseAnalyticsImpl.cs
src/unity/Runtime/Services/Internal/FirebaseAnalyticsImpl.cs
using System; using System.Reflection; namespace EE.Internal { internal class FirebaseAnalyticsImpl : IFirebaseAnalyticsImpl { private readonly MethodInfo _methodSetCurrentScreen; public FirebaseAnalyticsImpl() { var type = Type.GetType("Firebase.Analytics.FirebaseAnalytics, Firebase.C...
using System; using System.Reflection; namespace EE.Internal { internal class FirebaseAnalyticsImpl : IFirebaseAnalyticsImpl { private readonly MethodInfo _methodSetCurrentScreen; public FirebaseAnalyticsImpl() { var type = Type.GetType("Firebase.Analytics.FirebaseAnalytics, Firebase.A...
Fix cannot load firebase analytics type.
Fix cannot load firebase analytics type.
C#
mit
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
f81b0c01ec686e43fb3da44c0758d1b4536e5284
src/RedCard.API/Program.cs
src/RedCard.API/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; namespace RedCard.API { public class Program { public static void Main(string[] args) { var host...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Builder; using RedCard.API.Contexts; using Microsoft.EntityFrameworkCore; namespace RedCard.API { public class Program { publ...
Add sqlite migrate on startup
Add sqlite migrate on startup
C#
mit
mglodack/RedCard.API,mglodack/RedCard.API
4913e83a32ef54d35acabd51936e979709892494
WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs
WalletWasabi.Fluent/ViewModels/TestLineChartViewModel.cs
using System.Collections.Generic; namespace WalletWasabi.Fluent.ViewModels { public class TestLineChartViewModel { public double XAxisCurrentValue { get; set; } = 36; public double XAxisMinValue { get; set; } = 2; public double XAxisMaxValue { get; set; } = 864; public List<string> XAxisLabels => new List...
using System.Collections.Generic; namespace WalletWasabi.Fluent.ViewModels { public class TestLineChartViewModel { public double XAxisCurrentValue { get; set; } = 36; public double XAxisMinValue { get; set; } = 1; public double XAxisMaxValue { get; set; } = 1008; public List<string> XAxisLabels => new Lis...
Set correct min and max values
Set correct min and max values
C#
mit
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
8531853aa2093613ee27e7542aef267bb1bf7d94
Creative/StatoBot/StatoBot.Analytics/Statistics.cs
Creative/StatoBot/StatoBot.Analytics/Statistics.cs
using System; using System.Collections.Generic; using System.Text; namespace StatoBot.Analytics { public class Statistics : Dictionary<string, decimal> { private readonly Encoding encoder; private readonly object mutationLock; public Statistics() { encoder = Encoding.GetEncoding( "UTF-8", new Enc...
using System; using System.Text; using System.Collections.Concurrent; namespace StatoBot.Analytics { public class Statistics : ConcurrentDictionary<string, decimal> { private readonly Encoding encoder; public Statistics() { encoder = Encoding.GetEncoding( "U...
Use ConcurrentDictionary instead of Dictionary to allow lock-free async access
Use ConcurrentDictionary instead of Dictionary to allow lock-free async access
C#
mit
FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative
11288677e0121fd885269088b2df4c4bd3f1a61f
MahApps.Metro/Behaviours/GlowWindowBehavior.cs
MahApps.Metro/Behaviours/GlowWindowBehavior.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Interactivity; using MahApps.Metro.Controls; namespace MahApps.Metro.Behaviours { public class GlowWindowBehavior : Behavior<Window> { private GlowWindow left, right, top, b...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Interactivity; using MahApps.Metro.Controls; namespace MahApps.Metro.Behaviours { public class GlowWindowBehavior : Behavior<Window> { private GlowWindow left, right, top, b...
Revert "Fix The GlowWindow in the taskmanager"
Revert "Fix The GlowWindow in the taskmanager" This reverts commit 637febe9b632c3de7d13ee50460151f69e378857.
C#
mit
chuuddo/MahApps.Metro,jumulr/MahApps.Metro,Jack109/MahApps.Metro,MahApps/MahApps.Metro,Evangelink/MahApps.Metro,pfattisc/MahApps.Metro,xxMUROxx/MahApps.Metro,psinl/MahApps.Metro,Danghor/MahApps.Metro,ye4241/MahApps.Metro,p76984275/MahApps.Metro,batzen/MahApps.Metro
6ad910377b64a8407701fdd2713b58288974df92
Spa/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs
Spa/NakedObjects.Spa.Selenium.Test/tests/TestConfig.cs
 namespace NakedObjects.Web.UnitTests.Selenium { public static class TestConfig { //public const string BaseUrl = "http://localhost:49998/"; public const string BaseUrl = "http://nakedobjectstest.azurewebsites.net/"; } }
 namespace NakedObjects.Selenium { public static class TestConfig { //public const string BaseUrl = "http://localhost:49998/"; public const string BaseUrl = "http://nakedobjectstest.azurewebsites.net/"; } }
Correct compile error in tests
Correct compile error in tests
C#
apache-2.0
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
926bc5d5d808bb1bfc8d548e2b3ea375bce69e0b
MultiMiner.Win/Notifications/NotificationsControl.cs
MultiMiner.Win/Notifications/NotificationsControl.cs
using System; using System.Windows.Forms; namespace MultiMiner.Win.Notifications { public partial class NotificationsControl : UserControl { //events //delegate declarations public delegate void NotificationsChangedHandler(object sender); //event declarations p...
using System; using System.Windows.Forms; namespace MultiMiner.Win.Notifications { public partial class NotificationsControl : UserControl { //events //delegate declarations public delegate void NotificationsChangedHandler(object sender); //event declarations p...
Use strings for IDs (for flexibility)
Use strings for IDs (for flexibility)
C#
mit
IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
34a380c589ef1bee1ad239c67980135b725f3ee7
TrueCraft.Core/Logic/Blocks/AirBlock.cs
TrueCraft.Core/Logic/Blocks/AirBlock.cs
using System; using TrueCraft.API; using TrueCraft.API.Logic; namespace TrueCraft.Core.Logic.Blocks { public class AirBlock : BlockProvider { public static readonly byte BlockID = 0x00; public override byte ID { get { return 0x00; } } public override double BlastResistance { ...
using System; using TrueCraft.API; using TrueCraft.API.Logic; namespace TrueCraft.Core.Logic.Blocks { public class AirBlock : BlockProvider { public static readonly byte BlockID = 0x00; public override byte ID { get { return 0x00; } } public override double BlastResistance { ...
Fix error with liquid propegation through air
Fix error with liquid propegation through air
C#
mit
blha303/TrueCraft,SirCmpwn/TrueCraft,illblew/TrueCraft,christopherbauer/TrueCraft,christopherbauer/TrueCraft,Mitch528/TrueCraft,robinkanters/TrueCraft,thdtjsdn/TrueCraft,manio143/TrueCraft,Mitch528/TrueCraft,creatorfromhell/TrueCraft,christopherbauer/TrueCraft,robinkanters/TrueCraft,SirCmpwn/TrueCraft,illblew/TrueCraft...
c8c0aafcb1e3b43ab16fa2f62b7d024496923011
aspnet/4-auth/Controllers/SessionController.cs
aspnet/4-auth/Controllers/SessionController.cs
// Copyright(c) 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright(c) 2016 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
Simplify Login() action - no explicit return necessary
Simplify Login() action - no explicit return necessary
C#
apache-2.0
GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet
33d516eecb0b11541c733de1797b9706c8c69763
osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs
osu.Game/Overlays/Profile/Sections/BeatmapsSection.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.Localisation; using osu.Game.Online.API.Requests; using osu.Game.Overlays.Profile.Sections.Beatmaps; using osu.Game.Resources.Localisation.Web; name...
// 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.Localisation; using osu.Game.Online.API.Requests; using osu.Game.Overlays.Profile.Sections.Beatmaps; using osu.Game.Resources.Localisation.Web; name...
Move guest participation beatmap up to below loved
Move guest participation beatmap up to below loved
C#
mit
ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu
66c95b5005ef02a7e2a9fc6d8cea8cd56296b99d
build/scripts/utilities.cake
build/scripts/utilities.cake
#tool "nuget:?package=GitVersion.CommandLine" #addin "Cake.Yaml" public class ContextInfo { public string NugetVersion { get; set; } public string AssemblyVersion { get; set; } public GitVersion Git { get; set; } public string BuildVersion { get { return NugetVersion + "-" + Git.Sha; } ...
#tool "nuget:?package=GitVersion.CommandLine" #addin "Cake.Yaml" public class ContextInfo { public string NugetVersion { get; set; } public string AssemblyVersion { get; set; } public GitVersion Git { get; set; } public string BuildVersion { get { return NugetVersion + "-" + Git.Sha; } ...
Allow to run build even if git repo informations are not available
Allow to run build even if git repo informations are not available
C#
mit
Abc-Arbitrage/Zebus.Persistence,Abc-Arbitrage/Zebus
5b437cd3b02fb65791b49f18914ea2f4b52fbc03
source/VirtualDesktop/Internal/RawWindow.cs
source/VirtualDesktop/Internal/RawWindow.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Interop; using WindowsDesktop.Interop; namespace WindowsDesktop.Internal { internal abstract class RawWindow { public string Name { get; set; } public HwndSource Source { get; private set; } public IntPtr Handle => this....
using System; using System.Windows.Interop; using System.Windows.Threading; using WindowsDesktop.Interop; namespace WindowsDesktop.Internal { internal abstract class RawWindow { public string Name { get; set; } public HwndSource Source { get; private set; } public IntPtr Handle => this.Source?.Handle ?? Int...
Fix crash when multiple threads may exist.
Fix crash when multiple threads may exist. Based on a crash I experienced in an app I am developing, it appears that sometimes when the app is shutting down, the disposal will not happen from the UI thread, and Dispose() on the HwndSource causes an InvalidOperationException. By running the Dispose on the UI thread im...
C#
mit
Grabacr07/VirtualDesktop
b2f7411f3aaaa0ab170c4c376a94263f6722e4d1
src/Certify.Tests/Certify.Service.Tests.Integration/ManagedSitesTests.cs
src/Certify.Tests/Certify.Service.Tests.Integration/ManagedSitesTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using Certify.Models; namespace Certify.Service.Tests.Integration { [TestClass] public class ManagedCertificateTests : ServiceTestBase { [TestMethod] public async Task TestGetManagedCertificates...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using Certify.Models; using System.Collections.Generic; namespace Certify.Service.Tests.Integration { [TestClass] public class ManagedCertificateTests : ServiceTestBase { [TestMethod] public asy...
Add standard demo sites setup as a test
Add standard demo sites setup as a test
C#
mit
webprofusion/Certify
5f6a38cc0a194a33c7a5c7e3f39573bf8c63f6ac
Assets/scripts/Bullet.cs
Assets/scripts/Bullet.cs
using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { private float velocity = 35f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { this.transform.Translate(0, Time.deltaTime * this.velocity, 0...
using UnityEngine; using System.Collections; public class Bullet : MonoBehaviour { private float velocity = 35f; // Use this for initialization void Start () { } // Update is called once per frame void Update () { this.transform.Translate(0, Time.deltaTime * this.velocity, 0...
Destroy bullets when they are out of bounds
Destroy bullets when they are out of bounds
C#
mit
ramingar/fasteroid
94ac823edfd106e2af5c96c55b81fdd2e2e53aa4
test/Microsoft.NET.TestFramework/CommandExtensions.cs
test/Microsoft.NET.TestFramework/CommandExtensions.cs
using FluentAssertions; using Microsoft.DotNet.Cli.Utils; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Text; using Microsoft.NET.TestFramework.Assertions; namespace Microsoft.NET.TestFramework { public static class CommandExtensions { public static...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using FluentAssertions; using Microsoft.DotNet.Cli.Utils; using System; using System.Collections.Generic; using System.Runtime.InteropServices; ...
Add copyright notice to new file
Add copyright notice to new file
C#
mit
nkolev92/sdk,nkolev92/sdk
20df4b4c9aed12a1bb22aac2f7896f6569f01960
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingController.cs
Assets/Microgames/_Bosses/YoumuSlash/Scripts/YoumuSlashTimingController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YoumuSlashTimingController : MonoBehaviour { public delegate void BeatDelegate(int beat); public static BeatDelegate onBeat; [SerializeField] private YoumuSlashTimingData timingData; [SerializeField] p...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class YoumuSlashTimingController : MonoBehaviour { public delegate void BeatDelegate(int beat); public static BeatDelegate onBeat; [SerializeField] private YoumuSlashTimingData timingData; [SerializeField] p...
Fix syntax error in TimingController
Fix syntax error in TimingController
C#
mit
Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare
cb029209a386d596b93d531d9ba1baf69aef980d
src/Microsoft.AspNet.Hosting/WebHostConfiguration.cs
src/Microsoft.AspNet.Hosting/WebHostConfiguration.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; using Microsoft.Extensions.Configuration; namespace Microsoft.AspNet.Hosting { public class WebHostConfiguration...
// 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 Microsoft.Extensions.Configuration; namespace Microsoft.AspNet.Hosting { public class WebHostConfiguration...
Remove top level environment variables from default config
Remove top level environment variables from default config
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
10fb57ec372d87228556061a91120aac115e81c4
MessageBird/Resources/Resource.cs
MessageBird/Resources/Resource.cs
using System; using MessageBird.Exceptions; using MessageBird.Objects; using Newtonsoft.Json; namespace MessageBird.Resources { public abstract class Resource { public string Id { get { if (HasId) { return Object.Id; ...
using System; using MessageBird.Exceptions; using MessageBird.Objects; using Newtonsoft.Json; namespace MessageBird.Resources { public abstract class Resource { public string Id { get { if (HasId) { return Object.Id; ...
Add a just in case null check before deserialization
Add a just in case null check before deserialization
C#
isc
messagebird/csharp-rest-api
98a14358dca260023d947f82dbb40103278c32ba
MultiMiner.Xgminer.Discovery.Tests/MinerFinderTests.cs
MultiMiner.Xgminer.Discovery.Tests/MinerFinderTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Net; namespace MultiMiner.Xgminer.Discovery.Tests { [TestClass] public class MinerFinderTests { [TestMethod] public void MinerFinder_FindsMiners() { const in...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Net; namespace MultiMiner.Xgminer.Discovery.Tests { [TestClass] public class MinerFinderTests { [TestMethod] public void MinerFinder_FindsMiners() { const in...
Fix tests to pass with newer setup
Fix tests to pass with newer setup
C#
mit
nwoolls/MultiMiner,IWBWbiz/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner
b791a6a62f292b2403eda68559d2e3d947c32dae
source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs
source/Nuke.Common/Tooling/LatestMyGetVersionAttribute.cs
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.IO; using Nuke.Common.Utilities; using Nuke.Common.ValueInjection; namespace ...
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Linq; using System.Reflection; using JetBrains.Annotations; using Nuke.Common.IO; using Nuke.Common.Utilities; using Nuke.Common.ValueInjection; namespace ...
Fix scanning for MyGet versions
Fix scanning for MyGet versions
C#
mit
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
b177085b32f28e297f722a1d06d670c9a3865c52
Services/src/CSClassroom/CSClassroom.WebApp/Views/Shared/_CodeEditor.cshtml
Services/src/CSClassroom/CSClassroom.WebApp/Views/Shared/_CodeEditor.cshtml
@model CodeEditorSettings @if (Model.TextArea) { <textarea name="@Model.EditorName" style="display: none"></textarea> } <div id="wrapper-@Model.EditorName"></div> <script> function createEditor(text) { $('#wrapper-@Model.EditorName').html('<pre id="@Model.EditorName">' + (text != null ? text : ''...
@model CodeEditorSettings @if (Model.TextArea) { <textarea name="@Model.EditorName" style="display: none"></textarea> } <div id="wrapper-@Model.EditorName"></div> <script> function createEditor(text) { $('#wrapper-@Model.EditorName').html('<pre id="@Model.EditorName"></pre>'); $('#@Model.Edit...
Fix question submission truncation bug
Fix question submission truncation bug This change fixes a bug where changes with < or > characters in certain contexts would be truncated.
C#
mit
CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom,CSClassroom/CSClassroom
f23e39237915011dfb7aed406f11805fb9a8a3c3
src/Amazon.S3/Actions/GetUrlRequest.cs
src/Amazon.S3/Actions/GetUrlRequest.cs
using System; namespace Amazon.S3 { public readonly struct GetPresignedUrlRequest { public GetPresignedUrlRequest( string host, AwsRegion region, string bucketName, string objectKey, TimeSpan expiresIn) { ...
using System; namespace Amazon.S3 { public class GetPresignedUrlRequest { public GetPresignedUrlRequest( string method, string host, AwsRegion region, string bucketName, string objectKey, TimeSpan expiresIn) { ...
Add method to GetPresignedUrlRequest and update to class
[S3] Add method to GetPresignedUrlRequest and update to class
C#
mit
carbon/Amazon