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
69fba2647d47b289383d40fbe0593be5f303201d
remove mono compiler warning
ft-/arribasim-dev-extras,ft-/opensim-optimizations-wip-extras,ft-/opensim-optimizations-wip-extras,TechplexEngineer/Aurora-Sim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,AlphaStaxLLC/taiga,allquixotic/opensim-autobackup,OpenSimian/opensimulator,BogusCurry/arribasim-dev,ft-/opensim-optimizations-wip,RavenB/opensim,cdbean/CySi...
OpenSim/Services/PresenceService/PresenceService.cs
OpenSim/Services/PresenceService/PresenceService.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
a23c98b0cef07850ad1c92e56446c7ddbee17367
Implement ElectricityController endpoint
jeroen-corsius/smart-meter
SmartMeter.API/Controllers/ElectricityController.cs
SmartMeter.API/Controllers/ElectricityController.cs
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using SmartMeter.Business.Interface; using SmartMeter.Business.Interface.Loader; using SmartMeter.Business.Loader; namespace SmartMeter.API.Controllers { [Route("api/[controller]")] public class ElectricityController : Controller { [Ht...
using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; namespace SmartMeter.API.Controllers { [Route("api/[controller]")] public class ElectricityController : Controller { [HttpGet("Recent")] public IEnumerable<string> GetRecent() { return new string[] { "value1", "value2" }; ...
mit
C#
19689fbe6902fd6137d4aae664f2bb76a7785ab3
Fix new abstract method (#650)
AntShares/AntShares,shargon/neo
neo/SmartContract/ContainerPlaceholder.cs
neo/SmartContract/ContainerPlaceholder.cs
using Neo.VM; using System; namespace Neo.SmartContract { internal class ContainerPlaceholder : StackItem { public StackItemType Type; public int ElementCount; public override bool Equals(StackItem other) => throw new NotSupportedException(); public override bool GetBoolean()...
using Neo.VM; using System; namespace Neo.SmartContract { internal class ContainerPlaceholder : StackItem { public StackItemType Type; public int ElementCount; public override bool Equals(StackItem other) { throw new NotSupportedException(); } publ...
mit
C#
d65cdfe9a54d7232f83e50be03c20314f715db08
Move ImageConverter registration into plugin
larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterC...
TextCreator/TextCreatorPlugin.cs
TextCreator/TextCreatorPlugin.cs
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* Copyright (c) 2017, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
bsd-2-clause
C#
b00c3a4d6d9fd725b428f36155bb47c641697127
Move properties and mark as get-only
peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Desktop/LegacyIpc/LegacyIpcMessage.cs
osu.Desktop/LegacyIpc/LegacyIpcMessage.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.Platform; using Newtonsoft.Json.Linq; namespace osu.Desktop.LegacyIpc { /// <summary> /// An <see cref="IpcMessage"/> that can be used to com...
// 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.Platform; using Newtonsoft.Json.Linq; namespace osu.Desktop.LegacyIpc { /// <summary> /// An <see cref="IpcMessage"/> that can be used to com...
mit
C#
a8f969f886389ec86e7b80895a486f10255a6ba1
Improve logging in DataPipeline.cs
plainerman/TicTacTube
TicTacTubeCore/Pipelines/DataPipeline.cs
TicTacTubeCore/Pipelines/DataPipeline.cs
using System; using System.Collections.Generic; using System.Linq; using log4net; using TicTacTubeCore.Processors.Definitions; using TicTacTubeCore.Sources.Files; namespace TicTacTubeCore.Pipelines { /// <inheritdoc /> /// <summary> /// A pipeline that stores multiple processors that process / modify / ... som...
using System; using System.Collections.Generic; using System.Linq; using log4net; using TicTacTubeCore.Processors.Definitions; using TicTacTubeCore.Sources.Files; namespace TicTacTubeCore.Pipelines { /// <inheritdoc /> /// <summary> /// A pipeline that stores multiple processors that process / modify / ... som...
mit
C#
89871269670430398299a6ac42c754132a602c54
Support running all benchmarks
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Benchmarks/Program.cs
tests/AdventOfCode.Benchmarks/Program.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Benchmarks { using BenchmarkDotNet.Running; /// <summary> /// A console application that runs ...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Benchmarks { using BenchmarkDotNet.Running; /// <summary> /// A console application that runs ...
apache-2.0
C#
886969a6ced58a1c5ea7275835da0789dbf14cab
Fix JSON issue.
DarkAutumn/WinterBot,lancespeelmon/WinterBot
WinterBot/WinterBot/TwitchJsonObjects.cs
WinterBot/WinterBot/TwitchJsonObjects.cs
using System.Collections.Generic; namespace WinterBot { public class Links { public string self { get; set; } } public class Image { public int? width { get; set; } public int? height { get; set; } public string url { get; set; } public int? emoticon_set { ...
using System.Collections.Generic; namespace WinterBot { public class Links { public string self { get; set; } } public class Image { public int width { get; set; } public int height { get; set; } public string url { get; set; } public int? emoticon_set { ge...
mit
C#
95269475cd0a62788607edd051f209ae92afafe0
Update example project
fedoaa/SimpleTwitchBot
SimpleTwitchBot.ConsoleApp/Program.cs
SimpleTwitchBot.ConsoleApp/Program.cs
using SimpleTwitchBot.Lib; using SimpleTwitchBot.Lib.Events; using System; using System.Threading.Tasks; namespace SimpleTwitchBot.ConsoleApp { class Program { private static string channelName = "#channelName"; private static TwitchIrcClient _client; static void Main(string[] args) ...
using SimpleTwitchBot.Lib; using SimpleTwitchBot.Lib.Events; using System; using System.Threading.Tasks; namespace SimpleTwitchBot.ConsoleApp { class Program { private static string channelName = "#channelName"; private static TwitchIrcClient _client; static void Main(string[] args) ...
mit
C#
142608fdaea913004d7927b5c7ff1bb3b897fefe
Add CacheKey for cache UUID
faint32/snowflake-1,SnowflakePowered/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1
Snowflake.API/Game/IGameMediaCache.cs
Snowflake.API/Game/IGameMediaCache.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing.Imaging; using System.Drawing; namespace Snowflake.Game { public interface IGameMediaCache { string RootPath { get; } string CacheKey { get; } void Se...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing.Imaging; using System.Drawing; namespace Snowflake.Game { public interface IGameMediaCache { string RootPath { get; } void SetBoxartFront(Uri boxartFrontUri);...
mpl-2.0
C#
fc80404d84bb91797958bee6e66bb16c0856ffd7
Allow debugging without running as a service.
LogosBible/Leeroy
src/Leeroy/Program.cs
src/Leeroy/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading; namespace Leeroy { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { if (args.Firs...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceProcess; using System.Text; namespace Leeroy { static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main() { ServiceBase[] ServicesToRun; ServicesToRun = ne...
mit
C#
5a5fb19d30ae46d4b0a04e67580f48fc8feb1b29
change version to v0.3.0
SpectraLogic/tpfr_client
TpfrClient/Properties/AssemblyInfo.cs
TpfrClient/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("Sp...
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("Sp...
apache-2.0
C#
7d42708bb1d71af0cacb332e565347742ce55558
fix detail screen
ERNICommunity/ERNI-Photo-Database,ERNICommunity/ERNI-Photo-Database,ERNICommunity/ERNI-Photo-Database
server/ERNI.PhotoDatabase.Server/Views/Detail/Index.cshtml
server/ERNI.PhotoDatabase.Server/Views/Detail/Index.cshtml
@using ERNI.PhotoDatabase.Server.Configuration @using Microsoft.Extensions.Options @using ERNI.PhotoDatabase.Server.Utils @model ERNI.PhotoDatabase.Server.Controllers.PhotoModel @{ ViewData["Title"] = $"Photo - {Model.Name}"; Layout = "~/Views/Shared/_Layout.cshtml"; } @inject IOptions<ImageSizesSettings> Ima...
@using ERNI.PhotoDatabase.Server.Configuration @using Microsoft.Extensions.Options @using ERNI.PhotoDatabase.Server.Utils @model ERNI.PhotoDatabase.Server.Controllers.PhotoModel @{ ViewData["Title"] = $"Photo - {Model.Name}"; Layout = "~/Views/Shared/_Layout.cshtml"; } @inject IOptions<ImageSizesSettings> Ima...
unlicense
C#
cb72579ed5595824f11021130b1659da7082e5eb
update assembly information and version number
quameleon/hypercore,heupel/hypercore
HyperCore/Properties/AssemblyInfo.cs
HyperCore/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("Hy...
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("Hy...
mit
C#
14496f1032062fc20d5ae06aaf5c5fb789b9b3fb
add comment.
NDark/ndinfrastructure,NDark/ndinfrastructure
Unity/UnityTools/OnClickOpenBrower.cs
Unity/UnityTools/OnClickOpenBrower.cs
/** MIT License Copyright (c) 2017 - 2019 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
/** MIT License Copyright (c) 2017 - 2019 NDark Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish...
mit
C#
007d212e409dda24669e08377e662e99c5f29ecf
Remove duplicate "using" statement to fix build
DbUp/DbUp
src/dbup-sqlserver/SqlServerObjectParser.cs
src/dbup-sqlserver/SqlServerObjectParser.cs
using System; using System.Linq; using DbUp.Support; namespace DbUp.SqlServer { /// <summary> /// Parses Sql Objects and performs quoting functions /// </summary> public class SqlServerObjectParser : SqlObjectParser { public SqlServerObjectParser() : base("[", "]") { ...
using System; using System.Linq; using DbUp.Support; using DbUp.Support; namespace DbUp.SqlServer { /// <summary> /// Parses Sql Objects and performs quoting functions /// </summary> public class SqlServerObjectParser : SqlObjectParser { public SqlServerObjectParser() : base("[", "]") ...
mit
C#
842fc41987ce3f3aa94cdb3d5424c9a4788aee78
Load sql from MigrationScript
lecaillon/Evolve
src/Evolve/Migration/MigrationScript.cs
src/Evolve/Migration/MigrationScript.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; using Evolve.Metadata; using Evolve.Utilities; namespace Evolve.Migration { public class MigrationScript : MigrationBase { public MigrationScript(string path, stri...
using System; using System.IO; using System.Security.Cryptography; using Evolve.Utilities; using Evolve.Metadata; namespace Evolve.Migration { public class MigrationScript : MigrationBase { public MigrationScript(string path, string version, string description) : base(version, description...
mit
C#
a6ac0fc25a92d3094f68fdceed2ed41fc15c15ea
Update StephenOwen.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/StephenOwen.cs
src/Firehose.Web/Authors/StephenOwen.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class StephenOwen : IAmAMicrosoftMVP, IFilterMyBlogPosts { public string FirstName => "Stephen"; pub...
mit
C#
5093c06b2a6aa3360989fe6e7e61ea69a1f616fb
Fix program main to actually use config
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNet.Hosting/Program.cs
src/Microsoft.AspNet.Hosting/Program.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.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Hosting.Internal; using Mic...
// 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.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNet.Hosting.Internal; using Mic...
apache-2.0
C#
a823471771f2856cb794050d329d636e5fb9343e
Bump version to test updates
KlappPc/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,blackpanther989/ArchiSteamFarm,i3at/ArchiSteamFarm,i3at/ArchiSteamFarm,JustArchi/ArchiSteamFarm,KlappPc/ArchiSteamFarm,JustArchi/ArchiSteamFarm,blackpanther989/ArchiSteamFarm
ArchiSteamFarm/Properties/AssemblyInfo.cs
ArchiSteamFarm/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("Ar...
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("Ar...
apache-2.0
C#
73ed90714f36235a7579c5556b43078d76be076b
Fix stream name
setchi/n_back_tracer,setchi/n_back_tracer
Assets/Scripts/BackgroundPatternTracer.cs
Assets/Scripts/BackgroundPatternTracer.cs
using UnityEngine; using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UniRx; public class BackgroundPatternTracer : MonoBehaviour { public GameObject Tile; public int col; public int row; void Awake () { transform.localPosition = new Vector3(-col * 1.7f / 2, -row...
using UnityEngine; using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UniRx; public class BackgroundPatternTracer : MonoBehaviour { public GameObject Tile; public int col; public int row; void Awake () { transform.localPosition = new Vector3(-col * 1.7f / 2, -row...
mit
C#
a0942260a92e8e39756007aa261bc34fc6d1e414
Add link to resources to Getting Started guide
cake-build/website,cake-build/website,cake-build/website
input/docs/getting-started/index.cshtml
input/docs/getting-started/index.cshtml
Order: 10 Description: Tutorials to get you up and running quickly RedirectFrom: - docs/overview - docs/overview/features --- <div class="alert alert-info"> <p> See also <a href="/community/resources/">Community Resources</a> for a lot of helpful courses, videos, presentations and blog posts which can ...
Order: 10 Description: Tutorials to get you up and running quickly RedirectFrom: - docs/overview - docs/overview/features --- @Html.Partial("_ChildPages")
mit
C#
2a9ec05f585f46d5ae2205bfc3c9f3a9eb0f20d9
read all input stream before hydrating
Pondidum/Jess,Pondidum/Jess
Jess/Controllers/HydrationController.cs
Jess/Controllers/HydrationController.cs
using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Jess.Controllers { public class HydrationController : ApiController { private readonly ResponseHydrator _hydrator; public HydrationController(ResponseHydrator hydrator) { _hydrator =...
using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace Jess.Controllers { public class HydrationController : ApiController { private readonly ResponseHydrator _hydrator; public HydrationController(ResponseHydrator hydrator) { _hydrator =...
lgpl-2.1
C#
11a09adb1fe1f29e22fae914314dafacb5858526
comment out experimental
wangkanai/Detection
src/DependencyInjection/BuilderExtensions/Responsive.cs
src/DependencyInjection/BuilderExtensions/Responsive.cs
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.DependencyInjection.Extensions; using Wangkanai.De...
// Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved. // The Apache v2. See License.txt in the project root for license information. using System; using Microsoft.AspNetCore.Mvc.Razor; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.DependencyInjection.Extensions; using Wangkanai.De...
apache-2.0
C#
84fa1d523d3cfae8fcc72c8e23e2fe3640f647f2
Add LD_TRUST_TOKEN environment variable
sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge
src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs
src/LfMerge.Core/Actions/Infrastructure/ChorusHelper.cs
// Copyright (c) 2016-2018 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using Autofac; using SIL.Network; using LfMerge.Core.Settings; using SIL.LCModel; using System.Web; namespace LfMerge.Core.Actions.Infrastructure { public class ChorusHelp...
// Copyright (c) 2016-2018 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using Autofac; using SIL.Network; using LfMerge.Core.Settings; using SIL.LCModel; using System.Web; namespace LfMerge.Core.Actions.Infrastructure { public class ChorusHelp...
mit
C#
d67cf734cb914b8a7cecba0823c34b943c9aff97
Set version to 0.5.
strayfatty/ShowFeed,strayfatty/ShowFeed
src/ShowFeed/Properties/AssemblyInfo.cs
src/ShowFeed/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("Sh...
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("Sh...
mit
C#
62f34cd14515afbff88086b50fc0cba4fd00641f
Update Demo
sunkaixuan/SqlSugar
Src/Asp.Net/SqlServerTest/Program.cs
Src/Asp.Net/SqlServerTest/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Linq.Expressions; using SqlSugar; using OrmTest.Models; using System.Data.SqlClient; using OrmTest.UnitTest; using OrmTest.PerformanceTesting; namespace OrmTest { ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using System.Linq.Expressions; using SqlSugar; using OrmTest.Models; using System.Data.SqlClient; using OrmTest.UnitTest; using OrmTest.PerformanceTesting; namespace OrmTest { ...
apache-2.0
C#
c38089d15ea61f43975c26c836b6d46ad7fce3f9
Update Program.cs
aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples
AbpHangfireConsoleApp/AbpHangfireConsole.Program/Program.cs
AbpHangfireConsoleApp/AbpHangfireConsole.Program/Program.cs
using System; using AbpHangfireConsole.Hangfire.Jobs.GetServers; using AbpHangfireConsole.Hangfire.Jobs.GetServers.Dtos; using Hangfire; using Microsoft.Owin.Hosting; namespace AbpHangfireConsoleApp { class Program { static void Main(string[] args) { AbpHangfireConsoleApplication<A...
using System; using AbpHangfireConsole.Hangfire.Jobs.GetServers; using AbpHangfireConsole.Hangfire.Jobs.GetServers.Dtos; using Hangfire; using Microsoft.Owin.Hosting; namespace AbpHangfireConsoleApp { class Program { static void Main(string[] args) { AbpHangfireConsoleApplication<A...
mit
C#
494feb1f4b9dc0e4d4bc09c77ac5223561e7a5a8
Change version number to 0.6.5
cris-almodovar/text-match
TextMatch/Properties/AssemblyInfo.cs
TextMatch/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("Te...
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("Te...
apache-2.0
C#
247f72a96a0238be22cb74cc2429648fc68ca2a7
add msg
liddictm/BrawlManagers,libertyernie/BrawlManagers,libertyernie/BrawlManagers,liddictm/BrawlManagers
ThreeFrontStnameGenerator/Program.cs
ThreeFrontStnameGenerator/Program.cs
using System; using System.Drawing; using System.Windows.Forms; namespace ThreeFrontStnameGenerator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static int Main(string[] args) { if (args.Length == 0) { MessageBox.Show("Usage: [progra...
using System; using System.Drawing; using System.Windows.Forms; namespace ThreeFrontStnameGenerator { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static int Main(string[] args) { if (args.Length == 0) { MessageBox.Show("Usage: [progra...
mit
C#
f79a7260031b0899e78abf40663efc03edf3523f
Implement the azure storage for the feature toggle service
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/FeatureToggleFileBasedService.cs
src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/FeatureToggleFileBasedService.cs
using System; using System.Configuration; using System.Linq; using Microsoft.Azure; using SFA.DAS.Configuration; using SFA.DAS.Configuration.AzureTableStorage; using SFA.DAS.Configuration.FileStorage; using SFA.DAS.EmployerApprenticeshipsService.Domain.Models.FeatureToggle; using SFA.DAS.EmployerApprenticeshipsService...
using System; using System.Linq; using SFA.DAS.EmployerApprenticeshipsService.Domain.Models.FeatureToggle; using SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Data; using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces; using SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Caching; namespace SF...
mit
C#
00e98b323415649b1d3cbadaf4a29e4e815a9beb
Revert change that broke tests on Windows PowerShell.
jherby2k/AudioWorks
AudioWorks/tests/AudioWorks.Commands.Tests/ModuleFixture.cs
AudioWorks/tests/AudioWorks.Commands.Tests/ModuleFixture.cs
/* Copyright 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Audi...
/* Copyright 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Audi...
agpl-3.0
C#
423a759188c27b0857d03b9eb2e10f969d7d10b3
Add static methods for building XML data strings
whampson/bft-spec,whampson/cascara
Cascara.Tests/Src/CascaraTestFramework.cs
Cascara.Tests/Src/CascaraTestFramework.cs
using System; using System.Xml.Linq; using Xunit.Abstractions; namespace Cascara.Tests { public abstract class CascaraTestFramework { protected static string BuildXmlElement(string name, params Tuple<string, string>[] attrs) { return BuildXmlElement(name, "", attrs); } ...
using Xunit.Abstractions; namespace Cascara.Tests { public abstract class CascaraTestFramework { public CascaraTestFramework(ITestOutputHelper output) { Output = output; } protected ITestOutputHelper Output { get; } } }
mit
C#
9e6ed9ce41d315b6d4dac58c21933ca9379642a4
Update AssemblyInfo.cs
fredatgithub/UsefulFunctions
CodeGeneration/Properties/AssemblyInfo.cs
CodeGeneration/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("Co...
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("Co...
mit
C#
323ddb4a6aa3e7ccde85f57cdf2e41f6cfc690c6
support regex in search api
tg123/commandlinefu.cn,tg123/commandlinefu.cn
Website/Controllers/ApiController.cs
Website/Controllers/ApiController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Commandlinefu.CommandData; using Microsoft.AspNetCore.Mvc; namespace Commandlinefu.Website.Controllers { [Produces("application/json")] public class ApiController : Controller { ...
using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Linq; using Commandlinefu.CommandData; using Microsoft.AspNetCore.Mvc; namespace Commandlinefu.Website.Controllers { [Produces("application/json")] public class ApiController : Controller { ...
unlicense
C#
d66608713163bcab6385b28838c7d8a61ad98f01
update sample with path exclusion for root
lvermeulen/Equalizer
samples/Equalizer.LoadBalancer/Startup.cs
samples/Equalizer.LoadBalancer/Startup.cs
using Equalizer.Middleware; using Equalizer.Middleware.Core; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Nanophone.RegistryHost.ConsulRegistry; using NLog.Extensions.Logging; namespace Equalizer.LoadBalance...
using Equalizer.Middleware; using Equalizer.Middleware.Core; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Nanophone.RegistryHost.ConsulRegistry; using NLog.Extensions.Logging; namespace Equalizer.LoadBalance...
mit
C#
c2fa9e614aefaa699fcdee89bc7c63a25838c667
remove KuduStartupRequestTest test
MavenRain/kudu,YOTOV-LIMITED/kudu,badescuga/kudu,sitereactor/kudu,chrisrpatterson/kudu,oliver-feng/kudu,duncansmart/kudu,kenegozi/kudu,shibayan/kudu,shibayan/kudu,shibayan/kudu,mauricionr/kudu,MavenRain/kudu,duncansmart/kudu,shanselman/kudu,bbauya/kudu,dev-enthusiast/kudu,WeAreMammoth/kudu-obsolete,bbauya/kudu,chrisrpa...
Kudu.FunctionalTests/GitStabilityTests.cs
Kudu.FunctionalTests/GitStabilityTests.cs
using System; using System.Linq; using Kudu.Core.Deployment; using Kudu.FunctionalTests.Infrastructure; using Kudu.TestHarness; using Xunit; namespace Kudu.FunctionalTests { public class GitStabilityTests { [Fact] public void NSimpleDeployments() { string repositoryName = "...
using System; using System.Linq; using Kudu.Core.Deployment; using Kudu.FunctionalTests.Infrastructure; using Kudu.TestHarness; using Xunit; namespace Kudu.FunctionalTests { public class GitStabilityTests { [Fact] public void NSimpleDeployments() { string repositoryName = "...
apache-2.0
C#
a31f1e81802f7a0d883955a16d37e33e5a19ba27
Remove unused private field
GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gs...
gstreamer-sharp/GError.cs
gstreamer-sharp/GError.cs
// // Copyright (c) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk> // // This class implements some helper functions to handle GError // using System; using System.Runtime.InteropServices; namespace Gst { [StructLayout (LayoutKind.Sequential) ] internal struct GError { uint domain_quark; int cod...
// // Copyright (c) 2009 Sebastian Dröge <sebastian.droege@collabora.co.uk> // // This class implements some helper functions to handle GError // using System; using System.Runtime.InteropServices; namespace Gst { [StructLayout (LayoutKind.Sequential) ] internal struct GError { uint domain_quark; int cod...
lgpl-2.1
C#
b6422e2c7e4061c919a042fe21fdfbb372e3095a
check AbpAllowAnonymousAttribute on controller
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/Startup/SecurityRequirementsOperationFilter.cs
using System.Collections.Generic; using System.Linq; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using Abp.Authorization; namespace AbpCompanyName.AbpProjectName.Web.Host.Startup { public class SecurityRequirementsOperationFilter : IOperationFilter { public void Apply...
using System.Collections.Generic; using System.Linq; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; using Abp.Authorization; namespace AbpCompanyName.AbpProjectName.Web.Host.Startup { public class SecurityRequirementsOperationFilter : IOperationFilter { public void Appl...
mit
C#
64dda5ca2d48a617ccae47bf0fcf166356b2214c
Remove unused code
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Nito/AsyncEx/TaskCompletionSourceExtensions.cs
WalletWasabi/Nito/AsyncEx/TaskCompletionSourceExtensions.cs
using Nito.AsyncEx.Synchronous; using System; using System.Threading.Tasks; namespace Nito.AsyncEx { /// <summary> /// Provides extension methods for <see cref="TaskCompletionSource{TResult}"/>. /// </summary> public static class TaskCompletionSourceExtensions { /// <summary> /// Creates a new TCS for use wit...
using Nito.AsyncEx.Synchronous; using System; using System.Threading.Tasks; namespace Nito.AsyncEx { /// <summary> /// Provides extension methods for <see cref="TaskCompletionSource{TResult}"/>. /// </summary> public static class TaskCompletionSourceExtensions { /// <summary> /// Attempts to complete a <see c...
mit
C#
17a04f8ffe4f4e5918c2c590275a4c4734a16dc6
Fix intro settings "Hide On Finish" option name
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/IntroData.cs
DesktopWidgets/Classes/IntroData.cs
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("Intro Settings")] public class IntroData { [DisplayName("Duration")] public int Duration { get; set; } = -1; [DisplayName("Reversab...
using System.ComponentModel; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.Classes { [ExpandableObject] [DisplayName("Intro Settings")] public class IntroData { [DisplayName("Duration")] public int Duration { get; set; } = -1; [DisplayName("Reversab...
apache-2.0
C#
f9461f10a707a256cad729fbff6705df071ad01a
Implement Equals/GetHashCode to comply with Distinct
MSayfullin/EncodingConverter
EncodingConverter/Logic/FileData.cs
EncodingConverter/Logic/FileData.cs
using System; using IO = System.IO; namespace dokas.EncodingConverter.Logic { internal sealed class FileData { public string Path { get; private set; } public string Name { get; private set; } public string Extension { get; private set; } public FileData(string path) {...
using IO = System.IO; namespace dokas.EncodingConverter.Logic { internal sealed class FileData { public string Path { get; private set; } public string Name { get; private set; } public string Extension { get; private set; } public FileData(string path) { P...
mit
C#
7a91e20e7505a2be45c44a040d565a8ddf3de03b
Update to 3.0
arogozine/EnumUtilities
EnumUtil/Properties/AssemblyInfo.cs
EnumUtil/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
unlicense
C#
0cc2635cc8acf9a7933ac5d16c2989a3718b1471
Allow empty header value
amitla/Titanium
Titanium.Web.Proxy/Models/HttpHeader.cs
Titanium.Web.Proxy/Models/HttpHeader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Titanium.Web.Proxy.Models { public class HttpHeader { public string Name { get; set; } public string Value { get; set; } public HttpHeader(string name, string value) { i...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Titanium.Web.Proxy.Models { public class HttpHeader { public string Name { get; set; } public string Value { get; set; } public HttpHeader(string name, string value) { i...
mit
C#
5e5114cc4e20d0441edaee528cb47dd7cf48a9d4
Add missing translation in FileDialog
lytico/xwt,antmicro/xwt,mono/xwt,cra0zy/xwt,hamekoz/xwt,TheBrainTech/xwt,hwthomas/xwt
Xwt.XamMac/Xwt.Mac/FileDialogBackend.cs
Xwt.XamMac/Xwt.Mac/FileDialogBackend.cs
// // FileDialogBackend.cs // // Author: // James Clancey <clancey@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 re...
// // FileDialogBackend.cs // // Author: // James Clancey <clancey@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 re...
mit
C#
b9f95716209c6b44488c62853e2db4a52a834a53
Allow profiles names to be specified via pipeline
zyborg/Zyborg.Vault,zyborg/Zyborg.Vault
src/main/Zyborg.Vault.POSH/GetProfile.cs
src/main/Zyborg.Vault.POSH/GetProfile.cs
using System.Management.Automation; using System.Security; namespace Zyborg.Vault.POSH { [Cmdlet(VerbsCommon.Get, "Profile", DefaultParameterSetName = DefaultParamSet)] public class GetProfile : PSCmdlet { public const string DefaultParamSet = VaultBaseCmdlet.DefaultParamSet; public const string GetDetailsP...
using System.Management.Automation; using System.Security; namespace Zyborg.Vault.POSH { [Cmdlet(VerbsCommon.Get, "Profile", DefaultParameterSetName = DefaultParamSet)] public class GetProfile : PSCmdlet { public const string DefaultParamSet = VaultBaseCmdlet.DefaultParamSet; public const string GetDetailsP...
mit
C#
3b5c3290f28fac67f4fc410e50928324eaef407f
Initialize GitRepositoryConfigurer with an IFileSystem
appharbor/appharbor-cli
src/AppHarbor/GitRepositoryConfigurer.cs
src/AppHarbor/GitRepositoryConfigurer.cs
using System; using System.Linq; using AppHarbor.Model; namespace AppHarbor { public class GitRepositoryConfigurer : IGitRepositoryConfigurer { private readonly IFileSystem _fileSystem; private readonly IGitCommand _gitCommand; public GitRepositoryConfigurer(IFileSystem fileSystem, IGitCommand gitCommand) ...
using System; using System.Linq; using AppHarbor.Model; namespace AppHarbor { public class GitRepositoryConfigurer : IGitRepositoryConfigurer { private readonly IGitCommand _gitCommand; public GitRepositoryConfigurer(IGitCommand gitCommand) { _gitCommand = gitCommand; } public void Configure(string i...
mit
C#
486b2c130e0a3398a2a6a810c561d5e4aa950a55
Make available to change the rule when editing A/B page setting.
andyshao/CMS,jtm789/CMS,techwareone/Kooboo-CMS,andyshao/CMS,lingxyd/CMS,Kooboo/CMS,jtm789/CMS,techwareone/Kooboo-CMS,andyshao/CMS,lingxyd/CMS,Kooboo/CMS,Kooboo/CMS,jtm789/CMS,techwareone/Kooboo-CMS,lingxyd/CMS
Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/Views/ABPageSetting/Edit.cshtml
Kooboo.CMS/Kooboo.CMS.Web/Areas/Sites/Views/ABPageSetting/Edit.cshtml
@model Kooboo.CMS.Sites.ABTest.ABPageSetting @using Kooboo.CMS.Sites.ABTest; @{ ViewBag.Title = "Edit A/B page setting"; Layout = "~/Views/Shared/Blank.cshtml"; } @section Panel{ <ul class="panel"> <li> <a data-ajaxform=""> @Html.IconImage("save") @("Save".Localize())</a...
@model Kooboo.CMS.Sites.ABTest.ABPageSetting @using Kooboo.CMS.Sites.ABTest; @{ ViewBag.Title = "Edit A/B page setting"; Layout = "~/Views/Shared/Blank.cshtml"; } @section Panel{ <ul class="panel"> <li> <a data-ajaxform=""> @Html.IconImage("save") @("Save".Localize())</a...
bsd-3-clause
C#
8a5c024864294f27d6badef38de2d7191a9845ac
Add version 3.4
mfilippov/vimeo-dot-net
src/VimeoDotNet/Constants/ApiVersions.cs
src/VimeoDotNet/Constants/ApiVersions.cs
// ReSharper disable InconsistentNaming using JetBrains.Annotations; namespace VimeoDotNet.Constants { internal static class ApiVersions { [PublicAPI] public const string v2_0 = "version=2.0"; [PublicAPI] public const string v2_5 = "version=2.5"; [PublicAPI] publ...
// ReSharper disable InconsistentNaming using JetBrains.Annotations; namespace VimeoDotNet.Constants { internal static class ApiVersions { [PublicAPI] public const string v2_0 = "version=2.0"; [PublicAPI] public const string v2_5 = "version=2.5"; [PublicAPI] pub...
mit
C#
f45b2dfc02d6bd5c6f8a8c3c1e0b3d3342f6ea46
access to FileIOPermission should happen inside try body because the it is currently marked as a coreclr critical type in the Unity runtime
BitPuffin/boo,hmah/boo,bamboo/boo,hmah/boo,BITechnologies/boo,KidFashion/boo,KingJiangNet/boo,rmartinho/boo,scottstephens/boo,scottstephens/boo,KidFashion/boo,BillHally/boo,Unity-Technologies/boo,boo-lang/boo,BitPuffin/boo,Unity-Technologies/boo,KidFashion/boo,rmartinho/boo,boo-lang/boo,rmboggs/boo,Unity-Technologies/b...
src/Boo.Lang.Compiler/Util/Permissions.cs
src/Boo.Lang.Compiler/Util/Permissions.cs
#region license // Copyright (c) 2009, Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above c...
#region license // Copyright (c) 2009, Rodrigo B. de Oliveira (rbo@acm.org) // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above c...
bsd-3-clause
C#
02bd8755034915167c6067a36267e88aaffb58a5
Update ShellCommandAttribute.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/ShellCommandAttribute.cs
TIKSN.Core/Shell/ShellCommandAttribute.cs
using System; namespace TIKSN.Shell { [AttributeUsage(AttributeTargets.Class)] public sealed class ShellCommandAttribute : ShellAttributeBase { public ShellCommandAttribute(int nameKey) : base(nameKey) { } public ShellCommandAttribute(string nameKey) : base(nameKey) ...
using System; namespace TIKSN.Shell { [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] public sealed class ShellCommandAttribute : ShellAttributeBase { public ShellCommandAttribute(int nameKey) : base(nameKey) { } public ShellCommandAttribute(string nameKey)...
mit
C#
99f11f353932e47dec0437963ca9702223da4435
Comment out Sena 3 testing code
sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge
src/LfMerge/Program.cs
src/LfMerge/Program.cs
// Copyright (c) 2011-2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.IO; using LfMerge.Queues; using LfMerge.FieldWorks; using System.Threading; using System.Collections.Generic; namespace LfMerge { class MainClass { [STATh...
// Copyright (c) 2011-2015 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using System.IO; using LfMerge.Queues; using LfMerge.FieldWorks; using System.Threading; using System.Collections.Generic; namespace LfMerge { class MainClass { [STATh...
mit
C#
091b6c5993398cb836eee76389badd4697556544
Fix that the flag prevents serialization.
yonglehou/msgpack-rpc-cli,yfakariya/msgpack-rpc-cli
src/MsgPack.Rpc/Rpc/ExceptionModifiers.cs
src/MsgPack.Rpc/Rpc/ExceptionModifiers.cs
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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...
#region -- License Terms -- // // MessagePack for CLI // // Copyright (C) 2010 FUJIWARA, Yusuke // // 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...
apache-2.0
C#
aba5a7d7958635fba8c61c8ab48864f4ad15ca5f
clean up code
IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework
Src/iFramework.Plugins/IFramework.MessageQueue.Kafka/KafkaProducer.cs
Src/iFramework.Plugins/IFramework.MessageQueue.Kafka/KafkaProducer.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using IFramework.Infrastructure.Logging; using IFramework.IoC; using Kafka.Client.Cfg; using Kafka.Client.Producers; namespace IFramework.MessageQueue.MSKafka { public class KafkaProducer { private readonly ILogger _logger =...
using System; using System.Collections.Generic; using System.Threading.Tasks; using IFramework.Infrastructure.Logging; using IFramework.IoC; using Kafka.Client.Cfg; using Kafka.Client.Producers; namespace IFramework.MessageQueue.MSKafka { public class KafkaProducer { private readonly ILogger _logger =...
mit
C#
3f37944ff3f0738a4c888732a2b3293503340fbd
correct CurrentThreadScheduler implementation.
atsushieno/mono-reactive,paulcbetts/mono-reactive,jorik041/mono-reactive
System.Reactive/System.Reactive.Concurrency/CurrentThreadScheduler.cs
System.Reactive/System.Reactive.Concurrency/CurrentThreadScheduler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Reactive.Disposables; namespace System.Reactive.Concurrency { public sealed class CurrentThreadScheduler : IScheduler { internal CurrentThreadScheduler () { } public bool ScheduleRequired { get { ret...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Reactive.Disposables; namespace System.Reactive.Concurrency { public sealed class CurrentThreadScheduler : IScheduler { internal CurrentThreadScheduler () { } public bool ScheduleRequired { get { thr...
mit
C#
8e36352a8039bf447bd3a6a460cd2e2ea08dab5e
add hairdresser count to hairdresser dto
psyun/HDO2O-RestfulAPI
HDO2O.DTO/BarbershopDTO.cs
HDO2O.DTO/BarbershopDTO.cs
using HDO2O.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HDO2O.DTO { public class BarbershopDTO : BaseDTO<Barbershop> { public string BusinessLicense { get; set; } public int Id { get; set; } publi...
using HDO2O.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HDO2O.DTO { public class BarbershopDTO : BaseDTO<Barbershop> { public string BusinessLicense { get; set; } public int Id { get; set; } publi...
apache-2.0
C#
44a47ce5d37d5bed0c9a9bd79261006b6ec0bd48
Update lab
tamasflamich/effort
Main/Source/lab/Effort.Lab.EF6/Program.cs
Main/Source/lab/Effort.Lab.EF6/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Effort.Lab.EF6 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static v...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace Effort.Lab.EF6 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static v...
mit
C#
02562419f3625594d81fde4e2df50203d1098525
rename SafeDispose<T>() with SafeDisposeAll<T>()
TakeAsh/cs-TakeAshUtility
TakeAshUtility/IDisposableHelper.cs
TakeAshUtility/IDisposableHelper.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TakeAshUtility { public static class IDisposableHelper { public static void SafeDispose<T>(this T disposable, Action<T> predispose = null) where T : IDisposable { if (disp...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace TakeAshUtility { public static class IDisposableHelper { public static void SafeDispose<T>(this T disposable, Action<T> predispose = null) where T : IDisposable { if (disp...
mit
C#
739f80d2569ecc0ca213858af78b68590e79de7a
Cover ALL forward/back navigation cases
rfgamaral/SlackUI
SlackUI/Handlers/BrowserRequestHandler.cs
SlackUI/Handlers/BrowserRequestHandler.cs
#region Copyright © 2014 Ricardo Amaral /* * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. */ #endregion using CefSharp; namespace SlackUI { internal class BrowserRequestHandler : IRequestHandler { #region Public Methods public bool GetA...
#region Copyright © 2014 Ricardo Amaral /* * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file. */ #endregion using CefSharp; namespace SlackUI { internal class BrowserRequestHandler : IRequestHandler { #region Public Methods public bool GetA...
mit
C#
c924d286bdafc5f4a246a6af44f11c13306f3452
Add TransactionStore to BitcoinStore
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/Stores/BitcoinStore.cs
WalletWasabi/Stores/BitcoinStore.cs
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Helpers; using WalletWasabi.Logging; using WalletWasabi.Mempool; using WalletWasabi.Transactions; namespace WalletWasabi.Stores { /// <summary> /// The purpose of this ...
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Helpers; using WalletWasabi.Logging; using WalletWasabi.Mempool; namespace WalletWasabi.Stores { /// <summary> /// The purpose of this class is to safely and performant...
mit
C#
1b1021ed216e70dceaeada9c0721780189ca9a34
Rename Email struct as EmailAddress; refactor as appropriate
SICU-Stress-Measurement-System/frontend-cs
StressMeasurementSystem/Models/Patient.cs
StressMeasurementSystem/Models/Patient.cs
using System; using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public...
using System; using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public...
apache-2.0
C#
d26244d35e9e491cd8318f67418541bc4ce7a37d
Add test for nested types with a namespace
gluck/cecil,jbevain/cecil,fnajera-rac-de/cecil,furesoft/cecil,sailro/cecil,SiliconStudio/Mono.Cecil,mono/cecil,kzu/cecil,xen2/cecil,joj/cecil,cgourlay/cecil,saynomoo/cecil,ttRevan/cecil
Test/Mono.Cecil.Tests/NestedTypesTests.cs
Test/Mono.Cecil.Tests/NestedTypesTests.cs
using System; using Mono.Cecil; using NUnit.Framework; namespace Mono.Cecil.Tests { [TestFixture] public class NestedTypesTests : BaseTestFixture { [Test] public void NestedTypes () { TestCSharp ("NestedTypes.cs", module => { var foo = module.GetType ("Foo"); Assert.AreEqual ("Foo", foo.Name); ...
using System; using Mono.Cecil; using NUnit.Framework; namespace Mono.Cecil.Tests { [TestFixture] public class NestedTypesTests : BaseTestFixture { [Test] public void NestedTypes () { TestCSharp ("NestedTypes.cs", module => { var foo = module.GetType ("Foo"); Assert.AreEqual ("Foo", foo.Name); ...
mit
C#
3433409912d289d076335e6b4358c9e3cc400860
refactor UploadFileInfoViewModel.cshtml
Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject
EntertainmentSystem/Web/EntertainmentSystem.Web/Views/Shared/EditorTemplates/UploadFileInfoViewModel.cshtml
EntertainmentSystem/Web/EntertainmentSystem.Web/Views/Shared/EditorTemplates/UploadFileInfoViewModel.cshtml
@using EntertainmentSystem.Web.ViewModels.Upload @model UploadFileInfoViewModel <br /> <div class="form-group"> @Html.LabelFor(m => m.Title) @Html.EditorFor(m => m.Title) </div> <div class="form-group"> @Html.LabelFor(m => m.Description) @Html.TextAreaFor(m => m.Description, new { @class = "form-cont...
@using EntertainmentSystem.Web.ViewModels.Upload @model UploadFileInfoViewModel <br /> <div class="form-group"> @Html.LabelFor(m => m.Title) @Html.EditorFor(m => m.Title) </div> <div class="form-group"> @Html.LabelFor(m => m.Description) @Html.TextAreaFor(m => m.Description, new { @class = "form-contr...
mit
C#
47b9bfecc366fe4702c22063aa6dcadfa96bf5a4
Remove unnecessary condition from RemoveMember.cs
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
iam/api/Access/RemoveMember.cs
iam/api/Access/RemoveMember.cs
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
apache-2.0
C#
41688d88af43426330bd1834a45eaf2f67c07669
Update ScriptTool.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/UI/Avalonia/Dock/Tools/ScriptTool.cs
src/Core2D/UI/Avalonia/Dock/Tools/ScriptTool.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DMC = Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Script view. /// </summary> public class ScriptTool :...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using DMC=Dock.Model.Controls; namespace Core2D.UI.Avalonia.Dock.Tools { /// <summary> /// Script view. /// </summary> public class ScriptTool : D...
mit
C#
f3bde9216456903cea46346f2498f62a1a3d6325
Update AssemblyInfo
alfhenrik/ScriptCs.OctoKit
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.ScriptPackBoilerplate")] [assembly: AssemblyDescription("A template for building ScriptCS script packs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Scott Smith")] [assembly: AssemblyProduct("Scri...
mit
C#
e2ffaa2f82fca9b15e7426e28df61c61423e27b4
Make internals visible to Newtonsoft.Json
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.net/Properties/InternalsVisibleTo.cs
src/Stripe.net/Properties/InternalsVisibleTo.cs
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("Newtonsoft.Json")] [assembly: InternalsVisibleTo("StripeTests")]
using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("StripeTests")]
apache-2.0
C#
3334811420c0c8dd90f5fa4549d7e9ad672c71de
Fix PropertyBag
atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata
src/Atata/PropertyBag.cs
src/Atata/PropertyBag.cs
using System; using System.Collections.Generic; using System.Linq; namespace Atata { public class PropertyBag { private readonly Dictionary<string, object> values = new Dictionary<string, object>(); internal UIComponentMetadata Metadata { get; set; } public object this[string...
using System; using System.Collections.Generic; using System.Linq; namespace Atata { public class PropertyBag { private readonly Dictionary<string, object> values = new Dictionary<string, object>(); internal UIComponentMetadata Metadata { get; set; } public object this[string...
apache-2.0
C#
f7a62a4cbf201826fbe3a9e0584846242dbb454f
add char[] extension ToHexString()
martinlindhe/Punku
punku/Extensions/CharArrayExtensions.cs
punku/Extensions/CharArrayExtensions.cs
using System; using System.Text; public static class CharArrayExtensions { /** * Returns a hex string representation of the content, * where each char is 4 hex letters (UTF-16) */ public static string ToHexString (this char[] input) { var res = new StringBuilder (); foreach (char c in input) res.Appe...
using System; using System.Text; public static class CharArrayExtensions { public static string ToUtf16String (this char[] input) { var res = new StringBuilder (); foreach (char c in input) res.Append (c); return res.ToString (); } }
mit
C#
89dbfb23867547aedfd7e972e17de23fd06a6bb0
fix test not setting up data correctly
Pondidum/Ledger,Pondidum/Ledger
Ledger.Acceptance/AcceptanceTests/AggregateStoreTests.cs
Ledger.Acceptance/AcceptanceTests/AggregateStoreTests.cs
using System; using Ledger.Acceptance.TestObjects; using Shouldly; using Xunit; namespace Ledger.Acceptance.AcceptanceTests { public class AggregateStoreTests : AcceptanceBase<SnapshotAggregate> { private readonly AggregateStore<Guid> _aggregateStore; private readonly IStoreConventions _storeConventions; pub...
using System; using Ledger.Acceptance.TestObjects; using Shouldly; using Xunit; namespace Ledger.Acceptance.AcceptanceTests { public class AggregateStoreTests : AcceptanceBase<SnapshotAggregate> { private readonly AggregateStore<Guid> _aggregateStore; private readonly IStoreConventions _storeConventions; pub...
lgpl-2.1
C#
a59b892eba0cd9083f9ea461b0a2fc6924c8f4ee
Use default error messages in demo app.
jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web
src/WebApp/HomeModule.cs
src/WebApp/HomeModule.cs
using Dolstagis.Web; using Dolstagis.Web.Sessions; namespace WebApp { public class HomeModule : Module { public HomeModule() { Services.For<ISessionStore>().Singleton().Use<InMemorySessionStore>(); AddStaticFiles("~/content"); AddViews("~/views"...
using Dolstagis.Web; using Dolstagis.Web.Sessions; namespace WebApp { public class HomeModule : Module { public HomeModule() { Services.For<ISessionStore>().Singleton().Use<InMemorySessionStore>(); AddStaticFiles("~/content"); AddViews("~/views"...
mit
C#
757b12839ecdb749326ca2fb79514d88db8796e0
Delete browser cache
fuyuno/Norma
Source/Norma/ViewModels/Tabs/Options/BrowserViewModel.cs
Source/Norma/ViewModels/Tabs/Options/BrowserViewModel.cs
using System.IO; using System.Threading.Tasks; using System.Windows.Input; using Norma.Eta; using Norma.Eta.Models.Configurations; using Norma.Eta.Mvvm; using Prism.Commands; using Reactive.Bindings; namespace Norma.ViewModels.Tabs.Options { internal class BrowserViewModel : ViewModel { public Reac...
using System.Windows.Input; using Norma.Eta.Models.Configurations; using Norma.Eta.Mvvm; using Prism.Commands; using Reactive.Bindings; namespace Norma.ViewModels.Tabs.Options { internal class BrowserViewModel : ViewModel { public ReactiveProperty<bool> DisableChangeChannelByMouseWheel { get; priva...
mit
C#
c2e38f35687d1c9b575f8351ac158ec92997fd19
test result analyzer have been fixed
nabuk/NSlice
Src/NSliceTests/Helpers/SliceExpectedResultCalculator.cs
Src/NSliceTests/Helpers/SliceExpectedResultCalculator.cs
using System.Collections.Generic; namespace NSliceTests.Helpers { public static class SliceExpectedResultCalculator { public static IList<int> Calculate(int? from, int? to, int? step, int length) { var stepValue = step ?? 1; var fromValue = from ?? (stepValue > 0 ? 0 : ...
using System.Collections.Generic; namespace NSliceTests.Helpers { public static class SliceExpectedResultCalculator { public static IList<int> Calculate(int? from, int? to, int? step, int length) { var stepValue = step ?? 1; var fromValue = from ?? (stepValue > 0 ? 0 : ...
mit
C#
37fe378e4525c9b2bc3eb296f14f3d7ebbd40ea5
update timezone conversions for OzTime
shearnie/Shearnie.Net
source/Shearnie.Net/OzTime.cs
source/Shearnie.Net/OzTime.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shearnie.Net { public class OzTime { //// Get timezone id's here: http://stackoverflow.com/questions/5996320/net-timezoneinfo-from-olson-time-zone public static st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Shearnie.Net { public class OzTime { public static TimeZoneInfo tzidAEST { get { //// Get timezone id's here: http://stackoverfl...
mit
C#
e91c1c8360eaaf9c1c54396bd6afaa891677c079
Allow diffs to be run from the root
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
.ci/nuget-diff.cake
.ci/nuget-diff.cake
// SECTION: Arguments and Settings var ROOT_DIR = MakeAbsolute((DirectoryPath)Argument("root", ".")); var ARTIFACTS_DIR = MakeAbsolute(ROOT_DIR.Combine(Argument("artifacts", "output"))); var CACHE_DIR = MakeAbsolute(ROOT_DIR.Combine(Argument("cache", "externals/api-diff"))); var OUTPUT_DIR = MakeAbsolute(ROOT_DIR.Com...
// SECTION: Arguments and Settings var ROOT_DIR = MakeAbsolute((DirectoryPath)Argument("root", ".")); var ARTIFACTS_DIR = MakeAbsolute((DirectoryPath)Argument("artifacts", ROOT_DIR.Combine("output").FullPath)); var CACHE_DIR = MakeAbsolute((DirectoryPath)Argument("cache", ROOT_DIR.Combine("externals/api-diff").FullPa...
mit
C#
e3cf924dd0516ff8305cb85813d64faf54a359b1
Update BarTest.cs
kasperisager/csharp-boilerplate
test/Application.Test/Foo.Test/BarTest.cs
test/Application.Test/Foo.Test/BarTest.cs
/// Copyright (C) 2015 Kasper Kronborg Isager. using Xunit; namespace Application.Foo { /// <summary>Example unit test class included for the purpose of demonstration.</summary> public class BarTest { /// <summary>This is a fact and should hold.</summary> [Fact] public void Assertion() { Bar bar...
/// Copyright (C) 2015 Kasper Kronborg Isager. using Xunit; namespace Application.Foo { /// <summary>Example unit test class included for the purpose of demonstration.</summary> public class BarTest { /// <summary>This is a fact and should hold.</summary> [Fact] public void Assertion() { Bar bar...
mit
C#
954e0ea8083322c75a2891c8b46dff33d9b68941
Align program change with unit test.
HTBox/allReady,binaryjanitor/allReady,mgmccarthy/allReady,bcbeatty/allReady,bcbeatty/allReady,dpaquette/allReady,c0g1t8/allReady,dpaquette/allReady,VishalMadhvani/allReady,gitChuckD/allReady,gitChuckD/allReady,bcbeatty/allReady,dpaquette/allReady,HamidMosalla/allReady,bcbeatty/allReady,binaryjanitor/allReady,c0g1t8/all...
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Notifications/ItineraryTeamLeadAssignedHandlerShould.cs
AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Notifications/ItineraryTeamLeadAssignedHandlerShould.cs
using System.Text; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Notifications; using AllReady.Features.Notifications; using AllReady.Models; using MediatR; using Moq; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Notifications { public class ItineraryTeamLeadAssignedHandlerShou...
using System.Text; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Notifications; using AllReady.Features.Notifications; using AllReady.Models; using MediatR; using Moq; using Xunit; namespace AllReady.UnitTest.Areas.Admin.Features.Notifications { public class ItineraryTeamLeadAssignedHandlerShou...
mit
C#
357c7ebeab05ebc8fb59c852c8d514044ed22414
Fix for DateTimeOffset with SQLite
tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server
src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs
src/Tgstation.Server.Host/Database/SqliteDatabaseContext.cs
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Linq; using Tgstation.Server.Host.Configuration; namespace Tgstation.Server.Host.Database { /// <summary> /// <see cref...
using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using Tgstation.Server.Host.Configuration; namespace Tgstation.Server.Host.Database { /// <summary> /// <see cref="DatabaseContext{TParentContext}"/> for MySQL /// </summary> sealed class Sql...
agpl-3.0
C#
678a9f144a7311cf2c041e7ad368998b98016cbf
Remove BackChannelTimeout default that was the same as inherited version
IUCrimson/AspNet.Security.CAS
src/AspNetCore.Security.CAS/CasOptions.cs
src/AspNetCore.Security.CAS/CasOptions.cs
using AspNetCore.Security.CAS; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Builder { public class CasOptions : RemoteAuthenticationOptions { public CasOptions() { CallbackPath = new PathString("/signin-cas"); ...
using AspNetCore.Security.CAS; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Http; using System; namespace Microsoft.AspNetCore.Builder { public class CasOptions : RemoteAuthenticationOptions { public CasOptions() { CallbackPath = new PathString("/signin-cas...
mit
C#
a082b6468b05e8abfffc25951dca128e46353d9d
Add more tests for enums
jaenyph/DelegateDecompiler,morgen2009/DelegateDecompiler,hazzik/DelegateDecompiler
src/DelegateDecompiler.Tests/EnumTests.cs
src/DelegateDecompiler.Tests/EnumTests.cs
using System; using System.Linq.Expressions; using Xunit; namespace DelegateDecompiler.Tests { public class EnumTests : DecompilerTestsBase { public enum TestEnum { Foo, Bar } [Fact] public void TestEnumParameterEqualsEnumConstant()...
using System; using System.Linq.Expressions; using Xunit; namespace DelegateDecompiler.Tests { public class EnumTests : DecompilerTestsBase { public enum TestEnum { Foo, Bar } [Fact] public void TestEnumParameterEqualsEnumConstant() { ...
mit
C#
3664b1a834f32a93d73e49e8e1c361a460fdbe09
Add missing XML documentation.
MatthewKing/DeviceId
src/DeviceId/DeviceIdBuilderExtensions.cs
src/DeviceId/DeviceIdBuilderExtensions.cs
namespace DeviceId { using System; /// <summary> /// Extension methods for DeviceIdBuilder. /// </summary> public static class DeviceIdBuilderExtensions { /// <summary> /// Adds the current user name to the device identifier. /// </summary> /// <param name="bui...
namespace DeviceId { using System; public static class DeviceIdBuilderExtensions { public static DeviceIdBuilder AddUserName(this DeviceIdBuilder builder) { return builder.AddComponent(new DeviceIdComponent("UserName", Environment.UserName)); } public static De...
mit
C#
3ec15a03ec41d97a3a1fe7cc9bd4be3c37e1948a
Update RoberthStrand.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/RoberthStrand.cs
src/Firehose.Web/Authors/RoberthStrand.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RoberthStrand : IAmACommunityMember { public string FirstName => "Roberth"; public string ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class RoberthStrand : IAmACommunityMember { public string FirstName => "Roberth"; public string ...
mit
C#
72aa394aaf543fc42cb68bf35eb2554d0593b5cd
Improve tests with theory test cases
ardalis/GuardClauses
src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs
src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs
using Ardalis.GuardClauses; using System; using Xunit; namespace GuardClauses.UnitTests { public class GuardAgainsOutOfRange { [Theory] [InlineData(1, 1, 5)] [InlineData(2, 1, 5)] [InlineData(3, 1, 5)] public void DoesNothingGivenInRangeValueUsingShortcutMethod(int inpu...
using Ardalis.GuardClauses; using System; using Xunit; namespace GuardClauses.UnitTests { public class GuardAgainsOutOfRange { [Fact] public void DoesNothingGivenInRangeValueUsingShortcutMethod() { Guard.AgainsOutOfRange(2, "index", 1, 5); } [Fact] ...
mit
C#
d462cfc4601c77460a7cc02dbcb50ccb2f3cc3ed
Exclude AppBuilder test from running on Mono.
damianh/Nancy,tparnell8/Nancy,SaveTrees/Nancy,wtilton/Nancy,AlexPuiu/Nancy,guodf/Nancy,albertjan/Nancy,nicklv/Nancy,horsdal/Nancy,VQComms/Nancy,SaveTrees/Nancy,grumpydev/Nancy,EliotJones/NancyTest,hitesh97/Nancy,tsdl2013/Nancy,joebuschmann/Nancy,thecodejunkie/Nancy,danbarua/Nancy,blairconrad/Nancy,daniellor/Nancy,tsdl2...
src/Nancy.Owin.Tests/AppBuilderExtensionsFixture.cs
src/Nancy.Owin.Tests/AppBuilderExtensionsFixture.cs
namespace Nancy.Owin.Tests { using System; using global::Owin; using Microsoft.Owin.Testing; using Nancy.Testing; using Xunit; public class AppBuilderExtensionsFixture { #if !__MonoCS__ [Fact] public void When_host_Nancy_via_IAppBuilder_then_should_handl...
namespace Nancy.Owin.Tests { using System; using global::Owin; using Microsoft.Owin.Testing; using Nancy.Testing; using Xunit; public class AppBuilderExtensionsFixture { /*[Fact] public void When_host_Nancy_via_IAppBuilder_then_should_handle_requests() ...
mit
C#
d1f63c378cc0c175c2873360b3a79c22165aa4b1
Add testimonials to credits
06b/Emperor-Imports,06b/Emperor-Imports
src/EmperorImports/Views/credits.cshtml
src/EmperorImports/Views/credits.cshtml
@{ Layout = "Views/Shared/_Layout.cshtml"; } @section meta{ <title>Emperor Imports - Credits</title> } Penguin by Catherine Please from <a href="https://thenounproject.com/" target="_blank" rel="nofollow">the Noun Project</a> Slogans via <a href="https://gospaces.com/tools/slogan-maker" target="_blank" rel="...
@{ Layout = "Views/Shared/_Layout.cshtml"; } @section meta{ <title>Emperor Imports - Credits</title> } Penguin by Catherine Please from <a href="https://thenounproject.com/" target="_blank" rel="nofollow">the Noun Project</a> Slogans via <a href="https://gospaces.com/tools/slogan-maker" target="_blank" rel="...
mit
C#
ca08f82701af4a82dc4c28bb65759a08243006ad
Add TreeNodeMap method (#137)
jcdickinson/Chasm,k2workflow/Chasm
src/SourceCode.Chasm/ChasmExtensions.cs
src/SourceCode.Chasm/ChasmExtensions.cs
#region License // Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. #endregion using System.Collections.Generic; namespace SourceCode.Chasm { public static class ChasmExtens...
#region License // Copyright (c) K2 Workflow (SourceCode Technology Holdings Inc.). All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. #endregion using System.Collections.Generic; namespace SourceCode.Chasm { public static class ChasmExtens...
mit
C#
87fedd5f6e42b3d76bc20118ee5158ca3d84b661
fix email
Che4ter/PAWI,Che4ter/PAWI,Che4ter/PAWI,Che4ter/PAWI
src/esencialAdmin/Services/EmailSender.cs
src/esencialAdmin/Services/EmailSender.cs
using esencialAdmin.Data; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Threading.Tasks; namespace esencialAdmin.Services { // This class is used by the application to send email for account confirmation...
using esencialAdmin.Data; using Microsoft.Extensions.Options; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Mail; using System.Threading.Tasks; namespace esencialAdmin.Services { // This class is used by the application to send email for account confirmation...
apache-2.0
C#
ff1b95a1b566ae420c06e442bde55b84746ed14e
Change Massage
koschmarche/TestRepo
githubTest/githubTest/Program.cs
githubTest/githubTest/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace githubTest { class Program { static void Main(string[] args) { Console.WriteLine("hello github"); Console.WriteLine("Test1"); } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace githubTest { class Program { static void Main(string[] args) { Console.WriteLine("hello github"); } } }
mit
C#
1a36179c8d7127f1fd017792423b4f6a0b170279
Fix osu!catch catcher not scaling down correctly (#7129)
ppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,2yangk23/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Rulesets.Catch/UI/CatcherSprite.cs
osu.Game.Rulesets.Catch/UI/CatcherSprite.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.Graphics.Containers; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulesets...
// 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.Graphics.Containers; using osu.Game.Skinning; using osuTK; namespace osu.Game.Rulesets...
mit
C#
86db3191d3a9bb0902c5d64a374d29a5993c80aa
Update IHostEnvironmentStatistics.cs (#6780)
dotnet/orleans,waynemunro/orleans,galvesribeiro/orleans,ElanHasson/orleans,veikkoeeva/orleans,ElanHasson/orleans,ibondy/orleans,amccool/orleans,hoopsomuah/orleans,jthelin/orleans,yevhen/orleans,waynemunro/orleans,galvesribeiro/orleans,amccool/orleans,hoopsomuah/orleans,yevhen/orleans,ibondy/orleans,benjaminpetit/orlean...
src/Orleans.Core.Abstractions/Statistics/IHostEnvironmentStatistics.cs
src/Orleans.Core.Abstractions/Statistics/IHostEnvironmentStatistics.cs
namespace Orleans.Statistics { public interface IHostEnvironmentStatistics { /// <summary> /// Total physical memory on the host in bytes /// i.e. 16426476000L for 16 gb /// </summary> /// <value>16426476000</value> long? TotalPhysicalMemory { get; } /// ...
namespace Orleans.Statistics { public interface IHostEnvironmentStatistics { /// <summary> /// Total physical memory on the host in bytes /// i.e. 16426476000L for 16 gb /// </summary> /// <value>16426476000</value> long? TotalPhysicalMemory { get; } /// ...
mit
C#
c499bba4064673d3f0170475cb6450a8dba51eeb
Validate Username and ApiKey from appSettings.
plmwong/librato4net
librato4net/AppSettingsLibratoSettings.cs
librato4net/AppSettingsLibratoSettings.cs
using System; using System.Configuration; namespace librato4net { public class AppSettingsLibratoSettings : ILibratoSettings { // ReSharper disable once InconsistentNaming private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings(); private const str...
using System; using System.Configuration; namespace librato4net { public class AppSettingsLibratoSettings : ILibratoSettings { // ReSharper disable once InconsistentNaming private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings(); private const str...
mit
C#
d320cea98c24f232d5258599f975bb7e6602d8d4
Make EventSourcException serializable in corert scenarios (#14716)
ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,wateret/coreclr,JosephTremoulet/coreclr,cshung/coreclr,JosephTremoulet/coreclr,mmitche/coreclr,wateret/coreclr,krk/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,wateret/coreclr,yizhang82/coreclr,poizan42...
src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.cs
src/mscorlib/shared/System/Diagnostics/Tracing/EventSourceException.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 System.Resources; using System.Runtime.Serialization; #if ES_BUILD_STANDALONE using Environment...
// 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.Resources; using System.Runtime.Serialization; #if ES_BUILD_STANDALONE using Environment...
mit
C#
2b70bf24913eeabf438127eb8c6c2487073c2564
Fix for missing FooterLinks
OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core
Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201903/SiteFooterLinkFromModelToSchemaTypeResolver.cs
Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/V201903/SiteFooterLinkFromModelToSchemaTypeResolver.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OfficeDevPnP.Core.Extensions; namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers { /// <summary> /// Type resolver for Site Footer Link fr...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OfficeDevPnP.Core.Extensions; namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers { /// <summary> /// Type resolver for Site Footer Link fr...
mit
C#
77fb632d443d2665ac1be4d2b7827d990f34cefe
Remove now unnecessary using
NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,2yangk23/osu,ppy/osu,EVAST9919/osu,peppy/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,smoogipooo/osu
osu.Game.Tests/Resources/TestResources.cs
osu.Game.Tests/Resources/TestResources.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.IO; using NUnit.Framework; using osu.Framework.IO.Stores; namespace osu.Game.Tests.Resources { public static class TestResources { public s...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.IO; using NUnit.Framework; using osu.Framework.IO.Stores; using osu.Game.Resources; namespace osu.Game.Tests.Resources { public static class TestResour...
mit
C#
c804646f63b350a25d382f39f3091ba77ee14f2f
Allow capturing of request
AngleSharp/AngleSharp,Livven/AngleSharp,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,Livven/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,FlorianRappl...
AngleSharp.Core.Tests/Mocks/MockRequester.cs
AngleSharp.Core.Tests/Mocks/MockRequester.cs
namespace AngleSharp.Core.Tests.Mocks { using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using AngleSharp.Network; using AngleSharp.Network.Default; public class MockRequester : IRequester { public Action...
namespace AngleSharp.Core.Tests.Mocks { using System; using System.Collections.Generic; using System.IO; using System.Threading; using System.Threading.Tasks; using AngleSharp.Network; using AngleSharp.Network.Default; public class MockRequester : IRequester { public IRespo...
mit
C#
dc55f222813aff1d637628955d71aca539ed02f3
Fix typo
MSayfullin/Basics
Basics.Algorithms.Tests/BinarySearchTests.cs
Basics.Algorithms.Tests/BinarySearchTests.cs
using System; using Basics.Algorithms; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Basics.Algorithms.Tests { [TestClass] public class BinarySearchTests { [TestMethod] public void BinarySearch_NoKeyFound() { var array = new int[] { 0, 1, 2, 3, 4, 5, 6, ...
using System; using Basics.Algorithms; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Basics.Algorithms.Tests { [TestClass] public class BinarySearchTests { [TestMethod] public void BinarySearch_NoKeyFound() { var array = new int[] { 0, 1, 2, 3, 4, 5, 6, ...
mit
C#
f011cc3444695c4a5edec235e7de6742c24ea7ce
Test error message for regex.
michaellperry/Assisticant
Assisticant.UnitTest/NotifyDataErrorInfoTests.cs
Assisticant.UnitTest/NotifyDataErrorInfoTests.cs
using Assisticant.Fields; using Assisticant.Validation; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.ComponentModel; using System.Linq; namespace Assisticant.UnitTest.WPF { [TestClass] public class NotifyDataErrorInfoTests { class TestViewModel : IValida...
using Assisticant.Fields; using Assisticant.Validation; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.ComponentModel; namespace Assisticant.UnitTest.WPF { [TestClass] public class NotifyDataErrorInfoTests { class TestViewModel : IValidation { ...
mit
C#
3ab604bb5578f5c2ce56daf4d93814a242584ba5
Add support for the "draggable" attribute on HTMLElement
ProductiveRage/Bridge.React,ProductiveRage/Bridge.React
Bridge.React/Attributes/DomElementsAttributes.cs
Bridge.React/Attributes/DomElementsAttributes.cs
using Bridge.Html5; namespace Bridge.React { [External] [ObjectLiteral] public abstract class DomElementsAttributes { public string ClassName { private get; set; } public string Id { private get; set; } public string AccessKey { private get; set; } public ContentEditable ContentEditable { private get; set...
using Bridge.Html5; namespace Bridge.React { [External] [ObjectLiteral] public abstract class DomElementsAttributes { public string ClassName { private get; set; } public string Id { private get; set; } public string AccessKey { private get; set; } public ContentEditable ContentEditable { private get; set...
mit
C#
b0da0932b49f7cd4b42acf10b26e543bf866dc11
Update SearchScope.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/SearchScope.cs
main/Smartsheet/Api/Models/SearchScope.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2014 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
9b4e7f2f67aedcc9709245962262b0946c0725d7
Validate textboxes
hugobullont/UPCSecuritySolution
UPCSecurity/FrmCustomer.cs
UPCSecurity/FrmCustomer.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Entities; using BusinessLogic.CustomerService; namespace UPCSecurity { public partial class F...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Entities; using BusinessLogic.CustomerService; namespace UPCSecurity { public partial class F...
mit
C#