commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
497a12c78f98a3cc360099748bfc64736fc0a056
Comment fix.
dlemstra/Magick.NET,dlemstra/Magick.NET
Source/Magick.NET/Shared/Defines/ReadDefinesCreator.cs
Source/Magick.NET/Shared/Defines/ReadDefinesCreator.cs
// Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
// Copyright 2013-2019 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the License at // // https://www.imagemagick.org/script/license.php // // Unless req...
apache-2.0
C#
cbce9c97a4fb237899556aa2fa152a5f446afce4
Add humanise to encType
GiscardBiamby/NancyContrib.Chameleon,VegasoftTI/ChameleonForms,VegasoftTI/ChameleonForms,GiscardBiamby/NancyContrib.Chameleon,VegasoftTI/ChameleonForms
ChameleonForms/Templates/HtmlHelperExtensions.cs
ChameleonForms/Templates/HtmlHelperExtensions.cs
using System.Collections.Generic; using System.Net.Http; using System.Web; using System.Web.Mvc; using ChameleonForms.Enums; using Humanizer; namespace ChameleonForms.Templates { public static class Html { public static IHtmlString Attribute(string name, string value) { ...
using System.Collections.Generic; using System.Net.Http; using System.Web; using System.Web.Mvc; namespace ChameleonForms.Templates { public static class Html { public static IHtmlString Attribute(string name, string value) { if (value == null) return ne...
mit
C#
77e258d0734ee728191a9ee1aaf228f4350ef7c1
Use of 'var'.
philjones/nquant,drewnoakes/nquant
nQuant.Core/WuQuantizer.cs
nQuant.Core/WuQuantizer.cs
using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; namespace nQuant { public class WuQuantizer : WuQuantizerBase, IWuQuantizer { private static IEnumerable<byte[]> IndexedPixels(ImageBuffer image, Pixel[] lookups, int alphaThreshold, PaletteColorHistory[] pal...
using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; namespace nQuant { public class WuQuantizer : WuQuantizerBase, IWuQuantizer { private static IEnumerable<byte[]> IndexedPixels(ImageBuffer image, Pixel[] lookups, int alphaThreshold, PaletteColorHistory[] pal...
apache-2.0
C#
e94bc03e86b2c50af6519de9134610a54e7ea706
make MessageAndError members public so that we can build consumers that are not event-driven
MrGlenThomas/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet,treziac/confluent-kafka-dotnet,ah-/rdkafka-dotnet,MrGlenThomas/confluent-kafka-dotnet,treziac/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet,MaximGurschi/rdkafka-dotnet
src/RdKafka/Message.cs
src/RdKafka/Message.cs
namespace RdKafka { public struct Message { public string Topic { get; set; } public int Partition { get; set; } public long Offset { get; set; } public byte[] Payload { get; set; } public byte[] Key { get; set; } public TopicPartitionOffset TopicPartitionOffset ...
namespace RdKafka { public struct Message { public string Topic { get; set; } public int Partition { get; set; } public long Offset { get; set; } public byte[] Payload { get; set; } public byte[] Key { get; set; } public TopicPartitionOffset TopicPartitionOffset ...
apache-2.0
C#
512edcd02ebfad7e37e49f805325df1687077aff
Sort properties vs. methods; whitespace.
brendanjbaker/StraightSQL
src/StraightSql/IReader.cs
src/StraightSql/IReader.cs
namespace StraightSql { using System; using System.Data.Common; public interface IReader { Type Type { get; } Object Read(DbDataReader reader); } }
namespace StraightSql { using System; using System.Data.Common; public interface IReader { Object Read(DbDataReader reader); Type Type { get; } } }
mit
C#
bf651c68ade0a5aedd742cf63e4f81a662147e0c
Fix font scaling when two monitors are scaled differently (BL-10981)
gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,...
src/BloomExe/Properties/AssemblyInfo.cs
src/BloomExe/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("Blo...
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("Blo...
mit
C#
7fee8315479244700e46374b28bad668561e2379
Add NotImplemented.ActiveIssue() method. (#3752)
krytarowski/corert,krytarowski/corert,gregkalapos/corert,yizhang82/corert,yizhang82/corert,shrah/corert,krytarowski/corert,yizhang82/corert,shrah/corert,shrah/corert,shrah/corert,yizhang82/corert,krytarowski/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert
src/Common/src/System/NotImplemented.cs
src/Common/src/System/NotImplemented.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System { // // Support for tooling-friendly NotImplementedExceptions. // internal static c...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System { // // This simple class enables one to throw a NotImplementedException using the followin...
mit
C#
99bb4548db7755c4f3982948147b8f9b66d133c3
Add using lines and namespaces
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/ShaneONeill.cs
src/Firehose.Web/Authors/ShaneONeill.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class ShaneONeill : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Shane"; ...
public class ShaneONeill : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Shane"; public string LastName => "O'Neill"; public string ShortBioOrTagLine => "DBA. Food, Coffee, Whiskey (not necessarily in that order)... "; public string StateOrRegion => "Irela...
mit
C#
3ca0d5a660b483a8e503b42d7becebc69afb25e2
Fix bugs in Map
jdno/AIChallengeFramework
Map/Map.cs
Map/Map.cs
// // Copyright 2014 jdno // // 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...
// // Copyright 2014 jdno // // 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...
apache-2.0
C#
cd2ee30be00d7c5c998bc99616c1208c6a90d56a
Update version to 4.3.14
MarimerLLC/cslacontrib,tfreitasleal/cslacontrib,tfreitasleal/cslacontrib,MarimerLLC/cslacontrib,MarimerLLC/cslacontrib,tfreitasleal/cslacontrib,MarimerLLC/cslacontrib
trunk/Source/GlobalAssemblyInfo.cs
trunk/Source/GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("CslaContrib project")] [assembly: AssemblyCopyright("Copyright CslaContrib 2009-2013")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("4.3.14.0")] [assembly: AssemblyFileVers...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("CslaContrib project")] [assembly: AssemblyCopyright("Copyright CslaContrib 2009-2012")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("4.3.13.0")] [assembly: AssemblyFileVers...
mit
C#
7cb10ca3fd2f02f7db837844692eaeeca71ca9f9
Add new file userAuth.cpl/Droid/MainActivity.cs
ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl,ArcanaMagus/userAuth.cpl
userAuth.cpl/Droid/MainActivity.cs
userAuth.cpl/Droid/MainActivity.cs
� using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; namespace userAuth.cpl.Droid { [Activity (Label = "userAuth.cpl.Droid", Icon = "@drawable/ic...
mit
C#
e8899fddac5e59c7de68f51c429b331096498e28
add project and legal values
Appleseed/base,Appleseed/base
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Appleseed.Base.Alerts.Model { class SolrResponseItem { public string id { get; set; } public string item_type { get; set; } public string address_1 { get; set;...
apache-2.0
C#
c10c8d4456d51b06361e0b925766d770a4570cf8
Update IDeviceButton.cs
aybe/InputMapper
Assets/InputMapper/IDeviceButton.cs
Assets/InputMapper/IDeviceButton.cs
namespace Assets.InputMapper { /// <summary> /// Defines a device button. /// </summary> public interface IDeviceButton { /// <summary> /// Gets the button description. /// </summary> /// <returns></returns> string GetDescription(); /// <summa...
namespace Assets.InputMapper { /// <summary> /// Defines a device button. /// </summary> public interface IDeviceButton { /// <summary> /// Gets the button description. /// </summary> /// <returns></returns> string GetDescription(); /// <summa...
mit
C#
658c29cebcc454886451da9528a58408b0cee1c3
Add test for new properties feature.
jonfreeland/Log4Netly
Log4NetlyTesting/Program.cs
Log4NetlyTesting/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using log4net; using log4net.Core; namespace Log4NetlyTesting { class Program { static void Main(string[] args) { log4net.Config.XmlConfigurator.Configure(); var logg...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using log4net; namespace Log4NetlyTesting { class Program { static void Main(string[] args) { log4net.Config.XmlConfigurator.Configure(); var logger = LogManager.GetL...
mit
C#
d50e1cd705cc67b360b9cb4a40ab143c3a901cd8
Make field readonly
mono/cecil,jbevain/cecil,SiliconStudio/Mono.Cecil,fnajera-rac-de/cecil,sailro/cecil
Mono.Cecil.Metadata/Heap.cs
Mono.Cecil.Metadata/Heap.cs
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // namespace Mono.Cecil.Metadata { abstract class Heap { public int IndexSize; readonly internal byte [] data; protected Heap (byte [] ...
// // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2015 Jb Evain // Copyright (c) 2008 - 2011 Novell, Inc. // // Licensed under the MIT/X11 license. // namespace Mono.Cecil.Metadata { abstract class Heap { public int IndexSize; internal byte [] data; protected Heap (byte [] data) {...
mit
C#
1dcc2d0fa69d06b55d2ce19715ec21af06f59457
fix test to reflect change from error to warning
cumpstey/robot-test
Tests/BusinessLogic.Tests/ReportCommandTests.cs
Tests/BusinessLogic.Tests/ReportCommandTests.cs
namespace RobotTest.BusinessLogic.Tests { using System; using BusinessLogic.Commands; using Microsoft.VisualStudio.TestTools.UnitTesting; using Utilities.Logging; [TestClass] public class ReportCommandTests { [TestMethod] public void ReportsPositionWhenPlaced() { ...
namespace RobotTest.BusinessLogic.Tests { using System; using BusinessLogic.Commands; using Microsoft.VisualStudio.TestTools.UnitTesting; using Utilities.Logging; [TestClass] public class ReportCommandTests { [TestMethod] public void ReportsPositionWhenPlaced() { ...
mit
C#
de646649def7d7ca2d0322ab925f386c46343e63
Use test beatmap instead of beatmap manager
ppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneMatchBeatmapDetailArea.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneMatchBeatmapDetailArea.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 NUnit.Framework; using osu.Framework.Graphics; using osu.Game.Online.Multiplayer; using osu.Game.Rulesets.Osu; using osu.Game.Rulesets.Osu.Mods; using osu.Game.Scre...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Utils; using osu.Game.Beatmaps; using osu.Game...
mit
C#
58a6575db0c7113a87e8abad501d56a579622cf7
use UNITY_PACKAGE_VERSION to specify package version on export
neuecc/MagicOnion
src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs
src/MagicOnion.Client.Unity/Assets/Scripts/Editor/PackageExporter.cs
using System; using System.IO; using System.Linq; using UnityEditor; using UnityEngine; public static class PackageExporter { [MenuItem("Tools/Export Unitypackage")] public static void Export() { var version = Environment.GetEnvironmentVariable("UNITY_PACKAGE_VERSION"); // configure ...
using System; using System.IO; using System.Linq; using UnityEditor; using UnityEngine; public static class PackageExporter { [MenuItem("Tools/Export Unitypackage")] public static void Export() { // configure var exportPath = "./MagicOnion.Client.Unity.unitypackage"; var roots = new...
mit
C#
53c0e708f7121116ef73b929b28b7078d4819dd6
Set up "ITestOutputHelper"
dance2die/MyAnimeListSharp
Project.MyAnimeList/Project.MyAnimeList.Test/Tests/MangaValuesTest.cs
Project.MyAnimeList/Project.MyAnimeList.Test/Tests/MangaValuesTest.cs
using Project.MyAnimeList.Test.Fixture; using Xunit.Abstractions; namespace Project.MyAnimeList.Test.Tests { public class MangaValuesTest : CredentialCollectionTest { private const string XML_DECLARATION = @"<?xml version=""1.0"" encoding=""UTF-8""?>"; private readonly ITestOutputHelper _output; //private re...
using Project.MyAnimeList.Test.Fixture; namespace Project.MyAnimeList.Test.Tests { public class MangaValuesTest : CredentialCollectionTest { public MangaValuesTest(CredentialContextFixture credentialContextFixture) : base(credentialContextFixture) { } } }
mit
C#
5e17da86e0f5e194bc6399d1b945d1d387d07fd5
Add a cross reference to the docs (#17336)
jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpige...
sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridSharedAccessSignatureCredential.cs
sdk/eventgrid/Azure.Messaging.EventGrid/src/Customization/EventGridSharedAccessSignatureCredential.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Text; namespace Azure.Messaging.EventGrid { /// <summary> /// SAS token used to authenticate to the Event Grid service. /// </summary> public cl...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Text; namespace Azure.Messaging.EventGrid { /// <summary> /// SAS token used to authenticate to the Event Grid service. /// </summary> public cl...
mit
C#
bffc70352f387e86a689213af5819ea6277f9eb1
Update Actor.cs
dimmpixeye/Unity3dTools
Runtime/LibMono/Actor.cs
Runtime/LibMono/Actor.cs
// Project : ACTORS // Contacts : Pixeye - ask@pixeye.games using Unity.IL2CPP.CompilerServices; using UnityEngine; #if ODIN_INSPECTOR using Sirenix.OdinInspector; #endif namespace Pixeye.Actors { [Il2CppSetOption(Option.NullChecks | Option.ArrayBoundsChecks | Option.DivideByZeroChecks, false)] public class ...
// Project : ACTORS // Contacts : Pixeye - ask@pixeye.games using Unity.IL2CPP.CompilerServices; using UnityEngine; #if ODIN_INSPECTOR using Sirenix.OdinInspector; #endif namespace Pixeye.Actors { [Il2CppSetOption(Option.NullChecks | Option.ArrayBoundsChecks | Option.DivideByZeroChecks, false)] public class ...
mit
C#
58b50358a025b7cb774280e4f4e2c43943bbae7c
Create backup of databases
ronaldme/Sandbox
SQL.Databases/Program.cs
SQL.Databases/Program.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Diagnostics; using System.IO; using System.Linq; namespace SQL.Databases { class Program { private static readonly string dbPath = @"D:\databases"; private s...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; namespace SQL.Databases { class Program { static void Main(string[] args) { var dbNames = GetDatabaseNames(); var systemDbs = ...
mit
C#
0a43e54dfc5d605d45f55cc1327cb95056fdc262
Fix request failing due to parameters
peppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new
osu.Game/Online/Rooms/JoinRoomRequest.cs
osu.Game/Online/Rooms/JoinRoomRequest.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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
// 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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
mit
C#
e0262f5ea57feda545e26269a3396166a47185b3
Fix error in comment
DigDes/SoapCore
src/SoapCore/TrailingServicePathTuner.cs
src/SoapCore/TrailingServicePathTuner.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SoapCore { /// <summary> /// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc /// Regi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; namespace SoapCore { /// <summary> /// This tuner truncates the incoming http request to the last path-part. ie. /DynamicPath/Service.svc becomes /Service.svc /// Regi...
mit
C#
28d87fb5c49f2fba95f21f34a50183fcd813e9b9
Fix cake script
RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions
build.cake
build.cake
var target = Argument("Target", "Default"); var configuration = HasArgument("Configuration") ? Argument<string>("Configuration") : EnvironmentVariable("Configuration") != null ? EnvironmentVariable("Configuration") : "Release"; var buildNumber = HasArgument("BuildNumber") ? Argument<int>("BuildNumber") : ...
var target = Argument("Target", "Default"); var configuration = HasArgument("Configuration") ? Argument("Configuration") : EnvironmentVariable("Configuration") != null ? EnvironmentVariable("Configuration") : "Release"; var buildNumber = HasArgument("BuildNumber") ? Argument<int>("BuildNumber") : AppVey...
mit
C#
309e74afac74dfb7420e69995e5173ba832389f4
Move compile to the correct task.
peppy/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,ppy/osu,ppy/osu,johnneijzen/osu,ZLima12/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,naoey/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,2yangk23/osu,EVAST9919...
build.cake
build.cake
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" #addin "nuget:?package=CodeFileSanity" var NVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////...
#tool "nuget:?package=JetBrains.ReSharper.CommandLineTools" #tool "nuget:?package=NVika.MSBuild" #addin "nuget:?package=CodeFileSanity" var NVikaToolPath = GetFiles("./tools/NVika.MSBuild.*/tools/NVika.exe").First(); /////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////...
mit
C#
0f9d4753e537b113a8044967a92fc49e9da4cbcb
Add test step to build.cake
vCipher/Cake.Hg
build.cake
build.cake
#tool "nuget:?package=NUnit.ConsoleRunner" var target = Argument("target", "Build"); var configuration = Argument("configuration", "Release"); var solution = GetFiles("./*.sln") .First() .GetFilenameWithoutExtension(); Task("Default") .Does(() => { Information("Cake bootstrap completed..."); }); Tas...
var target = Argument("target", "Build"); var configuration = Argument("configuration", "Release"); var solution = GetFiles("./*.sln") .First() .GetFilenameWithoutExtension(); Task("Default") .Does(() => { Information("Cake bootstrap completed..."); }); Task("Clean") .Does(() => { CleanDirect...
mit
C#
73f5f6a8790a1fdff9c5835abebe7f4e0f46101b
Add back ShardFailureReason.IOError and mark it as obsolete
BundledSticksInkorperated/Discore
src/Discore/WebSocket/ShardFailureReason.cs
src/Discore/WebSocket/ShardFailureReason.cs
using System; namespace Discore.WebSocket { public enum ShardFailureReason { /// <summary> /// Should be reported to the Discore developers if received. /// </summary> Unknown, [Obsolete("This failure reason can no longer happen, any code handling it can be removed.")]...
namespace Discore.WebSocket { public enum ShardFailureReason { /// <summary> /// Should be reported to the Discore developers if received. /// </summary> Unknown, /// <summary> /// The shard was invalid, given the sharding settings for the application. //...
mit
C#
ffacede948e72eb8dc7135fe53a9ac7ece847d3f
fix an XML Doc tag in the TimerManagerEventset
rl132/RLToolkit
BasicModules/TimerManager/TimerManagerEventset.cs
BasicModules/TimerManager/TimerManagerEventset.cs
using System; namespace RLToolkit.Basic { /// <summary> /// Timer manager EventSet. /// </summary> public class TimerManagerEventset { /// <summary>The EventSet identifier.</summary> public string Id; /// <summary> The next expected tick in DateTime format</summary> public DateTime n...
using System; namespace RLToolkit.Basic { /// <summary> /// Timer manager EventSet. /// </summary> public class TimerManagerEventset { /// <summary>The EventSet identifier.</summary> public string Id; /// <summary> The next expected tick in DateTime format</summary> public DateTime n...
mit
C#
a665f0660b060cdc221505045f68f089bdd7eade
Add licence to code header
jdh28/EmbedWmpArt
Program.cs
Program.cs
/* * John Hall <john@jdh28.co.uk> * Copyright (c) John Hall. All rights reserved. * * This program is licensed under the MIT licence, see LICENSE.md. */ using System; using System.IO; using System.Linq; using System.Security; using TagLib; namespace EmbedWmpArt { class Program { static int Main(string[] ar...
/* * John Hall <john@jdh28.co.uk> * Copyright (c) John Hall. All rights reserved. */ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security; using System.Text; using TagLib; namespace EmbedWmpArt { class Program { static int Main(string[] args) { if (arg...
mit
C#
545806c9c405fb5d0b926b73e92f3ba2375671fc
Refactor ConsoleHelper
attemoi/MoistureBot
MoistureBotLib/Utils/ConsoleHelper.cs
MoistureBotLib/Utils/ConsoleHelper.cs
using System; using System.Collections.Generic; using System.Linq; using Mono.Options; namespace MoistureBot.Utils { public class ConsoleHelper { /// <summary> /// Like System.Console.ReadLine(), only with a mask. /// </summary> /// <param name="mask">a <c>char</c> representing...
using System; using System.Collections.Generic; using System.Linq; using Mono.Options; namespace MoistureBot.Utils { public class ConsoleHelper { /// <summary> /// Like System.Console.ReadLine(), only with a mask. /// </summary> /// <param name="mask">a <c>char</c> representing...
mit
C#
1e5eb4209dcd39b10a4eb12d604dedf6340d616d
Enable automatic versioning and Nuget packaging of shippable Vipr binaries
tonycrider/Vipr,Microsoft/Vipr,MSOpenTech/Vipr,ysanghi/Vipr,tonycrider/Vipr,v-am/Vipr
src/Core/Vipr/Program.cs
src/Core/Vipr/Program.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; namespace Vipr { internal class Program { private static void Main(string[] args) { ...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.IO; using System.Reflection; using System.Text; using System.Xml.Linq; using Vipr.Core; namespace Vipr { internal c...
mit
C#
3527dac1f7e2437115e1a55822299c186e73bb68
Change the ParameterizedType.GetHashCode method to use a simpler algorithm.
studio-nine/Nine.Injection
src/ParameterizedType.cs
src/ParameterizedType.cs
namespace Nine.Injection { using System; struct ParameterizedType { public Type Type; public object[] Parameters; public override string ToString() => $"{ Type.Name }"; public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) ...
namespace Nine.Injection { using System; struct ParameterizedType { public Type Type; public object[] Parameters; public override string ToString() => $"{ Type.Name }"; public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) ...
mit
C#
4cf1c939af0156d85ccfaee10be598685b8825c8
Add AttributeUsage attribute to EncryptAttribute.
QuickenLoans/XSerializer,rlyczynski/XSerializer
XSerializer/Encryption/EncryptAttribute.cs
XSerializer/Encryption/EncryptAttribute.cs
using System; namespace XSerializer.Encryption { /// <summary> /// Indicates that the value of a property should be encrypted or decrypted, /// depending on whether the current serialization operation is configured /// to do so. /// </summary> [AttributeUsage(AttributeTargets.Property)] p...
using System; namespace XSerializer.Encryption { /// <summary> /// Indicates that the value of a property should be encrypted or decrypted, /// depending on whether the current serialization operation is configured /// to do so. /// </summary> public class EncryptAttribute : Attribute { ...
mit
C#
d81d2ec58497507f56971f3f97197a0fda709bf4
Move TreeGridItem.Tag to GridItem.Tag
PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1
Source/Eto/Forms/Controls/GridItem.cs
Source/Eto/Forms/Controls/GridItem.cs
using System; using System.Collections.Generic; namespace Eto.Forms { public interface IGridItem { } public class GridItemCollection : DataStoreCollection<IGridItem>, IGridStore { public GridItemCollection () { } public GridItemCollection (IEnumerable<IGridItem> items) : base (items) { } } pub...
using System; using System.Collections.Generic; namespace Eto.Forms { public interface IGridItem { } public class GridItemCollection : DataStoreCollection<IGridItem>, IGridStore { public GridItemCollection () { } public GridItemCollection (IEnumerable<IGridItem> items) : base (items) { } } pub...
bsd-3-clause
C#
c20315b4411e0792422570112732a424ea167b14
Update Subsonic API versions
archrival/SubsonicSharp
Subsonic.Common/SubsonicApiVersion.cs
Subsonic.Common/SubsonicApiVersion.cs
using System; namespace Subsonic.Common { public static class SubsonicApiVersion { public static readonly Version Max = Version1_16_0; public static readonly Version Version1_0_0 = Version.Parse("1.0.0"); public static readonly Version Version1_1_0 = Version.Parse("1.1.0"); pub...
using System; namespace Subsonic.Common { public static class SubsonicApiVersion { public static readonly Version Version1_0_0 = Version.Parse("1.0.0"); public static readonly Version Version1_1_0 = Version.Parse("1.1.0"); public static readonly Version Version1_1_1 = Version.Parse("1....
mit
C#
d395dbcb001331db47bbe9d56d8b0c9038c6eaa1
set singleton as static class
wasteam/waslibs,pellea/waslibs,janabimustafa/waslibs,wasteam/waslibs,wasteam/waslibs,janabimustafa/waslibs,pellea/waslibs,pellea/waslibs,janabimustafa/waslibs
src/AppStudio.Uwp/Singleton.cs
src/AppStudio.Uwp/Singleton.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AppStudio.Uwp { public static class Singleton<T> where T : new() { private static ConcurrentDictionary<Type, T> _instances = new Concurrent...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AppStudio.Uwp { public sealed class Singleton<T> where T : new() { private static ConcurrentDictionary<Type, T> _instances = new Concurrent...
mit
C#
2d5b0a8c3a4d69b99cd16c2ff7e3ab2925632ad8
Sort and remove unused using in /src/Properties
fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System.Reflection; 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("FluentCassandra")] [assembly: AssemblyDes...
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("Fl...
apache-2.0
C#
10b63c1246cd64968f1c3393a9162b9387d16414
Fix command line logic
rhargreaves/bbc-xfer,rhargreaves/bbc-xfer
Adf2Adl/Program.cs
Adf2Adl/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Adf2Adl { class Program { static void Main(string[] args) { if (args.Length != 2) { Console.Writ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Adf2Adl { class Program { static void Main(string[] args) { if (args.Length != 0) { Console.Writ...
mit
C#
7d819e9af7cf3dbe8b61f7db67727ead4333b69a
Change Commands.Names to return IEnumerable<string>
tparviainen/oscilloscope
SCPI/Commands.cs
SCPI/Commands.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace SCPI { public class Commands { private Dictionary<string, ICommand> commands = new Dictionary<string, ICommand>(); /// <summary> /// Creates a list of supported com...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace SCPI { public class Commands { private Dictionary<string, ICommand> commands = new Dictionary<string, ICommand>(); /// <summary> /// Creates a list of supported com...
mit
C#
5727ff203cbe52d5199f24d8aec4c72f971b331e
Remove serializable attribute from RaygunMessageReceived
OpenMagic/OpenMagic.ErrorTracker.Core,OpenMagic/OpenMagic.ErrorTracker.Core
source/OpenMagic.ErrorTracker.Core/Events/RaygunMessageReceived.cs
source/OpenMagic.ErrorTracker.Core/Events/RaygunMessageReceived.cs
using System; using Mindscape.Raygun4Net.Messages; namespace OpenMagic.ErrorTracker.Core.Events { public class RaygunMessageReceived : IEvent { public RaygunMessageReceived(string apiKey, RaygunMessage raygunMessage) { EventId = Guid.NewGuid(); ApiKey = apiKey; ...
using System; using Mindscape.Raygun4Net.Messages; namespace OpenMagic.ErrorTracker.Core.Events { [Serializable] public class RaygunMessageReceived : IEvent { public RaygunMessageReceived(string apiKey, RaygunMessage raygunMessage) { EventId = Guid.NewGuid(); ApiKey ...
mit
C#
32685798c871749809a454029f297e7aeef6388b
Fix unnecessary suppression missed in another PR
mjedrzejek/nunit,nunit/nunit,mjedrzejek/nunit,nunit/nunit
src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs
src/NUnitFramework/framework/Exceptions/MultipleAssertException.cs
// *********************************************************************** // Copyright (c) 2016 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
// *********************************************************************** // Copyright (c) 2016 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
mit
C#
311bcd180673cfb5eff7262ec4abc6821f6b358c
format - workaround roslyn NewLine bug
hach-que/omnisharp-roslyn,khellang/omnisharp-roslyn,nabychan/omnisharp-roslyn,haled/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,RichiCoder1/omnisharp-roslyn,haled/omnisharp-roslyn,filipw/omnisharp-...
src/OmniSharp/Api/Formatting/OmnisharpController.FormatDocument.cs
src/OmniSharp/Api/Formatting/OmnisharpController.FormatDocument.cs
using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Formatting; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("codeformat")] public async Task<IActionResult> CodeFormat([FromBo...
using System.Threading.Tasks; using Microsoft.AspNet.Mvc; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Formatting; using OmniSharp.Models; namespace OmniSharp { public partial class OmnisharpController { [HttpPost("codeformat")] public async Task<IActionResult> CodeFormat([FromBo...
mit
C#
3e46e68821157961e3b49359068447538bead6b3
Add missing registration for authentication handler (#32152)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Security/samples/CustomAuthorizationFailureResponse/Startup.cs
src/Security/samples/CustomAuthorizationFailureResponse/Startup.cs
using CustomAuthorizationFailureResponse.Authentication; using CustomAuthorizationFailureResponse.Authorization; using CustomAuthorizationFailureResponse.Authorization.Handlers; using CustomAuthorizationFailureResponse.Authorization.Requirements; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Aut...
using CustomAuthorizationFailureResponse.Authentication; using CustomAuthorizationFailureResponse.Authorization; using CustomAuthorizationFailureResponse.Authorization.Handlers; using CustomAuthorizationFailureResponse.Authorization.Requirements; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Aut...
apache-2.0
C#
bebd093f709be5ff2e413a76f94ebad216e2a4cd
Use the RemoveVersion method to clean up the unnecessary first version
hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb
src/Sitecore.FakeDb/Data/Engines/DataCommands/CreateItemCommand.cs
src/Sitecore.FakeDb/Data/Engines/DataCommands/CreateItemCommand.cs
namespace Sitecore.FakeDb.Data.Engines.DataCommands { using System; using Sitecore.Data.Items; using Sitecore.Diagnostics; using Sitecore.Globalization; public class CreateItemCommand : Sitecore.Data.Engines.DataCommands.CreateItemCommand { private readonly DataStorage dataStorage; public CreateI...
namespace Sitecore.FakeDb.Data.Engines.DataCommands { using System; using Sitecore.Data.Items; using Sitecore.Diagnostics; public class CreateItemCommand : Sitecore.Data.Engines.DataCommands.CreateItemCommand { private readonly DataStorage dataStorage; public CreateItemCommand(DataStorage dataStora...
mit
C#
89f47eaba711d7e2831a15da275d074a66553d24
update version number
poxet/tharga-console
Build/AssemblyVersionInfo.cs
Build/AssemblyVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.6.0.0")] [assembly: AssemblyFileVersion("1.6.0.0")]
using System.Reflection; [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
mit
C#
1699d3f73b818eb04926bd2fbc79b490da0c7752
use gitversion nugetversion
rafaelalmeidatk/MonoGame.Extended,LithiumToast/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended
build.cake
build.cake
#tool nuget:?package=vswhere #tool nuget:?package=NUnit.Runners&version=2.6.4 #tool nuget:?package=GitVersion.CommandLine var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var solution = "./Source/MonoGame.Extended.sln"; var vsLatest = VSWhereLatest(); var msBuildP...
#tool nuget:?package=vswhere #tool nuget:?package=NUnit.Runners&version=2.6.4 #tool nuget:?package=GitVersion.CommandLine var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var solution = "./Source/MonoGame.Extended.sln"; var vsLatest = VSWhereLatest(); var msBuildP...
mit
C#
cf4d4fa9bd3987cbd7a4dd3fb2767163399c3270
fix cake
aritchie/userdialogs
build.cake
build.cake
#addin "Cake.Xamarin" #addin "Cake.FileHelpers" #tool nunit.consolerunner #tool gitlink var target = Argument("target", Argument("t", "package")); Setup(x => { DeleteFiles("./*.nupkg"); DeleteFiles("./output/*.*"); if (!DirectoryExists("./output")) CreateDirectory("./output"); }); Task("build") .Does(()...
#addin "Cake.Xamarin" #addin "Cake.FileHelpers" #tool nunit.consolerunner #tool gitlink var target = Argument("target", Argument("t", "package")); Setup(x => { DeleteFiles("./*.nupkg"); DeleteFiles("./output/*.*"); if (!DirectoryExists("./output")) CreateDirectory("./output"); }); Task("build") .Does((...
mit
C#
bcbc22bd9239509fec212451b28fe75f59d00f85
Update StackPanel.cs
Clancey/iOSHelpers
iOSHelpers/StackPanel.cs
iOSHelpers/StackPanel.cs
using System; using UIKit; using CoreGraphics; using System.Collections; using CoreGraphics; namespace iOSHelpers { public class StackPanel : UIView , IEnumerable { int columns = 1; public int Columns { get{ return columns;} set { if (columns == value) return; columns = value; this.SetNe...
using System; using UIKit; using CoreGraphics; using System.Collections; using CoreGraphics; namespace iOSHelpers { public class StackPanel : UIView , IEnumerable { int columns = 1; public int Columns { get{ return columns;} set { if (columns == value) return; columns = value; this.SetNe...
apache-2.0
C#
ec1afb5f5110e7cce0534f470e9baaa2d7cef498
Normalize whitespace in TextExtractor.
thomas11/AzureSearchCrawler
AzureSearchCrawler/TextExtractor.cs
AzureSearchCrawler/TextExtractor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using HtmlAgilityPack; namespace AzureSearchCrawler { /// <summary> /// Extracts text content from a web page. The default implementation is very simple: it removes all script, style, /// svg, and path ...
using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace AzureSearchCrawler { /// <summary> /// Extracts text content from a web page. The default implementation is very simple: it removes all script, style, /// svg, and path tags, and then returns the InnerText o...
mit
C#
9eda5930544cdb745aad897f945a1e515d8da3bd
Add save window size and position before exiting
fredatgithub/WinFormTemplate
WinFormTemplate/FormMain.cs
WinFormTemplate/FormMain.cs
using System; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; using WinFormTemplate.Properties; namespace WinFormTemplate { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void QuitToolStripMenuItem_Click(object send...
using System; using System.Diagnostics; using System.Reflection; using System.Windows.Forms; using WinFormTemplate.Properties; namespace WinFormTemplate { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void QuitToolStripMenuItem_Click(object send...
mit
C#
131282f513305e5aa6d6301bdb4d48e6e9473087
Update Config.cs
fqlx/XboxKeyboardMouse
XboxKeyboardMouse/Config.cs
XboxKeyboardMouse/Config.cs
using System.Windows.Input; namespace XboxMouse_Keyboard { class Config { private class Input { private class LeftStick { private Key up; private Key down; private Key right; private Key left; }...
using System.Windows.Input; namespace XboxMouse_Keyboard { class Config { private class Input { private class Buttons { private Key a; private Key b; private Key x; private Key y; } ...
apache-2.0
C#
cce8a82ca3639ae4df3630c88fd4348aac3ef142
Update cake script
bcanseco/common-bot-library,bcanseco/common-bot-library
build.cake
build.cake
#addin nuget:?package=NuGet.Core&version=2.14.0 #addin "Cake.ExtendedNuGet" var version = Argument<string>("r"); Task("Restore") .Does(() => { var settings = new DotNetCoreRestoreSettings { Sources = new[] { "https://www.nuget.org/api/v2" } }; DotNetCoreRestore(settings); }); Task("Build"...
#addin nuget:?package=NuGet.Core&version=2.14.0 #addin "Cake.ExtendedNuGet" Task("Restore") .Does(() => { var settings = new DotNetCoreRestoreSettings { Sources = new[] { "https://www.nuget.org/api/v2" } }; DotNetCoreRestore(settings); }); Task("Build") .Does(() => { var settings =...
mit
C#
2ef808c5f15a1434c7522714f06424970acdcde4
Add docker push
syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service
build.cake
build.cake
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
mit
C#
5cf2f78954df649a56fea0854ee3a70fd4add6da
Disable Test coverage for Travis
syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service,syedhassaanahmed/log-storage-service
build.cake
build.cake
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
#addin Cake.Coveralls #addin Cake.Docker #tool "nuget:?package=OpenCover" #tool "nuget:?package=ReportGenerator" #tool "nuget:?package=coveralls.io" var testProj = "./ValidationPipeline.LogStorage.Tests/ValidationPipeline.LogStorage.Tests.csproj"; var testSettings = new DotNetCoreTestSettings { Framework = "netcore...
mit
C#
8ee6d75e20f7232ef6ef157abdc38f479051e3f7
Change db migration.
markshark05/GForum,markshark05/GForum
GForum/GForum.Data/DbInitializer.cs
GForum/GForum.Data/DbInitializer.cs
using System.Data.Entity; using GForum.Common; using GForum.Data.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; namespace GForum.Data { internal class DbInitializer : CreateDatabaseIfNotExists<ApplicationDbContext> { protected override void Seed(ApplicationDb...
using System.Data.Entity; using GForum.Common; using GForum.Data.Models; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; namespace GForum.Data { internal class DbInitializer : DropCreateDatabaseIfModelChanges<ApplicationDbContext> { protected override void Seed(Applic...
mit
C#
c1618c0adac2e7babc079003054b92d04d62e720
update assembly info
AxelAndersen/quickpay-dotnet-client,QuickPay/quickpay-dotnet-client
QuickPay/Properties/AssemblyInfo.cs
QuickPay/Properties/AssemblyInfo.cs
using System.Reflection; 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("Quickpay dotnet client")] [assembly: Ass...
using System.Reflection; 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("Quickpay")] [assembly: AssemblyDescripti...
mit
C#
820a672940b151a43b54f510dc03b8476bd95ce9
Reword xmldoc to make more sense
NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu
osu.Game/Rulesets/Mods/ModUsage.cs
osu.Game/Rulesets/Mods/ModUsage.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. namespace osu.Game.Rulesets.Mods { /// <summary> /// The usage of this mod to determine whether it's playable in such context. /// </summary> public enum ...
// 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. namespace osu.Game.Rulesets.Mods { /// <summary> /// The usage of this mod to determine its playability. /// </summary> public enum ModUsage { ...
mit
C#
0812d98a809fcae56fcfb84333b5541bf1b89713
add group disable
Mooophy/158212
as3/as3/Form1.cs
as3/as3/Form1.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace as3 { using Images = global::as3.Properties.Resources; public partial class Form1 : F...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace as3 { using Images = global::as3.Properties.Resources; public partial class Form1 : F...
mit
C#
e30750001553f78a80759d73aadbade45397fac8
Fix missing dependency
twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf,twenzel/Cake.MarkdownToPdf
build.cake
build.cake
#tool "nuget:?package=GitVersion.CommandLine&version=5.7.0" #tool "nuget:?package=NuGet.CommandLine&version=5.8.1" var target = Argument("target", "Default"); ////////////////////////////////////////////////////////////////////// // Build Variables //////////////////////////////////////////////////////////////////...
#tool "nuget:?package=GitVersion.CommandLine&version=5.7.0" var target = Argument("target", "Default"); ////////////////////////////////////////////////////////////////////// // Build Variables ///////////////////////////////////////////////////////////////////// var solution = "./Cake.MarkdownToPdf.sln"; var proj...
mit
C#
22bc9fa46ae5ab74072eea36732a982e7dbc755d
update GetDayOfWeek
zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning
ParallelTask/Program.cs
ParallelTask/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ParallelTask { public class Program { private static readonly Action<string> logger = Console.WriteLine; static void Main(string[] args) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ParallelTask { class Program { static void Main(string[] args) { } } }
mit
C#
eed07096f6b39c7e6948543a092ed9f1f387f0b3
Remove method from interface because it's only useful for testing. Generates incorrect results if not used right
PKRoma/refit,onovotny/refit,mteper/refit,PureWeen/refit,jlucansky/refit,ammachado/refit,jlucansky/refit,mteper/refit,onovotny/refit,PureWeen/refit,paulcbetts/refit,paulcbetts/refit,ammachado/refit
Refit/RequestBuilder.cs
Refit/RequestBuilder.cs
using System; using System.Collections.Generic; using System.Net.Http; namespace Refit { public interface IRequestBuilder { IEnumerable<string> InterfaceHttpMethods { get; } Func<HttpClient, object[], object> BuildRestResultFuncForMethod(string methodName); } interface IRequestBuilderF...
using System; using System.Collections.Generic; using System.Net.Http; namespace Refit { public interface IRequestBuilder { IEnumerable<string> InterfaceHttpMethods { get; } Func<object[], HttpRequestMessage> BuildRequestFactoryForMethod(string methodName, string basePath = ""); Func<Ht...
mit
C#
e69c0a19ab58ad8fdb1f5c3736cd2c9b53614dbf
add placeholder test for once job project controller is finished
mzrimsek/resume-site-api
Test.Integration/ControllerTests/JobControllerTests/DeleteJobShould.cs
Test.Integration/ControllerTests/JobControllerTests/DeleteJobShould.cs
using Microsoft.AspNetCore.TestHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Net.Http; using Test.Integration.TestHelpers; using Web.Models.JobModels; namespace Test.Integration.ControllerTests.JobControllerTests { [TestClass] public class DeleteJobShould { ...
using Microsoft.AspNetCore.TestHost; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Net.Http; using Test.Integration.TestHelpers; using Web.Models.JobModels; namespace Test.Integration.ControllerTests.JobControllerTests { [TestClass] public class DeleteJobShould { ...
mit
C#
b6e96d871149b365183f9f225ee70c4e2c6b98ce
Fix trading bugs
blackpanther989/ArchiSteamFarm,KlappPc/ArchiSteamFarm,i3at/ArchiSteamFarm,i3at/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm
ArchiSteamFarm/SteamItem.cs
ArchiSteamFarm/SteamItem.cs
/* _ _ _ ____ _ _____ / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |...
/* _ _ _ ____ _ _____ / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___ / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \ / ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |...
apache-2.0
C#
af2fff34a299bb37c5c2e6b66fa60b1e97f6d282
Fix Windows Runtime library build error
nemanja88/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,pankajsn/azure-sdk-for-net,marcoippel/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,oaastest/azure-sdk-for-net,scottrille/azure-sdk-for-net,pilor/azure-sdk-for-net,hyonholee/azure-sdk-for-net,yadavbdev/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,dominiqa/az...
microsoft-azure-api/Services/Storage/Lib/RT/Properties/AssemblyInfo.cs
microsoft-azure-api/Services/Storage/Lib/RT/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Mi...
mit
C#
14ccf7db552e20a91ae7609d3b959555f78d60f2
Update UrlTokenGenerator.cs
jgveire/Vanguard.Framework
src/Vanguard.Framework.Core/UrlTokenGenerator.cs
src/Vanguard.Framework.Core/UrlTokenGenerator.cs
namespace Vanguard.Framework.Core { using System; using System.Security.Cryptography; /// <summary> /// The URL token generator. /// It generates a token that can be used in URL's to valid /// for example email addresses, password resets, etc. /// </summary> public class UrlTokenGenera...
namespace Vanguard.Framework.Core { using System; using System.Security.Cryptography; /// <summary> /// The URL token generator. /// It generates a token that can be used in URL's to valid /// for example email addresses, password resets, etc. /// </summary> public class UrlTokenGenera...
mit
C#
04b07b774bf56985c0f55b2484c5d3c1dcf600c9
Allow null DataTemplate.DataType.
wieslawsoltes/Perspex,jkoritzinsky/Perspex,OronDF343/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,punker76/Perspex,wieslawsoltes/Perspex,jazzay/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,MrDaedra/Avalonia,susloparovdenis/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,Su...
src/Markup/Perspex.Markup.Xaml/Templates/DataTemplate.cs
src/Markup/Perspex.Markup.Xaml/Templates/DataTemplate.cs
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reflection; using Perspex.Controls; using Perspex.Controls.Templates; using Perspex.Metadata; namespace Perspex.Markup.Xaml.Tem...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Reflection; using Perspex.Controls; using Perspex.Controls.Templates; using Perspex.Metadata; namespace Perspex.Markup.Xaml.Tem...
mit
C#
8df1c2258cd6bc4a7421cde91d709f1350cd051a
Add uuid to indices stats (#3437)
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/Indices/Monitoring/IndicesStats/IndicesStats.cs
src/Nest/Indices/Monitoring/IndicesStats/IndicesStats.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { [JsonObject] public class IndicesStats { /// <summary> /// Universal Unique Identifier for the index /// </summary> /// <remarks> /// Introduced in Elasticsearch 6.4.0 /// </remarks> [JsonProperty("uuid")] public string UUID ...
using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { [JsonObject] public class IndicesStats { [JsonProperty("primaries")] public IndexStats Primaries { get; internal set; } [JsonProperty("total")] public IndexStats Total { get; internal set; } [JsonProperty("shards")] [JsonConver...
apache-2.0
C#
c0d207f2286b15034254e2214a9807fb14c26700
Fix potential NRE in lucene index
jimasp/Orchard,jersiovic/Orchard,LaserSrl/Orchard,abhishekluv/Orchard,ehe888/Orchard,yersans/Orchard,omidnasri/Orchard,Codinlab/Orchard,LaserSrl/Orchard,hbulzy/Orchard,Lombiq/Orchard,jersiovic/Orchard,Dolphinsimon/Orchard,Codinlab/Orchard,hannan-azam/Orchard,tobydodds/folklife,jimasp/Orchard,rtpHarry/Orchard,jtkech/Orc...
src/Orchard.Web/Modules/Lucene/Models/LuceneSearchHit.cs
src/Orchard.Web/Modules/Lucene/Models/LuceneSearchHit.cs
using System; using Lucene.Net.Documents; using Orchard.Indexing; namespace Lucene.Models { public class LuceneSearchHit : ISearchHit { private readonly Document _doc; private readonly float _score; public float Score { get { return _score; } } public LuceneSearchHit(Document doc...
using System; using Lucene.Net.Documents; using Orchard.Indexing; namespace Lucene.Models { public class LuceneSearchHit : ISearchHit { private readonly Document _doc; private readonly float _score; public float Score { get { return _score; } } public LuceneSearchHit(Document doc...
bsd-3-clause
C#
255e7bf66084b9358324b6dea56f93bff2e525fc
Implement autoreconnect class
IvionSauce/MeidoBot
MeidoBot/AutoReconnect.cs
MeidoBot/AutoReconnect.cs
using System; using System.Threading; using Meebey.SmartIrc4net; namespace MeidoBot { class AutoReconnect { readonly static TimeSpan minInterval = TimeSpan.FromSeconds(15); readonly static TimeSpan maxInterval = TimeSpan.FromMinutes(32); TimeSpan currentInterval = minInterval; ...
using System; namespace MeidoBot { public class AutoReconnect { public AutoReconnect () { } } }
bsd-2-clause
C#
f83c5fa81d8f5291e0c3d75b37e65a35ec8b2a8a
Add backing bindable for major field
smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu
osu.Game.Rulesets.Taiko/Objects/BarLine.cs
osu.Game.Rulesets.Taiko/Objects/BarLine.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.Bindables; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; namespace osu.Game.Rulesets.Taiko.Objects { public class BarLine...
// 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.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; namespace osu.Game.Rulesets.Taiko.Objects { public class BarLine : TaikoHitObject, IBarLine ...
mit
C#
a5b0307cfb472342bb56a08548b8245d7a8604be
Apply same fix to legacy accuracy counter
UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,smoogipoo/osu,ppy/osu
osu.Game/Skinning/LegacyAccuracyCounter.cs
osu.Game/Skinning/LegacyAccuracyCounter.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.Sprites; using osu.Game.Graphics.UserInterface; using osu.Game.Screens.Play; using o...
// 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.Sprites; using osu.Game.Graphics.UserInterface; using osu.Game.Screens.Play; using o...
mit
C#
558ca5ec4616176048f3fbbf3ecab59d7d8d67bd
Fix bug in BodyCollider.
jguarShark/Unity2D-Components,cmilr/Unity2D-Components
Actor/BodyCollider.cs
Actor/BodyCollider.cs
using UnityEngine; using System.Collections; using Matcha.Lib; [RequireComponent(typeof(BoxCollider2D))] public class BodyCollider : CacheBehaviour { private bool alreadyCollided; private PickupEntity pickupEntity; private EntityBehaviour entityBehaviour; // private CharacterEntity charEntity; void Start() ...
using UnityEngine; using System.Collections; using Matcha.Lib; [RequireComponent(typeof(BoxCollider2D))] public class BodyCollider : CacheBehaviour { private bool alreadyCollided; private PickupEntity pickupEntity; private EntityBehaviour entityBehaviour; // private CharacterEntity charEntity; void Start() ...
mit
C#
e22f4409099619194187dd1b4e8688443fee1f4d
Apply velocity based on rotational value
bastuijnman/open-park
Assets/Scripts/Player.cs
Assets/Scripts/Player.cs
using UnityEngine; using System.Collections; public class Player : MonoBehaviour { // Movement speed, can be set in the editor public float speed = 1.0f; // Player (camera) rotation private Vector3 playerRotation = new Vector3 (35, 0, 0); // Player (camera) height private float playerHeight = 5.0f; void St...
using UnityEngine; using System.Collections; public class Player : MonoBehaviour { // Movement speed, can be set in the editor public float speed = 1.0f; // Player (camera) rotation private Vector3 playerRotation = new Vector3 (35, 0, 0); // Player (camera) height private float playerHeight = 5.0f; void St...
mit
C#
8aeb2693cab358d7bd411f6b559a53957fb8ad8f
fix flags
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL4/Scene/Flags.cs
CSharpGL4/Scene/Flags.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharpGL { /// <summary> /// /// </summary> [Flags] public enum TwoFlags : byte { /// <summary> /// /// </summary> None = 0, /// <summary> /// ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CSharpGL { /// <summary> /// /// </summary> [Flags] public enum TwoFlags : byte { /// <summary> /// /// </summary> None, /// <summary> /// ...
mit
C#
0741d618febe2b433b08573e2139c4d5b9f4b0dd
remove extra argument I was not using
mschray/CalendarHelper
shared/LogHelper.csx
shared/LogHelper.csx
public static class LogHelper { private static TraceWriter logger; public static void Initialize(TraceWriter log) { if (logger == null) logger = log; } public static void Info(string logtext) { logger.Info(logtext); } public static void Error(string logtext) { ...
public static class LogHelper { private static TraceWriter logger; public static void Initialize(TraceWriter log) { if (logger == null) logger = log; } public static void Info(TraceWriter log, string logtext) { logger.Info(logtext); } public static void Error(TraceWr...
mit
C#
c792ff072ce10e32d0782610ec7027f3183d4828
increment patch version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
4e5ddea40188ffb027c392ed139eeb412c354631
Update completion triggers in LSP to better match local completion.
physhi/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,wvdd007/roslyn,genlu/roslyn,aelij/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,stephentoub/roslyn,genlu/roslyn,weltkante/roslyn,bartdesmet/roslyn,sharwell/roslyn,diryboy/roslyn,gafter/rosl...
src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.cs
src/Features/LanguageServer/Protocol/Handler/Initialize/InitializeHandler.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.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.Langua...
// 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.Composition; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.Langua...
mit
C#
caad842d84849150200be2e2d23466e90c456ccf
Add comment.
brettfo/roslyn,tannergooding/roslyn,lorcanmooney/roslyn,AlekseyTs/roslyn,MattWindsor91/roslyn,agocke/roslyn,tvand7093/roslyn,OmarTawfik/roslyn,Hosch250/roslyn,srivatsn/roslyn,lorcanmooney/roslyn,heejaechang/roslyn,jamesqo/roslyn,AmadeusW/roslyn,ErikSchierboom/roslyn,VSadov/roslyn,sharwell/roslyn,diryboy/roslyn,sharwell...
src/Workspaces/Core/Portable/CodeActions/Annotations/NavigationAnnotation.cs
src/Workspaces/Core/Portable/CodeActions/Annotations/NavigationAnnotation.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. namespace Microsoft.CodeAnalysis.CodeActions { /// <summary> /// Apply this annotation to an appropriate Syntax element to request that it should be ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.CodeActions { /// <summary> /// Apply this annotation to an appropriate Syntax element to request that it should be ...
apache-2.0
C#
b908670cac139d427777c103c4a4dd1c5e9dac1a
Prepare for removing `workFolderPath` & `network` parameters from the class's constructor
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Stores/BitcoinStore.cs
WalletWasabi/Stores/BitcoinStore.cs
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Blockchain.Blocks; using WalletWasabi.Blockchain.Mempool; using WalletWasabi.Blockchain.P2p; using WalletWasabi.Blockchain.Transactions; using WalletWasabi.Helpers; using ...
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Blockchain.Blocks; using WalletWasabi.Blockchain.Mempool; using WalletWasabi.Blockchain.P2p; using WalletWasabi.Blockchain.Transactions; using WalletWasabi.Helpers; using ...
mit
C#
802ae6daffbe96d18c34fcdb5cd9682ab79fc88f
Add MRound
imasm/CSharpExtensions
CSharpEx/DoubleEx.cs
CSharpEx/DoubleEx.cs
using System; namespace CSharpEx { /// <summary> /// Double extensions /// </summary> public static class DoubleEx { /// <summary> /// Compare two double values. Returns true if the diference is lower than tolerance /// </summary> /// <param name="value1">First doub...
using System; namespace CSharpEx { /// <summary> /// Double extensions /// </summary> public static class DoubleEx { /// <summary> /// Compare two double values. Returns true if the diference is lower than tolerance /// </summary> /// <param name="value1">First doub...
apache-2.0
C#
baf0fb2f836cefb149f44598096c8d41dacf3d9b
Update test to check that breadcrumbs are returned in correct order when MaximumBreadcrumbs is exceeded
bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet
tests/Bugsnag.Tests/BreadcrumbsTests.cs
tests/Bugsnag.Tests/BreadcrumbsTests.cs
using System.Linq; using Xunit; namespace Bugsnag.Tests { public class BreadcrumbsTests { [Fact] public void RestrictsMaxNumberOfBreadcrumbs() { var breadcrumbs = new Breadcrumbs(new Configuration { MaximumBreadcrumbs = 25 }); for (int i = 0; i < 30; i++) { breadcrumbs.Leave(...
using System.Linq; using Xunit; namespace Bugsnag.Tests { public class BreadcrumbsTests { [Fact] public void RestrictsMaxNumberOfBreadcrumbs() { var breadcrumbs = new Breadcrumbs(new Configuration { MaximumBreadcrumbs = 25 }); for (int i = 0; i < 30; i++) { breadcrumbs.Leave(...
mit
C#
09290e346d44a58c1406e1060847fd50a0b5d10d
change default e-mail and username
tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web
src/Tugberk.Web/BlogDbContextExtensions.cs
src/Tugberk.Web/BlogDbContextExtensions.cs
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Tugberk.Persistance.SqlServer; namespace Tugberk.Web { public static class BlogDbContextExtensions { public static void EnsureSeedData(this BlogDbContext context, UserManager<IdentityUser> userManager) { ...
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Tugberk.Persistance.SqlServer; namespace Tugberk.Web { public static class BlogDbContextExtensions { public static void EnsureSeedData(this BlogDbContext context, UserManager<IdentityUser> userManager) { ...
agpl-3.0
C#
355f3162617a70e8c3fe068a9ea16a123e930e8c
allow running as a console app
abock/conservatorio,abock/conservatorio,abock/conservatorio
Conservatorio.Mac/Main.cs
Conservatorio.Mac/Main.cs
// // Main.cs // // Author: // Aaron Bockover <aaron.bockover@gmail.com> // // Copyright 2015 Aaron Bockover. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software wit...
// // Main.cs // // Author: // Aaron Bockover <aaron.bockover@gmail.com> // // Copyright 2015 Aaron Bockover. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software wit...
mit
C#
12840963b2457b0dc3827925d6f5e5d70441faab
Add subscriber name
iron-io/iron_dotnet
src/IronSharp.IronMQ/Subscriber.cs
src/IronSharp.IronMQ/Subscriber.cs
using System; using System.Net; using Newtonsoft.Json; namespace IronSharp.IronMQ { public class Subscriber { public Subscriber() : this(null) { } public Subscriber(string url) { Url = url; } [JsonProperty("name", DefaultValueHandling = Def...
using System; using System.Net; using Newtonsoft.Json; namespace IronSharp.IronMQ { public class Subscriber { public Subscriber() : this(null) { } public Subscriber(string url) { Url = url; } [JsonProperty("retries_delay", DefaultValueHandl...
mit
C#
82122db3a2c64a7a0977463529e99167da2ddb8b
Use Span<char> as possible
KodamaSakuno/Sakuno.Base
src/Sakuno.Base/ArrayExtensions.cs
src/Sakuno.Base/ArrayExtensions.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Sakuno { [EditorBrowsable(EditorBrowsableState.Never)] public static class ArrayExtensions { public static unsafe string ToHexString(this byte[] bytes) { ...
using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; namespace Sakuno { [EditorBrowsable(EditorBrowsableState.Never)] public static class ArrayExtensions { public static string ToHexString(this byte[] bytes) { var buffer = new ch...
mit
C#
d24c4ea2687db9bcbc15b22e5552ab1bb42451d1
fix target framework in build file.
IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4
build.cake
build.cake
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var packPath ...
var target = Argument("target", "Default"); var configuration = Argument<string>("configuration", "Release"); /////////////////////////////////////////////////////////////////////////////// // GLOBAL VARIABLES /////////////////////////////////////////////////////////////////////////////// var packPath ...
apache-2.0
C#
d05881e6c7f5e67a731720317c28d265ff35c0eb
switch to top level statements
adamralph/liteguard,adamralph/liteguard
targets/Program.cs
targets/Program.cs
using static Bullseye.Targets; using static SimpleExec.Command; Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo --verbosity quiet")); Target( "pack", DependsOn("build"), ForEach("LiteGuard.nuspec", "LiteGuard.Source.nuspec"), async nuspec => await RunAsync( ...
using System.Threading.Tasks; using SimpleExec; using static Bullseye.Targets; using static SimpleExec.Command; internal class Program { public static Task Main(string[] args) { Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo --verbosity quiet")); Ta...
mit
C#
daf7709c715ec6066fc2f0022df4198df3414f78
Update cake!
jamesmontemagno/xamarin.forms-toolkit
build.cake
build.cake
var TARGET = Argument ("target", Argument ("t", "Default")); var VERSION = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); var CONFIG = Argument("configuration", EnvironmentVariable ("CONFIGURATION") ?? "Release"); var SLN = "./FormsToolkit.sln"; Task("Libraries").Does(()=> { NuGetR...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Default")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Default").Does (() => { NuGetRestore ("./FormsToolkit.sln"); DotNetBuild ("./FormsToolkit.sln", c => c.Configuration = "Rel...
mit
C#
17157bf7b768938b9100d66e252d82dac3ea4147
Add cake tasks
CoraleStudios/Colore
build.cake
build.cake
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); var platform = Argument("Platform", "AnyCPU"...
mit
C#
24a56e3a0b26e7bf784fb0b28b51c130f7fe75b9
Tweak emailmessage.send()
hatton/libpalaso,mccarthyrb/libpalaso,darcywong00/libpalaso,chrisvire/libpalaso,marksvc/libpalaso,hatton/libpalaso,mccarthyrb/libpalaso,darcywong00/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,marksvc/libpalaso,andrew-polk/libpalaso,andrew-polk/libpalaso,gma...
Reporting/EmailMessage.cs
Reporting/EmailMessage.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Palaso.Reporting { public class EmailMessage { private string _body= ""; private string _address = ""; private string _subject = ""; // private string _attachmentPath; public void Send() { //strin...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Palaso.Reporting { public class EmailMessage { private string _body= ""; private string _address = ""; private string _subject = ""; // private string _attachmentPath; public void Send() { //strin...
mit
C#
c81a158ac7cede25aed3b8152013db0e82553952
Use SampleOverrideLongestPlaying for audio samples.
Damnae/storybrew
brewlib/Audio/AudioSample.cs
brewlib/Audio/AudioSample.cs
using ManagedBass; using System; using System.Diagnostics; using System.Resources; namespace BrewLib.Audio { public class AudioSample { private const int MaxSimultaneousPlayBacks = 8; private string path; public string Path => path; private int sample; public readonl...
using ManagedBass; using System; using System.Diagnostics; using System.Resources; namespace BrewLib.Audio { public class AudioSample { private const int MaxSimultaneousPlayBacks = 8; private string path; public string Path => path; private int sample; public readonl...
mit
C#
0467850a4c94a46cacbdff643a27e57d6a8e5f14
Add Entity.ToString override
copygirl/EntitySystem
src/Entity.cs
src/Entity.cs
using System; namespace EntitySystem { public struct Entity : IEquatable<Entity>, IComparable<Entity> { readonly uint _id; internal Entity(uint id) { _id = id; } public bool Equals(Entity other) => (_id == other._id); public int CompareTo(Entity other) => _id.CompareTo(other._id); public ove...
using System; namespace EntitySystem { public struct Entity : IEquatable<Entity>, IComparable<Entity> { readonly uint _id; internal Entity(uint id) { _id = id; } public bool Equals(Entity other) => (_id == other._id); public int CompareTo(Entity other) => _id.CompareTo(other._id); public ove...
mit
C#
af2dfae166fcc5001e6b94ce83d8850b524401a6
Make BooleanValue class sealed.
alldne/school,alldne/school
School/Evaluator/Value.cs
School/Evaluator/Value.cs
using System; namespace School.Evaluator { public abstract class Value { } public sealed class UnitValue : Value { public static readonly UnitValue Singleton = new UnitValue(); private UnitValue() { } public override string ToString() { ...
using System; namespace School.Evaluator { public abstract class Value { } public sealed class UnitValue : Value { public static readonly UnitValue Singleton = new UnitValue(); private UnitValue() { } public override string ToString() { ...
apache-2.0
C#
d0faa36dd7ae7b7beafbde4cb69d07ca88b00506
Add version=3 for SQLite
jahav/Nerula
Nerula.Test/DatabaseTest.cs
Nerula.Test/DatabaseTest.cs
using Nerula.Data; using NHibernate; using NHibernate.Cfg; using NHibernate.Dialect; using NHibernate.Driver; using NHibernate.Tool.hbm2ddl; namespace Nerula.Test { /// <summary> /// Base class for tests that utilize the in memory database. /// /// IMPORTANT: You will probably encounter "The Process cannot acces...
using Nerula.Data; using NHibernate; using NHibernate.Cfg; using NHibernate.Dialect; using NHibernate.Driver; using NHibernate.Tool.hbm2ddl; namespace Nerula.Test { /// <summary> /// Base class for tests that utilize the in memory database. /// /// IMPORTANT: You will probably encounter "The Process cannot acces...
unlicense
C#
08a9001ad6eaf3c2a3ec87c63155571b7ee90acd
speed up bullets for better effects
pako1337/raim,pako1337/raim,pako1337/raim
PaCode.Raim/Model/Bullet.cs
PaCode.Raim/Model/Bullet.cs
using System; namespace PaCode.Raim.Model { public class Bullet : IGameObject, IDestroyable { private DateTime lastUpdate = DateTime.Now; public Guid Id { get; private set; } public Vector2d Position { get; private set; } public Vector2d Speed { get; private set; } pub...
using System; namespace PaCode.Raim.Model { public class Bullet : IGameObject, IDestroyable { private DateTime lastUpdate = DateTime.Now; public Guid Id { get; private set; } public Vector2d Position { get; private set; } public Vector2d Speed { get; private set; } pub...
mit
C#
a3de2273902fb402a2a65bde7c9ccb2949731b2f
Update DeviceInfoImplementation.cs
jamesmontemagno/Xamarin.Plugins,tim-hoff/Xamarin.Plugins,labdogg1003/Xamarin.Plugins,monostefan/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins,LostBalloon1/Xamarin.Plugins,JC-Chris/Xamarin.Plugins
DeviceInfo/DeviceInfo/DeviceInfo.Plugin.iOS/DeviceInfoImplementation.cs
DeviceInfo/DeviceInfo/DeviceInfo.Plugin.iOS/DeviceInfoImplementation.cs
/* * Ported with permission from: Thomasz Cielecki @Cheesebaron * AppId: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins */ //--------------------------------------------------------------------------------- // Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk) // Licensed under the Apache License, Versio...
using DeviceInfo.Plugin.Abstractions; #if __UNIFIED__ using UIKit; #else using MonoTouch.UIKit; #endif using System; namespace DeviceInfo.Plugin { /// <summary> /// Implementation for DeviceInfo /// </summary> public class DeviceInfoImplementation : IDeviceInfo { public string GenerateAppId(bool usingPh...
mit
C#
24cc80ef93dd22602a5ee945cbf8802ea3a3b76e
Make it possible to specify custom hipchat server
modulexcite/Hipchat-CS,KyleGobel/Hipchat-CS
src/Api/HipchatEndpoints.cs
src/Api/HipchatEndpoints.cs
using ServiceStack; using System; using System.Configuration; namespace HipchatApiV2 { public class HipchatEndpoints { private static string EndpointHost = null; static HipchatEndpoints() { EndpointHost = ConfigurationManager.AppSettings["hipchat_endpoint_host"] ?? "api.hip...
using ServiceStack; namespace HipchatApiV2 { public class HipchatEndpoints { private HipchatEndpoints() {} public static readonly string CreateWebhookEndpointFormat = "https://api.hipchat.com/v2/room/{0}/webhook"; private const string SendMessageEndpointFormat = "https://api.hipchat.co...
mit
C#
e171378902fa446e7827aa57a7db8f5d22730686
Fix arg
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AddWallet/TermsAndConditionsViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/TermsAndConditionsViewModel.cs
using System.IO; using System.Reactive.Linq; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Legal; namespace WalletWasabi.Fluent.ViewModels.AddWallet { public class TermsAndConditionsViewModel : RoutableViewModel { private bool _isAgreed; public...
using System.IO; using System.Reactive.Linq; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Legal; namespace WalletWasabi.Fluent.ViewModels.AddWallet { public class TermsAndConditionsViewModel : RoutableViewModel { private bool _isAgreed; public...
mit
C#
44e3f5cc970486e0be771c5fb80fefef4ee33fcc
拡張子やエンコードはシステムごとに統一される可能性が高いので、サブクラスで指定したいと思いvirtualにしました。
SunriseDigital/cs-sdx
Sdx/Config.cs
Sdx/Config.cs
using System.Collections.Generic; using Sdx.Data; using System.Text; using System.IO; using System; namespace Sdx { public class Config<T> where T : Tree, new() { private static Dictionary<string, Tree> memoryCache; static Config() { memoryCache = new Dictionary<string, Tree>(); } publ...
using System.Collections.Generic; using Sdx.Data; using System.Text; using System.IO; using System; namespace Sdx { public class Config<T> where T : Tree, new() { private static Dictionary<string, Tree> memoryCache; static Config() { memoryCache = new Dictionary<string, Tree>(); } publ...
mit
C#