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
0d4ab54d7edc697f7877e9b088af948bdab215ab
Correct test client endpoint address. It worked!
mrwizard82d1/learning_wcf,mrwizard82d1/learning_wcf
labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs
labs/ch1/HelloIndigo/Host.Specs/RunServiceHostSteps.cs
 using System; using System.Diagnostics; using System.ServiceModel; using NUnit.Framework; using TechTalk.SpecFlow; namespace Host.Specs { /// <summary> /// An **copy** of the interface specifying the contract for this service. /// </summary> [ServiceContract( Namespace = "http://www.thatindig...
 using System; using System.Diagnostics; using System.ServiceModel; using NUnit.Framework; using TechTalk.SpecFlow; namespace Host.Specs { /// <summary> /// An **copy** of the interface specifying the contract for this service. /// </summary> [ServiceContract( Namespace = "http://www.thatindig...
epl-1.0
C#
fae4f3de456bc8ed05879ba86328fc061404104c
Test program fixed.
alialavia/SerialPortNet,alialavia/SerialPortNet,alialavia/SerialPortNet,alialavia/SerialPortNet
TestSerialPort/Program.cs
TestSerialPort/Program.cs
using System; using System.IO; using Mono.Unix.Native; using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; using System.Threading; using SerialPortNET; namespace TestSerialPort { class MainClass { public static void Main (string[] args) { AbstractTest AT = new AbstractTest(); ...
using System; using System.IO; using Mono.Unix.Native; using Microsoft.Win32.SafeHandles; using System.Runtime.InteropServices; using System.Threading; using SerialPortNET; namespace TestSerialPort { class MainClass { public static void Main (string[] args) { AbstractTest AT = new AbstractTest(); ...
mit
C#
c3d2b70f23cc314a5eb1b41844d22d694f4a51fe
Fix bug where MigrationsTable doesn't default to Migrations (#1)
bretcope/Mayflower.NET
Mayflower/Options.cs
Mayflower/Options.cs
using System; using System.IO; using System.Text.RegularExpressions; namespace Mayflower { public class Options { public string ConnectionString { get; set; } public string Database { get; set; } public string Server { get; set; } public int CommandTimeout { get; set; } = 30; ...
using System; using System.IO; using System.Text.RegularExpressions; namespace Mayflower { public class Options { public string ConnectionString { get; set; } public string Database { get; set; } public string Server { get; set; } public int CommandTimeout { get; set; } = 30; ...
mit
C#
097a86d391063e4264bbae6c0e6914f0e98bcf79
fix uwp demo
JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit
Source/Examples/UWP/SimpleDemo/MainPage.xaml.cs
Source/Examples/UWP/SimpleDemo/MainPage.xaml.cs
using HelixToolkit.UWP; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; us...
using HelixToolkit.UWP; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; us...
mit
C#
c33f4786b611f60160245acb608c2215b8c830e8
add binder tests.
dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap
test/DotNetCore.CAP.Test/ModelBinderFactoryTest.cs
test/DotNetCore.CAP.Test/ModelBinderFactoryTest.cs
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Reflection; using DotNetCore.CAP.Internal; using Xunit; namespace DotNetCore.CAP.Test { public class ModelBinderFactoryTest { IModelBinderFactory _factory; public ModelBinderFactoryTest() ...
using System; using System.Collections.Generic; using System.Text; using System.Linq; using System.Reflection; using DotNetCore.CAP.Internal; using Xunit; namespace DotNetCore.CAP.Test { public class ModelBinderFactoryTest { IModelBinderFactory _factory; public ModelBinderFactoryTest() ...
mit
C#
96d82339c7722f1f3042cc4526692f3df6f405c4
Add SignalR registration
kriasoft/AspNet-Server-Template,hcngo/craft-exercise-intuit,kriasoft/aspnet-starter-kit,giokats/AspNet-Server-Template,jmptrader/AspNet-Server-Template,kriasoft/aspnet-starter-kit,hcngo/craft-exercise-intuit,jmptrader/AspNet-Server-Template,koistya/aspnet-starter-kit,koistya/aspnet-starter-kit
src/App.Server/Startup.cs
src/App.Server/Startup.cs
// Copyright (c) KriaSoft, LLC. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE.txt in the project root for license information. using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(App.Server.Startup))] namespace App.Server { public class Startup { p...
// Copyright (c) KriaSoft, LLC. 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.Threading.Tasks; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(App.Server.Startup))] namespace App.Serv...
mit
C#
c71d0e09e8564c7ff710106ea19b10357c54b0d4
Fix compile error.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex.Domain.Apps.Core.Operations/Tags/TagsExport.cs
backend/src/Squidex.Domain.Apps.Core.Operations/Tags/TagsExport.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
9c9ca1290cf85ba720bdfc4018db8dc53f5d1bfa
add missing arch in heading info for micromips-alu-instructions-EB.s.cs
techvoltage/capstone,NeilBryant/capstone,code4bones/capstone,zneak/capstone,krytarowski/capstone,bowlofstew/capstone,zneak/capstone,techvoltage/capstone,8l/capstone,dynm/capstone,angelabier1/capstone,07151129/capstone,bowlofstew/capstone,bigendiansmalls/capstone,07151129/capstone,bSr43/capstone,NeilBryant/capstone,Neil...
suite/MC/Mips/micromips-alu-instructions-EB.s.cs
suite/MC/Mips/micromips-alu-instructions-EB.s.cs
# CS_ARCH_MIPS, CS_MODE_32+CS_MODE_BIG_ENDIAN+CS_MODE_MICRO, None 0x00,0xe6,0x49,0x10 = add $9, $6, $7 0x11,0x26,0x45,0x67 = addi $9, $6, 17767 0x31,0x26,0xc5,0x67 = addiu $9, $6, -15001 0x11,0x26,0x45,0x67 = addi $9, $6, 17767 0x31,0x26,0xc5,0x67 = addiu $9, $6, -15001 0x00,0xe6,0x49,0x50 = addu $9, $6, $7 0x00,0xe6,0...
# CS_MODE_32+CS_MODE_BIG_ENDIAN+CS_MODE_MICRO, None 0x00,0xe6,0x49,0x10 = add $9, $6, $7 0x11,0x26,0x45,0x67 = addi $9, $6, 17767 0x31,0x26,0xc5,0x67 = addiu $9, $6, -15001 0x11,0x26,0x45,0x67 = addi $9, $6, 17767 0x31,0x26,0xc5,0x67 = addiu $9, $6, -15001 0x00,0xe6,0x49,0x50 = addu $9, $6, $7 0x00,0xe6,0x49,0x90 = sub...
bsd-3-clause
C#
3e0526d1017283096d89852b6c4729d8d9201cd5
Support ReactiveObject
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/ViewLocator.cs
src/Core2D/ViewLocator.cs
#nullable disable using System; using Avalonia.Controls; using Avalonia.Controls.Templates; using Core2D.ViewModels; using ReactiveUI; namespace Core2D { [StaticViewLocator] public partial class ViewLocator : IDataTemplate { public IControl Build(object data) { var type = data.G...
#nullable disable using System; using Avalonia.Controls; using Avalonia.Controls.Templates; using Core2D.ViewModels; namespace Core2D { [StaticViewLocator] public partial class ViewLocator : IDataTemplate { public IControl Build(object data) { var type = data.GetType(); ...
mit
C#
a8c144bdc5cbc2065bf4131c9033c2175bb1eb73
Update 0041_WhiteDrawScript.cs
Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria
Memoria.Scripts/Sources/Battle/0041_WhiteDrawScript.cs
Memoria.Scripts/Sources/Battle/0041_WhiteDrawScript.cs
using System; namespace Memoria.Scripts.Battle { /// <summary> /// White Draw /// </summary> [BattleScript(Id)] public sealed class WhiteDrawScript : IBattleScript { public const Int32 Id = 0041; private readonly BattleCalculator _v; public WhiteDrawScript(BattleCalcul...
using System; namespace Memoria.Scripts.Battle { /// <summary> /// White Draw /// </summary> [BattleScript(Id)] public sealed class WhiteDrawScript : IBattleScript { public const Int32 Id = 0041; private readonly BattleCalculator _v; public WhiteDrawScript(BattleCalcul...
mit
C#
a5c23e7cf793c91d91bd2b67b536f107e10a8ec2
Remove underline from breadcrumb display
johnneijzen/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu
osu.Game/Overlays/OverlayHeaderBreadcrumbControl.cs
osu.Game/Overlays/OverlayHeaderBreadcrumbControl.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.Game.Graphics.UserInterface; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; namespace osu.Game.Overlays { public class OverlayH...
// 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.Graphics.UserInterface; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; namespace osu.Game.Overlays { public class OverlayH...
mit
C#
f1b2e9852fa304347edf9ccb5d5cebad43f4d372
Update DoxPageTests.cs
geaz/coreDox,geaz/coreDox,geaz/coreDox
tests/coreDox.Core.Tests/Project/Pages/DoxPageTests.cs
tests/coreDox.Core.Tests/Project/Pages/DoxPageTests.cs
using coreDox.Core.Exceptions; using coreDox.Core.Project; using coreDox.Core.Project.Pages; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Linq; namespace coreDox.Core.Tests.Projects.Pages { [TestClass] public class DoxPageTests { private string _tmpFile = Path....
using coreDox.Core.Exceptions; using coreDox.Core.Project; using coreDox.Core.Project.Pages; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.IO; using System.Linq; namespace coreDox.Core.Tests.Projects.Pages { [TestClass] public class DoxPageTests { private string _tmpFile = Path....
mit
C#
1abd60c69c45a1ea5aba3b43b6f85f121d5f29f9
Remove jQuery
mattgwagner/alert-roster
alert-roster.web/Global.asax.cs
alert-roster.web/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 alert_roster.web { 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 alert_roster.web { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start() { ...
mit
C#
1dfde651b957845e507ffe1bd88d90f0e9b82f75
add reference
kheiakiyama/speech-eng-functions
SentenceScraping/run.csx
SentenceScraping/run.csx
#r "System.Configuration" #r "System.Collections" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.T...
#r "System.Configuration" #r "System.Linq.Expressions" #load "../QuestionEntity.csx" using System.Net; using System.Net.Http; using System.Configuration; using System.Linq; using Newtonsoft.Json; using Microsoft.Azure; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; using LinqToTwitte...
mit
C#
59529ad78b9e3afbbc3c5a199f953946f30cd53a
Add comment
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs
QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * Debug.cs * * 本檔案用於宣告偵錯相關工具物件 * ******************************************************************** */ using System; using...
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * Debug.cs * * 本檔案用於宣告偵錯相關工具物件 * ******************************************************************** */ using System; using...
apache-2.0
C#
28e84ec0714cb37d6fb8fe17babbd85a9b5f040c
Fix missing reference
Cheesebaron/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins
SMS/Droid/SmsTask.cs
SMS/Droid/SmsTask.cs
//--------------------------------------------------------------------------------- // Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk) // 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 a...
//--------------------------------------------------------------------------------- // Copyright 2013 Tomasz Cielecki (tomasz@ostebaronen.dk) // 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 a...
apache-2.0
C#
4c26a10af875ff20a000749759f1c3f874ec72d5
Fix resource release
helix-toolkit/helix-toolkit,chrkon/helix-toolkit,Iluvatar82/helix-toolkit,holance/helix-toolkit,JeremyAnsel/helix-toolkit
Source/HelixToolkit.SharpDX.Shared/Core/BoneSkinRenderCore.cs
Source/HelixToolkit.SharpDX.Shared/Core/BoneSkinRenderCore.cs
using SharpDX.Direct3D11; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX.Core #else namespace HelixToolkit.UWP.Core #endif { public class BoneSkinRenderCore : MeshRenderCore { public IElementsBufferModel VertexBoneIdBuffer { set; get; } public BoneMatricesStruct BoneMatrices { ...
using SharpDX.Direct3D11; #if !NETFX_CORE namespace HelixToolkit.Wpf.SharpDX.Core #else namespace HelixToolkit.UWP.Core #endif { public class BoneSkinRenderCore : MeshRenderCore { public IElementsBufferModel VertexBoneIdBuffer { set; get; } public BoneMatricesStruct BoneMatrices { ...
mit
C#
286c23169d07a6562329ff329d41b3d24c347b63
Update binary version in Unity installation script.
deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco
unity/Runtime/Bindings/MujocoBinaryRetriever.cs
unity/Runtime/Bindings/MujocoBinaryRetriever.cs
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
apache-2.0
C#
c70a741284e1ca7bc72dd454f0a2d09e9b51eea0
clean up TODO
markaschell/SoftwareThresher
code/SoftwareThresher/SoftwareThresher/Tasks/NotReferenced.cs
code/SoftwareThresher/SoftwareThresher/Tasks/NotReferenced.cs
using System.Collections.Generic; using System.Linq; using SoftwareThresher.Observations; using SoftwareThresher.Settings.Search; namespace SoftwareThresher.Tasks { public class NotReferenced : Task { public override string DefaultReportHeaderText => "Not Referenced"; readonly Search search; pu...
using System.Collections.Generic; using System.Linq; using SoftwareThresher.Observations; using SoftwareThresher.Settings.Search; namespace SoftwareThresher.Tasks { public class NotReferenced : Task { // TODO - Can we build into the base to just return the class name? public override string DefaultRepo...
mit
C#
ce9c63970cce934caa8b06303780160251d7ff72
Fix button colors in beatmap options test
UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu
osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.cs
osu.Game.Tests/Visual/SongSelect/TestSceneBeatmapOptionsOverlay.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.ComponentModel; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Screens.Select.Options; namespace osu.Game.Tests.Visual.SongS...
// 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.ComponentModel; using osu.Framework.Graphics.Sprites; using osu.Game.Screens.Select.Options; using osuTK.Graphics; namespace osu.Game.Tests.Visual.SongSele...
mit
C#
0e7fa2f9d39005a43307b3c8a229b419485ca56e
Update version number for new nugget.
SAEnergy/Infrastructure,SAEnergy/Infrastructure,SAEnergy/Superstructure
Src/GlobalAssemblyInfo.cs
Src/GlobalAssemblyInfo.cs
using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCompany("Simple Answers Energy, Inc.")] [assembly: AssemblyProduct("Infrastructure")] [...
using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCompany("Simple Answers Energy, Inc.")] [assembly: AssemblyProduct("Infrastructure")] [...
mit
C#
d2acf9772f20105eb11cba5ddba0d25c8fa2236e
Handle special case of block calling itself
RonanPearce/Fungus,inarizushi/Fungus,lealeelu/Fungus,snozbot/fungus,kdoore/Fungus,FungusGames/Fungus,Nilihum/fungus,tapiralec/Fungus
Assets/Fungus/Flowchart/Scripts/Commands/Call.cs
Assets/Fungus/Flowchart/Scripts/Commands/Call.cs
using UnityEngine; using UnityEngine.Serialization; using System.Collections; using System.Collections.Generic; using System; namespace Fungus { [CommandInfo("Flow", "Call", "Execute another block in the same Flowchart.")] [AddComponentMenu("")] public class Call : Command { [Tool...
using UnityEngine; using UnityEngine.Serialization; using System.Collections; using System.Collections.Generic; using System; namespace Fungus { [CommandInfo("Flow", "Call", "Execute another block in the same Flowchart.")] [AddComponentMenu("")] public class Call : Command { [Tool...
mit
C#
540f153f536d8d470cb034edd46fe4a5c32b1951
Update _ViewStart.cshtml
jonfazzaro/mvc-spa,jonfazzaro/mvc-spa
mvc-spa/Views/_ViewStart.cshtml
mvc-spa/Views/_ViewStart.cshtml
@{ if (!Request.IsAjaxRequest()) { Layout = "~/Views/Shared/_Layout.cshtml"; } }
@{ Layout = "~/Views/Shared/_Layout.cshtml"; }
mit
C#
a6ef7387cfc1aade3336879ccc062d927909565d
Update LanguageService.cs
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Services/LanguageService.cs
BTCPayServer/Services/LanguageService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BTCPayServer.Services { public class Language { public Language(string code, string displayName) { DisplayName = displayName; Code = code; } public...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BTCPayServer.Services { public class Language { public Language(string code, string displayName) { DisplayName = displayName; Code = code; } public...
mit
C#
8a1fd92e2b8c7a21ff4ef4ec75707d99ba2ee045
Hide Targeting Dummy (#6580)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Client/CombatMode/CombatModeComponent.cs
Content.Client/CombatMode/CombatModeComponent.cs
using Content.Client.HUD; using Content.Shared.CombatMode; using Content.Shared.Targeting; using Robust.Client.GameObjects; using Robust.Client.Player; using Robust.Shared.GameObjects; using Robust.Shared.IoC; namespace Content.Client.CombatMode { [RegisterComponent] [ComponentReference(typeof(SharedCombatMode...
using Content.Client.HUD; using Content.Shared.CombatMode; using Content.Shared.Targeting; using Robust.Client.GameObjects; using Robust.Client.Player; using Robust.Shared.GameObjects; using Robust.Shared.IoC; namespace Content.Client.CombatMode { [RegisterComponent] [ComponentReference(typeof(SharedCombatMode...
mit
C#
b1f6b3f04c882d0c123a482ce0ee2caf2965ec15
Fix migration test - use correct database from v2 fixture.
SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore
src/SqlStreamStore.MsSql.V3.Tests/MigrationTests.cs
src/SqlStreamStore.MsSql.V3.Tests/MigrationTests.cs
namespace SqlStreamStore { using System.Threading; using System.Threading.Tasks; using Shouldly; using SqlStreamStore.Streams; using Xunit; public class MigrationTests { [Fact] public async Task Can_migrate() { // Set up an old schema + data. ...
namespace SqlStreamStore { using System.Threading; using System.Threading.Tasks; using Shouldly; using SqlStreamStore.Streams; using Xunit; public class MigrationTests { [Fact] public async Task Can_migrate() { // Set up an old schema + data. ...
mit
C#
eccdb2845f94079df5ba02698db91363e8d05889
Change message for adding user into account
ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi
Core/Tigwi.UI/Views/Shared/_EditAccountModal.cshtml
Core/Tigwi.UI/Views/Shared/_EditAccountModal.cshtml
@using Tigwi.UI.Models.Account @model Tigwi.UI.Models.Account.AccountEditViewModel <div class="modal-header modal-header-edit-account"> <button class="close" data-dismiss="modal">×</button> <h3>Edit your Account</h3> </div> <script> </script> @using (Html.BeginForm("Edit", "Account", FormMethod.Post,nul...
@using Tigwi.UI.Models.Account @model Tigwi.UI.Models.Account.AccountEditViewModel <div class="modal-header modal-header-edit-account"> <button class="close" data-dismiss="modal">×</button> <h3>Edit your Account</h3> </div> <script> </script> @using (Html.BeginForm("Edit", "Account", FormMethod.Post,nul...
bsd-3-clause
C#
24477a8012bbeea16e2d14e151c025bdf8566166
Fix API conflict exception not passing an ErrorMessage
Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
src/Tgstation.Server.Client/ApiConflictException.cs
src/Tgstation.Server.Client/ApiConflictException.cs
using System; using System.Net; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <summary> /// Occurs when the server returns an unknown response /// </summary> public sealed class ApiConflictException : ClientException { /// <summary> /// Construct an <see cref="ApiConflictExceptio...
using System; using System.Net; using Tgstation.Server.Api.Models; namespace Tgstation.Server.Client { /// <summary> /// Occurs when the server returns an unknown response /// </summary> public sealed class ApiConflictException : ClientException { /// <summary> /// Construct an <see cref="ApiConflictExceptio...
agpl-3.0
C#
95e01dfa1105dcc6666deff43a25264423cd97da
Add another TwixelException constructor
golf1052/Twixel,sLyDeFr/Twixel
Twixel/TwitchException.cs
Twixel/TwitchException.cs
using System; using Newtonsoft.Json.Linq; namespace TwixelAPI { /// <summary> /// Twitch exception /// </summary> public class TwitchException : Exception { /// <summary> /// Twitch error /// </summary> public string Error { get; private set; } /// <summary...
using System; using Newtonsoft.Json.Linq; namespace TwixelAPI { /// <summary> /// Twitch exception /// </summary> public class TwitchException : Exception { /// <summary> /// Twitch error /// </summary> public string Error { get; private set; } /// <summary...
mit
C#
2aff533dfc829e18b591b68c67a04a2f07519590
Change HttpListener port range to 64120-64130 (end-inclusive) (#1879)
SonarSource-VisualStudio/sonarlint-visualstudio
src/IssueViz.Security/OpenInIDE/OpenInIDEPackage.cs
src/IssueViz.Security/OpenInIDE/OpenInIDEPackage.cs
/* * SonarLint for Visual Studio * Copyright (C) 2016-2020 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
/* * SonarLint for Visual Studio * Copyright (C) 2016-2020 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version ...
mit
C#
ac1b53b7ee5e7f83b2cdcee757165401b54a93cb
Fix test baseline due to change in the error message
AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhi...
src/R/Core/Test/Parser/ParseExpressionErrorsTest.cs
src/R/Core/Test/Parser/ParseExpressionErrorsTest.cs
using Microsoft.Languages.Core.Test.Utility; using Microsoft.R.Core.Test.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.R.Core.Test.Tokens { [TestClass] public class ParseExpressionErrorsTest : UnitTestBase { [TestMethod] public void ParseIncompleteExpres...
using Microsoft.Languages.Core.Test.Utility; using Microsoft.R.Core.Test.Utility; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Microsoft.R.Core.Test.Tokens { [TestClass] public class ParseExpressionErrorsTest : UnitTestBase { [TestMethod] public void ParseIncompleteExpres...
mit
C#
3964f44a7b74f9b62edb6705920bd2a958e18fec
Fix handling of HttpMessageHandler
1and1/TypedRest-DotNet,TypedRest/TypedRest-DotNet,1and1/TypedRest-DotNet,TypedRest/TypedRest-DotNet
src/TypedRest.OAuth/Endpoints/OAuthEntryEndpoint.cs
src/TypedRest.OAuth/Endpoints/OAuthEntryEndpoint.cs
using System; using System.Net.Http; using System.Net.Http.Formatting; using TypedRest.Errors; using TypedRest.Http; using TypedRest.Links; namespace TypedRest.Endpoints { /// <summary> /// Entry point to a REST API protected with OAuth 2.0. Derive from this class and add your own set of child-<see cref="IEndp...
using System; using System.Net.Http; using System.Net.Http.Formatting; using TypedRest.Errors; using TypedRest.Http; using TypedRest.Links; namespace TypedRest.Endpoints { /// <summary> /// Entry point to a REST API protected with OAuth 2.0. Derive from this class and add your own set of child-<see cref="IEndp...
mit
C#
d49d08369f8431ff0d7e4be18f4cacc48d56ddda
add IncreaseLevel function to GameObject.cs
Burgund/C-Sharp_WPF_Clicker_Game_Engine
ClickerGameEngine/ClickerGameEngine/GameObject.cs
ClickerGameEngine/ClickerGameEngine/GameObject.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; /// <summary> /// This is our main game object. Increasing numbers/levels of game object will increase player earnings /// </summary> namespace ClickerGameEngine { class GameOb...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; /// <summary> /// This is our main game object. Increasing numbers/levels of game object will increase player earnings /// </summary> namespace ClickerGameEngine { class GameOb...
mit
C#
42dcea4429940f6f24ee6679c06c88b831a1882a
Add more NonNull check
Launchify/Launchify,yozora-hitagi/Saber,yozora-hitagi/Saber,medoni/Wox,Launchify/Launchify,medoni/Wox
Wox.Infrastructure/Wox.cs
Wox.Infrastructure/Wox.cs
using System; using System.Diagnostics; using System.IO; using System.Reflection; namespace Wox.Infrastructure { public static class Constant { public const string Wox = "Wox"; public const string Plugins = "Plugins"; private static readonly Assembly Assembly = Assembly.GetExecutingAs...
using System; using System.Diagnostics; using System.IO; using System.Reflection; namespace Wox.Infrastructure { public static class Constant { public const string Wox = "Wox"; public const string Plugins = "Plugins"; private static readonly Assembly Assembly = Assembly.GetExecutingAs...
mit
C#
e17c4755462f1dc59dabcb9028e62a7d6ccc9461
Implement NativeJson read repository
bsstahl/PPTail,bsstahl/PPTail
PrehensilePonyTail/PPTail.Data.NativeJson/Repository.cs
PrehensilePonyTail/PPTail.Data.NativeJson/Repository.cs
using System; using System.Collections.Generic; using PPTail.Entities; using PPTail.Interfaces; using Microsoft.Extensions.DependencyInjection; using PPTail.Extensions; namespace PPTail.Data.NativeJson { public class Repository : IContentRepository { const string _connectionStringFilepathKey = "FilePa...
using System; using System.Collections.Generic; using PPTail.Entities; using PPTail.Interfaces; using Microsoft.Extensions.DependencyInjection; using PPTail.Extensions; namespace PPTail.Data.NativeJson { public class Repository : IContentRepository { const string _connectionStringFilepathKey = "FilePa...
mit
C#
a1b8fa09921666ee65531cea264aeade2aa5718b
Disable "select all mods" button if all are selected
NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/Overlays/Mods/SelectAllModsButton.cs
osu.Game/Overlays/Mods/SelectAllModsButton.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.Collections.Generic; using System.Linq; using osu.Framework.Bindables; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Inp...
// 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.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Game.Graphics.UserInterface; using osu.Game.Localisation; using...
mit
C#
ea9207e0ad21434d79eace9e527a3719ad1232c0
Clean up FooterButtonRandom Removed unnecessary using statements Removed unnecessary constructor
NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu
osu.Game/Screens/Select/FooterButtonRandom.cs
osu.Game/Screens/Select/FooterButtonRandom.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Game.Graphics; using osu.Game.Input.Bindings; namespace osu.Gam...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using ...
mit
C#
b1beee15f07886ded645fd5e6a13318d0df1fa79
Update interface.
SpilledMilkCOM/MooveePicker,SpilledMilkCOM/MooveePicker,SpilledMilkCOM/MooveePicker
MoviePicker.Cognitive/IComputerVision.cs
MoviePicker.Cognitive/IComputerVision.cs
using MoviePicker.Cognitive.Parameters; using System.Collections.Generic; namespace MoviePicker.Cognitive { public interface IComputerVision { string Analyze(string fileName , List<VisualFeature> visualFeatures = null , List<Detail> details = null , Language language = Language.undefined); strin...
using MoviePicker.Cognitive.Parameters; using System.Collections.Generic; namespace MoviePicker.Cognitive { public interface IComputerVision { string Analyze(string fileName , List<VisualFeature> visualFeatures = null , List<Detail> details = null , Language language = Language.undefined); strin...
mit
C#
45329c94c63bd5d818d53b1d071f945fe90c0324
Break more things
takoz53/Strategygame
SK_Strategygame/SK_Strategygame/UI/bListboxEntry.cs
SK_Strategygame/SK_Strategygame/UI/bListboxEntry.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AGFXLib.Drawables; using OpenTK.Input; namespace SK_Strategygame.UI { class bListboxEntry : Drawable { public Rectangle border; public Text text; public int index; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using AGFXLib.Drawables; using OpenTK.Input; namespace SK_Strategygame.UI { class bListboxEntry : Drawable { public Rectangle border; public Text text; public int index; ...
apache-2.0
C#
30f0b18894a5abab3b4da1b2d53f6273ba6558c9
put { of DeleteOtherPathsCmdEvt.apply() on same line
ad510/plausible-deniability
Assets/Scripts/SimEvt/CmdEvt/DeleteOtherPathsCmdEvt.cs
Assets/Scripts/SimEvt/CmdEvt/DeleteOtherPathsCmdEvt.cs
// Copyright (c) 2013 Andrew Downing // 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, distribut...
// Copyright (c) 2013 Andrew Downing // 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, distribut...
mit
C#
d4a70531d75ed32491bd731aef78dcb9c72c29ae
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
Src/Asp.Net/SqlServerTest/Demo/DemoE_CodeFirst.cs
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OrmTest { public class DemoE_CodeFirst { public static void Init() { Console.WriteLine(""); Console.WriteLine("#### CodeFirst Start ####"); SqlSug...
apache-2.0
C#
160792dcd75f144555cd768fca225537b69eb58e
revert unneeded change
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs
WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs
using System; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel { protected RoutableViewModel(IScreen screen) { HostScreen = screen; } public string UrlPathSegment { get; } = Guid.New...
using System; using ReactiveUI; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel { protected RoutableViewModel(IScreen screen) { HostScreen = screen; } public string UrlPathSegment { get; } = Guid.N...
mit
C#
55d79b6de9551a489f2518f747c466f7f70f371c
Fix INCC arguments for ConcurrentObservableHashSet.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Helpers/ConcurrentObservableHashSet.cs
WalletWasabi/Helpers/ConcurrentObservableHashSet.cs
using System.Collections.Generic; using System.Collections.Specialized; using ConcurrentCollections; namespace System.Collections.ObjectModel { public class ConcurrentObservableHashSet<T> : INotifyCollectionChanged, IReadOnlyCollection<T> { protected ConcurrentHashSet<T> ConcurrentHashSet { get; } private obje...
using System.Collections.Generic; using System.Collections.Specialized; using ConcurrentCollections; namespace System.Collections.ObjectModel { public class ConcurrentObservableHashSet<T> : INotifyCollectionChanged, IReadOnlyCollection<T> { protected ConcurrentHashSet<T> ConcurrentHashSet { get; } private obje...
mit
C#
57efc161696d2748ff4c451afcd58db9e8629834
add comment
isdaniel/ElectronicInvoice_TW
Demo/MVCDemo/ElectronicInvoice/Views/Home/Index.cshtml
Demo/MVCDemo/ElectronicInvoice/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>AutoBuild</h1> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more ...
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>ASP.NET</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div> ...
apache-2.0
C#
dae5f32e105e5d05815a2aa546b071c6ac20cfb0
update calculate performance method on players model
YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league,YeeRSoft/broken-shoe-league
Source/BrokenShoeLeague.Domain/Player.cs
Source/BrokenShoeLeague.Domain/Player.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BrokenShoeLeague.Domain { public class Player { public Player() { PlayerRecords = new List<PlayerRecord>(); } public int Id { get; set; } ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BrokenShoeLeague.Domain { public class Player { public Player() { PlayerRecords = new List<PlayerRecord>(); } public int Id { get; set; } ...
mit
C#
c5be3f30db182a46b60a66691e9e4f0e7c55912b
Update Startup.cs
aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template
src/AbpCompanyName.AbpProjectName.WebMpa/App_Start/Startup.cs
src/AbpCompanyName.AbpProjectName.WebMpa/App_Start/Startup.cs
using System; using System.Configuration; using Abp.Owin; using AbpCompanyName.AbpProjectName.Api.Controllers; using AbpCompanyName.AbpProjectName.WebMpa; using Microsoft.AspNet.Identity; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Owin; [assembly: OwinStartup(typeof(Startup))] nam...
using Abp.Owin; using AbpCompanyName.AbpProjectName.Api.Controllers; using AbpCompanyName.AbpProjectName.WebMpa; using Microsoft.AspNet.Identity; using Microsoft.Owin; using Microsoft.Owin.Security.Cookies; using Owin; [assembly: OwinStartup(typeof(Startup))] namespace AbpCompanyName.AbpProjectName.WebMpa ...
mit
C#
6c2f31b1f048e02c38358a3f621f61a71490f30a
Fix build error with mirroring
gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert
src/System.Private.CoreLib/src/System/DateTime.Unix.CoreRT.cs
src/System.Private.CoreLib/src/System/DateTime.Unix.CoreRT.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 { public readonly partial struct DateTime { public static DateTime UtcNow {...
// 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 { public readonly partial struct DateTime { public static DateTime UtcNow {...
mit
C#
fd394bc562ca99374e1338b7c97fcab233737207
add variant to report
smcl/onfido.net
Onfido/Entities/Report.cs
Onfido/Entities/Report.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Onfido.Entities { public class Report { [JsonProperty("id")] public string Id; [JsonProperty("name")] public string Name; [JsonProperty("created_at")] public DateTime CreatedAt; ...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Onfido.Entities { public class Report { [JsonProperty("id")] public string Id; [JsonProperty("name")] public string Name; [JsonProperty("created_at")] public DateTime CreatedAt; ...
mit
C#
12c3e56881d9dbc38ecec16c877397a8a7ea6a27
Fix `IPCLocationTest` not waiting for load of component
peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game.Tournament.Tests/NonVisual/IPCLocationTest.cs
osu.Game.Tournament.Tests/NonVisual/IPCLocationTest.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.IO; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Platform; using osu.Framework.Testing; using osu.Game.Tourn...
// 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.IO; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Platform; using osu.Framework.Testing; using osu.Game.Tourn...
mit
C#
3befd1bbd91453eb6d86b6c1e893b28562452d77
Add AssemblyLoadContext.LoadUnmanagedDllFromPath to System.Runtime.Loader reference assembly
iamjasonp/corefx,dotnet-bot/corefx,josguil/corefx,the-dwyer/corefx,Petermarcu/corefx,jlin177/corefx,mmitche/corefx,gregg-miskelly/corefx,stormleoxia/corefx,DnlHarvey/corefx,akivafr123/corefx,comdiv/corefx,690486439/corefx,axelheer/corefx,cydhaselton/corefx,YoupHulsebos/corefx,stephenmichaelf/corefx,yizhang82/corefx,krk...
src/System.Runtime.Loader/ref/System.Runtime.Loader.cs
src/System.Runtime.Loader/ref/System.Runtime.Loader.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ----------...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ----------...
mit
C#
a89c97b6d91f37e220be08a60d0843c27a7668dc
Clean up
MoimHossain/netcore-microservice-tutorial,MoimHossain/netcore-microservice-tutorial,MoimHossain/netcore-microservice-tutorial,MoimHossain/netcore-microservice-tutorial
src/ncore-test1/Startup.cs
src/ncore-test1/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace ncore_test1 { publ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace ncore_test1 { publ...
mit
C#
60d1e44e01a00e42674d92b263269192996d14b8
Check voor CLS-compliante code verwijderd uit project CodeProject.Data
Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap,Chirojeugd-Vlaanderen/gap
Solution/CodeProject.Data/Properties/AssemblyInfo.cs
Solution/CodeProject.Data/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CodeProject - EF Library")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("AREBIS")] [assembly: AssemblyProduct("CodeProject - ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CodeProject - EF Library")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("AREBIS")] [assembly: AssemblyProduct("CodeProject - ...
apache-2.0
C#
4109f3b0fb80e5b95533fe64ef70af5113111dc5
Handle NULL values in Transform3DHelper.CombineTransform (treat them as an identity transform)
CobraCalle/helix-toolkit,0x53A/helix-toolkit,smischke/helix-toolkit,Iluvatar82/helix-toolkit,holance/helix-toolkit,DynamoDS/helix-toolkit,chrkon/helix-toolkit,jotschgl/helix-toolkit,helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,aparajit-pratap/helix-toolkit
Source/HelixToolkit.Wpf/Helpers/Transform3DHelper.cs
Source/HelixToolkit.Wpf/Helpers/Transform3DHelper.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Transform3DHelper.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Helper methods for Transform3D. // </summ...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Transform3DHelper.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // <summary> // Helper methods for Transform3D. // </summ...
mit
C#
bc50949490b1b4927c4267d6500236e9310c7397
Bump version
dennisroche/TopShelf.Owin
TopShelf.Owin/Properties/AssemblyInfo.cs
TopShelf.Owin/Properties/AssemblyInfo.cs
using System; using System.Linq; using System.Reflection; [assembly: AssemblyTitle("TopShelf.Owin")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("TopShelf.Owin")] [assembly: AssemblyCopyright("Copyright © 2014")] // Version information for an assembly consists of the following four value...
using System; using System.Linq; using System.Reflection; [assembly: AssemblyTitle("TopShelf.Owin")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("TopShelf.Owin")] [assembly: AssemblyCopyright("Copyright © 2014")] // Version information for an assembly consists of the following four value...
mit
C#
029c47262ffc3b110bc89cc410950959faffd901
fix sms sending after website changes
tynor88/UnoTel.Web.CLI
UnoTel.Web.Core/Utils/HtlmParserUtils.cs
UnoTel.Web.Core/Utils/HtlmParserUtils.cs
using HtmlAgilityPack; using System; using System.Linq; namespace UnoTel.Web.Core.Utils { public static class HtlmParserUtils { internal static string GetSubscriptionNumberFromHtmlString(int subscriptionNumber, string html) { HtmlDocument htmlDocument = new HtmlDocument(); ...
using HtmlAgilityPack; using System; using System.Linq; namespace UnoTel.Web.Core.Utils { internal static class HtlmParserUtils { internal static string GetSubscriptionNumberFromHtmlString(int subscriptionNumber, string html) { HtmlDocument htmlDocument = new HtmlDocument(); ...
mit
C#
7f1ec2ed51cd4db37cbe5c15847c1e9637b0ecbe
修改GetDisplayName到GetDescription,不再支持从Display属性获取名称
zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb.Utils/Extensions/EnumExtensions.cs
ZKWeb.Utils/Extensions/EnumExtensions.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using ZKWeb.Utils.Functions; namespace ZKWeb.Utils.Extensions { /// <summary> /// 枚举类型的扩展函数 /// </summary> publ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; using ZKWeb.Utils.Functions; namespace ZKWeb.Utils.Extensions { /// <summary> /// 枚举类型的扩展函数 /// </summary> public static class EnumExtensions...
mit
C#
4e15917aa9cf1416fffc7aad34ff9f06fbb4d63c
Update EndpointConfig.cs
pedroreys/docs.particular.net,WojcikMike/docs.particular.net,pashute/docs.particular.net,yuxuac/docs.particular.net,eclaus/docs.particular.net
Snippets/Snippets_4/Monitoring/EndpointConfig.cs
Snippets/Snippets_4/Monitoring/EndpointConfig.cs
namespace MonitoringNotifications.ServiceControl.Notifications { using System; using NServiceBus; using NServiceBus.Features; public class EndpointConfig : IConfigureThisEndpoint, AsA_Server { public EndpointConfig() { Configure.Serialization.Json(); } } ...
namespace MonitoringNotifications.ServiceControl.Notifications { using System; using NServiceBus; using NServiceBus.Features; #region MessageFailedEndpointConfig public class EndpointConfig : IConfigureThisEndpoint, AsA_Server { public EndpointConfig() { Configure.Seri...
apache-2.0
C#
657253741829d1d466d618bd638125a92246587d
refactor tests to use conventionTests base class
Pondidum/Conifer,Pondidum/Conifer
Conifer.Tests/Conventions/SpecifiedPartRouteConventionTests.cs
Conifer.Tests/Conventions/SpecifiedPartRouteConventionTests.cs
using System.Collections.Generic; using System.Linq; using System.Web.Http; using Conifer.Conventions; using Shouldly; using Xunit; namespace Conifer.Tests.Conventions { public class SpecifiedPartRouteConventionTests : ConventionTests { [Fact] public void When_the_part_is_null() { Convention = () => new Sp...
using System.Collections.Generic; using System.Linq; using Conifer.Conventions; using Shouldly; using Xunit; namespace Conifer.Tests.Conventions { public class SpecifiedPartRouteConventionTests { private List<string> RunTest(string part) { var method = GetType().GetMethod("ToString"); var template = new ...
lgpl-2.1
C#
59eb26dbf0f272069440871a81747f63de69a0e7
Update IAntimalwareScanner.cs
tiksn/TIKSN-Framework
TIKSN.Core/Security/Antimalware/IAntimalwareScanner.cs
TIKSN.Core/Security/Antimalware/IAntimalwareScanner.cs
namespace TIKSN.Security.Antimalware { public interface IAntimalwareScanner { AntimalwareScanResult ScanBinaryArray(byte[] binary, string contentName); AntimalwareScanResult ScanString(string @string, string contentName); } }
namespace TIKSN.Security.Antimalware { public interface IAntimalwareScanner { AntimalwareScanResult ScanBinaryArray(byte[] binary, string contentName); AntimalwareScanResult ScanString(string @string, string contentName); } }
mit
C#
7147fc81658d35721c6f6edfebfa5150aa88c826
Update Json tests to reflect change to IEnumerable
arthurrump/Zermelo.API
Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs
Zermelo/Zermelo.API.Tests/Services/JsonServiceTests.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Zermelo.API.Services; namespace Zermelo.API.Tests.Services { public class JsonServiceTests { [Fact] public void ShouldDes...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using Zermelo.API.Services; namespace Zermelo.API.Tests.Services { public class JsonServiceTests { [Fact] public void ShouldDes...
mit
C#
6cfaf7eec7198b773a24563eaf36bf5b5088f63a
Revert "Added Normalize (#9)" (#10)
igece/SoxSharp
src/OutputFormatOptions.cs
src/OutputFormatOptions.cs
using System.Collections.Generic; namespace SoxSharp { /// <summary> /// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file. /// </summary> public class OutputFormatOptions : FormatOptions { /// <summary> /// Compression fact...
using System.Collections.Generic; namespace SoxSharp { /// <summary> /// Format options to be applied to the output file. For any property not set here, SoX will infer the value from the input file. /// </summary> public class OutputFormatOptions : FormatOptions { /// <summary> /// Compression fact...
apache-2.0
C#
26a1e34c72afd6b9d92d171e0d5b376af616ffd4
Extend character set of function names (including ".")
Excel-DNA/IntelliSense
Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs
Source/ExcelDna.IntelliSense/UIMonitor/FormulaParser.cs
using System; using System.Linq; using System.Text.RegularExpressions; namespace ExcelDna.IntelliSense { static class FormulaParser { // Set from IntelliSenseDisplay.Initialize public static char ListSeparator = ','; internal static bool TryGetFormulaInfo(string formulaPrefix, out stri...
using System; using System.Linq; using System.Text.RegularExpressions; namespace ExcelDna.IntelliSense { static class FormulaParser { // Set from IntelliSenseDisplay.Initialize public static char ListSeparator = ','; internal static bool TryGetFormulaInfo(string formulaPrefix, out stri...
mit
C#
f0cbcf7f8837fb009a2e232bc59ccf0335cff340
Update code to have documentation
gwvandesteeg/plain-old-pong
Assets/src/RotatingHints.cs
Assets/src/RotatingHints.cs
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list ...
/* * Copyright (c) 2016, Gerwin van de Steeg * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list ...
bsd-2-clause
C#
4cfc144b5774b1d5643caf67751235a69104843f
add height validation to blockchain constructor
ArsenShnurkov/BitSharp
BitSharp.Data/Blockchain.cs
BitSharp.Data/Blockchain.cs
using BitSharp.Common; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data { public struct Blockchain { //TODO use ...
using BitSharp.Common; using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Diagnostics; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace BitSharp.Data { public struct Blockchain { //TODO use ...
unlicense
C#
9ae1dc918845143c69d2e85b5e813e0a17d99a00
Fix a typo.
BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot
src/BibleBot.Backend/Controllers/CommandsController.cs
src/BibleBot.Backend/Controllers/CommandsController.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; using System.Collections.Generic; using BibleBot.Lib; using BibleBot.Backend.Models; using BibleBot.Backend.Services; using BibleBot.Backend.Services.Providers; namespace BibleBot.Backend.Controllers { [Produces("appli...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using System.Threading.Tasks; using System.Collections.Generic; using BibleBot.Lib; using BibleBot.Backend.Models; using BibleBot.Backend.Services; using BibleBot.Backend.Services.Providers; namespace BibleBot.Backend.Controllers { [Produces("appli...
mpl-2.0
C#
d2cea6818c5bdecef3a9426d198c9a9103b3a083
Fix the problem that the web request is displayed twice when -Verbosity is set to detailed.
chocolatey/nuget-chocolatey,jmezach/NuGet2,chocolatey/nuget-chocolatey,mrward/nuget,xoofx/NuGet,GearedToWar/NuGet2,antiufo/NuGet2,RichiCoder1/nuget-chocolatey,GearedToWar/NuGet2,jmezach/NuGet2,antiufo/NuGet2,rikoe/nuget,oliver-feng/nuget,xoofx/NuGet,rikoe/nuget,oliver-feng/nuget,akrisiun/NuGet,jholovacs/NuGet,pratikkag...
src/CommandLine/Common/CommandLineRepositoryFactory.cs
src/CommandLine/Common/CommandLineRepositoryFactory.cs
 using System.Windows; namespace NuGet.Common { public class CommandLineRepositoryFactory : PackageRepositoryFactory, IWeakEventListener { public static readonly string UserAgent = "NuGet Command Line"; private readonly IConsole _console; public CommandLineRepositoryFactor...
 namespace NuGet.Common { public class CommandLineRepositoryFactory : PackageRepositoryFactory { public static readonly string UserAgent = "NuGet Command Line"; private readonly IConsole _console; public CommandLineRepositoryFactory(IConsole console) { _...
apache-2.0
C#
2197506200da01792e29ff9447cea18722b9d9d7
Make the application and its window come in front when launched
PlayScriptRedux/monomac,dlech/monomac
samples/macdoc/AppleDocWizard/AppleDocWizardDelegate.cs
samples/macdoc/AppleDocWizard/AppleDocWizardDelegate.cs
using System; using MonoMac.AppKit; namespace macdoc { public class AppleDocWizardDelegate : NSApplicationDelegate { AppleDocWizardController wizard; public override bool ApplicationShouldOpenUntitledFile (NSApplication sender) { return false; } public override void DidFinishLaunching (MonoMac.Fou...
using System; using MonoMac.AppKit; namespace macdoc { public class AppleDocWizardDelegate : NSApplicationDelegate { AppleDocWizardController wizard; public override bool ApplicationShouldOpenUntitledFile (NSApplication sender) { return false; } public override void DidFinishLaunching (MonoMac.Fou...
apache-2.0
C#
04576e5de4b3e26b4a768b510c576ac418815067
Increase volume accuracy
LykkeCity/MT,LykkeCity/MT,LykkeCity/MT
src/MarginTrading.Core/MarginTradingConsts.cs
src/MarginTrading.Core/MarginTradingConsts.cs
namespace MarginTrading.Core { public static class MarginTradingHelpers { // TODO: Rethink public const int VolumeAccuracy = 8; } public static class MatchingEngines { public const string Lykke = "LYKKE"; public const string Icm = "ICM"; public static strin...
namespace MarginTrading.Core { public static class MarginTradingHelpers { // TODO: Rethink public const int VolumeAccuracy = 2; } public static class MatchingEngines { public const string Lykke = "LYKKE"; public const string Icm = "ICM"; public static strin...
mit
C#
ff1a4d5f26fff220b7a4d2a54ccabc67d73c0c9b
Mark TestMerge.PrimaryRevisionInformation as required
Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
src/Tgstation.Server.Host/Models/TestMerge.cs
src/Tgstation.Server.Host/Models/TestMerge.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class TestMerge : Api.Models.Internal.TestMerge { /// <summary> /// See <see cref="Api.Models.TestMerge.MergedBy"/> /// </summary> [Required] public Use...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class TestMerge : Api.Models.Internal.TestMerge { /// <summary> /// See <see cref="Api.Models.TestMerge.MergedBy"/> /// </summary> [Required] public Use...
agpl-3.0
C#
eb2d9e93569e6d7ddbf957e3f9876210e2578f8b
improve error message for null HttpContext
Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core
src/JsonApiDotNetCore/Services/ScopedServiceProvider.cs
src/JsonApiDotNetCore/Services/ScopedServiceProvider.cs
using JsonApiDotNetCore.Internal; using Microsoft.AspNetCore.Http; using System; namespace JsonApiDotNetCore.Services { /// <summary> /// An interface used to separate the registration of the global ServiceProvider /// from a request scoped service provider. This is useful in cases when we need to ///...
using Microsoft.AspNetCore.Http; using System; namespace JsonApiDotNetCore.Services { /// <summary> /// An interface used to separate the registration of the global ServiceProvider /// from a request scoped service provider. This is useful in cases when we need to /// manually resolve services from th...
mit
C#
597daa2f2f21bbd662ed26ca877a31495924cb27
Fix incorrect comment
martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site
tests/LondonTravel.Site.Tests/Integration/IntegrationTest.cs
tests/LondonTravel.Site.Tests/Integration/IntegrationTest.cs
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.LondonTravel.Site.Integration { using Xunit; /// <summary> /// The base class for integration tests. /...
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.LondonTravel.Site.Integration { using Xunit; /// <summary> /// The base class for integration tests. /...
apache-2.0
C#
a0b8625f4673528f80dd0897109b92c77758c04a
Add OpCode.ToString()
ilkerhalil/dnlib,Arthur2e5/dnlib,yck1509/dnlib,jorik041/dnlib,0xd4d/dnlib,ZixiangBoy/dnlib,modulexcite/dnlib,picrap/dnlib,kiootic/dnlib
src/DotNet/Emit/OpCode.cs
src/DotNet/Emit/OpCode.cs
namespace dot10.DotNet.Emit { /// <summary> /// A CIL opcode /// </summary> public class OpCode { /// <summary> /// The opcode name /// </summary> public readonly string Name; /// <summary> /// The opcode as a <see cref="Code"/> enum /// </summary> public readonly Code Code; /// <summary> ///...
namespace dot10.DotNet.Emit { /// <summary> /// A CIL opcode /// </summary> public class OpCode { /// <summary> /// The opcode name /// </summary> public readonly string Name; /// <summary> /// The opcode as a <see cref="Code"/> enum /// </summary> public readonly Code Code; /// <summary> ///...
mit
C#
2766978f7554efdb53994e8ffa0b37b747bd8282
Fix a few
uken/websocket-sharp,sta/websocket-sharp,hybrid1969/websocket-sharp,Liryna/websocket-sharp,zq513705971/WebSocketApp,zhangwei900808/websocket-sharp,juoni/websocket-sharp,hybrid1969/websocket-sharp,alberist/websocket-sharp,zq513705971/WebSocketApp,hybrid1969/websocket-sharp,TabbedOut/websocket-sharp,zq513705971/WebSocket...
Example2/Chat.cs
Example2/Chat.cs
using System; using System.Threading; using WebSocketSharp; using WebSocketSharp.Server; namespace Example2 { public class Chat : WebSocketService { private static int _num = 0; private string _name; private string _prefix; public Chat () : this (null) { } public Chat (string p...
using System; using System.Threading; using WebSocketSharp; using WebSocketSharp.Server; namespace Example2 { public class Chat : WebSocketService { private static int _num = 0; private string _name; private string _prefix; public Chat () : this (null) { } public Chat (string p...
mit
C#
8474d17c56475f132eefc3a8f5b5489f5c1a045c
implement Proceed()
telerik/JustMockLite
Telerik.JustMock.Portable/Core/StaticProxy/ProxyInvocation.cs
Telerik.JustMock.Portable/Core/StaticProxy/ProxyInvocation.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Telerik.JustMock.Core.Castle.DynamicProxy; namespace Telerik.JustMock.Core.StaticProxy { public sealed class ProxyInvocation : IInvocation { private readonly MethodInfo method; private readonly o...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Telerik.JustMock.Core.Castle.DynamicProxy; namespace Telerik.JustMock.Core.StaticProxy { public sealed class ProxyInvocation : IInvocation { private readonly MethodInfo method; private readonly o...
apache-2.0
C#
28abd8b6e2a73ed4ea0730262c984751bc61e019
Add sound to Android notifications
AyuntamientoDeXalapa/AppLimpiaXalapa
AppLimpia/AppLimpia.Droid/CloudMessageListener.cs
AppLimpia/AppLimpia.Droid/CloudMessageListener.cs
using System; using Android.App; using Android.Content; using Android.Gms.Gcm; using Android.Media; using Android.OS; using Android.Util; namespace AppLimpia.Droid { /// <summary> /// The cloud message listener service. /// </summary> [Service(Exported = false), IntentFilter(new[] { "com.google.androi...
using System; using Android.App; using Android.Content; using Android.Gms.Gcm; using Android.OS; using Android.Util; namespace AppLimpia.Droid { /// <summary> /// The cloud message listener service. /// </summary> [Service(Exported = false), IntentFilter(new[] { "com.google.android.c2dm.intent.RECEIVE...
mit
C#
b60b8a79ad0f7886d0dcc786918674975d566b2c
fix version
marihachi/stacker
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Stacker")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Stacker")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: Assemb...
mit
C#
b53fe65be6e5590e64c32c31ec34035f05ef8326
Add required parameters to audio result
AndyDingo/telegram.bot,MrRoundRobin/telegram.bot,TelegramBots/telegram.bot
src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResultAudio.cs
src/Telegram.Bot/Types/InlineQueryResults/InlineQueryResultAudio.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.InlineQueryResults.Abstractions; using Telegram.Bot.Types.InputMessageContents; namespace Telegram.Bot.Types.InlineQueryResults { /// <summary> /// Represents a link to an mp3 audio file stored on the Telegram se...
using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using Telegram.Bot.Types.InlineQueryResults.Abstractions; using Telegram.Bot.Types.InputMessageContents; namespace Telegram.Bot.Types.InlineQueryResults { /// <summary> /// Represents a link to an mp3 audio file stored on the Telegram servers. By defa...
mit
C#
e1266b892442db980679317737693990d79a0ecf
Update using statement
EdwinVW/pitstop,EdwinVW/pitstop,EdwinVW/pitstop,EdwinVW/pitstop,EdwinVW/pitstop
src/WorkshopManagement.UnitTests/TestdataBuilders/VehicleBuilder.cs
src/WorkshopManagement.UnitTests/TestdataBuilders/VehicleBuilder.cs
using System; using Pitstop.WorkshopManagementAPI.Domain.Entities; using Pitstop.TestUtils; using Pitstop.WorkshopManagementAPI.Domain.ValueObjects; namespace WorkshopManagement.UnitTests.TestdataBuilders { public class VehicleBuilder { private Random _rnd; public LicenseNumber LicenseNumber {...
using System; using Pitstop.WorkshopManagementAPI.Domain.Entities; using TestUtils; using Pitstop.WorkshopManagementAPI.Domain.ValueObjects; namespace WorkshopManagement.UnitTests.TestdataBuilders { public class VehicleBuilder { private Random _rnd; public LicenseNumber LicenseNumber { get; pr...
apache-2.0
C#
3383b5ed90571938de5f0d17e2cc6b6f8f524b6c
fix bug in UrlGenerator which would never return relative URIs
kendaleiv/Supurlative,ritterim/Supurlative,billboga/Supurlative
src/Core/UrlGenerator.cs
src/Core/UrlGenerator.cs
using System; using System.Net.Http; using System.Web.Http.Routing; namespace RimDev.Supurlative { public class UrlGenerator { public UrlGenerator( HttpRequestMessage requestMessage, SupurlativeOptions options = null) { if (requestMessage == null) throw new ...
using System; using System.Net.Http; using System.Web.Http.Routing; namespace RimDev.Supurlative { public class UrlGenerator { public UrlGenerator( HttpRequestMessage requestMessage, SupurlativeOptions options = null) { if (requestMessage == null) throw new ...
mit
C#
b9f7c65c0552acb4e9b8ea1e20f8a99cbf2e7d42
Use SetAnchorPreset instead of manually setting each anchor
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14
Content.Client/Construction/ConstructionButton.cs
Content.Client/Construction/ConstructionButton.cs
using Content.Client.GameObjects.Components.Construction; using Robust.Client.Interfaces.Graphics; using Robust.Client.UserInterface.Controls; using Robust.Shared.Maths; using Robust.Shared.Utility; namespace Content.Client.Construction { public class ConstructionButton : Button { private readonly IDi...
using Content.Client.GameObjects.Components.Construction; using Robust.Client.Interfaces.Graphics; using Robust.Client.UserInterface.Controls; using Robust.Shared.Maths; using Robust.Shared.Utility; namespace Content.Client.Construction { public class ConstructionButton : Button { private readonly IDis...
mit
C#
2947b33481b222fa24a21f3c1e44cc1f8933ec8f
Fix cable unanchor bug (#6159)
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Power/EntitySystems/CableSystem.cs
Content.Server/Power/EntitySystems/CableSystem.cs
using Content.Server.Electrocution; using Content.Server.Power.Components; using Content.Server.Tools; using Content.Shared.Interaction; using Robust.Shared.GameObjects; using Robust.Shared.IoC; namespace Content.Server.Power.EntitySystems; public class CableSystem : EntitySystem { [Dependency] private readonly T...
using Content.Server.Electrocution; using Content.Server.Power.Components; using Content.Server.Tools; using Content.Shared.Interaction; using Robust.Shared.GameObjects; using Robust.Shared.IoC; namespace Content.Server.Power.EntitySystems; public class CableSystem : EntitySystem { [Dependency] private readonly T...
mit
C#
193142e90117ebba6668f40c7d69ef8f49a458b3
Fix missed BDL case
DrabWeb/osu,NeoAdonis/osu,johnneijzen/osu,naoey/osu,ZLima12/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,smoogipoo/osu,ppy/osu,DrabWeb/osu,johnneijzen/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,DrabWeb/osu,smoogipooo/osu,smoogipoo/osu,2yangk23/osu,naoey...
osu.Game.Tests/Visual/TestCasePlaybackControl.cs
osu.Game.Tests/Visual/TestCasePlaybackControl.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Screens...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Timing; using osu.Game.Beatmaps; using osu.Game.Screens...
mit
C#
688fcb256f41e5ad0fe96ee3fe2b9d2f82b5b960
Update score retrieval endpoint to access new storage
ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu
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. #nullable disable using System; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Respons...
// 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. #nullable disable using System; using osu.Game.Beatmaps; using osu.Game.Rulesets; using osu.Game.Screens.Select.Leaderboards; using osu.Game.Online.API.Requests.Respons...
mit
C#
791a0a694f1dbc6a3064c2fdad681c5476e5fa0c
Update `AtataContextTimeZoneTests`
YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata
test/Atata.Tests/AtataContextTimeZoneTests.cs
test/Atata.Tests/AtataContextTimeZoneTests.cs
using System; using System.Linq; using NUnit.Framework; namespace Atata.Tests { public class AtataContextTimeZoneTests : UITestFixtureBase { private readonly TimeZoneInfo _timeZone = TimeZoneInfo.FindSystemTimeZoneById("UTC-02"); private DateTime _nowInSetTimeZone; [SetUp] pu...
using System; using System.Linq; using NUnit.Framework; namespace Atata.Tests { public class AtataContextTimeZoneTests : UITestFixtureBase { private readonly TimeZoneInfo _timeZone = TimeZoneInfo.FindSystemTimeZoneById("UTC-02"); private DateTime _nowInSetTimeZone; [SetUp] pu...
apache-2.0
C#
bc7034b540130a375790fed9df5a78b8c84b349d
Scrub UUIDs as well.
ExRam/ExRam.Gremlinq
test/ExRam.Gremlinq.Core.Tests/QueryIntegrationTest.cs
test/ExRam.Gremlinq.Core.Tests/QueryIntegrationTest.cs
using System; using System.Collections.Immutable; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using Xunit.Abstractions; namespace ExRam.Gremlinq.Core.Tests { public abstract class QueryIntegrationTest : QueryExecutionTest { private static readonly Regex IdRegex = new (...
using System; using System.Collections.Immutable; using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using Xunit.Abstractions; namespace ExRam.Gremlinq.Core.Tests { public abstract class QueryIntegrationTest : QueryExecutionTest { private static readonly Regex IdRegex = new (...
mit
C#
ff68d30a8e96528d9981663693a929a1a625a4c1
Fix WeekdayInMonth holiday shouldCelebrate not checking for current month
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/Holiday/ShouldCelebrate/WeekdayInMonth.cs
Content.Server/Holiday/ShouldCelebrate/WeekdayInMonth.cs
using System; using System.Globalization; using JetBrains.Annotations; using Robust.Shared.Serialization; namespace Content.Server.Holiday.ShouldCelebrate { /// <summary> /// For a holiday that happens the first instance of a weekday on a month. /// </summary> [UsedImplicitly] public class Week...
using System; using System.Globalization; using JetBrains.Annotations; using Robust.Shared.Serialization; namespace Content.Server.Holiday.ShouldCelebrate { /// <summary> /// For a holiday that happens the first instance of a weekday on a month. /// </summary> [UsedImplicitly] public class Week...
mit
C#
bbeca8d76e59a9f82d2784b99d3ff9122c30a219
fix build.
wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Perspex,grokys/Perspex,AvaloniaUI/Avalonia,wieslaws...
src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs
src/Avalonia.Desktop/AppBuilderDesktopExtensions.cs
using Avalonia.Controls; using Avalonia.Platform; namespace Avalonia { public static class AppBuilderDesktopExtensions { public static TAppBuilder UsePlatformDetect<TAppBuilder>(this TAppBuilder builder) where TAppBuilder : AppBuilderBase<TAppBuilder>, new() { var os = b...
using Avalonia.Controls; using Avalonia.Platform; namespace Avalonia { public static class AppBuilderDesktopExtensions { public static TAppBuilder UsePlatformDetect<TAppBuilder>(this TAppBuilder builder) where TAppBuilder : AppBuilderBase<TAppBuilder>, new() { var os = b...
mit
C#
fea46b1f328cb4e4354c9602aeac9399e99ca7bc
remove unitSymbol from RangeValidationRule
tibel/Caliburn.Light
src/Caliburn.Core/Validation/RangeValidationRule.cs
src/Caliburn.Core/Validation/RangeValidationRule.cs
using System; using System.Globalization; namespace Caliburn.Light { /// <summary> /// Performs a range validation. /// </summary> /// <typeparam name="T">The type of the object the rule applies to.</typeparam> /// <typeparam name="TProperty">The type of the property the rule applies to.</typepara...
using System; using System.Globalization; namespace Caliburn.Light { /// <summary> /// Performs a range validation. /// </summary> /// <typeparam name="T">The type of the object the rule applies to.</typeparam> /// <typeparam name="TProperty">The type of the property the rule applies to.</typepara...
mit
C#
db3d84aedd72883ae1eed8c4b1842f5f87217aa0
Remove unfinished sentence.
reaction1989/roslyn,weltkante/roslyn,tannergooding/roslyn,DustinCampbell/roslyn,KirillOsenkov/roslyn,tmat/roslyn,brettfo/roslyn,davkean/roslyn,DustinCampbell/roslyn,agocke/roslyn,mgoertz-msft/roslyn,AmadeusW/roslyn,diryboy/roslyn,gafter/roslyn,eriawan/roslyn,wvdd007/roslyn,MichalStrehovsky/roslyn,weltkante/roslyn,jason...
src/EditorFeatures/Core/Wrapping/AbstractWrapper.cs
src/EditorFeatures/Core/Wrapping/AbstractWrapper.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Shared.Extensions; namespace Microsoft....
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Shared.Extensions; namespace Microsoft....
mit
C#
dd4c10ec1e5fe19c238b3ddf3c8db243d13d9dd2
Handle PS3 covers with no text
BloomBooks/PhotoStoryToBloomConverter,BloomBooks/PhotoStoryToBloomConverter
PhotoStoryToBloomConverter/Ps3Model/PhotoStoryProject.cs
PhotoStoryToBloomConverter/Ps3Model/PhotoStoryProject.cs
using System.Linq; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace PhotoStoryToBloomConverter.PS3Model { [XmlRoot("MSPhotoStoryProject", Namespace="MSPhotoStory")] public class PhotoStoryProject { [XmlAttribute("schemaVersion")] public string SchemaVersion; ...
using System.Linq; using System.Text.RegularExpressions; using System.Xml.Serialization; namespace PhotoStoryToBloomConverter.PS3Model { [XmlRoot("MSPhotoStoryProject", Namespace="MSPhotoStory")] public class PhotoStoryProject { [XmlAttribute("schemaVersion")] public string SchemaVersion; ...
mit
C#
115177a9bd04da06f2065aae8fd9ac5674775300
Fix build
nikeee/HolzShots
src/HolzShots.Core/Net/AggregateProgressReporter.cs
src/HolzShots.Core/Net/AggregateProgressReporter.cs
using System; using System.Collections.Generic; namespace HolzShots.Net { public sealed class AggregateProgressReporter : ITransferProgressReporter { private readonly IReadOnlyCollection<ITransferProgressReporter> _reporters; public AggregateProgressReporter(IReadOnlyCollection<ITransferProgres...
using System; using System.Collections.Generic; namespace HolzShots.Net { public sealed class AggregateProgressReporter : ITransferProgressReporter { private readonly IReadOnlyCollection<ITransferProgressReporter> _reporters; public AggregateProgressReporter(IReadOnlyCollection<ITransferProgres...
agpl-3.0
C#
670f15c83265310b3ad3ec41e1ee38e0d34a2e2f
Update Animation
IanEarnest/Unity-Official-Tutorials,IanEarnest/Unity-Official-Tutorials,IanEarnest/Unity-Official-Tutorials
Assets/Animation/AnimationTesting/Scripts/LevelStats.cs
Assets/Animation/AnimationTesting/Scripts/LevelStats.cs
using UnityEngine; using System.Collections; public class LevelStats : MonoBehaviour { void OnGUI(){ GUILayout.Label ("Health: " + Player_Unitychan.playerHealth + "\n" + "Stamina: " + Player_Unitychan.playerStamina); GUI.Box(new Rect(0, 30, 500, 20), "Health"); GUI.Box(new Rect(0, 30, Pla...
using UnityEngine; using System.Collections; public class LevelStats : MonoBehaviour { void OnGUI(){ GUILayout.Label ("Health: " + Player_Unitychan.playerHealth + "\n" + "Stamina: " + Player_Unitychan.playerStamina + "\n" + "isAttacking: " + Player_Unitychan.playerAnim.GetB...
mit
C#
26beaa81da789416ed5f6a62b5a56c89d3edb897
Add comments to NormalizeOptions (#155)
lunet-io/markdig
src/Markdig/Renderers/Normalize/NormalizeOptions.cs
src/Markdig/Renderers/Normalize/NormalizeOptions.cs
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. namespace Markdig.Renderers.Normalize { /// <summary> /// Defines the options used by <see cref="NormalizeRenderer"/> /// </s...
// Copyright (c) Alexandre Mutel. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. namespace Markdig.Renderers.Normalize { public class NormalizeOptions { public NormalizeOptions() { S...
bsd-2-clause
C#
6d6604e2f0c8c65570b8d99661894ede7d7f3b38
Fix incorrect indentation
peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu
osu.Game/Overlays/BeatmapListing/SearchPlayed.cs
osu.Game/Overlays/BeatmapListing/SearchPlayed.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { [LocalisableEnum(typeof(Sear...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { [LocalisableEnum(typeof(SearchPl...
mit
C#
b63388cfb7d8920547c1f1eea1aec2f8f830fb1a
Improve comment on AddCredential() extension method (#1373)
googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client,googleapis/google-api-dotnet-client,jskeet/google-api-dotnet-client,jskeet/google-api-dotnet-client,googleapis/google-api-dotnet-client
Src/Support/Google.Apis.Auth/OAuth2/RequestExtensions.cs
Src/Support/Google.Apis.Auth/OAuth2/RequestExtensions.cs
/* Copyright 2019 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
/* Copyright 2019 Google Inc Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
apache-2.0
C#
b72a0d7423fa8f9134f9649d6dfda2e6a81efac3
fix schema version
OpenTl/OpenTl.Schema
src/OpenTl.Schema/SchemaInfo.cs
src/OpenTl.Schema/SchemaInfo.cs
namespace OpenTl.Schema { public static class SchemaInfo { public static int SchemaVersion { get; } = 73; } }
namespace OpenTl.Schema { public static class SchemaInfo { public static int SchemaVersion { get; } = 72; } }
mit
C#
58d5faa8e8c7016e81cfb8a90a8bb19f407d1aa5
Update GdalSystem.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO.Gdal/GdalSystem.cs
src/RasterIO.Gdal/GdalSystem.cs
// Contributors: // James Domingo, Green Code LLC namespace Landis.RasterIO.Gdal { public static class GdalSystem { static GdalSystem() { OSGeo.GDAL.Gdal.AllRegister(); } public static void Initialize() { // Do nothing. The initialization occu...
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
828e574518ed4f176a2681238983c2fd74de8bf0
Use file move instead of file copy for mo better performance
chadly/vlc-rtsp,chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp
src/Camera.cs
src/Camera.cs
using System; using System.Collections.Generic; using System.IO; namespace Cams { public abstract class Camera { const string CONVERT_FOOTAGE_FORMAT = "mp4"; public string Name { get; private set; } public string RawFilePath { get; private set; } public abstract string Type { get; } public Camera(string...
using System; using System.Collections.Generic; using System.IO; namespace Cams { public abstract class Camera { const string CONVERT_FOOTAGE_FORMAT = "mp4"; public string Name { get; private set; } public string RawFilePath { get; private set; } public abstract string Type { get; } public Camera(string...
mit
C#
165df6e1175898c4f3af1d3c55153cb26d759561
Add test for returning empty list from script
TheBerkin/Rant
Rant.Tests/Richard/Lists.cs
Rant.Tests/Richard/Lists.cs
using System.Linq; using NUnit.Framework; namespace Rant.Tests.Richard { [TestFixture] public class Lists { private readonly RantEngine rant = new RantEngine(); [Test] public void ListInitBare() { Assert.AreEqual("5", rant.Do("[@ x = 1, 2, 3, 4, 5; x.length ]"...
using System.Linq; using NUnit.Framework; namespace Rant.Tests.Richard { [TestFixture] public class Lists { private readonly RantEngine rant = new RantEngine(); [Test] public void ListInitBare() { Assert.AreEqual("5", rant.Do("[@ x = 1, 2, 3, 4, 5; x.length ]"...
mit
C#
0d7a0dddfbc300793d185c8edc3ac85d4da1bb51
Print results of running tests
yawaramin/TDDUnit
Program.cs
Program.cs
using System; namespace TDDUnit { class TestTestCase : TestCase { public TestTestCase(string name) : base(name) { } public void TestTemplateMethod() { WasRunObj test = new WasRunObj("TestMethod"); test.Run(); Assert.That(test.Log == "SetUp TestMethod TearDown "); } public voi...
using System; namespace TDDUnit { class TestTestCase : TestCase { public TestTestCase(string name) : base(name) { } public void TestTemplateMethod() { WasRunObj test = new WasRunObj("TestMethod"); test.Run(); Assert.That(test.Log == "SetUp TestMethod TearDown "); } public voi...
apache-2.0
C#