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
5ce524c1a05294516d49490bc5bda4b804a5493c
Bump version
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
configuration/SharedAssemblyInfo.cs
configuration/SharedAssemblyInfo.cs
using System.Reflection; // Assembly Info that is shared across the product [assembly: AssemblyProduct("InEngine.NET")] [assembly: AssemblyVersion("2.0.0.*")] [assembly: AssemblyInformationalVersion("2.0.0-beta2")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ethan Hann")] [assembly: AssemblyCop...
using System.Reflection; // Assembly Info that is shared across the product [assembly: AssemblyProduct("InEngine.NET")] [assembly: AssemblyVersion("2.0.0.*")] [assembly: AssemblyInformationalVersion("2.0.0-beta1")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Ethan Hann")] [assembly: AssemblyCop...
mit
C#
9cc0208c359b797fe0371186ea9b1547cf79869d
Remove IClientPublisher service as it doesn't exist before
peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototyp...
src/Glimpse.Server.Web/GlimpseServerWebServices.cs
src/Glimpse.Server.Web/GlimpseServerWebServices.cs
using Glimpse.Agent; using Microsoft.Framework.DependencyInjection; using Glimpse.Server.Web; using Microsoft.Framework.OptionsModel; namespace Glimpse { public class GlimpseServerWebServices { public static IServiceCollection GetDefaultServices() { var services = new ServiceCollec...
using Glimpse.Agent; using Microsoft.Framework.DependencyInjection; using Glimpse.Server.Web; using Microsoft.Framework.OptionsModel; namespace Glimpse { public class GlimpseServerWebServices { public static IServiceCollection GetDefaultServices() { var services = new ServiceCollec...
mit
C#
939211824ead516a0374f03a72d1a9e28d122a38
Add more tests to ensure secure properties are kept secure
dipeshc/BTDeploy
src/MonoTorrent.Tests/Common/TorrentEditorTests.cs
src/MonoTorrent.Tests/Common/TorrentEditorTests.cs
using System; using NUnit.Framework; using MonoTorrent.BEncoding; namespace MonoTorrent.Common { [TestFixture] public class TorrentEditorTests { [Test] public void EditingCreatesCopy () { var d = Create ("comment", "a"); var editor = new TorrentEditor (d); ...
using System; using NUnit.Framework; using MonoTorrent.BEncoding; namespace MonoTorrent.Common { [TestFixture] public class TorrentEditorTests { [Test] public void EditingCreatesCopy () { var d = Create ("comment", "a"); var editor = new TorrentEditor (d); ...
mit
C#
e482daedc30cd9629ef03ece10dbb0463982ae77
convert uma url relativa ou absolute de uma aplicacao para um endereo web absolute
adrianocaldeira/thunder
src/main/Thunder/Web/Utility.cs
src/main/Thunder/Web/Utility.cs
using System; using System.Web; namespace Thunder.Web { /// <summary> /// Utility /// </summary> public static class Utility { /// <summary> /// Converts a virtual path to an application absolute path using the <paramref name="context"/>. /// </summary> /// <param n...
using System; using System.Web; namespace Thunder.Web { /// <summary> /// Utility /// </summary> public static class Utility { /// <summary> /// Converts a virtual path to an application absolute path using the <paramref name="context"/>. /// </summary> /// <param n...
mit
C#
8ba3dd048909e519a923fe4464798fa9f7905279
Write basic Methods
MarinPetrov/CSharpGame2048-OnlineTeamRain,MarinPetrov/CSharpGame2048-OnlineTeamRain
GameTeamRain/GameTeamRain/GameCore.cs
GameTeamRain/GameTeamRain/GameCore.cs
namespace GameTeamRain { using System; using System.Collections.Generic; class GameCore { private ushort[,] coreMatrix; private Random randomNumber = new Random(); public GameCore() { this.coreMatrix = new ushort[4, 4]; InitCoreMatrix(); }...
namespace GameTeamRain { using System; using System.Collections.Generic; class GameCore { private ushort[,] coreMatrix; private Random randomNumber = new Random(); public GameCore() { this.coreMatrix = new ushort[4, 4]; } } }
mit
C#
6382553d8a38e3458cceba5b961c5541c06c0345
Set default route to Registration Index
codeforamerica/golden-ticket,codeforamerica/golden-ticket
GoldenTicket/App_Start/RouteConfig.cs
GoldenTicket/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace GoldenTicket { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace GoldenTicket { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
bsd-2-clause
C#
42a43b1c7f0c51442bd930f69c2f1863116a1fe4
Fix unique Id is null or empty bug
AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur...
src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Models/TokenCacheItemProvider.cs
src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Models/TokenCacheItemProvider.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
bea70988bc09fe4cbed5723715175248c4eedf3d
Remove unnecessary `#nullable disable`
peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game/Screens/OnlinePlay/Lounge/Components/RoomAccessType.cs
osu.Game/Screens/OnlinePlay/Lounge/Components/RoomAccessType.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.Screens.OnlinePlay.Lounge.Components { public enum RoomAccessType { All, Public, Private } }
// 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 namespace osu.Game.Screens.OnlinePlay.Lounge.Components { public enum RoomAccessType { All, Public, Private } }
mit
C#
591a8cdd91beea330a1daba32a8682368e3970b7
Adjust expected file size if ZapDisable is true (#16240)
krk/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,poizan42/coreclr,yizhang82/coreclr,krk/coreclr,cshung/coreclr,yizhang82/coreclr,yizhang82/coreclr,cshung/coreclr,mmitche/coreclr,yizhang82/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,cshung/coreclr,ruben-ayrapetyan/...
tests/src/tracing/eventpipesmoke/EventPipeSmoke.cs
tests/src/tracing/eventpipesmoke/EventPipeSmoke.cs
using System; using System.IO; using Tracing.Tests.Common; namespace Tracing.Tests { class EventPipeSmoke { private static int allocIterations = 10000; private static bool zapDisabled = Int32.Parse(Environment.GetEnvironmentVariable("COMPlus_ZapDisable") ?? "0") > 0; private static int ...
using System; using System.IO; using Tracing.Tests.Common; namespace Tracing.Tests { class EventPipeSmoke { private static int allocIterations = 10000; private static int trivialSize = 0x100000; static int Main(string[] args) { bool keepOutput = false; /...
mit
C#
3fbbb48e460cb3f2e08e89bb684e22a502712a7e
Fix ip authorize attribute.
mfilippov/NinjectDemo
src/NinjectDemo/Infrastructure/Logging/IpAccessListAttribute.cs
src/NinjectDemo/Infrastructure/Logging/IpAccessListAttribute.cs
using System; using System.Configuration; using System.Linq; using System.Web.Mvc; namespace NinjectDemo.Infrastructure.Logging { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] public class IpAccessListAttribute : FilterAttribute, IAuthorizationFilter { public string[] IpList {...
using System; using System.Configuration; using System.Linq; using System.Web.Mvc; namespace NinjectDemo.Infrastructure.Logging { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] public class IpAccessListAttribute : FilterAttribute, IAuthorizationFilter { public string[] IpList {...
mit
C#
0d321fecefc9ea4bd7a27064156f8737a21e588a
Fix namespace
lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb
src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs
src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs
using System; using Amazon.DynamoDBv2; namespace Quartz.DynamoDB.Tests.Integration { public class DynamoClientFactory { private readonly string _instanceName = Guid.NewGuid().ToString(); public DynamoDB.JobStore CreateTestJobStore() { var var = new JobStore(); ...
using System; using Amazon.DynamoDBv2; namespace Quartz.DynamoDB.Tests { public class DynamoClientFactory { private readonly string _instanceName = Guid.NewGuid().ToString(); public DynamoDB.JobStore CreateTestJobStore() { var var = new JobStore(); var.Instance...
apache-2.0
C#
5e11dcaf91833ca2c771c247adb42bc3d88e433c
Add - Aggiunto controller adibito alla gestione dei dati del Personale
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115.ApiGateway/Controllers/PersonaleController.cs
src/backend/SO115.ApiGateway/Controllers/PersonaleController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using SO115App.ApiGateway.Classi; using SO115App.ApiGateway.Servizi; namespace SO115.ApiGateway.Controllers { [Route("api/[controller]")] [ApiContro...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; namespace SO115.ApiGateway.Controllers { [Route("api/[controller]")] [ApiController] public class PersonaleController : ControllerBase { ...
agpl-3.0
C#
bbc1c39a19d2af103bd8343f63eb0d4efdd561cb
Rename `AnalyzeSymbol` to `AnalyzeNamedType`
dotnet/roslyn-analyzers,dotnet/roslyn-analyzers
src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/DeclareTypesInNamespaces.cs
src/NetAnalyzers/Core/Microsoft.CodeQuality.Analyzers/ApiDesignGuidelines/DeclareTypesInNamespaces.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; na...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; using Analyzer.Utilities; using Analyzer.Utilities.Extensions; na...
mit
C#
b1cca3925e4c68d45edf7cfd0831491fcca9d33b
set up a singleton Noop localizer instance instead of spinning one up for each call
versionone/VersionOne.Localization
web/Global.asax.cs
web/Global.asax.cs
using System.Globalization; using System.Threading; using System.Web; using System.Web.Mvc; using System.Web.Routing; using VersionOne.Localization; namespace web { public class Global : HttpApplication { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInf...
using System.Globalization; using System.Threading; using System.Web; using System.Web.Mvc; using System.Web.Routing; using VersionOne.Localization; namespace web { public class Global : HttpApplication { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInf...
bsd-3-clause
C#
6eccc7a24d63aa084ffe407c421eefe8f18e8a83
Disable style map methods for now
mwilliamson/java-mammoth
dotnet/Mammoth/DocumentConverter.cs
dotnet/Mammoth/DocumentConverter.cs
using System.IO; using Mammoth.Couscous; using Mammoth.Couscous.org.zwobble.mammoth.@internal; using Mammoth.Couscous.org.zwobble.mammoth.@internal.conversion; namespace Mammoth { public class DocumentConverter { private readonly DocumentToHtmlOptions options; public DocumentConverter() : this(Doc...
using System.IO; using Mammoth.Couscous; using Mammoth.Couscous.org.zwobble.mammoth.@internal; using Mammoth.Couscous.org.zwobble.mammoth.@internal.conversion; namespace Mammoth { public class DocumentConverter { private readonly DocumentToHtmlOptions options; public DocumentConverter() : this(Doc...
bsd-2-clause
C#
72e9073d694935087d98b58a3cab03e89675e3cc
Remove distance check from decision (not its role)
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/Enemy/Action_Attack.cs
Assets/Scripts/Enemy/Action_Attack.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Attack")] public class Action_Attack : Action { [SerializeField] float staminaRequired = 2f; [SerializeField] float attackDelay = 1f; [SerializeField] float attackDuration = 1f; [SerializeField] float attackDamage = 1f; [SerializeField] fl...
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Attack")] public class Action_Attack : Action { [SerializeField] float staminaRequired = 2f; [SerializeField] float attackDelay = 1f; [SerializeField] float attackDuration = 1f; [SerializeField] float attackDamage = 1f; [SerializeField] fl...
apache-2.0
C#
44618929a17d462b5c4af3628712ffded36e6d30
fix Issue #1: remove trailing slash when constructing the PsDriveInfo object so that Root never has the trailing slash.
ntent-ad/consul-ps-provider
ConsulPSProvider/ConsulPSDriveInfo.cs
ConsulPSProvider/ConsulPSDriveInfo.cs
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; using Consul; namespace ConsulPSProvider { public class ConsulPSDriveInfo : PSDriveInfo { public Client ConsulClient; // Issue ...
using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; using Consul; namespace ConsulPSProvider { public class ConsulPSDriveInfo : PSDriveInfo { public Client ConsulClient; p...
apache-2.0
C#
7ad982b540e013902af7fcb906cc7945cba399b7
Fix ordering of license header.
johnneijzen/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,Nabile-Rahmani/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,DrabWeb/osu,2yangk23/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,ppy/osu,naoey/osu,peppy/osu,peppy/osu-...
osu.Game.Rulesets.Mania/Replays/ManiaFramedReplayInputHandler.cs
osu.Game.Rulesets.Mania/Replays/ManiaFramedReplayInputHandler.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 System.Collections.Generic; using osu.Framework.Input; using osu.Game.Rulesets.Replays; namespace osu.Game.Rulesets.Mania.Replays { internal class M...
using System.Collections.Generic; using osu.Framework.Input; // 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.Game.Rulesets.Replays; namespace osu.Game.Rulesets.Mania.Replays { internal class M...
mit
C#
0fefd936e017ebade11e70ad4d32446a758b9872
fix httpclient reuse error
technicalpoets/producer,technicalpoets/producer
Producer/Producer.Domain/Auth/SecurityExtensions.cs
Producer/Producer.Domain/Auth/SecurityExtensions.cs
using System; using System.Linq; using System.Net.Http; using System.Security.Claims; using System.Security.Principal; namespace Producer.Auth { public static class SecurityExtensions { const string zumoAuthHeaderKey = "x-zumo-auth"; const string JwtRegisteredClaimNamesIss = "iss"; // https://github.com/Azur...
using System; using System.Linq; using System.Net.Http; using System.Security.Claims; using System.Security.Principal; namespace Producer.Auth { public static class SecurityExtensions { const string zumoAuthHeaderKey = "x-zumo-auth"; const string JwtRegisteredClaimNamesIss = "iss"; // https://github.com/Azur...
mit
C#
0171a75a6336715a7de4f333cb0f133ddc64c1c2
fix starting net35 and net4 example
emsaks/gong-wpf-dragdrop,JohnnyJoe/Johnny-s-repository,ruisebastiao/gong-wpf-dragdrop,huoxudong125/gong-wpf-dragdrop,punker76/gong-wpf-dragdrop,Haukinger/gong-wpf-dragdrop,JohnnyJoe/Johnny-s-repository,Livit/Mailbird.Gong.WPF.DragDrop
Examples/DefaultsExample/App.xaml.cs
Examples/DefaultsExample/App.xaml.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace NorthwindExample { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { public App() { #if N...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; namespace NorthwindExample { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { public App() { ...
bsd-3-clause
C#
eb84e7230006371e3632399caa8f349c31b5aeda
Handle the case where an external editor handles the app designer
agocke/roslyn,ljw1004/roslyn,shyamnamboodiripad/roslyn,MichalStrehovsky/roslyn,dotnet/roslyn,weltkante/roslyn,khyperia/roslyn,yeaicc/roslyn,vslsnap/roslyn,michalhosala/roslyn,agocke/roslyn,MattWindsor91/roslyn,agocke/roslyn,dpoeschl/roslyn,gafter/roslyn,CaptainHayashi/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,AlekseyTs/...
src/VisualStudio/ProjectSystem/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/Designers/Input/Commands/OpenProjectDesignerCommandBase.cs
src/VisualStudio/ProjectSystem/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/Designers/Input/Commands/OpenProjectDesignerCommandBase.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 System; using System.Threading.Tasks; using Microsoft.VisualStudio.ProjectSystem.Utilities; using Microsoft.VisualStudio.ProjectSystem.Utilities.Design...
// 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 System; using System.Threading.Tasks; using Microsoft.VisualStudio.ProjectSystem.Utilities; using Microsoft.VisualStudio.ProjectSystem.Utilities.Design...
mit
C#
b29cb59fb6f5f05ef226f0f2596c1bbcd99fbc1b
fix encoding
guitarrapc/AzureFunctionsIntroduction
v2/src/AzureFunctionsIntroduction/Features/Notify/NotifyTeams.cs
v2/src/AzureFunctionsIntroduction/Features/Notify/NotifyTeams.cs
using System; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Utf8Json; namespace AzureFunctionsIntroduction.Notify { public class NotifyTeams : INotify { private static string teamsWebhookUrl = ConfigurationManagerHelper.GetOrDefault("TeamsIncomingWebhookUrl", ""); ...
using System; using System.Net.Http; using System.Threading.Tasks; using Utf8Json; namespace AzureFunctionsIntroduction.Notify { public class NotifyTeams : INotify { private static string teamsWebhookUrl = ConfigurationManagerHelper.GetOrDefault("TeamsIncomingWebhookUrl", ""); private static H...
mit
C#
47956bb375544410f3af3ef64e77b52809aa25af
Change The Detail of the ajax Search
SoftwareDesign/Library,SoftwareDesign/Library,SoftwareDesign/Library
MMLibrarySystem/MMLibrarySystem/Controllers/BookListController.cs
MMLibrarySystem/MMLibrarySystem/Controllers/BookListController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MMLibrarySystem.Models; namespace MMLibrarySystem.Controllers { public class BookListController : Controller { public ActionResult Index(string searchTerm = null) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using MMLibrarySystem.Models; namespace MMLibrarySystem.Controllers { public class BookListController : Controller { public ActionResult Index(string searchTerm = null) { ...
apache-2.0
C#
ff2ca4deb2b35fed41d09482443f9daf96e1163a
Fix Stylet.Samples.OverridingViewManager
cH40z-Lord/Stylet,cH40z-Lord/Stylet,canton7/Stylet,canton7/Stylet
Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs
Samples/Stylet.Samples.OverridingViewManager/CustomViewManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Stylet.Samples.OverridingViewManager { [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] sealed class ViewModelAttribute : Attrib...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Stylet.Samples.OverridingViewManager { [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)] sealed class ViewModelAttribute : Attrib...
mit
C#
5ca86010215e2589bc28d60ece0c716eb83de362
Update version to 1.0.0.6
affandar/durabletask,ddobric/durabletask,Azure/durabletask
Framework/Properties/AssemblyInfo.cs
Framework/Properties/AssemblyInfo.cs
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
// ---------------------------------------------------------------------------------- // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www....
apache-2.0
C#
1a8a869af99b108c7dbbdb6804e42a39a517559d
fix for #1 base href not set correctly for dev setup
samwa/loconomics,loconomics/loconomics,loconomics/loconomics,loconomics/loconomics,loconomics/loconomics,samwa/loconomics,samwa/loconomics,samwa/loconomics
web/Default.cshtml
web/Default.cshtml
@{ if (LcHelpers.IsVeryOldBrowser()) { @RenderPage(LcUrl.RenderAppPath + "en-US/HelpCenter/UpgradeBrowser.cshtml"); return; } var s = System.IO.File.ReadAllText(Server.MapPath("~/_specialRoutes/app.html")); // Replace the BASE URL if (LcUrl.AppPath.Length > 1) { s = s.Replac...
@{ if (LcHelpers.IsVeryOldBrowser()) { @RenderPage(LcUrl.RenderAppPath + "en-US/HelpCenter/UpgradeBrowser.cshtml"); return; } var s = System.IO.File.ReadAllText(Server.MapPath("~/_specialRoutes/app.html")); // Replace the BASE URL if (LcUrl.AppPath.Length > 1) { s = s.Replac...
mpl-2.0
C#
8ad9b7e9cbbaed9769007aeae5b017ae3de5c354
bump version
alecgorge/adzerk-dot-net
Adzerk.Api/Properties/AssemblyInfo.cs
Adzerk.Api/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("Ad...
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("Ad...
mit
C#
b14d615ff4d0c06520045cf24d5b03762c8a1744
fix to run
autumn009/TanoCSharpSamples
chap36/CopyInstanceWith/CopyInstanceWith/Program.cs
chap36/CopyInstanceWith/CopyInstanceWith/Program.cs
using System; // この定義は将来のバージョンで不要になる見込みである // エラーになる場合は削除してみると良い namespace System.Runtime.CompilerServices { internal class IsExternalInit : Attribute { } } record Result(string FamilyName, string FirstName, int Point); class Program { public static void Dump(Result r) { Console.WriteLine($"{r.F...
using System; //public data class Result //{ //public string FamilyName { get; init; } //public string FirstName { get; init; } //public int Point { get; init; } //} //data class User { string FamilyName, string FirstName, int Point}; record Result(string FamilyName, string FirstName, int Point); class Program { ...
mit
C#
978cae3ba5ff23ab9126071917706f90b0675572
Support writing null/empty fixed-size primitive arrays
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer
src/FreecraftCore.Serializer/Serializers/Array/Primitive/FixedSizePrimitiveArrayTypeSerializerStrategy.cs
src/FreecraftCore.Serializer/Serializers/Array/Primitive/FixedSizePrimitiveArrayTypeSerializerStrategy.cs
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace FreecraftCore.Serializer { /// <summary> /// Non-generic nameof metadata. /// </summary> internal class FixedSizePrimitiveArrayTypeSerializerStrategy : BaseArraySerializerNonGenericMarker { } /...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; namespace FreecraftCore.Serializer { /// <summary> /// Non-generic nameof metadata. /// </summary> internal class FixedSizePrimitiveArrayTypeSerializerStrategy : BaseArraySerializerNonGenericMarker { } /...
agpl-3.0
C#
1fe08367672265fced62195225e1b7bd708834d5
Update Settings.cs
OfficeDev/O365-AspNetMVC-Microsoft-Graph-Connect,OfficeDev/O365-AspNetMVC-Unified-API-Connect,OfficeDev/O365-AspNetMVC-Unified-API-Connect
UnifiedApiConnect/Helpers/Settings.cs
UnifiedApiConnect/Helpers/Settings.cs
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. using System.Configuration; namespace UnifiedApiConnect.Helpers { public static class Settings { public static string ClientId => ConfigurationManager.AppSettings["ClientID"]...
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. using System.Configuration; namespace UnifiedApiConnect.Helpers { public static class Settings { public static string ClientId => ConfigurationManager.AppSettings["ClientID"]...
mit
C#
b5a5d201419bd6e17c8fbfb699297a22a289ff79
Fix comment typo
Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
namespace Microsoft.AspNetCore.Hosting { using System.Diagnostics; using System.Globalization; using System.IO; using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Opt...
namespace Microsoft.AspNetCore.Hosting { using System.Diagnostics; using System.Globalization; using System.IO; using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Opt...
mit
C#
d8a8b26ae5ed6786f872ae871745d20878389174
Add code contract.
bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes
Orchard.Source.1.8.1/src/Orchard.Web/Modules/Bootstrap_3_1_1/Views/Fields/MediaLibraryPicker-IntroImage.cshtml
Orchard.Source.1.8.1/src/Orchard.Web/Modules/Bootstrap_3_1_1/Views/Fields/MediaLibraryPicker-IntroImage.cshtml
@using Orchard.ContentManagement @using Orchard.MediaLibrary.Fields @using Orchard.Utility.Extensions; @{ var field = (MediaLibraryPickerField)Model.ContentField; string name = field.DisplayName; var contents = field.MediaParts; } @if (contents.Count() > 0) { <section class="media-library-picker-fiel...
@using Orchard.ContentManagement @using Orchard.MediaLibrary.Fields @using Orchard.Utility.Extensions; @{ var field = (MediaLibraryPickerField)Model.ContentField; string name = field.DisplayName; var contents = field.MediaParts; } <section class="media-library-picker-field media-library-picker-field-@name...
bsd-3-clause
C#
09f977064952c4b86234967ee5da72c2e2fbdf08
Disable MdsTest for now
qusma/QPAS
QPTASTest/MdsTest.cs
QPTASTest/MdsTest.cs
using MathNet.Numerics.LinearAlgebra.Double; using NUnit.Framework; using QPAS; namespace QPASTest { [TestFixture] public class MdsTest { [Test] public void ItWorks() { DenseMatrix dist = DenseMatrix.Create(3, 3, (_, __) => 0); dist[1, 0] = 4.94760097137838;...
using MathNet.Numerics.LinearAlgebra.Double; using NUnit.Framework; using QPAS; namespace QPASTest { [TestFixture] public class MdsTest { [Test] public void ItWorks() { DenseMatrix dist = DenseMatrix.Create(3, 3, (_, __) => 0); dist[1, 0] = 4.94760097137838;...
bsd-3-clause
C#
5983ecfb990333d95aefb1daac5ef4b52f76b93f
Change from displaying an error to redirecting back home
EmilySamantha80/RTS
RTS/ViewTone.aspx.cs
RTS/ViewTone.aspx.cs
using RTS.MIDI; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace RTS { public partial class ViewTone : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { int...
using RTS.MIDI; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace RTS { public partial class ViewTone : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { int...
mit
C#
634cf1fcbdb7cb034d3ec49d9cc03f2b3a924e7c
Add Debug output
MorganR/wizards-chess,MorganR/wizards-chess
WizardsChess/WizardsChess/GpioToggler.cs
WizardsChess/WizardsChess/GpioToggler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Devices.Gpio; namespace WizardsChess { public sealed class GpioToggler { public GpioToggler(TimeSpan period, int pinNum) { this.period = period; gpio = GpioController.GetDefaul...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Devices.Gpio; namespace WizardsChess { public sealed class GpioToggler { public GpioToggler(TimeSpan period, int pinNum) { this.period = period; gpio = GpioController.GetDefaul...
apache-2.0
C#
7514dd51d52cda11de26b7b7171e791ce23e7806
bump ver
AntonyCorbett/OnlyT,AntonyCorbett/OnlyT
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.2.0.23")]
using System.Reflection; [assembly: AssemblyCompany("SoundBox")] [assembly: AssemblyProduct("OnlyT")] [assembly: AssemblyCopyright("Copyright © 2019 Antony Corbett")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.2.0.22")]
mit
C#
1f853cfd13e94c787b621183a61943f30a710878
Update DefaultAssemblyDirectoryFormatterTest.cs
toddams/RazorLight,toddams/RazorLight
tests/RazorLight.Tests/Compilation/DefaultAssemblyDirectoryFormatterTest.cs
tests/RazorLight.Tests/Compilation/DefaultAssemblyDirectoryFormatterTest.cs
using Microsoft.CodeAnalysis; using RazorLight.Compilation; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Xunit; using Xunit.Abstractions; namespace RazorLight.Tests.Compilation { public class DefaultAssemblyDirectoryFormatterTest { private ITestOutputHelper _testOutpu...
using Microsoft.CodeAnalysis; using RazorLight.Compilation; using System; using System.Collections.Generic; using System.Runtime.InteropServices; using Xunit; using Xunit.Abstractions; namespace RazorLight.Tests.Compilation { public class DefaultAssemblyDirectoryFormatterTest { private ITestOutputHelper _testOutpu...
apache-2.0
C#
7a5ae06eedd8342d1c7834d1c1517cfcabb6fb75
Fix args on GetParam
ryanvalentin/disqus-oauth-azure
OAuthCallbackHttpTrigger/endpoint.csx
OAuthCallbackHttpTrigger/endpoint.csx
using System.Net; using System.Net.Http; private static HttpResponseMessage GetResponse(Dictionary<string, string> payload, HttpStatusCode status) { var response = new HttpResponseMessage(); StringBuilder sb = new StringBuilder(); sb.Append("<html><body>"); foreach (var kv in payload) { sb....
using System.Net; using System.Net.Http; private static HttpResponseMessage GetResponse(Dictionary<string, string> payload, HttpStatusCode status) { var response = new HttpResponseMessage(); StringBuilder sb = new StringBuilder(); sb.Append("<html><body>"); foreach (var kv in payload) { sb....
mit
C#
446117e8e6bc9a8d22b5db61b47f7f4439798276
Bump for v0.8.0 (#217)
decred/Paymetheus,jrick/Paymetheus
Paymetheus/Properties/AssemblyInfo.cs
Paymetheus/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 ...
isc
C#
9de4749b0e321931f2da85a2647f2f18660d9d7f
Reformat attributes
ulrichb/ReSharperExtensionsShared
Src/ReSharperExtensionsShared/Highlighting/SimpleTreeNodeHighlightingBase.cs
Src/ReSharperExtensionsShared/Highlighting/SimpleTreeNodeHighlightingBase.cs
using JetBrains.Annotations; using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.Tree; namespace ReSharperExtensionsShared.Highlighting { public abstract class SimpleTreeNodeHighlightingBase<T> : IHighlighting where T : ITreeNode { protected S...
using JetBrains.Annotations; using JetBrains.DocumentModel; using JetBrains.ReSharper.Feature.Services.Daemon; using JetBrains.ReSharper.Psi.Tree; namespace ReSharperExtensionsShared.Highlighting { public abstract class SimpleTreeNodeHighlightingBase<T> : IHighlighting where T : ITreeNode { protected S...
mit
C#
81e503329fde4b357639f6c4e80b9127fac898c0
Fix scanPercent comment.
YuvalItzchakov/aerospike-client-csharp
AerospikeClient/Policy/ScanPolicy.cs
AerospikeClient/Policy/ScanPolicy.cs
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * 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...
/******************************************************************************* * Copyright 2012-2014 by Aerospike. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction...
apache-2.0
C#
62bd0b70be0ece8c788111430220c64bdec79639
Fix copy-paste error
WolfspiritM/Colore,CoraleStudios/Colore
Corale.Colore.WinForms/Extensions.cs
Corale.Colore.WinForms/Extensions.cs
// <copyright file="Extensions.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // 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 rest...
// <copyright file="Extensions.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // 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 rest...
mit
C#
5225f37c22c91b9c5bd1f18fc7e707568fd4f374
Set base path to current directory if ContentRootPath is null on hosting environment. This path is where AI would look for appsettings.json file for ikey, endpoint etc.
Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
src/Microsoft.ApplicationInsights.AspNetCore/Extensions/DefaultApplicationInsightsServiceConfigureOptions.cs
namespace Microsoft.AspNetCore.Hosting { using System.Diagnostics; using System.Globalization; using System.IO; using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Opt...
namespace Microsoft.AspNetCore.Hosting { using System.Diagnostics; using System.Globalization; using Microsoft.ApplicationInsights.AspNetCore.Extensions; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; /// <summa...
mit
C#
35d1d21dfa274f5282841d58882b055b2fd1d11c
Revert "Increase version to avoid confusion in documentation"
ikkentim/SampSharp,Seprum/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp,Seprum/SampSharp,Seprum/SampSharp,Seprum/SampSharp
src/SampSharp.GameMode/Properties/AssemblyInfo.cs
src/SampSharp.GameMode/Properties/AssemblyInfo.cs
// SampSharp // Copyright 2015 Tim Potze // // 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 o...
// SampSharp // Copyright 2015 Tim Potze // // 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 o...
apache-2.0
C#
524fddef4804b8d92b7d4d6ae9b19beef5e2a1be
Add general JWK to JWK (RSA) conversion
thnetii/dotnet-common
src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs
src/THNETII.Security.JOSE/JsonWebRsaExtensions.cs
using Newtonsoft.Json; using System; using System.Security.Cryptography; namespace THNETII.Security.JOSE { public static class JsonWebRsaExtensions { public static JsonRsaWebKey ExportJsonWebKey(this RSA rsa, bool includePrivateParameters) { if (rsa == null) throw n...
using System; using System.Security.Cryptography; namespace THNETII.Security.JOSE { public static class JsonWebRsaExtensions { public static JsonRsaWebKey ExportJsonWebKey(this RSA rsa, bool includePrivateParameters) { if (rsa == null) throw new ArgumentNullExceptio...
mit
C#
aae2d6597942dd2384b0affc1f53645bba01d792
Remove unnecessary type
eriawan/roslyn,panopticoncentral/roslyn,shyamnamboodiripad/roslyn,brettfo/roslyn,davkean/roslyn,heejaechang/roslyn,KirillOsenkov/roslyn,AlekseyTs/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,bartdesmet/roslyn,agocke/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,s...
src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.cs
src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.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 System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; namespace Microsoft.CodeAnalysis.Remote.Storage { //...
// 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 System.Composition; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Host.Mef; using Microsoft.CodeAnalysis.SolutionSize; namespace Mic...
mit
C#
6152e0f7cf534809d96ce6ec32a3bdee8665752c
Rename solution build action
Zvirja/ReSharperHelpers
AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBulidProvider.cs
AlexPovar.ReSharperHelpers/Build/RunConfigProjectWithSolutionBulidProvider.cs
using JetBrains.Application; using JetBrains.IDE.RunConfig; using JetBrains.UI.Icons; using JetBrains.VsIntegration.Resources; namespace AlexPovar.ReSharperHelpers.Build { [ShellComponent] public class RunConfigProjectWithSolutionBulidProvider : RunConfigProviderBase { public override string Name => "Launch...
using JetBrains.Application; using JetBrains.IDE.RunConfig; using JetBrains.UI.Icons; using JetBrains.VsIntegration.Resources; namespace AlexPovar.ReSharperHelpers.Build { [ShellComponent] public class RunConfigProjectWithSolutionBulidProvider : RunConfigProviderBase { public override string Name => "Launch...
mit
C#
451de323e959ed56ad036e4befaa399b71b254cb
simplify program.cs
OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev
web/AlphaDev.Web/Program.cs
web/AlphaDev.Web/Program.cs
using System.IO; using System.Reflection; using AlphaDev.Web.Bootstrap; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace AlphaDev.Web { public class Program { public static void Main(stri...
using System.IO; using System.Reflection; using AlphaDev.Web.Bootstrap; using Microsoft.AspNetCore; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace AlphaDev.Web { public class Program { public static void Main(stri...
unlicense
C#
f71ac1294418d2c3e93e1ea594be618528ff025c
fix GotoFile
x335/omnisharp-server,x335/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,OmniSharp/omnisharp-server
OmniSharp/GotoFile/GotoFileModule.cs
OmniSharp/GotoFile/GotoFileModule.cs
using Nancy; namespace OmniSharp.GotoFile { public class GotoFileModule : NancyModule { public GotoFileModule(GotoFileHandler gotoFileHandler) { Post["GotoFile", "/gotofile"] = x => { var res = gotoFileHandler.GetSolutionFiles(); return R...
using Nancy; namespace OmniSharp.GotoFile { public class GotoFileModule : NancyModule { public GotoFileModule(GotoFileHandler gotoFileHandler) { Post["GotoFile", "/ gotofile"] = x => { var res = gotoFileHandler.GetSolutionFiles(); return ...
mit
C#
5e932dfff9a8e6a1f3d2f7ee3749c314c2e4c968
Handle multiple addresses in the To field
jeremycook/PickupMailViewer,jeremycook/PickupMailViewer
PickupMailViewer/Models/MailModel.cs
PickupMailViewer/Models/MailModel.cs
using PickupMailViewer.Helpers; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace PickupMailViewer.Models { public class MailModel { private readonly CDO.Message mail; private readonly string mailPath; public MailModel(strin...
using PickupMailViewer.Helpers; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; namespace PickupMailViewer.Models { public class MailModel { private readonly CDO.Message mail; private readonly string mailPath; public MailModel(strin...
mit
C#
7ff143171fc3cb86345f7f1f1f977430ddb1af60
debug hand
LLucile/Institfighter
Assets/Scripts/Hand.cs
Assets/Scripts/Hand.cs
using UnityEngine; using System.Collections; public class Hand : MonoBehaviour { // attributes Card CL; Card CR; Card CT; Card CB; float T = 0; // Use this for initialization void Start () { CL = GameManager.heap.PickFonction (); CR = GameManager.heap.PickFonction (); CT = GameManager.heap.PickOperateu...
using UnityEngine; using System.Collections; public class Hand : MonoBehaviour { // attributes Card CL; Card CR; Card CT; Card CB; float T = 0; // Use this for initialization void Start () { Card CL = GameManager.heap.PickFonction (); Card CR = GameManager.heap.PickFonction (); Card CT = GameManager.he...
mit
C#
d46633cc9ef9ea0e6df6237cf1d95f1438567520
Make Card methods internal (only board should access them)
andreminelli/MemoryGame
MemoryGame.Core/Card.cs
MemoryGame.Core/Card.cs
using System; using System.Diagnostics; namespace MemoryGame.Core { [DebuggerDisplay("Piece {value}")] public class Card<T> { public T Value { get; } public Card(T value) { if (value.Equals(default(T))) throw new ArgumentExce...
using System; using System.Diagnostics; namespace MemoryGame.Core { [DebuggerDisplay("Piece {value}")] public class Card<T> { public T Value { get; } public Card(T value) { if (value.Equals(default(T))) throw new ArgumentExce...
apache-2.0
C#
1b47de3b86c9ce9e0349f1959d0bb1a1d27ee2f7
build 1.0.17.0
agileharbor/shopVisibleAccess
src/Global/GlobalAssemblyInfo.cs
src/Global/GlobalAssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShopVisibleAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ] [ assembly : Ass...
using System; using System.Reflection; using System.Runtime.InteropServices; [ assembly : ComVisible( false ) ] [ assembly : AssemblyProduct( "ShopVisibleAccess" ) ] [ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ] [ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ] [ assembly : Ass...
bsd-3-clause
C#
6124191515fe4f1a76ca27edd2e3e53dc70fdddf
Replace by other icon (temporary)
zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos
source/Cosmos.VS.ProjectSystem/ProjectSystem/ProjectTreePropertiesProvider.cs
source/Cosmos.VS.ProjectSystem/ProjectSystem/ProjectTreePropertiesProvider.cs
using System.ComponentModel.Composition; using Microsoft.VisualStudio.Imaging; using Microsoft.VisualStudio.ProjectSystem; namespace Cosmos.VS.ProjectSystem { [Export(typeof(IProjectTreePropertiesProvider))] [AppliesTo(ProjectCapability.Cosmos)] [Order(Order.OverrideManaged)] internal class ProjectTre...
using System.ComponentModel.Composition; using Microsoft.VisualStudio.ProjectSystem; namespace Cosmos.VS.ProjectSystem { [Export(typeof(IProjectTreePropertiesProvider))] [AppliesTo(ProjectCapability.Cosmos)] [Order(Order.OverrideManaged)] internal class ProjectTreePropertiesProvider : IProjectTreeProp...
bsd-3-clause
C#
2402c715da6d69c78b0c9ecb4e12db6a3c954619
Fix for DI
CleanKludge/website,CleanKludge/website
src/CleanKludge.Data.File/Modules/FileModule.cs
src/CleanKludge.Data.File/Modules/FileModule.cs
using CleanKludge.Core.Articles; using CleanKludge.Core.Articles.Data; using CleanKludge.Data.File.Articles; using CleanKludge.Data.File.Serializers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Ext...
using CleanKludge.Core.Articles.Data; using CleanKludge.Data.File.Articles; using CleanKludge.Data.File.Serializers; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; namespace CleanKludge.Data.File.Modules { publi...
mit
C#
d44aec4bf8770514952c79d84328ae1f83c68557
fix regression layer loss computation
cbovar/ConvNetSharp
src/ConvNetSharp.Core/Layers/RegressionLayer.cs
src/ConvNetSharp.Core/Layers/RegressionLayer.cs
using System; using System.Collections.Generic; using ConvNetSharp.Volume; namespace ConvNetSharp.Core.Layers { /// <summary> /// implements an L2 regression cost layer, /// so penalizes \sum_i(||x_i - y_i||^2), where x is its input /// and y is the user-provided array of "correct" values....
using System; using System.Collections.Generic; using ConvNetSharp.Volume; namespace ConvNetSharp.Core.Layers { /// <summary> /// implements an L2 regression cost layer, /// so penalizes \sum_i(||x_i - y_i||^2), where x is its input /// and y is the user-provided array of "correct" values....
mit
C#
d4ddfa21433454821ac0a985fced0164f3769b4a
Make non-optional
ErikSchierboom/roslyn,ErikSchierboom/roslyn,shyamnamboodiripad/roslyn,brettfo/roslyn,aelij/roslyn,dotnet/roslyn,tmat/roslyn,panopticoncentral/roslyn,brettfo/roslyn,heejaechang/roslyn,jmarolf/roslyn,AmadeusW/roslyn,gafter/roslyn,KevinRansom/roslyn,genlu/roslyn,brettfo/roslyn,AlekseyTs/roslyn,jmarolf/roslyn,mgoertz-msft/...
src/CodeStyle/Core/CodeFixes/LanguageServices/SemanticModelWorkspaceService/SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.cs
src/CodeStyle/Core/CodeFixes/LanguageServices/SemanticModelWorkspaceService/SemanticModelWorkspaceServiceFactory.SemanticModelWorkspaceService.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. #nullable enable using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host.Mef; usin...
// 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. #nullable enable using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host.Mef; usin...
mit
C#
625edc60efc9ce3e549763a957109cad40879dd4
fix all models routing
Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen
Dashen/Dashboard.cs
Dashen/Dashboard.cs
using System; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.SelfHost; using Dashen.Infrastructure; using StructureMap; namespace Dashen { public class Dashboard { private readonly IContainer _container; private readonly DashboardConfiguration _config; private readonly ModelInfoRep...
using System; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.SelfHost; using Dashen.Infrastructure; using StructureMap; namespace Dashen { public class Dashboard { private readonly IContainer _container; private readonly DashboardConfiguration _config; private readonly ModelInfoRep...
lgpl-2.1
C#
448b257e87d5c56b15ea3e0fbfa057f94d0835ed
Change structure of engine class
turtle-box-games/leaf-csharp
Leaf/Leaf/Engine.cs
Leaf/Leaf/Engine.cs
using System.IO; using Leaf.Nodes; namespace Leaf { /// <summary> /// Handles serialization and meta-data of nodes in a container. /// </summary> public abstract class Engine { /// <summary> /// Numerical version used to distinguish this engine from others. /// </summary> ...
using System; namespace Leaf { /// <summary> /// Handles serialization and meta-data of nodes in a container. /// </summary> public abstract class Engine { /// <summary> /// Numerical version used to distinguish this engine from others. /// </summary> public abstrac...
mit
C#
977b0fd0fd2d22567b7c563efe860c67d1c98b30
Upgrade the interface test
jonathanvdc/ecsc
tests/cs/interface/Interface.cs
tests/cs/interface/Interface.cs
using System; interface IFlyable { void Fly(); string Name { get; } string this[int i] { get; } } class Bird : IFlyable { public Bird() { Name = "Bird"; } public string Name { get; private set; } public string this[int i] => Name; public void Fly() { Console....
using System; interface IFlyable { void Fly(); string Name { get; } } class Bird : IFlyable { public Bird() { Name = "Bird"; } public string Name { get; private set; } public void Fly() { Console.WriteLine("Chirp"); } } class Plane : IFlyable { public Plane()...
mit
C#
771b0b1eb14acf2f14e4832fd021380784ca3627
Fix build break
FubarDevelopment/cli,johnbeisner/cli,mylibero/cli,blackdwarf/cli,krwq/cli,stuartleeks/dotnet-cli,jonsequitur/cli,schellap/cli,schellap/cli,jaredpar/cli,borgdylan/dotnet-cli,borgdylan/dotnet-cli,mlorbetske/cli,FubarDevelopment/cli,stuartleeks/dotnet-cli,nguerrera/cli,gkhanna79/cli,livarcocc/cli-1,EdwardBlair/cli,Abhitej...
src/Microsoft.DotNet.Cli.Utils/CommandResult.cs
src/Microsoft.DotNet.Cli.Utils/CommandResult.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; namespace Microsoft.DotNet.Cli.Utils { public struct CommandResult { public static readonly CommandResult Empt...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; namespace Microsoft.DotNet.Cli.Utils { internal struct CommandResult { public static readonly CommandResult Em...
mit
C#
6e895ed60ed23f61d5d1f8b2ba9fff47f50c0b4a
cut size to 10
lianzhao/ASOIAFWikiTranslater,lianzhao/ASOIAFWikiTranslater
src/Wiki.Api.Wikia/Article/ApiArticleService.cs
src/Wiki.Api.Wikia/Article/ApiArticleService.cs
namespace Wiki.Api.Wikia.Article { using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using Wiki.Api.Article; public class ApiArticleService : WebServiceBase, IArticleService ...
namespace Wiki.Api.Wikia.Article { using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json; using Wiki.Api.Article; public class ApiArticleService : WebServiceBase, IArticleService ...
mit
C#
5380d72337da738ecd0988244418b083a4eb1c60
remove todo
SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice
src/SFA.DAS.ProviderApprenticeshipsService.Application/Queries/GetProviderHasRelationshipWithPermission/GetProviderHasRelationshipWithPermissionQueryHandler.cs
src/SFA.DAS.ProviderApprenticeshipsService.Application/Queries/GetProviderHasRelationshipWithPermission/GetProviderHasRelationshipWithPermissionQueryHandler.cs
using System.Threading; using System.Threading.Tasks; using MediatR; using SFA.DAS.ProviderRelationships.Api.Client; using SFA.DAS.ProviderRelationships.Types.Dtos; namespace SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetProviderHasRelationshipWithPermission { public class GetProviderHasRelationsh...
using System.Threading; using System.Threading.Tasks; using MediatR; using SFA.DAS.ProviderRelationships.Api.Client; using SFA.DAS.ProviderRelationships.Types.Dtos; namespace SFA.DAS.ProviderApprenticeshipsService.Application.Queries.GetProviderHasRelationshipWithPermission { public class GetProviderHasRelationsh...
mit
C#
5e2e4295a010490c0cd9fea1e6756792241aa67f
Change layout structure by reducing the leftbar section to 2 spans
ndrmc/cats,ndrmc/cats,ndrmc/cats
Web/Views/Shared/_AdminLayout.cshtml
Web/Views/Shared/_AdminLayout.cshtml
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>CATS Administration Dashboard</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="~/Content/assets/css/bootstrap.css" rel="stylesheet"> <link href="~/Content/assets/css/bootstrap-responsive...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>CATS Administration Dashboard</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="~/Content/assets/css/bootstrap.css" rel="stylesheet"> <link href="~/Content/assets/css/bootstrap-responsive...
apache-2.0
C#
569ab5aff9c20221421b0dfdc6dfdb51b47f2306
correct android theme color
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/mikeandwan.us/Views/Shared/_Favicons.cshtml
src/mikeandwan.us/Views/Shared/_Favicons.cshtml
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=1"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=1"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=1"> <link rel="manifest" href="/manifest.json?v=1"> <link rel="mask-icon" href="/safari...
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=1"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=1"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=1"> <link rel="manifest" href="/manifest.json?v=1"> <link rel="mask-icon" href="/safari...
mit
C#
28cbfba0930c93215aa0c8e3d67e8b532c7a50e8
Remove unnecessary local class
peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework
osu.Framework.Tests/Platform/GameHostSuspendTest.cs
osu.Framework.Tests/Platform/GameHostSuspendTest.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.Threading; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Platform; namespace osu.Framework.Tests.Platform { [TestFixture] ...
// 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.Threading; using System.Threading.Tasks; using NUnit.Framework; using osu.Framework.Platform; namespace osu.Framework.Tests.Platform { [TestFixture] ...
mit
C#
27840cdff6b897bab68cacbb670f68c22e682e68
Add HOTP key URI implementation
kappa7194/otp
Albireo.Otp/Hotp.cs
Albireo.Otp/Hotp.cs
namespace Albireo.Otp { using System; using System.Diagnostics.Contracts; public static class Hotp { public static int GetCode(string secret, long counter, int digits = Otp.DefaultDigits) { Contract.Requires<ArgumentNullException>(secret != null); Contract.Requi...
namespace Albireo.Otp { using System; using System.Diagnostics.Contracts; public static class Hotp { public static int GetCode(string secret, long counter, int digits = Otp.DefaultDigits) { Contract.Requires<ArgumentNullException>(secret != null); Contract.Requi...
mit
C#
db6cddcc02037ed04a885f8ec1d7ee49ee439a85
Set version
BizTalkComponents/DecryptMessage
Src/DecryptMessage/Properties/AssemblyInfo.cs
Src/DecryptMessage/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("Bi...
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("Bi...
mit
C#
7f21d7b2e3f189357b598ad6f033e3f374586a0e
Add strongly worded message
jorik041/maccore,mono/maccore,cwensley/maccore
src/AVFoundation/AVAudioRecorder.cs
src/AVFoundation/AVAudioRecorder.cs
// Copyright 2009, Novell, Inc. // Copyright 2010, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, c...
// Copyright 2009, Novell, Inc. // Copyright 2010, Novell, Inc. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, c...
apache-2.0
C#
bff91b7a154dc9e3f5c23b0a324edbd147507c7d
Remove unnecessary try/catch
appharbor/appharbor-cli
src/AppHarbor/ConsoleProgressBar.cs
src/AppHarbor/ConsoleProgressBar.cs
using System; using System.IO; namespace AppHarbor { public class ConsoleProgressBar { private const char ProgressBarCharacter = '\u2592'; public static void Render(double percentage, ConsoleColor color, string message) { ConsoleColor originalColor = Console.ForegroundColor; Console.CursorLeft = 0; ...
using System; using System.IO; namespace AppHarbor { public class ConsoleProgressBar { private const char ProgressBarCharacter = '\u2592'; public static void Render(double percentage, ConsoleColor color, string message) { ConsoleColor originalColor = Console.ForegroundColor; Console.CursorLeft = 0; ...
mit
C#
89dbeddbc99bf0debcabeebcf96fabc8b83e05fa
Fix wrapping of policies
glennc/Kickr
src/Kickr.Polly/PolicyCollection.cs
src/Kickr.Polly/PolicyCollection.cs
 using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; namespace Polly { public class PolicyCollection : Collection<Policy<HttpResponseMessage>> { private Policy<HttpResponseMessage> _cached; public Policy<HttpResponseMessage> Combine() { if (_cac...
 using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; namespace Polly { public class PolicyCollection : Collection<Policy<HttpResponseMessage>> { private Policy<HttpResponseMessage> _cached; public Policy<HttpResponseMessage> Combine() { if (_cac...
apache-2.0
C#
9d74ebd3a759b255bc7fb95aee5d0b0dbfe71ee3
add finished command for creating users in the helper
olebg/Movie-Theater-Project
MovieTheater/MovieTheater.Framework/Core/Commands/Common/DisplayHelpCommand.cs
MovieTheater/MovieTheater.Framework/Core/Commands/Common/DisplayHelpCommand.cs
using MovieTheater.Data.Contracts; using MovieTheater.Framework.Core.Commands.Abstractions; using MovieTheater.Framework.Core.Commands.Contracts; using MovieTheater.Models.Factory.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; n...
using MovieTheater.Data.Contracts; using MovieTheater.Framework.Core.Commands.Abstractions; using MovieTheater.Framework.Core.Commands.Contracts; using MovieTheater.Models.Factory.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; n...
mit
C#
cf6d6f9402189db370bed21906711f09b830773b
Update Program.cs
organizacjamp/rezerwacjaKawy
ConsoleApplication1/ConsoleApplication1/Program.cs
ConsoleApplication1/ConsoleApplication1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { fdgdg dggd drt } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { } } }
mit
C#
9f0772a16c601edf6f193e0fd09be2aa2efaab08
Use full type name to allow multiple toggles with same name but different namespace.
CraftyFella/SimpleToggle,CraftyFella/SimpleToggle,CraftyFella/SimpleToggle,CraftyFella/SimpleToggle
SimpleToggle/Toggle.cs
SimpleToggle/Toggle.cs
using System; using System.Collections.Generic; using System.Linq; namespace SimpleToggle { public class Toggle { public class Config { static Config() { NoToggleBehaviour = DefaultNoToggleBehaviour; } private static bool DefaultN...
using System; using System.Collections.Generic; using System.Linq; namespace SimpleToggle { public class Toggle { public class Config { static Config() { NoToggleBehaviour = DefaultNoToggleBehaviour; } private static bool DefaultN...
mit
C#
5a736e0961a492dc4bbe5746c1b4b9b9cbf4d932
add `callback_id`
Inumedia/SlackAPI,Jaykul/SlackAPI
SlackAPI/Attachment.cs
SlackAPI/Attachment.cs
namespace SlackAPI { //See: https://api.slack.com/docs/attachments public class Attachment { public string callback_id; public string fallback; public string color; public string pretext; public string author_name; public string author_link; public st...
namespace SlackAPI { //See: https://api.slack.com/docs/attachments public class Attachment { public string fallback; public string color; public string pretext; public string author_name; public string author_link; public string author_icon; public st...
mit
C#
d9dc09e288c4c0a428b52865e6d65bee730b681d
make interface public
YoloDev/YOBAO
Source/Yobao/IYobao.cs
Source/Yobao/IYobao.cs
using System; using System.Collections.Generic; using System.Linq; namespace Yobao { public interface IYobao<T> where T : class { ICollection<DataConfiguration<T, object>> Configurations { get; } IQueryable<object> GetQueryable(string typeName); void Register<TResult>(Func<T, IQue...
using System; using System.Collections.Generic; using System.Linq; namespace Yobao { interface IYobao<T> where T : class { ICollection<DataConfiguration<T, object>> Configurations { get; } IQueryable<object> GetQueryable(string typeName); void Register<TResult>(Func<T, IQueryable<...
mit
C#
cbbf81feb70ed9f6250993680900b69907487194
Simplify ContactReader
haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,orand/Xamarin.Mobile,moljac/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile
MonoDroid/Xamarin.Mobile/Contacts/ContactReader.cs
MonoDroid/Xamarin.Mobile/Contacts/ContactReader.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Android.Content; using Android.Content.Res; using Android.Database; using Android.Provider; namespace Xamarin.Contacts { internal class ContactReader : IEnumerable<Contact> { public ContactReader...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; using Android.Content; using Android.Content.Res; using Android.Database; using Android.Provider; namespace Xamarin.Contacts { internal class ContactReader : IEnumerable<Contact> { public ContactReader...
apache-2.0
C#
978694b3c05dd6dff239e6e760056a918829a7b9
set binary mode
JTrotta/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet
Source/MQTTnet.AspnetCore/MqttConnectionHandler.cs
Source/MQTTnet.AspnetCore/MqttConnectionHandler.cs
using Microsoft.AspNetCore.Connections; using Microsoft.AspNetCore.Connections.Features; using MQTTnet.Adapter; using MQTTnet.Serializer; using MQTTnet.Server; using System; using System.Threading.Tasks; namespace MQTTnet.AspNetCore { public class MqttConnectionHandler : ConnectionHandler, IMqttServerAdapter ...
using Microsoft.AspNetCore.Connections; using MQTTnet.Adapter; using MQTTnet.Serializer; using MQTTnet.Server; using System; using System.Threading.Tasks; namespace MQTTnet.AspNetCore { public class MqttConnectionHandler : ConnectionHandler, IMqttServerAdapter { public event EventHandler<MqttS...
mit
C#
31dc6bea402d4afcd8587e2b01c99f3a555664cd
update version of TAlex.Mvvm
T-Alex/Mvvm
TAlex.Mvvm/Properties/AssemblyInfo.cs
TAlex.Mvvm/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("TA...
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("TA...
mit
C#
23e7dd1761be0f2c7b55eed1925897b8ea35ddc3
fix maximum fps display
oggy83/TinyOculusSharpDxDemo
TinyOculusSharpDxDemo/NumberEntity.cs
TinyOculusSharpDxDemo/NumberEntity.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; using SharpDX.D3DCompiler; using SharpDX.Direct3D; using SharpDX.Direct3D11; using System.Diagnostics; namespace TinyOculusSharpDxDemo { public class NumberEntity : IDisposable, IDrawabl...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SharpDX; using SharpDX.D3DCompiler; using SharpDX.Direct3D; using SharpDX.Direct3D11; using System.Diagnostics; namespace TinyOculusSharpDxDemo { public class NumberEntity : IDisposable, IDrawabl...
mit
C#
95fb189ea5c65d4afb79c504c2816079f5a80bb4
Mark class [Serializable] to address warning
mbdavid/LiteDB,89sos98/LiteDB,falahati/LiteDB,falahati/LiteDB,89sos98/LiteDB
LiteDB.Shell/Shell/ShellException.cs
LiteDB.Shell/Shell/ShellException.cs
using System; namespace LiteDB.Shell { [Serializable] internal class ShellException : Exception { public ShellException(string message) : base(message) { } public static ShellException NoDatabase() { return new ShellException("No open databa...
using System; namespace LiteDB.Shell { internal class ShellException : Exception { public ShellException(string message) : base(message) { } public static ShellException NoDatabase() { return new ShellException("No open database"); } ...
mit
C#
530455b952cf0bbeed4c23f25c14861a86febf95
Disable echo effect on double click copy
Schlechtwetterfront/snipp
Views/ClipList.xaml.cs
Views/ClipList.xaml.cs
using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media.Animation; namespace clipman.Views { /// <summary> /// Interaction logic for ClipList.xaml /// </summary> public partial class ClipList : UserControl { public ClipList() { InitializeCo...
using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media.Animation; namespace clipman.Views { /// <summary> /// Interaction logic for ClipList.xaml /// </summary> public partial class ClipList : UserControl { public ClipList() { InitializeCo...
apache-2.0
C#
3292a7cdc73affcaad54e268ec01fd20f4167bc6
Apply transaction in same thread
markmeeus/MarcelloDB
Marcello/Transactions/Transaction.cs
Marcello/Transactions/Transaction.cs
using System; using System.Threading.Tasks; namespace Marcello.Transactions { internal class Transaction { Marcello Session { get; set; } internal bool Running { get; set; } internal bool IsCommitting { get; set; } int Enlisted { get; set; } internal Transaction(Mar...
using System; using System.Threading.Tasks; namespace Marcello.Transactions { internal class Transaction { Marcello Session { get; set; } internal bool Running { get; set; } internal bool IsCommitting { get; set; } int Enlisted { get; set; } internal Transaction(Mar...
mit
C#
27fb42ceb0b71950f78642024bcbbeab5a071e18
Add NeutralResourceLanguage attribute
mcartoixa/NetMonkey
NetMonkey/Properties/AssemblyInfo.cs
NetMonkey/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; 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 ass...
using System.Reflection; using System.Resources; 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 ass...
mit
C#
a88984ba8b8456059d1fe587ad8e56bfe24acfb3
Update ValuesOut.cs
EricZimmerman/RegistryPlugins
RegistryPlugin.Products/ValuesOut.cs
RegistryPlugin.Products/ValuesOut.cs
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Products { public class ValuesOut : IValueOut { public ValuesOut(string displayname, string packagename, string installdate, string publisher, string language, string installlocation, string installsource, string comments, Dat...
using System; using RegistryPluginBase.Interfaces; namespace RegistryPlugin.Products { public class ValuesOut : IValueOut { public ValuesOut(string displayname, string packagename, string installdate, string publisher, string language, string installlocation, string installsource, string comments, Dat...
mit
C#
f8e6187843cc8225405ca36f1c6a1a733f392091
Simplify logic in `ExpressionMatcher.Matches`
Moq/moq4,ocoanet/moq4
Source/Matchers/ExpressionMatcher.cs
Source/Matchers/ExpressionMatcher.cs
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //http://code.google.com/p/moq/ //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...
//Copyright (c) 2007. Clarius Consulting, Manas Technology Solutions, InSTEDD //http://code.google.com/p/moq/ //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...
bsd-3-clause
C#
b928560284933baf7c870f693ae08a33ca61dbc8
Fix calling of wrong method
thdtjsdn/TrueCraft,illblew/TrueCraft,illblew/TrueCraft,creatorfromhell/TrueCraft,robinkanters/TrueCraft,flibitijibibo/TrueCraft,SirCmpwn/TrueCraft,manio143/TrueCraft,Mitch528/TrueCraft,manio143/TrueCraft,robinkanters/TrueCraft,Mitch528/TrueCraft,blha303/TrueCraft,robinkanters/TrueCraft,illblew/TrueCraft,manio143/TrueCr...
TrueCraft/Commands/CommandManager.cs
TrueCraft/Commands/CommandManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TrueCraft.API.Server; using TrueCraft.API.Networking; namespace TrueCraft.Commands { public class CommandManager : ICommandManager { public IList<ICommand> Commands { get; set; } public CommandManager(...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using TrueCraft.API.Server; using TrueCraft.API.Networking; namespace TrueCraft.Commands { public class CommandManager : ICommandManager { public IList<ICommand> Commands { get; set; } public CommandManager(...
mit
C#
7d6c6c2d420087f45fcab193f5cca6603f2db990
Change Pad-Tileset behavior to be similar to Pad-Palettes.
Prof9/PixelPet
PixelPet/CLI/Commands/PadTilesetCmd.cs
PixelPet/CLI/Commands/PadTilesetCmd.cs
using LibPixelPet; using System; namespace PixelPet.CLI.Commands { internal class PadTilesetCmd : CliCommand { public PadTilesetCmd() : base("Pad-Tileset", new Parameter(true, new ParameterValue("width")) ) { } public override void Run(Workbench workbench, ILogger logger) { int width = FindUnnamedP...
using LibPixelPet; using System; namespace PixelPet.CLI.Commands { internal class PadTilesetCmd : CliCommand { public PadTilesetCmd() : base("Pad-Tileset", new Parameter(true, new ParameterValue("width")) ) { } public override void Run(Workbench workbench, ILogger logger) { int width = FindUnnamedP...
mit
C#
6d960ed33d15231fb546ea076f6dd6add033251e
Fix awaited range array
sebastienros/fluid
Fluid/Ast/RangeExpression.cs
Fluid/Ast/RangeExpression.cs
using Fluid.Ast.BinaryExpressions; using Fluid.Values; using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Fluid.Ast { public class RangeExpression : Expression { public RangeExpression(Expression from, Expression to) { From = from; ...
using Fluid.Ast.BinaryExpressions; using Fluid.Values; using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Fluid.Ast { public class RangeExpression : Expression { public RangeExpression(Expression from, Expression to) { From = from; ...
mit
C#
0555aa9370128a92ca8303c860a985b030d3f7ae
Fix GZip perf test location (#25907)
BrennanConroy/corefx,axelheer/corefx,Ermiar/corefx,ViktorHofer/corefx,ViktorHofer/corefx,Jiayili1/corefx,ViktorHofer/corefx,Jiayili1/corefx,Ermiar/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,ptoonen/corefx,ericstj/corefx,ravimeda/corefx,mmitche/corefx,axelheer/corefx,Jiayili1/corefx,Ermia...
src/System.IO.Compression/tests/Performance/CompressionStreamPerfTests.Gzip.cs
src/System.IO.Compression/tests/Performance/CompressionStreamPerfTests.Gzip.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. namespace System.IO.Compression { public class GzipStreamPerfTests : CompressionStreamPerfTestBase { ...
// 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. namespace System.IO.Compression { public class GzipStreamPerfTests : CompressionStreamPerfTestBase { ...
mit
C#
b3e73fb3cfa07a20edce0ce9863acccefc45fe44
Use List instead of Stack
IJEMIN/Unity3D-Kirino-Engine
Assets/Demo/Demo.cs
Assets/Demo/Demo.cs
using System.Collections; using System.Collections.Generic; using System.Runtime.CompilerServices; using KirinoEngine; using UnityEngine; public class Demo : MonoBehaviour { private List<VNCommand> commandStack = new List<VNCommand>(); private IEnumerator<VNCommand> interator; public Sprite[] demoBackgro...
using System.Collections; using System.Collections.Generic; using KirinoEngine; using UnityEngine; public class Demo : MonoBehaviour { private Stack<VNCommand> commandStack = new Stack<VNCommand>(); public Sprite[] demoBackgroundSprites; public Sprite kirinoSprite; // Start is called before the first...
mit
C#
9cd27086b4965dada45918204b9a5446c3c4a10e
Add an option to provide a template name
Seddryck/Idunn.SqlServer
IdunnSql.Console/GenerateOptions.cs
IdunnSql.Console/GenerateOptions.cs
using CommandLine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IdunnSql.Console { [Verb("generate", HelpText = "Generate a file")] public class GenerateOptions { [Option('s', "source", Required = true, HelpTe...
using CommandLine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IdunnSql.Console { [Verb("generate", HelpText = "Generate a file")] public class GenerateOptions { [Option('s', "source", Required = true, HelpTe...
apache-2.0
C#
4bee7c687ad95f13108d64faca358f968b31df7e
Fix typo for LateUpdate calls
Eusth/Illusion-Plugins
IllusionInjector/PluginComponent.cs
IllusionInjector/PluginComponent.cs
using System; using System.Collections.Generic; using System.Text; using UnityEngine; namespace IllusionInjector { class PluginComponent : MonoBehaviour { private CompositePlugin plugins; private bool freshlyLoaded = false; void Awake() { DontDestroyOnLoad(this); ...
using System; using System.Collections.Generic; using System.Text; using UnityEngine; namespace IllusionInjector { class PluginComponent : MonoBehaviour { private CompositePlugin plugins; private bool freshlyLoaded = false; void Awake() { DontDestroyOnLoad(this); ...
mit
C#
f4802f63b5117f0ca4e170da8da7839bb3a19ded
Fix issues with specifying manual resolve paths and with-application shipped fluidsynth libraries
atsushieno/nfluidsynth
NFluidsynth/Native/LibFluidsynth.cs
NFluidsynth/Native/LibFluidsynth.cs
using System; using System.Runtime.InteropServices; namespace NFluidsynth.Native { internal static partial class LibFluidsynth { public const string LibraryName = "fluidsynth"; public const int FluidOk = 0; public const int FluidFailed = -1; #if NETCOREAPP static LibFluidsynt...
using System; using System.Runtime.InteropServices; namespace NFluidsynth.Native { internal static partial class LibFluidsynth { public const string LibraryName = "fluidsynth"; public const int FluidOk = 0; public const int FluidFailed = -1; #if NETCOREAPP static LibFluidsynt...
mit
C#
4e00d95d391939b2c704bb287af8817161d5058b
update tests.
cube-soft/Cube.Core,cube-soft/Cube.Core
Tests/Conversions/ByteFormatTest.cs
Tests/Conversions/ByteFormatTest.cs
/* ------------------------------------------------------------------------- */ /// /// Copyright (c) 2010 CubeSoft, Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// ht...
/* ------------------------------------------------------------------------- */ /// /// Copyright (c) 2010 CubeSoft, Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// ht...
apache-2.0
C#
5933114f7c35f53bb6a42a90468630d7b1f67a15
Add commented out example to start second form
Livit/CefSharp,VioletLife/CefSharp,AJDev77/CefSharp,dga711/CefSharp,yoder/CefSharp,yoder/CefSharp,zhangjingpu/CefSharp,VioletLife/CefSharp,NumbersInternational/CefSharp,ruisebastiao/CefSharp,Octopus-ITSM/CefSharp,wangzheng888520/CefSharp,Octopus-ITSM/CefSharp,joshvera/CefSharp,illfang/CefSharp,dga711/CefSharp,Livit/Cef...
CefSharp.WinForms.Example/Program.cs
CefSharp.WinForms.Example/Program.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; using CefSharp.Example; using CefSharp.WinForms.Example.Minimal; namespace CefSharp.WinForms.Example { ...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Forms; using CefSharp.Example; namespace CefSharp.WinForms.Example { class Program { [STAThrea...
bsd-3-clause
C#
b0da6533d873f4087da74d5ba249ec9cb03bdcd9
Make InterfaceProxy public to fix cross-assembly visibility issues with reflection
ramanraghur/moq4,HelloKitty/moq4,kolomanschaft/moq4,kulkarnisachin07/moq4,breyed/moq4,Moq/moq4,AhmedAssaf/moq4,iskiselev/moq4,jeremymeng/moq4,RobSiklos/moq4,AhmedAssaf/moq4,LeonidLevin/moq4,chkpnt/moq4,cgourlay/moq4,ocoanet/moq4,JohanLarsson/moq4,madcapsoftware/moq4
Source/Proxy/ProxyGenerationHelpers.cs
Source/Proxy/ProxyGenerationHelpers.cs
using System; using System.ComponentModel; using System.Reflection; using Castle.DynamicProxy; namespace Moq.Proxy { /// <summary> /// Hook used to tells Castle which methods to proxy in mocked classes. /// /// Here we proxy the default methods Castle suggests (everything Object's methods) /// plus Object.ToStr...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Castle.DynamicProxy; namespace Moq.Proxy { /// <summary> /// Hook used to tells Castle which methods to proxy in mocked classes. /// /// Here we proxy the default methods Castle suggests (everythi...
bsd-3-clause
C#
c947b38873659a66f4b7798ffb24473577d9e949
Improve Regex
Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC,Bigsby/PoC
Other/WPF.StringIntrapolation/WPF.StringIntrapolation/IntrapolationConverter.cs
Other/WPF.StringIntrapolation/WPF.StringIntrapolation/IntrapolationConverter.cs
using System; using System.Globalization; using System.Text.RegularExpressions; using System.Windows.Data; namespace WPF.StringIntrapolation { public class IntrapolationConverter : IValueConverter { private static Regex _replaceRegex = new Regex(@"(\{[A-Za-z_][A-Za-z0-9_.]*\})", RegexOptions.Compiled)...
using System; using System.Globalization; using System.Text.RegularExpressions; using System.Windows.Data; namespace WPF.StringIntrapolation { public class IntrapolationConverter : IValueConverter { private static Regex _replaceRegex = new Regex(@"(\{[^\}]+\})", RegexOptions.Compiled); public ...
apache-2.0
C#
3a399b966829e6227e76dd69d692272a217bdbfc
remove unused DataRepo from WateringService
MCeddy/IoT-core
IoT-Core/Services/WateringService.cs
IoT-Core/Services/WateringService.cs
using IoT_Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IoT_Core.Services { public class WateringService: IWateringService { public WateringResult CalculateMilliseconds(SensorValues sensors) { var wateringRes...
using IoT_Core.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace IoT_Core.Services { public class WateringService: IWateringService { private IDataRepo _dataRepo; public WateringService(IDataRepo dataRepo) { ...
mit
C#
081d55b2a2d93db179b84e5bda76373d5c7a59af
Bump version to 17.0.0.45310
HearthSim/HearthDb
HearthDb/Properties/AssemblyInfo.cs
HearthDb/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("Hea...
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("Hea...
mit
C#