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
e5d2885590b4a6143d9feaf0666ee1c516b0e099
add one line of code
toannvqo/dnn_publish
Components/ProductController.cs
Components/ProductController.cs
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
mit
C#
8604aa165c1c23f58381a039ddbc3a83589719f1
Add Value object with Id and Text
ktenman/netcore
Controllers/ValuesController.cs
Controllers/ValuesController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace netcore.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { // GET api/values [HttpGet] public IEnumerable<V...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace netcore.Controllers { [Route("api/[controller]")] public class ValuesController : Controller { // GET api/values [HttpGet] public IEnumerable<s...
apache-2.0
C#
a673cfd36003f893236c0bbbb836127b656aeef1
Update SwitchStatementTemplateProvider.cs
controlflow/resharper-postfix
TemplateProviders/SwitchStatementTemplateProvider.cs
TemplateProviders/SwitchStatementTemplateProvider.cs
using System.Collections.Generic; using JetBrains.Annotations; using JetBrains.ReSharper.ControlFlow.PostfixCompletion.LookupItems; using JetBrains.ReSharper.Feature.Services.Lookup; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharpe...
using System.Collections.Generic; using JetBrains.Annotations; using JetBrains.ReSharper.ControlFlow.PostfixCompletion.LookupItems; using JetBrains.ReSharper.Feature.Services.Lookup; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharpe...
mit
C#
c3ed51c6fd819f9ae65a77dd288e2ecbfddb3215
Revert log changes
madelson/MedallionShell
MedallionShell/Log.cs
MedallionShell/Log.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Medallion.Shell { internal static class Log { [Conditional("TESTING")] public static void WriteLine(string format, params obj...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Medallion.Shell { internal static class Log { // TODO REVERT CHANGES [Conditional("TESTING")] public static void Writ...
mit
C#
e615d283c909e97a6e9765cf231010f92a824692
Fix name conflict
rockfordlhotka/csla,JasonBock/csla,jonnybee/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,jonnybee/csla,jonnybee/csla,MarimerLLC/csla,JasonBock/csla,JasonBock/csla,rockfordlhotka/csla
Source/Csla.test/DataPortal/DataPortalExceptionTest.cs
Source/Csla.test/DataPortal/DataPortalExceptionTest.cs
using System; using Csla; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Csla.Test.DataPortal { [TestClass] public class DataPortalExceptionTests { [TestMethod] [TestCategory("SkipWhenLiveUnitTesting")] public void ChildInnerExceptionFlowsFromDataPortal() { try { ...
using System; using Csla; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace Csla.Test.DataPortal { [TestClass] public class DataPortalExceptionTests { [TestMethod] [TestCategory("SkipWhenLiveUnitTesting")] public void ChildInnerExceptionFlowsFromDataPortal() { try { ...
mit
C#
c23f604f3ef9e3fbe035e26c932fc4486c958baf
Set TTL for prefix to infinity rn
Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2
SoraBot/SoraBot.Services/Guilds/PrefixService.cs
SoraBot/SoraBot.Services/Guilds/PrefixService.cs
using System; using System.Threading.Tasks; using SoraBot.Data.Repositories.Interfaces; using SoraBot.Services.Cache; namespace SoraBot.Services.Guilds { public class PrefixService : IPrefixService { public const string CACHE_PREFIX = "prfx:"; // public const short CACHE_TTL_MINS = 60; ...
using System; using System.Threading.Tasks; using SoraBot.Data.Repositories.Interfaces; using SoraBot.Services.Cache; namespace SoraBot.Services.Guilds { public class PrefixService : IPrefixService { public const string CACHE_PREFIX = "prfx:"; public const short CACHE_TTL_MINS = 60; ...
agpl-3.0
C#
9a04410f0a93866a7f0a88c80c368f9d1b427065
Use case sensitive cache for Undefined result
rexm/Handlebars.Net,rexm/Handlebars.Net
source/Handlebars/UndefinedBindingResult.cs
source/Handlebars/UndefinedBindingResult.cs
using System; using System.Diagnostics; using HandlebarsDotNet.Collections; using HandlebarsDotNet.EqualityComparers; using HandlebarsDotNet.Runtime; namespace HandlebarsDotNet { [DebuggerDisplay("undefined")] public class UndefinedBindingResult : IEquatable<UndefinedBindingResult> { private static readonl...
using System; using System.Diagnostics; using HandlebarsDotNet.Collections; using HandlebarsDotNet.EqualityComparers; using HandlebarsDotNet.Runtime; namespace HandlebarsDotNet { [DebuggerDisplay("undefined")] public class UndefinedBindingResult : IEquatable<UndefinedBindingResult> { private static readonl...
mit
C#
4f05e4f33342a66762afa12db6b7b9539eaaffd2
fix broken System.Threading.Interlocked
dot42/api
System/Threading/Interlocked.cs
System/Threading/Interlocked.cs
using System.Runtime.CompilerServices; namespace System.Threading { /// <summary> /// This class is here mainly because Fody.PropertyChanged needs an implementation. /// /// A proper implementation would let the dot42 compiler detect all accesses to /// Interlocked, and on-the-fly replac...
namespace System.Threading { /// <summary> /// This class is here to provide compatibility with existing implementations. /// best would be to let the dot42 compiler detect all accesses to Interlocked, /// and on-the-fly replace all usages of interlocked fields with their AtomicXXX /// counte...
apache-2.0
C#
70a0c1e23cfde4d229f8413c7de22910161b9b06
Update LiteDbDatabaseProvider.cs
tiksn/TIKSN-Framework
TIKSN.Core/Data/LiteDB/LiteDbDatabaseProvider.cs
TIKSN.Core/Data/LiteDB/LiteDbDatabaseProvider.cs
using LiteDB; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.FileProviders; namespace TIKSN.Data.LiteDB { /// <summary> /// Create LiteDB database /// </summary> public class LiteDbDatabaseProvider : ILiteDbDatabaseProvider { private readonly IConfigurationRoot _c...
using LiteDB; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.FileProviders; namespace TIKSN.Data.LiteDB { /// <summary> /// Create LiteDB database /// </summary> public class LiteDbDatabaseProvider : ILiteDbDatabaseProvider { private readonly IConfigurationRoot _confi...
mit
C#
5ac1114072c8c916cc9e18331a140b568ec96069
Update version to 1.4.0
TheOtherTimDuncan/TOTD-Mailer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
using System.Reflection; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("The Other Tim Duncan")] [assembly: Asse...
mit
C#
fbd019222cec4b32238d3048ae132f9c4b565a8c
Increment Minor -> 0.5.0
awseward/Bugsnag.NET,awseward/Bugsnag.NET
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.5.0.0")] [assembly: AssemblyFileVersion("0.5.0.0")] [assembly: AssemblyInformationalVersion("0.5.0")]
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyVersion("0.4.3.0")] [assembly: AssemblyFileVersion("0.4.3.0")] [assembly: AssemblyInformationalVersion("0.4.3")]
mit
C#
7c9bea719e0103feab08ac8e1f20de3f88854187
Add XML comments to ILogConsumer
atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata
src/Atata/Logging/ILogConsumer.cs
src/Atata/Logging/ILogConsumer.cs
namespace Atata { /// <summary> /// Defines a method to log the event information. /// </summary> public interface ILogConsumer { /// <summary> /// Logs the specified event information. /// </summary> /// <param name="eventInfo">The event information.</para...
namespace Atata { public interface ILogConsumer { void Log(LogEventInfo eventInfo); } }
apache-2.0
C#
740cec3782fa488b8a3cef1e0f3808ae89ad6e2d
Update JsonHelpers.cs
jordansjones/Cex.io-Api-Client
src/Cex.io/Helpers/JsonHelpers.cs
src/Cex.io/Helpers/JsonHelpers.cs
using System; using System.Globalization; using System.Linq; namespace Nextmethod.Cex { internal static class JsonHelpers { internal static bool ContainsProperty(dynamic This, string name) { if (This == null || string.IsNullOrEmpty(name)) return false; var jo = This as ...
using System; using System.Globalization; using System.Linq; namespace Nextmethod.Cex { internal static class JsonHelpers { internal static bool ContainsProperty(dynamic This, string name) { if (This == null || string.IsNullOrEmpty(name)) return false; var jo = This as...
mit
C#
11d0ca56de6c040b1b2f8223dfda54ffbe6bf99a
fix timespan in render demo.
jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,Perspex/Perspex,AvaloniaUI/Avalonia,SuperJMN/Ava...
samples/RenderDemo/Controls/LineBoundsDemoControl.cs
samples/RenderDemo/Controls/LineBoundsDemoControl.cs
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Rendering.SceneGraph; using Avalonia.Threading; namespace RenderDemo.Controls { public class LineBoundsDemoControl : Control { static LineBoundsDemoControl() { AffectsRender<LineBoundsDemoCo...
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Rendering.SceneGraph; using Avalonia.Threading; namespace RenderDemo.Controls { public class LineBoundsDemoControl : Control { static LineBoundsDemoControl() { AffectsRender<LineBoundsDemoCo...
mit
C#
e2fa1670791ac311cf17822f0230eefa9e9f7e7b
Use SiteObject.Generate in main
lunet-io/lunet,lunet-io/lunet
src/LunetExe/Program.cs
src/LunetExe/Program.cs
using System; using System.IO; using System.IO.Compression; using Lunet.Runtime; using Microsoft.Extensions.Logging; namespace Lunet { class Program { static void Main(string[] args) { var loggerFactory = new LoggerFactory().AddConsole(LogLevel.Trace); var site = SiteF...
using System; using System.IO; using System.IO.Compression; using Lunet.Runtime; using Microsoft.Extensions.Logging; namespace Lunet { class Program { static void Main(string[] args) { var loggerFactory = new LoggerFactory().AddConsole(LogLevel.Trace); var site = SiteF...
bsd-2-clause
C#
3df3b1fc3010132a23ac447503f6592d32b745ee
Bump version number
timheuer/taglib-sharp-portable
src/TagLib.Shared/AssemblyInfo.cs
src/TagLib.Shared/AssemblyInfo.cs
// // AssemblyInfo.cs.in: Contains flags to use for the assembly. // // Author: // Brian Nickel (brian.nickel@gmail.com) // // Copyright (C) 2006-2007 Brian Nickel // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License version // 2.1...
// // AssemblyInfo.cs.in: Contains flags to use for the assembly. // // Author: // Brian Nickel (brian.nickel@gmail.com) // // Copyright (C) 2006-2007 Brian Nickel // // This library is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License version // 2.1...
lgpl-2.1
C#
5dcdda3ab33c2c0cf34283a194a1bb5a1b3df7e7
Use generic host in sample
mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs
samples/Basic/Program.cs
samples/Basic/Program.cs
using System.Threading.Tasks; using Basic.Models; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using MR.AspNetCore.Jobs; namespace Basic { public class Program { public static async Task Main(string[] a...
using System.Threading.Tasks; using Basic.Models; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.DependencyInjection; using MR.AspNetCore.Jobs; namespace Basic { public class Program { public static async Task Main(string[] args) {...
mit
C#
c6a0fc322af5d758063bb77167f9a3a8f9cbcb1c
Fix TeamCity trace output
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/CI/TeamCity/TeamCityOutputSink.cs
source/Nuke.Common/CI/TeamCity/TeamCityOutputSink.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using JetBrains.Annotations; using Nuke.Common.OutputSinks; using ...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using JetBrains.Annotations; using Nuke.Common.OutputSinks; using ...
mit
C#
238c998488c27f58c90a6c970feaaaeabde17c3e
change discount scope to price rule
vinhch/BizwebSharp
src/BizwebSharp/Enums/AuthorizationScope.cs
src/BizwebSharp/Enums/AuthorizationScope.cs
using System.Runtime.Serialization; using BizwebSharp.Converters; using Newtonsoft.Json; namespace BizwebSharp.Enums { [JsonConverter(typeof(NullableEnumConverter<AuthorizationScope>))] public enum AuthorizationScope { [EnumMember(Value = "read_content")] ReadContent, [EnumMember(Value = ...
using System.Runtime.Serialization; using BizwebSharp.Converters; using Newtonsoft.Json; namespace BizwebSharp.Enums { [JsonConverter(typeof(NullableEnumConverter<AuthorizationScope>))] public enum AuthorizationScope { [EnumMember(Value = "read_content")] ReadContent, [EnumMember(Value = ...
mit
C#
4e7c3e05e3222ff20e999d5407b082dcd535c1ef
Fix SideBar Ninject bindings.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/NinjectModules/SideBarModule.cs
src/CGO.Web/NinjectModules/SideBarModule.cs
using System.Web; using System.Web.Mvc; using CGO.Web.Controllers; using Ninject.Modules; using Ninject.Web.Common; namespace CGO.Web.NinjectModules { public class SideBarModule : NinjectModule { public override void Load() { const string concertsControllerName = "Conce...
using CGO.Web.Controllers; using Ninject.Modules; using Ninject.Web.Common; namespace CGO.Web.NinjectModules { public class SideBarModule : NinjectModule { public override void Load() { Kernel.Bind<ISideBarFactory>() .To<ConcertsSideBarFactory>() ...
mit
C#
ed14f27456e02cfee34d3c29b450e72d9f90a691
Check if the specified path is a physical or a virtual path
mono/nuget,indsoft/NuGet2,pratikkagda/nuget,jholovacs/NuGet,akrisiun/NuGet,oliver-feng/nuget,RichiCoder1/nuget-chocolatey,RichiCoder1/nuget-chocolatey,akrisiun/NuGet,oliver-feng/nuget,mrward/nuget,zskullz/nuget,ctaggart/nuget,GearedToWar/NuGet2,oliver-feng/nuget,jholovacs/NuGet,antiufo/NuGet2,jholovacs/NuGet,rikoe/nuge...
src/Server/Infrastructure/PackageUtility.cs
src/Server/Infrastructure/PackageUtility.cs
using System; using System.Web; using System.Web.Hosting; using System.Configuration; using System.IO; namespace NuGet.Server.Infrastructure { public class PackageUtility { internal static string PackagePhysicalPath; private static string DefaultPackagePhysicalPath = HostingEnviron...
using System; using System.Web; using System.Web.Hosting; using System.Configuration; namespace NuGet.Server.Infrastructure { public class PackageUtility { internal static string PackagePhysicalPath; private static string DefaultPackagePhysicalPath = HostingEnvironment.MapPath("~/Pa...
apache-2.0
C#
ada26c5ccd7ffe1b4709310bc62f16fd3cb13ddb
Change id type from uint to ulong
Aux/NTwitch,Aux/NTwitch
src/NTwitch.Core/Entities/IEntity.cs
src/NTwitch.Core/Entities/IEntity.cs
namespace NTwitch { public interface IEntity { ITwitchClient Client { get; } ulong Id { get; } } }
namespace NTwitch { public interface IEntity { ITwitchClient Client { get; } uint Id { get; } } }
mit
C#
c02a6f7235c780644ac1aa841d85d1ae1dcd1e81
Comment updates
AtaS/SectionJS.NET
SectionJS.NET/SectionJSModel.cs
SectionJS.NET/SectionJSModel.cs
using System.Collections; using System.Collections.Generic; namespace SectionJS.NET { public class SectionJSModel : IEnumerable<SectionJSModel.Section> { /// <summary> /// Sections List /// </summary> public List<Section> Sections = new List<Section>(); /// <summary> ...
using System.Collections; using System.Collections.Generic; namespace SectionJS.NET { public class SectionJSModel : IEnumerable<SectionJSModel.Section> { /// <summary> /// Sections /// </summary> public List<Section> Sections = new List<Section>(); public void Add(stri...
mit
C#
995b5b24a25ef949261ec81be829a443488222e8
Change private Url setter to protected
TurnerSoftware/MongoFramework
src/MongoFramework/MongoDbConnection.cs
src/MongoFramework/MongoDbConnection.cs
using System; using System.Collections.Concurrent; using MongoDB.Driver; using MongoFramework.Infrastructure; using MongoFramework.Infrastructure.Diagnostics; using MongoFramework.Utilities; namespace MongoFramework { public class MongoDbConnection : IMongoDbConnection { public MongoUrl Url { get; protected set; ...
using System; using System.Collections.Concurrent; using MongoDB.Driver; using MongoFramework.Infrastructure; using MongoFramework.Infrastructure.Diagnostics; using MongoFramework.Utilities; namespace MongoFramework { public class MongoDbConnection : IMongoDbConnection { public MongoUrl Url { get; private set; } ...
mit
C#
843f2263fe1741a932391c08e06c1ba1bfc65e8c
add doc
nerai/CMenu
src/ExampleMenu/Util.cs
src/ExampleMenu/Util.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { public class Util { /// <summary> /// Loose string comparison. Returns the best match using increasingly inaccurate comparisons. /// Also makes sure there is a sole match at that le...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ConsoleMenu; namespace ExampleMenu { class Util { public static string LooseSelect (IEnumerable<string> source, string select, StringComparison sc) { select = select.Replace (" ", ""); var ec = sc.GetCorrespondingC...
mit
C#
b625822b92c3bc033304eab9730412202a3080f9
Use C#7 is operator to remove additional cast (#32131)
ericstj/corefx,ericstj/corefx,wtgodbe/corefx,wtgodbe/corefx,ptoonen/corefx,shimingsg/corefx,ptoonen/corefx,ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,ptoonen/corefx,shimingsg/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ericstj/corefx,ericstj/corefx,wtgodbe/corefx,BrennanConroy/corefx,ViktorHofer/corefx,pto...
src/System.Linq/src/System/Linq/Cast.cs
src/System.Linq/src/System/Linq/Cast.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.Collections; using System.Collections.Generic; namespace System.Linq { public static partial clas...
// 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.Collections; using System.Collections.Generic; namespace System.Linq { public static partial clas...
mit
C#
0244edcb02ae5ea665f03dd5b2ae0c75ba754ce7
Update NumberFormatting.cs
keith-hall/Extensions,keith-hall/Extensions
src/NumberFormatting.cs
src/NumberFormatting.cs
using System.Text.RegularExpressions; using System; namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private st...
using System.Text.RegularExpressions; using System; namespace HallLibrary.Extensions { public static class NumberFormatting { private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture private st...
apache-2.0
C#
bd3ce36e2390cd5287c27bbcd108fcaf62a284a9
Support BSON responses
obsoleted/PyriteServer,PyriteServer/PyriteServer,obsoleted/PyriteServer,PyriteServer/PyriteServer
PyriteServer/Global.asax.cs
PyriteServer/Global.asax.cs
// // //------------------------------------------------------------------------------------------------- // // // <copyright file="Global.asax.cs" company="Microsoft Corporation"> // // // Copyright (c) Microsoft Corporation. All rights reserved. // // // </copyright> // // //----------------------------------------...
// // //------------------------------------------------------------------------------------------------- // // // <copyright file="Global.asax.cs" company="Microsoft Corporation"> // // // Copyright (c) Microsoft Corporation. All rights reserved. // // // </copyright> // // //----------------------------------------...
mit
C#
10f92a2599083b2b485a5bba9c2b14c3d58f43c0
Update demo
sunkaixuan/SqlSugar
Src/Asp.Net/PgSqlTest/Config.cs
Src/Asp.Net/PgSqlTest/Config.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { /// <summary> /// Setting up the database name does not require you to create the database /// 设置好数据库名不需要你去手动建库 /// </summary> public class Config { /...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrmTest { /// <summary> /// Setting up the database name does not require you to create the database /// 设置好数据库名不需要你去手动建库 /// </summary> public class Config { /...
apache-2.0
C#
2435b8b5942dadd4efc6e74b11dbc2ae71adf7ed
Support also external members with email and CN in iCloud groups. Will be used by Open-Xchange for DistributionList mapping.
aluxnimm/outlookcaldavsynchronizer
CalDavSynchronizer/Implementation/DistributionLists/VCard/UidDistListEntityMapper.cs
CalDavSynchronizer/Implementation/DistributionLists/VCard/UidDistListEntityMapper.cs
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
// This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/) // Copyright (c) 2015 Gerhard Zehetbauer // Copyright (c) 2015 Alexander Nimmervoll // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License a...
agpl-3.0
C#
616353e3abcd32042ee852c907daa23a9db1bbc3
watermark for add tag.
hfoffani/WinFormTagsEditor
WinFormTagsEditor/NewTagForm.cs
WinFormTagsEditor/NewTagForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices; namespace WFTE { internal partial class NewTagForm : Form { string waterMarkTex...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WFTE { internal partial class NewTagForm : Form { public NewTagForm() { InitializeCompon...
apache-2.0
C#
d5e37fe9a1fa97a810e0e6e2905a51a8d7d1243e
Fix Register.cshtml
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/ChessVariantsTraining/Views/User/Register.cshtml
src/ChessVariantsTraining/Views/User/Register.cshtml
@section Title {Register} @if (ViewBag.Error != null) { @foreach (string err in ViewBag.Error) { <div class="error">@err</div> } } @{ Html.BeginForm("New", "User", FormMethod.Post); } <input type="text" placeholder="Username" name="username"> <input type="password" name="password"> <input type="tex...
@section Title {Register} @using System.Web.Routing @if (ViewBag.Error != null) { @foreach (string err in ViewBag.Error) { <div class="error">@err</div> } } @{ Html.BeginForm("New", "User", FormMethod.Post); } <input type="text" placeholder="Username" name="username"> <input type="password" name="p...
agpl-3.0
C#
0257831945ccf76f2cc38fe46170c021ea39dcaf
Add new methods to StartupExtensions to use Institutes and Specialitites
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Configuration/StartupExtensions.cs
src/Diploms.WebUI/Configuration/StartupExtensions.cs
using Diploms.Core; using Diploms.DataLayer; using Diploms.Services.Departments; using Diploms.Services.Specialities; using Diploms.Services.Institutes; using Microsoft.Extensions.DependencyInjection; namespace Diploms.WebUI.Configuration { public static class StartupExtensions { public static IService...
using Diploms.Core; using Diploms.DataLayer; using Diploms.Services.Departments; using Microsoft.Extensions.DependencyInjection; namespace Diploms.WebUI.Configuration { public static class StartupExtensions { public static IServiceCollection AddDepartments(this IServiceCollection services) { ...
mit
C#
54c40afcc5a31941402f2b18f1ad90c6b4a52789
Format Date Naissance
webSportENIProject/webSport,webSportENIProject/webSport
WUI/Models/PersonneModel.cs
WUI/Models/PersonneModel.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WUI.Models { public class PersonneModel { public int Id { get; set; } public string Nom { get; set; } public str...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WUI.Models { public class PersonneModel { public int Id { get; set; } public string Nom { get; set; } public str...
apache-2.0
C#
9a32b8eaba7dc6370937757e2d1efc97b65c0eb8
Define command line options
a-ctor/roslyn,Hosch250/roslyn,sharadagrawal/Roslyn,yeaicc/roslyn,genlu/roslyn,SeriaWei/roslyn,mattwar/roslyn,basoundr/roslyn,jhendrixMSFT/roslyn,dotnet/roslyn,CaptainHayashi/roslyn,xasx/roslyn,davkean/roslyn,dotnet/roslyn,TyOverby/roslyn,basoundr/roslyn,akrisiun/roslyn,jcouv/roslyn,jeffanders/roslyn,CaptainHayashi/rosl...
src/Tools/ProcessWatchdog/Options.cs
src/Tools/ProcessWatchdog/Options.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using CommandLine; namespace ProcessWatchdog { /// <summary> /// Command line options for the ProcessWatchdog tool. /// </summary> internal ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace ProcessWatchdog { internal class Options { } }
apache-2.0
C#
efb992477cd244a0d50a5cc5e3a2d7142baa6b80
add add addrange and find in University, not tested yet
Mooophy/158212
as5/Lib/University.cs
as5/Lib/University.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lib { public class University { public List<Student> Students { get; private set; } public List<Paper> Papers { get; private set; } public Dictionary<Paper, Sor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Lib { public class University { public List<Student> Students { get; private set; } public List<Paper> Papers { get; private set; } public Dictionary<Paper, Sor...
mit
C#
6cf1bc7b3c3f7b7bd61232ba2f776c825671f5b6
Add another unit test
LambdaSix/Capsicum
Capsicum.Test/EntityTests.cs
Capsicum.Test/EntityTests.cs
using System.Linq; using Capsicum.Exceptions; using NUnit.Framework; namespace Capsicum.Test { [TestFixture] public class EntityTests { /* Initial State Tests */ [TestFixture] public class InitialState { private Entity e; [SetUp] public void Setup(...
using System.Linq; using Capsicum.Exceptions; using NUnit.Framework; namespace Capsicum.Test { [TestFixture] public class EntityTests { /* Initial State Tests */ [TestFixture] public class InitialState { private Entity e; [SetUp] public void Setup(...
mit
C#
c6e3a91eb28fa6679b6150916c9b33c6a228c495
fix UTF
KotlyarovV/testing,kontur-csharper/testing,KotlyarovV/testing,kontur-csharper/testing,kontur-csharper/testing
Challenge/WordsStatistics.cs
Challenge/WordsStatistics.cs
using System; using System.Collections.Generic; using System.Linq; namespace Challenge { public class WordsStatistics : IWordsStatistics { protected readonly IDictionary<string, int> stats = new Dictionary<string, int>(); public virtual void AddWord(string word) { if (word == null) throw new ArgumentN...
using System; using System.Collections.Generic; using System.Linq; namespace Challenge { public class WordsStatistics : IWordsStatistics { protected readonly IDictionary<string, int> stats = new Dictionary<string, int>(); public virtual void AddWord(string word) { if (word == null) throw new ArgumentNu...
mit
C#
0276c39e9c2fd955a34c923c765d5f3dc7138d87
Send Message to chat and stuff
joel076/Va-,joel076/Va-,joel076/Va-,joel076/Va-
DeltaBot/DeltaBot/Program.cs
DeltaBot/DeltaBot/Program.cs
using Discord; using Discord.Commands; using Discord.WebSocket; using System; using System.Threading; using System.Threading.Tasks; namespace MyBot { public class Program { public static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); public async Task MainAsync() { var...
using Discord; using Discord.WebSocket; using System; using System.Threading.Tasks; namespace MyBot { public class Program { public static void Main(string[] args) => new Program().MainAsync().GetAwaiter().GetResult(); public async Task MainAsync() { var client = new DiscordSocketClient(new Discord...
mit
C#
cb35db55410c22fa7bd408cc29a55e15fa3fb4dd
Add ew to DbTemplate.Add(ID, string) method to a void hiding method from the base class
hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb
src/Sitecore.FakeDb/DbTemplate.cs
src/Sitecore.FakeDb/DbTemplate.cs
namespace Sitecore.FakeDb { using System.Collections; using Sitecore.Data; public class DbTemplate : DbItem { public ID[] BaseIDs { get; set; } internal DbFieldCollection StandardValues { get; private set; } public DbTemplate() : this((string)null) { } public DbTemplate(ID id)...
namespace Sitecore.FakeDb { using System.Collections; using Sitecore.Data; public class DbTemplate : DbItem { public ID[] BaseIDs { get; set; } internal DbFieldCollection StandardValues { get; private set; } public DbTemplate() : this((string)null) { } public DbTemplate(ID id)...
mit
C#
13a4d0c42d33cb8e0d577d30d21a65350266076b
Make ValidationResult serializable
regisbsb/FluentValidation,olcayseker/FluentValidation,glorylee/FluentValidation,mgmoody42/FluentValidation,pacificIT/FluentValidation,robv8r/FluentValidation,GDoronin/FluentValidation,IRlyDontKnow/FluentValidation,roend83/FluentValidation,deluxetiky/FluentValidation,cecilphillip/FluentValidation,ruisebastiao/FluentVali...
src/FluentValidation/Results/ValidationResult.cs
src/FluentValidation/Results/ValidationResult.cs
#region License // Copyright 2008-2009 Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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/LIC...
#region License // Copyright 2008-2009 Jeremy Skinner (http://www.jeremyskinner.co.uk) // // 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/LIC...
apache-2.0
C#
bbd24ab21d2f9147b1d59a99dedfb07e49a42295
修改 HelloWorldController.
NemoChenTW/MvcMovie,NemoChenTW/MvcMovie,NemoChenTW/MvcMovie
src/MvcMovie/Controllers/HelloWorldController.cs
src/MvcMovie/Controllers/HelloWorldController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { public class HelloWorldController : Control...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Mvc; // For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 namespace MvcMovie.Controllers { public class HelloWorldController : Control...
apache-2.0
C#
ef173f78cbedddc85bcb04b1e20e7f22b7623af5
Write current packaging progress
appharbor/appharbor-cli
src/AppHarbor/CompressionExtensions.cs
src/AppHarbor/CompressionExtensions.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using ICSharpCode.SharpZipLib.Tar; namespace AppHarbor { public static class CompressionExtensions { public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames) { var archive =...
using System.Collections.Generic; using System.IO; using System.Linq; using ICSharpCode.SharpZipLib.Tar; namespace AppHarbor { public static class CompressionExtensions { public static void ToTar(this DirectoryInfo sourceDirectory, Stream output, string[] excludedDirectoryNames) { var archive = TarArchive.Cr...
mit
C#
c16c9de605dfb03c71a7fe997529ddadb5c7e8ea
Fix LoanTest call
jzebedee/lcapi
LCAPI/LcapiTests/LoanTest.cs
LCAPI/LcapiTests/LoanTest.cs
using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class LoanTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\lcapi\LCAPI\testC...
using System.Collections.Generic; using System.IO; using System.Linq; using LendingClub; using Xunit; namespace LcapiTests { public class LoanTest { private KeyValuePair<string, string> GetTestCredentials() { var lines = File.ReadLines(@"C:\Dropbox\Data\LocalRepos\lcapi\LCAPI\testC...
agpl-3.0
C#
a94975b6e6925a52f67731f3dd134ff14760d230
Remove uneeded player collection methods
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs
src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Booma.Proxy { /// <summary> /// The collection of network players that are known about. /// </summary> public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer> { /// <sum...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Booma.Proxy { /// <summary> /// The collection of network players that are known about. /// </summary> public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer> { /// <sum...
agpl-3.0
C#
8153c5dcd856e9968287bc1a73f33061e164f8be
Fix #10 - Relocate default value for base URL
mailosaurapp/mailosaur-dotnet
Mailosaur/MailosaurClient.cs
Mailosaur/MailosaurClient.cs
namespace Mailosaur { using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using Mailosaur.Operations; public class MailosaurClient { public Servers Servers { get; private set; }...
namespace Mailosaur { using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Text; using Mailosaur.Operations; public class MailosaurClient { public Servers Servers { get; private set; }...
mit
C#
2f6c0cf40919173c04d74899cd3f9aab39adb17d
Revert "Made testmethods static."
RobThree/NUlid
NUlid.Performance/Program.cs
NUlid.Performance/Program.cs
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using NUlid.Rng; using System; namespace NUlid.Performance; [MemoryDiagnoser] public class Program { private static readonly SimpleUlidRng _simplerng = new(); private static readonly CSUlidRng _csrng = new(); private static readonly Monoton...
using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using NUlid.Rng; using System; namespace NUlid.Performance; [MemoryDiagnoser] public class Program { private static readonly SimpleUlidRng _simplerng = new(); private static readonly CSUlidRng _csrng = new(); private static readonly Monoton...
mit
C#
5c605ec5d12a6c17c111f8875982ab01512bf4cb
Remove redundant namespace in UITest
ProgTrade/nUpdate,ProgTrade/nUpdate
nUpdate.UserInterfaceTest/Properties/AssemblyInfo.cs
nUpdate.UserInterfaceTest/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using nUpdate.Core; // 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("nUpdate.UserInterface...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using nUpdate.Core; // 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. [assembl...
mit
C#
679cb32a3277d363e701ea55d86e369cf7b80bee
Disable test that is too slow for CI
martincostello/project-euler
src/ProjectEuler.Tests/Puzzles/Puzzle035Tests.cs
src/ProjectEuler.Tests/Puzzles/Puzzle035Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; using Xunit; /// <summary> /// A class contai...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.ProjectEuler.Puzzles { using System.Collections.Generic; using Xunit; /// <summary> /// A class contai...
apache-2.0
C#
3fa5d710fd2a726e189a1c9987bb6605c723a58a
Update IPathGeometry.cs
Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/Model/Path/IPathGeometry.cs
src/Core2D/Model/Path/IPathGeometry.cs
using System.Collections.Immutable; namespace Core2D.Path { /// <summary> /// Defines path geometry contract. /// </summary> public interface IPathGeometry : IObservableObject, IStringExporter { /// <summary> /// Gets or sets figures collection. /// </summary> Immut...
using System.Collections.Immutable; namespace Core2D.Path { /// <summary> /// Defines path geometry contract. /// </summary> public interface IPathGeometry : IObservableObject { /// <summary> /// Gets or sets figures collection. /// </summary> ImmutableArray<IPathFi...
mit
C#
6c578f3cc79500a2e50942014ce7c59c2af73a4c
Comment out non-compiling test while we don't flatten ListGroups
evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,ctaggart/google-clou...
apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs
apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
apache-2.0
C#
2e62317fcef41082ea9c989dc8b659e3daaadd3f
Add semicolon
octoblu/meshblu-connector-skype,octoblu/meshblu-connector-skype
src/csharp/get-state.cs
src/csharp/get-state.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { public asy...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.Lync.Model; using Microsoft.Lync.Model.Conversation; using Microsoft.Lync.Model.Conversation.AudioVideo; using Microsoft.Lync.Model.Extensibility; public class Startup { public asy...
mit
C#
f8be6d789921454fac673ea4d4f15f6b9c4f70e4
Fix build
NicolasDorier/NBitcoin,MetacoSA/NBitcoin,MetacoSA/NBitcoin
NBitcoin.Tests/sample_tests.cs
NBitcoin.Tests/sample_tests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace NBitcoin.Tests { public class sample_tests { [Fact] [Trait("UnitTest", "UnitTest")] public void CanBuildSegwitP2SHMultisigTransactions() { using(var nodeBuilder = NodeBuilderEx.Create()) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Xunit; namespace NBitcoin.Tests { public class sample_tests { [Fact] [Trait("UnitTest", "UnitTest")] public void CanBuildSegwitP2SHMultisigTransactions() { using(var nodeBuilder = NodeBuilderEx.Create()) ...
mit
C#
0aecb6e6c6ea49a9f939ec968abbbbed177346e3
Rearrange vms
nigel-sampson/talks,nigel-sampson/talks
ndc-sydney/Hubb.Core/ViewModels/ShellViewModel.cs
ndc-sydney/Hubb.Core/ViewModels/ShellViewModel.cs
using System; using Caliburn.Micro; using Hubb.Core.Services; using Octokit; namespace Hubb.Core.ViewModels { public class ShellViewModel : Screen { public ShellViewModel(IHubbClient hubbClient, IEventAggregator eventAggregator) { Issues = new IssuesViewModel(hubbClient, eventAggre...
using System; using Caliburn.Micro; using Hubb.Core.Services; using Octokit; namespace Hubb.Core.ViewModels { public class ShellViewModel : Screen { public ShellViewModel(IHubbClient hubbClient, IEventAggregator eventAggregator) { Menu = new MenuViewModel(hubbClient, eventAggregato...
mit
C#
896a87e62921bfef2281a822eb20c784e3612fd2
Replace accidental tab with spaces
smoogipooo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu
osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs
osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.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.Game.Rulesets.Osu.Skinning { public enum OsuSkinConfiguration { HitCirclePrefix, HitCircleOverlap, SliderBorderSize, ...
// 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.Game.Rulesets.Osu.Skinning { public enum OsuSkinConfiguration { HitCirclePrefix, HitCircleOverlap, SliderBorderSize, ...
mit
C#
af6f2e54fd6f1bbba5f1627eafc8e7bdffb8fef1
Add execute method overload with ordering
roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University
R7.University/Queries/Query.cs
R7.University/Queries/Query.cs
// // Query.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either ver...
// // Query.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either ver...
agpl-3.0
C#
88b2a12c0942e6296f453456a42e8a7958a92488
Reduce footer height to match back button
peppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu
osu.Game/Screens/Multi/Match/Components/Footer.cs
osu.Game/Screens/Multi/Match/Components/Footer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Fram...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Fram...
mit
C#
1ac8cfa0852aff9f5c8c8e7eb3c017c2fb8c4a4e
fix #14; UnmaskRaycastFilter is not reliable
mob-sakai/UnmaskForUGUI
Scripts/UnmaskRaycastFilter.cs
Scripts/UnmaskRaycastFilter.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Coffee.UIExtensions { /// <summary> /// Unmask Raycast Filter. /// The ray passes through the unmasked rectangle. /// </summary> [AddComponentMenu("UI/Unmask/UnmaskRaycastFilter", 2)] public class Unm...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace Coffee.UIExtensions { /// <summary> /// Unmask Raycast Filter. /// The ray passes through the unmasked rectangle. /// </summary> [AddComponentMenu("UI/Unmask/UnmaskRaycastFilter", 2)] public class Unm...
mit
C#
2dd163b0acc8c62b0f5467f936f1635e2797497c
Use int
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/Puzzles/Y2021/Day16Tests.cs
tests/AdventOfCode.Tests/Puzzles/Y2021/Day16Tests.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.Puzzles.Y2021; public sealed class Day16Tests : PuzzleTest { public Day16Tests(ITestOutputHelper outp...
// 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.Puzzles.Y2021; public sealed class Day16Tests : PuzzleTest { public Day16Tests(ITestOutputHelper outp...
apache-2.0
C#
b33501dd00bbb4b39a0f3a56f3f70eb19fd81720
fix for fakeiteasy issue
wikibus/Argolis
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
src/Lernaean.Hydra.Tests/ApiDocumentation/DefaultPropertyRangeRetrievalPolicyTests.cs
using System; using System.Collections.Generic; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetrievalPolicyTests { ...
using System; using System.Collections.Generic; using System.Reflection; using FakeItEasy; using FluentAssertions; using Hydra.Discovery.SupportedProperties; using JsonLD.Entities; using TestHydraApi; using Vocab; using Xunit; namespace Lernaean.Hydra.Tests.ApiDocumentation { public class DefaultPropertyRangeRetr...
mit
C#
d81e662364763b4014782cbd04fb53600c5cc938
Switch to version 1.5.1-beta
Abc-Arbitrage/Zebus,biarne-a/Zebus
src/SharedVersionInfo.cs
src/SharedVersionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.5.1-beta")] [assembly: AssemblyFileVersion("1.5.1-beta")] [assembly: AssemblyInformationalVersion("1.5.1-beta")]
using System.Reflection; [assembly: AssemblyVersion("1.5.0")] [assembly: AssemblyFileVersion("1.5.0")] [assembly: AssemblyInformationalVersion("1.5.0")]
mit
C#
654d121051a16b4d9e93bb2ea2c3937dced8e06b
change scope
pedroreys/docs.particular.net,WojcikMike/docs.particular.net,pashute/docs.particular.net,SzymonPobiega/docs.particular.net,eclaus/docs.particular.net,yuxuac/docs.particular.net
Snippets/Snippets_5/Logging/BuiltInConfig.cs
Snippets/Snippets_5/Logging/BuiltInConfig.cs
using NServiceBus.Logging; public class BuiltInConfig { string pathToLoggingDirectory = ""; public void ChangingDefaults() { #region OverrideLoggingDefaultsInCode var defaultFactory = LogManager.Use<DefaultFactory>(); defaultFactory.Directory(pathToLoggingDirectory); def...
using NServiceBus.Logging; public class BuiltInConfig { public void ChangingDefaults() { var pathToLoggingDirectory = ""; #region OverrideLoggingDefaultsInCode var defaultFactory = LogManager.Use<DefaultFactory>(); defaultFactory.Directory(pathToLoggingDirectory); def...
apache-2.0
C#
4f1e661878ed5ccadb7a30f7db0cb094127458eb
Fix lab details page as I now use it...
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Lab/Details.cshtml
Anlab.Mvc/Views/Lab/Details.cshtml
@using Humanizer @model AnlabMvc.Models.Order.OrderReviewModel @{ ViewData["Title"] = "Details"; } <div class="col"> @Html.Partial("_OrderDetails") </div> @section AdditionalStyles { @{ await Html.RenderPartialAsync("_DataTableStylePartial"); } } @section Scripts { @{ await...
@using Humanizer @model AnlabMvc.Models.Order.OrderReviewModel @{ ViewData["Title"] = "Details"; } @Html.Partial("_OrderDetails") @section AdditionalStyles { @{ await Html.RenderPartialAsync("_DataTableStylePartial"); } } @section Scripts { @{ await Html.RenderPartialAsync("_DataTableS...
mit
C#
4250dc58c460b1109a394dd6e3036c9c66236565
Revert "Formatting comments."
mario-loza/Z.ExtensionMethods,huoxudong125/Z.ExtensionMethods,zzzprojects/Z.ExtensionMethods
test/Z.Core.Test/String.IsAnagram.cs
test/Z.Core.Test/String.IsAnagram.cs
// Copyright (c) 2015 ZZZ Projects. All rights reserved // Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) // Website: http://www.zzzprojects.com/ // Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927 // All ZZZ Projects products: Entity Framework...
// Copyright (c) 2015 ZZZ Projects. All rights reserved // Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods) // Website: http://www.zzzprojects.com/ // Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927 // All ZZZ Projects products: Entity Framework...
mit
C#
f8922624fd09d3f2f5ad0df0e6a7803117274de4
Fix comment parameter
ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework
osu.Framework/Graphics/Animations/IAnimation.cs
osu.Framework/Graphics/Animations/IAnimation.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.Graphics.Animations { /// <summary> /// An animation / playback sequence. /// </summary> public interface IAnimation { ...
// 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.Graphics.Animations { /// <summary> /// An animation / playback sequence. /// </summary> public interface IAnimation { ...
mit
C#
693d777f7b99e104a73c8b1be437723e43956759
Update Program.cs
jacobrossandersen/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in GitHub //Code was added in VS //Code to call F...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in GitHub //Code was added in VS //Code to call F...
mit
C#
6e5381cc755440289899b4c6e309e0fe14adc206
Make Wildcard class public
lukyad/Eco
Eco/Wildcard.cs
Eco/Wildcard.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Eco { // Slightly modified version of Wildcard class from here: http://www.codeproject.com/Articles/11556/Converting-Wildcards-to-Regexes // /// <summary> //...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Eco { // Slightly modified version of Wildcard class from here: http://www.codeproject.com/Articles/11556/Converting-Wildcards-to-Regexes // /// <summary> //...
apache-2.0
C#
3624ac77052fa5fa34c199de9f426a8262e8ea69
Implement WebClientIPHeader telemetry initializer
Microsoft/ApplicationInsights-aspnetcore,hackathonvixion/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,gzepeda/ApplicationInsights-aspnetcore,gzepeda/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,hackathonvixion/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetc...
src/ApplicationInsights.AspNet/DataCollection/WebClientIpHeaderTelemetryInitializer.cs
src/ApplicationInsights.AspNet/DataCollection/WebClientIpHeaderTelemetryInitializer.cs
 namespace Microsoft.ApplicationInsights.AspNet.DataCollection { using Microsoft.ApplicationInsights.Extensibility; using System; using Microsoft.ApplicationInsights.Channel; using Microsoft.Framework.DependencyInjection; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNet.Http; using Micr...
 namespace Microsoft.ApplicationInsights.AspNet.DataCollection { using Microsoft.ApplicationInsights.Extensibility; using System; using Microsoft.ApplicationInsights.Channel; using Microsoft.Framework.DependencyInjection; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.AspNet.Http; using Micr...
mit
C#
2c1793ddebee36f63d64ebf4c0aff323cb332b0f
Change hello world implementation to using the
tiesmaster/DCC,tiesmaster/DCC
Dcc/Startup.cs
Dcc/Startup.cs
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Logging; namespace Tiesmaster.Dcc { public class Startup { public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) { loggerFactory.AddCon...
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; namespace Tiesmaster.Dcc { public class Startup { public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) {...
mit
C#
2daa520ef6a36f4bebaa3913974f26290034938b
add GetEnumUnderlyingType helper
fnajera-rac-de/cecil,furesoft/cecil,joj/cecil,kzu/cecil,cgourlay/cecil,sailro/cecil,gluck/cecil,saynomoo/cecil,xen2/cecil,mono/cecil,ttRevan/cecil,jbevain/cecil,SiliconStudio/Mono.Cecil
rocks/Mono.Cecil.Rocks/TypeDefinitionRocks.cs
rocks/Mono.Cecil.Rocks/TypeDefinitionRocks.cs
// // TypeDefinitionRocks.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // 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...
// // TypeDefinitionRocks.cs // // Author: // Jb Evain (jbevain@gmail.com) // // Copyright (c) 2008 - 2010 Jb Evain // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction...
mit
C#
628a30193ff7b94c10815d1c8d8be7db7b1e4187
Remove incorrect `TrackLoaded` override from `TestWorkingBeatmap`
peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu
osu.Game/Tests/Beatmaps/TestWorkingBeatmap.cs
osu.Game/Tests/Beatmaps/TestWorkingBeatmap.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.IO; using osu.Framework.Audio; using osu.Framework.Audio.Track; using osu.Framework.Graphics.Textures; using osu.Game.Beatmaps; using osu...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.IO; using osu.Framework.Audio; using osu.Framework.Audio.Track; using osu.Framework.Graphics.Textures; using osu.Game.Beatmaps; using osu...
mit
C#
9b356ce75420384fca938c9e8f06114bf4a16583
Add comments for F.True
farity/farity
Farity/True.cs
Farity/True.cs
namespace Farity { public static partial class F { /// <summary> /// A function that takes any arguments and returns true. /// </summary> /// <param name="args">Any arguments passed to the function.</param> /// <returns>true</returns> public static bool True(para...
namespace Farity { public static partial class F { public static bool True(params object[] args) => true; } }
mit
C#
274f1b7b065a4ca149a95174605e5e6d825de560
Add multi-exit discriminator (MED) support
mstrother/BmpListener
src/BmpListener/Bgp/PathAttributeMultiExitDisc.cs
src/BmpListener/Bgp/PathAttributeMultiExitDisc.cs
using BmpListener.Utilities; namespace BmpListener.Bgp { internal class PathAttributeMultiExitDisc : PathAttribute { public uint Metric { get; private set; } public override void Decode(byte[] data, int offset) { Metric = EndianBitConverter.Big.ToUInt32(data, offset); ...
namespace BmpListener.Bgp { internal class PathAttributeMultiExitDisc : PathAttribute { public int? Metric { get; private set; } public override void Decode(byte[] data, int offset) { //Array.Reverse(data, offset, 0); //Metric = BitConverter.ToInt32(data, 0); ...
mit
C#
ea47b849492f7c16e378a5ce44e484da23c17002
Update assembly metadata.
dougludlow/umbraco-navbuilder,dougludlow/umbraco-navbuilder
src/Cob.Umb.NavBuilder/Properties/AssemblyInfo.cs
src/Cob.Umb.NavBuilder/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#
73365efd1765ec70fbf6423398b31ef8eaca348b
Add implementation details to MySQLScheamAggregator.cs
Ackara/Daterpillar
src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs
src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs
using System; using System.Data; namespace Gigobyte.Daterpillar.Data { public class MySQLSchemaAggregator : SchemaAggregatorBase { public MySQLSchemaAggregator(IDbConnection connection) : base(connection) { } protected override string GetColumnInfoQuery(string tableName) ...
using System; using System.Data; namespace Gigobyte.Daterpillar.Data { public class MySQLSchemaAggregator : SchemaAggregatorBase { public MySQLSchemaAggregator(IDbConnection connection) : base(connection) { } protected override string GetColumnInfoQuery(string tableName) ...
mit
C#
5914b10c2f3133c1a5126c2b5e5952ddfa6a8f63
fix issue with datetime converter
lurch83/RfsForChromeService
src/RfsForChrome.Service/Extensions/Extensions.cs
src/RfsForChrome.Service/Extensions/Extensions.cs
using System; using System.Globalization; namespace RfsForChrome.Service.Extensions { public static class Extensions { public static DateTime MyToDateTime(this string value) { DateTime converted; DateTime.TryParseExact(value, "dd MMM yyyy HH:mm", CultureInfo.InvariantCu...
using System; using System.Globalization; namespace RfsForChrome.Service.Extensions { public static class Extensions { public static DateTime MyToDateTime(this string value) { DateTime converted; DateTime.TryParseExact(value, "dd MMM yyyy HH:mm", CultureInfo.InvariantCu...
mit
C#
b658efe04621625fcb028c7db0adea9404b31dbb
Add image and description to playlist location
scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema
src/Schema/Playlists/Response/PlaylistLocation.cs
src/Schema/Playlists/Response/PlaylistLocation.cs
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
using System; using System.Collections.Generic; using System.Xml.Serialization; namespace SevenDigital.Api.Schema.Playlists.Response { [Serializable] public class PlaylistLocation : UserBasedUpdatableItem { [XmlAttribute("id")] public string Id { get; set; } [XmlElement("name")] public string...
mit
C#
10cef1cff7684e3e8e7425848f0f73d61f89ca4d
remove failing unit test as it requires network access
aloneguid/storage
src/Storage.Net.Tests/StorageInstantiationTest.cs
src/Storage.Net.Tests/StorageInstantiationTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Storage.Net.Blob; using Storage.Net.Blob.Files; using Storage.Net.Microsoft.Azure.Storage.Blob; using Storage.Net.Tests.Integration; using Xunit; namespace Storage.Net.Tests { public class Stor...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Storage.Net.Blob; using Storage.Net.Blob.Files; using Storage.Net.Microsoft.Azure.Storage.Blob; using Storage.Net.Tests.Integration; using Xunit; namespace Storage.Net.Tests { public class Stor...
mit
C#
53c5ae9d48de2aaa47d5f4e6bfc1b05536a102fc
Rename Wallets group to Managers group
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs
WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class ToolsMainMenuItems { private IMenuItemFactory _menuItemFactory; [ImportingConstructor] public ToolsMai...
using AvalonStudio.MainMenu; using AvalonStudio.Menus; using System; using System.Collections.Generic; using System.Composition; using System.Text; namespace WalletWasabi.Gui.Shell.MainMenu { internal class ToolsMainMenuItems { private IMenuItemFactory _menuItemFactory; [ImportingConstructor] public ToolsMai...
mit
C#
3436843a0ad293669050bac5f8717c300211b5d1
Reorder tray menu
zr40/kyru-dotnet,zr40/kyru-dotnet
Kyru/Program.cs
Kyru/Program.cs
using System; using System.Drawing; using System.Windows.Forms; using Kyru.Core; using Kyru.Utilities; namespace Kyru { internal static class Program { private static KyruApplication app; private static NotifyIcon trayIcon; private static ContextMenu trayMenu; [STAThread] private stati...
using System; using System.Drawing; using System.Windows.Forms; using Kyru.Core; using Kyru.Utilities; namespace Kyru { internal static class Program { private static KyruApplication app; private static NotifyIcon trayIcon; private static ContextMenu trayMenu; [STAThread] private stati...
bsd-3-clause
C#
26cb77e8885cbdfea65bdf946eeed7401a7dde71
Fix a crash opening the text tool.
PintaProject/Pinta,PintaProject/Pinta,PintaProject/Pinta
Pinta.Core/Managers/FontManager.cs
Pinta.Core/Managers/FontManager.cs
// // FontManager.cs // // Authors: // Olivier Dufour <olivier.duff@gmail.com> // Jonathan Pobst <monkey@jpobst.com> // // Copyright (c) 2010 Jonathan Pobst // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
// // FontManager.cs // // Authors: // Olivier Dufour <olivier.duff@gmail.com> // Jonathan Pobst <monkey@jpobst.com> // // Copyright (c) 2010 Jonathan Pobst // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
mit
C#
4fdddd8c79fc11313eaa9335bdb765dd584723b0
Delete file in setup
Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java
net/Azure.Storage.Blobs.PerfStress/UploadTest.cs
net/Azure.Storage.Blobs.PerfStress/UploadTest.cs
using Azure.Storage.Blobs.PerfStress.Core; using System.Threading; using System.Threading.Tasks; namespace Azure.Storage.Blobs.PerfStress { public class UploadTest : ParallelTransferTest<ParallelTransferOptionsOptions> { public UploadTest(ParallelTransferOptionsOptions options) : base(options) ...
using Azure.Storage.Blobs.PerfStress.Core; using System.Threading; using System.Threading.Tasks; namespace Azure.Storage.Blobs.PerfStress { public class UploadTest : ParallelTransferTest<ParallelTransferOptionsOptions> { public UploadTest(ParallelTransferOptionsOptions options) : base(options) ...
mit
C#
e6f91d858cd8def9b38967bcb308edb0a3353dba
Update tests
vivet/GoogleApi
GoogleApi.Test/BaseTest.cs
GoogleApi.Test/BaseTest.cs
namespace GoogleApi.Test { public abstract class BaseTest { public string _apiKey = ""; // your API key goes here... } }
namespace GoogleApi.Test { public abstract class BaseTest { public string _apiKey = "AIzaSyCh-Kr-9s7LSJPLflpk8k2BvLjEetm0laE"; // your API key goes here... } }
mit
C#
806e531d5cd3843463df23efe9e43f0d5a5f55f9
Update in line with merge
EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework
osu.Framework/IO/Stores/TimedExpiryGlyphStore.cs
osu.Framework/IO/Stores/TimedExpiryGlyphStore.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. // 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....
// 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. // 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....
mit
C#
00493127eaf3c958a9163c414980b508bcff8100
Fix nullref when no Icon is supplied
denxorz/HotChocolatey
HotChocolatey/ChocoItem.cs
HotChocolatey/ChocoItem.cs
 using System; using System.ComponentModel; using NuGet; using System.IO; namespace HotChocolatey { [Magic] public class ChocoItem : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public IPackage Package { get; } public string Name => P...
 using System; using System.ComponentModel; using NuGet; using System.IO; namespace HotChocolatey { [Magic] public class ChocoItem : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public IPackage Package { get; } public string Name => P...
mit
C#
f9c72c764604fb11f8cf828422eb60558b723f81
Remove the label as you can not see it when running the app
ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-frame...
SampleGame.Android/MainActivity.cs
SampleGame.Android/MainActivity.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Android.App; using Android.OS; using Android.Content.PM; using Android.Views; namespace SampleGame.Android { [Activity(ConfigurationChanges = Confi...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using Android.App; using Android.OS; using Android.Content.PM; using Android.Views; namespace SampleGame.Android { [Activity(Label = "SampleGame", Config...
mit
C#
d8ba4a257df26dafd2f8c9e4734d1351d017148f
Use SystemTime in logging
D3-LucaPiombino/NEventStore,chris-evans/NEventStore,marcoaoteixeira/NEventStore,adamfur/NEventStore,paritoshmmmec/NEventStore,AGiorgetti/NEventStore,NEventStore/NEventStore,nerdamigo/NEventStore,gael-ltd/NEventStore,jamiegaines/NEventStore,deltatre-webplu/NEventStore
src/proj/EventStore.Core/Logging/ExtensionMethods.cs
src/proj/EventStore.Core/Logging/ExtensionMethods.cs
namespace EventStore.Logging { using System; using System.Globalization; using System.Threading; internal static class ExtensionMethods { private const string MessageFormat = "{0:yyyy/MM/dd HH:mm:ss.ff} - {1} - {2} - {3}"; public static string FormatMessage(this string message, Type typeToLog, params object[...
namespace EventStore.Logging { using System; using System.Globalization; using System.Threading; internal static class ExtensionMethods { private const string MessageFormat = "{0:yyyy/MM/dd HH:mm:ss.ff} - {1} - {2} - {3}"; public static string FormatMessage(this string message, Type typeToLog, params object[...
mit
C#
7a123c6079d1febb8372c7773bf6ee8b108496fe
Fix whitespace
rdingwall/MondoUniversalWindowsSample
SchedulerService.cs
SchedulerService.cs
using System.Reactive.Concurrency; namespace MondoUniversalWindowsSample { public interface ISchedulerService { IScheduler Dispatcher { get; } IScheduler TaskPool { get; } } public sealed class SchedulerService : ISchedulerService { public IScheduler Dispatcher { get; } =...
using System.Reactive.Concurrency; namespace MondoUniversalWindowsSample { public interface ISchedulerService { IScheduler Dispatcher { get; } IScheduler TaskPool { get; } } public sealed class SchedulerService : ISchedulerService { public IScheduler Dispatcher { get; } =...
mit
C#
1eefb245881f284d78313876f34470c525c6876f
Create docs for ProxySettings
extremecodetv/SocksSharp
src/SocksSharp/Proxy/ProxySettings.cs
src/SocksSharp/Proxy/ProxySettings.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace SocksSharp.Proxy { /// <summary> /// Represents the settings for <see cref="ProxyClient{T}"/> /// </summary> public class ProxySettings : IProxySettings, IPr...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace SocksSharp.Proxy { public class ProxySettings : IProxySettings, IProxySettingsFluent { public NetworkCredential Credentials { get; set; } public str...
mit
C#
b046301486d6c15ad4fcfc3e5e20621d75984343
Fix map roundtrip issues
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Data/Map/ScriptCondition.cs
src/OpenSage.Game/Data/Map/ScriptCondition.cs
using System.IO; using OpenSage.Data.Utilities.Extensions; namespace OpenSage.Data.Map { public sealed class ScriptCondition : ScriptContent<ScriptCondition, ScriptConditionType> { public const string AssetName = "Condition"; private const ushort MinimumVersionThatHasInternalName = 4; ...
using System.IO; using OpenSage.Data.Utilities.Extensions; namespace OpenSage.Data.Map { public sealed class ScriptCondition : ScriptContent<ScriptCondition, ScriptConditionType> { public const string AssetName = "Condition"; private const ushort MinimumVersionThatHasInternalName = 4; ...
mit
C#
156de9f8c449f34f7ff032115edd3d0a90053adb
Remove unused variable.
eylvisaker/AgateLib
AgateLib/UserInterface/Content/Commands/SetTextScale.cs
AgateLib/UserInterface/Content/Commands/SetTextScale.cs
// // Copyright (c) 2006-2018 Erik Ylvisaker // // 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...
// // Copyright (c) 2006-2018 Erik Ylvisaker // // 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...
mit
C#
1f0efdb310bb5afe621d237089e754578ab80dad
comment about PR fixed
xamarin/Xamarin.Auth,xamarin/Xamarin.Auth,xamarin/Xamarin.Auth
source/Xamarin.Auth.LinkSource/AccountResult.cs
source/Xamarin.Auth.LinkSource/AccountResult.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xamarin.Auth { // Pull Request - manually added/fixed // Added IsAuthenticated check #88 // https://github.com/xamarin/Xamarin.Auth/pull/88 public partial class AccountResult...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Xamarin.Auth { // Pull Request - manually added/fixed // Marshalled NavigationService.GoBack to UI Thread #94 // https://github.com/xamarin/Xamarin.Auth/pull/88 public partial class Acco...
apache-2.0
C#
31e96e46c4a291c6e888748d57f9eda782a6494c
同步调整版本号。 :rabbit:
Zongsoft/Zongsoft.Terminals.Launcher
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Zongsoft.Terminals.Launcher")] [assembly: AssemblyDescription("Zongsoft Terminals Launcher")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Zongsoft Corporation")] [assem...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Zongsoft.Terminals.Launcher")] [assembly: AssemblyDescription("Zongsoft Terminals Launcher")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Zongsoft Corporation")] [assem...
mit
C#
b24c875ad019cf321d9b18e7e8bfd49e858af95a
Bump the protocol version to 0x1343
IceYGO/ygosharp
YGOSharp/Program.cs
YGOSharp/Program.cs
#if !DEBUG using System; using System.IO; #endif using System.Threading; using YGOSharp.OCGWrapper; namespace YGOSharp { public class Program { public static uint ClientVersion = 0x1343; public static void Main(string[] args) { #if !DEBUG try {...
#if !DEBUG using System; using System.IO; #endif using System.Threading; using YGOSharp.OCGWrapper; namespace YGOSharp { public class Program { public static uint ClientVersion = 0x133D; public static void Main(string[] args) { #if !DEBUG try {...
mit
C#
b1557fcd517db7b1809be8ceecdc68db9ae65937
Extend RelayCommand
stadub/WinClipboardApi,stadub/WinClipboardApi,stadub/WinClipboardApi
Utils.Wpf/MvvmBase/RelayCommand.cs
Utils.Wpf/MvvmBase/RelayCommand.cs
using System; using System.Windows.Input; namespace Utils.Wpf.MvvmBase { public class RelayCommand : IRelayCommand { private readonly Action execute; private readonly Func<bool> canExecute; private bool status; public RelayCommand(Action execute, Func<bool> canExecute = null) ...
using System; using System.Windows.Input; namespace Utils.Wpf.MvvmBase { public class RelayCommand : ICommand { private readonly Action execute; private readonly Func<bool> canExecute; private bool status; public RelayCommand(Action execute, Func<bool> canExecute = null) ...
bsd-3-clause
C#
97e106dc7fa32e772d5edc324a2766fb5b64611a
Optimize jQuery code.
Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly,Dissolving-in-Eternity/Vidly
Vidly/Views/Customers/Index.cshtml
Vidly/Views/Customers/Index.cshtml
@model IEnumerable<Vidly.Models.Customer> @{ ViewBag.Title = "Customers"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Customers</h2> @if (!Model.Any()) { <p>We don't have any customers yet.</p> } else { <table id="customers" class="table table-bordered table-hover"> <thead> <tr...
@model IEnumerable<Vidly.Models.Customer> @{ ViewBag.Title = "Customers"; Layout = "~/Views/Shared/_Layout.cshtml"; } <h2>Customers</h2> @if (!Model.Any()) { <p>We don't have any customers yet.</p> } else { <table id="customers" class="table table-bordered table-hover"> <thead> <tr...
mit
C#
8056f4834b49353ac4e3f6085817d2a5de4b34b4
Add apply extension method to CollectionExtensions
hossmi/qtfk
QTFK.Core/Extensions/Collections/CollectionExtension.cs
QTFK.Core/Extensions/Collections/CollectionExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QTFK.Extensions.Collections { public static class CollectionExtension { public static ICollection<T> Push<T>(this ICollection<T> items, T item) { items.Add(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QTFK.Extensions.Collections { public static class CollectionExtension { public static ICollection<T> Push<T>(this ICollection<T> items, T item) { items.Add(...
mit
C#
b0953c7924977b1d0561a5aa264579710d26f1e5
Update version message
zumicts/Audiotica
Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs
Apps/Audiotica.WindowsPhone/View/HomePage.xaml.cs
#region using Windows.Storage; using Windows.UI.Popups; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Navigation; using IF.Lastfm.Core.Objects; #endregion namespace Audiotica.View { public sealed partial class HomePage { public HomePage() { In...
#region using Windows.Storage; using Windows.UI.Popups; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Navigation; using IF.Lastfm.Core.Objects; #endregion namespace Audiotica.View { public sealed partial class HomePage { public HomePage() { In...
apache-2.0
C#
01d81fc388cf425e3164a4643896acfa8ff95911
Update MetricsEndpointHandler.cs
toolhouse/monitoring-dotnet
Toolhouse.Monitoring/Handlers/MetricsEndpointHandler.cs
Toolhouse.Monitoring/Handlers/MetricsEndpointHandler.cs
using System; using System.Web; using Prometheus; using Prometheus.Advanced; namespace Toolhouse.Monitoring.Handlers { /// <summary> /// IHttpHandler implementation that provides a Prometheus metrics scraping endpoint. /// </summary> public class MetricsEndpointHandler : AbstractHttpHandler...
using System; using System.Web; using Prometheus; using Prometheus.Advanced; namespace Toolhouse.Monitoring.Handlers { /// <summary> /// IHttpHandler implementation that provides a Prometheus metrics scraping endpoint. /// </summary> class MetricsEndpointHandler : AbstractHttpHandler {...
apache-2.0
C#
f991a040545f4730f4785fa3599d7bf628fe5205
disable parallel tests
SamuelDebruyn/MugenMvvmToolkit.DryIoc,SamuelDebruyn/MugenMvvmToolkit.DryIoc
MugenMvvmToolkit.DryIoc.Tests/ContainerFixture.cs
MugenMvvmToolkit.DryIoc.Tests/ContainerFixture.cs
using System; using Xunit; [assembly: CollectionBehavior(DisableTestParallelization = true)] namespace MugenMvvmToolkit.DryIoc.Tests { public class ContainerFixture : IDisposable { public DryIocContainer DryIocContainer { get; private set; } public ContainerFixture() { Res...
using System; namespace MugenMvvmToolkit.DryIoc.Tests { public class ContainerFixture : IDisposable { public DryIocContainer DryIocContainer { get; private set; } public ContainerFixture() { Reset(); } public void Reset() { DryIocContai...
mit
C#