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
cf0b63ccddde23e7ab98f37cff12dee63f30d958
Apply SqliteForeignKeyIndexConvention right after the ForeignKeyIndexConvetion.
liujunhua/SQLiteCodeFirst,msallin/SQLiteCodeFirst
SQLite.CodeFirst/SqliteInitializerBase.cs
SQLite.CodeFirst/SqliteInitializerBase.cs
using System; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; using SQLite.CodeFirst.Convention; namespace SQLite.CodeFirst { public abstract class SqliteInitializerBase<TContext> : IDatabaseInitializer<TContext> where TContext : DbContext { protected readon...
using System; using System.Data.Entity; using System.Data.Entity.ModelConfiguration.Conventions; namespace SQLite.CodeFirst { public abstract class SqliteInitializerBase<TContext> : IDatabaseInitializer<TContext> where TContext : DbContext { protected readonly DbModelBuilder ModelBuilder; ...
apache-2.0
C#
e158aa2435fcc285bd100ac361244243e9c6f6da
add ET support for number literals
maul-esel/CobaltAHK,maul-esel/CobaltAHK
CobaltAHK/ExpressionTree/Generator.cs
CobaltAHK/ExpressionTree/Generator.cs
using System; using System.Collections.Generic; using DLR = System.Linq.Expressions; using CobaltAHK.Expressions; namespace CobaltAHK.ExpressionTree { public static class Generator { public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings) { if (expr is FunctionCallExpressi...
using System; using System.Collections.Generic; using DLR = System.Linq.Expressions; using CobaltAHK.Expressions; namespace CobaltAHK.ExpressionTree { public static class Generator { public static DLR.Expression Generate(Expression expr, Scope scope, ScriptSettings settings) { if (expr is FunctionCallExpressi...
mit
C#
f9fbd56fea7499617883faac4994cd41eff0a1e2
Update CarroController.cs
cayodonatti/TopGearApi
TopGearApi/Controllers/CarroController.cs
TopGearApi/Controllers/CarroController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using TopGearApi.DataAccess; using TopGearApi.Domain.Models; using TopGearApi.Models; namespace TopGearApi.Controllers { public class CarroController : TController<Carro> ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using TopGearApi.DataAccess; using TopGearApi.Domain.Models; using TopGearApi.Models; namespace TopGearApi.Controllers { public class CarroController : TController<Carro> ...
mit
C#
452b2c3463fe5002beb192303dbcc59983c1d441
add more pattern
autumn009/TanoCSharpSamples
chap36/PatternMatching/PatternMatching/Program.cs
chap36/PatternMatching/PatternMatching/Program.cs
using System; using System.Linq; class Program { static bool IsLetterOld(char c) => c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'; static bool IsLetterNew(char c) => c is >= 'a' and <= 'z' or >= 'A' and <= 'Z'; static void Main() { // and/or sample for (int i = 0; i < 0xff; i++) Console...
using System; class Program { static bool IsLetterOld(char c) => c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z'; static bool IsLetterNew(char c) => c is >= 'a' and <= 'z' or >= 'A' and <= 'Z'; static void Main() { // and/or sample for (int i = 0; i < 0xff; i++) Console.Write($"{(IsLetter...
mit
C#
3525128742cddbfc7799f9aa0483ea43b73c62a0
Fix folder name for toolbar icon
DMagic1/KSP_Contract_Window,Kerbas-ad-astra/KSP_Contract_Window
Toolbar/contractToolbar.cs
Toolbar/contractToolbar.cs
#region license /*The MIT License (MIT) Contract Toolbar- Addon for toolbar interface Copyright (c) 2014 DMagic KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
#region license /*The MIT License (MIT) Contract Toolbar- Addon for toolbar interface Copyright (c) 2014 DMagic KSP Plugin Framework by TriggerAu, 2014: http://forum.kerbalspaceprogram.com/threads/66503-KSP-Plugin-Framework Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar...
mit
C#
2000aaa4aa572699e80d6d4154e9d8d889b58bdb
Bump version to 3.3
jcheng31/DarkSkyApi,jcheng31/ForecastPCL
DarkSkyApi/Properties/AssemblyInfo.cs
DarkSkyApi/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. [asse...
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. [asse...
mit
C#
7472ec4e451372d7e445e4d3b02485c41240ab25
Fix thet WarriorSkillPanel remains bright when player died during using space
bunashibu/kikan
Assets/Scripts/Canvas/Skill/Unique/WarriorSkillPanel.cs
Assets/Scripts/Canvas/Skill/Unique/WarriorSkillPanel.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; namespace Bunashibu.Kikan { public class WarriorSkillPanel : SkillPanel { public void Register(Hammer hammer) { base.Register(hammer); hammer.IsAcceptingCtrlBreak .Where(isAccepting => isAccepting) ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UniRx; namespace Bunashibu.Kikan { public class WarriorSkillPanel : SkillPanel { public void Register(Hammer hammer) { base.Register(hammer); hammer.IsAcceptingCtrlBreak .Where(isAccepting => isAccepting) ...
mit
C#
fbba6538d9687853e73fea162c3ac6524bba94f3
Load Context from file (step 1)
GGProductions/LetterStorm,GGProductions/LetterStorm,GGProductions/LetterStorm
Assets/Scripts/Context.cs
Assets/Scripts/Context.cs
using UnityEngine; using System.Collections; using GGProductions.LetterStorm.Data.Collections; using GGProductions.LetterStorm.Data; using GGProductions.LetterStorm.Utilities; public class Context : MonoBehaviour { #region Pathfinding Variables --------------------------------------------- // Boss word hint ...
using UnityEngine; using System.Collections; public class Context : MonoBehaviour { // Static variables to track in-game information // Tracks player lives public static int PlayerLives; // Player inventory public static Inventory PlayerInventory; // Stores the alphabet for efficient codin...
mit
C#
99c5b77dc66a603df29ed6e7820e8f43c0a66180
Fix whitespace
dipeshc/BTDeploy
src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs
src/MonoTorrent/MonoTorrent.Tracker/Listeners/ManualListener.cs
using System; using System.Collections.Generic; using System.Text; using MonoTorrent.BEncoding; using System.Net; namespace MonoTorrent.Tracker.Listeners { public class ManualListener : ListenerBase { private bool running; public override bool Running { get { ...
using System; using System.Collections.Generic; using System.Text; using MonoTorrent.BEncoding; using System.Net; namespace MonoTorrent.Tracker.Listeners { public class ManualListener : ListenerBase { private bool running; public override bool Running { get { return running; } } pub...
mit
C#
649f30929c90202381c77b2ffcdd4c3656e8f523
Change SaveOrUpdateAsync to return the entity as the async natur will not know the result.
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs
using System.Collections.Generic; using System.Threading.Tasks; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo { public interface IRepository<TEntity, TPk> where TEntity : class { TEntity GetKey(TPk key, ISession session); TEn...
using System.Collections.Generic; using System.Threading.Tasks; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo { public interface IRepository<TEntity, TPk> where TEntity : class { TEntity GetKey(TPk key, ISession session); TEn...
mit
C#
692fe7f1b4131b15034f2f7c71792602ee54baea
test commit from stefan
abmes/UnityExtensions
Semba.UnityExtensions/UnityContainerExtensionMethods.cs
Semba.UnityExtensions/UnityContainerExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Unity; namespace Semba.UnityExtensions { public static class UnityContainerExtensionMethods { public static IUnityContainer RegisterTypeSingleton<TFr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Unity; namespace Semba.UnityExtensions { public static class UnityContainerExtensionMethods { public static IUnityContainer RegisterTypeSingleton<TFr...
mit
C#
1f8a6492a3bd4eab9b2df9e725973ce0a2c87caf
Update build.cake
predictive-technology-laboratory/Xamarin.Plugins,jamesmontemagno/Xamarin.Plugins
Geolocator/build.cake
Geolocator/build.cake
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "NuGetPack")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Geolocator.sln"; const string cfg = "Release"; NuGetRestore (sln); ...
#addin "Cake.FileHelpers" var TARGET = Argument ("target", Argument ("t", "Build")); var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999"); Task ("Build").Does (() => { const string sln = "./Geolocator.sln"; const string cfg = "Release"; NuGetRestore (sln); if (...
mit
C#
d938478f52961cda9d51f69fbbf0c9f714ab31f1
Update Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityEyeGazeProvider.cs
killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityEyeGazeProvider.cs
Assets/MixedRealityToolkit/Interfaces/InputSystem/IMixedRealityEyeGazeProvider.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// Implements the Gaze Provider for an Input Source. //...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System; using UnityEngine; namespace Microsoft.MixedReality.Toolkit.Input { /// <summary> /// Implements the Gaze Provider for an Input Source. //...
mit
C#
d54d039e5beb72f8522b9270730a4163ce63d945
Add log project.
bzshang/PIFitness.Main
PIFitness.Fitbit/FitbitTableReader.cs
PIFitness.Fitbit/FitbitTableReader.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OSIsoft.AF.Asset; using PIFitness.Entities; using PIFitness.Common.Interfaces; using PIFitness.Log; using System.Diagnostics; namespace PIFitness.Fitbit { public class FitbitTableReader : IT...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using OSIsoft.AF.Asset; using PIFitness.Entities; using PIFitness.Common.Interfaces; namespace PIFitness.Fitbit { public class FitbitTableReader : ITableReader<UserEntry> { private Use...
apache-2.0
C#
89bf7b1bd669d83e57b6f299b0489e8cd950b1ab
Resolve CA1835 inspection
NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,NeoAdonis/osu
osu.Game/IO/Archives/ArchiveReader.cs
osu.Game/IO/Archives/ArchiveReader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using osu.Framework.IO.Stores; namespace osu.Game.IO.Archives { public abstract cla...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.IO; using System.Threading.Tasks; using osu.Framework.IO.Stores; namespace osu.Game.IO.Archives { public abstract cla...
mit
C#
311fae95a1c53faf1da56b79ea8dbc2ba677fe35
fix loading setting
shrimpz/slua,luzexi/slua-3rd,haolly/slua_source_note,mr-kelly/slua,haolly/slua_source_note,haolly/slua_source_note,yaukeywang/slua,shrimpz/slua,pangweiwei/slua,Roland0511/slua,jiangzhhhh/slua,pangweiwei/slua,mr-kelly/slua,pangweiwei/slua,luzexi/slua-3rd-lib,Roland0511/slua,soulgame/slua,soulgame/slua,Roland0511/slua,lu...
Assets/Plugins/Slua_Managed/SLuaSetting.cs
Assets/Plugins/Slua_Managed/SLuaSetting.cs
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // 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...
// The MIT License (MIT) // Copyright 2015 Siney/Pangweiwei siney@yeah.net // // 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...
mit
C#
99ba598b2b3a8b66d1a2230b3361d0e2abc0aa6b
Fix incorrect project file type description
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
resharper/resharper-unity/src/Unity/Yaml/ProjectModel/MetaProjectFileType.cs
resharper/resharper-unity/src/Unity/Yaml/ProjectModel/MetaProjectFileType.cs
using JetBrains.Annotations; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration; using JetBrains.ReSharper.Plugins.Yaml.ProjectModel; #nullable enable namespace JetBrains.ReSharper.Plugins.Unity.Yaml.ProjectModel { [ProjectFileTypeDefinition(Name)] public class MetaPr...
using JetBrains.Annotations; using JetBrains.ProjectModel; using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration; using JetBrains.ReSharper.Plugins.Yaml.ProjectModel; #nullable enable namespace JetBrains.ReSharper.Plugins.Unity.Yaml.ProjectModel { [ProjectFileTypeDefinition(Name)] public class MetaPr...
apache-2.0
C#
258a19fdf5b1ff6ced2ca2e59c0ddc8fd217ca0c
Make CSP more specific for docs
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Home/SwaggerDocs.cshtml
BTCPayServer/Views/Home/SwaggerDocs.cshtml
@inject BTCPayServer.Security.ContentSecurityPolicies csp @{ Layout = null; csp.Add("script-src", "https://cdn.jsdelivr.net"); csp.Add("worker-src", "blob: self"); } <!DOCTYPE html> <html> <head> <title>BTCPay Server Greenfield API</title> <!-- needed for adaptive design --> <meta charset="utf-8...
@inject BTCPayServer.Security.ContentSecurityPolicies csp @{ Layout = null; csp.Add("script-src", "https://cdn.jsdelivr.net"); csp.Add("worker-src", "blob:"); } <!DOCTYPE html> <html> <head> <title>BTCPay Server Greenfield API</title> <!-- needed for adaptive design --> <meta charset="utf-8" /> ...
mit
C#
ccbced0824fad5e888f65c6b00d5301f9d296e05
Fix up versions in AssemblyInfoStatic
tmds/Tmds.DBus
AssemblyInfoStatic.cs
AssemblyInfoStatic.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details // This AssemblyInfo file is used in builds that aren't driven by autoconf, eg. Visual Studio using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyFileVersion...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details // This AssemblyInfo file is used in builds that aren't driven by autoconf, eg. Visual Studio using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyFileVersion...
mit
C#
1bea5466a81b3a32513949a7007920be39f59ecf
bump version
JakeGinnivan/GitVersion,distantcam/GitVersion,dpurge/GitVersion,pascalberger/GitVersion,GeertvanHorrik/GitVersion,orjan/GitVersion,ParticularLabs/GitVersion,DanielRose/GitVersion,dpurge/GitVersion,Philo/GitVersion,dazinator/GitVersion,anobleperson/GitVersion,TomGillen/GitVersion,asbjornu/GitVersion,openkas/GitVersion,J...
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("GitFlowVersion")] [assembly: AssemblyProduct("GitFlowVersion")] [assembly: AssemblyVersion("0.14.0")] [assembly: AssemblyFileVersion("0.14.0")] [assembly: InternalsVisibleTo("Tests")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyTitle("GitFlowVersion")] [assembly: AssemblyProduct("GitFlowVersion")] [assembly: AssemblyVersion("0.13.0")] [assembly: AssemblyFileVersion("0.13.0")] [assembly: InternalsVisibleTo("Tests")]
mit
C#
42bf4764d8ffcd3d67a838d3b97fceebf93fa681
Fix escaping
Microsoft/VisualStudio-TestHost,zooba/VisualStudio-TestHost
VSTestHost/Properties/AssemblyInfo.cs
VSTestHost/Properties/AssemblyInfo.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
apache-2.0
C#
94bc8b00a77242f721adf6918ac1a9e26433ab78
update DecodeEntityBase
lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiX...
src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs
src/Senparc.Weixin.WxOpen/src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Entities/Watermark.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Senparc.Weixin.Helpers; namespace Senparc.Weixin.WxOpen.Entities { public class DecodeEntityBase { public Watermark watermark { get; set; } } public class Watermark { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Senparc.Weixin.WxOpen.Entities { public class DecodeEntityBase { public Watermark watermark { get; set; } } public class Watermark { public string appid { ...
apache-2.0
C#
9cb667183a5e1dced497e6571a72c35f95816c3c
Create damage value field
bartlomiejwolk/Health
DamageComponent/Damage.cs
DamageComponent/Damage.cs
using UnityEngine; using System.Collections; using HealthEx.HealthComponent; namespace HealthEx.DamageComponent { public sealed class Damage : MonoBehaviour { #region CONSTANTS public const string Version = "v0.1.0"; public const string Extension = "Health"; #endregion ...
using UnityEngine; using System.Collections; namespace HealthEx.DamageComponent { public sealed class Damage : MonoBehaviour { #region CONSTANTS public const string Version = "v0.1.0"; public const string Extension = "Health"; #endregion #region DELEGATES #endr...
mit
C#
6ca099ff17bb6734de780021a7c1c507341e2ac9
Fix a typo in a view
adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats
Database.Migrations/Migrations/2-TodaysTestResultsView.cs
Database.Migrations/Migrations/2-TodaysTestResultsView.cs
using BroadbandSpeedStats.Database.Schema; using FluentMigrator; namespace BroadbandSpeedTests.Database.Migrations.Migrations { [Migration(20170228)] public class TodaysTestResultsView : Migration { public override void Up() { Execute.Sql($@" CREATE VIEW [{Views.TodaysTestResul...
using BroadbandSpeedStats.Database.Schema; using FluentMigrator; namespace BroadbandSpeedTests.Database.Migrations.Migrations { [Migration(20170228)] public class TodaysTestResultsView : Migration { public override void Up() { Execute.Sql($@" CREATE VIEW [{Views.TodaysTestResul...
mit
C#
4bbcfdbe8a8e9d19cc7966e5abf93d151f6f65e7
Fix of substring bug
ErikEJ/EntityFramework7.SqlServerCompact,ErikEJ/EntityFramework.SqlServerCompact
src/Provider40/Query/ExpressionTranslators/Internal/SqlCeStringSubstringTranslator.cs
src/Provider40/Query/ExpressionTranslators/Internal/SqlCeStringSubstringTranslator.cs
using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.Data.Entity.Query.Expressions; namespace Microsoft.Data.Entity.Query.ExpressionTranslators.Internal { public class SqlCeStringSubstringTranslator : IMethodCallTranslator { private static readonly MethodInfo _met...
using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.Data.Entity.Query.Expressions; namespace Microsoft.Data.Entity.Query.ExpressionTranslators.Internal { public class SqlCeStringSubstringTranslator : IMethodCallTranslator { private static readonly MethodInfo _met...
apache-2.0
C#
44e354d680b7e316561f26aa86aa1e87860dffcf
Remove useless default constructor from SortDeclarationsPass.
SonyaSa/CppSharp,imazen/CppSharp,mydogisbox/CppSharp,nalkaro/CppSharp,mono/CppSharp,imazen/CppSharp,Samana/CppSharp,ktopouzi/CppSharp,nalkaro/CppSharp,imazen/CppSharp,ddobrev/CppSharp,Samana/CppSharp,ddobrev/CppSharp,xistoso/CppSharp,ktopouzi/CppSharp,imazen/CppSharp,mohtamohit/CppSharp,xistoso/CppSharp,ddobrev/CppShar...
src/Generator/Passes/SortDeclarationsPass.cs
src/Generator/Passes/SortDeclarationsPass.cs
using CppSharp.AST; using CppSharp.Types; namespace CppSharp.Passes { class SortDeclarationsPass : TranslationUnitPass { private static void SortDeclarations(Namespace @namespace) { @namespace.Classes.Sort((c, c1) => (int)(c.DefinitionOrder - c1....
using CppSharp.AST; using CppSharp.Types; namespace CppSharp.Passes { class SortDeclarationsPass : TranslationUnitPass { public SortDeclarationsPass() { } private static void SortDeclarations(Namespace @namespace) { @namespace.Classes.Sort((c, ...
mit
C#
5a829b698f1d817d73bdde534745099a8129c049
implement settings storage/retrieval for ChargeUtils
innerfence/chargedemo-windows
InnerFence.ChargeDemo.Phone/ChargeAPI/ChargeUtilsPhone.cs
InnerFence.ChargeDemo.Phone/ChargeAPI/ChargeUtilsPhone.cs
using System; using System.Collections.Generic; using System.IO.IsolatedStorage; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InnerFence.ChargeAPI { public static partial class ChargeUtils { public static void DeleteLocalData(string key) { IsolatedS...
using System; using System.Collections.Generic; using System.IO.IsolatedStorage; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InnerFence.ChargeAPI { public static partial class ChargeUtils { public static void DeleteLocalData(string key) { throw new...
mit
C#
40dc833aa66bfa9d5234bd92bd9140e6f30d6c06
Improve logic for retrieving enum value description.
Saritasa/SaritasaTools,krasninja/SaritasaTools,krasninja/SaritasaTools
src/Saritasa.Tools.Common/Utils/EnumUtils.cs
src/Saritasa.Tools.Common/Utils/EnumUtils.cs
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; #if NET40 || NET452 || NET461 using System.Collections.Generic; using System.ComponentModel; #endif using System.Linq; using System.Reflection;...
// Copyright (c) 2015-2017, Saritasa. All rights reserved. // Licensed under the BSD license. See LICENSE file in the project root for full license information. using System; #if NET40 || NET452 || NET461 using System.Collections.Generic; using System.ComponentModel; #endif using System.Linq; using System.Reflection;...
bsd-2-clause
C#
becb65f702c2c1ed33ec963983d2f9969083fdf6
Fix ParallaxContainer breaking with no mouse state present.
naoey/osu,ppy/osu,theguii/osu,RedNesto/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,Frontear/osuKyzer,NotKyon/lolisu,johnneijzen/osu,Damnae/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,Drezi126/osu,NeoAdonis/osu,osu-RP/osu-RP,2yangk23/osu,smoogipoo/osu,tacchinotacchi/osu,DrabWeb/osu,ppy/osu,naoey/osu,default0/osu,Nabil...
osu.Game/Graphics/Containers/ParallaxContainer.cs
osu.Game/Graphics/Containers/ParallaxContainer.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Framework.Input; using OpenTK; using osu.Framework; using osu.Framework.Allocat...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics.Containers; using osu.Framework.Graphics; using osu.Framework.Input; using OpenTK; using osu.Framework; using osu.Framework.Allocat...
mit
C#
a4d4efc312317f2a51e5a5624ee4901b582dc403
Fix missing comments
smoogipoo/osu,2yangk23/osu,smoogipooo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu
osu.Game/Rulesets/Mods/IApplicableToDifficulty.cs
osu.Game/Rulesets/Mods/IApplicableToDifficulty.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; namespace osu.Game.Rulesets.Mods { /// <summary> /// An interface for mods that make general adjustments to difficulty. /// </summa...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Beatmaps; namespace osu.Game.Rulesets.Mods { /// <summary> /// An interface for mods that make general adjustments to difficulty. /// </summa...
mit
C#
e86834b74060d5fc7e2e9314142316b74ccf821b
Use local bound copy for `HiddenIssueTypes`
smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu
osu.Game/Screens/Edit/Verify/VisibilitySection.cs
osu.Game/Screens/Edit/Verify/VisibilitySection.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.Game.Overlays; using osu.Game.Overlays.Settings; using osu.Game.Rulesets.Edit.Checks.Components; ...
// 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.Game.Overlays; using osu.Game.Overlays.Settings; using osu.Game.Rulesets.Edit.Checks.Components; ...
mit
C#
c15b3d01b7086b43ffa5a8772330a85b4d8266dd
Update HttpStringDecodeFilter.cs
CypressNorth/.NET-WebApi-HttpStringDecodeFilter
HttpStringDecodeFilter.cs
HttpStringDecodeFilter.cs
using System; using System.Net; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace CN.WebApi.Filters { public class HttpStringDecodeFilter : ActionFilterAttribute { public override void OnActionExecuting(HttpActionContext actionContext) { ...
using System; using System.Net; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Filters; namespace CN.WebApi.Filters { public class DecodeFilter : ActionFilterAttribute { public override void OnActionExecuting(HttpActionContext actionContext) { base...
mit
C#
ce0b590ca80cf2108bc3203347473568fe01a23d
Change namespace
occar421/MyAnalyzerSamples
PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer.cs
PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer/PublicFieldAnalyzer.cs
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace PublicFieldAnalyzer { [DiagnosticAnalyzer(LanguageNames.CSharp)] class PublicFieldAnalyzer : Diagn...
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; namespace AnalyzerTests { [DiagnosticAnalyzer(LanguageNames.CSharp)] class PublicFieldAnalyzer : DiagnosticA...
mit
C#
a8bf551e2d58a81c6bd578af6e254fab8b9f5140
Remove unused translator
ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates
Source/Boilerplate.Templates/Content/ApiTemplate/Translators/CarToCarTranslator.cs
Source/Boilerplate.Templates/Content/ApiTemplate/Translators/CarToCarTranslator.cs
namespace ApiTemplate.Translators { using Boilerplate; using ApiTemplate.ViewModels; public class CarToCarTranslator : ITranslator<Models.Car, Car> { public void Translate(Models.Car source, Car destination) { destination.CarId = source.CarId; destination.Cylind...
namespace ApiTemplate.Translators { using Boilerplate; using ApiTemplate.ViewModels; public class CarToCarTranslator : ITranslator<Models.Car, Car>, ITranslator<Car, Models.Car> { public void Translate(Models.Car source, Car destination) { destination.CarId = source.CarId; ...
mit
C#
bdfe62de9162d052ed0a763f1a9aa10414ce1061
fix API signature
tomascassidy/BrockAllen.MembershipReboot,eric-swann-q2/BrockAllen.MembershipReboot,vinneyk/BrockAllen.MembershipReboot,DosGuru/MembershipReboot,rajendra1809/BrockAllen.MembershipReboot,brockallen/BrockAllen.MembershipReboot,vankooch/BrockAllen.MembershipReboot,rvdkooy/BrockAllen.MembershipReboot
samples/NoSql/SingleTenantWebApp/Areas/UserAccount/Controllers/ChangeSecretQuestionController.cs
samples/NoSql/SingleTenantWebApp/Areas/UserAccount/Controllers/ChangeSecretQuestionController.cs
using BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Models; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using System.Linq; using System; using BrockAllen.MembershipReboot.Hierarchical; namespace BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Controllers { [Authorize] public class...
using BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Models; using System.ComponentModel.DataAnnotations; using System.Web.Mvc; using System.Linq; using System; using BrockAllen.MembershipReboot.Hierarchical; namespace BrockAllen.MembershipReboot.Mvc.Areas.UserAccount.Controllers { [Authorize] public class...
bsd-3-clause
C#
5e47b97fe8ebd785447d5e28efbd939909cfce11
bump version
Lone-Coder/letsencrypt-win-simple
letsencrypt-win-simple/Properties/AssemblyInfo.cs
letsencrypt-win-simple/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Let's Encrypt Simple Windows Client")] [...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Let's Encrypt Simple Windows Client")] [...
apache-2.0
C#
4988c9c50ecda269bcfe7c8e4333a64ceebe322a
Test Cases
jefking/King.B-Trak
King.BTrak.Unit.Test/SqlDataReaderTests.cs
King.BTrak.Unit.Test/SqlDataReaderTests.cs
namespace King.BTrak.Unit.Test { using King.Data.Sql.Reflection; using King.Mapper.Data; using NSubstitute; using NUnit.Framework; using System; [TestFixture] public class SqlDataReaderTests { [Test] public void Constructor() { var executor = Substit...
namespace King.BTrak.Unit.Test { using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; [TestFixture] public class SqlDataReaderTests { } }
mit
C#
20104d7d6e60fd9f1dcd303a2448ff138ba4d986
Bump Version
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/Properties/AssemblyInfo.cs
SPAD.Interfaces/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Markup; // 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....
mit
C#
e257d7ad2595423553e1190187f41381a84d7d25
clarify parameters in EventStore
modulexcite/lokad-cqrs
SaaS.Wires/EventStore.cs
SaaS.Wires/EventStore.cs
using System; using System.Collections.Generic; using System.Linq; using Lokad.Cqrs; using Lokad.Cqrs.TapeStorage; namespace SaaS.Wires { public sealed class EventStore : IEventStore { readonly MessageStore _store; public EventStore(MessageStore store) { _store = store; ...
using System; using System.Collections.Generic; using System.Linq; using Lokad.Cqrs; using Lokad.Cqrs.TapeStorage; namespace SaaS.Wires { public sealed class EventStore : IEventStore { readonly MessageStore _store; public EventStore(MessageStore store) { _store = store; ...
bsd-3-clause
C#
44578c2d43db3cea223f7dee543b34500d70f6f4
Revert "Added method to perform validity check for effect parameters"
igece/SoxSharp
src/Effects/IBaseEffect.cs
src/Effects/IBaseEffect.cs
namespace SoxSharp.Effects { public interface IBaseEffect { string Name { get; } string ToString(); } }
namespace SoxSharp.Effects { public interface IBaseEffect { string Name { get; } bool IsValid(); string ToString(); } }
apache-2.0
C#
e1ab0ff6853edb9ae346a9cec56842a38603d8a7
remove unnecessary check
ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovski/al-go-rithms,ZoranPandovs...
cryptography/rot47_cipher/rot47_cipher/ROT_47_Cipher.cs
cryptography/rot47_cipher/rot47_cipher/ROT_47_Cipher.cs
using System; namespace rot47_cipher { public class ROT_47_Cipher { public static string DoCipher(string text) { var result = ""; foreach (char c in text) { if ((int) c >= 32 && (int) c <= 126) { ...
using System; namespace rot47_cipher { public class ROT_47_Cipher { public static string DoCipher(string text) { var result = ""; foreach (char c in text) { if ((int) c >= 32 && (int) c <= 126 || (int) c == 2) { ...
cc0-1.0
C#
5075428a1e5eeffb20b459719f01b372ce4ee6db
Update CustomersService.cs
zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples
src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs
src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs
namespace ServiceStack.Northwind.ServiceInterface { using ServiceStack.Northwind.ServiceModel.Operations; using ServiceStack.Northwind.ServiceModel.Types; using ServiceStack.OrmLite; using ServiceStack.ServiceInterface; public class CustomersService : Service { public IDbConnectionFactory DbFactory {...
namespace ServiceStack.Northwind.ServiceInterface { using ServiceStack.Northwind.ServiceModel.Operations; using ServiceStack.Northwind.ServiceModel.Types; using ServiceStack.OrmLite; using ServiceStack.ServiceInterface; public class CustomersService : Service { public IDbConnectionFactory DbFactory {...
bsd-3-clause
C#
2736aaae534fa476cc2aea31139b6dea5f5d124b
fix card requirement comparison
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/DeckGeneration/Requirements/DeckCardLimitRequirement.cs
Assets/Scripts/HarryPotterUnity/DeckGeneration/Requirements/DeckCardLimitRequirement.cs
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Cards; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.DeckGeneration.Requirements { public class DeckCardLimitRequirement : MonoBehaviour, IDeckGenerationRequirement { [SerializeField] private int _...
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Cards; using JetBrains.Annotations; using UnityEngine; namespace HarryPotterUnity.DeckGeneration.Requirements { public class DeckCardLimitRequirement : MonoBehaviour, IDeckGenerationRequirement { [SerializeField] private int _...
mit
C#
4a075063687515088f90e13857c7d1c2a627a75d
Update AutofacPlatformCompositionRootSetupBase.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Platform/DependencyInjection/AutofacPlatformCompositionRootSetupBase.cs
TIKSN.Framework.Platform/DependencyInjection/AutofacPlatformCompositionRootSetupBase.cs
using Autofac.Core; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Linq; namespace TIKSN.DependencyInjection { public abstract class AutofacPlatformCompositionRootSetupBase : AutofacCompositionRootSetupBase { pro...
using Autofac.Core; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System.Collections.Generic; using System.Linq; namespace TIKSN.DependencyInjection { public abstract class AutofacPlatformCompositionRootSetupBase : AutofacCompositionRootSetupBase { pro...
mit
C#
ed14f69b361f6f389ea54e1c03dd8f32f4dc689a
Fix test path
dbarowy/Depends
Tests/COMWrapperTests.cs
Tests/COMWrapperTests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using COMWrapper; namespace ExceLintTests { [TestClass] public class COMWrapperTests { [TestMethod] public void WorkbookIndexTest() { var path = @"..\..\TestData"; var wb1_name = "01-38-PK_tab...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using COMWrapper; namespace ExceLintTests { [TestClass] public class COMWrapperTests { [TestMethod] public void WorkbookIndexTest() { var path = "../../../../../data/analyses/CUSTODES/custodes/example/inp...
bsd-2-clause
C#
e15ff7bfdbbc30161e5906f68815eb3fb3d55c31
Increase version number
fredatgithub/Matrix
TheMatrixHasYou/Properties/AssemblyInfo.cs
TheMatrixHasYou/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: Assemb...
mit
C#
b305a82db2249d1362c084d782037203b7c5e02b
Maintain menu open/closed state while OpenVR keyboard is active
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Viewer/src/input/ControllerStateTracker.cs
Viewer/src/input/ControllerStateTracker.cs
using SharpDX; using System; using Valve.VR; public class ControllerStateTracker { private readonly uint deviceIdx; private bool active; private bool menuOpen; private VRControllerState_t secondPreviousState; private VRControllerState_t previousState; private VRControllerState_t currentState; private int stal...
using SharpDX; using Valve.VR; public class ControllerStateTracker { private readonly uint deviceIdx; private bool active; private bool menuOpen; private VRControllerState_t secondPreviousState; private VRControllerState_t previousState; private VRControllerState_t currentState; private int staleness; privat...
mit
C#
78a3d42c7945fc3d4b7b6d84372b65e8b9f332b2
Integrate the `Networking.Simulator.Boiler` project with the `ReferenceApplication` #302
mpostol/OPC-UA-OOI
Networking/Tests/Networking.Simulator.Boiler.Unit/Model/BoilersSetUnitTest.cs
Networking/Tests/Networking.Simulator.Boiler.Unit/Model/BoilersSetUnitTest.cs
//___________________________________________________________________________________ // // Copyright (C) 2018, Mariusz Postol LODZ POLAND. // // To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI //___________________________________________________________________________________ us...
//___________________________________________________________________________________ // // Copyright (C) 2018, Mariusz Postol LODZ POLAND. // // To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI //___________________________________________________________________________________ us...
mit
C#
6115acdeffbba5f35aa2ef20d4ec69b06a4116c0
Update DesktopGameHost post-rebase
default0/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,default0/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Nabil...
osu.Framework.Desktop/Platform/DesktopGameHost.cs
osu.Framework.Desktop/Platform/DesktopGameHost.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Threadin...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using System.IO; using System.Net; using System.Net.Sockets; using System.Text; using System.Threadin...
mit
C#
5efe7f8dad174336165b96dbda2707a083ca4c9f
Refactor plays/retries counting using osu events
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
plugins/PlaysReplacements/PlaysReplacements.cs
plugins/PlaysReplacements/PlaysReplacements.cs
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retrys; private Tokens.TokenS...
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retrys; private Tokens.TokenS...
mit
C#
5ebffb844cf8e5abf869758041217945f8a7ca82
Add an import of dll
Red-Folder/WebCrawl-Functions
WebCrawlStart/run.csx
WebCrawlStart/run.csx
#r "Microsoft.WindowsAzure.Storage" #r "Newtonsoft.Json" using System; using System.Net; using Microsoft.Azure; // Namespace for CloudConfigurationManager using Microsoft.WindowsAzure.Storage; // Namespace for CloudStorageAccount using Microsoft.WindowsAzure.Storage.Queue; // Namespace for Queue storage types using N...
#r "Microsoft.WindowsAzure.Storage" using System; using System.Net; using Microsoft.Azure; // Namespace for CloudConfigurationManager using Microsoft.WindowsAzure.Storage; // Namespace for CloudStorageAccount using Microsoft.WindowsAzure.Storage.Queue; // Namespace for Queue storage types using Newtonsoft.Json; publ...
mit
C#
5d3dc375962d68eb67eddd0ba65333c47f72eeeb
简化验证失败的回调方法的参数。
Zongsoft/Zongsoft.CoreLibrary
src/Common/IValidator.cs
src/Common/IValidator.cs
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015-2018 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publi...
/* * Authors: * 钟峰(Popeye Zhong) <zongsoft@gmail.com> * * Copyright (C) 2015-2018 Zongsoft Corporation <http://www.zongsoft.com> * * This file is part of Zongsoft.CoreLibrary. * * Zongsoft.CoreLibrary is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
lgpl-2.1
C#
2613b7951c1b055338624362a7822e004ca3491b
change default view service view folder to "views" from "assets"
Agrando/IdentityServer3,tbitowner/IdentityServer3,delloncba/IdentityServer3,EternalXw/IdentityServer3,tuyndv/IdentityServer3,jackswei/IdentityServer3,jackswei/IdentityServer3,18098924759/IdentityServer3,feanz/Thinktecture.IdentityServer.v3,ryanvgates/IdentityServer3,bestwpw/IdentityServer3,tuyndv/IdentityServer3,Identi...
source/Core/Services/DefaultViewService/FileSystemWithEmbeddedFallbackViewLoader.cs
source/Core/Services/DefaultViewService/FileSystemWithEmbeddedFallbackViewLoader.cs
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
/* * Copyright 2014, 2015 Dominick Baier, Brock Allen * * 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 applica...
apache-2.0
C#
9057723e8e9dea8810e73f1bbb00517839727f78
update some validation messages
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Agent/Features/Urls/Models/ValidationResults/UrlValidationResult.cs
src/FilterLists.Agent/Features/Urls/Models/ValidationResults/UrlValidationResult.cs
using System; using System.Collections.Generic; using System.Linq; namespace FilterLists.Agent.Features.Urls.Models.ValidationResults { public class UrlValidationResult { public UrlValidationResult(Uri url) { Url = url; } public Uri Url { get; } public Lis...
using System; using System.Collections.Generic; using System.Linq; namespace FilterLists.Agent.Features.Urls.Models.ValidationResults { public class UrlValidationResult { public UrlValidationResult(Uri url) { Url = url; } public Uri Url { get; } public Lis...
mit
C#
07c84513e20e7c2e6010b9bac3d4178fcfd6b096
fix Ably logging
StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis
service/DotNetApis.Common/AsyncLocalAblyLogger.cs
service/DotNetApis.Common/AsyncLocalAblyLogger.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using DotNetApis.Common.Internals; using Microsoft.Extensions.Logging; namespace DotNetApis.Common { /// <summary> /// A logger that attempts to write to an implicit Ably channel. This type can be safely created before ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using DotNetApis.Common.Internals; using Microsoft.Extensions.Logging; namespace DotNetApis.Common { /// <summary> /// A logger that attempts to write to an implicit Ably channel. This type can be safely created before ...
mit
C#
22a5df6309aad3ab7f075c38e7617eee64c4c12c
Clear all transforms of catcher trail sprite before returned to pool
smoogipooo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu
osu.Game.Rulesets.Catch/UI/CatcherTrailSprite.cs
osu.Game.Rulesets.Catch/UI/CatcherTrailSprite.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osuTK; namespace o...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Framework.Graphics.Pooling; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Textures; using osuTK; namespace o...
mit
C#
1950622ab868475fa27773f707ebb256b0cb8e92
Make DataStreamFileProcedures internal
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs
osu.Framework/Audio/Callbacks/DataStreamFileProcedures.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.IO; #nullable enable namespace osu.Framework.Audio.Callbacks { /// <summary> /// Implementation of <see cref="IFileProcedures"/> tha...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.IO; #nullable enable namespace osu.Framework.Audio.Callbacks { /// <summary> /// Implementation of <see cref="IFileProcedures"/> tha...
mit
C#
beb86a8b44cd0e082bb6a420ec29d7bc4391fef1
change start and connection positions
qoollo/bricksdb
src/BriksDb.RedisInterface/Server/RedisToBriks.cs
src/BriksDb.RedisInterface/Server/RedisToBriks.cs
using System; using BricksDb.RedisInterface.BriksCommunication; using BricksDb.RedisInterface.Server.RedisOperations; using Qoollo.Client.Configuration; using Qoollo.Client.Support; namespace BricksDb.RedisInterface.Server { class RedisToBriks : RedisToSmthSystem { private readonly RedisGate...
using System; using BricksDb.RedisInterface.BriksCommunication; using BricksDb.RedisInterface.Server.RedisOperations; using Qoollo.Client.Configuration; using Qoollo.Client.Support; namespace BricksDb.RedisInterface.Server { class RedisToBriks : RedisToSmthSystem { private readonly RedisGate...
agpl-3.0
C#
341a7266cb9e3a3c3f703b8dd65a365c808af918
Update AssemblyInfo.cs
csuffyy/Orc.FilterBuilder
src/FilterBuilder.Test/Properties/AssemblyInfo.cs
src/FilterBuilder.Test/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
mit
C#
0d27b1e78f4c845babc29c28e407a71bb8b2270b
Add caching to avoid unnecessary hashing.
peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Pr...
src/Glimpse.Agent.Web/Inspectors/UserInspector.cs
src/Glimpse.Agent.Web/Inspectors/UserInspector.cs
using System; using System.Collections.Concurrent; using Glimpse.Agent.Web.Framework; using Glimpse.Agent.Web.Message; using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Agent.Web.Inspectors { public class UserInspector : Inspector { private readonly IAgentBroker _bro...
using System; using Glimpse.Agent.Web.Framework; using Glimpse.Agent.Web.Message; using Microsoft.AspNet.Http; using Microsoft.AspNet.Http.Features; namespace Glimpse.Agent.Web.Inspectors { public class UserInspector : Inspector { private readonly IAgentBroker _broker; private const string Gli...
mit
C#
e982f485c7bd5df017892b7d8dafeaa1f4d49a5e
Remove drop shadow from `RoundedButton`
peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipooo/osu
osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs
osu.Game/Graphics/UserInterfaceV2/RoundedButton.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Graphics.UserInter...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Effe...
mit
C#
01e5ca24e916f8506f386e86ea99239977a9be0e
Remove test on argument null exception message
johanclasson/Unity.Interception.Serilog
src/Unity.Interception.Serilog.Tests/NullTests.cs
src/Unity.Interception.Serilog.Tests/NullTests.cs
using System; using FluentAssertions; using Microsoft.Practices.Unity; using Unity.Interception.Serilog.Tests.Support; using Xunit; namespace Unity.Interception.Serilog.Tests { public class NullTests { [Fact] public void NullMembersShouldThrow() { var container = new UnityCo...
using System; using FluentAssertions; using Microsoft.Practices.Unity; using Unity.Interception.Serilog.Tests.Support; using Xunit; namespace Unity.Interception.Serilog.Tests { public class NullTests { [Fact] public void NullMembersShouldThrow() { var container = new UnityCo...
mit
C#
f346969f37928cafa2661b5d6b6cb557e7cdbbfc
Update BoundsImage.cs
Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Editor/Bounds/Shapes/BoundsImage.cs
src/Core2D/Editor/Bounds/Shapes/BoundsImage.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 System; using System.Collections.Generic; using Core2D.Shapes; using Spatial; namespace Core2D.Editor.Bounds.Shapes { public class BoundsImage : IBounds...
// 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 System; using System.Collections.Generic; using Core2D.Shapes; using Spatial; namespace Core2D.Editor.Bounds.Shapes { public class BoundsImage : IBounds...
mit
C#
642ff3cee8aedb9d32b9540d2584a9ca3edffc9f
Rename GetOption to GetMaybe in DictionaryExtensions.
muhbaasu/fx-sharp
src/FxSharp/Extensions/DictionaryExtensions.cs
src/FxSharp/Extensions/DictionaryExtensions.cs
using System.Collections.Generic; namespace FxSharp.Extensions { /// <summary> /// Extension methods for dictionaries. /// </summary> public static class DictionaryExtensions { /// <summary> /// Get a value from a dictionary. /// Unlike the normal dictionary met...
using System.Collections.Generic; namespace FxSharp.Extensions { /// <summary> /// Extension methods for dictionaries. /// </summary> public static class DictionaryExtensions { /// <summary> /// Get a value from a dictionary. /// Unlike the normal dictionary met...
apache-2.0
C#
a17ff3e72b2fcb73adb9fb21aa482404ce10d2e9
simplify null management
RadicalFx/radical
src/Radical/Extensions/EntityViewExtensions.cs
src/Radical/Extensions/EntityViewExtensions.cs
using Radical.ComponentModel; using Radical.Validation; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace Radical { public static class EntityViewExtensions { public static IEnumerable<T> AsEntityItems<T>(this IEntityView<T> view) where T : class ...
using Radical.ComponentModel; using Radical.Validation; using System.Collections.Generic; using System.ComponentModel; using System.Linq; namespace Radical { public static class EntityViewExtensions { public static IEnumerable<T> AsEntityItems<T>(this IEntityView<T> view) where T : class ...
mit
C#
211591c2ddb30a16fd4d8915430da30c4d308d88
Update player container
dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua
src/WebSite/Views/Shared/_EmbededPlayer.cshtml
src/WebSite/Views/Shared/_EmbededPlayer.cshtml
@model string @if(Model.Contains("iframe")) { <section> @Html.Raw(Model) </section> } else { <div class="youtube-container"> <iframe class="video" src="@Model" frameborder="0" allowfullscreen> </iframe> </div> }
@model string <div class="youtube-container"> <iframe class="video" src="@Model" frameborder="0" allowfullscreen> </iframe> </div>
mit
C#
f4040e1a365d0aebbf5f544e2bc192c6f2f1285b
Remove org chart link
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Views/Units/List.cshtml
Battery-Commander.Web/Views/Units/List.cshtml
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <th>@Html...
@model IEnumerable<Unit> <div class="page-header"> <h1>Units @Html.ActionLink("Add New", "New", "Units", null, new { @class = "btn btn-default" })</h1> </div> <table class="table table-striped"> <thead> <tr> <th>@Html.DisplayNameFor(_ => _.FirstOrDefault().Name)</th> <th>@Html...
mit
C#
7afb5a31e86cdd4acc0d4abadcae85cdd47ee2d9
Add a unit test for the StringPattern class
openchain/openchain
test/Openchain.Ledger.Tests/StringPatternTests.cs
test/Openchain.Ledger.Tests/StringPatternTests.cs
// Copyright 2015 Coinprism, 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 agree...
// Copyright 2015 Coinprism, 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 agree...
apache-2.0
C#
768c7570873126789afd0304b8d405ccd33ae51b
check UIContext in demo
tibel/Caliburn.Light
samples/Demo.ExceptionHandling/ShellViewModel.cs
samples/Demo.ExceptionHandling/ShellViewModel.cs
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using System.Windows.Input; using Caliburn.Light; using Weakly; namespace Demo.ExceptionHandling { public class ShellViewModel : BindableObject { public ShellViewModel() { ExecuteCommand =...
using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Input; using Caliburn.Light; using Weakly; namespace Demo.ExceptionHandling { public class ShellViewModel : BindableObject { public ShellViewModel() { ExecuteCommand = DelegateCommand.Create(On...
mit
C#
d19f93aa5633ae523ed43275f264ac49dcf08cfc
Remove redundant method call
martincostello/project-euler
src/ProjectEuler/Puzzles/Puzzle024.cs
src/ProjectEuler/Puzzles/Puzzle024.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.Linq; /// <summary> /// A class representing the solution to <c>https:...
// 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.Linq; /// <summary> /// A class representing the solution to <c>https:...
apache-2.0
C#
2e62edf9cdb7f15a9ecf5ff8a329af56f30ff4c7
clean up
jonnii/SpeakEasy
src/SpeakEasy/TransmissionSettings.cs
src/SpeakEasy/TransmissionSettings.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using SpeakEasy.Serializers; namespace SpeakEasy { public class TransmissionSettings : ITransmissionSettings { private readonly IEnumerable<ISerializer> serializers; public TransmissionSettings(...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using SpeakEasy.Serializers; namespace SpeakEasy { public class TransmissionSettings : ITransmissionSettings { private readonly IEnumerable<ISerializer> serializers; public TransmissionSettings(...
apache-2.0
C#
e1220e1e602cea658cecb4cbd65382ac6a8ca7b7
Add Parser#ctor
lury-lang/lury-parser,lury-lang/lury-parser
lury-parser/Parser.cs
lury-parser/Parser.cs
// // JayAdapt.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal...
// // JayAdapt.cs // // Author: // Tomona Nanase <nanase@users.noreply.github.com> // // The MIT License (MIT) // // Copyright (c) 2015 Tomona Nanase // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal...
mit
C#
315f2b5b30644742a41f7974bc322e1ef2eb02fe
Update TemplateService.cs
loresoft/Estimatorx,loresoft/Estimatorx
src/EstimatorX.Core/Services/TemplateService.cs
src/EstimatorX.Core/Services/TemplateService.cs
using System.Security.Principal; using AutoMapper; using EstimatorX.Core.Repositories; using EstimatorX.Shared.Definitions; using EstimatorX.Shared.Extensions; using EstimatorX.Shared.Models; using EstimatorX.Shared.Services; using Microsoft.Extensions.Logging; namespace EstimatorX.Core.Services; public class Tem...
using AutoMapper; using EstimatorX.Core.Repositories; using EstimatorX.Shared.Definitions; using EstimatorX.Shared.Extensions; using EstimatorX.Shared.Models; using Microsoft.Extensions.Logging; namespace EstimatorX.Core.Services; public class TemplateService : OrganizationServiceBase<ITemplateRepository, Template...
mit
C#
41accce91cdbfef5c41e9da4c13093d2ddcadb97
rename dictionary-based signature parameter to allow matching specific method signature by parameter name
jeffijoe/messageformat.net
src/Jeffijoe.MessageFormat/IMessageFormatter.cs
src/Jeffijoe.MessageFormat/IMessageFormatter.cs
// MessageFormat for .NET // - IMessageFormatter.cs // Author: Jeff Hansen <jeff@jeffijoe.com> // Copyright (C) Jeff Hansen 2014. All rights reserved. using System.Collections.Generic; namespace Jeffijoe.MessageFormat { /// <summary> /// The magical Message Formatter. /// </summary> public interf...
// MessageFormat for .NET // - IMessageFormatter.cs // Author: Jeff Hansen <jeff@jeffijoe.com> // Copyright (C) Jeff Hansen 2014. All rights reserved. using System.Collections.Generic; namespace Jeffijoe.MessageFormat { /// <summary> /// The magical Message Formatter. /// </summary> public interf...
mit
C#
afdfeb578966593681699c423ed970da01cebad3
Add option to install command
Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager
src/SIM.Client/Commands/InstallCommandFacade.cs
src/SIM.Client/Commands/InstallCommandFacade.cs
namespace SIM.Client.Commands { using CommandLine; using JetBrains.Annotations; using SIM.Core.Commands; public class InstallCommandFacade : InstallCommand { [UsedImplicitly] public InstallCommandFacade() { } [Option('n', "name", Required = true)] public override string Name { get; ...
namespace SIM.Client.Commands { using CommandLine; using JetBrains.Annotations; using SIM.Core.Commands; public class InstallCommandFacade : InstallCommand { [UsedImplicitly] public InstallCommandFacade() { } [Option('n', "name", Required = true)] public override string Name { get; ...
mit
C#
e25ea70e29e8b70e447e1c8703398e711ce01fac
change version to 3.0
velyo/dotnet-data-access
src/Artem.Data.Access/Properties/AssemblyInfo.cs
src/Artem.Data.Access/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; [assembly: AssemblyTitle("Artem.Data.Access")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Artem")] [assembly: AssemblyProduct("Artem.Da...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; [assembly: AssemblyTitle("Artem.Data.Access")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Artem")] [assembly: AssemblyProduct("Artem.Da...
mit
C#
4f19ddaac6147fdb31c6f1979acc0798912a3495
change default autocomplete documentation setting to false
x335/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,svermeulen/omnisharp-server,corngood/omnisharp-server
OmniSharp/AutoComplete/AutoCompleteRequest.cs
OmniSharp/AutoComplete/AutoCompleteRequest.cs
using OmniSharp.Common; namespace OmniSharp.AutoComplete { public class AutoCompleteRequest : Request { private string _wordToComplete; public string WordToComplete { get { return _wordToComplete ?? ""; } set { _wordToComplete...
using OmniSharp.Common; namespace OmniSharp.AutoComplete { public class AutoCompleteRequest : Request { private string _wordToComplete; public string WordToComplete { get { return _wordToComplete ?? ""; } set { _wordToComplete...
mit
C#
ece5df5795baa8051bf66b7e1b5c4424d783ade2
Clean up TreeWalkerExtensions.GetAncestors
jasonmcboyd/Treenumerable
Source/Treenumerable/TreeWalkerExtensions/TreeWalkerExtensions.GetAncestors.cs
Source/Treenumerable/TreeWalkerExtensions/TreeWalkerExtensions.GetAncestors.cs
using System; using System.Collections.Generic; namespace Treenumerable { public static partial class TreeWalkerExtensions { /// <summary> /// Gets a node's ancestors, starting with its parent node and ending with the root node. /// </summary> /// <typeparam name="T">The type o...
using System; using System.Collections.Generic; namespace Treenumerable { public static partial class TreeWalkerExtensions { /// <summary> /// Gets a nodes ancestors, starting with its parent node and ending with the root node. /// </summary> /// <typeparam name="T">The type of...
mit
C#
8df710d623daf34ad3d65c14c27440c7ff0c3f87
Update PlatformFamily.cs
wangkanai/Detection
src/Wangkanai.Detection.Platform/PlatformFamily.cs
src/Wangkanai.Detection.Platform/PlatformFamily.cs
// Copyright (c) 2016 Sarin Na Wangkanai, All Rights Reserved. // The GNU GPLv3. See License.txt in the project root for license information. namespace Wangkanai.Detection { public enum PlatformFamily { Windows, Mac, iOS, Android, Linux, Other } }
// Copyright (c) 2016 Sarin Na Wangkanai, All Rights Reserved. // The GNU GPLv3. See License.txt in the project root for license information. namespace Wangkanai.Detection { public enum PlatformFamily { Windows, Mac, iOS, Andriod, Linux, Other } }
apache-2.0
C#
336218032ede9654b90a883a53505efcf4e976f1
fix value getter on product attribute
wilcommerce/Wilcommerce.Catalog
src/Wilcommerce.Catalog/Models/ProductAttribute.cs
src/Wilcommerce.Catalog/Models/ProductAttribute.cs
using Newtonsoft.Json; using System; namespace Wilcommerce.Catalog.Models { /// <summary> /// Represent a product custom attribute /// </summary> public class ProductAttribute { /// <summary> /// Get or set the attribute's id /// </summary> public Guid Id { get; set...
using Newtonsoft.Json; using System; namespace Wilcommerce.Catalog.Models { /// <summary> /// Represent a product custom attribute /// </summary> public class ProductAttribute { /// <summary> /// Get or set the attribute's id /// </summary> public Guid Id { get; set...
mit
C#
6ddab5650f1f87f64c8674e39d15d91a3ca4dcf4
Fix spelling mistake, 'collission' => 'collision'
mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,JasperFx/Marten,mysticmind/marten,mysticmind/marten,mdissel/Marten,ericgreenmix/marten,mdissel/Marten,JasperFx/Marten
src/Marten/Services/ConcurrentUpdateException.cs
src/Marten/Services/ConcurrentUpdateException.cs
using System; namespace Marten.Services { public class ConcurrentUpdateException : Exception { public ConcurrentUpdateException(Exception innerException) : base("Write collision detected while commiting the transaction.", innerException) { } } }
using System; namespace Marten.Services { public class ConcurrentUpdateException : Exception { public ConcurrentUpdateException(Exception innerException) : base("Write collission detected while commiting the transaction.", innerException) { } } }
mit
C#
baa1e5933d7715cde2b057519d55397da25c76ea
Fix regression causing allowing each worker to execute twice after stop requested
printerpam/purpleonion,neoeinstein/purpleonion,printerpam/purpleonion
src/Xpdm.PurpleOnion/OnionGenerator.cs
src/Xpdm.PurpleOnion/OnionGenerator.cs
using System; using System.ComponentModel; namespace Xpdm.PurpleOnion { class OnionGenerator { private readonly BackgroundWorker worker = new BackgroundWorker(); public bool Running { get; protected set; } public bool StopRequested { get; protected set; } public OnionGenerator() { worker.DoWork += Ge...
using System; using System.ComponentModel; namespace Xpdm.PurpleOnion { class OnionGenerator { private readonly BackgroundWorker worker = new BackgroundWorker(); public bool Running { get; protected set; } public OnionGenerator() { worker.DoWork += GenerateOnion; worker.RunWorkerCompleted += RunWork...
bsd-3-clause
C#
a7044a27b344bb2b978757894ad2dcc76378314d
Add Nesting ServiceCollection Extension method overloads
thnetii/dotnet-common
src/THNETII.DependencyInjection.Nesting/NestedServicesServiceCollectionExtensions.cs
src/THNETII.DependencyInjection.Nesting/NestedServicesServiceCollectionExtensions.cs
using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; namespace THNETII.DependencyInjection.Nesting { public static class NestedServicesServiceCollectionExtensions { public static IServiceCollection AddNestedServices( this IServiceCollection rootSe...
using Microsoft.Extensions.DependencyInjection; using System; namespace THNETII.DependencyInjection.Nesting { public static class NestedServicesServiceCollectionExtensions { public static IServiceCollection AddNestedServices( this IServiceCollection rootServices, string key, ...
mit
C#
f08fb8807d5c314e893ce10f93beb92c6e8c75c6
Add query and uri parameters to resource type #5
raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2
source/Raml.Parser/Expressions/Verb.cs
source/Raml.Parser/Expressions/Verb.cs
using System.Collections.Generic; using System.Linq; using Raml.Parser.Builders; namespace Raml.Parser.Expressions { public class Verb { private readonly IDictionary<string, object> dynamicRaml; private readonly VerbType type; private readonly string defaultMediaType; private readonly bool isOptional; ...
using System.Collections.Generic; using System.Linq; using Raml.Parser.Builders; namespace Raml.Parser.Expressions { public class Verb { private readonly IDictionary<string, object> dynamicRaml; private readonly VerbType type; private readonly string defaultMediaType; private readonly bool isOptional; ...
apache-2.0
C#
d25442f59afb8812316eb80da5fa1c5c468bb9f4
Update Item.cs
QetriX/quly
Assets/Scripts/libs/Item.cs
Assets/Scripts/libs/Item.cs
namespace com.qetrix.apps.quly.libs { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class Item { protected string _name; protected float _weight = 1; // List<Item> _rewards; protected int _materialCapacity = 100; // How much material ...
namespace Quly { using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public class Item { protected string _name; protected float _weight = 1; // List<Item> _rewards; protected int _materialCapacity = 100; // How much material can the item contain ...
mit
C#
7a33326aaa2bd4346febcf50c5eb4d46cd58eea9
Add StatusCode to PostException data
bretcope/BosunReporter.NET
BosunReporter/Exceptions.cs
BosunReporter/Exceptions.cs
using System; using System.Net; using BosunReporter.Infrastructure; namespace BosunReporter { /// <summary> /// Exception uses when posting to the Bosun API fails. /// </summary> public class BosunPostException : Exception { /// <summary> /// The status code returned by Bosun. ...
using System; using System.Net; using BosunReporter.Infrastructure; namespace BosunReporter { /// <summary> /// Exception uses when posting to the Bosun API fails. /// </summary> public class BosunPostException : Exception { /// <summary> /// The status code returned by Bosun. ...
mit
C#
16cf5a739105e20bbb969bd841ce30d37884847b
edit comment
arnovb-github/CmcLibNet
CmcLibNet/CommenceLimits.cs
CmcLibNet/CommenceLimits.cs
namespace Vovin.CmcLibNet { /// <summary> /// Some internal Commence limits, non-exhaustive /// </summary> internal static class CommenceLimits { /// <summary> /// Maximum number of items per category. /// </summary> internal static int MaxItems => 500000; // differe...
namespace Vovin.CmcLibNet { /// <summary> /// Internal Commence limits /// </summary> internal static class CommenceLimits { /// <summary> /// Maximum number of items per category. /// </summary> internal static int MaxItems => 500000; // different from what Commence...
mit
C#
198d97095a357165c89b72d27cf68166d6da7816
Update WalletWasabi.Gui/CrashReport/CrashReporter.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/CrashReport/CrashReporter.cs
WalletWasabi.Gui/CrashReport/CrashReporter.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using WalletWasabi.Gui.CrashReport.Models; using WalletWasabi.Helpers; using WalletWasabi.Logging; using WalletWasabi.Microservices; namespace WalletWasabi.Gui.CrashReport { public class CrashReporter ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using WalletWasabi.Gui.CrashReport.Models; using WalletWasabi.Helpers; using WalletWasabi.Logging; using WalletWasabi.Microservices; namespace WalletWasabi.Gui.Models.CrashReport { public class CrashRep...
mit
C#
ed6163d2028bb3ddda141e7ca99501dd74fc4f10
update description of what this does
Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal
Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/Properties/AssemblyInfo.cs
Master/Appleseed/Projects/Appleseed.Framework.UrlRewriting/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Appleseed.UrlRewriting")] [assembly: Asse...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Appleseed.UrlRewriting")] [assembly: Asse...
apache-2.0
C#
dc3aa45639c678e4f840aa4652efb9f69f86a085
revert the BOM issue fix
antiufo/NuGet2,OneGet/nuget,mrward/NuGet.V2,chocolatey/nuget-chocolatey,mrward/nuget,mrward/NuGet.V2,mono/nuget,RichiCoder1/nuget-chocolatey,dolkensp/node.net,mrward/NuGet.V2,mrward/nuget,jholovacs/NuGet,dolkensp/node.net,GearedToWar/NuGet2,jholovacs/NuGet,rikoe/nuget,mrward/nuget,xoofx/NuGet,jmezach/NuGet2,RichiCoder1...
src/Core/FileModifiers/Preprocessor.cs
src/Core/FileModifiers/Preprocessor.cs
using NuGet.Resources; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace NuGet { /// <summary> /// Simple token replacement system for content files. /// </summary> public class Pr...
using NuGet.Resources; using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; namespace NuGet { /// <summary> /// Simple token replacement system for content files. /// </summary> public class Pr...
apache-2.0
C#
394209b7429fb531ec450380777795f54e406ea6
fix error list navigation
pdelvo/roslyn,akrisiun/roslyn,mattscheffer/roslyn,robinsedlaczek/roslyn,AnthonyDGreen/roslyn,nguerrera/roslyn,weltkante/roslyn,cston/roslyn,ErikSchierboom/roslyn,bbarry/roslyn,dotnet/roslyn,Hosch250/roslyn,vslsnap/roslyn,VSadov/roslyn,Giftednewt/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,heejaechang/roslyn,TyOverby...
src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableControlEventProcessorProvider.cs
src/VisualStudio/Core/Def/Implementation/TableDataSource/AbstractTableControlEventProcessorProvider.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 Microsoft.VisualStudio.Shell.TableControl; using Microsoft.VisualStudio.Shell.TableManager; namespace Microsoft.VisualStudio.LanguageServices.Implemen...
// 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 Microsoft.VisualStudio.Shell.TableControl; using Microsoft.VisualStudio.Shell.TableManager; namespace Microsoft.VisualStudio.LanguageServices.Implemen...
apache-2.0
C#
936a255a45e4ad0650451817bf099341b5b6c740
Update ClickTabOrPillAttribute trigger
atata-framework/atata-bootstrap,atata-framework/atata-bootstrap
src/Atata.Bootstrap/Triggers/ClickTabOrPillAttribute.cs
src/Atata.Bootstrap/Triggers/ClickTabOrPillAttribute.cs
using System; using OpenQA.Selenium; namespace Atata.Bootstrap { public class ClickTabOrPillAttribute : TriggerAttribute { private bool isInitialized; private UIComponent navItemComponent; public ClickTabOrPillAttribute(TriggerEvents on = TriggerEvents.BeforeAccess, TriggerP...
using System; using OpenQA.Selenium; namespace Atata.Bootstrap { public class ClickTabOrPillAttribute : TriggerAttribute { private bool isInitialized; private UIComponent navItemComponent; public ClickTabOrPillAttribute(TriggerEvents on = TriggerEvents.BeforeAccess, TriggerP...
apache-2.0
C#
bbf4e9f532dd751a692d3e3c85424a464a718846
revert configname
AndreGleichner/NLog,michaeljbaird/NLog,UgurAldanmaz/NLog,babymechanic/NLog,ArsenShnurkov/NLog,BrutalCode/NLog,tmusico/NLog,tmusico/NLog,tohosnet/NLog,Niklas-Peter/NLog,sean-gilliam/NLog,luigiberrettini/NLog,michaeljbaird/NLog,breyed/NLog,kevindaub/NLog,bjornbouetsmith/NLog,ilya-g/NLog,bryjamus/NLog,hubo0831/NLog,Niklas...
src/NLog/LogReceiverService/ILogReceiverTwoWayClient.cs
src/NLog/LogReceiverService/ILogReceiverTwoWayClient.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // 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 co...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // 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 co...
bsd-3-clause
C#
995e6403161fc9b86e875b18451fec4d6e569c42
Test commit
optivem/immerest,optivem/optivem-commons-cs
src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs
src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs
using System; using System.Globalization; namespace Optivem.Commons.Parsing.Default { public abstract class BaseNumberParser<T> : BaseParser<T> { public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null) { NumberStyles = numberStyles; ...
using System; using System.Globalization; namespace Optivem.Commons.Parsing.Default { public abstract class BaseNumberParser<T> : BaseParser<T> { public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null) { NumberStyles = numberStyles; ...
apache-2.0
C#
1df12fd7ab52cdb8ffdbe486d3e6a4a383a20309
Work around Bl-923: L10NSharp Crash when accessed from javascript
StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDeskt...
src/BloomExe/web/I18NHandler.cs
src/BloomExe/web/I18NHandler.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Threading; using Bloom.Collection; using L10NSharp; using Newtonsoft.Json; namespace Bloom.web { /// <summary> /// This class handles requests for internationalization. It uses the L10NSharp LocalizationManager to look up values....
using System.Collections.Generic; using System.Threading; using Bloom.Collection; using L10NSharp; using Newtonsoft.Json; namespace Bloom.web { /// <summary> /// This class handles requests for internationalization. It uses the L10NSharp LocalizationManager to look up values. /// </summary> static class I18NHandl...
mit
C#
4c8fba0a5848b0f69156916f22cffa8a8323417c
Fix argument null check in SecurityHeadersMiddleware
andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples,andrewlock/blog-examples
adding-default-security-headers/src/AddingDefaultSecurityHeaders/Middleware/SecurityHeadersMiddleware.cs
adding-default-security-headers/src/AddingDefaultSecurityHeaders/Middleware/SecurityHeadersMiddleware.cs
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using AddingDefaultSecurityHeaders.Middleware.Constants; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; namespace AddingDefaultSecurityHeaders.Middleware { ...
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using AddingDefaultSecurityHeaders.Middleware.Constants; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Primitives; namespace AddingDefaultSecurityHeaders.Middleware { ...
mit
C#
bd16be64689be0632a7fab4fb058afb9be1e4eb0
Add Int.To(Int) Method, which allow to generate a sequence between two numbers.
garlab/Ext.NET
Ext.NET/IntegerExtension.cs
Ext.NET/IntegerExtension.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ext.NET { class IntegerExtension { public static void Times(this int n, Action<int> action) { for (int i = 0; i < n; ++i) { action(i); } }...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ext.NET { class IntegerExtension { public static void Times(this int n, Action<int> action) { for (int i = 0; i < n; ++i) { action(i); } }...
mit
C#
e05bb59ca8102fd20ff0069d7bd94ac8f10a4c06
Update Holiday.cs
kiyoaki/JpPublicHolidays.NET
JpPublicHolidays/Holiday.cs
JpPublicHolidays/Holiday.cs
using System; namespace JpPublicHolidays { public class Holiday { private static readonly TimeZoneInfo JstTimeZoneInfo = TimeZoneInfo.FindSystemTimeZoneById("Tokyo Standard Time"); public string Name { get; set; } public DateTime Date { get; set; } public DateTimeOffset DateWi...
using System; namespace JpPublicHolidays { public class Holiday { public string Name { get; set; } public DateTime Date { get; set; } } }
mit
C#
7ea761ae73e3b44be2aa371e0b82e308f217b170
Support null contexts in WPF TextLayout
hamekoz/xwt,mminns/xwt,mono/xwt,directhex/xwt,steffenWi/xwt,sevoku/xwt,cra0zy/xwt,hwthomas/xwt,TheBrainTech/xwt,lytico/xwt,mminns/xwt,iainx/xwt,residuum/xwt,antmicro/xwt,akrisiun/xwt
Xwt.WPF/Xwt.WPFBackend/TextLayoutBackendHandler.cs
Xwt.WPF/Xwt.WPFBackend/TextLayoutBackendHandler.cs
// // TextLayoutBackendHandler.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without ...
// // TextLayoutBackendHandler.cs // // Author: // Eric Maupin <ermau@xamarin.com> // // Copyright (c) 2012 Xamarin, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without ...
mit
C#
1d13673ad0cd4b1489547a2288ef528c1083d109
Fix files validation logic
kwokhou/HelloSignNet
HelloSignNet.Core/HSSendSignatureRequestData.cs
HelloSignNet.Core/HSSendSignatureRequestData.cs
using System.Collections.Generic; using System.IO; using System.Linq; namespace HelloSignNet.Core { public class HSSendSignatureRequestData { public string Title { get; set; } public string Subject { get; set; } public string Message { get; set; } public string SigningRedirectUr...
using System.Collections.Generic; using System.IO; using System.Linq; namespace HelloSignNet.Core { public class HSSendSignatureRequestData { public string Title { get; set; } public string Subject { get; set; } public string Message { get; set; } public string SigningRedirectUr...
mit
C#