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 |
|---|---|---|---|---|---|---|---|---|
198cd9950d121927e5194939b0b331f1699e8031 | Rename client trace to git-push-date. | juvchan/kudu,kali786516/kudu,shrimpy/kudu,mauricionr/kudu,kenegozi/kudu,duncansmart/kudu,mauricionr/kudu,puneet-gupta/kudu,puneet-gupta/kudu,YOTOV-LIMITED/kudu,barnyp/kudu,kenegozi/kudu,puneet-gupta/kudu,juoni/kudu,WeAreMammoth/kudu-obsolete,bbauya/kudu,WeAreMammoth/kudu-obsolete,juvchan/kudu,badescuga/kudu,uQr/kudu,Ma... | Kudu.TestHarness/ApplicationManagerExtensions.cs | Kudu.TestHarness/ApplicationManagerExtensions.cs | using System;
namespace Kudu.TestHarness
{
public static class ApplicationManagerExtensions
{
public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", string remoteBranchName = "master")
{
GitDeployment... | using System;
namespace Kudu.TestHarness
{
public static class ApplicationManagerExtensions
{
public static GitDeploymentResult GitDeploy(this ApplicationManager appManager, string localRepoPath, string localBranchName = "master", string remoteBranchName = "master")
{
GitDeployment... | apache-2.0 | C# |
e5530110a027da887c119064a6da77dceea9c602 | Add a overload method for the constructor of Interpolation class | paralleltree/Scallion | Scallion/DomainModels/Components/Interpolation.cs | Scallion/DomainModels/Components/Interpolation.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Scallion.DomainModels.Components
{
/// <summary>
/// Represents an interpolating curve that used in a interpolation.
/// </summary>
/// <remarks>
/// In MMD, a interpolation is implemented as a cubic bezier curve that fir... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Scallion.DomainModels.Components
{
/// <summary>
/// Represents an interpolating curve that used in a interpolation.
/// </summary>
/// <remarks>
/// In MMD, a interpolation is implemented as a cubic bezier curve that fir... | mit | C# |
677235283c78196b90b6cfbd5f1bd7580458405b | Make longs nullable | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Entities/FulfillmentOrderLineItem.cs | ShopifySharp/Entities/FulfillmentOrderLineItem.cs | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace ShopifySharp.Entities
{
public class FulfillmentOrderLineItem
{
/// <summary>
/// The ID of the fulfillment order line item.
/// </summary>
[JsonProperty("id")]
public lo... | using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
namespace ShopifySharp.Entities
{
public class FulfillmentOrderLineItem
{
/// <summary>
/// The ID of the fulfillment order line item.
/// </summary>
[JsonProperty("id")]
public lo... | mit | C# |
0eb1b2322fa9d37d90557538150f40e8f877f1d3 | Fix updating layout properly when setting ImageView.Image after it has been loaded. Fixes #362 | bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto.Mac/Forms/Controls/ImageViewHandler.cs | Source/Eto.Mac/Forms/Controls/ImageViewHandler.cs | using System;
using Eto.Forms;
using Eto.Drawing;
using Eto.Mac.Drawing;
#if XAMMAC2
using AppKit;
using Foundation;
using CoreGraphics;
using ObjCRuntime;
using CoreAnimation;
using CoreImage;
#else
using MonoMac.AppKit;
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;
using MonoMac.Co... | using System;
using Eto.Forms;
using Eto.Drawing;
using Eto.Mac.Drawing;
#if XAMMAC2
using AppKit;
using Foundation;
using CoreGraphics;
using ObjCRuntime;
using CoreAnimation;
using CoreImage;
#else
using MonoMac.AppKit;
using MonoMac.Foundation;
using MonoMac.CoreGraphics;
using MonoMac.ObjCRuntime;
using MonoMac.Co... | bsd-3-clause | C# |
39029152a83f12d76742a8b5ea522285e71b2b4c | Add token expiration | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | SnapMD.VirtualCare.ApiModels/SerializableToken.cs | #region Copyright
// Copyright 2016 SnapMD, 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 ap... | #region Copyright
// Copyright 2016 SnapMD, 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 ap... | apache-2.0 | C# |
2adbdb2ed84d99e7d4bb28fd227930d7becfe282 | Add RSS MIME Type | ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework | Source/MVC6/Boilerplate.AspNetCore/ContentType.cs | Source/MVC6/Boilerplate.AspNetCore/ContentType.cs | namespace Boilerplate.AspNetCore
{
/// <summary>
/// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of
/// data that a file contains. Web browsers use them to determine how to display, output or handle files and search
/// engines use them to cl... | namespace Boilerplate.AspNetCore
{
/// <summary>
/// A list of internet media types, which are a standard identifier used on the Internet to indicate the type of
/// data that a file contains. Web browsers use them to determine how to display, output or handle files and search
/// engines use them to c... | mit | C# |
6ae778f1bd33c9ce60915eff6522323d0bda0707 | Read appSettings on construction to throw early. | plmwong/librato4net | librato4net/AppSettingsLibratoSettings.cs | librato4net/AppSettingsLibratoSettings.cs | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
private const string DefaultApiEndPoint = "https://metrics-api.librato.com/v1/";
public AppSettingsLibratoSettings()
{
var _ = Username;
... | using System;
using System.Configuration;
namespace librato4net
{
public class AppSettingsLibratoSettings : ILibratoSettings
{
// ReSharper disable once InconsistentNaming
private static readonly AppSettingsLibratoSettings settings = new AppSettingsLibratoSettings();
private const str... | mit | C# |
4ed14a295df2aeed952332c5084244331abc7b93 | Make TLB test scene test TLB and not back button | 2yangk23/osu,ZLima12/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ZLima12/osu,2yangk23/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,Useless... | osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.cs | osu.Game.Tests/Visual/UserInterface/TestSceneTwoLayerButton.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.Extensions.Color4Extensions;
using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
using osuTK.Graphics;
namespa... | // 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.ComponentModel;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Tests.Visual.UserInterface
{
[Description("mostly back button")]
public c... | mit | C# |
dd162ee92f6efb3abaf477ce03ed9db06cb12e0c | Enable ads test mode if development build. | engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem,engagementgamelab/hygiene-with-chhota-bheem | Assets/Scripts/AppManager.cs | Assets/Scripts/AppManager.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Advertisements;
using UnityEngine.Analytics;
public class AppManager : MonoBehaviour
{
private float deltaTime;
private bool touching = false;
private bool paused = false;
private AudioControl AudioController;
pri... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Advertisements;
using UnityEngine.Analytics;
public class AppManager : MonoBehaviour
{
private float deltaTime;
private bool touching = false;
private bool paused = false;
private AudioControl AudioController;
pri... | mit | C# |
b97ab7a9375fe5e3331346977f9195dea35ad010 | Use dynamic layout for simple app | l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto.Test/Eto.Test.Android/MainActivity.cs | Source/Eto.Test/Eto.Test.Android/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Eto.Forms;
namespace Eto.Test.Android
{
[Activity(Label = "Eto.Test.Android", MainLauncher = true)]
public class MainActivity : Activity
{
public class SimpleApplicatio... | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Eto.Forms;
namespace Eto.Test.Android
{
[Activity(Label = "Eto.Test.Android", MainLauncher = true)]
public class MainActivity : Activity
{
public class SimpleApplicati... | bsd-3-clause | C# |
71da63e615e307570e30126070365827ca46ee85 | Add ru-RU and pl-PL 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# |
cc25ad09737c663ce3b3011d7d2e5dd2627369ad | Add Larry to contact page. | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co... | mit | C# |
4bec13b1757f595da7f1c39862d232ced7445a8a | Use default Api route for controllers that do not declare one | JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm | ArchiSteamFarm/IPC/Controllers/Api/ArchiController.cs | ArchiSteamFarm/IPC/Controllers/Api/ArchiController.cs | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | apache-2.0 | C# |
28a7d5041a98a9ab7c47b64f469f1f38f533d47e | Comment joint prediction | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/Physics/Controllers/MoverController.cs | Content.Client/Physics/Controllers/MoverController.cs | using Content.Shared.Movement;
using Content.Shared.Movement.Components;
using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Physics.Controllers
{
public sealed class MoverController : SharedMoverController
{
[Dependency] private readonly IPlay... | using Content.Shared.Movement;
using Content.Shared.Movement.Components;
using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
namespace Content.Client.Physics.Controllers
{
public sealed class MoverController : SharedMoverController
{
[Dependency] private readonly IPlay... | mit | C# |
263620b438ce6969171f5a4345f0568f47fbb8a9 | add parent details to entry domain model | MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014 | HackManchester2014/HackManchester2014/Domain/Entry.cs | HackManchester2014/HackManchester2014/Domain/Entry.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JG = JustGiving.Api.Sdk.Model.Donation;
namespace HackManchester2014.Domain
{
public class Entry
{
public string Id { get; set; }
public string UserId { get; private set; }
public string UserNam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using JG = JustGiving.Api.Sdk.Model.Donation;
namespace HackManchester2014.Domain
{
public class Entry
{
public string Id { get; set; }
public string UserId { get; private set; }
public string UserNam... | mit | C# |
886e47755d57a517ffb15c7e39c0a03c66068eb2 | Fix injection script loading from GUI. | uoinfusion/Infusion | Infusion.Injection.Avalonia/Scripts/ScriptServices.cs | Infusion.Injection.Avalonia/Scripts/ScriptServices.cs | using Infusion.Commands;
using Infusion.LegacyApi.Injection;
using InjectionScript.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infusion.Injection.Avalonia.Scripts
{
public class ScriptServices : IScriptServices
{
private readonly InjectionRu... | using Infusion.Commands;
using Infusion.LegacyApi.Injection;
using InjectionScript.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Infusion.Injection.Avalonia.Scripts
{
public class ScriptServices : IScriptServices
{
private readonly InjectionRu... | mit | C# |
e7d761bef4ae31e2a9483b781b2cb8975d336c15 | Introduce OnNext + push result in | citizenmatt/ndc-london-2013 | rx/rx/Program.cs | rx/rx/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace rx
{
class Program
{
static void Main(string[] args)
{
var subject = new Subject<string>();
using (subject.Subscribe(result =>... | mit | C# |
829cd287ea0ea0b28089ce9c5e39170e5f6a63b8 | Update SkiaContainerImporter.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Skia/Export/SkiaContainerImporter.cs | src/Draw2D.Skia/Export/SkiaContainerImporter.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.ObjectModel;
using Draw2D.ViewModels;
using Draw2D.ViewModels.Containers;
using Draw2D.ViewModels.Shapes;
using Draw2D.ViewM... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.ObjectModel;
using Draw2D.ViewModels;
using Draw2D.ViewModels.Containers;
using Draw2D.ViewModels.Shapes;
using Draw2D.ViewM... | mit | C# |
32ecf485b9cd6bf1f24b98eb15e3b959f3d80ca1 | Add 'SessionDefaults' docs & react to PR #36 changes | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Session/SessionDefaults.cs | src/Microsoft.AspNet.Session/SessionDefaults.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNet.Session
{
/// <summary>
/// Represents defaults for the Session.
/// </summary>
public static ... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.AspNet.Session
{
public static class SessionDefaults
{
public static readonly string CookieName = ".A... | apache-2.0 | C# |
4887efcb63a58ec400a06ae2792b8acf42e332c8 | Fix bug for missing table name in Audit | digitalrizzle/RussellGroup.Pims,digitalrizzle/RussellGroup.Pims,digitalrizzle/RussellGroup.Pims | RussellGroup.Pims.DataAccess/Migrations/SqlFactory.cs | RussellGroup.Pims.DataAccess/Migrations/SqlFactory.cs | using HandlebarsDotNet;
using RussellGroup.Pims.DataAccess.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RussellGroup.Pims.DataAccess.Migrations
{
... | using HandlebarsDotNet;
using RussellGroup.Pims.DataAccess.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity.Core.Objects;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RussellGroup.Pims.DataAccess.Migrations
{
... | mit | C# |
d9281939e7b933942c4834d5dd5aa7a4d2cda829 | Add the 'Labels' property to the TemplateCategory model | Jericho/CakeMail.RestClient | Source/CakeMail.RestClient/Models/TemplateCategory.cs | Source/CakeMail.RestClient/Models/TemplateCategory.cs | using CakeMail.RestClient.Utilities;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace CakeMail.RestClient.Models
{
public class TemplateCategory
{
#region Properties
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonPr... | using CakeMail.RestClient.Utilities;
using Newtonsoft.Json;
namespace CakeMail.RestClient.Models
{
public class TemplateCategory
{
#region Properties
[JsonProperty("id")]
public long Id { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("owner_client_id")]
publi... | mit | C# |
b57e6187b687e76b414c6bc6ff465599de331db7 | Correct iOS assembly title | oxyplot/oxyplot-xamarin | Source/OxyPlot.Xamarin.iOS/Properties/AssemblyInfo.cs | Source/OxyPlot.Xamarin.iOS/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------... | mit | C# |
afc275d7ea83292eef25f20c46bcb1ce1c05f3a3 | Remove Administrator authentication | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Shared/_LoginPartial.cshtml | SpaceBlog/SpaceBlog/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
... | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
@if (User.IsInRole("Administrators"))
... | mit | C# |
99edb1e45b966b9a3937632890ddb3f251d29917 | Add logging for RedisCache.TryGet | mattgwagner/CertiPay.Common | CertiPay.Common/Redis/RedisCache.cs | CertiPay.Common/Redis/RedisCache.cs | using CertiPay.Common.Cache;
using CertiPay.Common.Logging;
using Newtonsoft.Json;
using StackExchange.Redis;
using System;
using System.Threading.Tasks;
namespace CertiPay.Common.Redis
{
/// <summary>
/// An instance of the ICache that stores cache data in a redis instance
/// </summary>
public class... | using CertiPay.Common.Cache;
using Newtonsoft.Json;
using StackExchange.Redis;
using System;
using System.Threading.Tasks;
namespace CertiPay.Common.Redis
{
/// <summary>
/// An instance of the ICache that stores cache data in a redis instance
/// </summary>
public class RedisCache : ICache
{
... | mit | C# |
efaebd6571ddc6106263cb4f7798aea9c94430a1 | Convert a List of matrices from Xna to Chamber. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLib.MonoGame/MatrixHelper.cs | ChamberLib.MonoGame/MatrixHelper.cs | using System;
using System.Linq;
using System.Collections.Generic;
namespace ChamberLib
{
public static class MatrixHelper
{
public static Microsoft.Xna.Framework.Matrix ToXna(this ChamberLib.Matrix m)
{
return new Microsoft.Xna.Framework.Matrix(
m.M11, m.M12, m.M13... | using System;
using System.Linq;
namespace ChamberLib
{
public static class MatrixHelper
{
public static Microsoft.Xna.Framework.Matrix ToXna(this ChamberLib.Matrix m)
{
return new Microsoft.Xna.Framework.Matrix(
m.M11, m.M12, m.M13, m.M14,
m.M21, m.... | lgpl-2.1 | C# |
33956bfeb6a6b71e4067c1c663e4f26abe8aac16 | Adjust Store id | michael-reichenauer/Dependinator | DependinatorTest/Utils/StoreTest.cs | DependinatorTest/Utils/StoreTest.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using Dependinator.Utils.Serialization;
using Dependinator.Utils.Threading;
using NUnit.Framework;
namespace DependinatorTest.Utils
{
[TestFixture]
public class StoreTest
{
private readonly st... | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using Dependinator.Utils.Serialization;
using Dependinator.Utils.Threading;
using NUnit.Framework;
namespace DependinatorTest.Utils
{
[TestFixture]
public class StoreTest
{
private readonly st... | mit | C# |
3af79fced11e00cb6ae4cc1ade7a734e13e5280a | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
601d5d96c452b4f4ca40b535aeba721a5aea626c | Add a menu to make the dev tools not show up by default | red-gate/Knockout.Binding | Knockout.Binding.Sample/MainForm.cs | Knockout.Binding.Sample/MainForm.cs | using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using CefSharp;
using CefSharp.WinForms;
using Knockout.Binding.ExtensionMethods;
namespace Knockout.Binding.Sample
{
public partial class MainForm : Form
{
private readonly We... | using System;
using System.ComponentModel;
using System.IO;
using System.Reflection;
using System.Windows.Forms;
using CefSharp;
using CefSharp.WinForms;
using Knockout.Binding.ExtensionMethods;
namespace Knockout.Binding.Sample
{
public partial class MainForm : Form
{
private readonly We... | mit | C# |
e5be66678f4a51656ed733bad8cee510b602767b | Fix the IsLoopback check | projectkudu/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu | Kudu.Services/Error404Controller.cs | Kudu.Services/Error404Controller.cs | using System;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Kudu.Services
{
public class Error404Controller : ApiController
{
[HttpGet, HttpPatch, HttpPost, HttpPut, HttpDelete]
public HttpResponseMessage Handle()
{
// Mock few paths. For develop... | using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Kudu.Services
{
public class Error404Controller : ApiController
{
[HttpGet, HttpPatch, HttpPost, HttpPut, HttpDelete]
public HttpResponseMessage Handle()
{
// Mock few paths. For development purposes ... | apache-2.0 | C# |
42dff8a35ef612bcbf4e38b09263bba5fcb7add5 | Move the download function into SourceRouter | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MainDemo.Wpf/Helper/SourceRouter.cs | MainDemo.Wpf/Helper/SourceRouter.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using CodeDisplayer;
namespace MaterialDesignDemo.Helper {
public class SourceRouter {
private string _typeName;
private const bo... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using CodeDisplayer;
namespace MaterialDesignDemo.Helper {
public class SourceRouter {
private string _typeName;
private const bool GetFromLocalSou... | mit | C# |
93f6337cb40314f2450e36bb32dc7db53a36d777 | Add supression for generated xaml class | mdavid/nuget,mdavid/nuget | NuPack.Dialog/GlobalSuppressions.cs | NuPack.Dialog/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in t... | apache-2.0 | C# |
c63f58764474981d4c02a02ae1f78839a0665ec0 | Add missing name/email info on Responses | bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/Containers/Response.cs | SurveyMonkey/Containers/Response.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Response : IPageableContainer
{
public long? Id { get; set; }
public long? Sur... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Response : IPageableContainer
{
public long? Id { get; set; }
public long? Sur... | mit | C# |
e792ea5c242101c64e0b794f8e5661c0d3176bf7 | Fix remove passengers | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Services/VehicleService.cs | Battery-Commander.Web/Services/VehicleService.cs | using BatteryCommander.Web.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class VehicleService
{
public static async Task Reset_Drivers(Database db)
{... | using BatteryCommander.Web.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BatteryCommander.Web.Services
{
public class VehicleService
{
public static async Task Reset_Drivers(Database db)
{... | mit | C# |
9aa1b4e4e76f2737ef279d48714bd343f779685e | Move to separate namespace | whampson/cascara,whampson/bft-spec | Cascara.Tests/Src/Extensions/AssertExtensions.cs | Cascara.Tests/Src/Extensions/AssertExtensions.cs | using System;
using Xunit;
namespace Cascara.Tests.Extensions
{
public class AssertExtensions : Assert
{
public static T ThrowsWithMessage<T>(Func<object> testCode, string message)
where T : Exception
{
var ex = Assert.Throws<T>(testCode);
Assert.Equal(ex.Me... | using System;
using Xunit;
namespace Cascara.Tests
{
public class AssertExtensions : Assert
{
public static T ThrowsWithMessage<T>(Func<object> testCode, string message)
where T : Exception
{
var ex = Assert.Throws<T>(testCode);
Assert.Equal(ex.Message, mess... | mit | C# |
e65a8e1202f601531798da6343f18d7c2f726986 | Fix errors | primas23/FileCacheService | FCS,ConsoleClient/Startup.cs | FCS,ConsoleClient/Startup.cs | using FCS.Contracts;
using FCS.Core;
namespace FCS_ConsoleClient
{
public class Startup
{
public static void Main()
{
ICacheService cacheService = new FileCache();
}
}
}
| using FCS.Contracts;
using FCS.Core;
namespace FCS_ConsoleClient
{
public class Startup
{
public static void Main()
{
IFileCacheConfiguration fileCacheConfiguration = new FileCacheConfiguration();
ICacheService cacheService = new FileCache(fileCacheConfiguration);
... | mit | C# |
c4c92ee60dac1b21f4749f413e75a81cd8c1b511 | write to debug log | overtools/OWLib | TankLib/CASC/Helpers/PerfCounter.cs | TankLib/CASC/Helpers/PerfCounter.cs | using System;
using System.Diagnostics;
namespace TankLib.CASC.Helpers {
/// <summary>Performance tracker</summary>
public sealed class PerfCounter : IDisposable {
private readonly Stopwatch _sw;
private readonly string _name;
public PerfCounter(string name) {
_name = name... | using System;
using System.Diagnostics;
namespace TankLib.CASC.Helpers {
/// <summary>Performance tracker</summary>
public sealed class PerfCounter : IDisposable {
private readonly Stopwatch _sw;
private readonly string _name;
public PerfCounter(string name) {
_name = name... | mit | C# |
19f8297e3916e4cedbf59aaed1159894339ddd7a | Use a faster token lookup | SiliconStudio/Mono.Cecil,ttRevan/cecil,xen2/cecil,gluck/cecil,mono/cecil,fnajera-rac-de/cecil,furesoft/cecil,sailro/cecil,kzu/cecil,saynomoo/cecil,cgourlay/cecil,joj/cecil,jbevain/cecil | Test/Mono.Cecil.Tests/Extensions.cs | Test/Mono.Cecil.Tests/Extensions.cs | using System;
using System.Linq;
using SR = System.Reflection;
using Mono.Cecil;
namespace Mono.Cecil.Tests {
public static class Extensions {
public static MethodDefinition GetMethod (this TypeDefinition self, string name)
{
return self.Methods.Where (m => m.Name == name).First ();
}
public static Fie... | using System;
using System.Linq;
using SR = System.Reflection;
using Mono.Cecil;
namespace Mono.Cecil.Tests {
public static class Extensions {
public static MethodDefinition GetMethod (this TypeDefinition self, string name)
{
return self.Methods.Where (m => m.Name == name).First ();
}
public static Fie... | mit | C# |
e01ac9b7ef331af4007465396b0617c1c7b0cca3 | convert the json file to an object in order to convert it to json? | shanecharles/techandwings-data,shanecharles/techandwings-data,shanecharles/techandwings-data | TechAndWingsApi/Controllers/MeetupsController.cs | TechAndWingsApi/Controllers/MeetupsController.cs | using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Hosting;
using Newtonsoft.Json;
namespace TechAndWingsApi.Controllers
{
/// <summary>
///
/// </summary>
public class MeetupsController : ApiController
{
//... | using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Hosting;
namespace TechAndWingsApi.Controllers
{
/// <summary>
///
/// </summary>
public class MeetupsController : ApiController
{
/// <summary>
/// Ret... | mit | C# |
e9335d6a2c4755bd120e7da06e2dec0029f93f54 | Fix #2699 | jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,grokys/Perspex,Super... | src/Avalonia.Controls/Generators/TabItemContainerGenerator.cs | src/Avalonia.Controls/Generators/TabItemContainerGenerator.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Controls.Primitives;
namespace Avalonia.Controls.Generators
{
public class TabItemContainerGenerator : ItemContainerGenerator<TabI... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Avalonia.Controls.Primitives;
namespace Avalonia.Controls.Generators
{
public class TabItemContainerGenerator : ItemContainerGenerator<TabI... | mit | C# |
3a7a3b7366f6047bc0203bfdf7568a53edd111f4 | Add retry NotifyIcon | shimitei/UnstableCribs | COIME/TrayIcon.cs | COIME/TrayIcon.cs | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace COIME
{
public partial class TrayIcon : Component
{
private InputForm InputForm;
public TrayIcon()
{
InitializeComponent();
}
public TrayIcon(IContainer container)
{
... | using System;
using System.ComponentModel;
using System.Windows.Forms;
namespace COIME
{
public partial class TrayIcon : Component
{
private InputForm InputForm;
public TrayIcon()
{
InitializeComponent();
}
public TrayIcon(IContainer container)
{
... | apache-2.0 | C# |
64047c0c98d0451c572bfbad5ece2fdd7eee1f31 | Add a forgotten Bracket | susch19/TurtlesBrain,susch19/TurtlesBrain | Client/Program.cs | Client/Program.cs | using System;
using turtleAPI;
namespace Client
{
class Program
{
static void Main(string[] args)
{
Turtle t = new Turtle("rave1000_1");
string i;
while (true)
{
string command = Console.ReadLine();
Type type = ty... | using System;
using turtleAPI;
namespace Client
{
class Program
{
static void Main(string[] args)
{
Turtle t = new Turtle("rave1000_1");
string i;
while (true)
{
string command = Console.ReadLine();
Type type = ty... | mit | C# |
3d636f4d0defe6b8022497c2b8407651e9ba93c7 | Use stub function for PreScan single element test | morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,ddpruitt/morelinq,fsateler/MoreLINQ | MoreLinq.Test/PreScanTest.cs | MoreLinq.Test/PreScanTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
6d0284e1c4e8cccf78fe9158620d6736f94fd86a | add missing UpdateId at BinanceStreamBookPrice (#479) | JKorf/Binance.Net | Binance.Net/Objects/Spot/MarketStream/BinanceStreamBookPrice.cs | Binance.Net/Objects/Spot/MarketStream/BinanceStreamBookPrice.cs | using System;
using Binance.Net.Interfaces;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Spot.MarketStream
{
/// <summary>
/// Futures book price
/// </summary>
public class BinanceStreamFuturesBookPrice: BinanceStreamBookPrice
{
/// <summary>
... | using System;
using Binance.Net.Interfaces;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Spot.MarketStream
{
/// <summary>
/// Futures book price
/// </summary>
public class BinanceStreamFuturesBookPrice: BinanceStreamBookPrice
{
/// <summary>
... | mit | C# |
528871a9122b988d6748bd4e7f62fb9de68cac24 | Add some more tests | whampson/bft-spec,whampson/cascara | Cascara.Tests/Src/BinaryLayoutTests.cs | Cascara.Tests/Src/BinaryLayoutTests.cs | using System;
using WHampson.Cascara;
using Xunit;
using Xunit.Abstractions;
namespace Cascara.Tests
{
public class BinaryLayoutTests
{
private const string TestLayoutName = "TestLayout";
private static string GetRootElementOpenTag()
{
return "<" + Keywords.DocumentRoot + "... | using WHampson.Cascara;
using Xunit;
namespace Cascara.Tests
{
public class BinaryLayoutTests
{
[Fact]
public void EmptyLayout()
{
// Arrange
string xmlData = "<cascaraLayout name='Foobar'></cascaraLayout>";
// Act/assert
var ex = Assert.... | mit | C# |
2bcd07d1a223e4f02eee2a95577a3bfcd3abf441 | Update AssemblyInfo.cs | NimaAra/EasyLogger,NimaAra/Easy.Logger | Easy.Logger/Properties/AssemblyInfo.cs | Easy.Logger/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Easy.Logger")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: InternalsVisibleTo("Easy.Logger.Tests.Unit")]
| using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("EasyLogger")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: InternalsVisibleTo("Easy.Logger.Tests.Unit")]
| mit | C# |
fe1981fc430baf21ae0dfffee5d787b5ffa27060 | Update CoRoutineAsyncUpdater.cs | bugbit/mathematical-drawings,bugbit/mathematical-drawings,bugbit/mathematical-drawings,bugbit/mathematical-drawings | MonoGame/Dibuixos/Dibuixos.Shared/Core/CoRoutineAsyncUpdater.cs | MonoGame/Dibuixos/Dibuixos.Shared/Core/CoRoutineAsyncUpdater.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
namespace Dibuixos.Core
{
public class CoRoutineAsyncUpdater : ICoRoutineAsyncUpdater
{
private Func<ICtrCoRoutineAsyncUpdater, Task> mUpdater;
private Task<Func<ICtr... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
namespace Dibuixos.Core
{
public class CoRoutineAsyncUpdater : ICoRoutineAsyncUpdater
{
private Func<ICtrCoRoutineAsyncUpdater, Task> mUpdater;
private Task<Func<ICtr... | apache-2.0 | C# |
f6be52c8dfbb0d1c5feb16f7357db74a29470d33 | Comment and attribute on the new Dictionary constructor. | ayo10/SaltarelleCompiler,erik-kallen/SaltarelleCompiler,ProdigySim/SaltarelleCompiler,marwijn/SaltarelleCompiler,chenxustu1/SaltarelleCompiler,jam40jeff/SaltarelleCompiler,kenneyw/SaltarelleCompiler,AstrorEnales/SaltarelleCompiler,n9/SaltarelleCompiler,x335/SaltarelleCompiler,enginekit/SaltarelleCompiler,n9/SaltarelleC... | Runtime/src/Libraries/CoreLib/Collections/Generic/Dictionary.cs | Runtime/src/Libraries/CoreLib/Collections/Generic/Dictionary.cs | using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace System.Collections.Generic {
[ScriptNamespace("ss")]
[Imported(IsRealType = true)]
public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue> {
/// <summary>
/// This constructor cannot be used, but is required to avoid probl... | using System.Runtime.CompilerServices;
namespace System.Collections.Generic {
[ScriptNamespace("ss")]
[Imported(IsRealType = true)]
public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue> {
[NonScriptable]
public Dictionary(int capacity) {}
[ScriptName("")]
public Dictionary() {}
[ScriptName(... | apache-2.0 | C# |
6918cf17ebff64cae6e1436bf889b0c8fbd190c1 | fix build? | chebizarro/gherkin3,cucumber/gherkin3,moreirap/gherkin3,cucumber/gherkin3,moreirap/gherkin3,araines/gherkin3,pjlsergeant/gherkin,araines/gherkin3,dg-ratiodata/gherkin3,thiblahute/gherkin3,dirkrombauts/gherkin3,curzona/gherkin3,hayd/gherkin3,vincent-psarga/gherkin3,hayd/gherkin3,vincent-psarga/gherkin3,concertman/gherki... | Gherkin.Specs/TestFileProvider.cs | Gherkin.Specs/TestFileProvider.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gherkin.Specs
{
public class TestFileProvider
{
public IEnumerable<string> GetValidTestFiles()
{
string testFileFolder = Path.... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Gherkin.Specs
{
public class TestFileProvider
{
public IEnumerable<string> GetValidTestFiles()
{
string testFileFolder = Path.... | mit | C# |
2c3218836f90f166c1eaca92c34b1327965fe336 | Refactor test to use separate type | appharbor/appharbor-cli | src/AppHarbor.Tests/TypeNameMatcherTest.cs | src/AppHarbor.Tests/TypeNameMatcherTest.cs | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo
{
}
class FooCommand : IFoo { }
class FooBarCommand : IFoo { }
private static Type FooCommandType = typeof(FooCommand);
private static T... | using System;
using System.Collections.Generic;
using Xunit;
using Xunit.Extensions;
namespace AppHarbor.Tests
{
public class TypeNameMatcherTest
{
interface IFoo
{
}
class FooCommand : IFoo { }
private static Type FooCommandType = typeof(FooCommand);
[Fact]
public void ShouldThrowIfInitializedWith... | mit | C# |
235f9e28b61253af6871c97012a819fe391e40f5 | Fix wrong motor index for vertical camer motor | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | DynamixelServo.Quadruped.WebInterface/VideoStreaming/CameraController.cs | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | using System.Numerics;
using DynamixelServo.Driver;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class CameraController : ICameraController
{
private readonly DynamixelDriver _driver;
private const byte HorizontalMotorIndex = 13;
private const byte VerticalMo... | apache-2.0 | C# |
bf6bf04f6c29591608a4d0ee2df0d9904a3899c3 | Stop header on first line in plots | kirillkos/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Helpers/MarkDownHelper.cs | Joinrpg/Helpers/MarkDownHelper.cs | using System;
using System.Linq;
using System.Web;
using CommonMark;
using JoinRpg.DataModel;
using Vereyon.Web;
namespace JoinRpg.Web.Helpers
{
public static class MarkDownHelper
{
private static readonly Lazy<HtmlSanitizer> SimpleHtml5SanitizerImpl = new Lazy<HtmlSanitizer>(InitHtml5Sanitizer);
private... | using System;
using System.Linq;
using System.Web;
using CommonMark;
using JoinRpg.DataModel;
using Vereyon.Web;
namespace JoinRpg.Web.Helpers
{
public static class MarkDownHelper
{
private static readonly Lazy<HtmlSanitizer> SimpleHtml5SanitizerImpl = new Lazy<HtmlSanitizer>(InitHtml5Sanitizer);
private... | mit | C# |
a8ddb269a027e46c222c10464a6b2f854d9f630f | use '/' for linux systems and bash command line | awaescher/RepoZ,awaescher/RepoZ | Grr/Messages/ChangeDirectoryMessage.cs | Grr/Messages/ChangeDirectoryMessage.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class ChangeDirectoryMessage : IMessage
{
private readonly string _repositoryFilter;
public ChangeDirectoryMessage(string repositoryFilter)
{
_reposi... | using System.Diagnostics;
using System.IO;
using System.Linq;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class ChangeDirectoryMessage : IMessage
{
private readonly string _repositoryFilter;
public ChangeDirectoryMessage(string repositoryFilter)
{
_reposi... | mit | C# |
913956226923716e7ae13d3c3dece37b5226f3ac | change reaction enum | eriawan/octokit.net,shiftkey-tester/octokit.net,M-Zuber/octokit.net,devkhan/octokit.net,gdziadkiewicz/octokit.net,ivandrofly/octokit.net,TattsGroup/octokit.net,Sarmad93/octokit.net,TattsGroup/octokit.net,rlugojr/octokit.net,adamralph/octokit.net,alfhenrik/octokit.net,SmithAndr/octokit.net,editor-tools/octokit.net,edito... | Octokit/Models/Response/CommitCommentReaction.cs | Octokit/Models/Response/CommitCommentReaction.cs | using Octokit.Internal;
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public enum Reaction
{
[Parameter(Value = "+1")]
Plus1,
[Parameter(Value = "-1")]
Minus1,
[Parameter(Value = "laugh")]
Laugh,
[Parameter(Value... | using Octokit.Internal;
using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
public enum Reaction
{
[Parameter(Value = "+1")]
Plus1 = 0,
[Parameter(Value = "-1")]
Minus1 = 1,
[Parameter(Value = "laugh")]
Laugh = 2,
[Par... | mit | C# |
cafb16f9ebc466a203c4984131a0259c553cade4 | Update CustomResolver | tainicom/Aether | Source/Core/Serialization/DefaultTypeResolver.cs | Source/Core/Serialization/DefaultTypeResolver.cs | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | #region License
// Copyright 2015 Kastellanos Nikolaos
//
// 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 requi... | apache-2.0 | C# |
1181c16bfca4f25cb6638f8e18cbb1f90bcd921d | Change the design in Details for each article | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Article/Details.cshtml | SpaceBlog/SpaceBlog/Views/Article/Details.cshtml | @model SpaceBlog.Models.Article
@{
ViewBag.Title = "Details";
}
<div class="container">
<h1>@ViewBag.Title</h1>
<!-- Page Header -->
<header>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
... | @model SpaceBlog.Models.Article
@{
ViewBag.Title = "Details";
}
<div class="container">
<h2>@ViewBag.Title</h2>
<div>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Title)
</dt>
<dd>
@Html.Di... | mit | C# |
d5682e9e75ad012d557946c620cee5ce34741f34 | allow it to load on windows | benoitjadinon/vernacular,gabornemeth/vernacular,rdio/vernacular,StephaneDelcroix/vernacular,mightea/vernacular,benoitjadinon/vernacular,dsuess/vernacular,rdio/vernacular,gabornemeth/vernacular,dsuess/vernacular,mightea/vernacular,StephaneDelcroix/vernacular | Vernacular.Tool/Vernacular.Analyzers/Hunspell.cs | Vernacular.Tool/Vernacular.Analyzers/Hunspell.cs | //
// Hunspell.cs
//
// Author:
// Aaron Bockover <abock@rd.io>
//
// Copyright 2012 Rdio, 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 wit... | //
// Hunspell.cs
//
// Author:
// Aaron Bockover <abock@rd.io>
//
// Copyright 2012 Rdio, 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 wit... | mit | C# |
e2021f9b731f47d3f94b7493d858efd0a8ab3b62 | Add default setting it's missing. | grae22/TeamTracker | TeamTracker/SettingsLogin.aspx.cs | TeamTracker/SettingsLogin.aspx.cs | using System;
using System.Data.SqlClient;
using TeamTracker;
public partial class SettingsLogin : System.Web.UI.Page
{
//---------------------------------------------------------------------------
public static readonly string SES_SETTINGS_LOGGED_IN = "SesSettingsLoggedIn";
protected string DbConnectionStrin... | using System;
using System.Data.SqlClient;
using TeamTracker;
public partial class SettingsLogin : System.Web.UI.Page
{
//---------------------------------------------------------------------------
public static readonly string SES_SETTINGS_LOGGED_IN = "SesSettingsLoggedIn";
protected string DbConnectionStrin... | mit | C# |
565913cbc27be9bb70576b5b7d111727af5592fd | Update form | shengoo/umb,shengoo/umb | Site/Views/Partials/ContactForm.cshtml | Site/Views/Partials/ContactForm.cshtml | @inherits Umbraco.Web.Mvc.UmbracoViewPage<Koiak.StandardWebsite.ContactFormModel>
@{
Layout = null;
}
@using (Html.BeginUmbracoForm("SendEmail", "ContactFormSurface", new { }, new { @class = "form-horizontal" }))
{
<div class="form-group">
<label class="col-sm-2 control-label">@library.GetDict... | @inherits Umbraco.Web.Mvc.UmbracoViewPage<Koiak.StandardWebsite.ContactFormModel>
@{
Layout = null;
}
@using (Html.BeginUmbracoForm("SendEmail", "ContactFormSurface", new {}, new {@class = "form-horizontal"}))
{
<div class="form-group">
@Html.LabelFor(x => Model.Name, new {@class = "col-sm-2 c... | mit | C# |
a79ce896fee09ac887e1a755642f62398830c2eb | Remove AllowsTransparency | shannan1989/ShannanWPF | StrawMan/Classes/SNDialog.cs | StrawMan/Classes/SNDialog.cs | using System.Windows;
namespace Shannan.StrawMan
{
public class SNDialog : Window
{
public SNDialog()
{
ShowInTaskbar = false;
PreviewMouseDoubleClick += (sender, e) =>
{
e.Handled = true;
};
}
}
}
| using System.Windows;
namespace Shannan.StrawMan
{
public class SNDialog : Window
{
public SNDialog()
{
ShowInTaskbar = false;
AllowsTransparency = true;
PreviewMouseDoubleClick += (sender, e) =>
{
e.Handled = true;
}... | apache-2.0 | C# |
f9db8c411ad0d85613a6fae875ed4e097ada261e | Simplify JoystickAxisInput constructor and add guard clause | peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework/Input/StateChanges/JoystickAxisInput.cs | osu.Framework/Input/StateChanges/JoystickAxisInput.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.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Input.StateChanges.Events;
us... | // 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.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Input.StateChanges.Events;
using osu.Framew... | mit | C# |
8b05592ab09e63432dd96ce5b9e6fdcc3b3837b6 | Fix build warning | sethreno/schemazen,sethreno/schemazen | Test/Helpers/ConfigHelper.cs | Test/Helpers/ConfigHelper.cs | using Newtonsoft.Json;
namespace SchemaZen.Tests;
public static class ConfigHelper {
private static readonly IDictionary<string, string> config;
static ConfigHelper() {
var settingsString = File.ReadAllText("appsettings.json");
config = JsonConvert.DeserializeObject<IDictionary<string, string>>(settingsString... | using Newtonsoft.Json;
namespace SchemaZen.Tests;
public static class ConfigHelper {
private static readonly IDictionary<string, string> config;
static ConfigHelper() {
var settingsString = File.ReadAllText("appsettings.json");
config = JsonConvert.DeserializeObject<IDictionary<string, string>>(settingsString... | mit | C# |
99340c79acdeb643ec746c4b9d0a81f9d74e96da | Set error type depending on severity (squiggle color) | jwldnr/VisualLinter | VisualLinter/Tagging/LinterTag.cs | VisualLinter/Tagging/LinterTag.cs | using jwldnr.VisualLinter.Linting;
using Microsoft.VisualStudio.Text.Adornments;
using Microsoft.VisualStudio.Text.Tagging;
namespace jwldnr.VisualLinter.Tagging
{
internal class LinterTag : IErrorTag
{
public string ErrorType { get; }
public object ToolTipContent { get; }
internal L... | using jwldnr.VisualLinter.Linting;
using Microsoft.VisualStudio.Text.Adornments;
using Microsoft.VisualStudio.Text.Tagging;
namespace jwldnr.VisualLinter.Tagging
{
internal class LinterTag : IErrorTag
{
public string ErrorType { get; }
public object ToolTipContent { get; }
internal L... | mit | C# |
5d889c44315b25d41064ceecb2a4b94126c5e9ff | Apply window placement second time to override possible WM_DPICHANGED reaction | LordJZ/WindowPositions | WindowPositions/WindowPosition.cs | WindowPositions/WindowPosition.cs | using LordJZ.WinAPI;
namespace WindowPositions
{
public class WindowPosition
{
public string Title { get; set; }
public string ClassName { get; set; }
public WindowPlacement Placement { get; set; }
public bool Matches(WindowDTO dto)
{
if (this.Title != nu... | using LordJZ.WinAPI;
namespace WindowPositions
{
public class WindowPosition
{
public string Title { get; set; }
public string ClassName { get; set; }
public WindowPlacement Placement { get; set; }
public bool Matches(WindowDTO dto)
{
if (this.Title != nu... | mit | C# |
3662e0d95db1ff9a34737875ed9fb8e2cd16ad3d | Bump version to 2.2.2 | dreamer2908/YAXBPC,dreamer2908/YAXBPC | YAXBPC/Properties/AssemblyInfo.cs | YAXBPC/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: AssemblyTi... | 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: AssemblyTi... | apache-2.0 | C# |
da7adbe415c13591df95d599de016a2da83e5b57 | Make custom swagger attributes also work with parameter info | JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm,JustArchi/ArchiSteamFarm | ArchiSteamFarm/IPC/Integration/CustomAttributesSchemaFilter.cs | ArchiSteamFarm/IPC/Integration/CustomAttributesSchemaFilter.cs | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | // _ _ _ ____ _ _____
// / \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
// / _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
// / ___ \ | | | (__ | | | || | ___) || |_| __/| ... | apache-2.0 | C# |
b9581c5bf570112cd98f8f88e2767bd89cb2d574 | Fix region name and comments | rfgamaral/SlackUI | SlackUI/Handlers/BrowserMenuHandler.cs | SlackUI/Handlers/BrowserMenuHandler.cs | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserMenuHandler : IMenuHandler {
#region Public Methods
/*
* Handler ... | #region Copyright © 2014 Ricardo Amaral
/*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
*/
#endregion
using CefSharp;
namespace SlackUI {
internal class BrowserMenuHandler : IMenuHandler {
#region Internal Methods
/*
* Handle... | mit | C# |
9a5aa6f549dbe06a621cff4fa80b50530ddfc22f | Update Tests.cs | medarchon/CodingChallenge | CodingChallenge.FamilyTree.Tests/Tests.cs | CodingChallenge.FamilyTree.Tests/Tests.cs | using Given.Common;
using Xunit;
namespace CodingChallenge.FamilyTree.Tests
{
public class TreeTests
{
[Fact]
public void if_the_person_exists_in_tree_the_result_should_be_january()
{
var tree = FamilyTreeGenerator.Make();
var result = new Solution... | using Given.Common;
using Xunit;
namespace CodingChallenge.FamilyTree.Tests
{
public class TreeTests
{
[Theory]
public void if_the_person_exists_in_tree_the_result_should_be_january()
{
var tree = FamilyTreeGenerator.Make();
var result = new Soluti... | mit | C# |
90b08b7b8dae97796adac77956db095720b9544a | Change Assembly version to 1.0.1.18 | mdanshin/CompareFolders | CompareFolders/Properties/AssemblyInfo.cs | CompareFolders/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Co... | apache-2.0 | C# |
902ed9cbeb087a4c7483517e20eb53d71685c64b | Add closed property to tab | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
using System;
using System.Threading.Tasks;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDo... | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
using System;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDocumentTabViewModel(string titl... | mit | C# |
ef0efd236ebded8dd8eb6e24a966b259c6020203 | Apply HTTPS patch to TryNormalizeYoutubeUrl | PFCKrutonium/libvideo,i3arnon/libvideo,James-Ko/libvideo,nguyenkien/libvideo,PFCKrutonium/libvideo,AIBrain/libvideo,James-Ko/libvideo,jamesqo/libvideo,shads196770/libvideo,jamesqo/libvideo,nguyenkien/libvideo,AIBrain/libvideo,shads196770/libvideo | src/libvideo.compat/DownloadUrlResolver.cs | src/libvideo.compat/DownloadUrlResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VideoLibrary;
using VideoLibrary.Helpers;
namespace YoutubeExtractor
{
public static class DownloadUrlResolver
{
private static YouTubeService Service = new YouTubeService();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VideoLibrary;
using VideoLibrary.Helpers;
namespace YoutubeExtractor
{
public static class DownloadUrlResolver
{
private static YouTubeService Service = new YouTubeService();
... | bsd-2-clause | C# |
5447cd367f8fae8c226a4db7cc330c0bbda1068a | Add sample validation in dummy app | xMarkos/Swashbuckle,VirtoCommerce/Swashbuckle,martincostello/Swashbuckle,yonglehou/Swashbuckle,jruckert/Swashbuckle,bigtlb/Swashbuckle,gliljas/Swashbuckle,partychen/Swashbuckle,bdhess/Swashbuckle,kredinor/Swashbuckle,tareq-s/Swashbuckle,Cussa/Swashbuckle,replaysMike/Swashbuckle,VirtoCommerce/Swashbuckle,kredinor/Swashb... | Swashbuckle.Dummy.Core/Controllers/AnnotatedTypesController.cs | Swashbuckle.Dummy.Core/Controllers/AnnotatedTypesController.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Http;
using System.Net.Http;
using System.Net;
namespace Swashbuckle.Dummy.Controllers
{
public class AnnotatedTypesController : ApiController
{
public int Create(Payment payment)
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Http;
namespace Swashbuckle.Dummy.Controllers
{
public class AnnotatedTypesController : ApiController
{
public int Create(Payment payment)
{
throw new NotImplementedExcepti... | bsd-3-clause | C# |
0128b5b6deeb2eb7e48bab8b6cbee10e79eff0c9 | add IsSatisfied() method | isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp | models/SelfOrganizingPillProduction/Capability.cs | models/SelfOrganizingPillProduction/Capability.cs | using System.Linq;
namespace SelfOrganizingPillProduction
{
abstract class Capability
{
public abstract bool IsSatisfied(Capability[] availableCapabilities);
}
/// <summary>
/// Represents the loading of empty pill containers on the conveyor belt.
/// </summary>
class ProduceCapab... | namespace SelfOrganizingPillProduction
{
abstract class Capability
{
}
/// <summary>
/// Represents the loading of empty pill containers on the conveyor belt.
/// </summary>
class ProduceCapability : Capability
{
private ProduceCapability() { }
public static readonly P... | mit | C# |
e40e566f1b546925175fa7f955de7752a44f9497 | add better version info for home page | MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | src/IdentityServer4/host/Views/Home/Index.cshtml | src/IdentityServer4/host/Views/Home/Index.cshtml | @using System.Reflection
@using System.Diagnostics
@{
var version = FileVersionInfo.GetVersionInfo(typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.Location).ProductVersion.Split('+').First();
}
<div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
... | @{
var version = typeof(IdentityServer4.Hosting.IdentityServerMiddleware).Assembly.GetName().Version.ToString();
}
<div class="welcome-page">
<div class="row page-header">
<div class="col-sm-10">
<h1>
<img class="icon" src="~/icon.jpg">
Welcome to IdentitySer... | apache-2.0 | C# |
bd0d6eb2f24c6683fae50be19dc0feb1b42c1c99 | Make it just 'sign in' instead of 'sign in / register' | JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,projectkudu/SiteExtensionGallery,ScottShingler/Nu... | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | src/NuGetGallery/Views/Shared/UserDisplay.cshtml | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)">Sign in</a>
<... | <div class="user-display">
@if (!User.Identity.IsAuthenticated)
{
string returnUrl = ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) ? (string)ViewData[Constants.ReturnUrlViewDataKey] : Request.RawUrl;
<span class="welcome">
<a href="@Url.LogOn(returnUrl)">Sign in / Register</a... | apache-2.0 | C# |
4eddfc295239ca9da09643a3a8e0606fbe4ed33c | Add bool AreFinesEnabled to Setting Entity. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Data/Entities/Setting.cs | src/Open-School-Library/Data/Entities/Setting.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Data.Entities
{
public class Setting
{
public int SettingID { get; set; }
public bool AreFinesEnabled { get; set; }... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Data.Entities
{
public class Setting
{
public int SettingID { get; set; }
[Column(TypeName = "Money")]
publ... | mit | C# |
af516e3ced6c07bf7c8b2f680105c2f1435f9775 | Update index.cshtml | reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website | input/docs/handbook/index.cshtml | input/docs/handbook/index.cshtml | Order: 15
---
| Order: 15
---
@Html.Partial("_ChildPages") | mit | C# |
ee8c75eac148f1a8b852146125c7525288f66882 | Fix for X-Forwarded-For | acastaner/acastaner.fr-mvc6,acastaner/acastaner.fr-mvc6 | src/acastaner_mvc6/Controllers/HomeController.cs | src/acastaner_mvc6/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
using System;
namespace acastaner.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Accueil";
ViewBag.Heading = "Bienvenue";
ViewBag.SubHeading = "Sur mon coin d'Internet";
ViewBag.HeaderImage = "welcome-bg.jpg";
... | using Microsoft.AspNetCore.Mvc;
namespace acastaner.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Accueil";
ViewBag.Heading = "Bienvenue";
ViewBag.SubHeading = "Sur mon coin d'Internet";
ViewBag.HeaderImage = "welcome-bg.jpg";
return View(... | mit | C# |
70308b7ea081b32805ddae6d4485d31f02b3bc2c | Bump assemby versions for a major release | maxmind/GeoIP2-dotnet | MaxMind.GeoIP2/Properties/AssemblyInfo.cs | MaxMind.GeoIP2/Properties/AssemblyInfo.cs | #region
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an asse... | #region
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#endregion
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an asse... | apache-2.0 | C# |
1a9d38f3b2b993710511b4c5d837921c66381217 | Update SystemLaunch.cs | Kingloo/GB-Live | src/Common/SystemLaunch.cs | src/Common/SystemLaunch.cs | using System;
using System.Diagnostics;
using System.IO;
namespace GBLive.Common
{
public static class SystemLaunch
{
public static bool Path(string path)
{
if (String.IsNullOrWhiteSpace(path))
{
throw new ArgumentNullException(nameof(path));
}
return File.Exists(path) && Launch(path);
}
p... | using System;
using System.Diagnostics;
using System.IO;
namespace GBLive.Common
{
public static class SystemLaunch
{
public static bool Path(string path)
{
return File.Exists(path) ? Launch(path) : false;
}
public static bool Uri(Uri uri)
{
return uri.IsAbsoluteUri ? Launch(uri.AbsoluteUri) : fals... | unlicense | C# |
96d689c1fc14d7ee0b687165e82b43a1ccba04cd | Update DeviceModel.cs | ADAPT/ADAPT | source/ADAPT/Equipment/DeviceModel.cs | source/ADAPT/Equipment/DeviceModel.cs | /*******************************************************************************
* Copyright (C) 2016 AgGateway and ADAPT Contributors
* Copyright (C) 2016 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
*... | /*******************************************************************************
* Copyright (C) 2016 AgGateway and ADAPT Contributors
* Copyright (C) 2016 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
*... | epl-1.0 | C# |
ce5039794451cc6c828d1fae595cc7751d86ada1 | Fix projection aggregator | NRules/NRules,prashanthr/NRules | src/NRules/NRules.RuleModel/Aggregators/ProjectionAggregator.cs | src/NRules/NRules.RuleModel/Aggregators/ProjectionAggregator.cs | using System;
using System.Collections.Generic;
namespace NRules.RuleModel.Aggregators
{
/// <summary>
/// Aggregator that projects matching facts into new elements.
/// </summary>
/// <typeparam name="TSource">Type of source element.</typeparam>
/// <typeparam name="TResult">Type of result element... | using System;
using System.Collections.Generic;
namespace NRules.RuleModel.Aggregators
{
/// <summary>
/// Aggregator that projects matching facts into new elements.
/// </summary>
/// <typeparam name="TSource">Type of source element.</typeparam>
/// <typeparam name="TResult">Type of result element... | mit | C# |
bf22f1adcb4c5ccec40d389189a593a842481ba2 | Fix for "PSInvalidOperationException: Nested pipeline should run only from a running pipeline." when using PowerShell v3 | rafd123/PowerBridge | src/PowerBridge/Internal/IPowerShellCommandParameterProvider.cs | src/PowerBridge/Internal/IPowerShellCommandParameterProvider.cs | using System;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace PowerBridge.Internal
{
internal interface IPowerShellCommandParameterProvider
{
string[] GetDefaultParameterSetParameterNames(string command);
}
internal cl... | using System;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace PowerBridge.Internal
{
internal interface IPowerShellCommandParameterProvider
{
string[] GetDefaultParameterSetParameterNames(string command);
}
internal cl... | mit | C# |
3d3dcfe55ebd3cdbd695111fdb35960af47bd037 | fix culture-specific test | deftom/fitsharp,kimgr/fitsharp,kimgr/fitsharp,deftom/fitsharp,deftom/fitsharp,kimgr/fitsharp | source/fitSharpTest/NUnit/Fit/ParseSymbolTest.cs | source/fitSharpTest/NUnit/Fit/ParseSymbolTest.cs | // Copyright © 2012 Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion,... | // Copyright © 2012 Syterra Software Inc. All rights reserved.
// The use and distribution terms for this software are covered by the Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
// which can be found in the file license.txt at the root of this distribution. By using this software in any fashion,... | epl-1.0 | C# |
be534a6f251a62a2f19c9af623765387d3bf8272 | Fix CA2101 | kefir0/LanderNet | csharp/TpsGraphNet/NativeMethods.cs | csharp/TpsGraphNet/NativeMethods.cs | using System;
using System.Runtime.InteropServices;
namespace TpsGraphNet
{
public static class NativeMethods
{
#region public static methods
[DllImport("kernel32", EntryPoint = "CreateFileMapping", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern IntPtr CreateFil... | using System;
using System.Runtime.InteropServices;
namespace TpsGraphNet
{
public static class NativeMethods
{
#region public static methods
[DllImport("kernel32", EntryPoint = "CreateFileMapping", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr CreateFileMa... | mit | C# |
307073abff7736b903206bc9b7cc50966f79eb27 | Remove unneeded null check | StevenLiekens/Txt,StevenLiekens/TextFx | src/Txt.Core/ProxyLexer.cs | src/Txt.Core/ProxyLexer.cs | using System;
using JetBrains.Annotations;
namespace Txt.Core
{
public sealed class ProxyLexer<TElement> : Lexer<TElement>
where TElement : Element
{
private ILexer<TElement> innerLexer;
public void Initialize([NotNull] ILexer<TElement> lexer)
{
if (lexer == null)
... | using System;
using JetBrains.Annotations;
namespace Txt.Core
{
public sealed class ProxyLexer<TElement> : Lexer<TElement>
where TElement : Element
{
private ILexer<TElement> innerLexer;
public void Initialize([NotNull] ILexer<TElement> lexer)
{
if (lexer == null)
... | mit | C# |
8e20e641f440d4a2dff2c49b60816b0021a1cd55 | move spun out to automation | peppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.cs | osu.Game.Rulesets.Osu/Mods/OsuModSpunOut.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 osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | // 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 osu.Framework.Graphics.Sprites;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Obje... | mit | C# |
8e64d69e8316d09fe7e7c9fc88f2255b7e5acbbd | Fix control catalog crash | AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia | samples/ControlCatalog/Pages/PointersPage.xaml.cs | samples/ControlCatalog/Pages/PointersPage.xaml.cs | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
namespace ControlCatalog.Pages;
public class PointersPage : UserControl
{
public PointersPage()
{
this.InitializeComponent();
var border1 = this.Get<Border>("... | using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
namespace ControlCatalog.Pages;
public class PointersPage : UserControl
{
public PointersPage()
{
this.InitializeComponent();
var border1 = this.Get<Border>("... | mit | C# |
b918826a6cee666801b10a5e1b0f6e16c032a3a5 | remove userId parameter from GetCampaignsByUserId from functional test | productinfo/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/... | test/Services/FunctionalTests/Services/Marketing/CampaignScenariosBase.cs | test/Services/FunctionalTests/Services/Marketing/CampaignScenariosBase.cs | namespace FunctionalTests.Services.Marketing
{
using System;
public class CampaignScenariosBase : MarketingScenariosBase
{
public static class Get
{
public static string Campaigns = CampaignsUrlBase;
public static string CampaignBy(int id)
=> $"{Cam... | namespace FunctionalTests.Services.Marketing
{
using System;
public class CampaignScenariosBase : MarketingScenariosBase
{
public static class Get
{
public static string Campaigns = CampaignsUrlBase;
public static string CampaignBy(int id)
=> $"{Cam... | mit | C# |
7ce98b06e676a2da99f1cb8d7a09ebd6c1922a3d | Make field readonly | ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework.Benchmarks/BenchmarkBindableList.cs | osu.Framework.Benchmarks/BenchmarkBindableList.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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkBindableList
{
... | // 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 BenchmarkDotNet.Attributes;
using osu.Framework.Bindables;
namespace osu.Framework.Benchmarks
{
[MemoryDiagnoser]
public class BenchmarkBindableList
{
... | mit | C# |
8cfe589552a2609f16a0bd95b70f425d99d08244 | Create the font directory if it doesn't exist. | pjmagee/swtor-caster | src/SwtorCaster/Core/Services/Settings/FontService.cs | src/SwtorCaster/Core/Services/Settings/FontService.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Media;
using SwtorCaster.Core.Extensions;
namespace SwtorCaster.Core.Services.Settings
{
public class FontService : IFontService
{
private static readonly string SwtorCaster = Path.Combine(Environm... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows.Media;
using SwtorCaster.Core.Extensions;
namespace SwtorCaster.Core.Services.Settings
{
public class FontService : IFontService
{
private static readonly string SwtorCaster = Path.Combine(Environm... | mit | C# |
00a91cd1eb651a048c03b39925f26a28d3b90053 | Fix UnitOfWorkRegistrar interception logic | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,luchaoshuai/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate | src/Abp/Domain/Uow/UnitOfWorkRegistrar.cs | src/Abp/Domain/Uow/UnitOfWorkRegistrar.cs | using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
namespace Abp.Domain.Uow
{
/// <summary>
/// This class is used to register interceptor for needed classes for Unit Of Work mechanism.
/// </summary>
internal static class UnitOfWorkRegistrar
{
/// <summary... | using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
using Castle.MicroKernel;
namespace Abp.Domain.Uow
{
/// <summary>
/// This class is used to register interceptor for needed classes for Unit Of Work mechanism.
/// </summary>
internal static class UnitOfWorkRegistrar
... | mit | C# |
7d93cbdb008c94f713feeafde0297d0afd565d2a | fix csharp test | persimmon-projects/Persimmon.Dried,persimmon-projects/Persimmon.Dried | tests/Persimmon.Dried.CSharp.Tests/CSharpTest.cs | tests/Persimmon.Dried.CSharp.Tests/CSharpTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Persimmon;
using Persimmon.Dried;
namespace Persimmon.Dried.CSharp.Tests
{
public static class CSharpTest
{
public static TestCase<Unit> syntaxCheck()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Persimmon;
using Persimmon.Dried;
namespace Persimmon.Dried.CSharp.Tests
{
public class CSharpTest
{
public TestCase<Unit> syntaxCheck()
{
return ... | mit | C# |
911507291788745f1fc90f4824455b2698408186 | Fix flaky tests not running at all with environment variable set | ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game/Tests/FlakyTestAttribute.cs | osu.Game/Tests/FlakyTestAttribute.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 NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retry count unless env... | // 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 NUnit.Framework;
namespace osu.Game.Tests
{
/// <summary>
/// An attribute to mark any flaky tests.
/// Will add a retry count unless env... | mit | C# |
ed57c7c961f2975adff85b27006c08a253f9dba8 | Update ITest.cs | ilgazdotcom/Arches | ArchesFramework/Arches.BusinessLogic/Abstract/ITest.cs | ArchesFramework/Arches.BusinessLogic/Abstract/ITest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arches.Models;
namespace Arches.BusinessLogic.Abstract
{
public interface ITest
{
Test Find(Test test);
List<Test> FindAll();
void Insert(Test test);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arches.Models;
namespace Arches.BusinessLogic.Abstract
{
public interface ITest
{
Test Find(Test test);
List<Test> FindAll();
void Insert(Test test);
... | mpl-2.0 | C# |
29c4ae68d91e8bb06f6197eb7da2ee24dc2725bb | Add some content to test scene for better visual representation | smoogipoo/osu,johnneijzen/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game.Tests/Visual/Online/TestSceneRankingsCountryFilter.cs | osu.Game.Tests/Visual/Online/TestSceneRankingsCountryFilter.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 osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Rankings;
using osu.Game.... | // 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 osu.Framework.Bindables;
using osu.Game.Overlays.Rankings;
using osu.Game.Users;
namespace osu.Game.Tests.Visual.O... | mit | C# |
cb73ae3ca8fc830505a15f6cd83959fb5efe377e | add svc client [#136060481] | revaturelabs/revashare-svc-webapi | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | revashare-svc-webapi/revashare-svc-webapi.Logic/DriverLogic.cs | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
namespace revashare_svc_webapi.Logic {
public class Dr... | using revashare_svc_webapi.Logic.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using revashare_svc_webapi.Logic.Models;
using revashare_svc_webapi.Logic.RevaShareServiceReference;
namespace revashare_svc_webapi.Logic {
public class Dr... | mit | C# |
7faea5e9c66022907a1a0f6c370efabb5c923c61 | Fix ComboBox text behavior | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/VsChromium/Wpf/StringListViewModel.cs | src/VsChromium/Wpf/StringListViewModel.cs | // Copyright 2013 The Chromium 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.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace VsChromium.Wpf {
public class ... | // Copyright 2013 The Chromium 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.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
namespace VsChromium.Wpf {
public class ... | bsd-3-clause | C# |
08bebad3594adf4f19557a1b9f3d5c4108d704b0 | update obsolete mapping | ajepst/XlsToEf,ajepst/XlsToEf,ajepst/XlsToEf | src/XlsToEfCore.Tests/Infrastructure/ProductCategoryMapping.cs | src/XlsToEfCore.Tests/Infrastructure/ProductCategoryMapping.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using XlsToEfCore.Tests.Models;
namespace XlsToEfCore.Tests.Infrastructure
{
public class ProductCategoryMapping : IEntityTypeConfiguration<ProductCategory>
{
public void Configure(EntityTypeBuilder<ProductCateg... | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using XlsToEfCore.Tests.Models;
namespace XlsToEfCore.Tests.Infrastructure
{
public class ProductCategoryMapping : IEntityTypeConfiguration<ProductCategory>
{
public void Configure(EntityTypeBuilder<ProductCateg... | mit | C# |
1579b5c564c6336c855ce332f4f3ba2b24c89487 | Update higher | TylerCarlson1/Automapper.Collection,AutoMapper/AutoMapper.Collection | src/AutoMapper.Collection/AutoMapper.Collection/Properties/AssemblyInfo.cs | src/AutoMapper.Collection/AutoMapper.Collection/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("Au... | 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("Au... | mit | C# |
4f7a73c78284faa865ee594ece67e100e5272cc4 | Check for Nullability of HttpContext while getting Client IP | Lombiq/Orchard,sfmskywalker/Orchard,vairam-svs/Orchard,xkproject/Orchard,johnnyqian/Orchard,bedegaming-aleksej/Orchard,jchenga/Orchard,RoyalVeterinaryCollege/Orchard,tobydodds/folklife,gcsuk/Orchard,Codinlab/Orchard,RoyalVeterinaryCollege/Orchard,Codinlab/Orchard,phillipsj/Orchard,AdvantageCS/Orchard,jersiovic/Orchard,... | src/Orchard/Services/ClientHostAddressAccessor.cs | src/Orchard/Services/ClientHostAddressAccessor.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Orchard.Services {
/// <summary>
/// Provides access to the client host address.
/// </summary>
public class ClientHostAddressAccessor : IClientHostAddressAccessor {
private readonly IWorkContextAccessor _wca;
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Orchard.Services {
/// <summary>
/// Provides access to the client host address.
/// </summary>
public class ClientHostAddressAccessor : IClientHostAddressAccessor {
private readonly IWorkContextAccessor _wca;
... | bsd-3-clause | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.