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
ea066c2612973a24c06e1bd112ffe60b1c8afef3
Fix IsUpdatesChannel missing from ToApi()
Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server
src/Tgstation.Server.Host/Models/ChatChannel.cs
src/Tgstation.Server.Host/Models/ChatChannel.cs
using Tgstation.Server.Api.Models; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class ChatChannel : Api.Models.ChatChannel { /// <summary> /// The row Id /// </summary> public long Id { get; set; } /// <summary> /// The <see cref="Api.Models.Internal.ChatBot.Id"/> /// </...
using Tgstation.Server.Api.Models; namespace Tgstation.Server.Host.Models { /// <inheritdoc /> public sealed class ChatChannel : Api.Models.ChatChannel { /// <summary> /// The row Id /// </summary> public long Id { get; set; } /// <summary> /// The <see cref="Api.Models.Internal.ChatBot.Id"/> /// </...
agpl-3.0
C#
a21e16877ef9cc281596e7aaf2c68435ce349a92
Fix option helptext
zebraxxl/Winium.Desktop,2gis/Winium.Desktop
src/Winium.Desktop.Driver/CommandLineOptions.cs
src/Winium.Desktop.Driver/CommandLineOptions.cs
namespace Winium.Desktop.Driver { #region using using CommandLine; using CommandLine.Text; #endregion internal class CommandLineOptions { #region Public Properties [Option("log-path", Required = false, HelpText = "write server log to file instead of stdout, incr...
namespace Winium.Desktop.Driver { #region using using CommandLine; using CommandLine.Text; #endregion internal class CommandLineOptions { #region Public Properties [Option("log-path", Required = false, HelpText = "write server log to file instead of stdout, incr...
mpl-2.0
C#
c584574f24129d22fc0f6e07a0e21b652cf9d3c5
Fix HelenaZ
bunashibu/kikan
Assets/Scripts/Skill/Helena/HelenaZ.cs
Assets/Scripts/Skill/Helena/HelenaZ.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UniRx; using UniRx.Triggers; namespace Bunashibu.Kikan { [RequireComponent(typeof(SkillSynchronizer))] public class HelenaZ : Skill { void Awake() { _synchronizer = GetComponent<SkillSynchronizer>(); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using System; using UniRx; using UniRx.Triggers; namespace Bunashibu.Kikan { [RequireComponent(typeof(SkillSynchronizer))] public class HelenaZ : Skill { void Awake() { _synchronizer = GetComponent<SkillSynchronizer>(); ...
mit
C#
0173fe127240eb8a7d6d31fb29edd763c0eb67cd
Fix If conditional always evaluating as true (#20)
exodrifter/unity-rumor
Nodes/Conditionals/If.cs
Nodes/Conditionals/If.cs
using Exodrifter.Rumor.Engine; using Exodrifter.Rumor.Expressions; using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Exodrifter.Rumor.Nodes { /// <summary> /// An if conditional statement. /// </summary> [Serializable] public class If : Conditional { /// <summary> ...
using Exodrifter.Rumor.Engine; using Exodrifter.Rumor.Expressions; using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Exodrifter.Rumor.Nodes { /// <summary> /// An if conditional statement. /// </summary> [Serializable] public class If : Conditional { /// <summary> ...
mit
C#
717ca8a209e9d7339a90745085a304fcb30915d2
Throw exceptions returned by service context.
ItzWarty/Dargon.Services,the-dargon-project/Dargon.Services
Client/ServiceInvocationInterceptor.cs
Client/ServiceInvocationInterceptor.cs
using System; using Castle.DynamicProxy; using Dargon.Services.PortableObjects; using Dargon.Services.Utilities; namespace Dargon.Services.Client { public class ServiceInvocationInterceptor : IInterceptor { private readonly IServiceContext serviceContext; public ServiceInvocationInterceptor(IServiceCon...
using System; using Castle.DynamicProxy; using Dargon.Services.PortableObjects; using Dargon.Services.Utilities; namespace Dargon.Services.Client { public class ServiceInvocationInterceptor : IInterceptor { private readonly IServiceContext serviceContext; public ServiceInvocationInterceptor(IServiceCon...
bsd-2-clause
C#
d219d064ffe8373bd23e10a761d519fc4cbdb1e0
Add tooltips for hud menu buttons
k-t/SharpHaven
MonoHaven.Client/UI/Widgets/HudMenu.cs
MonoHaven.Client/UI/Widgets/HudMenu.cs
using System; using System.Linq; using MonoHaven.Graphics; namespace MonoHaven.UI.Widgets { public class HudMenu : Widget { private static readonly Drawable background; private static readonly Drawable[] images; private static readonly string[] tooltips; private static readonly int buttonCount; static Hu...
using System; using System.Linq; using MonoHaven.Graphics; namespace MonoHaven.UI.Widgets { public class HudMenu : Widget { private static readonly Drawable background; private static readonly Drawable[] buttonImages; private static readonly int buttonCount; static HudMenu() { background = App.Resourc...
mit
C#
da9d391bca637805d1973874fd0493d661fa24a6
Create application when executing create command
appharbor/appharbor-cli
src/AppHarbor/Commands/CreateCommand.cs
src/AppHarbor/Commands/CreateCommand.cs
using System; namespace AppHarbor.Commands { public class CreateCommand : ICommand { private readonly AppHarborApi _appHarborApi; public CreateCommand(AppHarborApi appHarborApi) { _appHarborApi = appHarborApi; } public void Execute(string[] arguments) { var result = _appHarborApi.CreateApplicati...
using System; namespace AppHarbor.Commands { public class CreateCommand : ICommand { private readonly AppHarborApi _appHarborApi; public CreateCommand(AppHarborApi appHarborApi) { _appHarborApi = appHarborApi; } public void Execute(string[] arguments) { throw new NotImplementedException(); } ...
mit
C#
3432499e1a25d89fcb4f5deedf76c5909ef49075
Update AssemblyInfo.cs
NConsole/NConsole
src/NConsole/Properties/AssemblyInfo.cs
src/NConsole/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("NConsole")] [assembly: AssemblyDescription("NConsole is a .NET library to parse command line arguments and execute commands.")] [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NConsole")] [assembly: Assembl...
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("NConsole")] [assembly: AssemblyDescription(".NET library to parse command line arguments and execute commands.")] [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NConsole")] [assembly: AssemblyCopyright("Co...
mit
C#
14901aa911f9eb0ae3e1a7ef9267c1022c9e4606
Add Audio properties to IAudiomanagement
thephez/Vlc.DotNet,someonehan/Vlc.DotNet,briancowan/Vlc.DotNet,thephez/Vlc.DotNet,xue-blood/wpfVlc,marcomeyer/Vlc.DotNet,briancowan/Vlc.DotNet,raydtang/Vlc.DotNet,agherardi/Vlc.DotNet,jeremyVignelles/Vlc.DotNet,RickyGAkl/Vlc.DotNet,RickyGAkl/Vlc.DotNet,agherardi/Vlc.DotNet,raydtang/Vlc.DotNet,ZeBobo5/Vlc.DotNet,xue-blo...
src/Vlc.DotNet.Core/IAudioManagement.cs
src/Vlc.DotNet.Core/IAudioManagement.cs
namespace Vlc.DotNet.Core { public interface IAudioManagement { IAudioOutputsManagement Outputs { get; } bool IsMute { get; set; } void ToggleMute(); int Volume { get; set; } ITracksManagement Tracks { get; } int Channel { get; set; } long Delay { g...
namespace Vlc.DotNet.Core { public interface IAudioManagement { IAudioOutputsManagement Outputs { get; } } }
mit
C#
a59caea2e6e9afcc4c6c0bfb24e16f6dc7c6d601
Bump version to 0.13.3
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.13.3")] [assembly: AssemblyInformationalVersionAttribute("0.13.3")] [assembly: AssemblyFileVersionAttribute("0.13.3")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.13.2")] [assembly: AssemblyInformationalVersionAttribute("0.13.2")] [assembly: AssemblyFileVersionAttribute("0.13.2")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namesp...
apache-2.0
C#
99c067cc5869340ed90d9cce58d657aeec913d22
Fix namespace in _ViewImports
vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit,vbliznikov/colabedit
src/web-editor/Views/_ViewImports.cshtml
src/web-editor/Views/_ViewImports.cshtml
@using CollabEdit @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" @addTagHelper "*, Microsoft.AspNetCore.SpaServices"
@using WebApplicationBasic @addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" @addTagHelper "*, Microsoft.AspNetCore.SpaServices"
mit
C#
c9eccffd163488bd3cb6e89e043fbd8afc77a3d2
Fix to the last commit.
ashmind/AgentHeisenbug
AgentHeisenbug/Annotations/HeisenbugDebugExternalAnnotationFileProvider.cs
AgentHeisenbug/Annotations/HeisenbugDebugExternalAnnotationFileProvider.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using JetBrains.Annotations; using JetBrains.Metadata.Utils; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations; using JetBrains.Util; namespace AgentH...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using JetBrains.Annotations; using JetBrains.Metadata.Utils; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations; using JetBrains.Util; namespace AgentHeisenbug.Annotatio...
mit
C#
fddbbd5c80d027502c7747843c4151d3dc029ed8
fix ValueMonthCalendar to be in US date form
jarmo/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,modulexcite/RAutomation,jarmo/RAutomation,modulexcite/RAutomation
ext/WindowsForms/WindowsForms/ValueMonthCalendar.cs
ext/WindowsForms/WindowsForms/ValueMonthCalendar.cs
using System; using System.Globalization; using System.Windows.Forms; using UIA.Extensions.AutomationProviders.Interfaces; namespace WindowsForms { public class ValueMonthCalendar : ValueControl { private readonly MonthCalendar _monthCalendar; public ValueMonthCalendar(MonthCalendar monthCale...
using System; using System.Windows.Forms; using UIA.Extensions.AutomationProviders.Interfaces; namespace WindowsForms { public class ValueMonthCalendar : ValueControl { private readonly MonthCalendar _monthCalendar; public ValueMonthCalendar(MonthCalendar monthCalendar) : base(monthCalendar) ...
mit
C#
0282db8dd669bc21e764924475b2b0be15758c5f
Exclude bot owners from command cooldown.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Permissions/Services/CommandCooldownService.cs
src/MitternachtBot/Modules/Permissions/Services/CommandCooldownService.cs
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Microsoft.EntityFrameworkCore; using Mitternacht.Common.Collections; using Mitternacht.Common.ModuleBehaviors; using Mitternacht.Services; using Mitternacht.Services.Database...
using System; using System.Collections.Concurrent; using System.Linq; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Microsoft.EntityFrameworkCore; using Mitternacht.Common.Collections; using Mitternacht.Common.ModuleBehaviors; using Mitternacht.Services; using Mitternacht.Services.Database...
mit
C#
4df6cad78d31ff168e42374840e0aaf0c7621c12
Fix path too long bug
zumicts/Audiotica
Audiotica.Core/Utils/StringExtensions.cs
Audiotica.Core/Utils/StringExtensions.cs
using System.Threading.Tasks; using Newtonsoft.Json; namespace Audiotica.Core.Utils { public static class StringExtensions { public static string CleanForFileName(this string str, string invalidMessage) { if (string.IsNullOrEmpty(str)) { return null; ...
using System.Threading.Tasks; using Newtonsoft.Json; namespace Audiotica.Core.Utils { public static class StringExtensions { public static string CleanForFileName(this string str, string invalidMessage) { if (string.IsNullOrEmpty(str)) { return null; ...
apache-2.0
C#
98ab104861f5e94ab1716a9b613f12973ae88c9a
add storage accounts link
jittuu/AzureLog,jittuu/AzureLog,jittuu/AzureLog
AzureLog.Web/Views/Shared/_Layout.cshtml
AzureLog.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - AzureLog</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-default navbar-...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - AzureLog</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-default navbar-...
mit
C#
871de9aa5f4b2359930553c6a236cbe323232ba7
Add check for .dotnet directory
dotnet/core
samples/dependadotnet/Program.cs
samples/dependadotnet/Program.cs
using System; using System.IO; using System.Text.RegularExpressions; using static System.Console; if (args is { Length: 0 } || args[0] is not string path) { WriteLine("Must specify a repo root directory as input"); return; } // yaml top-matter string topMatter = @"# generated by dependadotnet # https://gith...
using System; using System.IO; using System.Text.RegularExpressions; using static System.Console; if (args is { Length: 0 } || args[0] is not string path) { WriteLine("Must specify a repo root directory as input"); return; } // yaml top-matter string topMatter = @"# generated by dependadotnet # https://gith...
mit
C#
3a8ec2e3f10f9eb5fad6dc4912df53c3b593ad16
create singleton to database entity context
pashchuk/Hospital-app
HospitalLibrary/DatabaseModel.Context.cs
HospitalLibrary/DatabaseModel.Context.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. /...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. /...
apache-2.0
C#
a805a8ee500a492f33b889b249a6466ae5e5c4e8
Remove tray icon on safe exit.
polyethene/IronAHK,polyethene/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,polyethene/IronAHK,yatsek/IronAHK,polyethene/IronAHK
Scripting/Script/Menu.cs
Scripting/Script/Menu.cs
using System; using System.Drawing; using System.Reflection; using System.Windows.Forms; namespace IronAHK.Scripting { partial class Script { public static void CreateTrayMenu() { if (Environment.OSVersion.Platform != PlatformID.Win32NT) return; var men...
using System; using System.Drawing; using System.Reflection; using System.Windows.Forms; namespace IronAHK.Scripting { partial class Script { public static void CreateTrayMenu() { if (Environment.OSVersion.Platform != PlatformID.Win32NT) return; var men...
bsd-2-clause
C#
8c162585b8ebcf37f50009d17e44cff55d732784
Comment out logging for debugging purposes
peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game.Rulesets.Taiko/Difficulty/Skills/Colour.cs
osu.Game.Rulesets.Taiko/Difficulty/Skills/Colour.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.Game.Rulesets.Difficulty.Preprocessing; using osu.Game.Rulesets.Difficulty.Skills; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Tai...
// 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.Game.Rulesets.Difficulty.Preprocessing; using osu.Game.Rulesets.Difficulty.Skills; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Tai...
mit
C#
71edd314b1785106be7b55c3ed638c6571d70521
Simplify `SmokeContainer` lifetime logic
ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,peppy/osu
osu.Game.Rulesets.Osu/UI/SmokeContainer.cs
osu.Game.Rulesets.Osu/UI/SmokeContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics.Containers; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; using osu.Game.Rulesets.Osu.Ski...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Input; using osu.Framework.Input.Bindings; using osu.Framework.Input.Events; u...
mit
C#
4ecc52912c12f2260c414a22e06afd68d86677b9
Fix typo in unit test name
paiden/Nett
Test/Nett.UnitTests/TomlConfigTests.cs
Test/Nett.UnitTests/TomlConfigTests.cs
using Xunit; namespace Nett.UnitTests { public class TomlConfigTests { [Fact] public void WhenConfigHasActivator_ActivatorGetsUsed() { // Arrange var config = TomlConfig.Create(cfg => cfg .ConfigureType<IFoo>(ct => ct .CreateI...
using Xunit; namespace Nett.UnitTests { public class TomlConfigTests { [Fact] public void WhenConfigHasActivator_ActivatorGetsUsed() { // Arrange var config = TomlConfig.Create(cfg => cfg .ConfigureType<IFoo>(ct => ct .CreateI...
mit
C#
d070d9ead1bb85971e49215bc5491883313d47c1
change test for 1128, this worked before
ronnyek/linq2db,LinqToDB4iSeries/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db,MaceWindu/linq2db,MaceWindu/linq2db,linq2db/linq2db
Tests/Linq/UserTests/Issue1128Tests.cs
Tests/Linq/UserTests/Issue1128Tests.cs
using System.Threading; using NUnit.Framework; namespace Tests.UserTests { using LinqToDB; using LinqToDB.Mapping; public class Issue1128Tests : TestBase { private static int _cnt; class Issue1128Table { public int Id { get; set; } } class Issue1128TableDerived : Issue1128Table ...
using System.Threading; using NUnit.Framework; namespace Tests.UserTests { using LinqToDB; using LinqToDB.Mapping; public class Issue1128Tests : TestBase { private static int _cnt; class Issue1128Table { public int Id { get; set; } } class Issue1128TableDerived : Issue1128Table ...
mit
C#
06e0b06a327fab3a5fce9e9a811e623fba431b42
Handle Android pen input
peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework
osu.Framework.Android/Input/AndroidTouchHandler.cs
osu.Framework.Android/Input/AndroidTouchHandler.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 Android.Views; using osu.Framework.Input.Handlers; using osu.Framework.Input.StateChanges; using osu.Framework.Platform; using osuTK.Input; namespace osu.Framewor...
// 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 Android.Views; using osu.Framework.Input.Handlers; using osu.Framework.Input.StateChanges; using osu.Framework.Platform; using osuTK.Input; namespace osu.Framewor...
mit
C#
4378a1f2aed8e3f7a94d5ddf28c73400da45bebc
Allow virtual SampleChannels to count towards statistics
smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework
osu.Framework/Audio/Sample/SampleChannelVirtual.cs
osu.Framework/Audio/Sample/SampleChannelVirtual.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Audio.Sample { /// <summary> /// A <see cref="SampleChannel"/> which explicitly plays no audio. /// Aimed for scenarios in which a non...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Audio.Sample { /// <summary> /// A <see cref="SampleChannel"/> which explicitly plays no audio. /// Aimed for scenarios in which a non...
mit
C#
fab5b3c08daa185db62acbddffebf1e861adf361
Update SharedAssemblyInfo.cs
wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyri...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Wiesław Šoltés")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyri...
mit
C#
fe6be0b23ac317d593503d2764c109798ec409f6
Move BodyPart up
jtkech/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,lukaskabrt/Orchard2,lukaskabrt/Orchard2,xkproject/Orchard2,yiji/Orchard2,lukaskabrt/Orchard2,petedavis/Orchard2,jtkech/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,stevetaylo...
src/Orchard.Cms.Web/Modules/Orchard.Body/Drivers/BodyPartDisplay.cs
src/Orchard.Cms.Web/Modules/Orchard.Body/Drivers/BodyPartDisplay.cs
using System.Linq; using System.Threading.Tasks; using Orchard.Body.Model; using Orchard.Body.Settings; using Orchard.Body.ViewModels; using Orchard.ContentManagement.Display.ContentDisplay; using Orchard.ContentManagement.MetaData; using Orchard.DisplayManagement.ModelBinding; using Orchard.DisplayManagement.Views; ...
using System.Linq; using System.Threading.Tasks; using Orchard.Body.Model; using Orchard.Body.Settings; using Orchard.Body.ViewModels; using Orchard.ContentManagement.Display.ContentDisplay; using Orchard.ContentManagement.MetaData; using Orchard.DisplayManagement.ModelBinding; using Orchard.DisplayManagement.Views; ...
bsd-3-clause
C#
31236dc6d80ec6808e46674ce92a1913ab987d27
Add body abstract type checks for string
Unity3dAzure/MobileServices,Unity3dAzure/AppServices
http/ZumoRequest.cs
http/ZumoRequest.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using UnityEngine; using System.Text; using RESTClient; namespace Azure.AppServices { public sealed class ZumoRequest : RestRequest { // NB: Exclude system pro...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using UnityEngine; using System.Text; using RESTClient; namespace Azure.AppServices { public sealed class ZumoRequest : RestRequest { // NB: Exclude system pro...
mit
C#
78eb7ac6d3268a85ba67497f1fc3db97181842bc
remove default hello from toolbar
joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Portal/Views/Shared/_LoginPartial.cshtml
JoinRpg.Portal/Views/Shared/_LoginPartial.cshtml
@using Microsoft.AspNetCore.Identity @using Joinrpg.Web.Identity @inject SignInManager<JoinIdentityUser> SignInManager @inject UserManager<JoinIdentityUser> UserManager @if (SignInManager.IsSignedIn(User)) { <form asp-controller="Account" asp-action="LogOff" asp-route-returnUrl="@Url.Action("Index", "Home", new ...
@using Microsoft.AspNetCore.Identity @using Joinrpg.Web.Identity @inject SignInManager<JoinIdentityUser> SignInManager @inject UserManager<JoinIdentityUser> UserManager @if (SignInManager.IsSignedIn(User)) { <form asp-controller="Account" asp-action="LogOff" asp-route-returnUrl="@Url.Action("Index", "Home", new ...
mit
C#
e133cb4a9f606a34060573ae886461d923791456
make RuleSet non-sealed
pragmatrix/Rulez
Rulez/RuleSet.cs
Rulez/RuleSet.cs
using System; using System.Collections.Generic; namespace Rulez { public class RuleSet : IDisposable { readonly List<IDisposable> _rules = new List<IDisposable>(); public void Dispose() { for (int i = _rules.Count; i != 0; --i) { var r = _rules[i - 1]; r.Dispose(); } _ru...
using System; using System.Collections.Generic; namespace Rulez { public sealed class RuleSet : IDisposable { readonly List<IDisposable> _rules = new List<IDisposable>(); public void Dispose() { for (int i = _rules.Count; i != 0; --i) { var r = _rules[i - 1]; r.Dispose(); } ...
bsd-3-clause
C#
77eff408f8a0a6c5cca36454ac80afdc3ae73104
Fix problem with invalid whitespaces and lower characters in input license key code
mohsansaleem/patchkit-patcher-unity,mohsansaleem/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity
src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs
src/Assets/Scripts/Licensing/KeyLicenseObtainer.cs
using System; using System.Threading; using UnityEngine; using UnityEngine.UI; namespace PatchKit.Unity.Patcher.Licensing { public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer { private State _state = State.None; private KeyLicense _keyLicense; private Animator _animato...
using System; using System.Threading; using UnityEngine; using UnityEngine.UI; namespace PatchKit.Unity.Patcher.Licensing { public class KeyLicenseObtainer : MonoBehaviour, ILicenseObtainer { private State _state = State.None; private KeyLicense _keyLicense; private Animator _animato...
mit
C#
5b1b8f92afdc9b7a1b787847b99beb19b38d0ae5
Update Method.cs
hprose/hprose-dotnet
src/Hprose.RPC/Method.cs
src/Hprose.RPC/Method.cs
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
/*--------------------------------------------------------*\ | | | hprose | | | | Official WebSite: https://hprose.com | | ...
mit
C#
ae6b3dd9110b121c67f5de063518c243da15c98a
Initialize DomainCustomization with an TextReaderCustomization
appharbor/appharbor-cli
src/AppHarbor.Tests/DomainCustomization.cs
src/AppHarbor.Tests/DomainCustomization.cs
using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; namespace AppHarbor.Tests { public class DomainCustomization : CompositeCustomization { public DomainCustomization() : base( new AutoMoqCustomization(), new TextReaderCustomization(), new TextWriterCustomization()) { } } }
using Ploeh.AutoFixture; using Ploeh.AutoFixture.AutoMoq; namespace AppHarbor.Tests { public class DomainCustomization : CompositeCustomization { public DomainCustomization() : base( new AutoMoqCustomization(), new TextWriterCustomization()) { } } }
mit
C#
0708bbab8e27be1258ae62ca00ef304b5978cb25
Initialize AppDeleteCommand with an IApplicationConfiguration
appharbor/appharbor-cli
src/AppHarbor/Commands/AppDeleteCommand.cs
src/AppHarbor/Commands/AppDeleteCommand.cs
using System; namespace AppHarbor.Commands { [CommandHelp("Delete application")] public class AppDeleteCommand : ICommand { private readonly IAppHarborClient _appharborClient; private readonly IApplicationConfiguration _applicationConfiguration; public AppDeleteCommand(IAppHarborClient appharborClient, IApp...
using System; namespace AppHarbor.Commands { [CommandHelp("Delete application")] public class AppDeleteCommand : ICommand { private readonly IAppHarborClient _appharborClient; public AppDeleteCommand(IAppHarborClient appharborClient) { _appharborClient = appharborClient; } public void Execute(string...
mit
C#
475600c7ea6cb655ff1906b76be533fcf52a70ca
Fix typo in AfterMap xml comment
CandidoCleyton/AutoMapper,BlaiseD/AutoMapper,TylerCarlson1/AutoMapper,mjalil/AutoMapper,seanlin816/AutoMapper,mwpowellhtx/MicroMapper,jbogard/AutoMapper,michaelkauflin/AutoMapper,jasonholloway/AutoMapper,jnm2/AutoMapper,lbargaoanu/AutoMapper,gentledepp/AutoMapper,AutoMapper/AutoMapper,sh-sabooni/AutoMapper,AutoMapper/A...
src/AutoMapper/IMappingOperationOptions.cs
src/AutoMapper/IMappingOperationOptions.cs
namespace AutoMapper { using System; using System.Collections.Generic; /// <summary> /// Options for a single map operation /// </summary> public interface IMappingOperationOptions { /// <summary> /// Construct services using this callback. Use this for child/nested contain...
namespace AutoMapper { using System; using System.Collections.Generic; /// <summary> /// Options for a single map operation /// </summary> public interface IMappingOperationOptions { /// <summary> /// Construct services using this callback. Use this for child/nested contain...
mit
C#
c3346bac2c6f3bec6dae2ebe5f1b004ba2df6beb
extend clearable
YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site
src/MathSite.Db/DbExtensions/ClearableDbContext.cs
src/MathSite.Db/DbExtensions/ClearableDbContext.cs
using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace MathSite.Db.DbExtensions { public static class ClearableDbContext { public static async Task Clear<TEntity>(this MathSiteDbContext context, string tableName = null) where TEntity : class { ...
using System; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; namespace MathSite.Db.DbExtensions { public static class ClearableDbContext { public static async Task Clear<TEntity>(this MathSiteDbContext context, string tableName = null) where TEntity : class { ...
mit
C#
2397720ff9e15919eb8501b6ec86ec751f58b1e7
Fix collection aggregate
StanleyGoldman/NRules,prashanthr/NRules,NRules/NRules,StanleyGoldman/NRules
src/NRules/NRules.RuleModel/CollectionAggregate.cs
src/NRules/NRules.RuleModel/CollectionAggregate.cs
using System.Collections.Generic; namespace NRules.RuleModel { /// <summary> /// Aggregate that folds matching facts into a collection. /// </summary> /// <typeparam name="T">Type of facts to collect.</typeparam> internal class CollectionAggregate<T> : IAggregate { private readonly Lis...
using System.Collections.Generic; namespace NRules.RuleModel { /// <summary> /// Aggregate that folds matching facts into a collection. /// </summary> /// <typeparam name="T">Type of facts to collect.</typeparam> internal class CollectionAggregate<T> : IAggregate { private readonly Lis...
mit
C#
51928be80a138cadf3a8f3507c88dd01096cf0ae
Order by filename ASC, so that detached versions appear always after the original photo, even if Reverse Order is used
NguyenMatthieu/f-spot,GNOME/f-spot,mono/f-spot,Yetangitu/f-spot,nathansamson/F-Spot-Album-Exporter,NguyenMatthieu/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,GNOME/f-spot,dkoeb/f-spot,Sanva/f-spot,mans0954/f-spot,Yetangitu/f-spot,mono/f-spot,Sanva/f-spot,Yetangitu/f-spot,Sanva/f-spot,dkoeb/f-spot,mono/f-s...
src/Query/OrderByTime.cs
src/Query/OrderByTime.cs
/* * FSpot.Query.OrderByTime.cs * * Author(s): * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. * */ using System; using FSpot.Utils; namespace FSpot.Query { public class OrderByTime : IQueryCondition, IOrderCondition { public static OrderByTime OrderByTimeAs...
/* * FSpot.Query.OrderByTime.cs * * Author(s): * Stephane Delcroix <stephane@delcroix.org> * * This is free software. See COPYING for details. * */ using System; using FSpot.Utils; namespace FSpot.Query { public class OrderByTime : IQueryCondition, IOrderCondition { public static OrderByTime OrderByTimeAs...
mit
C#
9a4d62d011ac3debcc789b64cc6352c083e21b50
Add some comments to the new PhotosDirectory field so users understand how it is used.
JC-Chris/XFExtensions
XFExtensions.MetaMedia/MetaMediaPlugin.Abstractions/IMediaService.cs
XFExtensions.MetaMedia/MetaMediaPlugin.Abstractions/IMediaService.cs
using System.Threading.Tasks; namespace MetaMediaPlugin.Abstractions { public interface IMediaService { bool IsCameraAvailable { get; } bool IsTakePhotoSupported { get; } bool IsPickPhotoSupported { get; } /// <summary> /// Specify the photo directory to use...
using System.Threading.Tasks; namespace MetaMediaPlugin.Abstractions { public interface IMediaService { bool IsCameraAvailable { get; } bool IsTakePhotoSupported { get; } bool IsPickPhotoSupported { get; } string PhotosDirectory { get; set; } // this is only used in An...
apache-2.0
C#
874bae2cfe37ea4efce392bb9d3407f03faa25ca
delete unused
saturn72/saturn72
src/Core/Saturn72.Core/Infrastructure/DependencyManagement/IIocRegistrator.cs
src/Core/Saturn72.Core/Infrastructure/DependencyManagement/IIocRegistrator.cs
#region using System; using System.Collections.Generic; #endregion namespace Saturn72.Core.Infrastructure.DependencyManagement { public interface IIocRegistrator { IocRegistrationRecord RegisterInstance<TService>(TService implementation, object key = null, Type[] interceptorTypes = null) ...
#region using System; using System.Collections.Generic; using Castle.DynamicProxy; #endregion namespace Saturn72.Core.Infrastructure.DependencyManagement { public interface IIocRegistrator { IocRegistrationRecord RegisterInstance<TService>(TService implementation, object key = null, Type[] intercepto...
mit
C#
df0e7d05d66f8c458b2fb4db9a9cacbe3899f9c5
tidy up formatting
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Portal/Application/Services/Commitments/CommitmentsService.cs
src/SFA.DAS.EAS.Portal/Application/Services/Commitments/CommitmentsService.cs
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using SFA.DAS.Commitments.Api.Types.Commitment; using SFA.DAS.EAS.Portal.Application.Services.Commitments.Http; using SFA.DAS.Http; namespace SFA.DAS.EAS.Portal.Application.Services.Commitments { public class CommitmentsServi...
using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using SFA.DAS.Commitments.Api.Types.Commitment; using SFA.DAS.EAS.Portal.Application.Services.Commitments.Http; using SFA.DAS.Http; namespace SFA.DAS.EAS.Portal.Application.Services.Commitments { public class CommitmentsServi...
mit
C#
ddc3192b9770413fe92cb8d4fd21bdb1cf6afe1f
Update Vector2.cs
elacy/PopulationSimulator
PopSim.Logic/Vector2.cs
PopSim.Logic/Vector2.cs
using System; namespace PopSim.Logic { public class Vector2 { public Vector2(double x, double y) { X = x; Y = y; IsZero = Math.Abs(x) < double.Epsilon && Math.Abs(y) < double.Epsilon; } public bool IsZero { get; private set; } publi...
using System; namespace PopSim.Logic { public class Vector2 { public Vector2(double x, double y) { X = x; Y = y; IsZero = Math.Abs(x) < double.Epsilon && Math.Abs(y) < double.Epsilon; } public bool IsZero { get; private set; } publi...
mit
C#
39c3244a725435972a65bad5c5a444a172fdc02f
Add XML doc comments
jorik041/dnlib,Arthur2e5/dnlib,0xd4d/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,picrap/dnlib,kiootic/dnlib,yck1509/dnlib,ilkerhalil/dnlib
src/DotNet/Emit/OperandType.cs
src/DotNet/Emit/OperandType.cs
using dot10.DotNet.MD; namespace dot10.DotNet.Emit { /// <summary> /// CIL opcode operand type /// </summary> public enum OperandType : byte { /// <summary>4-byte relative instruction offset</summary> InlineBrTarget, /// <summary>4-byte field token (<see cref="Table.Field"/> or <see cref="Table.MemberRef"/>...
namespace dot10.DotNet.Emit { /// <summary> /// CIL opcode operand type /// </summary> public enum OperandType : byte { /// <summary></summary> InlineBrTarget, /// <summary></summary> InlineField, /// <summary></summary> InlineI, /// <summary></summary> InlineI8, /// <summary></summary> InlineM...
mit
C#
dd7506024e47014b8b6c0538983034339caea09d
Add ability do dependency inject a HttpMessageHandler into HttpService
schwamster/HttpService,schwamster/HttpService
src/HttpService/HttpService.cs
src/HttpService/HttpService.cs
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using System.Net.Http; using Microsoft.AspNetCore.Authentication; namespace HttpService { public class HttpService : IHttpService { private readonly IContextReader _tokenExtractor; private HttpClient _client; public HttpService(IHttpContextAccess...
using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using System.Net.Http; using Microsoft.AspNetCore.Authentication; namespace HttpService { public class HttpService : IHttpService { private readonly IContextReader _tokenExtractor; private HttpClient _client; public HttpService(IHttpContextAccess...
mit
C#
6db4aebd06f8c15761c77ac7c5a0e30ee234336d
Update _Error403.cshtml
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml
src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml
@{ ViewBag.Title = "Access denied - Error 403"; ViewBag.PageId = "error-403"; ViewBag.HideNavBar = true; } <main id="content" role="main" class="error-403"> <div class="grid-row"> <div class="column-two-thirds"> <div class="hgroup"> <h1 class="heading-xlarge"> ...
@{ ViewBag.Title = "Access denied - Error 403"; ViewBag.PageId = "error-403"; ViewBag.HideNavBar = true; } <main id="content" role="main" class="error-403"> <div class="grid-row"> <div class="column-two-thirds"> <div class="hgroup"> <h1 class="heading-xlarge"> ...
mit
C#
9e6bc3969bb07cd558951158276f0d8dd41db9c7
Clean up using statements, and add remark about InstallUtil
Luke-Wolf/wolfybot
WolfyBot.CLI/Program.cs
WolfyBot.CLI/Program.cs
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
// // Copyright 2014 luke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
apache-2.0
C#
ecd2586e37517bc9e4ab96d00407932617fb7e40
Fix getters of ReleaseInfo class (#208)
Eclo/nf-debugger,nanoframework/nf-debugger
source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/ReleaseInfo.cs
source/nanoFramework.Tools.DebugLibrary.Shared/WireProtocol/ReleaseInfo.cs
// // Copyright (c) 2017 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using System; using System.Text; namespace nanoFramework.Tools.Debugger.WireProtocol { public class Releas...
// // Copyright (c) 2017 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // using System; using System.Text; namespace nanoFramework.Tools.Debugger.WireProtocol { public class Relea...
apache-2.0
C#
85220f8e8b967ba6bff8420482fc7d148ef8664e
Fix bad merge
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Util/XmlUtil.cs
src/Arkivverket.Arkade/Util/XmlUtil.cs
using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; namespace Arkivverket.Arkade.Util { public class XmlUtil { public static void Validate(String xmlString, String xmlSchemaString) { MemoryStream xmlStream = new MemoryStream(Encoding.UTF8.G...
using Arkivverket.Arkade.Test.Core; using System; using System.IO; using System.Text; using System.Xml; using System.Xml.Schema; namespace Arkivverket.Arkade.Util { public class XmlUtil { public static void Validate(String xmlString, String xmlSchemaString) { MemoryStream xmlStrea...
agpl-3.0
C#
4e143b7882e3710c2b0b8118947875ee6804da2b
更新 .net 4.5 项目版本号
JeffreySu/WxOpen,JeffreySu/WxOpen
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Senparc.Weixin.WxOpen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: ...
apache-2.0
C#
26ddf23e04069a7fad4cf7cc06b3c15af69d1614
remove unneeded setter
petrhaus/RedCapped,AppSpaceIT/RedCapped
src/RedCapped.Core/RedCappedMessage.cs
src/RedCapped.Core/RedCappedMessage.cs
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace RedCapped.Core { public class MessageHeader<T> { [BsonElement("v")] public string Version { get { return "1"; } } [BsonElement("...
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; namespace RedCapped.Core { public class MessageHeader<T> { [BsonElement("v")] public string Version { get { return "1"; } set { ...
apache-2.0
C#
43a9364a592fdbf9afb3b585ea739ae5f73eba55
Set verbosity to diagnostic on hosted build.
KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog
src/StructuredLogViewer/HostedBuild.cs
src/StructuredLogViewer/HostedBuild.cs
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Build.CommandLine; using Microsoft.Build.Logging.StructuredLogger; using Microsoft.Build.Utilities; namespace StructuredLogViewer { public class HostedBuild { private string projectFilePath; public Hoste...
using System; using System.IO; using System.Threading.Tasks; using Microsoft.Build.CommandLine; using Microsoft.Build.Logging.StructuredLogger; using Microsoft.Build.Utilities; namespace StructuredLogViewer { public class HostedBuild { private string projectFilePath; public Hoste...
mit
C#
3a1e6fffd2c3b953d6ad9320714ae0102346a451
Update IConfigurationValidationStrategy.cs
tiksn/TIKSN-Framework
TIKSN.Core/Configuration/ValidationStrategy/IConfigurationValidationStrategy.cs
TIKSN.Core/Configuration/ValidationStrategy/IConfigurationValidationStrategy.cs
namespace TIKSN.Configuration.ValidationStrategy { public interface IConfigurationValidationStrategy<T> { void Validate(T instance); } }
namespace TIKSN.Configuration.ValidationStrategy { public interface IConfigurationValidationStrategy<T> { void Validate(T instance); } }
mit
C#
69dce6dd119bc6ef1df157e23a86dafdb93983ba
Change namespace for XmlReaderFactory
Seddryck/Idunn.SqlServer
Idunn.Console/Parser/XmlReaderFactory.cs
Idunn.Console/Parser/XmlReaderFactory.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace Idunn.Console.Parser { public class XmlReaderFactory { publ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; namespace Idunn.Console.Parser.XmlParser { public class XmlReaderFactory { ...
apache-2.0
C#
cba5d786bc6ea104b8d08cbb9a3cf8723ff87595
Fix for TargetException.
hungweng/MarkerMetro.Unity.WinLegacy,MarkerMetro/MarkerMetro.Unity.WinLegacy
MarkerMetro.Unity.WinLegacyUnity/System/Reflection/TargetException.cs
MarkerMetro.Unity.WinLegacyUnity/System/Reflection/TargetException.cs
namespace MarkerMetro.Unity.WinLegacy.Reflection { class TargetException : System.Exception { public TargetException() : base() { } public TargetException(string message) : base(message) { } } }
#if NETFX_CORE namespace MarkerMetro.Unity.WinLegacy.Reflection { class TargetException : System.Exception { public TargetException() : base() { } public TargetException(string message) : base(message) { } } } #endif
mit
C#
3e2ce4bea9767fe39e255a91dbefd66749e79715
Fix possible NullReferenceException
pdfforge/translatable
Source/Translatable.NGettext/GettextTranslationSource.cs
Source/Translatable.NGettext/GettextTranslationSource.cs
using NGettext; using System.Globalization; using System.IO; using Translation; namespace Translatable.NGettext { public class GettextTranslationSource : ITranslationSource { private readonly Catalog _catalog; public GettextTranslationSource(string translationFolder, string moDomain, CultureI...
using System.Globalization; using System.IO; using System.Linq; using NGettext; using Translation; namespace Translatable.NGettext { public class GettextTranslationSource : ITranslationSource { private readonly Catalog _catalog; public GettextTranslationSource(string translationFolder, string...
mit
C#
0dc438f60b744fb7b8ee7d9433f06efeddb90805
Mark BounceException as serializable (the shadow copying needs to serialize things across process boundaries)
socialdotcom/bounce,sreal/bounce,refractalize/bounce,refractalize/bounce,refractalize/bounce,sreal/bounce,socialdotcom/bounce,sreal/bounce,socialdotcom/bounce,socialdotcom/bounce
Bounce.Framework/BounceException.cs
Bounce.Framework/BounceException.cs
using System; using System.IO; namespace Bounce.Framework { [Serializable] public class BounceException : Exception { public BounceException(string message) : base(message) { } public BounceException(string message, Exception innerException) : base(message, innerException) { ...
using System; using System.IO; namespace Bounce.Framework { public class BounceException : Exception { public BounceException(string message) : base(message) { } public BounceException(string message, Exception innerException) : base(message, innerException) { } ...
bsd-2-clause
C#
45a9b4f85f34451948419d9aed8971fff991f1e9
Add a more concrete test. Still have a ways to go in understanding the MicroKernel.
castleproject/castle-READONLY-SVN-dump,carcer/Castle.Components.Validator,castleproject/Castle.Transactions,codereflection/Castle.Components.Scheduler,castleproject/Castle.Facilities.Wcf-READONLY,castleproject/Castle.Transactions,castleproject/castle-READONLY-SVN-dump,castleproject/castle-READONLY-SVN-dump,castleprojec...
Facilities/Logging/Castle.Facilities.Logging.Tests/LoggingFacilityTestCase.cs
Facilities/Logging/Castle.Facilities.Logging.Tests/LoggingFacilityTestCase.cs
// Copyright 2004-2005 Castle Project - http://www.castleproject.org/ // // 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 // //...
// Copyright 2004-2005 Castle Project - http://www.castleproject.org/ // // 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 // //...
apache-2.0
C#
b53264a993dbbb32103077ea336b151af3a3481c
Fix server.Address not returning external IP
LaserHydra/Oxide,Visagalis/Oxide,LaserHydra/Oxide,Nogrod/Oxide-2,Nogrod/Oxide-2,Visagalis/Oxide
Games/Unity/Oxide.Game.ReignOfKings/Libraries/Covalence/ReignOfKingsServer.cs
Games/Unity/Oxide.Game.ReignOfKings/Libraries/Covalence/ReignOfKingsServer.cs
using System.Linq; using System.Net; using CodeHatch.Build; using CodeHatch.Engine.Core.Commands; using CodeHatch.Engine.Networking; using Steamworks; using Oxide.Core.Libraries.Covalence; namespace Oxide.Game.ReignOfKings.Libraries.Covalence { /// <summary> /// Represents the server hosting the game instan...
using System.Linq; using System.Net; using CodeHatch.Build; using CodeHatch.Engine.Core.Commands; using CodeHatch.Engine.Networking; using Oxide.Core.Libraries.Covalence; namespace Oxide.Game.ReignOfKings.Libraries.Covalence { /// <summary> /// Represents the server hosting the game instance /// </summa...
mit
C#
4f47f12c96af82d09f9e4d682be0c07dceae0133
Extend stale-while-revalidate
mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker,mayuki/PlatformStatusTracker
PlatformStatusTracker/PlatformStatusTracker.Web/Controllers/HomeController.cs
PlatformStatusTracker/PlatformStatusTracker.Web/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using PlatformStatusTracker.Core.Repository; using PlatformStatusTracker.Web.ViewModels.Home; using PlatformStatusTracker.Web.Filters; namespace PlatformStatusTracker.Web.Controlle...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using PlatformStatusTracker.Core.Repository; using PlatformStatusTracker.Web.ViewModels.Home; using PlatformStatusTracker.Web.Filters; namespace PlatformStatusTracker.Web.Controlle...
mit
C#
ddfa72b1a48e3874266f7413bdf4c962d5e86cad
Add new unit test
0culus/ElectronicCash
ElectronicCash.Tests/HelperTests.cs
ElectronicCash.Tests/HelperTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace ElectronicCash.Tests { [TestFixture] internal class HelperTests { [Test] public void DummyTest() { Assert.True(true); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace ElectronicCash.Tests { [TestFixture] internal class HelperTests { [Test] public void DummyTest() { Assert.True(true); ...
mit
C#
402b31c7f4fe2680a0e794209a0d394ca19c7401
Mark the previous field as deprecated in response to CR feedback
killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity
Assets/MixedRealityToolkit.Services/InputSystem/InputSystemGlobalListener.cs
Assets/MixedRealityToolkit.Services/InputSystem/InputSystemGlobalListener.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using System; using System.Threading.Tasks; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using Microsoft.MixedReality.Toolkit.Utilities; using System.Threading.Tasks; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> ...
mit
C#
e3eddd0cf9b79ee324c25540a8cd024fcc75721b
Tweak submit text
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/SUTA/New.cshtml
Battery-Commander.Web/Views/SUTA/New.cshtml
@model BatteryCommander.Web.Commands.AddSUTARequest <div class="alert alert-info"> Use this form to submit a Substitute Unit Training (SUTA) request to your chain of command. </div> @using (Html.BeginForm("New", "SUTA", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryT...
@model BatteryCommander.Web.Commands.AddSUTARequest <div class="alert alert-info"> Use this form to submit a Substitute Unit Training (SUTA) request to your chain of command. </div> @using (Html.BeginForm("New", "SUTA", FormMethod.Post, new { @class = "form-horizontal", role = "form" })) { @Html.AntiForgeryT...
mit
C#
d77de3bb127dbc96dd36901a197b5b047cdfb4b6
Remove debug code
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/Utils/BrowserProcesses.cs
Core/Utils/BrowserProcesses.cs
using System.Collections.Generic; using System.Diagnostics; using CefSharp; namespace TweetDuck.Core.Utils{ static class BrowserProcesses{ private static readonly Dictionary<int, int> PIDs = new Dictionary<int, int>(); public static void Link(int identifier, int pid){ PIDs[identifier]...
using System.Collections.Generic; using System.Diagnostics; using CefSharp; namespace TweetDuck.Core.Utils{ static class BrowserProcesses{ private static readonly Dictionary<int, int> PIDs = new Dictionary<int, int>(); public static void Link(int identifier, int pid){ PIDs[identifier]...
mit
C#
3df6e89069695cfbc0e49ede0f4422c895f49541
Support for custom layout in title
elmahio/elmah.io.nlog
Elmah.Io.NLog/ElmahIoTarget.cs
Elmah.Io.NLog/ElmahIoTarget.cs
using System; using System.Collections.Generic; using System.Linq; using Elmah.Io.Client; using Elmah.Io.Client.Models; using NLog; using NLog.Config; using NLog.Targets; namespace Elmah.Io.NLog { [Target("elmah.io")] public class ElmahIoTarget : TargetWithLayout { private IElmahioAPI _client; ...
using System; using System.Collections.Generic; using System.Linq; using Elmah.Io.Client; using Elmah.Io.Client.Models; using NLog; using NLog.Config; using NLog.Targets; namespace Elmah.Io.NLog { [Target("elmah.io")] public class ElmahIoTarget : Target { private IElmahioAPI _client; [Req...
apache-2.0
C#
38c820816f74b89073e8e0fded726f6429340852
Bump to version 2.3.3.0
Silv3rPRO/proshine,bobus15/proshine
PROShine/Properties/AssemblyInfo.cs
PROShine/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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 with an assembly. [assembly: As...
using System.Reflection; using System.Resources; 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 with an assembly. [assembly: As...
mit
C#
b4da649d720c4857f9c1858c8106ebb10bce99eb
Fix bug that was preventing transation of some items.
ShunKun/KanColleViewer,the-best-flash/KanColleViewer
source/Grabacr07.KanColleWrapper/Translation/ItemTranslationHelper.cs
source/Grabacr07.KanColleWrapper/Translation/ItemTranslationHelper.cs
namespace Grabacr07.KanColleWrapper.Translation { public static class ItemTranslationHelper { public static string TranslateItemName(string name) { string stripped = name; string translated = (string.IsNullOrEmpty(stripped) ? null : Equipment.Resources.ResourceManager.Ge...
namespace Grabacr07.KanColleWrapper.Translation { public static class ItemTranslationHelper { public static string TranslateItemName(string name) { string stripped = TranslationHelper.StripInvalidCharacters(name); string translated = (string.IsNullOrEmpty(stripped) ? nul...
mit
C#
0130c1d56466802815c8c57506d38474a523a54e
Handle HttpException explicitly and include comments for workaround
verdentk/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,verdentk/aspnetboilerplate,ilyhacker/aspnetboilerplate,carldai0106/aspnetboilerplate,a...
src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
src/Abp.Web/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
using Abp.Dependency; using Abp.EntityHistory; using Abp.Runtime; using JetBrains.Annotations; using System.Web; namespace Abp.Web.EntityHistory { /// <summary> /// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request. /// </summary> public class HttpRequestEntityCha...
using System; using Abp.Dependency; using Abp.EntityHistory; using Abp.Runtime; using JetBrains.Annotations; using System.Web; namespace Abp.Web.EntityHistory { /// <summary> /// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request. /// </summary> public class HttpRe...
mit
C#
313d1b205fbf517243dcd1365297566e5d9b70fa
Remove unused function
leighwoltman/Flickr-Photo-Scanner,leighwoltman/PDF-Scanning-App
Source/DataSource.cs
Source/DataSource.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Text; using Utils; namespace PDFScanningApp { public class ScanSettings { } public class DataSourceNewPageEventArgs : EventArgs { public Page ThePage; ...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Text; using Utils; namespace PDFScanningApp { public class ScanSettings { } public class DataSourceNewPageEventArgs : EventArgs { public Page ThePage; ...
mit
C#
7d7dc8e21fb7d76b02f5d72275175acfe243fe05
Fix OSX bug on MachineName #5732.
krytarowski/corefx,MaggieTsang/corefx,ellismg/corefx,tijoytom/corefx,alphonsekurian/corefx,manu-silicon/corefx,Priya91/corefx-1,DnlHarvey/corefx,parjong/corefx,krk/corefx,Priya91/corefx-1,dotnet-bot/corefx,Petermarcu/corefx,dhoehna/corefx,kkurni/corefx,BrennanConroy/corefx,fgreinacher/corefx,adamralph/corefx,manu-silic...
src/System.Runtime.Extensions/tests/System/Environment.MachineName.cs
src/System.Runtime.Extensions/tests/System/Environment.MachineName.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 System.Runtime.InteropServices; using Xunit; namespace System.Runtime.Extensions.Tests { public class Environment_MachineName { [F...
// 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 System.Runtime.InteropServices; using Xunit; namespace System.Runtime.Extensions.Tests { public class Environment_MachineName { [A...
mit
C#
91e406b6daf6b77bb15c9d18b53e0d1a4f3a84ca
Fix typo in assemblyinfo Fixes #76
jamesmontemagno/GeolocatorPlugin,jamesmontemagno/GeolocatorPlugin
src/Geolocator.Plugin.Android/Properties/AssemblyInfo.cs
src/Geolocator.Plugin.Android/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
mit
C#
8b49c0d088157bb6cea18d9a2445d9b761e3de37
Move validation into assembly resolve
TBAPI-0KA/NSass,TBAPI-0KA/NSass,TBAPI-0KA/NSass,TBAPI-0KA/NSass,TBAPI-0KA/NSass,TBAPI-0KA/NSass
NSass.Core/AssemblyResolver.cs
NSass.Core/AssemblyResolver.cs
using System; using System.IO; using System.Reflection; namespace NSass { public static class AssemblyResolver { private const string AssemblyName = "NSass.Wrapper"; private const string AssembliesDir = "NSass.Wrapper"; public static void Initialize() { string assemblyDir = AppDoma...
using System; using System.IO; using System.Reflection; namespace NSass { public static class AssemblyResolver { private const string AssemblyName = "NSass.Wrapper"; private const string AssembliesDir = "NSass.Wrapper"; public static void Initialize() { string assemblyDir = AppDomain.Curren...
mit
C#
f1e2b72cb73279d936f748ab1d94dd3979524397
Refactor prerequisite check for audit queue address
Simution/NServiceBus.Recoverability.RetrySuccessNotification
src/RetrySuccessNotification/RetrySuccessNotification.cs
src/RetrySuccessNotification/RetrySuccessNotification.cs
namespace NServiceBus.Features { using Recoverability; using Transport; /// <inheritdoc /> /// <summary> /// Provides the retry success notification feature /// </summary> public class RetrySuccessNotification : Feature { internal const string TriggerHeadersKey = "RetrySucc...
namespace NServiceBus.Features { using Recoverability; using Transport; /// <inheritdoc /> /// <summary> /// Provides the retry success notification feature /// </summary> public class RetrySuccessNotification : Feature { internal const string TriggerHeadersKey = "RetrySucc...
mit
C#
5cb650411c83fe030b5befbf0ad62904dcbbbdc4
Update AbpProjectNameWebModule.cs
aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template
src/AbpCompanyName.AbpProjectName.WebMpa/App_Start/AbpProjectNameWebModule.cs
src/AbpCompanyName.AbpProjectName.WebMpa/App_Start/AbpProjectNameWebModule.cs
using System.Reflection; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Abp.Auditing; using Abp.Dependency; using Abp.Hangfire; using Abp.Hangfire.Configuration; using Abp.Zero.Configuration; using Abp.Modules; using Abp.Web.Mvc; using Abp.Web.SignalR...
using System.Reflection; using System.Web; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Abp.Auditing; using Abp.Dependency; using Abp.Hangfire; using Abp.Hangfire.Configuration; using Abp.Zero.Configuration; using Abp.Modules; using Abp.Web.Mvc; using Abp.Web.SignalR...
mit
C#
27f1ccbbf21cf62417d7fb89f37f13914af6aa29
Update doc comment
Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
TGServiceInterface/ServiceBridge.cs
TGServiceInterface/ServiceBridge.cs
using System; using RGiesecke.DllExport; using System.Runtime.InteropServices; using System.ServiceModel; namespace TGServiceInterface { /// <summary> /// Used by DD to access the interop API with call()() /// </summary> [ServiceContract] public interface ITGServiceBridge { /// <summary> /// Called from /w...
using System; using RGiesecke.DllExport; using System.Runtime.InteropServices; using System.ServiceModel; namespace TGServiceInterface { /// <summary> /// Used by DD to access the interop API with call()() /// </summary> [ServiceContract] public interface ITGServiceBridge { /// <summary> /// Called from /w...
agpl-3.0
C#
c5f7fa52a799a0701032ada4b4d969fe8336ed93
Fix for gallio on non-windows systems
Psychobilly87/bari,Psychobilly87/bari,vigoo/bari,vigoo/bari,vigoo/bari,Psychobilly87/bari,Psychobilly87/bari,vigoo/bari
src/dotnetplugins/Bari.Plugins.Gallio/cs/Tools/Gallio.cs
src/dotnetplugins/Bari.Plugins.Gallio/cs/Tools/Gallio.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Bari.Core.Generic; using Bari.Core.Tools; using Bari.Core.UI; namespace Bari.Plugins.Gallio.Tools { public class Gallio: DownloadablePackedExternalTool, IGallio { private readonly IFileSystemDirectory targetDir; ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Bari.Core.Generic; using Bari.Core.Tools; using Bari.Core.UI; namespace Bari.Plugins.Gallio.Tools { public class Gallio: DownloadablePackedExternalTool, IGallio { private readonly IFileSystemDirectory targetDir; ...
apache-2.0
C#
c9a09c0d3053214954cbe97da1a92afd540ebd52
Add a couple of SharpDX Math related assertion helpers
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Viewer/src/common/DebugUtilities.cs
Viewer/src/common/DebugUtilities.cs
using SharpDX; using System; using System.Diagnostics; using System.Threading; static class DebugUtilities { public static void Burn(long ms) { Stopwatch stopwatch = Stopwatch.StartNew(); while (stopwatch.ElapsedMilliseconds < ms) { } } public static void Sleep(long ms) { Stopwatch stopwatch = Stopwatch.S...
using System.Diagnostics; using System.Threading; static class DebugUtilities { public static void Burn(long ms) { Stopwatch stopwatch = Stopwatch.StartNew(); while (stopwatch.ElapsedMilliseconds < ms) { } } public static void Sleep(long ms) { Stopwatch stopwatch = Stopwatch.StartNew(); while (stopwatch...
mit
C#
d11119f12eb4d94a7f6d69475d5918a2c43935a5
make constructor of ObcSimplyfingSerializerFactory public
OBeautifulCode/OBeautifulCode.Serialization
OBeautifulCode.Serialization/SerializerFactory/ObcSimplifyingSerializerFactory.cs
OBeautifulCode.Serialization/SerializerFactory/ObcSimplifyingSerializerFactory.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ObcSimplifyingSerializerFactory.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // -------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="ObcSimplifyingSerializerFactory.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // -------------------------------------...
mit
C#
791d69267575e8f20c96bdc9cebc1e7329b27cc7
Fix short conversion
SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs
SnapMD.VirtualCare.ApiModels/Scheduling/AppointmentOptimizationCode.cs
namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Appointment optimization code. /// </summary> public enum AppointmentOptimizationCode : short { /// <summary> /// Single booking. /// </summary> SingleBooking, /// <summary> /// Do...
namespace SnapMD.VirtualCare.ApiModels.Scheduling { /// <summary> /// Appointment optimization code. /// </summary> public enum AppointmentOptimizationCode { /// <summary> /// Single booking. /// </summary> SingleBooking, /// <summary> /// Double boo...
apache-2.0
C#
8ab736e5022dcc5a47feeb828480b960eef92374
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <!-- <h2 style="color: blue">PLEASE NOTE: There will be a modest increase in our rates effective in early October.</h2> --> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <h2 style="color: blue">PLEASE NOTE: There will be a modest increase in our rates effective in early October.</h2> <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environ...
mit
C#
20143a01653e9eb1d5c68ce4e9f642603f4d53c3
Attach the application to the WebApp's graceful shutdown event.
MarinAtanasov/AppBrix,MarinAtanasov/AppBrix.NetCore
src/AppBrix.WebApp/Startup.cs
src/AppBrix.WebApp/Startup.cs
using AppBrix.Application; using AppBrix.Configuration; using AppBrix.Configuration.Files; using AppBrix.Configuration.Yaml; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Loggi...
using AppBrix.Application; using AppBrix.Configuration; using AppBrix.Configuration.Files; using AppBrix.Configuration.Yaml; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Loggi...
mit
C#
bf3442c631903ee420037b4d1b14e2e584454324
add more properties to SalesAgent
HeadspringLabs/vandelay,pmcvtm/vandelay,HeadspringLabs/vandelay,pmcvtm/vandelay,pmcvtm/vandelay
src/Core/Models/SalesAgent.cs
src/Core/Models/SalesAgent.cs
namespace Core.Models { using System.Collections.Generic; public class SalesAgent : Entity { public string ImageUrl { get; set; } public Location Location { get; set; } public List<Export> Exports { get; set; } public List<Import> Imports { get; set; } } ...
namespace Core.Models { public class SalesAgent : Entity { public Location Location { get; set; } } }
unlicense
C#
0eac933c1491242b241fb8809390a44b85e1913f
Convert .Text and .Primitive to interfaces
kornelijepetak/incident-cs
IncidentCS/Incident.Initialize.cs
IncidentCS/Incident.Initialize.cs
using System; using System.Linq; namespace KornelijePetak.IncidentCS { public static partial class Incident { internal static Random Rand { get; private set; } public static IPrimitiveRandomizer Primitive { get; private set; } public static ITextRandomizer Text { get; private set; } static Incident() { ...
using System; using System.Linq; namespace KornelijePetak.IncidentCS { public static partial class Incident { internal static Random Rand { get; private set; } public static PrimitiveRandomizer Primitive { get; private set; } public static TextRandomizer Text { get; private set; } static Incident() { ...
mit
C#
23e1c2f89e26c9265f12a6c9f083bd4c008a104c
Add more testing for BasicHttpSecurityMode modes
shmao/wcf,zhenlan/wcf,mconnew/wcf,iamjasonp/wcf,SajayAntony/wcf,shmao/wcf,ElJerry/wcf,imcarolwang/wcf,ericstj/wcf,dotnet/wcf,MattGal/wcf,khdang/wcf,mconnew/wcf,dotnet/wcf,StephenBonikowsky/wcf,SajayAntony/wcf,khdang/wcf,StephenBonikowsky/wcf,ericstj/wcf,ElJerry/wcf,iamjasonp/wcf,hongdai/wcf,MattGal/wcf,mconnew/wcf,KKhu...
src/System.ServiceModel.Http/tests/ServiceModel/SecurityBindingElementTest.cs
src/System.ServiceModel.Http/tests/ServiceModel/SecurityBindingElementTest.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 System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using Xunit; public static class SecurityBindingElementTest { [Fac...
// 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 System.Linq; using System.ServiceModel; using System.ServiceModel.Channels; using Xunit; public static class SecurityBindingElementTest { [Fac...
mit
C#
4e855d200fa9873ae8bb94e198e466e8c37e4d6e
Update banner
martincostello/api,martincostello/api,martincostello/api
src/API/Views/Home/Index.cshtml
src/API/Views/Home/Index.cshtml
@using System.Reflection @{ ViewBag.Title = "Home Page"; string? mvcVersion = typeof(Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions) .Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; SiteOptions options = Options.Value; } <div class...
@using System.Reflection @{ ViewBag.Title = "Home Page"; string? mvcVersion = typeof(Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions) .Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; SiteOptions options = Options.Value; } <div class...
mit
C#
54f2909df10fd3951f61ad81fc258a8694b6aa9d
update vs
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/PortableAreas/UserManager/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/PortableAreas/UserManager/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("Us...
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("Us...
apache-2.0
C#
142c8197aa573c713b75cd9c354461e509597b9d
Fix compilation error, see #33
alphacloud/Autofac.Extras.Quartz
src/Samples/Shared/Bootstrap.cs
src/Samples/Shared/Bootstrap.cs
namespace SimpleService.Configuration { using System.Collections.Specialized; using System.Reflection; using AppServices; using Autofac; using Autofac.Extras.Quartz; using Jobs; using Logging; using Logging.LogProviders; using Serilog; using Serilog.Sinks.SystemConsole.Themes; ...
using Autofac; namespace SimpleService.Configuration { using System.Collections.Specialized; using System.Reflection; using AppServices; using Autofac.Extras.Quartz; using JetBrains.Annotations; using Jobs; using Logging.LogProviders; using Serilog; using Serilog.Sinks.SystemConsole...
mit
C#
441605a46083ee4f318b7b23cd74bb0c8b4cf570
Disable caching to force fetching of data when navigating backwards. Added api to clear db.
andreassjoberg/topicr-template,andreassjoberg/topicr-template
web/Controllers/Api/TopicController.cs
web/Controllers/Api/TopicController.cs
using System.Linq; using Microsoft.AspNetCore.Mvc; using topicr.Models; namespace topicr.Controllers.Api { [Produces("application/json")] [Route("api/topics")] public class TopicController : Controller { private readonly TopicContext _db; public TopicController(TopicContext db) ...
using System.Linq; using Microsoft.AspNetCore.Mvc; using topicr.Models; namespace topicr.Controllers.Api { [Produces("application/json")] [Route("api/topics")] public class TopicController : Controller { private readonly TopicContext _db; public TopicController(TopicContext db) ...
unlicense
C#
c322d5b689b6d51d5802f2da7345943df03439d2
update sample to debug multiple namespace/class and inner namespace/class
sdlab-naist/kenja-csharp-parser,sdlab-naist/kenja-csharp-parser
sample/sample.cs
sample/sample.cs
using System; using System.Collections; using System.Linq; using System.Text; namespace Namespace1 { namespace InnerNamespace1 { class Sample { string hoge; public Sample(string hoge) { this.hoge = hoge; } } } class Sample { public string hoge = "aa"; private string fuga = "aa"; pub...
using System; using System.Collections; using System.Linq; using System.Text; class Program { string hoge = "aa"; string hoge2 = "aa"; static void Main(string[] args) { var a = 10; Console.WriteLine(""Hello, World!""); } void Hoge(double hoge1, int hoge2) { int hoge3 = hoge1 + hoge2; Console.WriteLine...
mit
C#
94717fb50a4ef96e6ea494f6b777e130e3cb142e
use DisplayAttribute for PropertyName in ViewModelValidationRuleTranslator
riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm
src/DotVVM.Framework/ViewModel/Validation/ViewModelValidationRuleTranslator.cs
src/DotVVM.Framework/ViewModel/Validation/ViewModelValidationRuleTranslator.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Reflection; namespace DotVVM.Framework.ViewModel.Validation { public class ViewModelValidationRuleTranslator : IValidationRuleTranslator { /// <summary> /// Gets the validation rules. ...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Reflection; namespace DotVVM.Framework.ViewModel.Validation { public class ViewModelValidationRuleTranslator : IValidationRuleTranslator { /// <summary> /// Gets the validation rules. ...
apache-2.0
C#
2a44fc8825833c899b9af1d090a75af1014ea53d
add interactive switch for RemovePackageCommand
johnbeisner/cli,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1,johnbeisner/cli,livarcocc/cli-1
src/dotnet/commands/dotnet-remove/dotnet-remove-package/RemovePackageParser.cs
src/dotnet/commands/dotnet-remove/dotnet-remove-package/RemovePackageParser.cs
using Microsoft.DotNet.Cli.CommandLine; using LocalizableStrings = Microsoft.DotNet.Tools.Remove.PackageReference.LocalizableStrings; namespace Microsoft.DotNet.Cli { internal static class RemovePackageParser { public static Command RemovePackage() { return Create.Command( ...
using Microsoft.DotNet.Cli.CommandLine; using LocalizableStrings = Microsoft.DotNet.Tools.Remove.PackageReference.LocalizableStrings; namespace Microsoft.DotNet.Cli { internal static class RemovePackageParser { public static Command RemovePackage() { return Create.Command( ...
mit
C#
bbb8334ad02d477ef4e6662fe066a3679ee4cdb2
Update example implementation for Bob exercise
robkeim/xcsharp,GKotfis/csharp,exercism/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp,ErikSchierboom/xcsharp,GKotfis/csharp
exercises/bob/Example.cs
exercises/bob/Example.cs
public static class Bob { public static string Response(string statement) { if (IsSilence(statement)) return "Fine. Be that way!"; if (IsYelling(statement) && IsQuestion(statement)) return "Calm down, I know what I'm doing!"; if (IsYelling(statement)) ...
public static class Bob { public static string Response(string statement) { if (IsSilence(statement)) return "Fine. Be that way!"; if (IsYelling(statement)) return "Whoa, chill out!"; if (IsQuestion(statement)) return "Sure."; return "Whatever....
mit
C#
f0d4762ac498eb4bf3346ff94064f1b72b22edbe
Make the guard class internal
haefele/PalmDB
src/PalmDB/Guard.cs
src/PalmDB/Guard.cs
using System; namespace PalmDB { /// <summary> /// Typical guard class that contains methods to validate method arguments. /// </summary> internal static class Guard { /// <summary> /// Throws a <see cref="ArgumentNullException"/> if the specified <paramref name="argument"/> is <c>...
using System; namespace PalmDB { /// <summary> /// Typical guard class that contains methods to validate method arguments. /// </summary> public static class Guard { /// <summary> /// Throws a <see cref="ArgumentNullException"/> if the specified <paramref name="argument"/> is <c>nu...
mit
C#
ca7f90680a299a76aea99237682c568f2a4f8abf
Bump version to 0.6.9
ar3cka/Journalist
src/SolutionInfo.cs
src/SolutionInfo.cs
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.6.9")] [assembly: AssemblyInformationalVersionAttribute("0.6.9")] [assembly: AssemblyFileVersionAttribute("0.6.9")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
// <auto-generated/> using System.Reflection; [assembly: AssemblyProductAttribute("Journalist")] [assembly: AssemblyVersionAttribute("0.6.8")] [assembly: AssemblyInformationalVersionAttribute("0.6.8")] [assembly: AssemblyFileVersionAttribute("0.6.8")] [assembly: AssemblyCompanyAttribute("Anton Mednonogov")] namespace...
apache-2.0
C#
7e4876402c7754f06f100ce23f6a53bbc8226018
increment version
fallenidol/GleanETL
Gleanio.Core/Properties/AssemblyInfo.cs
Gleanio.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Gleanio")] [assembly: AssemblyDescrip...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Gleanio")] [assembly: AssemblyDescrip...
mit
C#
0877bbed87ae028a7a20197f4562ba307e1c5433
Remove some dependencies
pjf/StuffManager
StuffManager/Commands/DownloadCommand.cs
StuffManager/Commands/DownloadCommand.cs
using System; using System.Collections.Generic; using System.Linq; namespace StuffManager.Commands { class DownloadCommand { public static int HandleCommandLine(string[] args, string[] options) { var terms = string.Join(" ", args); var search = KerbalStuff.Search(terms)...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StuffManager.Commands { class DownloadCommand { public static int HandleCommandLine(string[] args, string[] options) { var terms = string.Join(" ", args); ...
mit
C#
fbec611202229ac8d67ef8ef1b5988e604ac5c05
Implement snowball drops from snow blocks
creatorfromhell/TrueCraft,manio143/TrueCraft,creatorfromhell/TrueCraft,blha303/TrueCraft,manio143/TrueCraft,flibitijibibo/TrueCraft,robinkanters/TrueCraft,Mitch528/TrueCraft,SirCmpwn/TrueCraft,illblew/TrueCraft,illblew/TrueCraft,flibitijibibo/TrueCraft,blha303/TrueCraft,christopherbauer/TrueCraft,christopherbauer/TrueC...
TrueCraft.Core/Logic/Blocks/SnowBlock.cs
TrueCraft.Core/Logic/Blocks/SnowBlock.cs
using System; using TrueCraft.API.Logic; using TrueCraft.API; using TrueCraft.Core.Logic.Items; namespace TrueCraft.Core.Logic.Blocks { public class SnowBlock : BlockProvider, ICraftingRecipe { public static readonly byte BlockID = 0x50; public override byte ID { get { return 0x50; } }...
using System; using TrueCraft.API.Logic; using TrueCraft.API; using TrueCraft.Core.Logic.Items; namespace TrueCraft.Core.Logic.Blocks { public class SnowBlock : BlockProvider, ICraftingRecipe { public static readonly byte BlockID = 0x50; public override byte ID { get { return 0x50; } }...
mit
C#
5871897eadf47388bc50e100dbf6dbbcc3a9d7a9
Change code to avoid build errors on C# < 6
frackleton/ApplicationInsights-SDK-Labs,Microsoft/ApplicationInsights-SDK-Labs
WCF/Shared/OperationContextExtensions.cs
WCF/Shared/OperationContextExtensions.cs
using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Wcf.Implementation; using System; using System.ServiceModel; namespace Microsoft.ApplicationInsights.Wcf { /// <summary> /// Provides extensions methods for accessing Application Insights Objects /// </summary> publ...
using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Wcf.Implementation; using System; using System.ServiceModel; namespace Microsoft.ApplicationInsights.Wcf { /// <summary> /// Provides extensions methods for accessing Application Insights Objects /// </summary> publ...
mit
C#
9fa6bc75aa8377fc68d05121dfb9775484523660
Fix focus border issue with menu buttons
mminns/xwt,sevoku/xwt,iainx/xwt,mminns/xwt,hamekoz/xwt,TheBrainTech/xwt,steffenWi/xwt,directhex/xwt,cra0zy/xwt,residuum/xwt,antmicro/xwt,akrisiun/xwt,lytico/xwt,hwthomas/xwt,mono/xwt
Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs
Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs
// // DropDownButton.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, 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 restrictio...
// // DropDownButton.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, 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 restrictio...
mit
C#
0743ce2639981b5d372e33fa3252ea165b131bb0
Fix (again) syntax issue with using static
Seddryck/NBi,Seddryck/NBi
NBi.Xml/Items/ResultSet/ResultSetXml.cs
NBi.Xml/Items/ResultSet/ResultSetXml.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Serialization; using NBi.Core; using NBi.Core.ResultSet; namespace NBi.Xml.Items.ResultSet { public class ResultSetXml : BaseItem { [XmlElement("row")] public List<RowXml> _rows { get; set; } ...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Serialization; using NBi.Core; using NBi.Core.ResultSet; using static NBi.Core.ResultSet.ResultSetBuilder; namespace NBi.Xml.Items.ResultSet { public class ResultSetXml : BaseItem { [XmlElement("row")] ...
apache-2.0
C#
30be76f3d997588596958ef8c057bf1e3fca056a
Update DataFactories AssemblyInfo
AzureAutomationTeam/azure-powershell,naveedaz/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,AzureAutomationTeam/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,AzureAutomationT...
src/ResourceManager/DataFactories/Commands.DataFactories/Properties/AssemblyInfo.cs
src/ResourceManager/DataFactories/Commands.DataFactories/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apa...
apache-2.0
C#