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
b57d1a7f19e0fa45dd3eee969a68eded612bd59c
fix path expander
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
core/Engine/Engine/Rules/Creation/RulesLoader.cs
core/Engine/Engine/Rules/Creation/RulesLoader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core; using Engine.Core.Rules; using Engine.DataTypes; using Engine.Drivers.Rules; using LanguageExt; using static Engine.Core.Utils.TraceHelpers; namespace Engine.Rules.Creation { public static class Rul...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Engine.Core; using Engine.Core.Rules; using Engine.DataTypes; using Engine.Drivers.Rules; using LanguageExt; using static Engine.Core.Utils.TraceHelpers; namespace Engine.Rules.Creation { public static class Rul...
mit
C#
59e77cd70690ec2e351d6ce59760d904bdbaeda4
Update XML comment of ClickUsingActionsAttribute
YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata/Attributes/Behaviors/Click/ClickUsingActionsAttribute.cs
src/Atata/Attributes/Behaviors/Click/ClickUsingActionsAttribute.cs
using OpenQA.Selenium; using OpenQA.Selenium.Interactions; namespace Atata { /// <summary> /// Represents the behavior for control clicking by using a set of actions: /// <see cref="Actions.MoveToElement(IWebElement)"/> or <see cref="Actions.MoveToElement(IWebElement, int, int, MoveToElementOffsetOrigin)"...
using OpenQA.Selenium; using OpenQA.Selenium.Interactions; namespace Atata { /// <summary> /// Represents the behavior for control clicking by using a set of actions: /// <see cref="Actions.MoveToElement(IWebElement)"/> and <see cref="Actions.Click()"/>. /// </summary> public class ClickUsingActio...
apache-2.0
C#
6894a4831c55cbd22fcd16639cc207c1c8505cac
Bump assembly version to 4.1.333.0.
rubyu/CreviceApp,rubyu/CreviceApp
CreviceApp/Properties/AssemblyInfo.cs
CreviceApp/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Crevice 4")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfigurat...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Crevice4")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfigurati...
mit
C#
aa8c7a29da7ff7f472dbab0ea9226c0b04002ae0
Change comments header
Minesweeper-6-Team-Project-Telerik/Minesweeper-6
src2/ConsoleMinesweeper.Test/TestTimer.cs
src2/ConsoleMinesweeper.Test/TestTimer.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestTimer.cs" company="Telerik Academy"> // Teamwork Project "Minesweeper-6" // </copyright> // <summary> // The test timer. // </summary> // ----------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="TestTimer.cs" company=""> // // </copyright> // <summary> // The test timer. // </summary> // --------------------------------------------------------------------------------...
mit
C#
8ad397437a138431348257ec328a3ff183d412bc
use siml package from the project
idoban/FinBotApp,borismod/FinBotApp,idoban/FinBotApp,borismod/FinBotApp
FinBot/Engine/BotResponseGenerator.cs
FinBot/Engine/BotResponseGenerator.cs
using Syn.Bot.Siml; using BotResponse = FinBot.Models.BotResponse; namespace FinBot.Engine { public interface IBotResponseGenerator { BotResponse GetBotResponse(string input); } public class BotResponseGenerator : IBotResponseGenerator { private readonly SimlBot _simlBot; ...
using System.IO; using Syn.Bot.Siml; using BotResponse = FinBot.Models.BotResponse; namespace FinBot.Engine { public interface IBotResponseGenerator { BotResponse GetBotResponse(string input); } public class BotResponseGenerator : IBotResponseGenerator { private readonly SimlBot _s...
mit
C#
949b7e4b4e89d8cb4d7186185f85aea890fa21d6
Fix to make WPF sample executable
SimControl/SimControl.Reactive
SimControl.Samples.CSharp.WpfApplication/Properties/AssemblyInfo.cs
SimControl.Samples.CSharp.WpfApplication/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information ...
using System; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information ...
mit
C#
218baecdf0f8bcc0495a8cdf4fe7300fbcc591c8
Add an integration test for reading the current user.
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
tests/Tgstation.Server.Tests/UsersTest.cs
tests/Tgstation.Server.Tests/UsersTest.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Client; namespace Tgstation.Server.Tests { sealed class UsersTest { readonly IUsers...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Api.Models; using Tgstation.Server.Client; namespace Tgstation.Server.Tests { sealed class UsersTest { readonly IUsers...
agpl-3.0
C#
8077fd2f94aaec2e12a51d6844c0095314b13e1b
Update error categories to match libgit2
GeertvanHorrik/libgit2sharp,rcorre/libgit2sharp,xoofx/libgit2sharp,Zoxive/libgit2sharp,mono/libgit2sharp,AMSadek/libgit2sharp,AArnott/libgit2sharp,PKRoma/libgit2sharp,github/libgit2sharp,psawey/libgit2sharp,GeertvanHorrik/libgit2sharp,github/libgit2sharp,OidaTiftla/libgit2sharp,sushihangover/libgit2sharp,jeffhostetler/...
LibGit2Sharp/Core/GitErrorCategory.cs
LibGit2Sharp/Core/GitErrorCategory.cs
namespace LibGit2Sharp.Core { internal enum GitErrorCategory { Unknown = -1, None, NoMemory, Os, Invalid, Reference, Zlib, Repository, Config, Regex, Odb, Index, Object, Net, Tag, Tree...
namespace LibGit2Sharp.Core { internal enum GitErrorCategory { Unknown = -1, NoMemory, Os, Invalid, Reference, Zlib, Repository, Config, Regex, Odb, Index, Object, Net, Tag, Tree, Inde...
mit
C#
b0debaff8d4d01777b36d6bf0e1ed77ad38f7aa4
fix lazy loading the nasted items
benhallouk/syntactic-docs,benhallouk/syntactic-docs
src/SyntacticDocs/Services/DocumentService.cs
src/SyntacticDocs/Services/DocumentService.cs
using System.Collections.Generic; using System.Linq; using SyntacticDocs.Models; using SyntacticDocs.Data; using Microsoft.EntityFrameworkCore; namespace SyntacticDocs.Services { public class DocumentService { private readonly ApplicationDbContext _db; public DocumentService(ApplicationDbConte...
using System.Collections.Generic; using System.Linq; using SyntacticDocs.Models; using SyntacticDocs.Data; using Microsoft.EntityFrameworkCore; namespace SyntacticDocs.Services { public class DocumentService { private readonly ApplicationDbContext _db; public DocumentService(ApplicationDbConte...
apache-2.0
C#
993f64099efee78f577fcea85992ab86c39c2415
Update to version 1.0.3
ManuelRin/NServiceMVC,ManuelRin/NServiceMVC,gregmac/NServiceMVC,gregmac/NServiceMVC,gregmac/NServiceMVC
src/NServiceMVC/Properties/AssemblyInfo.cs
src/NServiceMVC/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: AssemblyTi...
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: AssemblyTi...
mit
C#
0359acfa09ea58ffb331e9d1922d25820aee39df
Implement DOMNodeList
peachpiecompiler/peachpie,iolevel/peachpie,iolevel/peachpie-concept,iolevel/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie,iolevel/peachpie-concept,peachpiecompiler/peachpie
src/Peachpie.Library.XmlDom/DOMNodeList.cs
src/Peachpie.Library.XmlDom/DOMNodeList.cs
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Pchp.Core; namespace Peachpie.Library.XmlDom { [PhpType(PhpTypeAttribute.InheritName)] public class DOMNodeList : Traversable, Iterator { #region Fields and Properties ...
using System; using System.Collections.Generic; using System.Text; using Pchp.Core; namespace Peachpie.Library.XmlDom { [PhpType(PhpTypeAttribute.InheritName)] public class DOMNodeList { } }
apache-2.0
C#
fe7a5f082ca14f5945eedc8d0d23311c0d3701a0
Cut down FormatterServices (#10653)
pgavlin/coreclr,parjong/coreclr,mskvortsov/coreclr,ruben-ayrapetyan/coreclr,pgavlin/coreclr,James-Ko/coreclr,wtgodbe/coreclr,qiudesong/coreclr,russellhadley/coreclr,gkhanna79/coreclr,James-Ko/coreclr,wateret/coreclr,tijoytom/coreclr,krk/coreclr,cmckinsey/coreclr,botaberg/coreclr,botaberg/coreclr,JosephTremoulet/coreclr...
src/mscorlib/src/System/Runtime/Serialization/FormatterServices.cs
src/mscorlib/src/System/Runtime/Serialization/FormatterServices.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. /*============================================================ ** ** ** ** Purpose: Provides some static methods to ...
// 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. /*============================================================ ** ** ** ** Purpose: Provides some static methods to ...
mit
C#
70ea2df33413fba59cca2a20abe64246ad1672c9
Update ContentItem.cs
DonnotRain/Orchard,bedegaming-aleksej/Orchard,ehe888/Orchard,aaronamm/Orchard,jagraz/Orchard,huoxudong125/Orchard,jtkech/Orchard,spraiin/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,xiaobudian/Orchard,fassetar/Orchard,johnnyqian/Orchard,Serlead/Orchard,li0803/Orchard,Fogolan/OrchardForWork,li0803/Orchard,jtkech/Orc...
src/Orchard/ContentManagement/ContentItem.cs
src/Orchard/ContentManagement/ContentItem.cs
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using Orchard.ContentManagement.MetaData.Models; using Orchard.ContentManagement.Records; namespace Orchard.ContentManagement { public class ContentItem : DynamicObject, IContent { public ContentItem() { ...
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using Orchard.ContentManagement.MetaData.Models; using Orchard.ContentManagement.Records; namespace Orchard.ContentManagement { public class ContentItem : DynamicObject, IContent { public ContentItem() { ...
bsd-3-clause
C#
1649337800d009eb67a050a6887dda3dcebe9d4c
increase version number
hillin/gettime
Source/Properties/AssemblyInfo.cs
Source/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("Get...
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("Get...
mit
C#
60dbc41894d76710d711b6061c638cca170e66a3
Change to version number for 1.0 Release
Statyk7/log2console
src/Log2Console/Properties/AssemblyInfo.cs
src/Log2Console/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: AssemblyTi...
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: AssemblyTi...
bsd-3-clause
C#
a1109289fe78d583cf8e4c3f582edacedc29b2b2
add test for server start/stop events
rjw57/streamkinect2.net
StreamKinect2Tests/ServerTests.cs
StreamKinect2Tests/ServerTests.cs
using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using StreamKinect2; using System.Threading; using System.Collections.Generic; using System; using StreamKinect2Tests.Mocks; namespace StreamKinect2Tests { [TestClass] public class StoppedServerTests { // Re-initialised ...
using System.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using StreamKinect2; using System.Threading; using System.Collections.Generic; using System; using StreamKinect2Tests.Mocks; namespace StreamKinect2Tests { [TestClass] public class StoppedServerTests { // Re-initialised ...
bsd-2-clause
C#
85c9ba8ced5cf0ebda52a1e76e7e0d30e7fc2f58
Bump version
canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor
src/SyncTrayzor/Properties/AssemblyInfo.cs
src/SyncTrayzor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
6d6975ca3a61f10c53a0c01bb56947804b44ff17
Add tests for FY handling
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Tests/FiscalYearTests.cs
Battery-Commander.Tests/FiscalYearTests.cs
using BatteryCommander.Web.Models; using System; using System.Collections.Generic; using Xunit; using BatteryCommander.Web.Services; namespace BatteryCommander.Tests { public class FiscalYearTests { [Fact] public void Check_FY_2017_Start() { Assert.Equal(new DateTime(2016,...
using BatteryCommander.Web.Models; using System; using System.Collections.Generic; using Xunit; namespace BatteryCommander.Tests { public class FiscalYearTests { [Fact] public void Check_FY_2017_Start() { } } }
mit
C#
ba01b50f36f42db639c3f74feea961c401ed4aa9
increase the internal number of the assembly
TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO,TUD-INF-IAI-MCI/BrailleIO
BrailleRenderer/Properties/AssemblyInfo.cs
BrailleRenderer/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
bsd-2-clause
C#
3b15b7b73390591ee18a0d542faa157ddcc0d1bd
Update QueryableExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/QueryableExtensions.cs
src/QueryableExtensions.cs
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains static methods for working with queryables. /// </summary> public static class QueryableExtensions { /// <summary> /// Returns a single value from the specified <paramref name="quer...
using System; using System.Collections.Generic; using System.Linq; namespace HallLibrary.Extensions { /// <summary> /// Contains static methods for working with queryables. /// </summary> public static class QueryableExtensions { /// <summary> /// Returns a single value from the specified <paramref name="quer...
apache-2.0
C#
538e067bded5f35872be65282b409f4be1c1a4ef
change noteId by id
orodriguez/FTF,orodriguez/FTF,orodriguez/FTF
FTF.Api.Web/Controllers/NotesController.cs
FTF.Api.Web/Controllers/NotesController.cs
using System.Collections.Generic; using System.Web.Http; using FTF.Api.Requests.Notes; using FTF.Api.Responses; using FTF.Api.Services; namespace FTF.Api.Web.Controllers { public class NotesController : ApiController { private readonly INotesService _notes; public NotesController(INotesServic...
using System.Collections.Generic; using System.Web.Http; using FTF.Api.Requests.Notes; using FTF.Api.Responses; using FTF.Api.Services; namespace FTF.Api.Web.Controllers { public class NotesController : ApiController { private readonly INotesService _notes; public NotesController(INotesServic...
mit
C#
de7dd29d791304fe588ae1f297ecff8e128168c4
Add "Nominations" and "Updated" sorting criteria in beatmap listing
peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Overlays/BeatmapListing/SortCriteria.cs
osu.Game/Overlays/BeatmapListing/SortCriteria.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 osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { public enum SortCriteria...
// 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 osu.Framework.Localisation; using osu.Game.Resources.Localisation.Web; namespace osu.Game.Overlays.BeatmapListing { public enum SortCriteria...
mit
C#
2ae479fbd1742ac91a93c34d080cc9db2cd8872c
Hide TabControl's dropdown's header when no items are inside the dropdown.
EVAST9919/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,naoey/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,default0/osu-framewor...
osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs
osu.Framework/Graphics/UserInterface/Tab/TabDropDownMenu.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Linq; namespace osu.Framework.Graphics.UserInterface.Tab { public abstract class TabDropDownMenu<T> : DropDownMenu<T> { ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE // TODO: Hide header when no items in dropdown namespace osu.Framework.Graphics.UserInterface.Tab { public abstract class TabDropDownMenu<T> : DropD...
mit
C#
bffde3c9984e8f32df55986e53ca40e4ead76d67
Allow ExcludeFromDynamicCompile on enums
peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework
osu.Framework/Testing/ExcludeFromDynamicCompileAttribute.cs
osu.Framework/Testing/ExcludeFromDynamicCompileAttribute.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; namespace osu.Framework.Testing { /// <summary> /// Indicates that a type should be excluded from dynamic compilation. Does not affect derived type...
// 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; namespace osu.Framework.Testing { /// <summary> /// Indicates that a type should be excluded from dynamic compilation. Does not affect derived type...
mit
C#
9005bce0fa574ec9be7661bbeb5029e1ad8797fc
Add "counter" keyword for key overlay setting
ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs
osu.Game/Overlays/Settings/Sections/Gameplay/HUDSettings.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisation; namespace osu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Localisation; using osu.Game.Configuration; using osu.Game.Localisation; namespace osu...
mit
C#
0fb8ba89583fd4f44246a3a6732bd4214d129ef7
Remove backing types
mstrother/BmpListener
BMPClient/BGP/BGP.cs
BMPClient/BGP/BGP.cs
using System; namespace BmpListener.Bgp { public enum AddressFamily { IPv4 = 1, IPv6, L2VPN = 25 } [Flags] public enum AttributeFlags { EXTENDED_LENGTH = 1 << 4, PARTIAL = 1 << 5, TRANSITIVE = 1 << 6, OPTIONAL = 1 << 7 } public ...
using System; namespace BmpListener.Bgp { public enum AddressFamily { IPv4 = 1, IPv6, L2VPN = 25 } [Flags] public enum AttributeFlags : byte { EXTENDED_LENGTH = 1 << 4, PARTIAL = 1 << 5, TRANSITIVE = 1 << 6, OPTIONAL = 1 << 7 } ...
mit
C#
aeb023b752f20589aaae5fcab0751b9b55390600
fix few bugs
PeterXUYAOHAI/DataTrek-VR
Assets/dataCreator.cs
Assets/dataCreator.cs
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = System.Random; public class dataCreator : MonoBehaviour { public GameObject ball; public GameObject cube; public GameObject capsule; // Use this for initialization void Start () { Physics.gravity = ne...
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using Random = System.Random; public class dataCreator : MonoBehaviour { public GameObject ball; public GameObject cube; public GameObject capsule; // Use this for initialization void Start () { Physics.gravity = ne...
apache-2.0
C#
43cf95e0c2bffdb47882691ff6bef4cc4647e1a5
Remove unused usings.
jcheng31/DarkSkyApi,jcheng31/ForecastPCL
ForecastPCL.Test/ApiTests.cs
ForecastPCL.Test/ApiTests.cs
namespace ForecastPCL.Test { using System.Configuration; using ForecastIOPortable; using NUnit.Framework; /// <summary> /// Tests for the main ForecastApi class. /// </summary> [TestFixture] public class ApiTests { /// <summary> /// Checks that attempting to retri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ForecastPCL.Test { using System.Configuration; using ForecastIOPortable; using NUnit.Framework; /// <summary> /// Tests for the main ForecastApi class. /// </summary...
mit
C#
c3d80abf0725116789bea9a058dda9a9f576b038
Allow combining lifetime scope tags
HangfireIO/Hangfire.Autofac
HangFire.Autofac/RegistrationExtensions.cs
HangFire.Autofac/RegistrationExtensions.cs
using System; using System.Linq; using Autofac.Builder; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Adds registration syntax to the <see cref="Autofac.ContainerBuilder"/> type. /// </summary> public static class RegistrationExtensions { /// <summary> /// Shar...
using System; using Autofac.Builder; using Hangfire.Annotations; namespace Hangfire { /// <summary> /// Adds registration syntax to the <see cref="Autofac.ContainerBuilder"/> type. /// </summary> public static class RegistrationExtensions { /// <summary> /// Share one instance of t...
mit
C#
40ed6ebd5f5ed6f0422e32c71a7614bc975f6fb9
Change signatures
sakapon/Samples-2017
ProxySample/CrossCuttingConsole/Aspects.cs
ProxySample/CrossCuttingConsole/Aspects.cs
using System; using System.Runtime.Remoting.Messaging; using System.Transactions; namespace CrossCuttingConsole { public class TraceLogAttribute : AspectAttribute { public override IMethodReturnMessage Invoke(Func<IMethodReturnMessage> baseInvoke, MarshalByRefObject target, IMethodCallMessage ...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Transactions; namespace CrossCuttingConsole { public class TraceLogAttribute : AspectAttribute { public override IMethodReturnMessage Invoke(Func<IMethodReturnMessage> bas...
mit
C#
cc00e5ad37d6291994cd41c35d079c59bc76b46a
Fix Semantics in CommandConnection
rit-sse-mycroft/core
Mycroft/CommandConnection.cs
Mycroft/CommandConnection.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft { class CommandConnection { /// <summary> /// Source of all commands /// </summary> public Stream input {get; private set;} ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mycroft { class CommandConnection { /// <summary> /// Source of all commands /// </summary> private Stream input; /// <summary>...
bsd-3-clause
C#
9570d22bbc2621c29921fda0a066831ff18aba96
update hello message
alisonvogel12/personalsite,alisonvogel12/personalsite
AlisonVogel.Web/Views/Home/Index.cshtml
AlisonVogel.Web/Views/Home/Index.cshtml
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body> <div> Hello. Now I am in the cloud!! </div> </body> </html>
 @{ Layout = null; } <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <title>Index</title> </head> <body> <div> Hello! </div> </body> </html>
mit
C#
40627a5c8bae0a4961de463f3a09b43c062b0b97
Fix title
vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit
src/web-editor/Views/Shared/_Layout.cshtml
src/web-editor/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"]</title> <base href="/" /> <link rel="stylesheet" href="~/dist/vendor.css" asp-append-version="true" /> </head>...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>@ViewData["Title"] - WebApplicationBasic</title> <base href="/" /> <link rel="stylesheet" href="~/dist/vendor.css" asp-append-version=...
mit
C#
ba09179001fea12560519bbd8070e889df32aa14
Add ctor to pipe the http factory
joaoasrosa/website-performance,joaoasrosa/website-performance
src/website-performance/Entities/Robots.cs
src/website-performance/Entities/Robots.cs
using System; using System.Collections.Generic; using website_performance.Infrastructure; namespace website_performance.Entities { public class Robots { private readonly IHttpMessageHandlerFactory _httpMessageHandlerFactory; private readonly List<Uri> _sitemaps = new List<Uri>(); publ...
using System; using System.Collections.Generic; namespace website_performance.Entities { public class Robots { private readonly List<Uri> _sitemaps = new List<Uri>(); public Robots(string url) { if (Uri.TryCreate(url, UriKind.Absolute, out var robotsUrl)) U...
mit
C#
a0b5224a1e0d1a9e1760634c768f7e3ac2457aef
Change the FROM address to redleg.app
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Services/EmailService.cs
Battery-Commander.Web/Services/EmailService.cs
using Microsoft.Extensions.Options; using SendGrid.Helpers.Mail; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public interface IEmailService { Task Send(SendGridMessage message); } public class EmailService : IEmailService { public static readonly EmailA...
using Microsoft.Extensions.Options; using SendGrid.Helpers.Mail; using System.Threading.Tasks; namespace BatteryCommander.Web.Services { public interface IEmailService { Task Send(SendGridMessage message); } public class EmailService : IEmailService { public static readonly EmailA...
mit
C#
c709c6c559cb10263a8fb0348cc66c08102663cb
Load the videos before enumerating them
flagbug/Espera,punker76/Espera
Espera/Espera.Core/YoutubeSongFinder.cs
Espera/Espera.Core/YoutubeSongFinder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; namespace Espera.Core { public sealed class YoutubeSongFinder : IYoutubeSongFinder { private const string ApiKey = "...
using Google.GData.Client; using Google.GData.YouTube; using Google.YouTube; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Espera.Core { public sealed class YoutubeSongFinder : IYoutubeSongFinder { private const string ApiKey = "AI39si5_zcffmO_ErRS...
mit
C#
b3a9ad5d218961e9a3b78a144307a4959109d2bf
Fix travelstone search.
uoinfusion/Infusion
ExampleScripts/UOErebor/travelstone.csx
ExampleScripts/UOErebor/travelstone.csx
#load "Specs.csx" #load "common.csx" using Infusion.Commands; public static class TravelStone { // doesn't support destinations on the second page yet public static void TravelTo(string destination) { var travelStone = UO.Items.OnGround().MaxDistance(4).Matching(Specs.TravelStone).FirstOrDefault()...
#load "Specs.csx" #load "common.csx" using Infusion.Commands; public static class TravelStone { // doesn't support destinations on the second page yet public static void TravelTo(string destination) { UO.Use(Specs.TravelStone); UO.WaitForGump(); UO.LastGumpInfo(); UO.Select...
mit
C#
39a4672caaa65e8d682380e184ea71e55f9ec667
fix bomb eating
daknauff/ld34_fish
ld34/Assets/Scripts/playereat.cs
ld34/Assets/Scripts/playereat.cs
using UnityEngine; using System.Collections; public class playereat : MonoBehaviour { void start() { } void OnCollisionEnter2D(Collision2D col) { float newscale = transform.localScale.x; if (col.transform.localScale.x <= transform.localScale.x) { if (col.gameObject...
using UnityEngine; using System.Collections; public class playereat : MonoBehaviour { void start() { } void OnCollisionEnter2D(Collision2D col) { float newscale = transform.localScale.x; if (col.transform.localScale.x <= transform.localScale.x) { Destroy(c...
cc0-1.0
C#
dcc118abb60bbc6d21fa772e2f7f60bcd57bbcdc
Add test
sakapon/KLibrary.Linq
KLibrary4/UnitTest/Linq/Lab/Enumerable2Test.cs
KLibrary4/UnitTest/Linq/Lab/Enumerable2Test.cs
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using static KLibrary.Linq.Lab.Enumerable2; namespace UnitTest.Linq.Lab { [TestClass] public class Enumerable2Test { [TestMethod] public void Range_1() ...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using static KLibrary.Linq.Lab.Enumerable2; namespace UnitTest.Linq.Lab { [TestClass] public class Enumerable2Test { [TestMethod] public void Range_1() ...
mit
C#
69bf852d7bb15a5bc05747a5e5f3c34e6bdff42a
Fix not to set UnsetValue.
cube-soft/Cube.Core,cube-soft/Cube.Core
Libraries/Sources/Behaviors/DisposeBehavior.cs
Libraries/Sources/Behaviors/DisposeBehavior.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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....
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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-2.0
C#
0a52f17adcaa8a02a0b39db7f08872bf8b4c2f20
Bump version to 1.6.0
mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
MonoDevelop.AddinMaker/Properties/AddinInfo.cs
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.6.0", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly: AddinName ("AddinMaker")] [assembly: AddinCategory ("Extension Development")] [assembly: AddinDescription ("Makes ...
using Mono.Addins; using Mono.Addins.Description; [assembly: Addin ( "AddinMaker", Namespace = "MonoDevelop", Version = "1.5.0", Url = "http://github.com/mhutch/MonoDevelop.AddinMaker" )] [assembly: AddinName ("AddinMaker")] [assembly: AddinCategory ("Extension Development")] [assembly: AddinDescription ("Makes ...
mit
C#
fe9527c413536c52fbc88f11bdef7986dc8197b3
fix spacing
stefanprodan/MvcThrottle,stefanprodan/MvcThrottle,stefanprodan/MvcThrottle
MvcThrottle.Demo/Controllers/BaseController.cs
MvcThrottle.Demo/Controllers/BaseController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcThrottle.Demo.Controllers { [EnableThrottling] public class BaseController : Controller { } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MvcThrottle.Demo.Controllers { [EnableThrottling] public class BaseController : Controller { } }
mit
C#
8762277fee65f1b41c2966a76c0c5760daaa3290
Remove debug info.
AmadeusW/SourceBrowser,CodeConnect/SourceBrowser,CodeConnect/SourceBrowser,AmadeusW/SourceBrowser,AmadeusW/SourceBrowser
src/SourceBrowser.Generator/Model/FolderModel.cs
src/SourceBrowser.Generator/Model/FolderModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Generator.Model { public class FolderModel : IProjectItem { public ICollection<IProjectItem> Children { get; set; } public IProjectItem Parent { get; pri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SourceBrowser.Generator.Model { public class FolderModel : IProjectItem { public ICollection<IProjectItem> Children { get; set; } public IProjectItem Parent { get; pri...
mit
C#
7e4c9d41fc523772091e85a90caa71f49064c645
Update UmbShopProduct
umbShop/umbShop,umbShop/umbShop,umbShop/umbShop
umbShop/Models/Product/UmbShopProduct.cs
umbShop/Models/Product/UmbShopProduct.cs
using Newtonsoft.Json; using System; using Umbraco.Core.Models; using Umbraco.Web; namespace umbShop.Models.Product { public class UmbShopProduct { #region Properties [JsonProperty("id")] public int Id { get; private set; } [JsonProperty("udi")] public Guid Udi { get...
using Newtonsoft.Json; using Umbraco.Core.Models; namespace umbShop.Models.Product { public class UmbShopProduct { #region Properties [JsonProperty("id")] public int Id { get; private set; } [JsonProperty("name")] public string Name { get; private set; } #en...
mit
C#
cedf399d5302b4fcb0788b294c2410a214f2267a
Remove EditorBrowsable attribute. No reason to hide the property. Fixes #108
PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors,PedroLamas/XamlBehaviors,Microsoft/XamlBehaviors
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/BehaviorOfT.cs
src/BehaviorsSDKManaged/Microsoft.Xaml.Interactivity/BehaviorOfT.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Windows.UI.Xaml; namespace Microsoft.Xaml.Interactivity { /// <summary> /// A base class for behaviors making them code compatible with ol...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Windows.UI.Xaml; namespace Microsoft.Xaml.Interactivity { /// <summary> /// A base class for behaviors making them code compatible with ol...
mit
C#
1e49d91ab7295efe22d735b3ce70bf2f5dcb707f
Update MultitenancyServiceCollectionExtensions.cs
saaskit/saaskit,rdefreitas/saaskit
src/SaasKit.Multitenancy/MultitenancyServiceCollectionExtensions.cs
src/SaasKit.Multitenancy/MultitenancyServiceCollectionExtensions.cs
using Microsoft.AspNetCore.Http; using SaasKit.Multitenancy; using SaasKit.Multitenancy.Internal; namespace Microsoft.Extensions.DependencyInjection { using Extensions; using System.Reflection; public static class MultitenancyServiceCollectionExtensions { public static IServiceCollection Ad...
using Microsoft.AspNetCore.Http; using SaasKit.Multitenancy; using SaasKit.Multitenancy.Internal; namespace Microsoft.Extensions.DependencyInjection { using Extensions; using System.Reflection; public static class MultitenancyServiceCollectionExtensions { public static IServiceCollection Ad...
mit
C#
846f0fd3cc4217582c00da10ad590704288190af
Remove call to .Any() from ProblemDetailsDefaultWriter (#43055)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Http/Http.Extensions/src/DefaultProblemDetailsWriter.cs
src/Http/Http.Extensions/src/DefaultProblemDetailsWriter.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Microsoft.Net.Http.Headers; na...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text.Json.Serialization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Microsoft.Ne...
apache-2.0
C#
0e8c5a59dbdaa0c2014c1015fefc9faad4e20f5e
Use PropertyChangedCallback
sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014
RxSample/MouseRx2Wpf/MainWindow.xaml.cs
RxSample/MouseRx2Wpf/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using S...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using S...
mit
C#
87309cf7df84e9cd90dda23747eea4c3c1f54b08
Fix JsonApiServer breaking if parameter operator was not present
SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,faint32/snowflake-1,RonnChyran/snowflake
Snowflake.API/Core/Server/JsonApiServer.cs
Snowflake.API/Core/Server/JsonApiServer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Net; using System.IO; using System.Threading; using Newtonsoft.Json; using System.Web; using Snowflake.Ajax; using Snowflake.Extensions; namespace Snowflake.Core.Server { public class ApiS...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Mono.Net; using System.IO; using System.Threading; using Newtonsoft.Json; using System.Web; using Snowflake.Ajax; using Snowflake.Extensions; namespace Snowflake.Core.Server { public class ApiS...
mpl-2.0
C#
7438684441520738aa0c0d662d992688cc1de211
Add DbConfigurationType to Context
SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples,SteelToeOSS/Samples
Connectors/src/MySqlEF6/Models/TestContext.cs
Connectors/src/MySqlEF6/Models/TestContext.cs
using MySql.Data.Entity; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; namespace MySqlEF6.Models { [DbConfigurationType(typeof(MySqlEFConfiguration))] public class TestContext : DbContext { public TestContext(string conne...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; namespace MySqlEF6.Models { public class TestContext : DbContext { public TestContext(string connectionString) : base(connectionString) { } public DbSet<T...
apache-2.0
C#
8cbbc468641a44348e2a117c828e14aa62075b05
Comment out InvalidOperationException (is there anything to implement here)?
PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1
Source/Eto/Forms/Controls/Navigation.cs
Source/Eto/Forms/Controls/Navigation.cs
using System; using System.Collections.Generic; namespace Eto.Forms { public interface INavigation : IContainer { void Push (INavigationItem item); void Pop (); } public class Navigation : Container { new INavigation Handler { get { return (INavigation)base.Handler; } } public override IEnumerable<Con...
using System; using System.Collections.Generic; namespace Eto.Forms { public interface INavigation : IContainer { void Push (INavigationItem item); void Pop (); } public class Navigation : Container { new INavigation Handler { get { return (INavigation)base.Handler; } } public override IEnumerable<Con...
bsd-3-clause
C#
b8cf0439e5bab95fcdc976d17fcfaf4ee65036d5
Update for fix to url encoding
mike-ward/tweetz-desktop
tweetz5/tweetz5/Properties/AssemblyInfo.cs
tweetz5/tweetz5/Properties/AssemblyInfo.cs
// Copyright (c) 2013 Blue Onion Software - All rights reserved using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("Tweetz Desktop")] [assembly: AssemblyDescription("Gadget-Like desktop twitter client")] [assembly: AssemblyConfiguration("")] [assemb...
// Copyright (c) 2013 Blue Onion Software - All rights reserved using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("Tweetz Desktop")] [assembly: AssemblyDescription("Gadget-Like desktop twitter client")] [assembly: AssemblyConfiguration("")] [assemb...
mit
C#
0df23168127bc6f685b6373a209a5bfd87342b39
Prepare 0.2.0 release
LouisTakePILLz/ArgumentParser
ArgumentParser/Properties/AssemblyInfo.cs
ArgumentParser/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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("ArgumentParser")] [...
using System.Reflection; using System.Runtime.InteropServices; using System.Security; // 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("ArgumentsParser")] ...
apache-2.0
C#
17f7637e4a680f14f4b94b14fa3ad71c17934af6
Mark as PublicAPI.
jherby2k/AudioWorks
AudioWorks/AudioWorks.Common/AudioInfo.cs
AudioWorks/AudioWorks.Common/AudioInfo.cs
using JetBrains.Annotations; namespace AudioWorks.Common { [PublicAPI] public class AudioInfo { } }
namespace AudioWorks.Common { public class AudioInfo { } }
agpl-3.0
C#
939a7e601328d6e3437c5dee0fddb773ed25a9cc
Print doubles with InvariantCulture
json5/json5-dotnet
Json5/Json5Number.cs
Json5/Json5Number.cs
using System.Globalization; namespace Json5 { public class Json5Number : Json5Primitive { private double value; public Json5Number(double value) { this.value = value; } public override Json5Type Type { get { return Json5Type.Number; } ...
namespace Json5 { public class Json5Number : Json5Primitive { private double value; public Json5Number(double value) { this.value = value; } public override Json5Type Type { get { return Json5Type.Number; } } protected ov...
mit
C#
9da99b9ba27b5d8a4db162b2ea382ac27407ddca
Update existing documentation for season ids.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs
Source/Lib/TraktApiSharp/Objects/Get/Shows/Seasons/TraktSeasonIds.cs
namespace TraktApiSharp.Objects.Get.Shows.Seasons { using Newtonsoft.Json; /// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt season.</summary> public class TraktSeasonIds { /// <summary>Gets or sets the Trakt numeric id.</summary> [JsonPrope...
namespace TraktApiSharp.Objects.Get.Shows.Seasons { using Newtonsoft.Json; /// <summary> /// A collection of ids for various web services for a Trakt season. /// </summary> public class TraktSeasonIds { /// <summary> /// The Trakt numeric id for the season. /// </summar...
mit
C#
0bea9541d95725e65d2fc6df561861646f7b7571
allow additional claims in IssueClientJwtAsync (see #2884)
MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4
src/IdentityServer4/src/Extensions/IdentityServerToolsExtensions.cs
src/IdentityServer4/src/Extensions/IdentityServerToolsExtensions.cs
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using IdentityServer4.Exten...
// Copyright (c) Brock Allen & Dominick Baier. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using IdentityModel; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; using IdentityServer4.Exten...
apache-2.0
C#
6d8b35fcdacf844301d3239d1a8ad26601c1446b
Modify NetToolProxy to accept any ToolBase object (preparation for FRH compatibility)
Simie/PrecisionEngineering
Src/PrecisionEngineering/Data/NetToolProxy.cs
Src/PrecisionEngineering/Data/NetToolProxy.cs
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; namespace PrecisionEngineering.Data { /// <summary> /// Wrapper around NetTool to expose private properties so we can calculate for our GUI /// </summary> public class NetToolProxy { public bool IsValid { get {...
using System.Collections; using System.Collections.Generic; using System.Reflection; namespace PrecisionEngineering.Data { /// <summary> /// Wrapper around NetTool to expose private properties so we can calculate for our GUI /// </summary> public class NetToolProxy { public bool IsValid { get { return _targe...
mit
C#
f9a320a6b70137ddd89968b900a479b41d659895
Update ICustomSerializer.cs
tiksn/TIKSN-Framework
TIKSN.Core/Serialization/ICustomSerializer.cs
TIKSN.Core/Serialization/ICustomSerializer.cs
namespace TIKSN.Serialization { /// <summary> /// Custom (specialized or typed) serializer interface /// </summary> /// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam> public interface ICustomSerializer<TSerial, TModel> { /// <summary> ...
namespace TIKSN.Serialization { /// <summary> /// Custom (specialized or typed) serializer interface /// </summary> /// <typeparam name="TSerial">Type to serialize to, usually string or byte array</typeparam> public interface ICustomSerializer<TSerial, TModel> { /// <summary> //...
mit
C#
33d772dec6644fe50421326279b55ef054369b64
Make static
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/Helpers/TestNodeBuilder.cs
WalletWasabi.Tests/Helpers/TestNodeBuilder.cs
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using WalletWasabi.BitcoinCore; using WalletWasabi.Helpers; namespace WalletWasabi.Tests.Helpers { public static class TestNodeBuilder { public static async Task<...
using System; using System.Collections.Generic; using System.IO; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using WalletWasabi.BitcoinCore; using WalletWasabi.Helpers; namespace WalletWasabi.Tests.Helpers { public class TestNodeBuilder { public static async Task<CoreNod...
mit
C#
f781c68e3346f03345a21c08f06870d0e495d246
Reduce the test class size using AutoFixture
pveller/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb
src/Sitecore.FakeDb.Tests/DbTemplateTest.cs
src/Sitecore.FakeDb.Tests/DbTemplateTest.cs
namespace Sitecore.FakeDb.Tests { using System.Linq; using FluentAssertions; using Ploeh.AutoFixture.Xunit2; using Sitecore.Data; using Xunit; public class DbTemplateTest { [Theory, AutoData] public void ShouldBeAnItem([NoAutoProperties]DbTemplate template) { template.Should().BeAssign...
namespace Sitecore.FakeDb.Tests { using System.Linq; using FluentAssertions; using Ploeh.AutoFixture.Xunit2; using Sitecore.Data; using Xunit; public class DbTemplateTest { [Fact] public void ShouldBeAnItem() { // arrange var template = new DbTemplate(); // assert te...
mit
C#
a71f769cce26eb9a010e2dd67d2ee637f74cd932
Add missing license header
NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.cs
osu.Game.Tests/Visual/Editing/TestSceneTimelineHitObjectBlueprint.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.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Osu.O...
using System.Linq; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Testing; using osu.Game.Rulesets.Objects.Types; using osu.Game.Rulesets.Osu.Objects; using osu.Game.Screens.Edit.Compose.Components.Timeline; using osuTK; using osuTK.Input; using static osu.Game.Screens.Edit.Compose.Components...
mit
C#
5b905e307bd1b024849f7094dd0a5acd21039cf8
Fix "Weather" widget API result error
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/OpenWeatherMapApiResult.cs
DesktopWidgets/Classes/OpenWeatherMapApiResult.cs
using System.Collections.Generic; namespace DesktopWidgets.Classes { public class Coord { public double lon { get; set; } public double lat { get; set; } } public class Weather { public int id { get; set; } public string main { get; set; } public string des...
using System.Collections.Generic; namespace DesktopWidgets.Classes { public abstract class Coord { public double lon { get; set; } public double lat { get; set; } } public abstract class Weather { public int id { get; set; } public string main { get; set; } ...
apache-2.0
C#
3b6a20cafeab937fe79f4b76e698b8335232596c
Update OpeningCSVFiles.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-...
Examples/CSharp/Files/Handling/OpeningCSVFiles.cs
Examples/CSharp/Files/Handling/OpeningCSVFiles.cs
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningCSVFiles { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Exam...
using System.IO; using Aspose.Cells; using System; namespace Aspose.Cells.Examples.Files.Handling { public class OpeningCSVFiles { public static void Main(string[] args) { //Exstart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Exam...
mit
C#
5fbb8302fae5ffd0aaf7cdd58a58bed3d1fd8dcd
Add scope to OAuth2AccessToken
WestDiscGolf/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,amammay/Fitbit.NET,AlexGhiondea/Fitbit.NET,AlexGhiondea/Fitbit.NET,aarondcoleman/Fitbit.NET,AlexGhiondea/Fitbit.NET,aarondcoleman/Fitbit.NET,WestDiscGolf/Fitbit.NET,amammay/Fitbit.NET,aarondcoleman/Fitbit.NET
Fitbit.Portable/OAuth2/OAuth2AccessToken.cs
Fitbit.Portable/OAuth2/OAuth2AccessToken.cs
using System; using Newtonsoft.Json; namespace Fitbit.Api.Portable.OAuth2 { public class OAuth2AccessToken { [JsonProperty("access_token")] public string Token { get; set; } [JsonProperty("token_type")] public string TokenType { get; set; } // "Bearer" is expected [Js...
using System; using Newtonsoft.Json; namespace Fitbit.Api.Portable.OAuth2 { public class OAuth2AccessToken { [JsonProperty("access_token")] public string Token { get; set; } [JsonProperty("token_type")] public string TokenType { get; set; } // "Bearer" is expected [Js...
mit
C#
cbf3b11d44898eff42515843317667efcacb5552
Set the the game width and height to the console window size or to a maximum value.
darkriszty/SnakeApp
src/SnakeApp/Controllers/GameController.cs
src/SnakeApp/Controllers/GameController.cs
using SnakeApp.Models; using System; namespace SnakeApp.Controllers { public class GameController { private byte MAX_WIDTH = 80; private byte MAX_HEIGHT = 25; public void StartNewGame() { PrepareConsole(); var game = new Game(Math.Min((byte)(Console.WindowWidth - 1), MAX_WIDTH), Math.Min((byte)(Cons...
using SnakeApp.Models; using System; namespace SnakeApp.Controllers { public class GameController { public void StartNewGame() { PrepareConsole(); var game = new Game(80, 25, 5, 100); game.StartAsync(); ConsoleKeyInfo userInput = new ConsoleKeyInfo(); do { userInput = Console.ReadKey(tru...
mit
C#
4a5ad6209a4d81dff964c3b453cd27c2890f001e
Revert "Make Distributor require EndpointDeliveryService."
justinjstark/Delivered,justinjstark/Verdeler
Verdeler/Distributor.cs
Verdeler/Distributor.cs
using System; using System.Collections.Generic; using System.Linq; namespace Verdeler { public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable { private readonly List<IEndpointRepository> _endpointRepositories = new List<IEndpointRepos...
using System; using System.Collections.Generic; using System.Linq; namespace Verdeler { public class Distributor<TDistributable> : IDistributor<TDistributable> where TDistributable : IDistributable { private readonly List<IEndpointRepository> _endpointRepositories = new List<IEndpointRepos...
mit
C#
ba56e6c2bbffdc2f3ed43fee0ecc749dfcd40fba
Fix min/max expression funcs
falahati/LiteDB,89sos98/LiteDB,falahati/LiteDB,mbdavid/LiteDB,89sos98/LiteDB
LiteDB/Document/Expression/Functions/Aggregate.cs
LiteDB/Document/Expression/Functions/Aggregate.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace LiteDB { public partial class BsonExpression { public static IEnumerable<BsonValue> COUNT(IEnumerable<BsonValue> values) { yield ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace LiteDB { public partial class BsonExpression { public static IEnumerable<BsonValue> COUNT(IEnumerable<BsonValue> values) { yield ...
mit
C#
dc96d7f2e7d1730632ff06f798921743534aa58c
Update ItemComponent.cs
williambl/Haunt
Haunt/Assets/Scripts/Items/ItemComponent.cs
Haunt/Assets/Scripts/Items/ItemComponent.cs
using UnityEngine; public class ItemComponent : MonoBehaviour { [Header("Properties")] public Item item; public bool isHeld = false; }
using UnityEngine; public class ItemComponent : MonoBehaviour { public Item item; public bool isHeld = false; }
mit
C#
d20011ba58a849c0cca543b13149458d03f05f39
Fix an endless feedback loop
naoey/osu,NeoAdonis/osu,peppy/osu-new,naoey/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,2yangk23/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,ppy/osu,naoey/osu,ZLima12/osu,smoogipoo/osu,smoogipooo/osu,Usele...
osu.Game/Screens/Select/MatchSongSelect.cs
osu.Game/Screens/Select/MatchSongSelect.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Screens.Select { public class MatchSongSelect : SongSelect { protected override bool OnSelectionFinalised() { Sch...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Screens.Select { public class MatchSongSelect : SongSelect { protected override bool OnSelectionFinalised() { Exi...
mit
C#
f5e3ca5b863ff95da21e3b4a0c16b5546299ee27
Fix DeadPlayer Attack
bunashibu/kikan
Assets/Scripts/Skill/SkillInstantiator.cs
Assets/Scripts/Skill/SkillInstantiator.cs
using UnityEngine; using System; using System.Collections; namespace Bunashibu.Kikan { public class SkillInstantiator : Photon.MonoBehaviour { void Update() { if (!photonView.isMine || _player.Hp.Cur <= 0) return; for (int i=0; i<_keys.Length; ++i) { if (_canUse && Input.GetKey(_key...
using UnityEngine; using System; using System.Collections; namespace Bunashibu.Kikan { public class SkillInstantiator : Photon.MonoBehaviour { void Update() { if (!photonView.isMine) return; for (int i=0; i<_keys.Length; ++i) { if (_canUse && Input.GetKey(_keys[i])) { Inst...
mit
C#
a53a5944f80dd196bd987cbe9f25ced406fb88a6
Remove empty row if no validation
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Server/Policies.cshtml
BTCPayServer/Views/Server/Policies.cshtml
@model BTCPayServer.Services.PoliciesSettings @{ ViewData.SetActivePageAndTitle(ServerNavPages.Policies); } <partial name="_StatusMessage" for="@TempData["StatusMessage"]" /> @if (!this.ViewContext.ModelState.IsValid) { <div class="row"> <div class="col-lg-6"> <div asp-validation-summary="All" class=...
@model BTCPayServer.Services.PoliciesSettings @{ ViewData.SetActivePageAndTitle(ServerNavPages.Policies); } <partial name="_StatusMessage" for="@TempData["StatusMessage"]" /> <div class="row"> <div class="col-lg-6"> <div asp-validation-summary="All" class="text-danger"></div> </div> </div> <div c...
mit
C#
b3018505bba2d96db07c0a8c0f053f99ffd66f22
implement dfa building
miraimann/Knuth-Morris-Pratt
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
KnuthMorrisPratt/KnuthMorrisPratt/Finder.cs
using System; using System.Collections.Generic; using System.Linq; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { private readonly T[] _pattern; private readonly int[,] _dfa; public Finder(IEnumerable<T> word) { _pattern = word as T[] ?? word....
using System; using System.Collections.Generic; namespace KnuthMorrisPratt { internal class Finder<T> : IFinder<T> { public Finder(IEnumerable<T> word) { throw new NotImplementedException(); } public int FindIn(IEnumerable<T> sequence) { throw n...
mit
C#
8a6f67a84b2054b938a62db954f64af53272ae4d
Fix no build option in dotnet test task
EdwardBlair/cli,blackdwarf/cli,blackdwarf/cli,mlorbetske/cli,svick/cli,harshjain2/cli,johnbeisner/cli,nguerrera/cli,ravimeda/cli,ravimeda/cli,livarcocc/cli-1,livarcocc/cli-1,AbhitejJohn/cli,Faizan2304/cli,mlorbetske/cli,johnbeisner/cli,nguerrera/cli,harshjain2/cli,EdwardBlair/cli,jonsequitur/cli,jonsequitur/cli,dasMull...
build_projects/dotnet-cli-build/DotNetTest.cs
build_projects/dotnet-cli-build/DotNetTest.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Cli.Build { public class DotNetTest : DotNetTool { protected override string Command { ...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.Cli.Build { public class DotNetTest : DotNetTool { protected override string Command { ...
mit
C#
66072d149944a3d65310ed284009507fd71140e9
Reduce default access token expiration timespan
eocampo/KatanaProject301,HongJunRen/katanaproject,eocampo/KatanaProject301,abrodersen/katana,eocampo/KatanaProject301,HongJunRen/katanaproject,HongJunRen/katanaproject,abrodersen/katana,tomi85/Microsoft.Owin,abrodersen/katana,HongJunRen/katanaproject,HongJunRen/katanaproject,PxAndy/Katana,monkeysquare/katana,monkeysqua...
src/Microsoft.Owin.Security.OAuth/OAuthAuthorizationServerOptions.cs
src/Microsoft.Owin.Security.OAuth/OAuthAuthorizationServerOptions.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security.Infrastructure; namespace Microsoft.Owin.Security.OAuth { public class OAuthAuthorizationServerOptio...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System; using Microsoft.Owin.Infrastructure; using Microsoft.Owin.Security.Infrastructure; namespace Microsoft.Owin.Security.OAuth { public class OAuthAuthorizationServerOptio...
apache-2.0
C#
a2d1d52005624d1bfc14f4a1f6eeac809b9a3b69
Use correct order of equality assertion for better error message (xUnit analyzer)
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
A-vs-An/WikipediaAvsAnTrieExtractorTest/TriePrefixIncrementorTest.cs
A-vs-An/WikipediaAvsAnTrieExtractorTest/TriePrefixIncrementorTest.cs
using System; using System.Collections.Generic; using System.Linq; using AvsAnLib.Internals; using WikipediaAvsAnTrieExtractor; using Xunit; namespace WikipediaAvsAnTrieExtractorTest { public class TriePrefixIncrementorTest { [Fact] public void BasicIncrementWorks() { var no...
using System; using System.Collections.Generic; using System.Linq; using AvsAnLib.Internals; using WikipediaAvsAnTrieExtractor; using Xunit; namespace WikipediaAvsAnTrieExtractorTest { public class TriePrefixIncrementorTest { [Fact] public void BasicIncrementWorks() { var no...
apache-2.0
C#
7549d5903854f9d064a843273b2e0c60ef60da8b
Remove unused ClickMacro controller method
ethanmoffat/EndlessClient
EndlessClient/HUD/IHudButtonController.cs
EndlessClient/HUD/IHudButtonController.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EndlessClient.HUD { public interface IHudButtonController { void ClickInventory(); void ClickViewMapToggle(); void ClickActive...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file namespace EndlessClient.HUD { public interface IHudButtonController { void ClickInventory(); void ClickViewMapToggle(); void ClickActive...
mit
C#
8a119ecdc472bc51adc79fb78128c42474e5b16e
Update version to 4.1.0
TheOtherTimDuncan/TOTD
SharedAssemblyInfo.cs
SharedAssemblyInfo.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: AssemblyConfigura...
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: AssemblyConfigura...
mit
C#
b4437f3f8b9d7dd84816a48c081aec0866714ca1
fix type conversion of short enums
domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/OpenApiAnyFactory.cs
src/Swashbuckle.AspNetCore.SwaggerGen/Generator/OpenApiAnyFactory.cs
using System; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; namespace Swashbuckle.AspNetCore.SwaggerGen { public static class OpenApiAnyFactory { public static bool TryCreateFor(OpenApiSchema schema, object value, out IOpenApiAny openApiAny) { openApiAny = null; ...
using System; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; namespace Swashbuckle.AspNetCore.SwaggerGen { public static class OpenApiAnyFactory { public static bool TryCreateFor(OpenApiSchema schema, object value, out IOpenApiAny openApiAny) { openApiAny = null; ...
mit
C#
0b42c8ea794871c71eff321fc13ba936d7b2a3e3
同步版本号,Senparc.Weixin SDK 全面支持 .NET Core 2.1.0-rc1-final
JeffreySu/Senparc.WebSocket
src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs
src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 //[assembly: AssemblyTitle("Senparc.WebSocket")] //[assembly: AssemblyDescription("")] //[assembly: AssemblyConfiguration("")] //[assembly: AssemblyCompany("")] //[asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 //[assembly: AssemblyTitle("Senparc.WebSocket")] //[assembly: AssemblyDescription("")] //[assembly: AssemblyConfiguration("")] //[assembly: AssemblyCompany("")] //[asse...
apache-2.0
C#
3e9f48223acfa21c2e2d45314d8b4e1e5c271a80
Change amount to nullable
stripe/stripe-dotnet,Raganhar/stripe.net,chickenham/stripe.net,AvengingSyndrome/stripe.net,matthewcorven/stripe.net,craigmckeachie/stripe.net,AvengingSyndrome/stripe.net,brentdavid2008/stripe.net,shirley-truong-volusion/stripe.net,shirley-truong-volusion/stripe.net,haithemaraissia/stripe.net,chickenham/stripe.net,haith...
src/Stripe/Services/InvoiceItems/StripeInvoiceItemUpdateOptions.cs
src/Stripe/Services/InvoiceItems/StripeInvoiceItemUpdateOptions.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace Stripe { public class StripeInvoiceItemUpdateOptions { [JsonProperty("amount")] public int? Amount { get; set; } [JsonProperty("currency")] public string Currency { get; set; } [JsonProperty("descripti...
using System.Collections.Generic; using Newtonsoft.Json; namespace Stripe { public class StripeInvoiceItemUpdateOptions { [JsonProperty("amount")] public int Amount { get; set; } [JsonProperty("currency")] public string Currency { get; set; } [JsonProperty("descriptio...
apache-2.0
C#
1c32cb7e6d4d5488695f21704792b7d81ff894d5
Fix serializable bug when using plugins during pdf generation (#2210)
pascalberger/docfx,dotnet/docfx,dotnet/docfx,superyyrrzz/docfx,dotnet/docfx,pascalberger/docfx,pascalberger/docfx,superyyrrzz/docfx,superyyrrzz/docfx
src/docfx/Models/PdfJsonConfig.cs
src/docfx/Models/PdfJsonConfig.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode { using System; using System.Collections.Generic; using Newtonsoft.Json; [Serializable] public class PdfJsonConfig :...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode { using System.Collections.Generic; using Newtonsoft.Json; public class PdfJsonConfig : BuildJsonConfig { [JsonP...
mit
C#
4039ec7c7fca034bcb4dda1f28e714c403d1f53d
Simplify the conditional compilation of VisualStudioMSBuildInstalled
mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn
src/Workspaces/MSBuildTest/Utilities/VisualStudioMSBuildInstalled.cs
src/Workspaces/MSBuildTest/Utilities/VisualStudioMSBuildInstalled.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using Microsoft.Build.Locator; using Roslyn.Test.Utilities; namespace Microsoft.CodeAnalysis.MSBuild...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using System.Linq; using Microsoft.Build.Locator; using Roslyn.Test.Utiliti...
mit
C#
49256ea026b6cb39a54e13332ffca71c0fe7da4b
Rename method
sakapon/Tutorials-2014
LeapTutorial02/FingersTracker/AppModel.cs
LeapTutorial02/FingersTracker/AppModel.cs
using KLibrary.ComponentModel; using Leap; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Media.Media3D; namespace FingersTracker { public class AppModel : NotifyBase { const int ScreenWidth = 1920; const int ScreenHeight = 1080; const int Mappi...
using KLibrary.ComponentModel; using Leap; using System; using System.Collections.Generic; using System.Linq; using System.Windows.Media.Media3D; namespace FingersTracker { public class AppModel : NotifyBase { const int ScreenWidth = 1920; const int ScreenHeight = 1080; const int Mappi...
mit
C#
191922be0058100ded2e5ddbb4f5aca9c879283e
Update version to 4.0.11.0
mikefourie/MSBuildExtensionPack
Solutions/Main/Common/CommonAssemblyInfo.cs
Solutions/Main/Common/CommonAssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="CommonAssemblyInfo.cs">(c) http://www.msbuildextensionpack.com. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. All ot...
//----------------------------------------------------------------------- // <copyright file="CommonAssemblyInfo.cs">(c) http://www.msbuildextensionpack.com. This source is subject to the Microsoft Permissive License. See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx. All ot...
mit
C#
70972fb7a19ec9728b97a98cb4a7ac36fa0b0aae
Rebase cleanup
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/Microsoft.AspNet.TestHost.Tests/TestApplicationEnvironment.cs
test/Microsoft.AspNet.TestHost.Tests/TestApplicationEnvironment.cs
// Copyright (c) Microsoft Open Technologies, Inc. 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.Versioning; using Microsoft.Framework.Runtime; namespace Microsoft.AspNet.TestHost { public cla...
// Copyright (c) Microsoft Open Technologies, Inc. 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.Versioning; using Microsoft.Framework.Runtime; namespace Microsoft.AspNet.TestHost { public cla...
apache-2.0
C#
3fd92a36d9c7b5a4a4ee65a4670daf638b22b447
Fix for closing window.
cube-soft/Cube.Core,cube-soft/Cube.Core
Triggers/CloseTrigger.cs
Triggers/CloseTrigger.cs
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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...
/* ------------------------------------------------------------------------- */ // // Copyright (c) 2010 CubeSoft, 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-2.0
C#
462e14cc63606c8116f5215c4f7663dc803209e2
Fix nullable errors
RehanSaeed/Schema.NET
Tests/Schema.NET.Test/ContextJsonConverterTest.cs
Tests/Schema.NET.Test/ContextJsonConverterTest.cs
namespace Schema.NET.Test { using Newtonsoft.Json; using Xunit; public class ContextJsonConverterTest { [Fact] public void ReadJson_StringContext_ContextHasName() { var json = "{\"@context\":\"foo\",\"@type\":\"Thing\"}"; var thing = JsonConv...
namespace Schema.NET.Test { using Newtonsoft.Json; using Xunit; public class ContextJsonConverterTest { [Fact] public void ReadJson_StringContext_ContextHasName() { var json = "{\"@context\":\"foo\",\"@type\":\"Thing\"}"; var thing = JsonConv...
mit
C#
825941cfffe04d5b99a220768cfbf2434d37046d
Drop the Retain from the constructor, the proper fix is going into monotouch
cwensley/maccore,mono/maccore,jorik041/maccore
src/CoreAnimation/CALayer.cs
src/CoreAnimation/CALayer.cs
// // CALayer.cs: support for CALayer // // Authors: // Geoff Norton. // // Copyright 2009-2010 Novell, Inc // // 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, ...
// // CALayer.cs: support for CALayer // // Authors: // Geoff Norton. // // Copyright 2009-2010 Novell, Inc // // 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, ...
apache-2.0
C#
a9671e333180783b0c824ea3f453d0d03ddbffde
Fix misnamed LOWFONT enumeration to LOWERFONT
boumenot/Grobid.NET
src/Grobid/FontSizeStatus.cs
src/Grobid/FontSizeStatus.cs
namespace Grobid.NET { public enum FontSizeStatus { HIGHERFONT, SAMEFONTSIZE, LOWERFONT, } }
namespace Grobid.NET { public enum FontSizeStatus { HIGHERFONT, SAMEFONTSIZE, LOWFONT, } }
apache-2.0
C#
2982cc6ad28194b232409c67c59352bc3d6697f3
Make the default BrstmTrackType Standard
Thealexbarney/VGAudio,Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm
DspAdpcm/DspAdpcm/Adpcm/Formats/Configuration/BrstmConfiguration.cs
DspAdpcm/DspAdpcm/Adpcm/Formats/Configuration/BrstmConfiguration.cs
using DspAdpcm.Adpcm.Formats.Internal; using DspAdpcm.Adpcm.Formats.Structures; namespace DspAdpcm.Adpcm.Formats.Configuration { /// <summary> /// Contains the options used to build the BRSTM file. /// </summary> public class BrstmConfiguration : B_stmConfiguration { /// <summary> ...
using DspAdpcm.Adpcm.Formats.Internal; using DspAdpcm.Adpcm.Formats.Structures; namespace DspAdpcm.Adpcm.Formats.Configuration { /// <summary> /// Contains the options used to build the BRSTM file. /// </summary> public class BrstmConfiguration : B_stmConfiguration { /// <summary> ...
mit
C#
be157ba5fb9d0746b8c547af126f1e69623e57c9
Support server messages in the Image widget
k-t/SharpHaven
MonoHaven.Client/UI/Remote/ServerImage.cs
MonoHaven.Client/UI/Remote/ServerImage.cs
using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerImage : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var resName = (string)args[0]; var widget = new Image(parent.Widget); widget.Drawable = App.Resources.GetImage(resNam...
using MonoHaven.UI.Widgets; namespace MonoHaven.UI.Remote { public class ServerImage : ServerWidget { public static ServerWidget Create(ushort id, ServerWidget parent, object[] args) { var resName = (string)args[0]; var widget = new Image(parent.Widget); widget.Drawable = App.Resources.GetImage(resNam...
mit
C#
2ffd1773ffde7a9ef34886b81d7271afc1396819
Use var instead.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/Colors/ColorCMYKTests/TheGetHashCodeMethod.cs
tests/Magick.NET.Tests/Colors/ColorCMYKTests/TheGetHashCodeMethod.cs
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using ImageMagick; using Xunit; namespace Magick.NET.Tests { public partial class ColorCMYKTests : ColorBaseTests<ColorCMYK> { public class TheGetHashCodeMethod { [...
// Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET. // Licensed under the Apache License, Version 2.0. using ImageMagick; using Xunit; namespace Magick.NET.Tests { public partial class ColorCMYKTests : ColorBaseTests<ColorCMYK> { public class TheGetHashCodeMethod { [...
apache-2.0
C#
4fb01d21894e568bb6a318d61ea683b264a759e1
Update ApplicationInsightsTraceTelemeter.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsTraceTelemeter.cs
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsTraceTelemeter.cs
using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.ApplicationInsights.DataContracts; namespace TIKSN.Analytics.Telemetry { public class ApplicationInsightsTraceTelemeter : ITraceTelemeter { [Obsolete] public Task TrackTraceAsync(string message, TelemetrySever...
using System; using System.Diagnostics; using System.Threading.Tasks; using Microsoft.ApplicationInsights.DataContracts; namespace TIKSN.Analytics.Telemetry { public class ApplicationInsightsTraceTelemeter : ITraceTelemeter { public Task TrackTrace(string message, TelemetrySeverityLevel severityLevel) ...
mit
C#
80a2c6be80293f454d6a615698dc9bcf319ac1ef
update validation settings earlier
ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing
Purchasing.Mvc/Views/Order/Request.cshtml
Purchasing.Mvc/Views/Order/Request.cshtml
@model OrderModifyModel @{ ViewBag.Title = "Request"; ViewBag.ShowTour = true; } @section AdditionalStyles { @Styles.Render("~/Css/order") } @section AdditionalScripts{ <script type="text/javascript"> $.validator.setDefaults({ ignore: ':hidden :not(.chzn-done)' }); //do not ignor...
@model OrderModifyModel @{ ViewBag.Title = "Request"; ViewBag.ShowTour = true; } @section AdditionalStyles { @Styles.Render("~/Css/order") } @section AdditionalScripts{ <script type="text/javascript"> $(function () { @Html.Partial("_Options") purchasing....
mit
C#
9ed012d0cebdcca16e9aba4e816dd94211de64a2
Add UnusedHandCannonWarning property
villermen/runescape-cache-tools,villermen/runescape-cache-tools
RuneScapeCacheTools/Model/ItemProperty.cs
RuneScapeCacheTools/Model/ItemProperty.cs
using Villermen.RuneScapeCacheTools.File; namespace Villermen.RuneScapeCacheTools.Model { /// <summary> /// The identifier for a parameter of an <see cref="ItemDefinitionFile" />. /// </summary> public enum ItemProperty { WeaponRange = 13, EquipOption1 = 528, EquipOption2 = ...
using Villermen.RuneScapeCacheTools.File; namespace Villermen.RuneScapeCacheTools.Model { /// <summary> /// The identifier for a parameter of an <see cref="ItemDefinitionFile" />. /// </summary> public enum ItemProperty { WeaponRange = 13, EquipOption1 = 528, EquipOption2 = ...
mit
C#
749686defa480d83ef1ab9740998e9e6db7dbd52
Reduce allocations while maintaining read-only-ness
smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework
osu.Framework/Graphics/Containers/TextPart.cs
osu.Framework/Graphics/Containers/TextPart.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; namespace osu.Framework.Graphics.Containers { /// <summary> /// A basic implementation of <see cref="ITextPart"/>...
// 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 osu.Framework.Extensions.ListExtensions; namespace osu.Framework.Graphics.Containers { /// <summary> /// A ...
mit
C#
5ef1f30c754a6bc39239ad61042daabf17ca2709
Add logging of unhandled tumbler exception
DanGould/NTumbleBit,NTumbleBit/NTumbleBit
NTumbleBit/ClassicTumbler/Server/Startup.cs
NTumbleBit/ClassicTumbler/Server/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; using Microsoft.AspNetCore.Mvc; u...
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; using Microsoft.AspNetCore.Mvc; u...
mit
C#
903bab788594a210ad7577c572676bc5a4511367
Integrate Specialities and Institutes with Startup
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Startup.cs
src/Diploms.WebUI/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.DataLayer; using Diploms.WebUI.Configuration; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Mi...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Diploms.DataLayer; using Diploms.WebUI.Configuration; using FluentValidation.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SpaServices.Webpack; using Mi...
mit
C#
907d596c6e66faa5e02a5cdc2a3a639a8785247d
Fix UserAgent
KriBetko/KryBot
src/KryBot/Bot.cs
src/KryBot/Bot.cs
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using System.Xml.Serialization; namespace KryBot { public class Bot { public Bot() { GameMiner = new GameMiner(); SteamGifts = new SteamGifts(); SteamCompanion = new SteamCompanion(); UseGamble = new UseGamb...
using System; using System.Collections.Generic; using System.IO; using System.Windows.Forms; using System.Xml.Serialization; namespace KryBot { public class Bot { public Bot() { GameMiner = new GameMiner(); SteamGifts = new SteamGifts(); SteamCompanion = new SteamCompanion(); UseGamble = new UseGamb...
apache-2.0
C#