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 |
|---|---|---|---|---|---|---|---|---|
79a6723492c556ff49d744f727fdfc321947ea4f | Add 'None' to WindowPlacementFlags | vbfox/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke | src/User32.Desktop/User32+WindowPlacementFlags.cs | src/User32.Desktop/User32+WindowPlacementFlags.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>Contains the <see cref="WindowPlacemen... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>Contains the <see cref="WindowPlacemen... | mit | C# |
8fb076872ee804847d75d79555eb5bc67236ef3c | Add missing copyright header | mono/dbus-sharp-glib,mono/dbus-sharp-glib | glib/AssemblyInfo.cs | glib/AssemblyInfo.cs | // Copyright 2007 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.3.0")]
[assembly: AssemblyTitle ("NDesk.DBus.GLib")]
[assembly: AssemblyDescription ("GLib inte... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.3.0")]
[assembly: AssemblyTitle ("NDesk.DBus.GLib")]
[assembly: AssemblyDescription ("GLib integration for NDesk.DBus, the D-Bus IPC library")]
[assembly: AssemblyCopyright ("Copyright (C) Alp Toker")]
[assembly: AssemblyComp... | mit | C# |
84902c921faf4b7f8a1b8b2f0332d67cd2f3ef29 | use file provider when checking for files | WebApiContrib/WebAPIContrib.Core,WebApiContrib/WebAPIContrib.Core | src/WebApiContrib.Core.WebPages/WebPagesRouter.cs | src/WebApiContrib.Core.WebPages/WebPagesRouter.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Razor.Internal;
using Microsoft.Extensions.FileProviders;
namespace WebApiContrib.Core.WebPages
{
// adapted, with Im... | using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using System;
using System.IO;
using System.Threading.Tasks;
namespace WebApiContrib.Core.WebPages
{
// adapted, with Imran's permission, from https://weblogs.asp.net/imranbaloch/adding-web-pages-in-aspnet-cor... | mit | C# |
9545be040a0dffbff2bd817831aed79befd69e02 | update extract-everything | overtools/OWLib | DataTool/ToolLogic/Extract/ExtractEverything.cs | DataTool/ToolLogic/Extract/ExtractEverything.cs | using DataTool.Flag;
using DataTool.ToolLogic.Extract.Debug;
using static DataTool.Program;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-everything", Description = "Extract everything", CustomFlags = typeof(ExtractFlags))]
public class ExtractEverything : ITool {
public void Parse(ICLIFlags to... | using DataTool.Flag;
using static DataTool.Program;
namespace DataTool.ToolLogic.Extract {
[Tool("extract-everything", Description = "Extract everything", CustomFlags = typeof(ExtractFlags))]
public class ExtractEverything : ITool {
public void Parse(ICLIFlags toolFlags) {
if (!(toolFlags i... | mit | C# |
5300830323897d5981251ef3de6bd627d9e524cd | Update MicrogameNumber.cs | Barleytree/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Animation/MicrogameNumber.cs | Assets/Scripts/Animation/MicrogameNumber.cs | using UnityEngine;
using System.Collections;
public class MicrogameNumber : MonoBehaviour
{
public TextMesh text;
void Start ()
{
}
void Update ()
{
}
public void increaseNumber()
{
if (text.text == "999")
return;
int number = int.Parse(text.text) + 1;
text.text = (number < 10) ? ("00" + n... | using UnityEngine;
using System.Collections;
public class MicrogameNumber : MonoBehaviour
{
public TextMesh text;
void Start ()
{
}
void Update ()
{
}
public void increaseNumber()
{
if (text.text == "999")
return;
int number = int.Parse(text.text) + 1;
text.text = number < 10 ? "00" + numb... | mit | C# |
9f52ab7fa01eca75c1eaccb43e37ba222bb78e91 | Update IAngularInterface.cs | BaamStudios/SharpAngie,BaamStudios/SharpAngie,BaamStudios/SharpAngie | BaamStudios.SharpAngie/IAngularInterface.cs | BaamStudios.SharpAngie/IAngularInterface.cs | using System;
namespace BaamStudios.SharpAngie
{
public interface IAngularInterface
{
/// <summary>
/// Sets the entire model in javascript. The implementation should call window.setModel(modelJson).
/// </summary>
/// <param name="clientId">user-defined value from the... | using System;
namespace BaamStudios.SharpAngie
{
public interface IAngularInterface
{
/// <summary>
/// Sets the entire model in javascript.
/// </summary>
/// <param name="modelJson"></param>
void SetModel(string clientId, string modelJson);
/// <s... | mit | C# |
f1b0c522d29f6d9ac9974184df12ea70789db3d2 | Update New.cshtml | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/SUTA/New.cshtml | Battery-Commander.Web/Views/SUTA/New.cshtml | @model BatteryCommander.Web.Commands.AddSUTARequest
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
@if (ViewBag.Id != null)
{
<div class="alert alert-success">
You SUTA request has been submitted, reference @Html.ActionLink("#" + (int)ViewBag.Id... | @model BatteryCommander.Web.Commands.AddSUTARequest
@if (ViewBag.Id != null)
{
<div class="alert alert-success">
You SUTA request has been submitted, reference @Html.ActionLink("#" + (int)ViewBag.Id, "Details", "SUTA", new { ViewBag.Id })
</div>
}
<div class="alert alert-info">
Use this form to s... | mit | C# |
b8fc53512453ed87730c399e23ed0b5134ec7e5e | Fix blueprint tests crashing due to out-of-order operations | NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ZLima12/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,johnn... | osu.Game/Tests/Visual/PlacementBlueprintTestScene.cs | osu.Game/Tests/Visual/PlacementBlueprintTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using osu... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Timing;
using osu.Game.Rulesets.Edit;
using osu... | mit | C# |
f39a3c3dce3f62957f723992581e991ef89eef63 | Fix the download URL for BFGMiner * BFGMiner files are no longer hosted on luke.dashjr.org - see: http://luke.dashjr.org/programs/bitcoin/files/bfgminer/ * Fixing the URL client-side rather than server-side as the server has not been touched in ~6 years | nwoolls/MultiMiner,nwoolls/MultiMiner | MultiMiner.Engine/Installers/AvailableMiners.cs | MultiMiner.Engine/Installers/AvailableMiners.cs | using MultiMiner.Engine.Data;
using MultiMiner.Utility.Net;
using MultiMiner.Utility.OS;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Engine.Installers
{
public static class AvailableMiners
{
public static List<AvailableMiner> GetAvailab... | using MultiMiner.Engine.Data;
using MultiMiner.Utility.Net;
using MultiMiner.Utility.OS;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net;
namespace MultiMiner.Engine.Installers
{
public static class AvailableMiners
{
public static List<AvailableMiner> GetAvailab... | mit | C# |
9cd7dcd1819650fa0f262b640940767d6fde4f77 | enhance drop comments from rules | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | src/FilterLists.Services/SnapshotService/RawRuleLinterExtensions.cs | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
public static string LintStringForMySql(this string rule)
{
rule = rule?.TrimLeadingAndTrailingWhitespace();
rule = rule?.DropIfEmpty();
rule = rule?.DropIfComment(... | namespace FilterLists.Services.SnapshotService
{
public static class RawRuleLinterExtensions
{
public static string LintStringForMySql(this string rule)
{
rule = rule?.TrimLeadingAndTrailingWhitespace();
rule = rule?.DropIfEmpty();
rule = rule?.DropIfComment(... | mit | C# |
0d8d3335e1934288faa799153134d3ab6eb2fb45 | Make BatchTokenProvider public | AzureAutomationTeam/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,peshen/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,djyou/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,pilor/azure-sdk-fo... | src/SDKs/Batch/DataPlane/Azure.Batch/Protocol/BatchTokenProvider.cs | src/SDKs/Batch/DataPlane/Azure.Batch/Protocol/BatchTokenProvider.cs | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Batch.Protocol
{
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
us... | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Batch.Protocol
{
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
us... | mit | C# |
b992378e3328b29d1bb1c7e045fbe24f0583a9cb | modify one of the c# examples so that it can be easily used to test fragmented messages (by increasing num_ranges) | vooon/lcm-vala,vooon/lcm-vala,lcm-proj/lcm,vooon/lcm-vala,bluesquall/lcm,bluesquall/lcm,vooon/lcm-vala,bluesquall/lcm,lcm-proj/lcm,lcm-proj/lcm,adeschamps/lcm,adeschamps/lcm,DougFirErickson/lcm,adeschamps/lcm,bluesquall/lcm,vooon/lcm-vala,kyonifer/lcm,lcm-proj/lcm,bluesquall/lcm,andybarry/lcm,DougFirErickson/lcm,andyba... | examples/csharp/example_t_demo/example_t_transmit.cs | examples/csharp/example_t_demo/example_t_transmit.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCM;
namespace LCM.Examples
{
/// <summary>
/// Demo transmitter, see LCM .NET tutorial for more information
/// </summary>
class ExampleTransmit
{
public static void Main(string[] args)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LCM;
namespace LCM.Examples
{
/// <summary>
/// Demo transmitter, see LCM .NET tutorial for more information
/// </summary>
class ExampleTransmit
{
public static void Main(string[] args)
{
... | lgpl-2.1 | C# |
b417797d6a999ee34a671d716772379002764ab6 | Add new block types to the enum | SteamDatabase/ValveResourceFormat | ValveResourceFormat/Resource/Enums/BlockType.cs | ValveResourceFormat/Resource/Enums/BlockType.cs | using System;
namespace ValveResourceFormat
{
public enum BlockType
{
#pragma warning disable 1591
RERL = 1,
REDI,
NTRO,
DATA,
VBIB,
VXVS,
SNAP,
CTRL,
MDAT,
MBUF,
ANIM,
ASEQ,
AGRP,
PHYS,
#pragma warn... | using System;
namespace ValveResourceFormat
{
public enum BlockType
{
#pragma warning disable 1591
RERL = 1,
REDI,
NTRO,
DATA,
VBIB,
VXVS,
SNAP,
#pragma warning restore 1591
}
}
| mit | C# |
45d16772e011cad754616a686f164328492d4089 | add Run overload without the args param to SupervisorRunner | habitat-sh/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,habitat-sh/habitat,rsertelon/habitat,habitat-sh/habitat,rsertelon/habitat | .expeditor/scripts/end_to_end/SupervisorRunner.cs | .expeditor/scripts/end_to_end/SupervisorRunner.cs | using System;
using System.Diagnostics;
using System.IO;
public class SupervisorRunner {
private String logPath = null;
public Process Run(string logPath) {
return Run(logPath, new string[]{});
}
public Process Run(string logPath, string[] args) {
this.logPath = logPath;
var p... | using System;
using System.Diagnostics;
using System.IO;
public class SupervisorRunner {
private String logPath = null;
public Process Run(string logPath, string[] args) {
this.logPath = logPath;
var proc = new Process();
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.C... | apache-2.0 | C# |
10496363f529fddd8e0d79039423df325bab2ff9 | Change button style on WalletPSBTReadyView | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Wallets/WalletPSBTReady.cshtml | BTCPayServer/Views/Wallets/WalletPSBTReady.cshtml | @model WalletPSBTReadyViewModel
@{
Layout = "../Shared/_Layout.cshtml";
}
<section>
<div class="container">
@if (Model.Errors != null)
{
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-labe... | @model WalletPSBTReadyViewModel
@{
Layout = "../Shared/_Layout.cshtml";
}
<section>
<div class="container">
@if (Model.Errors != null)
{
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-labe... | mit | C# |
d82c56fdadf74fd598bb91ca918b680611ce62e1 | fix error when metrics url does not end with / | MetaG8/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,cvent/Metrics.NET,etishor/Metrics.NE... | Src/Adapters/Nancy.Metrics/MetricsModule.cs | Src/Adapters/Nancy.Metrics/MetricsModule.cs | using System;
using Metrics;
using Metrics.Reporters;
using Metrics.Visualization;
namespace Nancy.Metrics
{
public class MetricsModule : NancyModule
{
private struct ModuleConfig
{
public readonly string ModulePath;
public readonly Action<INancyModule> ModuleConfigActi... | using System;
using Metrics;
using Metrics.Reporters;
using Metrics.Visualization;
namespace Nancy.Metrics
{
public class MetricsModule : NancyModule
{
private struct ModuleConfig
{
public readonly string ModulePath;
public readonly Action<INancyModule> ModuleConfigActi... | apache-2.0 | C# |
8c9e86687b945e3103c47435920d939f5041d6e4 | Prepare for the August release | OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,phillipharding/PnP-Sites-Core,rajashekarusa/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,phillipharding/PnP-Sites-Core | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | Core/OfficeDevPnP.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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.Reflection;
using System.Resources;
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# |
c0c52e5338a28c0e6466886d9b0327d089de4ac2 | Rename "Latency Monitor" widget to "Network Monitor" | danielchalmers/DesktopWidgets | DesktopWidgets/Widgets/LatencyMonitor/Metadata.cs | DesktopWidgets/Widgets/LatencyMonitor/Metadata.cs | namespace DesktopWidgets.Widgets.LatencyMonitor
{
public static class Metadata
{
public const string FriendlyName = "Network Monitor";
}
} | namespace DesktopWidgets.Widgets.LatencyMonitor
{
public static class Metadata
{
public const string FriendlyName = "Latency Monitor";
}
} | apache-2.0 | C# |
3b60ebda5483357f1d01f73fbfa24c623931182f | Fix poison and short term effects that weren't working due to missing call to effectResult on DecreaseCT. | jeongroseok/magecrawl,AndrewBaker/magecrawl | Trunk/GameEngine/Effects/ShortTermEffect.cs | Trunk/GameEngine/Effects/ShortTermEffect.cs | using System;
using System.Xml;
using Magecrawl.GameEngine.Effects.EffectResults;
namespace Magecrawl.GameEngine.Effects
{
internal class ShortTermEffect : StatusEffect
{
public ShortTermEffect()
{
CTLeft = 0;
m_effectResult = null;
}
publi... | using System;
using System.Xml;
using Magecrawl.GameEngine.Effects.EffectResults;
namespace Magecrawl.GameEngine.Effects
{
internal class ShortTermEffect : StatusEffect
{
public ShortTermEffect()
{
CTLeft = 0;
m_effectResult = null;
}
publi... | bsd-2-clause | C# |
8ca2d5ccbd447f0752750974466d0995d529df83 | Fix registry name enumeration (dotnet/coreclr#10711) | tijoytom/corert,gregkalapos/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,shrah/corert,shrah/corert,krytarowski/corert,yizhang82/corert,botaberg/corert,tijoytom/corert,krytarowski/corert,yizhang82/corert,botaberg/corert,krytarowski/corert,gregkalapos/corert,botaberg/corert,krytarowski/corert,botaberg/corert,ti... | src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.cs | src/System.Private.CoreLib/shared/Interop/Windows/Interop.Errors.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.
internal partial class Interop
{
// As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window... | // 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.
internal partial class Interop
{
internal partial class Errors
{
internal const int ERROR_SUCCESS = ... | mit | C# |
031d6b383561e150dbce03e5349b34adaa7d4c8c | Apply suggestions from code review | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | storagetransfer/api/StorageTransfer.Samples.Tests/QuickstartTest.cs | storagetransfer/api/StorageTransfer.Samples.Tests/QuickstartTest.cs | /**
* Copyright 2021 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | /**
* Copyright 2021 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | C# |
db0f308aca3c7f99cee5359a7079a32b70a4ad69 | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
4454cd579b3157424ae82ef6ab5f025b9bb977b1 | allow more than one event name for filtering | mastersign/Mastersign.Tasks | src/LibraryTests/Monitoring/EventRecordPredicates.cs | src/LibraryTests/Monitoring/EventRecordPredicates.cs | using System;
using System.Linq;
namespace Mastersign.Tasks.Test.Monitors
{
static class EventRecordPredicates
{
public static Func<EventRecord, bool> ByEventName(params string[] eventNames)
{
return er => eventNames.Contains(er.EventName);
}
public static Func<Eve... | using System;
namespace Mastersign.Tasks.Test.Monitors
{
static class EventRecordPredicates
{
public static Func<EventRecord, bool> ByEventName(string eventName)
{
return er => string.Equals(er.EventName, eventName);
}
public static Func<EventRecord, bool> ByProper... | mit | C# |
9fba2945e8052dece279d7757a0f8658326a3d1f | add logging upon success or failure | geeklearningio/gl-dotnet-domain | src/GeekLearning.Domain.AspnetCore/DomainUserRequirementHandler.cs | src/GeekLearning.Domain.AspnetCore/DomainUserRequirementHandler.cs | namespace GeekLearning.Domain.AspnetCore
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.Extensions.Logging;
using System.Collections.Generic;
using System.Threading.Tasks;
public class DomainUserRequirementHandler : AuthorizationHandler<DomainUserRequirement>
{
private rea... | namespace GeekLearning.Domain.AspnetCore
{
using Microsoft.AspNetCore.Authorization;
using System.Collections.Generic;
using System.Threading.Tasks;
public class DomainUserRequirementHandler : AuthorizationHandler<DomainUserRequirement>
{
private readonly IEnumerable<IIdentityDomain> ident... | mit | C# |
d42c571900f08b6d6ae44a4d5c1cd7c0865e1c87 | fix bug with pickups | YesAndGames/four-friends | Assets/Scripts/Pickups/HealthPoolModifierPickup.cs | Assets/Scripts/Pickups/HealthPoolModifierPickup.cs | using UnityEngine;
/// <summary>
/// Health pool modifier pickup.
/// </summary>
public class HealthPoolModifierPickup : Pickup {
/// <summary>
/// Amount of health modified. Positive is healing, negative is damage.
/// </summary>
[SerializeField] private int modification;
/// <summary>
/// Called when this i... | using UnityEngine;
/// <summary>
/// Health pool modifier pickup.
/// </summary>
public class HealthPoolModifierPickup : Pickup {
/// <summary>
/// Amount of health modified. Positive is healing, negative is damage.
/// </summary>
[SerializeField] private int modification;
/// <summary>
/// Called when this i... | mit | C# |
f052a4e9b550a6259e392910cd6c7fdcea01ae78 | Adjust null check in RasterizingSample | charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui | Samples/Mapsui.Samples.Common/Maps/Special/RasterizingLayerSample.cs | Samples/Mapsui.Samples.Common/Maps/Special/RasterizingLayerSample.cs | using System;
using System.Collections.Generic;
using Mapsui.Layers;
using Mapsui.Layers.Tiling;
using Mapsui.Providers;
using Mapsui.Styles;
using Mapsui.UI;
namespace Mapsui.Samples.Common.Maps
{
public class RasterizingLayerSample : ISample
{
public string Name => "Rasterizing Layer";
publi... | using System;
using System.Collections.Generic;
using Mapsui.Layers;
using Mapsui.Layers.Tiling;
using Mapsui.Providers;
using Mapsui.Styles;
using Mapsui.UI;
namespace Mapsui.Samples.Common.Maps
{
public class RasterizingLayerSample : ISample
{
public string Name => "Rasterizing Layer";
publi... | mit | C# |
c5f8bbb25fe55fd89af091ce27b8f5ba27aaa9f9 | Fix beatmap background not displaying when video is present | smoogipoo/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Storyboards/Storyboard.cs | osu.Game/Storyboards/Storyboard.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.Linq;
using osu.Game.Beatmaps;
using osu.Game.Storyboards.Drawables;
namespace osu.Game.Storyboards
{
public class St... | // 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.Linq;
using osu.Game.Beatmaps;
using osu.Game.Storyboards.Drawables;
namespace osu.Game.Storyboards
{
public class St... | mit | C# |
0d58530dbea69e72ef12a8bc1c0fac6fe60f5397 | Reduce overhead of `ColumnHasObject` calls by storing column usage separately | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu-new,smoogipooo/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Rulesets.Mania/Beatmaps/Patterns/Pattern.cs | osu.Game.Rulesets.Mania/Beatmaps/Patterns/Pattern.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.Game.Rulesets.Mania.Objects;
namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns
{
/// <summary>
/// Creates a patte... | // 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.Linq;
using osu.Game.Rulesets.Mania.Objects;
namespace osu.Game.Rulesets.Mania.Beatmaps.Patterns
{
/// <summary>
... | mit | C# |
8f237236d637d1fe1adea8ea0e163f337eee9ffc | Fix ContactReader | xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,xamarin/Xamarin.Mobile,nexussays/Xamarin.Mobile,orand/Xamarin.Mobile | MonoDroid/Xamarin.Mobile/Contacts/ContactReader.cs | MonoDroid/Xamarin.Mobile/Contacts/ContactReader.cs | using System;
using System.Collections;
using System.Collections.Generic;
using Android.Content;
using Android.Content.Res;
using Android.Database;
namespace Xamarin.Contacts
{
internal class ContactReader
: IEnumerable<Contact>
{
public ContactReader (bool useRawContacts, ContentQueryTranslator translator, Cont... | using System;
using System.Collections;
using System.Collections.Generic;
using Android.Content;
using Android.Content.Res;
using Android.Database;
namespace Xamarin.Contacts
{
internal class ContactReader
: IEnumerable<Contact>
{
public ContactReader (bool useRawContacts, ContentQueryTranslator translator, Cont... | apache-2.0 | C# |
c21ebc64c5e99c916928a1a958e3e81c436e337e | Return a null result, not a null task when a token isn't found | samcook/IdentityServer3.Shaolinq | IdentityServer3.Shaolinq/Stores/BaseTokenStore.cs | IdentityServer3.Shaolinq/Stores/BaseTokenStore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
using IdentityServer3.Shaolinq.DataModel;
using IdentityServer3.Shaolinq.DataModel.Interfaces;
using IdentityServer3.Shaolinq.Serialization;
using Newt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IdentityServer3.Core.Models;
using IdentityServer3.Core.Services;
using IdentityServer3.Shaolinq.DataModel;
using IdentityServer3.Shaolinq.DataModel.Interfaces;
using IdentityServer3.Shaolinq.Serialization;
using Newt... | mit | C# |
be3794a5eb46dad0da1996dfe5d3e1a52ea3f7f3 | fix build failure due to code anlysis | shibayan/kudu,EricSten-MSFT/kudu,puneet-gupta/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,projectkudu/kudu,puneet-gupta/kudu,puneet-gupta/kudu,projectkudu/kudu,projectkudu/kudu,puneet-gupta/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,shibayan/kudu,EricSten-MSFT/kudu,puneet-gupta/ku... | Kudu.Core/Infrastructure/ThreadAbortExtensions.cs | Kudu.Core/Infrastructure/ThreadAbortExtensions.cs | using System;
using System.Threading;
namespace Kudu.Core
{
public static class ThreadAbortExtensions
{
public const string KuduThreadAbortMessage = "Kudu aborts thread.";
public static void KuduAbort(this Thread thread, string message)
{
thread.Abort(String.Format("{0} {... | using System;
using System.Threading;
namespace Kudu.Core
{
public static class ThreadAbortExtensions
{
public const string KuduThreadAbortMessage = "Kudu aborts thread.";
public static void KuduAbort(this Thread thread, string message)
{
thread.Abort(String.Format("{0} {... | apache-2.0 | C# |
f8b185c8753b338a086599e40009c14300488e79 | Update AudibleTelemeter.cs | tiksn/TIKSN-Framework | TIKSN.Core/Analytics/Telemetry/AudibleTelemeter.cs | TIKSN.Core/Analytics/Telemetry/AudibleTelemeter.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TIKSN.Speech;
namespace TIKSN.Analytics.Telemetry
{
public class AudibleTelemeter : IEventTelemeter, IExceptionTelemeter, IMetricTelemeter, ITraceTelemeter
{
private readonly ITextToSpeechService _textToSpeechService;
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TIKSN.Speech;
namespace TIKSN.Analytics.Telemetry
{
public class AudibleTelemeter : IEventTelemeter, IExceptionTelemeter, IMetricTelemeter, ITraceTelemeter
{
private readonly ITextToSpeechService _textToSpeechService;
... | mit | C# |
6747e7d7c6f1eb8005141624713322783180a95e | fix Upgrade_20210828_ExtensionsLoveFramework to include Dockerfile | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20210828_ExtensionsLoveFramework.cs | Signum.Upgrade/Upgrades/Upgrade_20210828_ExtensionsLoveFramework.cs | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210828_ExtensionsLoveFramework : CodeUpgra... | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210828_ExtensionsLoveFramework : CodeUpgra... | mit | C# |
d9c2851717a7d62dfaaa3614535f9483e69e8511 | fix warning warning CS0618: 'System.Data.Entity.Core.Objects.EntityFunctions' is obsolete... | g-stoyanov/InfinysBreakfastOrders,g-stoyanov/InfinysBreakfastOrders | Source/Web/InfinysBreakfastOrders.Web/Controllers/HomeController.cs | Source/Web/InfinysBreakfastOrders.Web/Controllers/HomeController.cs | using InfinysBreakfastOrders.Data;
using InfinysBreakfastOrders.Data.Common.Repository;
using InfinysBreakfastOrders.Data.Models;
using InfinysBreakfastOrders.Web.ViewModels.Home;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper.QueryableExtens... | using InfinysBreakfastOrders.Data;
using InfinysBreakfastOrders.Data.Common.Repository;
using InfinysBreakfastOrders.Data.Models;
using InfinysBreakfastOrders.Web.ViewModels.Home;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using AutoMapper.QueryableExtens... | mit | C# |
a12b44a65bdf9cdcffd6789f312b3c0bd0c515ff | Add Documents property to the user model. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Models/IdentityModels.cs | src/CompetitionPlatform/Models/IdentityModels.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Models
{
public class AuthenticateModel
{
public string FullName { get; set; }
public string Password { get; set; }
}
public class CompetitionPlatformUser
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CompetitionPlatform.Models
{
public class AuthenticateModel
{
public string FullName { get; set; }
public string Password { get; set; }
}
public class CompetitionPlatformUser
... | mit | C# |
55b9ac26a3701e0195f24411344928d712e3707a | Remove ProfileOptimization as the startup performance was insignificant | jbe2277/dotnetpad | src/DotNetPad/DotNetPad.Presentation/App.xaml.cs | src/DotNetPad/DotNetPad.Presentation/App.xaml.cs | using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Globalization;
using System.Waf;
using System.Waf.Applications;
using System.Windows;
using System.Windows.Threading;
using Waf.DotNetPad.Applications.ViewModels;
using Waf.DotNetPad.Domain;
namespace Waf.... | using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.Globalization;
using System.IO;
using System.Runtime;
using System.Waf;
using System.Waf.Applications;
using System.Windows;
using System.Windows.Threading;
using Waf.DotNetPad.Applications.ViewModels;
usin... | mit | C# |
dc92a4fbe095fdbbf1832c009af93542e345b7a5 | Add test settings loading from enviroment for appVeyor. | needham-develop/vimeo-dot-net,mohibsheth/vimeo-dot-net,mfilippov/vimeo-dot-net | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | src/VimeoDotNet.Tests/Settings/SettingsLoader.cs | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal class SettingsLoader
{
private const string SETTINGS_FILE = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
if (!File.Exists(SETTINGS_FILE))
... | using System;
using System.IO;
using Newtonsoft.Json;
namespace VimeoDotNet.Tests.Settings
{
internal class SettingsLoader
{
private const string SETTINGS_FILE = "vimeoSettings.json";
public static VimeoApiTestSettings LoadSettings()
{
if (!File.Exists(SETTINGS_FILE))
... | mit | C# |
405ab07800b204b9cf3b882dfc978378eee1f72c | Check equality by ID -> OnlineBeatmapSetID -> Hash -> ReferenceEquals | smoogipooo/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu | osu.Game/Beatmaps/BeatmapSetInfo.cs | osu.Game/Beatmaps/BeatmapSetInfo.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.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using osu.Game.Database;
namespace osu.Game.Beatm... | // 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.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using osu.Game.Database;
namespace osu.Game.Beatm... | mit | C# |
327477d050910ee092ca6259633be172d525c086 | Remove unnecessary `SetReplayScore` call in `ModCinema` | NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Rulesets/Mods/ModCinema.cs | osu.Game/Rulesets/Mods/ModCinema.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.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Ga... | // 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.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Play;
namespace osu.Ga... | mit | C# |
3d0628f23cd47f9642cb64c3edfcaee1b98e6ce3 | Test case adjustment: Supports connection strings set via connection.connection_string_name property (#517) | ngbrown/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,gli... | src/NHibernate.Test/NHSpecificTest/NH2420/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH2420/Fixture.cs | using System;
using System.Data;
using System.Data.Odbc;
using System.Data.SqlClient;
using System.Configuration;
using System.Transactions;
using NHibernate.Dialect;
using NHibernate.Driver;
using NHibernate.Engine;
using NUnit.Framework;
using Environment = NHibernate.Cfg.Environment;
namespace NHibernate.Test.NHS... | using System;
using System.Data;
using System.Data.Odbc;
using System.Data.SqlClient;
using System.Transactions;
using NHibernate.Dialect;
using NHibernate.Driver;
using NHibernate.Engine;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2420
{
[TestFixture]
public class Fixture : BugTestCase
{
... | lgpl-2.1 | C# |
35b5cb3d69ec73a3ad72f9c50c331ebf827e4c21 | build 0.0.11 | rachmann/qboAccess,rachmann/qboAccess,rachmann/qboAccess | src/Global/GlobalAssemblyInfo.cs | src/Global/GlobalAssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[ assembly : ComVisible( false ) ]
[ assembly : AssemblyProduct( "QuickBooksOnlineAccess" ) ]
[ assembly : AssemblyCompany( "Agile Harbor, LLC" ) ]
[ assembly : AssemblyCopyright( "Copyright (C) 2014 Agile Harbor, LLC" ) ]
[ assembly : Assemb... | bsd-3-clause | C# |
192707be663aa997574a30a7a8b416a523dd7bbf | Use Substitution character instead of question mark | StevenLiekens/Txt,StevenLiekens/TextFx | src/Txt.ABNF/Core/OCTET/Octet.cs | src/Txt.ABNF/Core/OCTET/Octet.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Octet.cs" company="Steven Liekens">
// The MIT License (MIT)
// </copyright>
// <summary>
//
// </summary>
// ----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Octet.cs" company="Steven Liekens">
// The MIT License (MIT)
// </copyright>
// <summary>
//
// </summary>
// ----------------------------------------------------------------... | mit | C# |
2c8c76c8ae55318fb329c370fd6f091d0901aacf | add #testers to spam channel list | RPCS3/discord-bot | CompatBot/Commands/Attributes/LimitedToSpamChannel.cs | CompatBot/Commands/Attributes/LimitedToSpamChannel.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using CompatBot.EventHandlers;
using CompatBot.Utils;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
namespace CompatBot.Commands.Attributes;
[AttributeUsage(AttributeTargets.Method | AttributeTargets.... | using System;
using System.Linq;
using System.Threading.Tasks;
using CompatBot.EventHandlers;
using CompatBot.Utils;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
namespace CompatBot.Commands.Attributes;
[AttributeUsage(AttributeTargets.Method | AttributeTargets.... | lgpl-2.1 | C# |
901f524773c85155a9a41df833a37fe8284cbc92 | Simplify finding the last completed attempt | Glurmo/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,Glurmo/LiveSplit,LiveSplit/LiveSplit,ROMaster2/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,ROMaster2/LiveSplit | LiveSplit/LiveSplit.Core/Model/Comparisons/LastCompletedRunComparisonGenerator.cs | LiveSplit/LiveSplit.Core/Model/Comparisons/LastCompletedRunComparisonGenerator.cs | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastCompletedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Completed Run";
public const string Short... | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastCompletedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Completed Run";
public const string Short... | mit | C# |
b01c4e3c5b25a719899d3bea37bfa26338f3d184 | Update file ver to 3.0.2.0 | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Internals/ProductInformation.cs | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | using System;
namespace Xamarin.Forms.GoogleMaps.Internals
{
internal class ProductInformation
{
public const string Author = "amay077";
public const string Name = "Xamarin.Forms.GoogleMaps";
public const string Copyright = "Copyright © amay077. 2016 - 2018";
public const string... | mit | C# |
9e54de096329685929b6f36e037de0e8aab67012 | Change default to "Fast" | msgpack/msgpack-cli,undeadlabs/msgpack-cli,scopely/msgpack-cli,scopely/msgpack-cli,undeadlabs/msgpack-cli,msgpack/msgpack-cli,modulexcite/msgpack-cli,modulexcite/msgpack-cli | cli/src/MsgPack/Serialization/SerializationMethodGeneratorManager.cs | cli/src/MsgPack/Serialization/SerializationMethodGeneratorManager.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010 FUJIWARA, Yusuke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org... | apache-2.0 | C# |
fe8e7ffb5d9fb1bd3f350b5a0b7bda29d3327b7e | Update Extensions/TargetBlank/Filters/TargetBlankFilter.cs | Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions | Extensions/TargetBlank/Filters/TargetBlankFilter.cs | Extensions/TargetBlank/Filters/TargetBlankFilter.cs | using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OrchardCore.ResourceManagement;
using System.Threading.Tasks;
namespace Lombiq.HelpfulExtensions.Extensions.TargetBlank.Filters;
public class TargetBlankFilter : IAsyncResultFilter
{
private readonly IRe... | using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OrchardCore.ResourceManagement;
using System.Threading.Tasks;
namespace Lombiq.HelpfulExtensions.Extensions.TargetBlank.Filters;
public class TargetBlankFilter : IAsyncResultFilter
{
private readonly IRe... | bsd-3-clause | C# |
34e71e429903990c7e3e7bc00299b6994a32122c | Fix content definition validation | NicatorBa/Porthor | src/Porthor/ResourceRequestValidators/ContentDefinitionValidator.cs | src/Porthor/ResourceRequestValidators/ContentDefinitionValidator.cs | using Microsoft.AspNetCore.Http;
using Porthor.Models;
using Porthor.ResourceRequestValidators.ContentValidators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Porthor.ResourceRequestValidators
{
public class Con... | using Microsoft.AspNetCore.Http;
using Porthor.Models;
using Porthor.ResourceRequestValidators.ContentValidators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
namespace Porthor.ResourceRequestValidators
{
public class Con... | apache-2.0 | C# |
ac1a8983b06a7b528cf42f1c7e00903b332c5313 | Set percentage to 90% | DnDGen/EventGen,DnDGen/EventGen | EventGen.Tests.Integration.Stress/StressTests.cs | EventGen.Tests.Integration.Stress/StressTests.cs | using DnDGen.Stress;
using NUnit.Framework;
using System.Reflection;
namespace EventGen.Tests.Integration.Stress
{
[TestFixture]
public abstract class StressTests : IntegrationTests
{
protected Stressor stressor;
[OneTimeSetUp]
public void StressSetup()
{
var o... | using DnDGen.Stress;
using NUnit.Framework;
using System.Reflection;
namespace EventGen.Tests.Integration.Stress
{
[TestFixture]
public abstract class StressTests : IntegrationTests
{
protected Stressor stressor;
[OneTimeSetUp]
public void StressSetup()
{
var o... | mit | C# |
c4b6a16122fce6b442047f9a51cbbb2ab8d00d7f | Make the devtools controller Admin | neTp9c/Orchard,omidnasri/Orchard,Praggie/Orchard,caoxk/orchard,stormleoxia/Orchard,vairam-svs/Orchard,bigfont/orchard-continuous-integration-demo,li0803/Orchard,stormleoxia/Orchard,yonglehou/Orchard,dburriss/Orchard,kgacova/Orchard,tobydodds/folklife,aaronamm/Orchard,dburriss/Orchard,sebastienros/msc,caoxk/orchard,dmit... | src/Orchard.Web/Modules/Orchard.DevTools/Controllers/HomeController.cs | src/Orchard.Web/Modules/Orchard.DevTools/Controllers/HomeController.cs | using System.Web.Mvc;
using Orchard.DevTools.Models;
using Orchard.Localization;
using Orchard.Mvc.ViewModels;
using Orchard.Themes;
using Orchard.UI.Notify;
using Orchard.UI.Admin;
namespace Orchard.DevTools.Controllers {
[Themed]
[Admin]
public class HomeController : Controller {
priv... | using System.Web.Mvc;
using Orchard.DevTools.Models;
using Orchard.Localization;
using Orchard.Mvc.ViewModels;
using Orchard.Themes;
using Orchard.UI.Notify;
namespace Orchard.DevTools.Controllers {
[Themed]
public class HomeController : Controller {
private readonly INotifier _notifier;
... | bsd-3-clause | C# |
757b8edf1ef49885df63588b248a74b477bdb892 | Enable internal PDF viewer in WPF project | cefsharp/CefSharp.MinimalExample | CefSharp.MinimalExample.Wpf/App.xaml.cs | CefSharp.MinimalExample.Wpf/App.xaml.cs | using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
var settings = new CefSettings();
settings.Enabl... | using System.Windows;
namespace CefSharp.MinimalExample.Wpf
{
public partial class App : Application
{
public App()
{
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(new CefSettings(), shutdownOnProcessExit: tru... | mit | C# |
8867d30a37b8f0ce03d52591207f84f5e7d0049e | Fix http://stocksharp.com/forum/yaf_postsm35817_Obnovlieniie-Tranzak-do-viersii-2-16-1.aspx#post35817 | StockSharp/StockSharp,Sergey-Dvortsov/StockSharp,dmDen/StockSharp,Shadance/StockSharp,risty/StockSharp | Connectors/Transaq/Native/Extensions.cs | Connectors/Transaq/Native/Extensions.cs | namespace StockSharp.Transaq.Native
{
using System;
using System.Globalization;
using System.Xml.Linq;
using Ecng.Common;
using StockSharp.Messages;
static class Extensions
{
private const string _dateFormat = "dd.MM.yyyy";
private const string _timeFormat = "h\\:mm\\:ss";
private const string _timeFo... | namespace StockSharp.Transaq.Native
{
using System;
using System.Globalization;
using System.Xml.Linq;
using Ecng.Common;
using StockSharp.Messages;
static class Extensions
{
private const string _dateFormat = "dd.MM.yyyy";
private const string _timeFormat = "hh\\:mm\\:ss";
private const string _timeF... | apache-2.0 | C# |
cc07a305cf85532aa6fb71928294e4a3a18bd564 | Fix #10 | ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi | Core/Tigwi.UI/Views/Account/Show.cshtml | Core/Tigwi.UI/Views/Account/Show.cshtml | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "Show";
}
@section LeftInfos
{
<h3>@Model.Name</h3>
<p>@Model.Description</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountPublicOwnedLists", Model)... | @model Tigwi.UI.Models.IAccountModel
@{
ViewBag.Title = "Show";
}
@section LeftInfos
{
<h3>@Model.Name</h3>
<p>@Model.Description</p>
@if(User.Identity.IsAuthenticated)
{
@Html.Partial("_FollowPerson", Model)
@Html.Partial("_AccountPublicOwnedLists", Model)... | bsd-3-clause | C# |
00716ee2ac5e72b03fcff67b6a60e84a946bcdf0 | fix broken references | Pathoschild/StardewMods | DataLayers/Framework/ModIntegrations.cs | DataLayers/Framework/ModIntegrations.cs | using Pathoschild.Stardew.Common.Integrations.BetterJunimos;
using Pathoschild.Stardew.Common.Integrations.BetterSprinklers;
using Pathoschild.Stardew.Common.Integrations.Cobalt;
using Pathoschild.Stardew.Common.Integrations.PelicanFiber;
using Pathoschild.Stardew.Common.Integrations.PrismaticTools;
using Pathoschild.S... | using Pathoschild.Stardew.Common.Integrations.BetterSprinklers;
using Pathoschild.Stardew.Common.Integrations.Cobalt;
using Pathoschild.Stardew.Common.Integrations.PelicanFiber;
using Pathoschild.Stardew.Common.Integrations.SimpleSprinkler;
using StardewModdingAPI;
namespace Pathoschild.Stardew.DataLayers.Framework
{
... | mit | C# |
e4ee0e5a1ab9eac1eb2faa36ff50396484d825ee | Fix stupidity | simontaylor81/Syrup,simontaylor81/Syrup | SRPRendering/ScalarShaderVariableUserProperty.cs | SRPRendering/ScalarShaderVariableUserProperty.cs | using SRPCommon.UserProperties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reactive;
using System.Reactive.Linq;
namespace SRPRendering
{
class ScalarShaderVariableUserProperty<T> : IScalarProperty<T> where T : struct
{
private ... | using SRPCommon.UserProperties;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reactive;
using System.Reactive.Linq;
namespace SRPRendering
{
class ScalarShaderVariableUserProperty<T> : IScalarProperty<T> where T : struct
{
private ... | mit | C# |
e922e242e3ca2a7714b29e8d92e8c7fec0e0b0db | Add zh-Hans to language service | emoacht/Monitorian | Source/Monitorian.Core/Models/LanguageService.cs | Source/Monitorian.Core/Models/LanguageService.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Monitorian.Core.Models
{
public class LanguageService
{
private static IReadOnlyDictionary<string, string> PreparedCulturePa... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Monitorian.Core.Models
{
public class LanguageService
{
private static IReadOnlyDictionary<string, string> PreparedCulturePa... | mit | C# |
8ce404b97b031c664ef170dfd69fc05dea42ab96 | Update PowerShellLoggerOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/PowerShell/PowerShellLoggerOptions.cs | TIKSN.Core/PowerShell/PowerShellLoggerOptions.cs | using Microsoft.Extensions.Logging;
namespace TIKSN.PowerShell
{
public class PowerShellLoggerOptions
{
public LogLevel MinLevel { get; set; }
public bool IncludeScopes { get; set; }
}
}
| using Microsoft.Extensions.Logging;
namespace TIKSN.PowerShell
{
public class PowerShellLoggerOptions
{
public LogLevel MinLevel { get; set; }
public bool IncludeScopes { get; set; }
}
} | mit | C# |
63319f9a59628cf3ef986620c983efad4c6cd533 | Refactor calculo de promedio reserva | PabloValor/ProgramacionWebIII,PabloValor/ProgramacionWebIII | TP/AlquilaCocheras.Negocio/Mapeos/CocherasMap.cs | TP/AlquilaCocheras.Negocio/Mapeos/CocherasMap.cs | using System;
using System.Collections.Generic;
using System.Linq;
using AlquilaCocheras.Data;
using AlquilaCocheras.Negocio.Servicios;
using AlquilaCocheras.Negocio.ViewModels;
namespace AlquilaCocheras.Negocio.Mapeos
{
public class CocherasMap
{
#region Miembros
private readonly ReservasServ... | using System;
using System.Collections.Generic;
using System.Linq;
using AlquilaCocheras.Data;
using AlquilaCocheras.Negocio.Servicios;
using AlquilaCocheras.Negocio.ViewModels;
namespace AlquilaCocheras.Negocio.Mapeos
{
public class CocherasMap
{
#region Miembros
private readonly ReservasServ... | mit | C# |
ff7d4c163afe2aa188db3e41c3bb9a7682cf0115 | Update code | sakapon/Samples-2016,sakapon/Samples-2016 | MathSample/RandomWalkConsole/Vector3.cs | MathSample/RandomWalkConsole/Vector3.cs | using System;
namespace RandomWalkConsole
{
public struct Int32Vector3
{
public static Int32Vector3 Zero { get; } = new Int32Vector3();
public static Int32Vector3 XBasis { get; } = new Int32Vector3(1, 0, 0);
public static Int32Vector3 YBasis { get; } = new Int32Vector3(0, 1, 0)... | using System;
namespace RandomWalkConsole
{
public struct Int32Vector3
{
public static Int32Vector3 Zero { get; } = new Int32Vector3();
public static Int32Vector3 XBasis { get; } = new Int32Vector3(1, 0, 0);
public static Int32Vector3 YBasis { get; } = new Int32Vector3(0, 1, 0)... | mit | C# |
221c95453ccc4c099a0597a615168ba73383a6a4 | remove PropertyAttribute inheritance | nunit/nunit,mjedrzejek/nunit,mjedrzejek/nunit,nunit/nunit | src/NUnitFramework/framework/Attributes/FixtureLifeCycleAttribute.cs | src/NUnitFramework/framework/Attributes/FixtureLifeCycleAttribute.cs | // ***********************************************************************
// Copyright (c) 2019 Charlie Poole, Rob Prouse
//
// 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 restri... | // ***********************************************************************
// Copyright (c) 2019 Charlie Poole, Rob Prouse
//
// 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 restri... | mit | C# |
8ab7d07eab83befc7332496d20250fe54bf5ddc3 | Tidy up config parsing logic | NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu | osu.Game/IO/StableStorage.cs | osu.Game/IO/StableStorage.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;
using System.Linq;
using osu.Framework.Platform;
namespace osu.Game.IO
{
/// <summary>
/// A storage pointing to an osu-stable in... | // 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;
using System.Linq;
using osu.Framework.Platform;
namespace osu.Game.IO
{
/// <summary>
/// A storage pointing to an osu-stable in... | mit | C# |
2ec5f9a260f9952a0d7fd3bb99c84c79aba2d857 | Disable SQL test for nano | parjong/corefx,fgreinacher/corefx,Jiayili1/corefx,krk/corefx,axelheer/corefx,gkhanna79/corefx,dhoehna/corefx,cydhaselton/corefx,MaggieTsang/corefx,tijoytom/corefx,tijoytom/corefx,shimingsg/corefx,seanshpark/corefx,parjong/corefx,ptoonen/corefx,mazong1123/corefx,jlin177/corefx,stone-li/corefx,elijah6/corefx,Ermiar/coref... | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Data.SqlClient.Tests
{
public class SqlConnectionBasicTests
{
[Fac... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Data.SqlClient.Tests
{
public class SqlConnectionBasicTests
{
[Fac... | mit | C# |
ee4a46021391d2d845b7b27db17af05bb1587944 | update sample | nessos/Vagabond,mbraceproject/Vagabond,nessos/Vagabond,mbraceproject/Vagabond | samples/ThunkServer/thunkServer.csx | samples/ThunkServer/thunkServer.csx | #r "../../bin/FsPickler.dll"
#r "../../bin/Vagabond.AssemblyParser.dll"
#r "../../bin/Vagabond.dll"
#r "../../bin/ThunkServer.exe"
// before running sample, don't forget to set binding redirects to FSharp.Core in InteractiveHost.exe
using System.Linq;
using ThunkServer;
ThunkClient.Executable = "../../bin/ThunkServ... | #r "../../bin/FsPickler.dll"
#r "../../bin/Vagabond.AssemblyParser.dll"
#r "../../bin/Vagabond.dll"
#r "../../bin/ThunkServer.exe"
using ThunkServer;
ThunkClient.Executable = "../../bin/ThunkServer.exe";
var client = ThunkClient.InitLocal();
client.EvaluateDelegate(() => Console.WriteLine("C# Interactive, meet Vaga... | mit | C# |
adf6dd07c2642cb5d6edc94c3f3636da5108c62c | Add property to report deltas | sakapon/Samples-2014,sakapon/Samples-2014,sakapon/Samples-2014 | RxSample/MouseRx2Wpf/EventsExtension.cs | RxSample/MouseRx2Wpf/EventsExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace MouseRx2Wpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
public IObservable<IObse... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Input;
namespace MouseRx2Wpf
{
public class EventsExtension<TElement> where TElement : UIElement
{
public TElement Target { get; }
public IObservable<IObser... | mit | C# |
db3bda161636672e63367dc1183fe647da7041ba | Bump version to 0.10.7 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
3c7e3cc45e09021337048fade3f4c8fee5f5a37b | Bump version to 0.12.0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
910d71298b4c6efd139e460f7026cf24a83853a7 | Clean up. | Robelind/MvcCoreBootstrap | src/MvcCoreBootstrapForm/Builders/MvcCoreBootstrapCheckBoxBuilder.cs | src/MvcCoreBootstrapForm/Builders/MvcCoreBootstrapCheckBoxBuilder.cs | using MvcCoreBootstrap.Building;
using MvcCoreBootstrapForm.Config;
namespace MvcCoreBootstrapForm.Builders
{
public class MvcCoreBootstrapCheckBoxBuilder : BuilderBase
{
private readonly CheckBoxConfig _config;
internal MvcCoreBootstrapCheckBoxBuilder(CheckBoxConfig config)
{
... | using MvcCoreBootstrap.Building;
using MvcCoreBootstrapForm.Config;
namespace MvcCoreBootstrapForm.Builders
{
public class MvcCoreBootstrapCheckBoxBuilder : BuilderBase
{
private readonly CheckBoxConfig _config;
internal MvcCoreBootstrapCheckBoxBuilder(CheckBoxConfig config)
{
... | mit | C# |
1a2b9a189ff194713a6801a03eec926842cf1b1c | Change the default route to Calculate page as the home page on Azure site | mren2006/Michael_Fibonacci,mren2006/Michael_Fibonacci,mren2006/Michael_Fibonacci | Fibonacci/src/Fibonacci/Controllers/HomeController.cs | Fibonacci/src/Fibonacci/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Fibonacci.Models;
namespace Fibonacci.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Fibonacci.Models;
namespace Fibonacci.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
... | mit | C# |
c6ac28ead9404f060e72395935bd9046aceac97d | Update MRTKUGUIInputField.cs | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Experimental/MixedRealityKeyboard/MRTKUGUIInputField.cs | Assets/MRTK/SDK/Experimental/MixedRealityKeyboard/MRTKUGUIInputField.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Microsoft.MixedReality.Toolkit.Experimental.UI
{
/// <summary>
/// A derived class of UGUI's InputField to workaround with some issues of typing on Hol... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Microsoft.MixedReality.Toolkit.Experimental.UI
{
/// <summary>
/// A derived class of UGUI's InputField to workaround with some issues of typing on Hol... | mit | C# |
f4c82b8841cffa5233293c0160a845eb930d25ca | Add fix: use StopWatch instead of DateTime | DotNetRu/App,DotNetRu/App | DotNetRu.Clients.UI/BasePages/BasePage.cs | DotNetRu.Clients.UI/BasePages/BasePage.cs | using System.Diagnostics;
namespace DotNetRu.Clients.UI.Pages
{
using System;
using DotNetRu.Clients.Portable.Interfaces;
using DotNetRu.Clients.Portable.Model;
using Xamarin.Forms;
public abstract class BasePage : ContentPage, IProvidePageInfo
{
private Stopwatch appeared;
... | namespace DotNetRu.Clients.UI.Pages
{
using System;
using DotNetRu.Clients.Portable.Interfaces;
using DotNetRu.Clients.Portable.Model;
using Xamarin.Forms;
public abstract class BasePage : ContentPage, IProvidePageInfo
{
private DateTime appeared;
public abstract AppPage Pag... | mit | C# |
fae42d91cf74895de8f8ddf3846571d7b0f75ca9 | Fix a bug where the drawing context was not flushing the polygons | Xeeynamo/KingdomHearts | OpenKh.Tools.CtdEditor/ViewModels/MessageViewModel.cs | OpenKh.Tools.CtdEditor/ViewModels/MessageViewModel.cs | using OpenKh.Bbs;
using OpenKh.Bbs.Messages;
using OpenKh.Tools.CtdEditor.Interfaces;
using System.Linq;
using Xe.Drawing;
using Xe.Tools;
using Xe.Tools.Wpf.Commands;
namespace OpenKh.Tools.CtdEditor.ViewModels
{
public class MessageViewModel : BaseNotifyPropertyChanged
{
private readonly IDrawHandle... | using OpenKh.Bbs;
using OpenKh.Bbs.Messages;
using OpenKh.Tools.CtdEditor.Interfaces;
using System.Linq;
using Xe.Drawing;
using Xe.Tools;
using Xe.Tools.Wpf.Commands;
namespace OpenKh.Tools.CtdEditor.ViewModels
{
public class MessageViewModel : BaseNotifyPropertyChanged
{
private readonly IDrawHandle... | mit | C# |
f088d2642116dc77d0d3b66a40c6708e980e2719 | Update for upload GCM A4 | JiahaiWu/IDCMExpressC | IDCM/IDCM.Service/BGHandler/LoadGCMDataHandler.cs | IDCM/IDCM.Service/BGHandler/LoadGCMDataHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Forms;
using IDCM.Service.BGHandler;
using IDCM.Service.UIM;
using IDCM.Service.Common;
using IDCM.Data.Base;
using IDCM.Service.Utils;
using System.Data;
namespace IDCM... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Windows.Forms;
using IDCM.Service.BGHandler;
using IDCM.Service.UIM;
using IDCM.Service.Common;
using IDCM.Data.Base;
using IDCM.Service.Utils;
using System.Data;
namespace IDCM... | apache-2.0 | C# |
d3b19538166d10e334aa6d6d19696bcbd6661dc3 | Revert "Updated HelloWorld project" | dersia/Prism,tomzorz/Prism,xperiandri/Prism,ali-hk/Prism,ederbond/Prism,veccie/Prism,frogger3d/Prism,KeKl/Prism,4ux-nbIx/Prism,GaaH/Prism,bkulov/Prism,ethedy/Prism,hardcodet/Prism,judgy/Prism,zhouakun123/prism,huoxudong125/Prism,chuseman/Prism,calebnelton/Prism,joacar/Prism,allanrsmith/Prism | Samples/Windows10/HelloWorld/HelloWorld/App.xaml.cs | Samples/Windows10/HelloWorld/HelloWorld/App.xaml.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.ApplicationSettings;
using HelloWorld.Services;
using HelloWorld.ViewModels;
using HelloWorld.Views;
using Prism.Mvvm;
using Prism.Windows;
namespace HelloWorld
{
/// <summary>
/// Provi... | using System.Threading.Tasks;
using HelloWorld.Services;
using HelloWorld.ViewModels;
using HelloWorld.Views;
using Prism.Mvvm;
using Prism.Windows;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace HelloWorld
{
/// <summary>
/// Provides application-s... | apache-2.0 | C# |
bf7f72620dc66c48313817d52f957e054be55996 | Refactor artwork clean up code | zumicts/Audiotica | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | Windows/Audiotica.Windows/AppEngine/Bootstrppers/LibraryBootstrapper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Storage;
using Audiotica.Core.Extensions;
using Audiotica.Core.Windows.Helpers;
using Audiotica.Database.Services.Interfaces;
using Audiotica.Windows.Services.Interfaces;
using Autofac;
namespace Audiotica.Windows.AppEngine.Bootstrppers
... | using System;
using System.Collections.Generic;
using System.Linq;
using Windows.Storage;
using Audiotica.Core.Extensions;
using Audiotica.Core.Windows.Helpers;
using Audiotica.Database.Services.Interfaces;
using Audiotica.Windows.Services.Interfaces;
using Autofac;
namespace Audiotica.Windows.AppEngine.Bootstrppers
... | apache-2.0 | C# |
dd82f499648a1ef410c53a0623196db77e3cbb32 | Remove EnvironmentVariable target | inputfalken/Sharpy | tests/Sharpy.Builder.Tests/Implementations/MovieDbRandomizerTests.cs | tests/Sharpy.Builder.Tests/Implementations/MovieDbRandomizerTests.cs | using System;
using System.Net.Http;
using NUnit.Framework;
using Sharpy.Builder.Implementation;
namespace Sharpy.Builder.Tests.Implementations {
public class MovieDbRandomizerTests {
private static readonly string ApiKey ;
static MovieDbRandomizerTests() {
const string theMovieDbApiK... | using System;
using System.Net.Http;
using NUnit.Framework;
using Sharpy.Builder.Implementation;
namespace Sharpy.Builder.Tests.Implementations {
public class MovieDbRandomizerTests {
private static readonly string ApiKey ;
static MovieDbRandomizerTests() {
const string theMovieDbApiK... | mit | C# |
99aaffa1442f6ea7210f1fdf91bb9cb39b9190ea | Fix XML comment | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | Server/Settings/Definition/RelaySettingsDefinition.cs | Server/Settings/Definition/RelaySettingsDefinition.cs | using LunaCommon.Xml;
using Server.Enums;
using System;
namespace Server.Settings.Definition
{
[Serializable]
public class RelaySettingsDefinition
{
[XmlComment(Value = "Relay system mode. Dictionary uses more RAM but it's faster. Database use disk space instead but it's slower. Values: Dictionary... | using LunaCommon.Xml;
using Server.Enums;
using System;
namespace Server.Settings.Definition
{
[Serializable]
public class RelaySettingsDefinition
{
[XmlComment(Value = "Relay system mode. Dictionary uses more RAM but it's faster. DataBase use disk space instead but it's slower. Values: Dictionary... | mit | C# |
e3b29c2494cd82d26707c634f6f30da838c39fc6 | fix lesson book not using action | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/BasicBehavior/ItemLessonBook.cs | Assets/Scripts/HarryPotterUnity/Cards/BasicBehavior/ItemLessonBook.cs | namespace HarryPotterUnity.Cards.BasicBehavior
{
public class ItemLessonBook : ItemLessonProvider {
public override bool CanPerformInPlayAction()
{
return Player.CanUseActions();
}
public override void OnSelectedAction()
{
Player.UseActions();
... | namespace HarryPotterUnity.Cards.BasicBehavior
{
public class ItemLessonBook : ItemLessonProvider {
public override bool CanPerformInPlayAction()
{
return Player.CanUseActions();
}
public override void OnSelectedAction()
{
Player.Discard.Add(this);
... | mit | C# |
c0bbd0daa1c74700e31f1cc47ce506cad96a2453 | Update SettingsTable.cs | SE2-BAC/BAC-Tracker | BAC_Tracker/BAC_Tracker/BAC_Tracker.Android/Database/SettingsTable.cs | BAC_Tracker/BAC_Tracker/BAC_Tracker.Android/Database/SettingsTable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using SQLite;
namespace BAC_Tracker.Droid.Fragments
{
//Had to recreate the Person class in Android to get the SQLite working properly.
[Table("Settings")]
class Settings
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Data;
using SQLite;
namespace BAC_Tracker.Droid.Fragments
{
//Had to recreate the Person class in Android to get the SQLite working properly.
[Table("Settings")]
class Settings
{
... | apache-2.0 | C# |
228bfde84695abfaabbc5c553e971e091accad07 | Use Name instead of FullName of type when registering pages for navigation | hardcodet/Prism,ali-hk/Prism,dersia/Prism,frogger3d/Prism,ethedy/Prism,allanrsmith/Prism,ederbond/Prism | Source/Xamarin/Prism.DryIoc.Forms/DryIocExtensions.cs | Source/Xamarin/Prism.DryIoc.Forms/DryIocExtensions.cs | using DryIoc;
using Prism.Common;
using Xamarin.Forms;
namespace Prism.DryIoc
{
/// <summary>
/// Extension methods to register a <see cref="Xamarin.Forms.Page"/> with <see cref="PageNavigationRegistry"/> using <see cref="IContainer"/>
/// </summary>
public static class DryIocExtensions
{
/... | using DryIoc;
using Prism.Common;
using Xamarin.Forms;
namespace Prism.DryIoc
{
/// <summary>
/// Extension methods to register a <see cref="Xamarin.Forms.Page"/> with <see cref="PageNavigationRegistry"/> using <see cref="IContainer"/>
/// </summary>
public static class DryIocExtensions
{
/... | apache-2.0 | C# |
6591ac97af309b2fda90ae6eb718998f5f5c51ea | add skills controller route | mzrimsek/resume-site-api | Test.Integration/TestHelpers/ControllerRouteEnum.cs | Test.Integration/TestHelpers/ControllerRouteEnum.cs | namespace Test.Integration.TestHelpers
{
public class ControllerRouteEnum
{
public static string JOBS = new ControllerRouteEnum("jobs").Route;
public static string SCHOOLS = new ControllerRouteEnum("schools").Route;
public static string JOB_PROJECTS = new ControllerRouteEnum("jobProjects... | namespace Test.Integration.TestHelpers
{
public class ControllerRouteEnum
{
public static string JOBS = new ControllerRouteEnum("jobs").Route;
public static string SCHOOLS = new ControllerRouteEnum("schools").Route;
public static string JOB_PROJECTS = new ControllerRouteEnum("jobProjects... | mit | C# |
64166bddb60ca84c8c1acc25afdcf9de503596f9 | Fix base URI | csf-dev/agiil,csf-dev/agiil,csf-dev/agiil,csf-dev/agiil | Tests/Agiil.BDD.AppAbilities/ActAsTheApplication.cs | Tests/Agiil.BDD.AppAbilities/ActAsTheApplication.cs | using System;
using System.Net.Http;
using CSF.Screenplay.Abilities;
using CSF.Screenplay.Actors;
namespace Agiil.BDD.AppAbilities
{
public class ActAsTheApplication : IAbility
{
readonly TimeSpan requestTimeout;
readonly HttpClient httpClient;
public void PerformRequest(HttpRequestMessage request)
... | using System;
using System.Net.Http;
using CSF.Screenplay.Abilities;
using CSF.Screenplay.Actors;
namespace Agiil.BDD.AppAbilities
{
public class ActAsTheApplication : IAbility
{
readonly TimeSpan requestTimeout;
readonly HttpClient httpClient;
public void PerformRequest(HttpRequestMessage request)
... | mit | C# |
157da14f05f7f9056e3bbfd01ca78ca20c199c47 | Update Base62CorrelationServiceOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Integration/Correlation/Base62CorrelationServiceOptions.cs | TIKSN.Core/Integration/Correlation/Base62CorrelationServiceOptions.cs | namespace TIKSN.Integration.Correlation
{
public class Base62CorrelationServiceOptions
{
public Base62CorrelationServiceOptions() => this.ByteLength = 16;
public int ByteLength { get; set; }
}
}
| namespace TIKSN.Integration.Correlation
{
public class Base62CorrelationServiceOptions
{
public Base62CorrelationServiceOptions()
{
ByteLength = 16;
}
public int ByteLength { get; set; }
}
} | mit | C# |
518fa24913bded29e110fec5d601c94581b3707b | use NRT | weltkante/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,wvdd007/roslyn,AmadeusW/roslyn,AmadeusW/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,dotnet/roslyn,sharwell/roslyn,bartdesmet/roslyn,dotnet/roslyn,bartdesmet/roslyn,eriawan/roslyn,bartdesmet/roslyn,diryboy/roslyn,diryboy/roslyn,eriawan/roslyn,mavasani/roslyn,we... | src/Features/Core/Portable/AddParameter/ArgumentInsertPositionData.cs | src/Features/Core/Portable/AddParameter/ArgumentInsertPositionData.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 Microsoft.CodeAnalysis.AddParameter
{
internal readonly struct ArgumentInsertPositionData<TArgumentSy... | // 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 disable
namespace Microsoft.CodeAnalysis.AddParameter
{
internal readonly struct ArgumentInsertPosit... | mit | C# |
7b7b8c1892e36a9d2dda89c95e69d1f6d09ed4af | Implement behaviour for classic selection style | ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Overlays/Mods/Input/ClassicModHotkeyHandler.cs | osu.Game/Overlays/Mods/Input/ClassicModHotkeyHandler.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.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Mods;
using osuTK.I... | // 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.Input.Events;
namespace osu.Game.Overlays.Mods.Input
{
/// <summary>
/// Uses bindings from stable 1:1.
... | mit | C# |
b03fc8c34b73fce8d3b9f99c8ab2cd5f2aa256cd | Update PlansWithOnVerifyPage class | atata-framework/atata-samples | src/AtataSamples.PageVerification/Components/PlansWithOnVerifyPage.cs | src/AtataSamples.PageVerification/Components/PlansWithOnVerifyPage.cs | using Atata;
using _ = AtataSamples.PageVerification.PlansWithOnVerifyPage;
namespace AtataSamples.PageVerification
{
[Url("plans")]
public class PlansWithOnVerifyPage : Page<_>
{
public H1<_> Header { get; private set; }
protected override void OnVerify()
{
... | using Atata;
using _ = AtataSamples.PageVerification.PlansWithOnVerifyPage;
namespace AtataSamples.PageVerification
{
[Url("plans")]
public class PlansWithOnVerifyPage : Page<_>
{
public H1<_> Header { get; private set; }
protected override void OnVerify()
{
... | apache-2.0 | C# |
998ca05a0cf144bb30a8b7f7605369e35cac45e5 | Fix disclaimer test scene supporter toggle | UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,peppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Tests/Visual/Menus/TestSceneDisclaimer.cs | osu.Game.Tests/Visual/Menus/TestSceneDisclaimer.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.Game.Screens.Menu;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Menus
{
public class TestSceneDisclaimer : ScreenT... | // 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.Game.Screens.Menu;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.Menus
{
public class TestSceneDisclaimer : ScreenT... | mit | C# |
1aaea7011ae2bc308913a59523503f549b67deee | Fix early return causing event loss in case of multiple control points in group | ppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs | osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Legacy
{
public... | // 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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Legacy
{
public... | mit | C# |
5746b7bd8285c3910a918484555b7f3cada4df90 | maintain audio service process not separate to keep volume controlled by Core Audio APIs | Grabacr07/KanColleViewer | source/Grabacr07.KanColleViewer/Models/Cef/CefBridge.cs | source/Grabacr07.KanColleViewer/Models/Cef/CefBridge.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using CefSharp;
using CefSharp.Wpf;
namespace Grabacr07.KanColleViewer.Models.Cef
{
public static class CefBridge
{
private static readonly string asesmblyDirector... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using CefSharp;
using CefSharp.Wpf;
namespace Grabacr07.KanColleViewer.Models.Cef
{
public static class CefBridge
{
private static readonly string asesmblyDirector... | mit | C# |
7684696f275f541f604e5d1a5bce154a3919245b | change return type to IInterceptor[] | AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions/IInterceptorMatcher.cs | src/AspectCore.Lite.Abstractions/IInterceptorMatcher.cs | using System.Collections.Generic;
using System.Reflection;
namespace AspectCore.Lite.Abstractions
{
[NonAspect]
public interface IInterceptorMatcher
{
IInterceptor[] Match(MethodInfo serviceMethod, TypeInfo serviceTypeInfo);
}
}
| using System.Collections.Generic;
using System.Reflection;
namespace AspectCore.Lite.Abstractions
{
[NonAspect]
public interface IInterceptorMatcher
{
IEnumerable<IInterceptor> Match(MethodInfo serviceMethod, TypeInfo serviceTypeInfo);
}
}
| mit | C# |
2ed8da1892a3bd714cc582334937469354ad538a | Update AddClassAction.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/AddClassAction.cs | src/Avalonia.Xaml.Interactions/Custom/AddClassAction.cs | using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom
{
/// <summary>
/// Adds a specified <see cref="AddClassAction.ClassName"/> to the <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class AddClassAction : AvaloniaObject, IAction
{
... | using Avalonia;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom
{
public class AddClassAction : AvaloniaObject, IAction
{
public static readonly StyledProperty<string> ClassNameProperty =
AvaloniaProperty.Register<AddClassAction, string>(nameof(ClassName));
public static reado... | mit | C# |
4fce8f3476e59d9442d401c254d5bd0cd99d6eb5 | Use ConfigureAwait(false) to prevent potential deadlocks in synchronous code | ZEISS-PiWeb/PiWeb-Api | src/Api.Rest/Common/Client/TimeoutHandler.cs | src/Api.Rest/Common/Client/TimeoutHandler.cs | #region copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* Carl Zeiss Industrielle Messtechnik GmbH */
/* Softwaresystem PiWeb */
/* (c) Carl Zeiss 2021 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespa... | #region copyright
/* * * * * * * * * * * * * * * * * * * * * * * * * */
/* Carl Zeiss Industrielle Messtechnik GmbH */
/* Softwaresystem PiWeb */
/* (c) Carl Zeiss 2021 */
/* * * * * * * * * * * * * * * * * * * * * * * * * */
#endregion
namespa... | bsd-3-clause | C# |
51c1e46210befb5ed963d53b75e63107ddf6b710 | Add extra response properties for bancontact (#213) | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | using System;
namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the ... | using System;
namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the ... | mit | C# |
ca9d678985a0c2b6490055b0a800c2371ba537c5 | enable html title on login | Che4ter/PAWI,Che4ter/PAWI,Che4ter/PAWI,Che4ter/PAWI | src/esencialAdmin/Views/Shared/_LoginLayout.cshtml | src/esencialAdmin/Views/Shared/_LoginLayout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - esencialAdmin</title>
<environment include="Development,Preview">
<link rel="st... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@*<title>@ViewData["Title"] - esencialAdmin</title>*@
<environment include="Development,Preview">
<link rel... | apache-2.0 | C# |
222f197afcf9c880c442e4239ba31e53b4aa06ed | Use route handler defined for instance | stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper()
{
_routeHandler = new MvcRouteHandler();
}
protected Route GenerateRoute(string path, string controller, string action, string[] h... | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Mapper()
{
_routeHandler = new MvcRouteHandler();
}
protected Route GenerateRoute(string path, string controller, string action, string[] h... | mit | C# |
cd9f2ce7251a0e9fc1316f6d43c0ad03d86099f4 | Update comments for base exception | McNeight/SharpZipLib | src/SharpZipBaseException.cs | src/SharpZipBaseException.cs | // SharpZipBaseException.cs
//
// Copyright 2004 John Reilly
//
// This file was translated from java, it was part of the GNU Classpath
// Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Gener... | // SharpZipBaseException.cs
//
// Copyright 2004 John Reilly
//
// This file was translated from java, it was part of the GNU Classpath
// Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Gener... | mit | C# |
ef1889dc8e2cd8e550bec743a3b02675866ff682 | Fix Less compiler unit tests to expect filename in error messages. | andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette,BluewireTechnologies/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette | src/Cassette.UnitTests/Less/LessCompiler.cs | src/Cassette.UnitTests/Less/LessCompiler.cs | using Should;
using Xunit;
namespace Cassette.Less
{
public class LessCompiler_Compile
{
[Fact]
public void Compile_converts_LESS_into_CSS()
{
var compiler = new LessCompiler(_ => @"@color: #4d926f; #header { color: @color; }");
var css = compiler.Com... | using Should;
using Xunit;
namespace Cassette.Less
{
public class LessCompiler_Compile
{
[Fact]
public void Compile_converts_LESS_into_CSS()
{
var compiler = new LessCompiler(_ => @"@color: #4d926f; #header { color: @color; }");
var css = compiler.Com... | mit | C# |
913b4456e81fcf9a401e2346463586115bfd0aab | Initialize AccessControlRequestHeaders with empty array to prevent null ref exceptions when header is not provided | tomkuijsten/restup,Jark/restup,Jark/restup,tomkuijsten/restup,Jark/restup,tomkuijsten/restup | src/HttpMessage/MutableHttpServerRequest.cs | src/HttpMessage/MutableHttpServerRequest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Restup.HttpMessage.Headers.Request;
using Restup.HttpMessage.Models.Contracts;
using Restup.HttpMessage.Models.Schemas;
using Restup.HttpMessage.ServerRequestParsers;
namespace Restup.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Restup.HttpMessage.Headers.Request;
using Restup.HttpMessage.Models.Contracts;
using Restup.HttpMessage.Models.Schemas;
using Restup.HttpMessage.ServerRequestParsers;
namespace Restup.... | mit | C# |
a155eff00a94fc956c77cd77f9c53c30f3e87dec | Fix warnings. | JohanLarsson/Gu.Wpf.Adorners | Gu.Wpf.Adorners.Demo/Windows/OverlayDialogWindow.xaml.cs | Gu.Wpf.Adorners.Demo/Windows/OverlayDialogWindow.xaml.cs | namespace Gu.Wpf.Adorners.Demo.Windows
{
using System.Windows;
public partial class OverlayDialogWindow : Window
{
public OverlayDialogWindow()
{
this.InitializeComponent();
}
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
... | namespace Gu.Wpf.Adorners.Demo.Windows
{
using System.Windows;
public partial class OverlayDialogWindow : Window
{
public OverlayDialogWindow()
{
this.InitializeComponent();
}
private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{
... | mit | C# |
116c46439c8c456a6a37532cd8489cb917ae618d | Revert "Small cleanup. Not sufficient" | zr40/kyru-dotnet,zr40/kyru-dotnet | Kyru/Network/TcpMessages/ServerState/StoreObjectState.cs | Kyru/Network/TcpMessages/ServerState/StoreObjectState.cs | using System.IO;
using System.Linq;
using System.Net.Sockets;
using Kyru.Core;
using Kyru.Network.Objects;
using Kyru.Utilities;
using ProtoBuf;
namespace Kyru.Network.TcpMessages.ServerState
{
internal sealed class StoreObjectState : IServerState
{
private readonly NetworkStream stream;
private r... | using System.IO;
using System.Linq;
using System.Net.Sockets;
using Kyru.Core;
using Kyru.Network.Objects;
using Kyru.Utilities;
using ProtoBuf;
namespace Kyru.Network.TcpMessages.ServerState
{
internal sealed class StoreObjectState : IServerState
{
private readonly NetworkStream stream;
private r... | bsd-3-clause | C# |
3669c112f371e3f1c44ff020be77a11901f728d6 | add file | UnstableMutex/MapDraft | MyMapOnCanvas/testproj/WpfApplication1/WpfApplication1/MainWindow.xaml.cs | MyMapOnCanvas/testproj/WpfApplication1/WpfApplication1/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Med... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.