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 |
|---|---|---|---|---|---|---|---|---|
3df3086c2794c7b8829a0c9a662ca3e6a3c215c9 | Add TilePOI to list of tile names | fistak/MaterialColor | MaterialColor.Core/State.cs | MaterialColor.Core/State.cs | using MaterialColor.Common.Data;
using System.Collections.Generic;
using UnityEngine;
namespace MaterialColor.Core
{
public static class State
{
public static Dictionary<string, Color32> TypeColorOffsets = new Dictionary<string, Color32>();
public static Dictionary<SimHashes, ElementColorInfo>... | using MaterialColor.Common.Data;
using System.Collections.Generic;
using UnityEngine;
namespace MaterialColor.Core
{
public static class State
{
public static Dictionary<string, Color32> TypeColorOffsets = new Dictionary<string, Color32>();
public static Dictionary<SimHashes, ElementColorInfo>... | mit | C# |
edb97837fd8908405307e60b9d37b748693a217f | Remove connection warmup | samcook/RedLock.net | RedLock/RedisLockFactory.cs | RedLock/RedisLockFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using RedLock.Logging;
using StackExchange.Redis;
namespace RedLock
{
public class RedisLockFactory : IDisposable
{
private readonly IList<ConnectionMultiplexer> redisCaches;
private readonly IRedLockLogger logger;
public Red... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using RedLock.Logging;
using StackExchange.Redis;
namespace RedLock
{
public class RedisLockFactory : IDisposable
{
private readonly IList<ConnectionMultiplexer> redisCaches;
private readonly IRedLockLogger logger;
public Red... | mit | C# |
874a2ec7688979fadfe95662b8953610b3831399 | update to event role dto | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/EventRoleLnkDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/EventRoleLnkDto.cs | using System;
using System.Runtime.Serialization;
using PS.Mothership.Core.Common.Dto.Roles;
namespace PS.Mothership.Core.Common.Dto.Event
{
[DataContract]
public class EventRoleLnkDto
{
[DataMember]
public Guid EventRoleGuid { get; set; }
[DataMember]
public Gu... | using System;
using System.Runtime.Serialization;
using PS.Mothership.Core.Common.Dto.Roles;
namespace PS.Mothership.Core.Common.Dto.Event
{
[DataContract]
public class EventRoleLnkDto
{
[DataMember]
public Guid EventRoleGuid { get; set; }
[DataMember]
public Gu... | mit | C# |
826db370458641e08f66de445f12a2eabfbbd1ca | Fix hair rendering offset for ranged weapons | ethanmoffat/EndlessClient | EndlessClient/Rendering/CharacterProperties/HairRenderLocationCalculator.cs | EndlessClient/Rendering/CharacterProperties/HairRenderLocationCalculator.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framework;
namespace EndlessClient.Rendering.CharacterPropert... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EOLib;
using EOLib.Domain.Character;
using EOLib.Domain.Extensions;
using Microsoft.Xna.Framework;
namespace EndlessClient.Rendering.CharacterPropert... | mit | C# |
78f4bff84f15b3bedb707e61398026626ae1720d | work on DateTimeTests | Teodor92/MoreDotNet,vladislav-karamfilov/MoreDotNet | Source/MoreDotNet.Test/Extensions/Common/RandomExtensions/NextDateTime.cs | Source/MoreDotNet.Test/Extensions/Common/RandomExtensions/NextDateTime.cs | namespace MoreDotNet.Tests.Extensions.Common.RandomExtensions
{
using System;
using System.Linq;
using MoreDotNet.Extensions.Common;
using Xunit;
public class NextDateTime
{
private const int Counter = 1000;
[Fact]
public void NextDateTime_ShouldThrow_ArgumentNullExce... | namespace MoreDotNet.Tests.Extensions.Common.RandomExtensions
{
using System;
using System.Linq;
using MoreDotNet.Extensions.Common;
using Xunit;
public class NextDateTime
{
[Fact]
public void NextDateTime_ShouldReturnDateTime()
{
var random = new Random()... | mit | C# |
4555695080831288193aecdb8330625152e5a8a1 | fix a build warning | MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps,MattFarm/BusinessPlatformApps | Source/Actions/Microsoft.Deployment.Actions.Custom/Facebook/ValidateFacebookPage.cs | Source/Actions/Microsoft.Deployment.Actions.Custom/Facebook/ValidateFacebookPage.cs | using System.ComponentModel.Composition;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Microsoft.Deployment.Common.ActionModel;
using Microsoft.Deployment.Common.Actions;
namespace Microsoft.Deployment.Actions.Custom.Facebook
{
[Export(typeof(IAction))]
public class ... | using System.ComponentModel.Composition;
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.Deployment.Common.ActionModel;
using Microsoft.Deployment.Common.Actions;
using Microsoft.Deployment.Common.Helpers;
using System.Net.Http;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
... | mit | C# |
0510d9267f00a87ab091c8a6286516ad94c5afe9 | add imageEmployee | MIS-Department/HR-Department,MIS-Department/HR-Department,MIS-Department/HR-Department | HR-Department.Models/Tables/Employee.cs | HR-Department.Models/Tables/Employee.cs | using System.ComponentModel.DataAnnotations;
using HR_Department.Models.Tables.Interfaces;
namespace HR_Department.Models.Tables
{
public class Employee : IEmployee
{
public int EmployeeId { get; set; }
[Required]
public string EmployeeNumber { get; set; }
[Required] ... | using System.ComponentModel.DataAnnotations;
using HR_Department.Models.Tables.Interfaces;
namespace HR_Department.Models.Tables
{
public class Employee : IEmployee
{
public int EmployeeId { get; set; }
[Required]
public string EmployeeNumber { get; set; }
[Required] ... | mit | C# |
5c7c42bae33f9f922bb3ed248450621dbe815154 | store inner image as weak reference to object | LayoutFarm/PixelFarm | a_mini/projects/PixelFarm/PixelFarm.DrawingCore/2_Abstract_DrawingElements/Image.cs | a_mini/projects/PixelFarm/PixelFarm.DrawingCore/2_Abstract_DrawingElements/Image.cs | //MIT, 2014-2017, WinterDev
using System;
namespace PixelFarm.Drawing
{
public abstract class Image : System.IDisposable
{
public abstract void Dispose();
public abstract int Width { get; }
public abstract int Height { get; }
public Size Size
{
get { retur... | //MIT, 2014-2017, WinterDev
namespace PixelFarm.Drawing
{
public abstract class Image : System.IDisposable
{
public abstract void Dispose();
public abstract int Width { get; }
public abstract int Height { get; }
public Size Size
{
get { return new Size(th... | bsd-2-clause | C# |
a3c71ee1d0d1d75e06643fff5dcedd531ea75f17 | 优化 CSS 样式支持 | zpzgone/Jumony,wukaixian/Jumony,zpzgone/Jumony,yonglehou/Jumony,yonglehou/Jumony,wukaixian/Jumony | Ivony.Html/Css/CssStyleSpecificationBase.cs | Ivony.Html/Css/CssStyleSpecificationBase.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Ivony.Html.Css
{
public abstract class CssStyleSpecificationBase
{
protected CssStyleSpecificationBase()
{
StyleShorthandRules = new CssStyleShorthandRuleCollection... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Ivony.Html.Css
{
public abstract class CssStyleSpecificationBase
{
public CssStyleProperty[] TransformProperties( CssStyleProperty[] properties )
{
}
}
p... | apache-2.0 | C# |
e6b85fcaeafa47e2eca48ca28b946c634b5a301d | Add capturing. | joshuadeleon/typingclassifier,joshuadeleon/typingclassifier,joshuadeleon/typingclassifier | ML.TypingClassifier/Views/Home/Index.cshtml | ML.TypingClassifier/Views/Home/Index.cshtml | @{
ViewBag.Title = "Typing Classifier";
}
@section scripts
{
<script type="text/javascript">
'use strict'
var now = getTimer();
$(function() {
var start
, trapper
, events = []
, capturing = false;
function resetTrapper() {
if(trapper) { wi... | @{
ViewBag.Title = "Typing Classifier";
}
@section scripts
{
<script type="text/javascript">
'use strict'
var timer = getTimer();
$(function() {
var capturing = false;
document.addEventListener('keydown', function(event) {
if(!capturing) {
capturing = true;
... | mit | C# |
e485728109869c1e3704056e1c2b9c98708c43d1 | Add keywords to make finding audio offset adjustments easier in settings | smoogipooo/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu | osu.Game/Overlays/Settings/Sections/Audio/OffsetSettings.cs | osu.Game/Overlays/Settings/Sections/Audio/OffsetSettings.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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Confi... | // 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.Localisation;
using osu.Game.Configuration;
using osu.Game.Graphics.UserInterface;
nam... | mit | C# |
83e2b6c198b74ba0eab08903fe4e99f37b6f5577 | Add more logic to the custom action. | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes | ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs | ConsoleApps/FunWithSpikes/Wix.CustomActions/CustomAction.cs | using System;
using Microsoft.Deployment.WindowsInstaller;
namespace Wix.CustomActions
{
using System.IO;
using System.Diagnostics;
public class CustomActions
{
[CustomAction]
public static ActionResult CloseIt(Session session)
{
try
{
... | using System;
using Microsoft.Deployment.WindowsInstaller;
namespace Wix.CustomActions
{
using System.IO;
public class CustomActions
{
[CustomAction]
public static ActionResult CloseIt(Session session)
{
try
{
const string fileFullPath = @"c... | mit | C# |
7342a222d437356ef8dc8f170bc6fc2e0f2219cf | Write release notes to a file instead | red-gate/Library,red-gate/Library | tools/ReleaseNotesGenerator/ReleaseNotesGenerator.csx | tools/ReleaseNotesGenerator/ReleaseNotesGenerator.csx | var octokit = Require<OctokitPack>();
var client = octokit.Create("Octopus.Library.ReleaseNotesGenerator");
var owner = Env.ScriptArgs[0];
var repo = Env.ScriptArgs[1];
var milestone = Env.ScriptArgs[2];
var state = Env.ScriptArgs[3] != null ? (ItemStateFilter)Enum.Parse(typeof(ItemStateFilter), Env.ScriptArgs[3]) : I... | var octokit = Require<OctokitPack>();
var client = octokit.Create("Octopus.Library.ReleaseNotesGenerator");
var owner = Env.ScriptArgs[0];
var repo = Env.ScriptArgs[1];
var milestone = Env.ScriptArgs[2];
var state = Env.ScriptArgs[3] != null ? (ItemStateFilter)Enum.Parse(typeof(ItemStateFilter), Env.ScriptArgs[3]) : I... | apache-2.0 | C# |
97c9254b7456b6034c9d2b3dadcf156fb3c62685 | Change logging output format | Marc3842h/Titan,Marc3842h/Titan,Marc3842h/Titan | Titan/Logging/LogCreator.cs | Titan/Logging/LogCreator.cs | using System;
using System.Diagnostics;
using System.IO;
using Serilog;
using Serilog.Core;
namespace Titan.Logging
{
public class LogCreator
{
public static DirectoryInfo LogDirectory = new DirectoryInfo(Environment.CurrentDirectory +
... | using System;
using System.Diagnostics;
using System.IO;
using Serilog;
using Serilog.Core;
namespace Titan.Logging
{
public class LogCreator
{
public static DirectoryInfo LogDirectory = new DirectoryInfo(Environment.CurrentDirectory +
... | mit | C# |
189e3d52e2eb7c79e05ddff59f8a3c66a8709114 | Fix executable path on .NET Core | kohsuke/winsw | src/Core/WinSWCore/Configuration/DefaultSettings.cs | src/Core/WinSWCore/Configuration/DefaultSettings.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml;
using WMI;
namespace winsw.Configuration
{
/// <summary>
/// Default WinSW settings
/// </summary>
public sealed class DefaultWinSWSettings : IWinSWConfiguration
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Xml;
using WMI;
namespace winsw.Configuration
{
/// <summary>
/// Default WinSW settings
/// </summary>
public sealed class DefaultWinSWSettings : IWinSWConfiguration
{
... | mit | C# |
f5ceb1bbe8cd105366670bb7df83fadc71c0e947 | Update _Error403.cshtml | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | @{
ViewBag.Title = "You do not have permission to access this page";
ViewBag.PageId = "error-403";
ViewBag.HideNavBar = true;
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="... | @{
ViewBag.Title = "Access denied - Error 403";
ViewBag.PageId = "error-403";
ViewBag.HideNavBar = true;
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="heading-xlarge">
... | mit | C# |
4dbb6236ead4437d88544e74697815a076bf266c | Update morphology_han-readings.cs | rosette-api/java,rosette-api/java,rosette-api/java | csharp/rosette_apiExamples/morphology_han-readings.cs | csharp/rosette_apiExamples/morphology_han-readings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using rosette_api;
namespace rosette_apiExamples
{
class morphology_han_readings
{
/// <summary>
/// Example code to call Rosette API to ge... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using rosette_api;
namespace rosette_apiExamples
{
class morphology_han_readings
{
/// <summary>
/// Example code to call Rosette API to ge... | apache-2.0 | C# |
273e346b4f78bb680f00729dd6e10b3609518b60 | Add CommandDispatcher#Dispatch | appharbor/appharbor-cli | src/AppHarbor/CommandDispatcher.cs | src/AppHarbor/CommandDispatcher.cs | using System;
using System.Collections.Generic;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IEnumerable<ICommand> _commands;
public CommandDispatcher(IEnumerable<ICommand> commands)
{
_commands = commands;
}
public void Dispatch(string[] args)
{
throw new NotImplement... | using System.Collections.Generic;
namespace AppHarbor
{
public class CommandDispatcher
{
private readonly IEnumerable<ICommand> _commands;
public CommandDispatcher(IEnumerable<ICommand> commands)
{
_commands = commands;
}
}
}
| mit | C# |
503330a6267d144cef09ff0624fe6ff1256fb9ef | Fix header behavior for the fixed length types | forcewake/FlatFile | src/FlatFile.FixedLength.Attributes/Infrastructure/FixedLayoutDescriptorProvider.cs | src/FlatFile.FixedLength.Attributes/Infrastructure/FixedLayoutDescriptorProvider.cs | namespace FlatFile.FixedLength.Attributes.Infrastructure
{
using System;
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Attributes.Extensions;
using FlatFile.Core.Attributes.Infrastructure;
using FlatFile.Core.Base;
public class FixedLayoutDescriptorProvider : ILayoutDescriptor... | namespace FlatFile.FixedLength.Attributes.Infrastructure
{
using System;
using System.Linq;
using FlatFile.Core;
using FlatFile.Core.Attributes.Extensions;
using FlatFile.Core.Attributes.Infrastructure;
using FlatFile.Core.Base;
public class FixedLayoutDescriptorProvider : ILayoutDescriptor... | mit | C# |
50f6278372c5ad2589c0efb099eb59026e79fc18 | Update PageView.axaml.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Views/PageView.axaml.cs | src/Core2D/Views/PageView.axaml.cs | using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace Core2D.Views
{
public class PageView : UserControl
{
public PageView()
{
InitializeComponent();
}
private void InitializeComponent()
{
AvaloniaXamlLoader.Load(this);
}
}
... | using Avalonia.Controls;
using Avalonia.Controls.PanAndZoom;
using Avalonia.Markup.Xaml;
namespace Core2D.Views
{
public class PageView : UserControl
{
private ScrollViewer _scrollViewer;
private ZoomBorder _zoomBorder;
private PresenterView _presenterViewData;
private Presente... | mit | C# |
b9da37aa64eaa92e884f449aa4a88d51ed9aa598 | revert thumbprint name change on needless file | takenet/lime-csharp | src/Lime.Transport.WebSocket/X509CertificateInfo.cs | src/Lime.Transport.WebSocket/X509CertificateInfo.cs | using System;
using System.Security.Cryptography.X509Certificates;
namespace Lime.Transport.WebSocket
{
/// <summary>
/// Provides information about a stored certificate.
/// </summary>
public sealed class X509CertificateInfo
{
/// <summary>
/// Initializes a new instance of the <s... | using System;
using System.Security.Cryptography.X509Certificates;
namespace Lime.Transport.WebSocket
{
/// <summary>
/// Provides information about a stored certificate.
/// </summary>
public sealed class X509CertificateInfo
{
/// <summary>
/// Initializes a new instance of the <s... | apache-2.0 | C# |
d6b45171cd13c7106b6e9a7ad6e1bde7995b69ad | Test Karen Demostration | camiloandresok/SubwayNFCT,camiloandresok/SubwayNFCT,camiloandresok/SubwayNFCT | SubWay/SubWay/Controllers/HomeController.cs | SubWay/SubWay/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SubWay.DAL;
namespace SubWay.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SubWay.DAL;
namespace SubWay.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult... | mit | C# |
2e1edaa2338675918b88a03a3112700ec243306f | Update CompositeAssemblyStringLocalizerTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | TIKSN.UnitTests.Shared/Localization/CompositeAssemblyStringLocalizerTests.cs | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using TIKSN.DependencyInjection.Tests;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public class Compo... | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging;
using TIKSN.DependencyInjection.Tests;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Localization.Tests
{
public class Compo... | mit | C# |
5f6d0d366eb243db6b567e0a21ec8ae36fd325a0 | Use Task.FromResult | dbolkensteyn/Nancy,grumpydev/Nancy,davidallyoung/Nancy,charleypeng/Nancy,blairconrad/Nancy,danbarua/Nancy,jchannon/Nancy,thecodejunkie/Nancy,jchannon/Nancy,felipeleusin/Nancy,thecodejunkie/Nancy,dbolkensteyn/Nancy,danbarua/Nancy,sadiqhirani/Nancy,felipeleusin/Nancy,JoeStead/Nancy,ccellar/Nancy,davidallyoung/Nancy,dbolk... | src/Nancy.Tests/Fakes/FakeRoute.cs | src/Nancy.Tests/Fakes/FakeRoute.cs | namespace Nancy.Tests.Fakes
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Nancy.Routing;
public class FakeRoute : Route
{
private static Func<dynamic, CancellationToken, Task<dynamic>>DefaultAction = (parameters, token) => null;
public... | namespace Nancy.Tests.Fakes
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Nancy.Routing;
public class FakeRoute : Route
{
private static Func<dynamic, CancellationToken, Task<dynamic>>DefaultAction = (parameters, token) => null;
public... | mit | C# |
240f5c07b9e729a415dbb5828b4ae8097f34b0de | fix doc | marihachi/CrystalResonanceForDesktop | src/Utility/SoundCloudExtractor.cs | src/Utility/SoundCloudExtractor.cs | using Codeplex.Data;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace CrystalResonanceDesktop.Utility
{
public class SoundCloudOggExtractor : OggExtractor
{
public SoundCloudOggExtractor() : base() { }
public SoundCloudOggExtractor(string ffmpegFilePath) : base(ffmpegFilePath) { }
... | using Codeplex.Data;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace CrystalResonanceDesktop.Utility
{
public class SoundCloudOggExtractor : OggExtractor
{
public SoundCloudOggExtractor() : base() { }
public SoundCloudOggExtractor(string ffmpegFilePath) : base(ffmpegFilePath) { }
... | mit | C# |
873bd1ff264357c45c4f4c72564ed58d6afa4fe1 | Update CurrencylayerDotComTests.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | TIKSN.Framework.IntegrationTests/Finance/ForeignExchange/CurrencylayerDotComTests.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.Tests.ForeignExchange
{
[Collectio... | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Cumulative;
using TIKSN.Framework.IntegrationTests;
using TIKSN.Globalization;
using TIKSN.Time;
using Xunit;
namespace TIKSN.Finance.Tests.ForeignExchange
{
[Collectio... | mit | C# |
14fba9cb346cc64a4119f1262374209692e8b1cf | Return {success = true} for Variant960Controller.StoreAnonymousIdentifier | Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training | src/ChessVariantsTraining/Controllers/Variant960Controller.cs | src/ChessVariantsTraining/Controllers/Variant960Controller.cs | using ChessVariantsTraining.DbRepositories;
using ChessVariantsTraining.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
namespace ChessVariantsTraining.Controllers
{
public class Variant960Controller : CVTController
{
IRandomProvider randomProvider;
public Variant96... | using ChessVariantsTraining.DbRepositories;
using ChessVariantsTraining.Services;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
namespace ChessVariantsTraining.Controllers
{
public class Variant960Controller : CVTController
{
IRandomProvider randomProvider;
public Variant96... | agpl-3.0 | C# |
c32d381d3234d14cd84ef30300b5383ca4844361 | Add DateTimeHelper.GetISO8601String() () | eleven41/Eleven41.Helpers | Eleven41.Helpers/DateTimeHelper.cs | Eleven41.Helpers/DateTimeHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Eleven41.Helpers
{
public static class DateTimeHelper
{
// Our base is the same as the standard unix file base
private static DateTime _base = new DateTime(1970, 1, 1);
public static DateTime FromUnixTime(int dt)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Eleven41.Helpers
{
public static class DateTimeHelper
{
// Our base is the same as the standard unix file base
private static DateTime _base = new DateTime(1970, 1, 1);
public static DateTime FromUnixTime(int dt)
... | mit | C# |
4ac8c43176a28851e0f494b35424696604c946a3 | Initialize android test library on contructor | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk | Assets/Adjust/Test/TestFactoryAndroid.cs | Assets/Adjust/Test/TestFactoryAndroid.cs | using UnityEngine;
namespace com.adjust.sdk.test
{
public class TestFactoryAndroid : ITestFactory
{
private string _baseUrl;
private AndroidJavaObject ajoTestLibrary;
private CommandListenerAndroid onCommandReceivedListener;
public TestFactoryAndroid(string baseUrl)
{
... | using UnityEngine;
namespace com.adjust.sdk.test
{
public class TestFactoryAndroid : ITestFactory
{
private string _baseUrl;
private AndroidJavaObject ajoTestLibrary;
private CommandListenerAndroid onCommandReceivedListener;
public TestFactoryAndroid(string baseUrl)
{
... | mit | C# |
af4d369f22a1fa4b7eea731f7e1d52d2966a7afd | Fix QuoteRepository expressions. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Extensions;
using Mitternacht.Services.Database.Models;
using System.Linq.Expressions;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class QuoteRepository : Repository<Quote>,... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Extensions;
using Mitternacht.Services.Database.Models;
using System.Linq.Expressions;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class QuoteRepository : Repository<Quote>,... | mit | C# |
d8a696c968f03ad900d9c0068016dc26ef1b7e4d | Adjust output directory in script | PluginsForXamarin/vibrate | CI/build.cake | CI/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Default").Does (() =>
{
const string sln = "./../Vibrate.sln";
const string cfg = "Release";
NuGetRestore (sln);
... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Default").Does (() =>
{
const string sln = "./../Vibrate.sln";
const string cfg = "Release";
NuGetRestore (sln);
... | mit | C# |
e137066dd41368553be7f3e1a0b863fe93ade783 | remove comment only | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/Program.cs | src/SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob/Program.cs | using System;
using SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob.DependencyResolution;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob
{
// To learn more about Microsoft Azure WebJobs SDK, please see https://go.microsoft.com/fwlink/?LinkID=320976
class Program
... | using System;
using SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob.DependencyResolution;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.Commitments.AddEpaToApprenticeships.WebJob
{
// To learn more about Microsoft Azure WebJobs SDK, please see https://go.microsoft.com/fwlink/?LinkID=320976
class Program
... | mit | C# |
5aaa7c35ab0b82122c21d01bd6afa8b9f87d87ee | Change version number. | ollyau/FSActiveFires | FSActiveFires/Properties/AssemblyInfo.cs | FSActiveFires/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# |
cea5f4d9374fafc6bc30304d897b4188bd6db637 | Add commission as Employee Pay Type | mattgwagner/CertiPay.Payroll.Common | CertiPay.Payroll.Common/EmployeePayType.cs | CertiPay.Payroll.Common/EmployeePayType.cs | using System.Collections.Generic;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Describes how an employee pay is calculated
/// </summary>
public enum EmployeePayType : byte
{
/// <summary>
/// Employee earns a set salary per period of time, i.e. $70,000 yearly
/// ... | using System.Collections.Generic;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Describes how an employee pay is calculated
/// </summary>
public enum EmployeePayType : byte
{
/// <summary>
/// Employee earns a set salary per period of time, i.e. $70,000 yearly
/// ... | mit | C# |
a99e814eff99b2d47433610831f60fdadc63b6eb | Remove Init SSO button | maestrano/demoapp-dotnet | MnoDemoApp/Views/Home/Index.cshtml | MnoDemoApp/Views/Home/Index.cshtml | @{ var session = System.Web.HttpContext.Current.Session; }
<div class="row">
<div class="span8 offset2">
@if (session["loggedIn"] != null)
{
<h4>
Hello
@session["firstName"]
@session["lastName"]
</h4>
<br ... | @{ var session = System.Web.HttpContext.Current.Session; }
<div class="row">
<div class="span8 offset2" style="text-align: center;">
@if (session["loggedIn"] != null)
{
<h4>
Hello
@session["firstName"]
@session["lastName"]
... | mit | C# |
df3a7c4df829e5bfdfa21c500998d232fef250df | add AcceptHeader for delete reactions method | TattsGroup/octokit.net,shiftkey-tester/octokit.net,ivandrofly/octokit.net,octokit/octokit.net,rlugojr/octokit.net,editor-tools/octokit.net,ivandrofly/octokit.net,Sarmad93/octokit.net,devkhan/octokit.net,shana/octokit.net,SmithAndr/octokit.net,devkhan/octokit.net,octokit/octokit.net,dampir/octokit.net,eriawan/octokit.ne... | Octokit/Clients/ReactionsClient.cs | Octokit/Clients/ReactionsClient.cs | using System;
using System.Threading.Tasks;
namespace Octokit
{
public class ReactionsClient : ApiClient, IReactionsClient
{
/// <summary>
/// Instantiates a new GitHub Reactions API client
/// </summary>
/// <param name="apiConnection">An API connection</param>
public ... | using System;
using System.Threading.Tasks;
namespace Octokit
{
public class ReactionsClient : ApiClient, IReactionsClient
{
/// <summary>
/// Instantiates a new GitHub Reactions API client
/// </summary>
/// <param name="apiConnection">An API connection</param>
public ... | mit | C# |
74bf8aae0a9094559fadf47cc3f15c294eb8f038 | Fix typo | celeron533/marukotoolbox | mp4box/Properties/AssemblyInfo.cs | mp4box/Properties/AssemblyInfo.cs | // ------------------------------------------------------------------
// Copyright (C) 2011-2017 Maruko Toolbox Project
//
// 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://... | // ------------------------------------------------------------------
// Copyright (C) 2011-2017 Maruko Toolbox Project
//
// 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://... | apache-2.0 | C# |
d04d580bc8fdecabbd9cf97613eb720fabffcde7 | change meggages in homecontroller | Hopur42/verkApp,Hopur42/verkApp | verkApp/Controllers/HomeController.cs | verkApp/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace verkApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace verkApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | mit | C# |
ff65c67f77b4e7ac2a63a292193a60d3beac371a | Remove code line commented | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf.Core/Data/ApplicationDbContext.cs | Gamedalf.Core/Data/ApplicationDbContext.cs | using Gamedalf.Core.Infrastructure;
using Gamedalf.Core.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace Gamedalf.Core.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>,... | using Gamedalf.Core.Infrastructure;
using Gamedalf.Core.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace Gamedalf.Core.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>,... | mit | C# |
cac2009341dda0a395518da0d110ba3aaac86586 | Update Program.cs | fredatgithub/uptime | Uptime/Program.cs | Uptime/Program.cs | using System;
using System.Globalization;
namespace Uptime
{
class Program
{
static void Main()
{
Action<string> display = Console.WriteLine;
display("UpTime.exe is a Freeware written by Freddy Juhel in 2013\n");
var ts = TimeSpan.FromMilliseconds(Environment.TickCount);
int nombreD... | /*
The MIT License(MIT)
Copyright(c) 2015 Freddy Juhel
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | apache-2.0 | C# |
6dca035a28187ab34bd4fea09a29222c33b786a1 | Use correct enumeration value | sevoku/xwt,mminns/xwt,steffenWi/xwt,residuum/xwt,iainx/xwt,hwthomas/xwt,directhex/xwt,TheBrainTech/xwt,akrisiun/xwt,lytico/xwt,mono/xwt,hamekoz/xwt,antmicro/xwt,mminns/xwt,cra0zy/xwt | Xwt/Xwt/Slider.cs | Xwt/Xwt/Slider.cs | //
// Slider.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2013 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | //
// Slider.cs
//
// Author:
// Jérémie Laval <jeremie.laval@xamarin.com>
//
// Copyright (c) 2013 Xamarin, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restricti... | mit | C# |
d4af9dc9f2563ab439bfbf88c797eddc562b8ed6 | increase version number to 0.2.1.1 | ChrisDeadman/KSPPartRemover | KSPPartRemover/Properties/AssemblyInfo.cs | KSPPartRemover/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("KSPPartRemover")]
[assembly: AssemblyDes... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("KSPPartRemover")]
[assembly: AssemblyDes... | mit | C# |
e441261a512a218a1b37bac8f62649f8e47ec1c7 | Update controller for request validation | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets | guides/request-validation-csharp/example-2/example-2.4.x.cs | guides/request-validation-csharp/example-2/example-2.4.x.cs | using System.Web.Mvc;
using Twilio.AspNet.Mvc;
using Twilio.TwiML;
using ValidateRequestExample.Filters;
namespace ValidateRequestExample.Controllers
{
public class IncomingController : TwilioController
{
[ValidateTwilioRequest]
public ActionResult Voice(string from)
{
var m... | using System.Web.Mvc;
using Twilio.TwiML;
using Twilio.TwiML.Mvc;
using ValidateRequestExample.Filters;
namespace ValidateRequestExample.Controllers
{
public class IncomingController : TwilioController
{
[ValidateTwilioRequest]
public ActionResult Voice(string from)
{
var re... | mit | C# |
be0a38cbe797df83f556ee3bf88a2668c94739e7 | Make Cancel consistent with Save appearance | tpkelly/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,stevenh... | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | VotingApplication/VotingApplication.Web/Views/Routes/ManageInvitees.cshtml | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Email to Invite</h4>
<input id="new-invitee" name="new-invitee" ng-model="inviteString" ng-change="emailUpdated()" ng-trim="false" />
<span class="glyphicon glyphic... | <div ng-app="GVA.Creation" ng-controller="ManageInviteesController">
<div class="centered">
<h2>Poll Invitees</h2>
<h4>Email to Invite</h4>
<input id="new-invitee" name="new-invitee" ng-model="inviteString" ng-change="emailUpdated()" ng-trim="false" />
<span class="glyphicon glyphic... | apache-2.0 | C# |
b4608c2e68fb1ea8704f164d281b92e9ed86b355 | Fix test for NotNullOrEmpty passing check. | devtyr/gullap | DevTyr.Gullap.Tests/With_Guard/For_NotNullOrEmpty/When_argument_is_not_null.cs | DevTyr.Gullap.Tests/With_Guard/For_NotNullOrEmpty/When_argument_is_not_null.cs | using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Guard.For_NotNullOrEmpty
{
[TestFixture]
public class When_argument_is_not_null_or_empty
{
[Test]
public void Should_pass ()
{
Guard.NotNullOrEmpty ("Test", null);
Assert.Pass ();
}
}
}
| using System;
using NUnit.Framework;
using DevTyr.Gullap;
namespace DevTyr.Gullap.Tests.With_Guard.For_NotNullOrEmpty
{
[TestFixture]
public class When_argument_is_not_null
{
[Test]
public void Should_pass ()
{
Guard.NotNullOrEmpty ("", null);
Assert.Pass ();
}
}
}
| mit | C# |
ec4dec32ba3b17a6f5b5e5b633d8eff0a2af03bd | Update AssemblyInfo | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.Azure.WebJob/Properties/AssemblyInfo.cs | Mindscape.Raygun4Net.Azure.WebJob/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("Mi... | 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("Mi... | mit | C# |
528d959c9113bffff69caac713e873658d30d758 | Remove EnableCors attribute from controller | mersocarlin/aspnet-core-docker-sample,mersocarlin/aspnet-core-docker-sample,mersocarlin/aspnet-core-docker-sample | BankService/BankService.Api/Controllers/AccountHolderController.cs | BankService/BankService.Api/Controllers/AccountHolderController.cs | using BankService.Domain.Contracts;
using BankService.Domain.Models;
using Microsoft.AspNet.Mvc;
using System.Collections.Generic;
namespace BankService.Api.Controllers
{
[Route("api/accountHolders")]
public class AccountHolderController : Controller
{
private readonly IAccountHolderRepository acc... | using BankService.Domain.Contracts;
using BankService.Domain.Models;
using Microsoft.AspNet.Cors;
using Microsoft.AspNet.Mvc;
using System.Collections.Generic;
namespace BankService.Api.Controllers
{
[EnableCors("MyPolicy")]
[Route("api/accountHolders")]
public class AccountHolderController : Controller
... | mit | C# |
84fe00f872a9a8ac6a1511001c441a600fba9ac7 | Fix it only theorectically working. | Pathoschild/StardewMods | ContentPatcher/Framework/Tokens/ValueProviders/ModValueProvider.cs | ContentPatcher/Framework/Tokens/ValueProviders/ModValueProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContentPatcher.Framework.Tokens.ValueProviders
{
internal class ModValueProvider : BaseValueProvider
{
/*********
** Fields
*********/
/// <summary>The f... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ContentPatcher.Framework.Tokens.ValueProviders
{
internal class ModValueProvider : BaseValueProvider
{
/*********
** Fields
*********/
/// <summary>The f... | mit | C# |
bb4a0049525c979c44af2a71e343212515aca3d8 | Hide UserId by Editing in KendoGrid PopUp | KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem,KristianMariyanov/VotingSystem | VotingSystem.Web/Areas/User/ViewModels/UserPollsViewModel.cs | VotingSystem.Web/Areas/User/ViewModels/UserPollsViewModel.cs | namespace VotingSystem.Web.Areas.User.ViewModels
{
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using VotingSystem.Models;
using VotingSystem.Web.Infrastructure.Mapping;
using AutoMapper;
public class UserPollsViewModel : IMapFrom<Poll>, IHaveCustomMap... | namespace VotingSystem.Web.Areas.User.ViewModels
{
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using VotingSystem.Models;
using VotingSystem.Web.Infrastructure.Mapping;
using AutoMapper;
public class UserPollsViewModel : IMapFrom<Poll>, IHaveCustomMap... | mit | C# |
f8c8004c138462d22ebae5b5d8aa8255ca7467c8 | Remove confusing comment | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | using NBitcoin.Secp256k1;
using System.Linq;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
... | using NBitcoin.Secp256k1;
using System.Linq;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
... | mit | C# |
a451c5d5896156fa11a526798b1648b07bf790d6 | Update GameController.cs | MoonMaster/FunnyGame | FunnyGame/src/GameController.cs | FunnyGame/src/GameController.cs | using System;
using System.Linq;
namespace FunnyGame
{
public class GameController : IGameController
{
public void Run()
{
ViewGame viewerGame = new ViewGame();
PersonController personController = new PersonController();
string gamerName;
string choiceGamer;
viewerGame.GetWelcomePage();
do
... | using System;
using System.Linq;
namespace FunnyGame
{
public class GameController : IGameController
{
public void Run()
{
ViewGame viewerGame = new ViewGame();
PersonController personController = new PersonController();
string gamerName;
string choiceGamer;
viewerGame.GetWelcomePage();
do
... | mit | C# |
25dae71f944ae10fae6b853becd37e49fe560471 | Define Organization struct | SICU-Stress-Measurement-System/frontend-cs | StressMeasurementSystem/Models/Patient.cs | StressMeasurementSystem/Models/Patient.cs | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | namespace StressMeasurementSystem.Models
{
public class Patient
{
#region Structs
struct Name
{
public string Prefix { get; set; }
public string First { get; set; }
public string Middle { get; set; }
public string Last { get; set; }
... | apache-2.0 | C# |
4b621602d88ddc90700ed9c0b7a7ae11501f9a12 | Update IHttpClientFactory.cs | tiksn/TIKSN-Framework | TIKSN.Core/Web/Rest/IHttpClientFactory.cs | TIKSN.Core/Web/Rest/IHttpClientFactory.cs | using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace TIKSN.Web.Rest
{
public interface IHttpClientFactory
{
Task<HttpClient> Create(Guid apiKey);
}
}
| using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace TIKSN.Web.Rest
{
public interface IHttpClientFactory
{
Task<HttpClient> Create(Guid apiKey);
}
} | mit | C# |
4f78566f52e6f3b5ab93bba5107be73c7493ca33 | clear cache when refreshing stats | ghuntley/stack-exchange-data-explorer,SamSaffron/DataExplorerPG,SamSaffron/DataExplorerPG,ghuntley/stack-exchange-data-explorer,ghuntley/stack-exchange-data-explorer | App/StackExchange.DataExplorer/Controllers/AdminController.cs | App/StackExchange.DataExplorer/Controllers/AdminController.cs | using System.Web.Mvc;
using StackExchange.DataExplorer.Helpers;
using StackExchange.DataExplorer.Models;
namespace StackExchange.DataExplorer.Controllers
{
public class AdminController : StackOverflowController
{
[Route("admin")]
public ActionResult Index()
{
if ... | using System.Web.Mvc;
using StackExchange.DataExplorer.Helpers;
using StackExchange.DataExplorer.Models;
namespace StackExchange.DataExplorer.Controllers
{
public class AdminController : StackOverflowController
{
[Route("admin")]
public ActionResult Index()
{
if ... | mit | C# |
6e39661223431c78d83d2d7cd274fd6ab3855cab | Fix error in sampler state pin connection | id144/dx11-vvvv,id144/dx11-vvvv,id144/dx11-vvvv | Core/VVVV.DX11.Lib/Effects/Pins/Resources/SamplerShaderPin.cs | Core/VVVV.DX11.Lib/Effects/Pins/Resources/SamplerShaderPin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.DX11.Internals.Effects.Pins;
using VVVV.PluginInterfaces.V2;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using VVVV.Hosting.Pins;
using VVVV.DX11.Lib.Effects.Pins;
using FeralTic.DX11;
namespace VVVV.DX11.Int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VVVV.DX11.Internals.Effects.Pins;
using VVVV.PluginInterfaces.V2;
using SlimDX.Direct3D11;
using VVVV.PluginInterfaces.V1;
using VVVV.Hosting.Pins;
using VVVV.DX11.Lib.Effects.Pins;
using FeralTic.DX11;
namespace VVVV.DX11.Int... | bsd-3-clause | C# |
b5d1ee405511716db55d61ef944d59722878a6d2 | Update MainActivity.cs | jamesmontemagno/MyWeather.Forms | MyWeather.Droid/MainActivity.cs | MyWeather.Droid/MainActivity.cs | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using Plugin.Permissions;
using Android.Content.PM;
namespace MyWeather.Droid
{
[Activity (Label = "My Weather", MainL... | using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
namespace MyWeather.Droid
{
[Activity (Label = "My Weather", MainLauncher = true, Icon = "@drawable/icon")]
public c... | mit | C# |
1ee5df22dcf4fb0035e4a6bed22b4e60d98851de | Remove null handling from RsaEncryptor (handled elsewhere) | NFig/NFig | NFig/Encryption/RsaEncryptor.cs | NFig/Encryption/RsaEncryptor.cs | using System;
using System.Security.Cryptography;
using System.Text;
namespace NFig.Encryption
{
public class RsaEncryptor : ISettingEncryptor
{
private readonly RSACryptoServiceProvider _rsa;
/// <summary>
/// Uses a pre-initialized RSACryptoServiceProvider object to provide encrypti... | using System;
using System.Security.Cryptography;
using System.Text;
namespace NFig.Encryption
{
public class RsaEncryptor : ISettingEncryptor
{
private readonly RSACryptoServiceProvider _rsa;
/// <summary>
/// Uses a pre-initialized RSACryptoServiceProvider object to provide encrypti... | mit | C# |
1f871b176f7b966b119e2f7ee9a3d192596bb5b7 | add config | Xarlot/NGitLab | NGitLab/NGitLab.Tests/Config.cs | NGitLab/NGitLab.Tests/Config.cs | namespace NGitLab.Tests {
public static class Config {
public const string ServiceUrl = "http://gitserver/";
public const string Secret = "kpdcucE1Y4wykmqBGD4x";
public static GitLabClient Connect() {
return GitLabClient.Connect(ServiceUrl, Secret);
}
}
} | namespace NGitLab.Tests {
public static class Config {
public const string ServiceUrl = "https://gitlab.com/api/v3";
public const string Secret = "TOKEN";
public static GitLabClient Connect() {
return GitLabClient.Connect(ServiceUrl, Secret);
}
}
} | mit | C# |
f93f865b97eb79aadab6fd1338c61b647f72696a | fix interface inheritance bug | AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite | src/AspectCore.Abstractions/Internal/ProxyGenerator.cs | src/AspectCore.Abstractions/Internal/ProxyGenerator.cs | using System;
using System.Reflection;
using AspectCore.Abstractions.Internal.Generator;
namespace AspectCore.Abstractions.Internal
{
public sealed class ProxyGenerator : IProxyGenerator
{
private readonly IAspectValidator aspectValidator;
public ProxyGenerator(IAspectValidator aspectValidato... | using System;
using System.Reflection;
using AspectCore.Abstractions.Internal.Generator;
namespace AspectCore.Abstractions.Internal
{
public sealed class ProxyGenerator : IProxyGenerator
{
private readonly IAspectValidator aspectValidator;
public ProxyGenerator(IAspectValidator aspectValidato... | mit | C# |
978059dd8c6cc448026e60eaf1b9c70235d244d2 | Add component status UnderMaintenance | litmus/statuspageio-dotnet | StatusPageIo/StatusPageIo.Api/Models/Components/ComponentStatus.cs | StatusPageIo/StatusPageIo.Api/Models/Components/ComponentStatus.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatusPageIo.Api.Models.Components
{
public enum ComponentStatus
{
Operational, DegradedPerformance, PartialOutage, MajorOutage, UnderMaintenance
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StatusPageIo.Api.Models.Components
{
public enum ComponentStatus
{
Operational, DegradedPerformance, PartialOutage, MajorOutage
}
}
| mit | C# |
2713095a4adc8a244d091b37de92245a255f7f8a | Fix Monitor.TryEnter/Monitor.Exit Mismatch in System.Threading.Tests (#22815) | jlin177/corefx,tijoytom/corefx,tijoytom/corefx,MaggieTsang/corefx,krk/corefx,nchikanov/corefx,the-dwyer/corefx,ravimeda/corefx,richlander/corefx,the-dwyer/corefx,wtgodbe/corefx,mazong1123/corefx,ravimeda/corefx,jlin177/corefx,Ermiar/corefx,seanshpark/corefx,parjong/corefx,krk/corefx,zhenlan/corefx,the-dwyer/corefx,Magg... | src/System.Threading/tests/Performance/Perf.Monitor.cs | src/System.Threading/tests/Performance/Perf.Monitor.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 Microsoft.Xunit.Performance;
namespace System.Threading.Tests
{
public class Perf_Monitor
{
... | // 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 Microsoft.Xunit.Performance;
namespace System.Threading.Tests
{
public class Perf_Monitor
{
... | mit | C# |
d17bd100346011cab4e0d92127247e0c46f0f086 | Fix test to work in any timezone | ithielnor/harvest.net | Harvest.Net.Tests/ResourceFacts/TimeTrackingFacts.cs | Harvest.Net.Tests/ResourceFacts/TimeTrackingFacts.cs | using Harvest.Net.Models;
using System;
using System.Linq;
using Xunit;
namespace Harvest.Net.Tests
{
public class TimeTrackingFacts : FactBase, IDisposable
{
DayEntry _todelete = null;
[Fact]
public void Daily_ReturnsResult()
{
var result = Api.Daily();
... | using Harvest.Net.Models;
using System;
using System.Linq;
using Xunit;
namespace Harvest.Net.Tests
{
public class TimeTrackingFacts : FactBase, IDisposable
{
DayEntry _todelete = null;
[Fact]
public void Daily_ReturnsResult()
{
var result = Api.Daily();
... | mit | C# |
57b9f79801e0649a8e7bda74a75ff3b3ce183587 | Add encoding header to protobuf content | Hypnobrew/StockMonitor | Infrastructure/Formatters/ProtobufOutputFormatter.cs | Infrastructure/Formatters/ProtobufOutputFormatter.cs | using System;
using Microsoft.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Formatters;
using ProtoBuf.Meta;
namespace Infrastructure
{
public class ProtobufOutputFormatter : OutputFormatter
{
private static Lazy<RuntimeTypeModel> model = new Lazy<RuntimeTypeModel>(Cre... | using System;
using Microsoft.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Formatters;
using ProtoBuf.Meta;
namespace Infrastructure
{
public class ProtobufOutputFormatter : OutputFormatter
{
private static Lazy<RuntimeTypeModel> model = new Lazy<RuntimeTypeModel>(Cre... | mit | C# |
95cb0f83bd09c4b4d93212d8684829ccd9745916 | fix exception MPLY-6674 Buddy: Vimmy | wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/w... | windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/GeonamesSearchResultsPoiView.cs | windows/ExampleApp/ExampleAppWPF/Views/SearchResultPoi/GeonamesSearchResultsPoiView.cs | using System;
using System.Windows;
using System.Windows.Controls;
namespace ExampleAppWPF
{
public class GeoNamesSearchResultsPoiView : SearchResultPoiViewBase
{
private ExampleApp.SearchResultModelCLI m_model;
private Image m_categoryIcon;
public string Title { get; set; }
... | using System;
using System.Windows;
using System.Windows.Controls;
namespace ExampleAppWPF
{
public class GeoNamesSearchResultsPoiView : SearchResultPoiViewBase
{
private ExampleApp.SearchResultModelCLI m_model;
public string Title { get; set; }
public string Country { get; set; }
... | bsd-2-clause | C# |
8487fe67fb89de56be657d3700174d0c3d3d92b9 | mark [Preserve] | dlech/monomac,PlayScriptRedux/monomac | src/Foundation/MonoMacException.cs | src/Foundation/MonoMacException.cs | //
// Copyright 2013, Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | //
// Copyright 2013, Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | apache-2.0 | C# |
7de22a14d1e2522ea813ee057ac6533c40851149 | use new attr on relationship | Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore,Research-Institute/json-api-dotnet-core | src/JsonApiDotNetCore/Internal/Generics/GenericProcessor.cs | src/JsonApiDotNetCore/Internal/Generics/GenericProcessor.cs | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using JsonApiDotNetCore.Extensions;
using JsonApiDotNetCore.Models;
using Microsoft.EntityFrameworkCore;
namespace JsonApiDotNetCore.Internal
{
public class GenericProcessor<T> : IG... | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using JsonApiDotNetCore.Extensions;
using JsonApiDotNetCore.Models;
using Microsoft.EntityFrameworkCore;
namespace JsonApiDotNetCore.Internal
{
public class GenericProcessor<T> : IG... | mit | C# |
dc5fb54353e715b5f804cc239eaba6376eda4e0f | Update DiagnosticsDialogPage.cs | YOTOV-LIMITED/poshtools,adamdriscoll/poshtools,daviwil/poshtools,SpotLabsNET/poshtools,Microsoft/poshtools,KevinHorvatin/poshtools,mgreenegit/poshtools,erwindevreugd/poshtools,zbrad/poshtools | PowerShellTools/Diagnostics/DiagnosticsDialogPage.cs | PowerShellTools/Diagnostics/DiagnosticsDialogPage.cs | using System;
using System.ComponentModel;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Shell;
namespace PowerShellTools.Diagnostics
{
/// <summary>
/// This class contains the DialogPage for all diagnostic related items.
/// Currently only has one item, the Diagn... | using System;
using System.ComponentModel;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Shell;
namespace PowerShellTools.Diagnostics
{
/// <summary>
/// This class contains the DialogPage for all dianostic related items.
/// Currently only has one item, the Diagno... | apache-2.0 | C# |
585e99cd32a798cfc318b1b907c021368b664c10 | Use StackFrame constructor overload that doesn't take a file name, when we don't have a valid file name, to avoid ArgumentException in test adapter. | zooba/PTVS,zooba/PTVS,Microsoft/PTVS,zooba/PTVS,huguesv/PTVS,Microsoft/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,zooba/PTVS,int19h/PTVS,huguesv/PTVS,huguesv/PTVS,Microsoft/PTVS,int19h/PTVS,int19h/PTVS,int19h/PTVS,huguesv/PTVS,Microsoft/PTVS,Microsoft/PTVS,zooba/PTVS,zooba/PTVS,int19h/PTVS,huguesv/PTVS | Python/Product/TestAdapter/PythonStackTraceParser.cs | Python/Product/TestAdapter/PythonStackTraceParser.cs | // Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | // Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | apache-2.0 | C# |
45f935d81d2b4e36e71342e9281f091620beb7a1 | Remove check for .meta file | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/src/Psi/Search/YamlReferenceSearcher.cs | resharper/resharper-yaml/src/Psi/Search/YamlReferenceSearcher.cs | using System.Collections.Generic;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.Files;
using JetBrains.ReSharper.Psi.Search;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace JetBrains.ReSharp... | using System.Collections.Generic;
using JetBrains.ReSharper.Plugins.Yaml.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.ExtensionsAPI;
using JetBrains.ReSharper.Psi.Files;
using JetBrains.ReSharper.Psi.Search;
using JetBrains.ReSharper.Psi.Tree;
using JetBrains.Util;
namespace JetBrains.ReSharp... | apache-2.0 | C# |
da92bdc711b009ed4ec3e74e3398a0517764a027 | Update Task | zindlsn/RosaroterTiger | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
public Color()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
public Color()
{
... | mit | C# |
f73428faa975c5603960ed7a46e782ce0abd32ee | Update ConversationRequest.cs | kooboo-binbin/HelpScoutNet | src/Request/ConversationRequest.cs | src/Request/ConversationRequest.cs | using System;
using System.Collections.Specialized;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace HelpScoutNet.Request
{
public class ConversationRequest : PageRequest
{
public string Status { get; set; }
public DateTime? ModifiedSince { get; s... | using System;
using System.Collections.Specialized;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace HelpScoutNet.Request
{
public class ConversationRequest : PageRequest
{
public string Status { get; set; }
public DateTime? ModifiedSince { get; s... | mit | C# |
e4a49636503c94d470393ba2ec43454ba11d73cc | fix constraints | aloneguid/storage | src/Storage.Net/ConnectionString/ConnectionStringFactory.cs | src/Storage.Net/ConnectionString/ConnectionStringFactory.cs | using System;
using System.Collections.Generic;
using Storage.Net.Blobs;
using System.Linq;
using Storage.Net.KeyValue;
using Storage.Net.Messaging;
namespace Storage.Net.ConnectionString
{
static class ConnectionStringFactory
{
private const string TypeSeparator = "://";
private static readonly Lis... | using System;
using System.Collections.Generic;
using Storage.Net.Blobs;
using System.Linq;
using Storage.Net.KeyValue;
using Storage.Net.Messaging;
namespace Storage.Net.ConnectionString
{
static class ConnectionStringFactory
{
private const string TypeSeparator = "://";
private static readonly Lis... | mit | C# |
e468b64a24ac471802ea0af0a41ee277a9bd3e01 | update copyright | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/MultiPicklistObjectValue.cs | main/Smartsheet/Api/Models/MultiPicklistObjectValue.cs | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2019 SmartsheetClient
// %%
// 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
//
// ... | // #[license]
// SmartsheetClient SDK for C#
// %%
// Copyright (C) 2018 SmartsheetClient
// %%
// 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# |
6115fc9f2a88da24d815a7f3b8878478be02f523 | Fix unit tests failing after a bit too much linq hijinks | paladique/nodejstools,mousetraps/nodejstools,kant2002/nodejstools,AustinHull/nodejstools,avitalb/nodejstools,avitalb/nodejstools,munyirik/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,mjbvz/nodejstools,paulvanbrenk/nodejstools,mjbvz/nodejstools,mjbvz/nodejstools,lukedgr/nodejstools,avitalb/nodejstools,mous... | Nodejs/Product/Npm/SPI/Dependencies.cs | Nodejs/Product/Npm/SPI/Dependencies.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 to in writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 to in writing,... | apache-2.0 | C# |
bfa2b0a3a337958fce8841423e357ddbbd3301d7 | fix AddScoped<IAspectCoreServiceProvider, AspectCoreServiceProvider>() | AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework | src/DependencyInjection/src/AspectCore.Extensions.DependencyInjection/Extensions/AspectCoreOptionsExtensions.cs | src/DependencyInjection/src/AspectCore.Extensions.DependencyInjection/Extensions/AspectCoreOptionsExtensions.cs | using System;
using AspectCore.Extensions.Configuration;
using AspectCore.Extensions.DependencyInjection.Internals;
using Microsoft.Extensions.DependencyInjection;
namespace AspectCore.Extensions.DependencyInjection
{
public static class AspectCoreOptionsExtensions
{
public static AspectCoreOptions Ad... | using System;
using AspectCore.Extensions.Configuration;
using AspectCore.Extensions.DependencyInjection.Internals;
using Microsoft.Extensions.DependencyInjection;
namespace AspectCore.Extensions.DependencyInjection
{
public static class AspectCoreOptionsExtensions
{
public static AspectCoreOptions Ad... | mit | C# |
f17d6d4b657b926102c67f1816f993c9901030d2 | Use localized string instead of hard-coded string for error text | AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs | src/ResourceManager/Network/Commands.Network/VirtualNetwork/Subnet/GetAzureVirtualNetworkSubnetConfigCommand.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
5b4f9e2bdac71bd78b7a9aa457902f0e5d63efa3 | Use the aspnet core built-in GetDisplayUrl method. | verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,ilyhacker/aspnetboilerplate,ilyhacker/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,ilyhacker/aspnetboilerplate,ryancyq/aspnetboil... | src/Abp.AspNetCore/AspNetCore/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs | src/Abp.AspNetCore/AspNetCore/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs | using Abp.Dependency;
using Abp.EntityHistory;
using Abp.Runtime;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Http;
using System.Text;
using Microsoft.AspNetCore.Http.Extensions;
namespace Abp.AspNetCore.EntityHistory
{
/// <summary>
/// Implements <see cref="IEntityChangeSetReasonProvider"/> to g... | using Abp.Dependency;
using Abp.EntityHistory;
using Abp.Runtime;
using JetBrains.Annotations;
using Microsoft.AspNetCore.Http;
using System.Text;
namespace Abp.AspNetCore.EntityHistory
{
/// <summary>
/// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP request.
/// </summa... | mit | C# |
0c13b3a2a6b1126d09154b0405cf51b733f28bec | Fix unit of work ctor param | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Data/UnitOfWork.cs | PhotoLife/PhotoLife.Data/UnitOfWork.cs | using System;
using PhotoLife.Data.Contracts;
namespace PhotoLife.Data
{
public class UnitOfWork : IUnitOfWork
{
private readonly IPhotoLifeEntities dbContext;
public UnitOfWork(IPhotoLifeEntities context)
{
if (context == null)
{
throw new Argu... | using System;
using System.Data.Entity;
using PhotoLife.Data.Contracts;
namespace PhotoLife.Data
{
public class UnitOfWork : IUnitOfWork
{
private readonly DbContext dbContext;
public UnitOfWork(DbContext context)
{
if (context == null)
{
throw ... | mit | C# |
7e6f2f0e22e18ceb00a7c929d7a8a4448a83d0c5 | Add close link to admin stale page (#1495) | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | src/JoinRpg.Portal/Areas/Admin/Views/AdminHome/StaleGames.cshtml | src/JoinRpg.Portal/Areas/Admin/Views/AdminHome/StaleGames.cshtml | @model System.Collections.Generic.IReadOnlyCollection<JoinRpg.Data.Interfaces.ProjectWithUpdateDateDto>
@{
ViewBag.Title = "Список проблемных проектов";
}
<h2>Список проблемных проектов</h2>
<table>
<tr><th>Проект</th><th>Последний раз обновлен</th><th>Другие проблемы</th></tr>
@foreach (var project in ... | @model System.Collections.Generic.IReadOnlyCollection<JoinRpg.Data.Interfaces.ProjectWithUpdateDateDto>
@{
ViewBag.Title = "Список проблемных проектов";
}
<h2>Список проблемных проектов</h2>
<table>
<tr><th>Проект</th><th>Последний раз обновлен</th><th>Другие проблемы</th></tr>
@foreach (var project in ... | mit | C# |
621b278807db7e52bb1054dfffbd142a1529ee75 | Scale up and down in demo | jefking/King.Service | Worker/Scalable/ScalableTask.cs | Worker/Scalable/ScalableTask.cs | namespace Worker.Scalable
{
using King.Service;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
public class ScalableTask : IDynamicRuns
{
public int MaximumPeriodInSeconds
{
get
{
return 30;
}
}
... | namespace Worker.Scalable
{
using King.Service;
using System.Diagnostics;
using System.Threading.Tasks;
public class ScalableTask : IDynamicRuns
{
public int MaximumPeriodInSeconds
{
get { return 30; }
}
public int MinimumPeriodInSeconds
{
... | mit | C# |
a756358200cb0d7ebe9f396ae5f4db567186bd40 | Add filter property to trending shows request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsTrendingRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsTrendingRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base;
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingShow>, TraktTrendingShow>
{
internal TraktShow... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common
{
using Base.Get;
using Objects.Basic;
using Objects.Get.Shows.Common;
internal class TraktShowsTrendingRequest : TraktGetRequest<TraktPaginationListResult<TraktTrendingShow>, TraktTrendingShow>
{
internal TraktShowsTrendingRequest... | mit | C# |
977c46804d75312f3e21e9050c92a8e51fffd50e | Access dos not support such join syntax. | MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db | Tests/Linq/UserTests/Issue1556Tests.cs | Tests/Linq/UserTests/Issue1556Tests.cs | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test(
[DataSources(ProviderName.Sybase, ProviderName.OracleNative, ProviderName.Access)] string context)
{
using (var ... | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test([DataSources(ProviderName.Sybase, ProviderName.OracleNative)] string context)
{
using (var db = GetDataContext(conte... | mit | C# |
66fb81b722942828530a035617c881d1e3fc386d | Change to struct. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Models/ShieldState.cs | WalletWasabi.Gui/Models/ShieldState.cs | namespace WalletWasabi.Gui.Models
{
public struct ShieldState
{
public bool IsPrivacyCriticalVisible { get; }
public bool IsPrivacySomeVisible { get; }
public bool IsPrivacyFineVisible { get; }
public bool IsPrivacyStrongVisible { get; }
public bool IsPrivacySaiyanVisible { get; }
public ShieldState(bool... | namespace WalletWasabi.Gui.Models
{
public class ShieldState
{
public bool IsPrivacyCriticalVisible { get; }
public bool IsPrivacySomeVisible { get; }
public bool IsPrivacyFineVisible { get; }
public bool IsPrivacyStrongVisible { get; }
public bool IsPrivacySaiyanVisible { get; }
public ShieldState(bool ... | mit | C# |
c07879fb3dcc27d77ee6e7624df3f9d7b5c32d39 | Change default sorting | sboulema/Hops,sboulema/Hops,sboulema/Hops | src/Hops/Repositories/HopRepository.cs | src/Hops/Repositories/HopRepository.cs | using Hops.Models;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.Linq;
namespace Hops.Repositories
{
public class HopRepository : IHopRepository
{
private readonly HopContext context;
priv... | using Hops.Models;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.Linq;
namespace Hops.Repositories
{
public class HopRepository : IHopRepository
{
private readonly HopContext context;
priv... | mit | C# |
eb66f807b1e9a4dde726123352753c289b3293fe | Update Message.cs | hprose/hprose-dotnet | src/Hprose.RPC/Plugins/Push/Message.cs | src/Hprose.RPC/Plugins/Push/Message.cs | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | mit | C# |
37364f46da00e2f84e0179cd0ce44ca686c09d1e | Fix integration tests for tracing | alexanderkozlenko/oads,alexanderkozlenko/oads | src/Anemonis.MicrosoftOffice.AddinHost.IntegrationTests/RequestTracingMiddlewareTests.cs | src/Anemonis.MicrosoftOffice.AddinHost.IntegrationTests/RequestTracingMiddlewareTests.cs | using System.Net.Http;
using System.Threading.Tasks;
using Anemonis.MicrosoftOffice.AddinHost.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
usin... | using System.Net.Http;
using System.Threading.Tasks;
using Anemonis.MicrosoftOffice.AddinHost.Middleware;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
usin... | mit | C# |
167b66615ea76e6097af8f4fe042b67218b3c9d9 | Fix another typo. | natgla/roslyn,budcribar/roslyn,a-ctor/roslyn,krishnarajbb/roslyn,jbhensley/roslyn,KevinRansom/roslyn,ilyes14/roslyn,sharadagrawal/TestProject2,balajikris/roslyn,jamesqo/roslyn,antonssonj/roslyn,TyOverby/roslyn,lisong521/roslyn,Hosch250/roslyn,khyperia/roslyn,a-ctor/roslyn,eriawan/roslyn,jeffanders/roslyn,basoundr/rosly... | src/EditorFeatures/Core/Shared/Tagging/TagProducers/AbstractSingleDocumentTagProducer.cs | src/EditorFeatures/Core/Shared/Tagging/TagProducers/AbstractSingleDocumentTagProducer.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Tagging;
using ... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Tagging;
using ... | mit | C# |
47dbe02482374ba169a206c6559e93e634a1eda9 | Remove INameable interface implementation from IConceptualAnnotation. | LeonAkasaka/Levolution.TypeSchema | Levolution.TypeSchema.Pcl/ConceptualType/IConceptualAnnotation.cs | Levolution.TypeSchema.Pcl/ConceptualType/IConceptualAnnotation.cs | using Levolution.Data.Name;
namespace Levolution.TypeSchema.ConceptualType
{
/// <summary>
///
/// </summary>
public interface IConceptualAnnotation
{
}
} | using Levolution.Data.Name;
namespace Levolution.TypeSchema.ConceptualType
{
/// <summary>
///
/// </summary>
public interface IConceptualAnnotation : INameable
{
}
} | apache-2.0 | C# |
1f4bdffe016dcc5f9f164acb4d46a23d182bd789 | Revert "Guard against empty translation keys" | n2cms/n2cms,SntsDev/n2cms,VoidPointerAB/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,n2cms/n2cms,n2cms/n2cms,DejanMilicic/n2cms,VoidPointerAB/n2cms,SntsDev/n2cms,n2cms/n2cms,EzyWebwerkstaden/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,SntsDev/n2cms,nimore/n2cms,EzyWebwerkstaden/n2cms,DejanMilicic/n2cms,... | src/Framework/N2/Engine/Globalization/TranslationExtensions.cs | src/Framework/N2/Engine/Globalization/TranslationExtensions.cs | using N2.Collections;
using N2.Details;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace N2.Engine.Globalization
{
public static class TranslationExtensions
{
public const string DefaultCollectionKey = "Translations";
... | using N2.Collections;
using N2.Details;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace N2.Engine.Globalization
{
public static class TranslationExtensions
{
public const string DefaultCollectionKey = "Translations";
... | lgpl-2.1 | C# |
0a521325a1a955e5a500d75293224789c40ec25d | Update OpeningEncryptedExcelFiles.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-... | Examples/CSharp/Files/Handling/OpeningEncryptedExcelFiles.cs | Examples/CSharp/Files/Handling/OpeningEncryptedExcelFiles.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningEncryptedExcelFiles
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Files.Handling
{
public class OpeningEncryptedExcelFiles
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspose... | mit | C# |
50158b74fe4c5e87d49fc8cd009173e96259569a | Add XML comments to UIComponentDefinitionAttribute | YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata | src/Atata/Attributes/UIComponentDefinitionAttribute.cs | src/Atata/Attributes/UIComponentDefinitionAttribute.cs | using System.Linq;
namespace Atata
{
/// <summary>
/// Represents the base attribute class for UI component (page object, control) definition.
/// </summary>
public abstract class UIComponentDefinitionAttribute : ScopeDefinitionAttribute
{
protected UIComponentDefinitionAttribute(... | using System.Linq;
namespace Atata
{
public abstract class UIComponentDefinitionAttribute : ScopeDefinitionAttribute
{
protected UIComponentDefinitionAttribute(string scopeXPath = DefaultScopeXPath)
: base(scopeXPath)
{
}
public string ComponentTypeName { get... | apache-2.0 | C# |
80a02df51cc347437a60af3d973ea09f90bfb95b | upgrade enode.equeue version. | tangxuehua/enode,Aaron-Liu/enode | src/Extensions/ENode.EQueue/Properties/AssemblyInfo.cs | src/Extensions/ENode.EQueue/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("EN... | 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("EN... | mit | C# |
0cc77ddda55f3204a86e471515fcd2a3978c4c6a | Access always to list of branches | MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure,MCLD/greatreadingadventure | src/GRA.Controllers/ParticipatingBranchesController.cs | src/GRA.Controllers/ParticipatingBranchesController.cs | using GRA.Domain.Service;
using GRA.Controllers.ViewModel.ParticipatingBranches;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace GRA.Controllers
{
public class ParticipatingBranchesController : Base.UserController
{
private readonly SiteService _siteService;
... | using GRA.Domain.Service;
using GRA.Controllers.ViewModel.ParticipatingBranches;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Threading.Tasks;
namespace GRA.Controllers
{
public class ParticipatingBranchesController : Base.UserController
{
private readonly SiteService _siteService;
... | mit | C# |
94e8ebf81b6381cc99e83c92042cfc598ab9104b | Delete unnecessary method in ILuceneSearcher. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Model/Lucene/ILuceneSearcher.cs | src/CK.Glouton.Model/Lucene/ILuceneSearcher.cs | using System.Collections.Generic;
using Lucene.Net.Search;
using Lucene.Net.Documents;
using CK.Glouton.Model.Logs;
namespace CK.Glouton.Model.Lucene
{
public interface ILuceneSearcher
{
List<string> GetAllMonitorID();
Document GetDocument(Query query, int maxResult);
Document GetDocum... | using System.Collections.Generic;
using Lucene.Net.Search;
using Lucene.Net.Documents;
using CK.Glouton.Model.Logs;
namespace CK.Glouton.Model.Lucene
{
public interface ILuceneSearcher
{
Query CreateQuery(ILuceneSearcherConfiguration configuration);
List<string> GetAllMonitorID();
Docu... | mit | C# |
7b47f445df19cbb846aa902ea20b08bc09b4f44f | Increase version number | ProgramFOX/Chess.NET | ChessDotNet/Properties/AssemblyInfo.cs | ChessDotNet/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
a0b6e6207eebb7ec5d938f539d9e1a2ac8bf9eff | Update ShouldMatchConfiguration.cs | JoeMighty/shouldly | src/Shouldly/Configuration/ShouldMatchConfiguration.cs | src/Shouldly/Configuration/ShouldMatchConfiguration.cs | #if ShouldMatchApproved
using System;
namespace Shouldly.Configuration
{
public delegate string FilenameGenerator(
TestMethodInfo testMethodInfo, string descriminator, string fileType, string fileExtension);
public class ShouldMatchConfiguration
{
public ShouldMatchConfiguration()
... | #if ShouldMatchApproved
using System;
namespace Shouldly.Configuration
{
public delegate string FilenameGenerator(
TestMethodInfo testMethodInfo, string descriminator, string fileType, string fileExtension);
public class ShouldMatchConfiguration
{
public ShouldMatchConfiguration()
... | bsd-3-clause | C# |
cab8c0ce87cfb4ab28e3856d81157fe7bb253dbd | Remove random tag data from RaygunWebApiExceptionLogger | ddunkin/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,articulate/raygun4net,tdiehl/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,nelsonsar/raygun4net,articulate/raygun4net | Mindscape.Raygun4Net45/WebApi/RaygunWebApiExceptionLogger.cs | Mindscape.Raygun4Net45/WebApi/RaygunWebApiExceptionLogger.cs | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.ExceptionHandling;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionLogger : ExceptionLogger
{
private readonly IRaygunWebApiClientProvider _clientCreator;
... | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Web.Http.ExceptionHandling;
namespace Mindscape.Raygun4Net.WebApi
{
public class RaygunWebApiExceptionLogger : ExceptionLogger
{
private readonly IRaygunWebApiClientProvider _clientCreator;
... | mit | C# |
ad82862ecee3a3e43170c0eacc003a5370ee9048 | Improve assertion. | yfakariya/msgpack-rpc-cli,yonglehou/msgpack-rpc-cli | src/MsgPack.Rpc.Client/Rpc/Client/ErrorInterpreter.cs | src/MsgPack.Rpc.Client/Rpc/Client/ErrorInterpreter.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.or... | #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.or... | apache-2.0 | C# |
e61b19f263fb15d43f15b132c471c5e64e474d66 | Fix path in ConfigureNLog | NLog/NLog.Framework.Logging,NLog/NLog.Extensions.Logging,NLog/NLog.Framework.Logging | src/NLog.Framework.logging/AspNetExtensions.cs | src/NLog.Framework.logging/AspNetExtensions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using NLog.Config;
namespace NLog.Framework.Logging
{
/// <summary>
/// Helpers for ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Logging;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.PlatformAbstractions;
using NLog.Config;
namespace NLog.Framework.Logging
{
/// <summary>
/// Helpers for ... | bsd-2-clause | C# |
5ff8c6310d42441b61eccbe8b8043f052578fc4c | Refactor exception dialog (release) | ethanmoffat/EndlessClient | EndlessClient/EndlessClient/Program.cs | EndlessClient/EndlessClient/Program.cs | using System;
using System.Windows.Forms;
namespace EndlessClient
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
#if !DEBUG
try
{
using (EOGame.Instance)
{
#endif
EOGame.Instance.Run();
#if !DEBUG
}
... | using System;
using System.Windows.Forms;
namespace EndlessClient
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
#if !DEBUG
try
{
using (EOGame.Instance)
{
#endif
EOGame.Instance.Run();
#if !DEBUG
}
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.