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
d7f8ba0b908563b7034f82363125ef79ad83e0ab
Remove deprecated
StanJav/language-ext,StefanBertels/language-ext,louthy/language-ext
LanguageExt.Process/Strategy/IProcessStrategy.cs
LanguageExt.Process/Strategy/IProcessStrategy.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanguageExt { public interface IProcessStrategy { /// <summary> /// Handler function for a Process thrown exception /// </summary> /// <param name="pid"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LanguageExt { public interface IProcessStrategy { /// <summary> /// Handler function for a Process thrown exception /// </summary> /// <param name="pid"...
mit
C#
22ac0888b7755a60388651780e952e308f5f71a6
Update BinanceConvertTransferRecord.cs
JKorf/Binance.Net
Binance.Net/Objects/Models/Spot/ConvertTransfer/BinanceConvertTransferRecord.cs
Binance.Net/Objects/Models/Spot/ConvertTransfer/BinanceConvertTransferRecord.cs
using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; namespace Binance.Net.Objects.Models.Spot.ConvertTransfer { /// <summary> /// Result of a convert transfer operation /// </summary> public class BinanceConvertTransferRecord { /// <summary> /// Transfer id ...
using CryptoExchange.Net.Converters; using Newtonsoft.Json; using System; namespace Binance.Net.Objects.Models.Spot.ConvertTransfer { /// <summary> /// Result of a convert transfer operation /// </summary> public class BinanceConvertTransferRecord { /// <summary> /// Transfer id ...
mit
C#
ee7bb8555cfc35bc07630c9f6f2b070c4af26970
Update AssemblyInfo.cs
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/MemberInvite/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/MemberInvite/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("Me...
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("Me...
apache-2.0
C#
3b0b85e2232506f94ecd8ac752e32ef58832efec
Add NUL to invalid characters
villermen/runescape-cache-tools,villermen/runescape-cache-tools
RuneScapeCacheTools/Extensions/PathExtensions.cs
RuneScapeCacheTools/Extensions/PathExtensions.cs
using System; namespace Villermen.RuneScapeCacheTools.Extensions { public static class PathExtensions { public static char[] InvalidCharacters = { '/', ':', '"', '*', '?', '>', '<', '|', '\0' }; /// <summary> /// Parses the given directory and unifies its format, to be applied to ...
using System; namespace Villermen.RuneScapeCacheTools.Extensions { public static class PathExtensions { public static char[] InvalidCharacters = { '/', ':', '"', '*', '?', '>', '<', '|' }; /// <summary> /// Parses the given directory and unifies its format, to be applied to unpred...
mit
C#
d32a35a4988dd716f7b8060d3152cf9a7f128740
Fix mod selection binding
asarium/FSOLauncher
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Mods/ModGroupViewModel.cs
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Mods/ModGroupViewModel.cs
#region Usings using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using ModInstallation.Interfaces.Mods; using ReactiveUI; using Semver; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Mods { public class ModGroupViewM...
#region Usings using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using ModInstallation.Interfaces.Mods; using ReactiveUI; using Semver; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Mods { public class ModGroupViewM...
mit
C#
64dc63f54ee96972d522c6b9bae173da87584fc3
Add License
chraft/c-raft
Chraft/World/NBT/TagNodeListNamed.cs
Chraft/World/NBT/TagNodeListNamed.cs
/* Minecraft NBT reader * * Copyright 2010-2011 Michael Ong, all rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at yo...
using System; using System.Collections.Generic; namespace Chraft.World.NBT { /// <summary> /// Represents a sequential named custom TAG_TYPE list. /// </summary> public class TagNodeListNamed : Dictionary<string, INBTTag>, INBTTag { private string _name; /// <summary> /// ...
agpl-3.0
C#
36a00f700a3bb83e090da89c2d787d45988d96d7
Delete unnecessary line breaks.
t-miyake/OutlookOkan
OutlookAddIn/ThisAddIn.cs
OutlookAddIn/ThisAddIn.cs
using Outlook = Microsoft.Office.Interop.Outlook; using System.Windows.Forms; namespace OutlookAddIn { public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { Application.ItemSend += Application_ItemSend; } public void ...
using Outlook = Microsoft.Office.Interop.Outlook; using System.Windows.Forms; namespace OutlookAddIn { public partial class ThisAddIn { private void ThisAddIn_Startup(object sender, System.EventArgs e) { Application.ItemSend += Application_ItemSend; } public void ...
apache-2.0
C#
2eb0ad31b066b7358748c87d1ab0290800c77ad9
Use cts pages for routes for now
RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server
CorvallisBus.Core/Models/BusRoute.cs
CorvallisBus.Core/Models/BusRoute.cs
using CorvallisBus.Core.Models.Connexionz; using CorvallisBus.Core.Models.GoogleTransit; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace CorvallisBus.Core.Models { /// <summary> /// Represents a CTS Route....
using CorvallisBus.Core.Models.Connexionz; using CorvallisBus.Core.Models.GoogleTransit; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; namespace CorvallisBus.Core.Models { /// <summary> /// Represents a CTS Route....
mit
C#
0a8bfe9ecae4d85b2b741814d1edbaf80af11e93
add Pause and Resume method
endlessz/Flappy-Cube
Assets/Scripts/GameManager.cs
Assets/Scripts/GameManager.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; public enum GameStates{ PREGAME, //State before play INGAME, //State when play and player alive GAMEOVER , //State when player dead } public class GameManager : MonoBehaviour { [Header("Text")] public Text scoreText; public Text newBestScore...
using UnityEngine; using System.Collections; using UnityEngine.UI; public enum GameStates{ PREGAME, //State before play INGAME, //State when play and player alive GAMEOVER , //State when player dead } public class GameManager : MonoBehaviour { [Header("Text")] public Text scoreText; public Text newBestScore...
mit
C#
0bebdb70ab13ad560f23e231b8e1e343762124a1
Update Remote.cs
wolfspelz/ConfigSharp
ConfigSharpTester/Configuration/Remote.cs
ConfigSharpTester/Configuration/Remote.cs
//reference "System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" using System; namespace ConfigSharpTester.Configuration { class Remote { public static void Run(ConfigSharpTester.MyConfig config) { config.PropertyFromHttpInclude = "Remote value fr...
#pragma reference "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" using System; namespace ConfigSharpTester.Configuration { class Remote { public static void Run(ConfigSharpTester.MyConfig config) { config.PropertyFromHttpInclude = "Rem...
apache-2.0
C#
e47f6d8935330b547a8ae36e315ab8dde3d57809
Update Form1.cs
Miro382/CSharp_Weather
Examples/WeatherApplication/Form1.cs
Examples/WeatherApplication/Form1.cs
using CSharp_Weather; using System; using System.Diagnostics; using System.Windows.Forms; namespace WeatherApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) ...
using CSharp_Weather; using System; using System.Diagnostics; using System.Windows.Forms; namespace WeatherApplication { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) ...
mit
C#
a06115d32a94a1997af3335b5c2f59ca8765ee82
update version
IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework
Src/iFramework/Properties/AssemblyInfo.cs
Src/iFramework/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("IF...
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("IF...
mit
C#
37b6923e35634ecb00b5ec1aa79d398134b25d74
fix test
lschaffer2/MetaMorpheus,zrolfs/MetaMorpheus,XRSHEERAN/MetaMorpheus,smith-chem-wisc/MetaMorpheus,hoffmann4/MetaMorpheus,rmillikin/MetaMorpheus,lonelu/MetaMorpheus
Test/CalibrationEngineTest.cs
Test/CalibrationEngineTest.cs
using InternalLogicCalibration; using InternalLogicEngineLayer; using MassSpectrometry; using NUnit.Framework; using OldInternalLogic; using Proteomics; using Spectra; using System.Collections.Generic; namespace Test { [TestFixture] public class CalibrationEngineTests { #region Public Methods ...
using InternalLogicCalibration; using InternalLogicEngineLayer; using MassSpectrometry; using NUnit.Framework; using OldInternalLogic; using Spectra; using System.Collections.Generic; namespace Test { [TestFixture] public class CalibrationEngineTests { #region Public Methods [Test] ...
mit
C#
f5d246e7c83385f425344e4af63b8777a8e3003a
Correct teardown for Qyoto tests
TobiasKappe/Selene,TobiasKappe/Selene
Selene.Testing/Harness.cs
Selene.Testing/Harness.cs
// Copyright (c) 2009 Tobias Kappé // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publis...
// Copyright (c) 2009 Tobias Kappé // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, modify, merge, publis...
mit
C#
cee8c9e3c9b870a6373aaf1e664e508a4dc1a13b
add license
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/UnityTools/UnityFind.cs
Unity/UnityTools/UnityFind.cs
/** MIT License Copyright (c) 2017 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
using UnityEngine; public static class UnityFind { public static GameObject GameObjectFind( GameObject _Obj , string _Name ) { if( null != _Obj ) { var trans = _Obj.transform.Find( _Name ); if( null != trans ) { return trans.gameObject ; } } return null ; } public static T ComponentFind...
mit
C#
c46364f1b40d417e9b1039fca06b46ea8f0d8d3f
Add docs and IndentIndex to State
exodrifter/unity-rumor
Parser/State.cs
Parser/State.cs
namespace Exodrifter.Rumor.Parser { /// <summary> /// Contains the state of a parsing operation. /// </summary> public class State { /// <summary> /// The contents of the source file that is being parsed. /// </summary> public string Source { get; } /// <summary> /// The current index in the source f...
namespace Exodrifter.Rumor.Parser { public class State { public string Source { get; } public int Index { get; } public State(string source, int index = 0) { Source = source; Index = index; } /// <summary> /// Makes a copy of another state except for the index. /// </summary> /// <param nam...
mit
C#
dbd70ed7af3e197073534b0a2c18c54011979c7c
Update default project to start an engine and tick a few times.
Simie/OpenAOE
Source/OpenAOE/Program.cs
Source/OpenAOE/Program.cs
using System; using System.Collections.Generic; using Ninject; using Ninject.Extensions.Logging; using Ninject.Extensions.Logging.NLog4; using OpenAOE.Engine; using OpenAOE.Engine.Entity; namespace OpenAOE { class Program { static void Main(string[] args) { var context = new Standa...
using System; using Ninject; using Ninject.Extensions.Logging; using Ninject.Extensions.Logging.NLog4; using OpenAOE.Engine; namespace OpenAOE { class Program { static void Main(string[] args) { var context = new StandardKernel( new NinjectSettings() ...
apache-2.0
C#
12accc841f4c4228b6af85895688884f7e987737
Debug CORS
WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework
Framework/Server/StartupFramework.cs
Framework/Server/StartupFramework.cs
namespace Framework.Server { using Framework.Application; using Framework.Config; using Framework.Dal.Memory; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System; /// <...
namespace Framework.Server { using Framework.Application; using Framework.Config; using Framework.Dal.Memory; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System; /// <...
mit
C#
3d5309209db20a0a9e61e5336f87af5d66f3a057
fix brace layout
NickStrupat/CacheLineSize.NET
Linux.cs
Linux.cs
using System; using System.Runtime.InteropServices; namespace NickStrupat { internal static class Linux { public static Int32 GetSize() => (Int32) sysconf(_SC_LEVEL1_DCACHE_LINESIZE); [DllImport("libc")] private static extern long sysconf(int name); private const ...
using System; using System.Runtime.InteropServices; namespace NickStrupat { internal static class Linux { public static Int32 GetSize() => (Int32) sysconf(_SC_LEVEL1_DCACHE_LINESIZE); [DllImport("libc")] private static extern long sysconf(int name); private const Int32 ...
mit
C#
43817f1bcb92bfc7bead0491ce864040817e8434
correct js for bundle
ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement
Commencement.Mvc/App_Start/BundleConfig.cs
Commencement.Mvc/App_Start/BundleConfig.cs
using System.Web; using System.Web.Optimization; namespace Commencement.Mvc { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundle...
using System.Web; using System.Web.Optimization; namespace Commencement.Mvc { public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundle...
mit
C#
ce70a58d5c598fca407ff7de9dc17e7b3fd861b8
Update SDK version to 4.2.0
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
ncmb_unity/Assets/NCMB/Script/CommonConstant.cs
/******* Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
/******* Copyright 2017-2020 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requir...
apache-2.0
C#
7991e48dac14cfc4d508d86495cff687f6fd5113
Add Team information to AccountInfo
DropNet/DropNet
DropNet/Models/AccountInfo.cs
DropNet/Models/AccountInfo.cs
namespace DropNet.Models { public class AccountInfo { public string referral_link { get; set; } public string country { get; set; } public string email { get; set; } public string display_name { get; set; } public QuotaInfo quota_info { get; set; } public long ui...
namespace DropNet.Models { public class AccountInfo { public string referral_link { get; set; } public string country { get; set; } public string email { get; set; } public string display_name { get; set; } public QuotaInfo quota_info { get; set; } public long ui...
apache-2.0
C#
ee38a0e62b57781100d984ab4944935c58000b9a
Improve replay test UI
SnpM/Lockstep-Framework,yanyiyun/LockstepFramework
Example/ExampleGameManager.cs
Example/ExampleGameManager.cs
using UnityEngine; using UnityEngine.SceneManagement; using System.Collections; using Lockstep.Data; using TypeReferences; using System; namespace Lockstep.Example { public class ExampleGameManager : GameManager { static Replay LastSave = new Replay(); void OnGUI() { GUI.m...
using UnityEngine; using UnityEngine.SceneManagement; using System.Collections; using Lockstep.Data; using TypeReferences; using System; namespace Lockstep.Example { public class ExampleGameManager : GameManager { Replay LastSave = new Replay(); void OnGUI () { GUI.matrix = Matrix4x4.TRS ...
mit
C#
7215f3f66b6c7891f7d9b8de14ff6ba7fe155ed8
Fix `CalculateAverageHitError` throwing if there are zero `HitEvent`s
peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu
osu.Game/Rulesets/Scoring/HitEventExtensions.cs
osu.Game/Rulesets/Scoring/HitEventExtensions.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 System.Collections.Generic; using System.Linq; namespace osu.Game.Rulesets.Scoring { public static class HitEventExtensions { /// <su...
// 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 System.Collections.Generic; using System.Linq; namespace osu.Game.Rulesets.Scoring { public static class HitEventExtensions { /// <su...
mit
C#
70dc51fe650e420a8d5aa3143bccc535126090f1
Update DbContextExtensions.cs
refactorthis/GraphDiff
GraphDiff/GraphDiff/DbContextExtensions.cs
GraphDiff/GraphDiff/DbContextExtensions.cs
/* * This code is provided as is with no warranty. If you find a bug please report it on github. * If you would like to use the code please leave this comment at the top of the page * License MIT (c) Brent McKendrick 2012 */ using System; using System.Data.Entity; using System.Linq.Expressions; using Ref...
/* * This code is provided as is with no warranty. If you find a bug please report it on github. * If you would like to use the code please leave this comment at the top of the page * License MIT (c) Brent McKendrick 2012 */ using System; using System.Data.Entity; using System.Linq.Expressions; using Ref...
mit
C#
e4b92dd6d9136b25ff4a9bf7aa2d82cf1f3ea337
Refactor to allow injection of custom version parsers
hinteadan/H.Versioning
H.Versioning/H.Versioning/VersionNumber.cs
H.Versioning/H.Versioning/VersionNumber.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Text; using H.Versioning.VersionNumberParsers; namespace H.Versioning { public sealed class VersionNumber { private static readonly ConcurrentStack<ICanParseVersionNumber> parsers = new ConcurrentStack<IC...
using System; using System.Text; using H.Versioning.VersionNumberParsers; namespace H.Versioning { public sealed class VersionNumber { public static readonly VersionNumber Unknown = new VersionNumber(0, 0, 0, 0, "unknown"); public readonly int Major; public readonly int Minor; ...
mit
C#
6e5df1db9b750cc7f86a0579f353fe80199d50e9
Bump v2.5.0
Gizeta/KanColleCacher
KanColleCacher/Properties/AssemblyInfo.cs
KanColleCacher/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using d_f_32.KanColleCacher; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle(AssemblyInfo.Title)] [assembly: AssemblyDescription(AssemblyInfo.Description)] [assembly: Assembl...
mit
C#
8a8e01759a89cf52a4fac009fc9236db9f797977
Fix GlobalSetupAttributeMethodsMustHaveNoParameters
adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/Benchmark...
tests/BenchmarkDotNet.IntegrationTests/GlobalSetupAttributeInvalidMethodTest.cs
tests/BenchmarkDotNet.IntegrationTests/GlobalSetupAttributeInvalidMethodTest.cs
using System; using System.Threading; using BenchmarkDotNet.Attributes; using Xunit; using Xunit.Abstractions; namespace BenchmarkDotNet.IntegrationTests { public class GlobalSetupAttributeInvalidMethodTest : BenchmarkTestExecutor { public GlobalSetupAttributeInvalidMethodTest(ITestOutputHelper output...
using System; using System.Threading; using BenchmarkDotNet.Attributes; using Xunit; using Xunit.Abstractions; namespace BenchmarkDotNet.IntegrationTests { public class GlobalSetupAttributeInvalidMethodTest : BenchmarkTestExecutor { public GlobalSetupAttributeInvalidMethodTest(ITestOutputHelper output...
mit
C#
4ea7a6643a5911d36ea7b279302607d252a917d2
Update src/Avalonia.Controls/Notifications/Notification.cs
AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalo...
src/Avalonia.Controls/Notifications/Notification.cs
src/Avalonia.Controls/Notifications/Notification.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Controls.Notifications { /// <summary> /// A notification that can be shown in a window or by the host operatin...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; namespace Avalonia.Controls.Notifications { /// <summary> /// A notification that can be shown in a window or by the host operatin...
mit
C#
3e2dcfbc469856a54faea8782a21474c06f9d720
Update XmlnsDefinitionsModel.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D
src/Core2D/Serializer/Xaml/XmlnsDefinitionsModel.cs
src/Core2D/Serializer/Xaml/XmlnsDefinitionsModel.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Serializer.Xaml; using Portable.Xaml.Markup; [assembly: XmlnsDefinition(XamlConstants.ModelNamespace, "Core2D", AssemblyName = "Core2D.Model")] [asse...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Portable.Xaml.Markup; using Core2D.Serializer.Xaml; [assembly: XmlnsDefinition(XamlConstants.ModelNamespace, "Core2D", AssemblyName = "Core2D.Model")] [asse...
mit
C#
66c65e75918b45c3f529a8e7ceaf080fe35daf1b
Fix typo in summary.
PenguinF/sandra-three
Sandra.UI.WF/Storage/FileNameType.cs
Sandra.UI.WF/Storage/FileNameType.cs
/********************************************************************************* * FileNameType.cs * * Copyright (c) 2004-2018 Henk Nicolai * * 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 ...
/********************************************************************************* * FileNameType.cs * * Copyright (c) 2004-2018 Henk Nicolai * * 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 ...
apache-2.0
C#
93a47eddda98f9c4551f382d3ac5937107c94a67
Check if column exist in table
cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium
Src/MvcPages/WebPages/WebTableRow.cs
Src/MvcPages/WebPages/WebTableRow.cs
using System; using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Remote; namespace Tellurium.MvcPages.WebPages { public class WebTableRow : WebElementCollection<PageFragment> { private readonly IWebElement webElement; private Dictionary<string, int> columnsMap; ...
using System; using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Remote; namespace Tellurium.MvcPages.WebPages { public class WebTableRow : WebElementCollection<PageFragment> { private readonly IWebElement webElement; private Dictionary<string, int> columnsMap; ...
mit
C#
34d0fac09a943d5a5abc87e8db6ee4478beec6c2
Update version
shana/octokit.net,SmithAndr/octokit.net,ivandrofly/octokit.net,eriawan/octokit.net,chunkychode/octokit.net,SmithAndr/octokit.net,gabrielweyer/octokit.net,michaKFromParis/octokit.net,octokit-net-test/octokit.net,SamTheDev/octokit.net,SamTheDev/octokit.net,eriawan/octokit.net,Sarmad93/octokit.net,Sarmad93/octokit.net,gdz...
SolutionInfo.cs
SolutionInfo.cs
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Octokit")] [assembly: AssemblyVersionAttribute("0.1.3")] [assembly: AssemblyFileVersionAttribute("0.1.3")] [assembly: ComVisibleAttribute(false)] namespace System { internal static class Assemb...
// <auto-generated/> using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyProductAttribute("Octokit")] [assembly: AssemblyVersionAttribute("0.1.2")] [assembly: AssemblyFileVersionAttribute("0.1.2")] [assembly: ComVisibleAttribute(false)] namespace System { internal static class Assemb...
mit
C#
87ec8ca7faf7c670ad1c84f905ba8b9b31cc3ae2
Document class and Matches method
oliverzick/Delizious-Filtering
src/Library/Match.T.cs
src/Library/Match.T.cs
#region Copyright and license // // <copyright file="Match.T.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not us...
#region Copyright and license // // <copyright file="Match.T.cs" company="Oliver Zick"> // // Copyright (c) 2016 Oliver Zick. All rights reserved. // // </copyright> // // <author>Oliver Zick</author> // // <license> // // Licensed under the Apache License, Version 2.0 (the "License"); // // you may not us...
apache-2.0
C#
14d37286ad880594f3b461bdbca50deec160c5e0
Fix tests with new enum values of Month
erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner
Zk.Tests/Controllers/CropControllerTest.cs
Zk.Tests/Controllers/CropControllerTest.cs
using System; using System.Linq; using System.Web.Mvc; using NUnit.Framework; using Zk.Controllers; using Zk.Models; using Zk.Repositories; using Zk.Tests.Fakes; namespace Zk.Tests.Controllers { [TestFixture] public class CropControllerTest { private CropController _controller; [TestFixtureSetUp] public voi...
using System; using System.Linq; using System.Web.Mvc; using NUnit.Framework; using Zk.Controllers; using Zk.Models; using Zk.Repositories; using Zk.Tests.Fakes; namespace Zk.Tests.Controllers { [TestFixture] public class CropControllerTest { private CropController _controller; [TestFixtureSetUp] public voi...
mit
C#
aee510b9f50243c1d1b923696d380be7345db629
Fix version
antoshkab/unity.wcf,ViceIce/unity.wcf
Unity.Wcf/Properties/AssemblyInfo.cs
Unity.Wcf/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("Unity.Wcf")] [assembly: AssemblyDe...
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("Unity.Wcf")] [assembly: AssemblyDe...
mit
C#
5cb812d621b71dab552bfa24191acb8917352e31
Add Windows auth to service, and authorize to the SpiderCrab Operators group
GingerTommy/SpiderCrab
src/SpiderCrab.Agent/App_Start/Startup.cs
src/SpiderCrab.Agent/App_Start/Startup.cs
namespace SpiderCrab.Agent { using Newtonsoft.Json.Serialization; using Ninject; using Ninject.Web.Common.OwinHost; using Ninject.Web.WebApi.OwinHost; using Owin; using Properties; using System; using System.Net; using System.Reflection; using System.Web.Http; ...
namespace SpiderCrab.Agent { using Ninject; using Ninject.Web.Common.OwinHost; using Ninject.Web.WebApi.OwinHost; using Owin; using Properties; using System.Reflection; using System.Web.Http; public class Startup { public void Configuration(IAppBuilder app) ...
mit
C#
c63a205867fe3223463cdb5d1e655a6422305905
Handle download exceptions when attempting to fetch update
webprofusion/Certify,ndouthit/Certify
src/Certify.UI/Utils/UpdateCheckUtils.cs
src/Certify.UI/Utils/UpdateCheckUtils.cs
using Certify.Locales; using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Certify.UI.Utils { public class UpdateCheckUtils { public async Task<Models.UpdateCheck> UpdateWithDownload() { Mouse.OverrideCursor = Cursors.Wait; ...
using Certify.Locales; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Certify.UI.Utils { public class UpdateCheckUtils { public async Task<Models.UpdateCheck> UpdateWithDownload() { Mouse.OverrideCursor = Cursors.Wait; var upda...
mit
C#
81bad76b04763e0fb73cb850db1cbd46d635b21f
Bump to v0.5
nickbabcock/Pdoxcl2Sharp
SharedAssemblyVersion.cs
SharedAssemblyVersion.cs
using System.Reflection; [assembly: AssemblyTitle("Pdoxcl2Sharp")] [assembly: AssemblyDescription("A Paradox Interactive general file parser.")] [assembly: AssemblyCompany("NBSoftSolutions")] [assembly: AssemblyProduct("Pdoxcl2Sharp")] [assembly: AssemblyCopyright("Copyright (C) Nick Babcock")] [assembly: AssemblyVer...
using System.Reflection; [assembly: AssemblyTitle("Pdoxcl2Sharp")] [assembly: AssemblyDescription("A Paradox Interactive general file parser.")] [assembly: AssemblyCompany("NBSoftSolutions")] [assembly: AssemblyProduct("Pdoxcl2Sharp")] [assembly: AssemblyCopyright("Copyright (C) Nick Babcock")] [assembly: AssemblyVer...
mit
C#
92c2b0e7717061da29fbe572891f3c2998bad32c
Fix SampleGame.iOS not using GameUIApplication
peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework
SampleGame.iOS/Application.cs
SampleGame.iOS/Application.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 UIKit; namespace SampleGame.iOS { public class Application { // This is the main entry point of the application. public static void Main(s...
// 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 UIKit; namespace SampleGame.iOS { public class Application { // This is the main entry point of the application. public static void Main(s...
mit
C#
42c166cdcd73683a17b69bd2a40441e9c35a0999
Send index.html for any unknown paths
Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget
src/DocNuget/Startup.cs
src/DocNuget/Startup.cs
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.StaticFiles; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Logging; using Newtonsoft.Json; namespace DocNuget { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.StaticFiles; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Logging; using Newtonsoft.Json; namespace DocNuget { public class Startup { public void ConfigureServices(IServiceCollection...
mit
C#
6e6f232d3731f52d9493f10c2dd20cace0d1d244
Support RFC DateTime in Azure generator too
Azure/autorest,balajikris/autorest,brjohnstmsft/autorest,matt-gibbs/AutoRest,csmengwan/autorest,garimakhulbe/autorest,sharadagarwal/autorest,anudeepsharma/autorest,Azure/azure-sdk-for-java,matthchr/autorest,fhoring/autorest,yaqiyang/autorest,sergey-shandar/autorest,veronicagg/autorest,xingwu1/autorest,navalev/azure-sdk...
AutoRest/Generators/CSharp/Azure.CSharp/Templates/AzureMethodGroupTemplate.cshtml
AutoRest/Generators/CSharp/Azure.CSharp/Templates/AzureMethodGroupTemplate.cshtml
@using Microsoft.Rest.Generator.CSharp @using Microsoft.Rest.Generator.CSharp.Templates @using Microsoft.Rest.Generator.CSharp.Azure @using Microsoft.Rest.Generator.CSharp.Azure.Templates @inherits Microsoft.Rest.Generator.Template<Microsoft.Rest.Generator.CSharp.Azure.AzureMethodGroupTemplateModel> @Header("// ") @Em...
@using Microsoft.Rest.Generator.CSharp @using Microsoft.Rest.Generator.CSharp.Templates @using Microsoft.Rest.Generator.CSharp.Azure @using Microsoft.Rest.Generator.CSharp.Azure.Templates @inherits Microsoft.Rest.Generator.Template<Microsoft.Rest.Generator.CSharp.Azure.AzureMethodGroupTemplateModel> @Header("// ") @Em...
mit
C#
42c94c6f528626470c9cba00b69f85d42e072670
Speed up file writing
avao/Qart,mcraveiro/Qart,tudway/Qart
Src/Qart.Core/Io/FileUtils.cs
Src/Qart.Core/Io/FileUtils.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Qart.Core.Io { public static class FileUtils { public static void EnsureCanBeWritten(string path) { Directory.Crea...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Qart.Core.Io { public static class FileUtils { public static void EnsureCanBeWritten(string path) { string dirName...
apache-2.0
C#
b3ef1336cf1986aab6992126906891894730f7a1
Use IBasicProperties#SetPersistent
SaiNadh001/rabbitmq-tutorials,bwong199/rabbitmq-tutorials,bwong199/rabbitmq-tutorials,thoven78/rabbitmq-tutorials,fams/rabbitmq-tutorials,fengjx/rabbitmq-tutorials,yepesasecas/rabbitmq-tutorials,borna2exl/rabbitmq-tutorials,tkssharma/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,yepesasecas/rabbitmq-tutorials,mixmar91...
dotnet/NewTask.cs
dotnet/NewTask.cs
using System; using RabbitMQ.Client; using System.Text; class NewTask { public static void Main(string[] args) { var factory = new ConnectionFactory() { HostName = "localhost" }; using (var connection = factory.CreateConnection()) { using (var channel = connection.CreateMode...
using System; using RabbitMQ.Client; using System.Text; class NewTask { public static void Main(string[] args) { var factory = new ConnectionFactory() { HostName = "localhost" }; using (var connection = factory.CreateConnection()) { using (var channel = connection.CreateMode...
apache-2.0
C#
c594b30c76f7f87132a6a4495ee246d78e95e63a
Use 3x3x3.vox as default example
Arlorean/Voxels
Voxels.CommandLine/Program.cs
Voxels.CommandLine/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Voxels.SkiaSharp; namespace Voxels.CommandLine { class Program { static void Main(string[] args) { var filename = args.Length == 1 ? args[0] : "3x3x3.vox"; ...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Voxels.SkiaSharp; namespace Voxels.CommandLine { class Program { static void Main(string[] args) { var filename = args.Length == 1 ? args[0] : "monu9.vox"; // "3x3x...
mit
C#
47bf769c6fb25fb85923b0b32d88d593456975c7
refactor DeleteTriggerFromJob to DeleteTrigger
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IQuartzManagementService.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IQuartzManagementService.cs
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.QuartzManagement; using PS.Mothership.Core.Common.Enums.QuartzManagement; using Quartz; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership...
using PS.Mothership.Core.Common.Constructs; using PS.Mothership.Core.Common.Dto.DynamicRequest; using PS.Mothership.Core.Common.Dto.QuartzManagement; using PS.Mothership.Core.Common.Enums.QuartzManagement; using Quartz; using System; using System.Collections.Generic; using System.ServiceModel; namespace PS.Mothership...
mit
C#
4395ef4e937ad445f7bd334e42cc0f9141b1a67f
Add HSTS header too.
qinxgit/azure-ssl-configure,qinxgit/azure-ssl-configure,qinxgit/azure-ssl-configure
AzureCloudServiceSample/WebRoleSample/Global.asax.cs
AzureCloudServiceSample/WebRoleSample/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace WebRoleSample { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace WebRoleSample { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
mit
C#
e073dd26d3f5fa49d0a5470bfd42f01c1f05fb32
Fix for editing measurements
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/ABCP/Measurements.cshtml
Battery-Commander.Web/Views/ABCP/Measurements.cshtml
@model ABCP @{ if(!Model.Measurements.Any()) { Model.Measurements = new[] { new ABCP.Measurement{ }, new ABCP.Measurement{ }, new ABCP.Measurement{ } }; } } <panel class="panel"> <div class="panel-heading"> <h1>ABCP for @Html.Display...
@model ABCP <panel class="panel"> <div class="panel-heading"> <h1>ABCP for @Html.DisplayFor(model => model.Soldier) on @Html.DisplayFor(model => model.Date)</h1> </div> @using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.HiddenFor(model => model.Id) <table> ...
mit
C#
e42e8bd5620254d2ce39937b1d50c099ae2ba7c0
Fix the expected / actual order to correct the message
Tragetaschen/DbusCore
src/Dbus/ReceivedMessage.cs
src/Dbus/ReceivedMessage.cs
using System; using System.IO; using System.Runtime.InteropServices; namespace Dbus { public class ReceivedMessage : IDisposable { private readonly MessageHeader messageHeader; public ReceivedMessage( MessageHeader messageHeader, Decoder decoder ) { ...
using System; using System.IO; using System.Runtime.InteropServices; namespace Dbus { public class ReceivedMessage : IDisposable { private readonly MessageHeader messageHeader; public ReceivedMessage( MessageHeader messageHeader, Decoder decoder ) { ...
mit
C#
ca1ccaf17873916936c76221f24f96cc0afca2df
fix open log folder not working for private channels
AerysBat/slimCat,WreckedAvent/slimCat
slimCat/Commands/Channel/OpenLogCommand.cs
slimCat/Commands/Channel/OpenLogCommand.cs
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="OpenLogCommand.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // P...
#region Copyright // -------------------------------------------------------------------------------------------------------------------- // <copyright file="OpenLogCommand.cs"> // Copyright (c) 2013, Justin Kadrovach, All rights reserved. // // This source is subject to the Simplified BSD License. // P...
bsd-2-clause
C#
bebba2a11394e8d7e3015e18836a1064af64704f
Make UnrootedConnectionsGetRemovedFromHeartbeat test less flaky (#1727)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNetCore.Server.Kestrel.Core.Tests/FrameConnectionManagerTests.cs
test/Microsoft.AspNetCore.Server.Kestrel.Core.Tests/FrameConnectionManagerTests.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.Runtime.CompilerServices; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel...
// 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.Runtime.CompilerServices; using Microsoft.AspNetCore.Server.Kestrel.Core.Internal; using Microsoft.AspNetCore.Server.Kestrel...
apache-2.0
C#
5171f7610c2246ffc3a8c64e036e824adfda8daf
Update AssemblyInfo.cs
wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter,wieslawsoltes/SimpleWavSplitter
SimpleWavSplitter.Console/Properties/AssemblyInfo.cs
SimpleWavSplitter.Console/Properties/AssemblyInfo.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled throu...
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...
mit
C#
071c52f55c1332e58a3bea4fc8d1893dc96f711e
Test the publish/connect methods on IConnectableObservable.
georgebearden/ReactiveTests
Source/ReactiveTests/Tests/HotColdObservableTests.cs
Source/ReactiveTests/Tests/HotColdObservableTests.cs
using NUnit.Framework; using System; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; namespace ReactiveTests.Tests { public class HotColdObservableTests { /// <summary> /// A cold observable will create a new instance of the observable sequence /// from the specif...
using NUnit.Framework; using System; using System.Reactive; using System.Reactive.Disposables; using System.Reactive.Linq; namespace ReactiveTests.Tests { public class HotColdObservableTests { /// <summary> /// A cold observable will create a new instance of the observable sequence /// from the specif...
mit
C#
6ffabed421ff3351176acc7208cdc2c875285edf
add tracing for opening couchbase connection
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
Tweek.ApiService/Services/BucketConnectionIsAlive.cs
Tweek.ApiService/Services/BucketConnectionIsAlive.cs
using System; using System.Diagnostics; using Couchbase; using Couchbase.Core; using Tweek.ApiService.Interfaces; namespace Tweek.ApiService.Services { public class BucketConnectionIsAlive : IDisposable, IDiagnosticsProvider { public string Name { get; } = "CouchbaseConnectionIsAlive"; privat...
using System; using Couchbase; using Couchbase.Core; using Tweek.ApiService.Interfaces; namespace Tweek.ApiService.Services { public class BucketConnectionIsAlive : IDisposable, IDiagnosticsProvider { public string Name { get; } = "CouchbaseConnectionIsAlive"; private readonly Cluster _cluste...
mit
C#
5df3e9756957683a06d18adc771375802f858377
Update ObservableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/ObservableExtensions.cs
src/ObservableExtensions.cs
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { /// <summary> /// Returns the current value of an observable with the previous value. /// </summar...
using System; using System.Reactive.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains extension methods for working with observables. /// </summary> public static class ObservableExtensions { /// <summary> /// Returns the current value of an observable with the previous value. /// </summar...
apache-2.0
C#
5403960e863327ce33c9d05f66aeff95b26706c6
update version number
OpenRA/tao,mono/tao,OpenRA/tao,mono/tao
src/Tao.Sdl/AssemblyInfo.cs
src/Tao.Sdl/AssemblyInfo.cs
#region License /* MIT License Copyright 2003-2005 Tao Framework Team http://www.taoframework.com 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 without restriction,...
#region License /* MIT License Copyright 2003-2005 Tao Framework Team http://www.taoframework.com 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 without restriction,...
mit
C#
1fbf35c3aa87a4f65e983b412e2cb805256c20d4
add stop watch to Program
jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad,jmrnilsson/efpad
c_scaffold/Program.cs
c_scaffold/Program.cs
using System; using System.Linq; using System.Diagnostics; using System.Collections.Generic; using Microsoft.Data.Entity; namespace c_scaffold { public class Program { public static void Main() { using (var db = new blogContext()) { var stopWatch = new St...
using System; using System.Linq; using System.Collections.Generic; using Microsoft.Data.Entity; namespace c_scaffold { public class Program { public static void Main() { using (var db = new blogContext()) { var start = DateTime.UtcNow; var...
mit
C#
060c1b780366fec06bf938806d16f46ca2363c4b
Add additional properties to Company
sevenshadow/sevenshadow-tagnifi
Company.cs
Company.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Web; using System.Runtime.Serialization; namespace SevenShadow.TagniFi { [DataContract(Name = "company")] public class Company { [DataMember(Name = "id")] ...
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Web; using System.Runtime.Serialization; namespace SevenShadow.TagniFi { [DataContract(Name = "company")] public class Company { [DataMember(Name = "id")] ...
mit
C#
9eb0773bd0935d500118c833f97f26fc9b1d697c
Update HtmlTextNode.cs
zzzprojects/html-agility-pack,zzzprojects/html-agility-pack
src/HtmlAgilityPack.Shared/HtmlTextNode.cs
src/HtmlAgilityPack.Shared/HtmlTextNode.cs
// Description: Html Agility Pack - HTML Parsers, selectors, traversors, manupulators. // Website & Documentation: http://html-agility-pack.net // Forum & Issues: https://github.com/zzzprojects/html-agility-pack // License: https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE // More projects: http://ww...
// Description: Html Agility Pack - HTML Parsers, selectors, traversors, manupulators. // Website & Documentation: http://html-agility-pack.net // Forum & Issues: https://github.com/zzzprojects/html-agility-pack // License: https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE // More projects: http://ww...
mit
C#
c06c1aecb82613c2ce193d574502f7fc57536993
make member variables readonly
icarus-consulting/Yaapii.Atoms
src/Yaapii.Atoms/IO/LoggingOutputStream.cs
src/Yaapii.Atoms/IO/LoggingOutputStream.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using Yaapii.Atoms.Scalar; namespace Yaapii.Atoms.IO { public sealed class LoggingOutputStream : Stream { private readonly Stream origin; private readonly string destination; p...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; namespace Yaapii.Atoms.IO { public sealed class LoggingOutputStream : Stream { private readonly Stream origin; private readonly string destination; private long bytes; ...
mit
C#
36191dd71879fb4aced27f4e55ee747c733c6a22
Check ResolutionScope for ModuleRef/Def before resolving an assembly
ilkerhalil/dnlib,picrap/dnlib,ZixiangBoy/dnlib,yck1509/dnlib,jorik041/dnlib,Arthur2e5/dnlib,modulexcite/dnlib,kiootic/dnlib,0xd4d/dnlib
src/DotNet/Resolver.cs
src/DotNet/Resolver.cs
using dot10.DotNet.MD; namespace dot10.DotNet { /// <summary> /// Resolves types, methods, fields /// </summary> public class Resolver : IResolver { IAssemblyResolver assemblyResolver; /// <summary> /// Constructor /// </summary> /// <param name="assemblyResolver">The assembly resolver</param> public...
using dot10.DotNet.MD; namespace dot10.DotNet { /// <summary> /// Resolves types, methods, fields /// </summary> public class Resolver : IResolver { IAssemblyResolver assemblyResolver; /// <summary> /// Constructor /// </summary> /// <param name="assemblyResolver">The assembly resolver</param> public...
mit
C#
fa6bab479ae27e6704fae5d132790832e0be7f7f
Fix "Pack" step to be dependent on the "Test" step
HangfireIO/Cronos
build.cake
build.cake
#tool "nuget:?package=xunit.runner.console" #addin "Cake.FileHelpers" // Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead! var version = "0.2.0"; var configuration = Argument("configuration", "Release"); var newVersion = Argument("newVersion", version); var target = Argument("...
#tool "nuget:?package=xunit.runner.console" #addin "Cake.FileHelpers" // Don't edit manually! Use `.\build.ps1 -ScriptArgs '--newVersion="*.*.*"'` command instead! var version = "0.2.0"; var configuration = Argument("configuration", "Release"); var newVersion = Argument("newVersion", version); var target = Argument("...
mit
C#
2b8d41afc14675fc9fd4b96852cb9a19645f0e6b
Fix branch <-> repo switch
agc93/Cake.VisualStudio,agc93/Cake.VisualStudio
build.cake
build.cake
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////////////////////////...
/////////////////////////////////////////////////////////////////////////////// // ARGUMENTS /////////////////////////////////////////////////////////////////////////////// var target = Argument("target", "Default"); var configuration = Argument("configuration", "Release"); ///////////////////////////////////////////...
mit
C#
42b95019dc440711fc32b1e6f0e1eb0823ee5745
fix for running test target.
masteryee/protoactor-dotnet,masteryee/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,tomliversidge/protoactor-dotnet,raskolnikoov/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,AsynkronIT/protoactor-dotnet,raskolnikoov/protoactor-dotnet,tomliversidge/protoactor-dotnet
build.cake
build.cake
#addin Cake.Git var packageVersion = "0.1.8"; var target = Argument("target", "Default"); var mygetApiKey = Argument<string>("mygetApiKey", null); var currentBranch = Argument<string>("currentBranch", GitBranchCurrent("./").FriendlyName); var buildNumber = Argument<string>("buildNumber", null); var configuration = "R...
#addin Cake.Git var packageVersion = "0.1.8"; var target = Argument("target", "Default"); var mygetApiKey = Argument<string>("mygetApiKey", null); var currentBranch = Argument<string>("currentBranch", GitBranchCurrent("./").FriendlyName); var buildNumber = Argument<string>("buildNumber", null); var versionSuffix = "...
apache-2.0
C#
4f7d37306a4f4b4a47db14de39148caaf363beca
prepare for release to 3.7
bjartebore/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,yamamoWorks/azure-activedirectory-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/mi...
src/ADAL.Common/CommonAssemblyInfo.cs
src/ADAL.Common/CommonAssemblyInfo.cs
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
//---------------------------------------------------------------------- // Copyright (c) Microsoft Open Technologies, Inc. // All Rights Reserved // Apache License 2.0 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
mit
C#
da35920df25f36d1ea7a8b1f7f2bad5195a10c1e
Update DavidHall.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/DavidHall.cs
src/Firehose.Web/Authors/DavidHall.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 DavidHall : IAmACommunityMember { public string FirstName => "David"; public string LastNam...
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 DavidHall : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "David"; p...
mit
C#
b73a1c8957443fdc8d898f620a20e02fa83dbb19
Update @peterfoot with new URLs (#662)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/PeterFoot.cs
src/Firehose.Web/Authors/PeterFoot.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class PeterFoot : IAmAMicrosoftMVP { public string FirstName => "Peter"; public string LastName => "Foot"; public string StateOrRegion => "United Kingdom"; public string EmailAddress...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class PeterFoot : IAmAMicrosoftMVP { public string FirstName => "Peter"; public string LastName => "Foot"; public string StateOrRegion => "United Kingdom"; public string EmailAddress...
mit
C#
3378ec6a843e62faa8f109a548893c0926e17bf4
Add new property to LastTag
realworld666/lastfm,Brijen/lastfm
src/IF.Lastfm.Core/Objects/LastTag.cs
src/IF.Lastfm.Core/Objects/LastTag.cs
using System; using Newtonsoft.Json.Linq; namespace IF.Lastfm.Core.Objects { public class LastTag : ILastfmObject { #region Properties public string Name { get; set; } public Uri Url { get; set; } public int? Count { get; set; } public string RelatedTo { get...
using System; using Newtonsoft.Json.Linq; namespace IF.Lastfm.Core.Objects { public class LastTag : ILastfmObject { #region Properties public string Name { get; set; } public Uri Url { get; set; } public int? Count { get; set; } public string RelatedTo { get...
mit
C#
79e1cd1cfad93e463886df9bac6907a016c85576
Fix support for Npgsql6 provider (#3064)
fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/n...
src/NHibernate/Driver/NpgsqlDriver.cs
src/NHibernate/Driver/NpgsqlDriver.cs
using System.Data; using System.Data.Common; using NHibernate.AdoNet; namespace NHibernate.Driver { /// <summary> /// The PostgreSQL data provider provides a database driver for PostgreSQL. /// <p> /// Author: <a href="mailto:oliver@weichhold.com">Oliver Weichhold</a> /// </p> /// </summary> /// <remarks> /// ...
using System.Data; using System.Data.Common; using NHibernate.AdoNet; namespace NHibernate.Driver { /// <summary> /// The PostgreSQL data provider provides a database driver for PostgreSQL. /// <p> /// Author: <a href="mailto:oliver@weichhold.com">Oliver Weichhold</a> /// </p> /// </summary> /// <remarks> /// ...
lgpl-2.1
C#
f582266df162efb71416e327c63b9b4278054ce2
cover more equals possibilities
fealty/Frost
Frost/Testing.cs
Frost/Testing.cs
// Copyright (c) 2012, Joshua Burke // All rights reserved. // // See LICENSE for more information. using System; using System.Diagnostics.Contracts; using System.Reflection; #if(UNIT_TESTING) namespace Frost { internal class FactAttribute : Xunit.FactAttribute { } internal class Assert : Xunit.Assert { pu...
// Copyright (c) 2012, Joshua Burke // All rights reserved. // // See LICENSE for more information. using System.Diagnostics.Contracts; using System.Reflection; #if(UNIT_TESTING) namespace Frost { internal class FactAttribute : Xunit.FactAttribute { } internal class Assert : Xunit.Assert { public static vo...
bsd-2-clause
C#
17af7989003c66c6c931ee177a08116b7037f86f
Remove UnityEngine.UI dependency.
unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter
proto.com.unity.formats.alembic/Runtime/Scripts/Importer/AlembicStreamDescriptor.cs
proto.com.unity.formats.alembic/Runtime/Scripts/Importer/AlembicStreamDescriptor.cs
using UnityEngine; namespace UnityEngine.Formats.Alembic.Importer { internal class AlembicStreamDescriptor : ScriptableObject { [SerializeField] private string pathToAbc; public string PathToAbc { get { return pathToAbc; } set { pathToAbc = value; } ...
using UnityEngine; using UnityEngine.UI; namespace UnityEngine.Formats.Alembic.Importer { internal class AlembicStreamDescriptor : ScriptableObject { [SerializeField] private string pathToAbc; public string PathToAbc { get { return pathToAbc; } set { path...
mit
C#
3e4da419ca8788d28d908b3356c6a632cfd87bde
update assembly version
agileharbor/shipStationAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShipStationAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) Agile Harbor, LLC" ) ] [ assembly : Assembly...
bsd-3-clause
C#
65fbb600e4dac9bb331cbfc367b9a5dd56bebea9
Add TODO comment to remind to revert
AmadeusW/roslyn,eriawan/roslyn,KevinRansom/roslyn,stephentoub/roslyn,KirillOsenkov/roslyn,KevinRansom/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,diryboy/roslyn,jasonmalinowski/roslyn,brettfo/roslyn,genlu/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,stephentoub/roslyn,AlekseyTs/roslyn,aelij/roslyn,shyamnamboodiri...
src/Features/LanguageServer/Protocol/Handler/References/FindAllReferencesHandler.cs
src/Features/LanguageServer/Protocol/Handler/References/FindAllReferencesHandler.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.Composition; using System.Diagnostics; using System.Threading; using S...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable enable using System; using System.Composition; using System.Diagnostics; using System.Threading; using S...
mit
C#
80902778807faacb0fb1a87e458afceefdd3b6f9
Fix - Corretto generatore di codici richiesta
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/Utility/GetMaxCodice.cs
src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/Utility/GetMaxCodice.cs
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Soccorso; using System; using System.Linq; namespace SO115App.Persistence.MongoDB.GestioneInterventi.Utility { public class GetMaxCodice { private readonly DbContext _dbContext; public GetMaxCodice(DbContext dbC...
using MongoDB.Driver; using Persistence.MongoDB; using SO115App.API.Models.Classi.Soccorso; using System; using System.Linq; namespace SO115App.Persistence.MongoDB.GestioneInterventi.Utility { public class GetMaxCodice { private readonly DbContext _dbContext; public GetMaxCodice(DbContext dbC...
agpl-3.0
C#
915b3e4ba839904c008d846c8f26086fae69fd6b
Format HexColor.cs and remove setters from properties.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Common/HexColor.cs
src/NadekoBot/Common/HexColor.cs
using System.Globalization; using System.Text.RegularExpressions; using Discord; namespace Mitternacht.Common { public class HexColor { public byte Red { get; } public byte Green { get; } public byte Blue { get; } public HexColor(byte red, byte green, byte blue) { Red = red; Green = g...
using System; using System.Globalization; using System.Text.RegularExpressions; using Discord; namespace Mitternacht.Common { public class HexColor { public byte Red { get; set; } public byte Green { get; set; } public byte Blue { get; set; } public HexColor(byte red, byte gre...
mit
C#
f1dab946fff325ae420f87364a2636af4293316f
Remove need to trim query string
johnneijzen/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,EVAST9919/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,ppy/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,2y...
osu.Game/Online/API/Requests/GetScoresRequest.cs
osu.Game/Online/API/Requests/GetScoresRequest.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.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Responses; using osu.Game....
// 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.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Responses; using osu.Game....
mit
C#
ec334f91cb6b0863f50e62dc0bce13de54cb611d
Revise RayGun registration
unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,jlewin/M...
Program.cs
Program.cs
using System; using System.Globalization; using System.IO; using System.Threading; using MatterHackers.Agg.Platform; using MatterHackers.MatterControl.DataStorage; using MatterHackers.MatterControl.SettingsManagement; using Mindscape.Raygun4Net; namespace MatterHackers.MatterControl { static class Program { priva...
using System; using System.Globalization; using System.IO; using System.Threading; using MatterHackers.Agg.Platform; using MatterHackers.MatterControl.DataStorage; using MatterHackers.MatterControl.SettingsManagement; using Mindscape.Raygun4Net; namespace MatterHackers.MatterControl { static class Program { priva...
bsd-2-clause
C#
9c44d202d5eb1e8c35ecd5105af532b6d1c8a8f9
Change the deployment structure a bit
jacksonh/MCloud,jacksonh/MCloud
src/MCloud.Deploy/ScriptDeployment.cs
src/MCloud.Deploy/ScriptDeployment.cs
using System; using Tamir.SharpSsh; namespace MCloud { public class ScriptDeployment : PutFileDeployment { public ScriptDeployment (string local) : base (local) { } public ScriptDeployment (string local, string remote_dir) : base (local, remote_dir) { } protected override void RunImpl (Node node,...
using System; using Tamir.SharpSsh; namespace MCloud { public class ScriptDeployment : SSHDeployment { public ScriptDeployment (string local_path) : this (local_path, String.Concat ("/root/", local_path)) { } public ScriptDeployment (string local_path, string remote_path) { LocalScriptPath = local_...
mit
C#
b22c4e794e645def78c15fc9af327f242c11503c
Add facebook href.
bigfont/sweet-water-revolver
mvcWebApp/Views/Home/_ExternalLinks.cshtml
mvcWebApp/Views/Home/_ExternalLinks.cshtml
<section class="container"> <div id="our-external-links"> @*href="https://myspace.com/sweetwaterrevolver" href="https://www.facebook.com/pages/Sweet-Water-Revolver/390852040983091" href="http://www.reverbnation.com/sweetwaterrevolver"*@ <a href="https://www.facebook.com...
<section class="container"> <div id="our-external-links"> @*href="https://myspace.com/sweetwaterrevolver" href="https://www.facebook.com/pages/Sweet-Water-Revolver/390852040983091" href="http://www.reverbnation.com/sweetwaterrevolver"*@ <a href=""><i class="fa fa-facebo...
mit
C#
52d25bf07ebfc19270f51c0465029fb06ba9eb38
Refactor puzzle 2
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle002.cs
src/ProjectEuler/Puzzles/Puzzle002.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Collections.Generic; /// <summary> /// A class repres...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System; using System.Collections.Generic; using System.Linq; /// <summary>...
apache-2.0
C#
30e7846e200d7b3fdc02767c86b79f3c0a0c9fb8
modify create view to match edit view
OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev
web/AlphaDev.Web/Views/Posts/Create.cshtml
web/AlphaDev.Web/Views/Posts/Create.cshtml
@model AlphaDev.Web.Models.CreatePostViewModel @{ ViewBag.Title = "Create Post"; } @section styles { <link href="~/lib/bootstrap-markdown/css/bootstrap-markdown.min.css" rel="stylesheet"/> } <form id="createForm" method="post"> <div class="text-center"> <span asp-validation-for="Title" class="t...
@model AlphaDev.Web.Models.CreatePostViewModel @{ ViewBag.Title = "Create Post"; } @section styles { <link href="~/lib/bootstrap-markdown/css/bootstrap-markdown.min.css" rel="stylesheet"/> } <h1 class="text-center">Create Post</h1> <form id="createForm" method="post"> <div class="col-lg-12"> <di...
unlicense
C#
9f5649fb85babc1c24d1cf13d17e1f17e52c7970
Update PrateekSingh.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/PrateekSingh.cs
src/Firehose.Web/Authors/PrateekSingh.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 PrateekSingh : IFilterMyBlogPosts, IAmACommunityMember { public string FirstName => "Prateek"; ...
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 PrateekSingh : IFilterMyBlogPosts, IAmACommunityMember { public string FirstName => "Prateek"; ...
mit
C#
ca81547cd72fd513d0a7352824ec43b4413ab91c
Make MDToken public
kiootic/dnlib,picrap/dnlib,ilkerhalil/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,yck1509/dnlib,modulexcite/dnlib,jorik041/dnlib
dot10/dotNET/MDToken.cs
dot10/dotNET/MDToken.cs
using System; namespace dot10.dotNET { /// <summary> /// MetaData token /// </summary> public struct MDToken : IEquatable<MDToken>, IComparable<MDToken> { uint token; /// <summary> /// Returns the table type /// </summary> public Table Table { get { return (Table)(token >> 24); } } /// <summary...
using System; namespace dot10.dotNET { /// <summary> /// MetaData token /// </summary> struct MDToken : IEquatable<MDToken>, IComparable<MDToken> { uint token; /// <summary> /// Returns the table type /// </summary> public Table Table { get { return (Table)(token >> 24); } } /// <summary> ///...
mit
C#
63913bc353675d8b420b83b26ab837c81be66a17
Add new test
jamesmontemagno/app-coffeecups
UITests/Tests.cs
UITests/Tests.cs
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace CoffeeCups.UITests { [TestFixture(Platform.Android)] [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Test...
using System; using System.IO; using System.Linq; using NUnit.Framework; using Xamarin.UITest; using Xamarin.UITest.Queries; namespace CoffeeCups.UITests { [TestFixture(Platform.Android)] [TestFixture(Platform.iOS)] public class Tests { IApp app; Platform platform; public Test...
mit
C#
fa7a433e59093e4a3cfee4a73f486ed1ac94bf7e
Remove NavMeshAgent handling from decision script (not its role)
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
apache-2.0
C#
b2a707053b99c518435b7aa46b40abac1106f135
Add expires_at parameter to Collaboration request params (#445)
box/box-windows-sdk-v2
Box.V2/Models/Request/BoxCollaborationRequest.cs
Box.V2/Models/Request/BoxCollaborationRequest.cs
using Newtonsoft.Json; using System; namespace Box.V2.Models { /// <summary> /// A request class for collaboration requests /// </summary> public class BoxCollaborationRequest : BoxRequestEntity { /// <summary> /// The item to add the collaboration on /// The ID and Type ar...
using Newtonsoft.Json; namespace Box.V2.Models { /// <summary> /// A request class for collaboration requests /// </summary> public class BoxCollaborationRequest : BoxRequestEntity { /// <summary> /// The item to add the collaboration on /// The ID and Type are required. Th...
apache-2.0
C#
f5d6061c8653038e6c0d8d6ccab6c09df1d10fb6
fix test
wikibus/Argolis
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
using System; using System.Collections.Generic; using System.Reflection; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetr...
using System; using System.Collections.Generic; using System.Reflection; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetr...
mit
C#
0dd39d7f1e3746878fc28589962910c3cf41aff0
Change for issue #142
louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext
LanguageExt.Process/ActorSys/Deserialise.cs
LanguageExt.Process/ActorSys/Deserialise.cs
using Newtonsoft.Json; using System; using System.Reflection; using LanguageExt.Trans; using static LanguageExt.Prelude; namespace LanguageExt { /// <summary> /// Helper function for invoking the generic JsonConvert.DeserializeObject function /// instead of the variant that takes a Type argument. This fo...
using Newtonsoft.Json; using System; using System.Reflection; using LanguageExt.Trans; using static LanguageExt.Prelude; namespace LanguageExt { /// <summary> /// Helper function for invoking the generic JsonConvert.DeserializeObject function /// instead of the variant that takes a Type argument. This fo...
mit
C#
dc7ada245a424152352afe2163e997d8698096ff
Bump version.
kyourek/Pagination,kyourek/Pagination,kyourek/Pagination
sln/Pagination/Properties/AssemblyInfo.cs
sln/Pagination/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Pagination")] [assembly: AssemblyDescription("Pagination")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ken Yourek")] [assembly: AssemblyProduct("Pagination")] [assembly...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Pagination")] [assembly: AssemblyDescription("Pagination")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ken Yourek")] [assembly: AssemblyProduct("Pagination")] [assembly...
mit
C#
b123395ac71ed898ea7a7dfd5bd0698cdb6dbe56
Fix correct count 6 -> 7
darkestspirit/IdentityServer3.Contrib.Localization,johnkors/IdentityServer3.Contrib.Localization,Utdanningsdirektoratet/IdentityServer3.Contrib.Localization,totpero/IdentityServer3.Contrib.Localization,IdentityServer/IdentityServer3.Contrib.Localization
source/Unittests/AvailableTranslations.cs
source/Unittests/AvailableTranslations.cs
using System.Linq; using Thinktecture.IdentityServer.Core.Services.Contrib; using Xunit; namespace Unittests { public class AvailableTranslations { [Theory] [InlineData("Default")] [InlineData("pirate")] [InlineData("nb-NO")] [InlineData("tr-TR")] [InlineData("de...
using System.Linq; using Thinktecture.IdentityServer.Core.Services.Contrib; using Xunit; namespace Unittests { public class AvailableTranslations { [Theory] [InlineData("Default")] [InlineData("pirate")] [InlineData("nb-NO")] [InlineData("tr-TR")] [InlineData("de...
mit
C#
af12e3de8d7c884e89e6e8d462746024092fbc4f
Use room name as "identifier"
DragonEyes7/ConcoursUBI17,DragonEyes7/ConcoursUBI17
Proto/Assets/Scripts/Time/TimeController.cs
Proto/Assets/Scripts/Time/TimeController.cs
using UnityEngine; public class TimeController : MonoBehaviour { public MultipleDelegate Tick = new MultipleDelegate(); public MultipleDelegate End = new MultipleDelegate(); [SerializeField] private string _filePath; [SerializeField] private int _penalizePlayerOnWrongTarget = 20; int _Ti...
using UnityEngine; public class TimeController : MonoBehaviour { public MultipleDelegate Tick = new MultipleDelegate(); public MultipleDelegate End = new MultipleDelegate(); [SerializeField] private string _filePath; [SerializeField] private int _penalizePlayerOnWrongTarget = 20; int _Ti...
mit
C#
a1230f6e576535c0f60c665c4c6a647f13807290
Fix failing test
diaconesq/RecurringDates
RecurringDates.UnitTests/DayOfWeekRuleUT.cs
RecurringDates.UnitTests/DayOfWeekRuleUT.cs
using System; using FluentAssertions; using NUnit.Framework; namespace RecurringDates.UnitTests { public class DayOfWeekRuleUT<T> : ProjectedRuleTestFixture<T> where T : IRuleProcessor, new() { [Test] public void Day_ShouldMatch_Monday() { var rule = new DayOfWeekRule(DayOf...
using System; using FluentAssertions; using NUnit.Framework; namespace RecurringDates.UnitTests { public class DayOfWeekRuleUT<T> : ProjectedRuleTestFixture<T> where T : IRuleProcessor, new() { [Test] public void Day_ShouldMatch_Monday() { var rule = new DayOfWeekRule(DayOf...
bsd-2-clause
C#
cc4d23f18cb67c2672f2d659ea445c10582c79bd
Rename lastElement to previousElement.
mdavid/nuget,mdavid/nuget
NuPack.Dialog/Extensions/EnumerableExtensions.cs
NuPack.Dialog/Extensions/EnumerableExtensions.cs
using System.Collections.Generic; namespace NuGet.Dialog.Extensions { internal static class EnumerableExtensions { /// <summary> /// Returns a distinct set of elements using the comparer specified. This implementation will pick the last occurence /// of each element instead of pickin...
using System.Collections.Generic; namespace NuGet.Dialog.Extensions { internal static class EnumerableExtensions { /// <summary> /// Returns a distinct set of elements using the comparer specified. This implementation will pick the last occurence /// of each element instead of pickin...
apache-2.0
C#
617f93ee23137706196626a714defbbc05e2fa99
Use richer return type when possible.
ExRam/ExRam.Gremlinq
ExRam.Gremlinq.Core/ExecutionPipelines/Builder/GremlinQueryExecutionPipelineBuilder.cs
ExRam.Gremlinq.Core/ExecutionPipelines/Builder/GremlinQueryExecutionPipelineBuilder.cs
using ExRam.Gremlinq.Core.Serialization; using ExRam.Gremlinq.Providers; using LanguageExt; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ExRam.Gremlinq.Core { public static class GremlinQueryExecutionPipelineBuilder { public static IGremlinQueryExecutionPipelineBuilderWithSerializer<Gr...
using ExRam.Gremlinq.Core.Serialization; using ExRam.Gremlinq.Providers; using LanguageExt; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ExRam.Gremlinq.Core { public static class GremlinQueryExecutionPipelineBuilder { public static IGremlinQueryExecutionPipelineBuilderWithSerializer<Gr...
mit
C#
48bc5be6ce0e1b04adb44a8f6f515537a43e2491
Disable unimplemented CLI option "Verbose"
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade.Cli/CommandLineOptions.cs
src/Arkivverket.Arkade.Cli/CommandLineOptions.cs
using System; using CommandLine; using CommandLine.Text; namespace Arkivverket.Arkade.Cli { /// <summary> /// Using CommandLine library for parsing options. See https://github.com/gsscoder/commandline/wiki/ /// </summary> internal class CommandLineOptions { [Option('a', "archive", Help...
using System; using CommandLine; using CommandLine.Text; namespace Arkivverket.Arkade.Cli { /// <summary> /// Using CommandLine library for parsing options. See https://github.com/gsscoder/commandline/wiki/ /// </summary> internal class CommandLineOptions { [Option('a', "archive", Help...
agpl-3.0
C#
9a9bf263fdab8bb129172e6d65f75be2ad9b4512
replace tcp and http with https for TLS connection
ahmetalpbalkan/Docker.DotNet,jterry75/Docker.DotNet,jterry75/Docker.DotNet
Docker.DotNet/DockerClientConfiguration.cs
Docker.DotNet/DockerClientConfiguration.cs
using System; namespace Docker.DotNet { public class DockerClientConfiguration { public Uri EndpointBaseUri { get; private set; } public Credentials Credentials { get; private set; } public DockerClientConfiguration(Uri endpoint) : this(endpoint, new AnonymousCredentials(...
using System; namespace Docker.DotNet { public class DockerClientConfiguration { public Uri EndpointBaseUri { get; private set; } public Credentials Credentials { get; private set; } public DockerClientConfiguration(Uri endpoint) : this(endpoint, new AnonymousCredentials(...
apache-2.0
C#
4fb36109ed999d41b9e71553a5dbcd1cc9cb0b26
enable sync
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.WebCore/Program.cs
src/Firehose.WebCore/Program.cs
using Firehose.Web.Infrastructure; using Microsoft.AspNetCore.Rewrite; using Microsoft.Extensions.DependencyInjection.Extensions; using System.Reflection; var builder = WebApplication.CreateBuilder(args); builder.WebHost.ConfigureKestrel(serverOptions => { serverOptions.AllowSynchronousIO = true; }); builder.Servic...
using Firehose.Web.Infrastructure; using Microsoft.AspNetCore.Rewrite; using Microsoft.Extensions.DependencyInjection.Extensions; using System.Reflection; var builder = WebApplication.CreateBuilder(args); builder.Services.AddReverseProxy().LoadFromConfig(builder.Configuration.GetSection("ReverseProxy")); builder.Serv...
mit
C#
318b71a0ae152ddc83d576ddecbca77862161c29
Update src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
bendetat/TestStack.Seleno,bendetat/TestStack.Seleno,dennisroche/TestStack.Seleno,random82/TestStack.Seleno,dennisroche/TestStack.Seleno,TestStack/TestStack.Seleno,random82/TestStack.Seleno,TestStack/TestStack.Seleno
src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
src/TestStack.Seleno.Tests/PageObjects/Actions/Controls/When_updating_TextBox_value.cs
using System; using NSubstitute; using TestStack.Seleno.PageObjects.Controls; namespace TestStack.Seleno.Tests.PageObjects.Actions.Controls { class When_updating_TextBox_value : HtmlControlSpecificationFor<TextBox> { private readonly DateTime _the03rdOfJanuary2012At21h21 = new DateTime(2012, 01, 03, 21...
using System; using NSubstitute; using TestStack.Seleno.PageObjects.Controls; namespace TestStack.Seleno.Tests.PageObjects.Actions.Controls { class When_updating_TextBox_value : HtmlControlSpecificationFor<TextBox> { private readonly DateTime _the03rdOfJanuary2012At21h21 = new DateTime(2012, 01, 03, 21...
mit
C#
d758e3897d5bb354ebdd7dd85f6eea00036cac58
Increment version.
EliotVU/Unreal-Library
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( "U...
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( "U...
mit
C#
842961979b069e6118a5d9af1057987b981a8f67
Enable nullable reference types for ErrorMessageList by explicitly acknowleging the potential for private null values.
plioi/parsley
src/Parsley/ErrorMessageList.cs
src/Parsley/ErrorMessageList.cs
namespace Parsley; public class ErrorMessageList { public static readonly ErrorMessageList Empty = new(); readonly ErrorMessage? head; readonly ErrorMessageList? tail; ErrorMessageList() { head = null; tail = null; } ErrorMessageList(ErrorMessage head, ErrorMessageList ta...
#nullable disable namespace Parsley; public class ErrorMessageList { public static readonly ErrorMessageList Empty = new(); readonly ErrorMessage head; readonly ErrorMessageList tail; ErrorMessageList() { head = null; tail = null; } ErrorMessageList(ErrorMessage head, Err...
mit
C#