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 |
|---|---|---|---|---|---|---|---|---|
2098a2e866014be772fccd879ef89095a4de99d6 | Add missing xmldoc. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/MetadataMember.cs | src/AsmResolver.DotNet/MetadataMember.cs | using AsmResolver.PE.DotNet.Metadata.Tables;
namespace AsmResolver.DotNet
{
/// <summary>
/// Represents a single member in a .NET image.
/// </summary>
public abstract class MetadataMember : IMetadataMember
{
/// <summary>
/// Initializes the metadata member with a metadata token.... | using AsmResolver.PE.DotNet.Metadata.Tables;
namespace AsmResolver.DotNet
{
public abstract class MetadataMember : IMetadataMember
{
protected MetadataMember(MetadataToken token)
{
MetadataToken = token;
}
/// <inheritdoc />
public MetadataToken Meta... | mit | C# |
1c14bf8a40b759ed6dd386e139680059f34e9900 | bump 1.1.2 | GangZhuo/kcptun-gui-windows | kcptun-gui/Controller/MainController.cs | kcptun-gui/Controller/MainController.cs | using System;
using kcptun_gui.Model;
namespace kcptun_gui.Controller
{
public class MainController
{
public const string Version = "1.1.2";
public ConfigurationController ConfigController { get; private set; }
public KCPTunnelController KCPTunnelController { get; private set; }
... | using System;
using kcptun_gui.Model;
namespace kcptun_gui.Controller
{
public class MainController
{
public const string Version = "1.1.1";
public ConfigurationController ConfigController { get; private set; }
public KCPTunnelController KCPTunnelController { get; private set; }
... | mit | C# |
eee58224dfb27060b9dee9cab3fe5d3d10f18f43 | Introduce EndOffset to Analyze token | adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net | src/Nest/Indices/Analyze/AnalyzeToken.cs | src/Nest/Indices/Analyze/AnalyzeToken.cs | using System;
using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class AnalyzeToken
{
[JsonProperty("token")]
public string Token { get; internal set; }
[JsonProperty("type")]
public string Type { get; internal set; }
//TODO change to long in 6.0... RC: (this is int in Elasticsearch codebase)
... | using Newtonsoft.Json;
namespace Nest
{
[JsonObject]
public class AnalyzeToken
{
[JsonProperty(PropertyName = "token")]
public string Token { get; internal set; }
[JsonProperty(PropertyName = "type")]
public string Type { get; internal set; }
//TODO change to long in 6.0
[JsonProperty(PropertyName = ... | apache-2.0 | C# |
630f2a0b96d43cdb253aff706cd4c1433d6c4e2a | Remove Restrictions on search endpoint | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/GetApprenticeshipsQueryValidator.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2/Application/Queries/GetApprenticeships/GetApprenticeshipsQueryValidator.cs | using System;
using System.Linq;
using FluentValidation;
using SFA.DAS.CommitmentsV2.Models;
namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships
{
public class GetApprenticeshipsQueryValidator : AbstractValidator<GetApprenticeshipsQuery>
{
public GetApprenticeshipsQueryValidator()
... | using System;
using System.Linq;
using FluentValidation;
using SFA.DAS.CommitmentsV2.Models;
namespace SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships
{
public class GetApprenticeshipsQueryValidator : AbstractValidator<GetApprenticeshipsQuery>
{
public GetApprenticeshipsQueryValidator()
... | mit | C# |
827e352bf1a9359f373381b1a76bb515d6930c63 | Update AdminModeEvent.cs | Yonom/BotBits | BotBits/Packages/MessageHandler/Events/AdminModeEvent.cs | BotBits/Packages/MessageHandler/Events/AdminModeEvent.cs | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when an administrator toggles administrator mode.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("admin")]
public sealed class AdminModeEvent : PlayerEvent<AdminModeEvent>
{
/// <summa... | using PlayerIOClient;
namespace BotBits.Events
{
/// <summary>
/// Occurs when an administrator toggles administrator mode.
/// </summary>
/// <seealso cref="PlayerEvent{T}" />
[ReceiveEvent("admin")]
public sealed class AdminModeEvent : PlayerEvent<AdminModeEvent>
{
/// <summa... | mit | C# |
ef20906bc4d5a7bf78e1100881871141397adb6b | Fix ContainserServiceListResult | samtoubia/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,djyou/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,samtoubia/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,shutchings/azure-sdk-for-net,nathannfan/azure-sdk-for-net,peshen/azure-sdk-for-net,yaakoviyun/a... | src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Generated/Models/ContainerServiceListResult.cs | src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Generated/Models/ContainerServiceListResult.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | mit | C# |
0e64d1063af84f7fcc700eca315e70a9a786b5b3 | Add "Year" property to "DateInfoFrame" class | elp87/TagReader | elp87.TagReader/id3v2/Frames/DateInfoFrame.cs | elp87.TagReader/id3v2/Frames/DateInfoFrame.cs | using elp87.TagReader.id3v2.Frames;
using System;
using System.Globalization;
namespace elp87.TagReader.id3v2.Frames
{
public class DateInfoFrame
: TextInfoFrame
{
#region Fields
private DateTime _date;
#endregion
#region Constructors
protected DateInf... | using elp87.TagReader.id3v2.Frames;
using System;
using System.Globalization;
namespace elp87.TagReader.id3v2.Frames
{
public class DateInfoFrame
: TextInfoFrame
{
#region Fields
private DateTime _date;
#endregion
#region Constructors
protected DateInf... | lgpl-2.1 | C# |
cd7ca4f29cdb7b25f5fd9d2311cbdd510ec0e46c | enhance english natural language utilities. | signumsoftware/framework,AlejandroCano/framework,avifatal/framework,avifatal/framework,AlejandroCano/framework,signumsoftware/framework | Signum.Utilities/NaturalLanguage/English.cs | Signum.Utilities/NaturalLanguage/English.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Utilities.NaturalLanguage
{
public class EnglishPluralizer : IPluralizer
{
//http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html
Dictionary<string, string> exceptions = n... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Utilities.NaturalLanguage
{
public class EnglishPluralizer : IPluralizer
{
//http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html
Dictionary<string, string> exceptions = n... | mit | C# |
679e24c5f0d8c05a17d2b806c96d87d3e17ebcfa | Update AdUnitFactoryBase.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdUnitFactoryBase.cs | TIKSN.Core/Advertising/AdUnitFactoryBase.cs | using System.Collections.Generic;
namespace TIKSN.Advertising
{
public abstract class AdUnitFactoryBase : IAdUnitFactory
{
protected readonly Dictionary<string, AdUnitBundle> _adUnitBundles;
private readonly IAdUnitSelector _adUnitSelector;
protected AdUnitFactoryBase(IAdUnitSelector ... | using System.Collections.Generic;
namespace TIKSN.Advertising
{
public abstract class AdUnitFactoryBase : IAdUnitFactory
{
protected readonly Dictionary<string, AdUnitBundle> _adUnitBundles;
private readonly IAdUnitSelector _adUnitSelector;
protected AdUnitFactoryBase(IAdUnitSelector ... | mit | C# |
e80d18bbd090791e75c081252e479b088ab3db51 | add logged fields | ojraqueno/vstemplates,ojraqueno/vstemplates,ojraqueno/vstemplates | MVC5_R/MVC5_R.WebApp/Infrastructure/Logging/MVCLogger.cs | MVC5_R/MVC5_R.WebApp/Infrastructure/Logging/MVCLogger.cs | using Microsoft.AspNet.Identity;
using MVC5_R.Infrastructure.Data;
using MVC5_R.Infrastructure.Logging;
using MVC5_R.Models;
using System;
using System.Web.Mvc;
namespace MVC5_R.WebApp.Infrastructure.Logging
{
public class MVCLogger : IMVCLogger
{
public void Log(ExceptionContext filterContext)
... | using Microsoft.AspNet.Identity;
using MVC5_R.Infrastructure.Data;
using MVC5_R.Models;
using System;
using System.Web.Mvc;
namespace MVC5_R.WebApp.Infrastructure.Logging
{
public class MVCLogger : IMVCLogger
{
public void Log(ExceptionContext filterContext)
{
var logEntry = new Lo... | mit | C# |
cb0acc4727bf392ec6a8b6053c67c750c754accc | test resourceId | sebastus/AzureFunctionForSplunk | shared/addStandardProperties.csx | shared/addStandardProperties.csx | #r "Newtonsoft.Json"
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
static string addStandardProperties(string message, TraceWriter log)
{
var converter = new ExpandoObjectConve... | #r "Newtonsoft.Json"
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
static string addStandardProperties(string message, TraceWriter log)
{
var converter = new ExpandoObjectConve... | mit | C# |
e08a6f8c2f88da32abf9731e74195030c247d849 | Update KnownFolderVersionConsideration.cs | tiksn/TIKSN-Framework | TIKSN.Core/FileSystem/KnownFolderVersionConsideration.cs | TIKSN.Core/FileSystem/KnownFolderVersionConsideration.cs | namespace TIKSN.FileSystem
{
public enum KnownFolderVersionConsideration
{
None,
Major,
MajorMinor,
MajorMinorBuild,
MajorMinorBuildRevision
}
}
| namespace TIKSN.FileSystem
{
public enum KnownFolderVersionConsideration
{
None,
Major,
MajorMinor,
MajorMinorBuild,
MajorMinorBuildRevision
}
} | mit | C# |
2d4b1596d4fe3b805b7848abf9948f8317402566 | Fix windows x64 using WOW64 | wangkanai/Detection | src/Services/PlatformService.cs | src/Services/PlatformService.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Wangkanai.Detection.Extensions;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Services
{
public class PlatformService : IPlatformService
{
... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Wangkanai.Detection.Extensions;
using Wangkanai.Detection.Models;
namespace Wangkanai.Detection.Services
{
public class PlatformService : IPlatformService
{
... | apache-2.0 | C# |
1e4acf76053ea259344b15422ce7ab8136cfb25a | bump version | Fody/Validar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Validar")]
[assembly: AssemblyProduct("Validar")]
[assembly: AssemblyVersion("0.10.0.0")]
[assembly: AssemblyFileVersion("0.10.0.0")]
| using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Validar")]
[assembly: AssemblyProduct("Validar")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("0.9.0.0")]
[assembly: AssemblyFileVersion("0.9.0.0")]
| mit | C# |
07fbf3c915e74085d66220cd8d2037c70b3fbd43 | Fix for #1041. UIKit methods cannot be invoked off main thread. We need to wrap those when called in an async context. | martijn00/MvvmCross-Plugins,lothrop/MvvmCross-Plugins,Didux/MvvmCross-Plugins,MatthewSannes/MvvmCross-Plugins | Cirrious/DownloadCache/Cirrious.MvvmCross.Plugins.DownloadCache.Touch/MvxTouchLocalFileImageLoader.cs | Cirrious/DownloadCache/Cirrious.MvvmCross.Plugins.DownloadCache.Touch/MvxTouchLocalFileImageLoader.cs | // MvxTouchLocalFileImageLoader.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System.Threading.Tasks;
using C... | // MvxTouchLocalFileImageLoader.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using System.Threading.Tasks;
using C... | mit | C# |
f70b4839bd80834720e2d205f097d014ec30bfb8 | Remove a few unnecessary attributes in OsuTestCase. | ZLima12/osu,Drezi126/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,EVAST9919/osu,Damnae/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,johnneijzen/osu,DrabWeb/osu,UselessToucan/osu,naoey/osu,UselessToucan/osu,NeoAdonis/osu,Frontear/osuKyzer,DrabWeb/osu,naoey/osu,2yangk23/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,Nabile-Rahman... | osu.Desktop.Tests/Visual/OsuTestCase.cs | osu.Desktop.Tests/Visual/OsuTestCase.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Desktop.Platform;
using osu.Framework.Testing;
using osu.Game;
namespace osu.Desktop.Tests.Visual
{
public abstract class OsuTestCase ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using NUnit.Framework;
using osu.Framework.Desktop.Platform;
using osu.Framework.Testing;
using osu.Game;
namespace osu.Desktop.Tests.Visual
{
[TestFixtu... | mit | C# |
cb4a53b33b005eb30ba426d54fee08e35416b46f | INcrease timeout | SanSYS/MassTransit,MassTransit/MassTransit,jacobpovar/MassTransit,phatboyg/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,SanSYS/MassTransit,jacobpovar/MassTransit | src/Containers/MassTransit.Containers.Tests/Scenarios/When_registering_a_consumer.cs | src/Containers/MassTransit.Containers.Tests/Scenarios/When_registering_a_consumer.cs | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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 ... | // Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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# |
d6a98c3f63c2acc76e01477829691ecf3d47b724 | Add a null check | sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp,sta/websocket-sharp | Example3/Chat.cs | Example3/Chat.cs | using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace Example3
{
public class Chat : WebSocketBehavior
{
private string _name;
private static int _number = 0;
private string _prefix;
public Chat ()
{
_prefix = "anon#";
}
publi... | using System;
using System.Threading;
using WebSocketSharp;
using WebSocketSharp.Server;
namespace Example3
{
public class Chat : WebSocketBehavior
{
private string _name;
private static int _number = 0;
private string _prefix;
public Chat ()
{
_prefix = "anon#";
}
publi... | mit | C# |
0a1d117d92bb71452ff7c4763a7ca042fe46062f | Remove form Fields from Container Edit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Web/Areas/Builder/Views/Container/_Edit.cshtml | Portal.CMS.Web/Areas/Builder/Views/Container/_Edit.cshtml | @model Portal.CMS.Web.Areas.Builder.ViewModels.Container.EditViewModel
@{
Layout = "";
}
<script type="text/javascript">
function Delete()
{
$('#@Model.ContainerElementId').remove();
var dataParams = { "pageSectionId": @Model.PageSectionId , "componentId": "@Model.ContainerElementId", "__... | @model Portal.CMS.Web.Areas.Builder.ViewModels.Container.EditViewModel
@{
Layout = "";
}
<script type="text/javascript">
function Delete()
{
$('#@Model.ContainerElementId').remove();
var dataParams = { "pageSectionId": @Model.PageSectionId , "componentId": "@Model.ContainerElementId", "__... | mit | C# |
71dd2f49f7e7ceb73ba7539bb804bff9a8d3c74c | Increase tracing for ProfileOptimization_CheckFileExists (#32317) | mmitche/corefx,ptoonen/corefx,Jiayili1/corefx,ViktorHofer/corefx,Jiayili1/corefx,ViktorHofer/corefx,mmitche/corefx,ptoonen/corefx,mmitche/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ptoonen/corefx,shimingsg/corefx,BrennanConroy/corefx,Jiayili1/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/co... | src/System.Runtime.Extensions/tests/System/Runtime/ProfileOptimization.netcoreapp.cs | src/System.Runtime.Extensions/tests/System/Runtime/ProfileOptimization.netcoreapp.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 System.Diagnostics;
using System.IO;
using System.Threading;
using Xunit;
using Xunit.Abstractions;
namespac... | // 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 System.Diagnostics;
using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace System.Runtime.Tests
{... | mit | C# |
5864dc0f815655f573523d90178f3e7c093c544e | Test for accelerating whilst falling now passes | Pyroka/TddPlatformer,Pyroka/TddPlatformer | Assets/Scripts/Player/PlayerMovement.cs | Assets/Scripts/Player/PlayerMovement.cs | using UnityEngine;
using System.Collections.Generic;
public class PlayerMovement
{
private const float Gravity = -1.0f;
public bool IsOnGround { get; set; }
private Vector3 currentVelocity;
public Vector3 Update()
{
if (IsOnGround)
{
return Vector2.zero;
... | using UnityEngine;
using System.Collections.Generic;
public class PlayerMovement
{
private const float Gravity = -1.0f;
public bool IsOnGround { get; set; }
public Vector3 Update()
{
if (IsOnGround)
{
return Vector2.zero;
}
return new Vector3(0.... | mit | C# |
923917f6693697a5ba4cd4ee749282626f6ca3f9 | Add script disabling to PauseManager | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Scenario/PauseManager.cs | Assets/Scripts/Scenario/PauseManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseManager : MonoBehaviour
{
private bool paused;
private float timeScale;
private List<AudioSource> pausedAudioSources;
private List<MonoBehaviour> disabledScripts;
void Start ()
{
paused = false;
}
void Upda... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseManager : MonoBehaviour
{
private bool paused;
private float timeScale;
private AudioSource[] audioSources;
void Start ()
{
paused = false;
}
void Update ()
{
if (Input.GetKeyDown(KeyCode.Escape))
if (... | mit | C# |
7a0edd5f6955446965eaeb95575b618db5807165 | Update PageController.cs | Code-Inside/Samples,Code-Inside/Samples,Code-Inside/Samples,Code-Inside/Samples | 2015/SelfHostWithBetterRoutingForEmbeddedResources/SelfHostWithBetterRouting/Controller/PageController.cs | 2015/SelfHostWithBetterRoutingForEmbeddedResources/SelfHostWithBetterRouting/Controller/PageController.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
namespace SelfHostWithBetterRouting.Controller
{
public class PageController : ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
namespace SelfHostWithBetterRouting.Controller
{
public class PageController : ... | mit | C# |
95733ad1023a9a86368ebd507c13c369bb151573 | fix null exception for webhook pings | EslaMx7/sparkpost-csharp-webhooks-sample | SparkPostWebhooksSample/Controllers/WebhooksController.cs | SparkPostWebhooksSample/Controllers/WebhooksController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace SparkPostWebhooksSample.Controllers
{
[Route("api/webhook")]
public class WebhooksController : Controller
{
[HttpPost]
publ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
namespace SparkPostWebhooksSample.Controllers
{
[Route("api/webhook")]
public class WebhooksController : Controller
{
[HttpPost]
publ... | apache-2.0 | C# |
0e941ab4a10153f5f8fe085d21b19f85e0eebf57 | Add AvFoundationLibrary to preloaded libraries | PlayScriptRedux/monomac,dlech/monomac | src/Foundation/NSObjectMac.cs | src/Foundation/NSObjectMac.cs | //
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | //
// Copyright 2010, Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
... | apache-2.0 | C# |
71ef4f85d82c7f305ad88948cf3d7c3e41d345fc | Fix broken test | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Domain.UnitTests/Extensions/WhenIGetAnEmploymentStatusAgreementDescription.cs | src/SFA.DAS.EmployerApprenticeshipsService.Domain.UnitTests/Extensions/WhenIGetAnEmploymentStatusAgreementDescription.cs | using NUnit.Framework;
using SFA.DAS.EAS.Domain;
using SFA.DAS.EAS.Domain.Extensions;
using SFA.DAS.EAS.Domain.Models.EmployerAgreement;
namespace SFA.DAS.EmployerApprenticeshipsService.Domain.UnitTests.Extensions
{
class WhenIGetAnEmploymentStatusAgreementDescription
{
[Test]
public void Then... | using NUnit.Framework;
using SFA.DAS.EAS.Domain;
using SFA.DAS.EAS.Domain.Extensions;
using SFA.DAS.EAS.Domain.Models.EmployerAgreement;
namespace SFA.DAS.EmployerApprenticeshipsService.Domain.UnitTests.Extensions
{
class WhenIGetAnEmploymentStatusAgreementDescription
{
[Test]
public void Then... | mit | C# |
74eb6d7e402e654c27e63cee7205f75c5b4d88ec | Update Constants.cs | darkestspirit/IdentityServer3.Contrib.Localization,totpero/IdentityServer3.Contrib.Localization,IdentityServer/IdentityServer3.Contrib.Localization,Utdanningsdirektoratet/IdentityServer3.Contrib.Localization,johnkors/IdentityServer3.Contrib.Localization | source/IdentityServer3.Localization/Constants.cs | source/IdentityServer3.Localization/Constants.cs | namespace Thinktecture.IdentityServer.Core.Services.Contrib
{
public class Constants
{
public const string Default = "Default";
public const string Pirate = "pirate";
public const string deDE = "de-DE";
public const string esAR = "es-AR";
public const string frFR = "fr-FR... | namespace Thinktecture.IdentityServer.Core.Services.Contrib
{
public class Constants
{
public const string Default = "Default";
public const string Pirate = "pirate";
public const string deDE = "de-DE";
public const string esAR = "es-AR";
public const string frFR = "fr-FR... | mit | C# |
f5421b60f1f077dbbb8313baaca99b132e2a0a30 | Update Run.cs | grzesiek-galezowski/component-based-test-tool | ComponentBasedTestTool/Components/AzurePipelines/Dto/Run.cs | ComponentBasedTestTool/Components/AzurePipelines/Dto/Run.cs | using System;
namespace Components.AzurePipelines.Dto;
public record Run
(
ReferenceLinks Links,
Pipeline Pipeline,
string State,
string Result,
DateTime CreatedDate,
string Url,
Resources Resources,
string FinalYaml,
int Id,
object Name
); | using System;
namespace Components.AzurePipelines.Dto;
public record Run
(
ReferenceLinks Links,
Pipeline Pipeline,
string State,
DateTime CreatedDate,
string Url,
Resources Resources,
string FinalYaml,
int Id,
object Name
); | mit | C# |
26be51c8efcdc407bd2f5e0e125991c0dc113e01 | Reduce code size by using `Repeated<T>` as the value of `EmptyList<T>.Value`. | qwertie/Loyc,qwertie/Loyc | Core/Loyc.Essentials/Collections/HelperClasses/EmptyList.cs | Core/Loyc.Essentials/Collections/HelperClasses/EmptyList.cs | // This file is part of the Loyc project. Licence: LGPL
using System;
using System.Collections.Generic;
using System.Text;
namespace Loyc.Collections
{
/// <summary>Helper class: <see cref="EmptyList{T}.Value"/> is a read-only empty list.</summary>
/// <remarks>It is a boxed copy of <c>ListExt.Repeat(default(T), 0)<... | // This file is part of the Loyc project. Licence: LGPL
using System;
using System.Collections.Generic;
using System.Text;
namespace Loyc.Collections
{
/// <summary>Helper class: <see cref="EmptyList{T}.Value"/> is a read-only empty list.</summary>
[Serializable]
public class EmptyList<T> : IList<T>, IRange<T>, II... | lgpl-2.1 | C# |
d63aa2983312a11144ad6e0a806c72e38e8455e5 | Resolve RefBox TODOs | madelson/DistributedLock | DistributedLock.Core/Internal/RefBox.cs | DistributedLock.Core/Internal/RefBox.cs | using System;
using System.Threading;
namespace Medallion.Threading.Internal
{
/// <summary>
/// Wraps a value tuple to be a read/write reference
/// </summary>
#if DEBUG
public
#else
internal
#endif
sealed class RefBox<T> where T : struct
{
private readonly T _value;
inte... | using System.Threading;
namespace Medallion.Threading.Internal
{
// todo use in more places or get rid of
#if DEBUG
public
#else
internal
#endif
sealed class RefBox<T> where T : struct
{
private readonly T _value;
internal RefBox(T value)
{
this._value = value;... | mit | C# |
53a6932e924c3a9d202eaaadc934692c91f9257e | Align .NET4 assembly version with main project | nicolaiarocci/Eve.NET | Eve.NET.Net4/Properties/AssemblyInfo.cs | Eve.NET.Net4/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Eve.NET.Net4")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("Eve.NET.Net4")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]
[ass... | bsd-3-clause | C# |
ecb3d16372219b711d9cf4a4013ca7cb2950feba | Remove unused usings | hey-red/Markdown | MarkdownSharp/Extensions/Mal/Profile.cs | MarkdownSharp/Extensions/Mal/Profile.cs | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// Create short link f... | /**
* This file is part of the MarkdownSharp package
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
using System;
using System.Net;
using System.Text.RegularExpressions;
namespace MarkdownSharp.Extensions.Mal
{
/// <summary>
/// C... | mit | C# |
5e5fe1f2218462b060f6a7fd220d1f47f8b4353f | Add additional Fields overload (#2550) | adam-mccoy/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Nest/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs | src/Nest/CommonAbstractions/Infer/Fields/FieldsDescriptor.cs | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Nest
{
public class FieldsDescriptor<T> : DescriptorPromiseBase<FieldsDescriptor<T>, Fields>
where T : class
{
public FieldsDescriptor() : base(new Fields()) { }
public FieldsDescriptor<T> Fields(params Expression<Func<T... | using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Nest
{
public class FieldsDescriptor<T> : DescriptorPromiseBase<FieldsDescriptor<T>, Fields>
where T : class
{
public FieldsDescriptor() : base(new Fields()) { }
public FieldsDescriptor<T> Fields(params Expression<Func<... | apache-2.0 | C# |
eb0171e2acfe8220b9f5c8993b82fc86da41be9d | Fix in NodaTime.Benchmarks.BclTests.Comparison_Operators | BenJenkinson/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,malcolmr/nodatime,nodatime/nodatime | src/NodaTime.Benchmarks/BclTests/DateTimeOffsetBenchmarks.cs | src/NodaTime.Benchmarks/BclTests/DateTimeOffsetBenchmarks.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using BenchmarkDotNet;
using BenchmarkDotNet.Tas... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using BenchmarkDotNet;
using BenchmarkDotNet.Tas... | apache-2.0 | C# |
bed0973c65b3dd53df9b6c675f74e5f20973724a | Use path.combine | JohanLarsson/Gu.Wpf.UiAutomation | Gu.Wpf.UiAutomation.UITests/ImageAssertTests.cs | Gu.Wpf.UiAutomation.UITests/ImageAssertTests.cs | namespace Gu.Wpf.UiAutomation.UITests
{
using System.IO;
using NUnit.Framework;
public class ImageAssertTests
{
private static readonly string ExeFileName = Path.Combine(
TestContext.CurrentContext.TestDirectory,
@"..\..\TestApplications\WpfApplication\bin\WpfApplication... | namespace Gu.Wpf.UiAutomation.UITests
{
using System.IO;
using NUnit.Framework;
public class ImageAssertTests
{
private static readonly string ExeFileName = Path.Combine(
TestContext.CurrentContext.TestDirectory,
@"..\..\TestApplications\WpfApplication\bin\WpfApplication... | mit | C# |
9aef0a5370119508b55640efa93c4104a2a91ebc | Fix constructor selection bug | RockFramework/RockLib.Configuration | RockLib.Configuration.ObjectFactory/ConstructorOrderInfo.cs | RockLib.Configuration.ObjectFactory/ConstructorOrderInfo.cs | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RockLib.Configuration.ObjectFactory
{
internal class ConstructorOrderInfo : IComparable<ConstructorOrderInfo>
{
public ConstructorOrderInfo(ConstructorInfo co... | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RockLib.Configuration.ObjectFactory
{
internal class ConstructorOrderInfo : IComparable<ConstructorOrderInfo>
{
public ConstructorOrderInfo(ConstructorInfo co... | mit | C# |
f988dec5cbb9f867b111490485cc933f8898f9ad | Use .NET Core 3.1. | FacilityApi/FacilityJavaScript,FacilityApi/FacilityJavaScript,FacilityApi/FacilityCSharp,FacilityApi/Facility,FacilityApi/FacilityJavaScript | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using System.Linq;
using Faithlife.Build;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var codegen = "fsdgen___";
var dotNetBuildSettings = new DotNe... | using System;
using System.Linq;
using Faithlife.Build;
using static Faithlife.Build.BuildUtility;
using static Faithlife.Build.DotNetRunner;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
var codegen = "fsdgen___";
var dotNetBuildSettings = new DotNe... | mit | C# |
06350ae0d3ba2c35fbe74038edba3c3577aa4bd2 | Update Assembly version | gatepoet/Deicon.TilesDavis | src/TilesDavis.Wpf/TilesDavis.Wpf/Properties/AssemblyInfo.cs | src/TilesDavis.Wpf/TilesDavis.Wpf/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
// ass... | 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 ... | unlicense | C# |
756ca9c741a44c84f2da8a4992d2402e44ba267c | Fix PortfolioTarget percent test name | AlexCatarino/Lean,Jay-Jay-D/LeanSTP,AnshulYADAV007/Lean,redmeros/Lean,redmeros/Lean,QuantConnect/Lean,AnshulYADAV007/Lean,QuantConnect/Lean,JKarathiya/Lean,Jay-Jay-D/LeanSTP,redmeros/Lean,kaffeebrauer/Lean,JKarathiya/Lean,AnshulYADAV007/Lean,StefanoRaggi/Lean,AlexCatarino/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,Jay-Ja... | Tests/Algorithm/Framework/Portfolio/PortfolioTargetTests.cs | Tests/Algorithm/Framework/Portfolio/PortfolioTargetTests.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... | apache-2.0 | C# |
e870ac6456c334577f4cc57fff54305179cae041 | Fix code quality for CI | peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Screens/Edit/Setup/ColoursSection.cs | osu.Game/Screens/Edit/Setup/ColoursSection.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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
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.
#nullable disable
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterfaceV2;
using osu.Game... | mit | C# |
dce279f0028c053291f5d3a89744017c18d029c2 | Add log level to Logger. | eternnoir/NLogging | src/NLogging/Logger.cs | src/NLogging/Logger.cs | namespace NLogging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Logger
{
private string loggerName;
private LogLevel logLevel;
public string LoggerName
{
get
... | namespace NLogging
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class Logger
{
private string loggerName;
public string LoggerName
{
get
{
retur... | mit | C# |
fec1b85832223a2ff9276d82fad80b0de08dd06c | Fix style issues in X509ExtensionEnumerator | seanshpark/corefx,manu-silicon/corefx,mokchhya/corefx,jeremymeng/corefx,lggomez/corefx,cartermp/corefx,khdang/corefx,wtgodbe/corefx,khdang/corefx,benjamin-bader/corefx,richlander/corefx,twsouthwick/corefx,richlander/corefx,mellinoe/corefx,shimingsg/corefx,Petermarcu/corefx,ptoonen/corefx,khdang/corefx,SGuyGe/corefx,lgg... | src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509ExtensionEnumerator.cs | src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509ExtensionEnumerator.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections;
namespace System.Security.Cryptography.X509Certificates
{
public sealed class X509ExtensionEnumerator : IEnumerator
{
interna... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Text;
using System.Collections;
using System.Diagnostics;
using System.Globalization;
using System.Runtime.InteropServices;
... | mit | C# |
dc99950831f014fd0aa9fd0417000f60dbe24d7f | Bump version to 0.11.0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/Properties/AssemblyInfo.cs | CactbotOverlay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("CactbotOverlay")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("CactbotOverlay")]
[assembly: AssemblyC... | apache-2.0 | C# |
b7cd4a85e05ffea30640d4242ac489bae3b296ec | Fix missing label for team members when creating team | crowar/Bonobo-Git-Server,snoopydo/Bonobo-Git-Server,crowar/Bonobo-Git-Server,darioajr/Bonobo-Git-Server,willdean/Bonobo-Git-Server,gencer/Bonobo-Git-Server,Monepi/Bonobo-Git-Server,Webmine/Bonobo-Git-Server,yonglehou/Bonobo-Git-Server,YelaSeamless/Bonobo-Git-Server,gencer/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,... | Bonobo.Git.Server/Views/Team/Create.cshtml | Bonobo.Git.Server/Views/Team/Create.cshtml | @model Bonobo.Git.Server.Models.TeamDetailModel
@{
ViewBag.Title = Resources.Team_Create_Title;
}
<h2>@Resources.Team_Create_Title</h2>
@using (Html.BeginForm("Create", "Team", FormMethod.Post, new { @class = "uniForm" }))
{
@Html.ValidationSummary(false, Resources.Team_Create_Fail, new { @id = "errorMsg" ... | @model Bonobo.Git.Server.Models.TeamDetailModel
@{
ViewBag.Title = Resources.Team_Create_Title;
}
<h2>@Resources.Team_Create_Title</h2>
@using (Html.BeginForm("Create", "Team", FormMethod.Post, new { @class = "uniForm" }))
{
@Html.ValidationSummary(false, Resources.Team_Create_Fail, new { @id = "errorMsg" ... | mit | C# |
29d414c32a5f3f9f19f0a741676457b7ddf68276 | make Profilers visible to Grpc.IntegrationTesting | kumaralokgithub/grpc,ppietrasa/grpc,yugui/grpc,dgquintas/grpc,PeterFaiman/ruby-grpc-minimal,MakMukhi/grpc,donnadionne/grpc,soltanmm/grpc,tengyifei/grpc,leifurhauks/grpc,a-veitch/grpc,grpc/grpc,pszemus/grpc,andrewpollock/grpc,chrisdunelm/grpc,pmarks-net/grpc,dklempner/grpc,muxi/grpc,jcanizales/grpc,rjshade/grpc,ncteisen... | src/csharp/Grpc.Core/Properties/AssemblyInfo.cs | src/csharp/Grpc.Core/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Grpc.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Google Inc. All rights reserved.")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Grpc.Core")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Google Inc. All rights reserved.")]
[assembly: ... | apache-2.0 | C# |
e72eed6ba57f2c309bf65734b7cb972b7cef2690 | Fix fast forward | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Microgames/DarkRoom/Scripts/DarkRoomMusicController.cs | Assets/Microgames/DarkRoom/Scripts/DarkRoomMusicController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class DarkRoomMusicController : MonoBehaviour
{
public static DarkRoomMusicController instance;
[SerializeField]
private float volumeLerpSpeed = 3f;
[SerializeField]
private float volumeMult;
... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class DarkRoomMusicController : MonoBehaviour
{
public static DarkRoomMusicController instance;
[SerializeField]
private float volumeLerpSpeed = 3f;
[SerializeField]
private float volumeMult;
... | mit | C# |
5deb84a8d92164ac36d49905fa4369889ac13221 | add mock for load, getheade, getcolumns | urffin/MetaTagsChecker | MetaTagsChecker/MetaTagsCheckerLib/CSV.cs | MetaTagsChecker/MetaTagsCheckerLib/CSV.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetaTagsCheckerLib
{
public class CSV
{
public bool HasHeader { get; private set; }
public char Separator { get; private set; }
private List<s... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MetaTagsCheckerLib
{
public class CSV
{
public bool HasHeader { get; private set; }
public char Separator { get; private set; }
public CSV(cha... | mit | C# |
2cf13cc01474099d8a5805cc0c8bf2e52f065303 | Add debug support (.NET). | mntone/UniversityScheduleClient,mntone/UniversityScheduleClient | NET/UniversitySchedule.Core/PeriodInfo.cs | NET/UniversitySchedule.Core/PeriodInfo.cs | using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Mntone.UniversitySchedule.Core
{
/// <summary>
/// PeriodInfo
/// </summary>
[DataContract]
[DebuggerDisplay( "{StringView()}" )]
public sealed class PeriodInfo
{
private const string TIME_FORMAT = "HH':'mmzz";
private P... | using System;
using System.Diagnostics;
using System.Runtime.Serialization;
namespace Mntone.UniversitySchedule.Core
{
/// <summary>
/// PeriodInfo
/// </summary>
[DataContract]
public sealed class PeriodInfo
{
private const string TIME_FORMAT = "HH':'mmzz";
private PeriodInfo() { }
/// <summary>
/// ... | mit | C# |
4f2d518dbcd4168920a8869dfafe06615695392a | Fix application exit. | tfreitasleal/MvvmFx,MvvmFx/MvvmFx | Samples/CaliburnMicro/AcyncUpdate.WisejWeb/AsyncUpdateView.cs | Samples/CaliburnMicro/AcyncUpdate.WisejWeb/AsyncUpdateView.cs | using System;
#if WISEJ
using Wisej.Web;
#else
using System.Windows.Forms;
#endif
using MvvmFx.CaliburnMicro;
namespace AcyncUpdate.UI
{
public interface IAsyncUpdateView : IHaveDataContext, IHaveBusyIndicator
{
}
public partial class AsyncUpdateView : Form, IAsyncUpdateView
{
private IAs... | using System;
#if WISEJ
using Wisej.Web;
#else
using System.Windows.Forms;
#endif
using MvvmFx.CaliburnMicro;
namespace AcyncUpdate.UI
{
public interface IAsyncUpdateView : IHaveDataContext, IHaveBusyIndicator
{
}
public partial class AsyncUpdateView : Form, IAsyncUpdateView
{
private IAs... | mit | C# |
95e0782c8c76feaa3acfec604ddddb56a7909d23 | Update Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAAsset.cs | GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA | Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAAsset.cs | Source/Libraries/openXDA.Model/SystemCenter/RemoteXDAAsset.cs | //******************************************************************************************************
// RemoteXDAAsset.cs - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | //******************************************************************************************************
// AdditionalField.cs - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | mit | C# |
0ddb5eba11c6d1cc94596f20029e3157cf4a8ad6 | Define 'RecordingLog.Contains(Severity)' | jonathanvdc/Pixie,jonathanvdc/Pixie | Pixie/RecordingLog.cs | Pixie/RecordingLog.cs | using System.Collections.Generic;
namespace Pixie
{
/// <summary>
/// A log implementation that records all incoming entries
/// and forwards them to another log.
/// </summary>
public sealed class RecordingLog : ILog
{
/// <summary>
/// Creates a log that simply records all inc... | using System.Collections.Generic;
namespace Pixie
{
/// <summary>
/// A log implementation that records all incoming entries
/// and forwards them to another log.
/// </summary>
public sealed class RecordingLog : ILog
{
/// <summary>
/// Creates a log that simply records all inc... | mit | C# |
208332b8315fce6750b38bfda4e7957ad8f013a2 | Remove unused 'RunningOnMono' property | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/ServerComparison.FunctionalTests/Helpers.cs | test/ServerComparison.FunctionalTests/Helpers.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;
using System.IO;
namespace ServerComparison.FunctionalTests
{
public class Helpers
{
public static string GetApplicationP... | // 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;
using System.IO;
namespace ServerComparison.FunctionalTests
{
public class Helpers
{
public static bool RunningOnMono
... | apache-2.0 | C# |
a2d1c2c096ccfbc56ceff2319164393dd4e2c149 | Fix formatting | smoogipooo/osu,peppy/osu,DrabWeb/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,DrabWeb/osu,naoey/osu,2yangk23/osu,naoey/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu-new,johnneijzen/osu,Neo... | osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs | osu.Game.Rulesets.Taiko/Judgements/TaikoSwellJudgement.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoSwellJudgement : TaikoJudgement
{
public override boo... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Taiko.Judgements
{
public class TaikoSwellJudgement : TaikoJudgement
{
public override boo... | mit | C# |
11f7174649986e67b8437b322f9ac64cb6531831 | change size | Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject,Borayvor/ASP.NET-MVC-CourseProject | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Forum/Views/AllPosts/Index.cshtml | EntertainmentSystem/Web/EntertainmentSystem.Web/Areas/Forum/Views/AllPosts/Index.cshtml | @using EntertainmentSystem.Web.Areas.Forum.Controllers
@using EntertainmentSystem.Web.Areas.Forum.ViewModels
@model PostsPageViewModel
<section id="es-forum-home">
<h1 class="text-left">Forum</h1>
<hr />
<div class="container">
@foreach (var post in Model.Posts)
{
@Html.Partia... | @using EntertainmentSystem.Web.Areas.Forum.Controllers
@using EntertainmentSystem.Web.Areas.Forum.ViewModels
@model PostsPageViewModel
<section id="es-forum-home">
<h1 class="text-left">Forum</h1>
<hr />
<div class="container">
@foreach (var post in Model.Posts)
{
@Html.Partia... | mit | C# |
1b0949438736047544c8c2acc83cea5887490ffb | add revese-proxy support | MCeddy/IoT-core | IoT-Core/Startup.cs | IoT-Core/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using IoT_Core.Models;
u... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using IoT_Core.Models;
u... | mit | C# |
27e2bcbb1c14f866bd755832e1a1a4b5c1cf8d94 | Fix wrong id used in DoNotUseCoroutines test | Kasperki/UnityEngineAnalyzer,Kasperki/UnityEngineAnalyzer | UnityEngineAnalyzer/UnityEngineAnalyzer.Test/Coroutines/DoNotUseCoroutinesAnalyzerTests.cs | UnityEngineAnalyzer/UnityEngineAnalyzer.Test/Coroutines/DoNotUseCoroutinesAnalyzerTests.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Text;
using NUnit.Framework;
using RoslynNUnitLight;
using UnityEngineAnalyzer.Coroutines;
namespace UnityEngineAnalyzer.Test.Coroutines
{
[TestFixture]
sealed class DoNotUseCoroutinesAnalyzerTests : AnalyzerT... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.CodeAnalysis.Text;
using NUnit.Framework;
using RoslynNUnitLight;
using UnityEngineAnalyzer.Coroutines;
namespace UnityEngineAnalyzer.Test.Coroutines
{
[TestFixture]
sealed class DoNotUseCoroutinesAnalyzerTests : AnalyzerT... | mit | C# |
8c23e4eaa72945abd4d03e66849814f5d9020541 | bump version | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.7.3.4")]
[assembly: AssemblyFileVersion("0.7.3.4")]
| using System.Reflection;
[assembly: AssemblyVersion("0.7.3.3")]
[assembly: AssemblyFileVersion("0.7.3.3")]
| unlicense | C# |
bb3335a6dc3b026707aab0f9b9aafeebbab39b95 | Fix Throttle operator | emoacht/Monitorian | Source/Monitorian.Core/Helper/Throttle.cs | Source/Monitorian.Core/Helper/Throttle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Rx Throttle like operator
/// </summary>
public class Throttle
{
protec... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Threading;
namespace Monitorian.Core.Helper
{
/// <summary>
/// Rx Throttle like operator
/// </summary>
public class Throttle
{
protec... | mit | C# |
05a75570b3d69b069b2c3a634bc3d921cf28afed | Remove services from etcd on shutdown (Fixes #15) | LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp | src/KillrVideo/Listeners/RegisterWithEtcdListener.cs | src/KillrVideo/Listeners/RegisterWithEtcdListener.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading.Tasks;
using EtcdNet;
using Grpc.Core;
using KillrVideo.Configuration;
using KillrVideo.Host.Config;
using KillrVideo.Protobuf;
using KillrVideo.Protobuf.Services;
namespace KillrVideo.Li... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Threading.Tasks;
using EtcdNet;
using Grpc.Core;
using KillrVideo.Configuration;
using KillrVideo.Host.Config;
using KillrVideo.Protobuf;
using KillrVideo.Protobuf.Services;
namespace KillrVideo.Li... | apache-2.0 | C# |
c81acb0710e00a104c84495bb0a8378d3dc4d0c8 | update history test | RagtimeWilly/FplClient | src/FplClient.Tests/Clients/FplEntryHistoryClientTests.cs | src/FplClient.Tests/Clients/FplEntryHistoryClientTests.cs | using System.Net.Http;
using FplClient.Clients;
using NUnit.Framework;
namespace FplClient.Tests.Clients
{
[TestFixture]
public class FplEntryHistoryClientTests
{
private TestContext _context;
[SetUp]
public void Setup()
{
_context = new TestContext();
... | using System.Net.Http;
using FplClient.Clients;
using NUnit.Framework;
namespace FplClient.Tests.Clients
{
[TestFixture]
public class FplEntryHistoryClientTests
{
private TestContext _context;
[SetUp]
public void Setup()
{
_context = new TestContext();
... | mit | C# |
194bd21ea1833bf189b4e00b870c0fb1fd944583 | Use Id as plugin name if missed | JetBrains/ReSharperGallery,JetBrains/ReSharperGallery,JetBrains/ReSharperGallery | Website/Controllers/InternalController.cs | Website/Controllers/InternalController.cs | using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NuGetGallery.Filters;
namespace NuGetGallery.Controllers
{
[GoogleAnalyticsMeasurementProtocol]
public class InternalController : System.Web.Http.ApiController
{
private readonly IPackageService _packageService;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using NuGetGallery.Filters;
namespace NuGetGallery.Controllers
{
[GoogleAnalyticsMeasurementProtocol]
public class InternalController : System.Web.Http.ApiController
{
private readonly IPackageService _packag... | apache-2.0 | C# |
12d7fea52fd13f830807593e44b3ad2da49fc39a | Update FontStyleTypeConverter.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Serializer.Xaml/Converters/FontStyleTypeConverter.cs | src/Serializer.Xaml/Converters/FontStyleTypeConverter.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.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#endif
using Core2D.Style;
using Portable.Xaml.ComponentModel;
namespace... | // 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.Globalization;
#if NETSTANDARD1_3
using System.ComponentModel;
#else
using Portable.Xaml.ComponentModel;
#endif
using Core2D.Style;
nam... | mit | C# |
c84b4707e3cf92d3c85b7d07ae36985e25e0fd8d | Add locations to allow scopes to dictionary | dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopO... | src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Identity/IdentityService.cs | src/Mobile/eShopOnContainers/eShopOnContainers.Core/Services/Identity/IdentityService.cs | using IdentityModel.Client;
using System;
using System.Collections.Generic;
namespace eShopOnContainers.Core.Services.Identity
{
public class IdentityService : IIdentityService
{
public string CreateAuthorizationRequest()
{
// Create URI to authorization endpoint
var au... | using IdentityModel.Client;
using System;
using System.Collections.Generic;
namespace eShopOnContainers.Core.Services.Identity
{
public class IdentityService : IIdentityService
{
public string CreateAuthorizationRequest()
{
// Create URI to authorization endpoint
var au... | mit | C# |
d816cb2f57d51b0d8faf14bb215103ff52cb6ac3 | Move GC initialization into a static constructor | jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm | runtime/GC.cs | runtime/GC.cs | using System.Runtime.InteropServices;
namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
/// <summary>
/// Initializes the garbage collector.
/// </summary>
sta... | using System.Runtime.InteropServices;
namespace __compiler_rt
{
/// <summary>
/// Garbage collection functionality that can be used by the compiler.
/// </summary>
public static unsafe class GC
{
private static extern void* GC_malloc(ulong size);
private static extern void GC_init()... | mit | C# |
b410afa24226454d5342b34ccbf974cc19e7646e | Use var instead. | dlemstra/Magick.NET,dlemstra/Magick.NET | src/Magick.NET/Helpers/UTF8Marshaler.cs | src/Magick.NET/Helpers/UTF8Marshaler.cs | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace ImageMagick
{
internal sealed class UTF8Marshaler : INativeInstance
{
private UTF8Marshaler(string? val... | // Copyright Dirk Lemstra https://github.com/dlemstra/Magick.NET.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace ImageMagick
{
internal sealed class UTF8Marshaler : INativeInstance
{
private UTF8Marshaler(string? val... | apache-2.0 | C# |
bde6db44fb1c81b77b7aad13d061ec17a2fd67db | Clean up the BusClientFactory | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit.vNext/BusClientFactory.cs | src/RawRabbit.vNext/BusClientFactory.cs | using System;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using RawRabbit.Configuration;
using RawRabbit.Logging;
namespace RawRabbit.vNext
{
public class BusClientFactory
{
public static BusClient CreateDefault(TimeSpan requestTimeout)
{
return CreateDefault(new R... | using System;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using RawRabbit.Common;
using RawRabbit.Configuration;
using RawRabbit.Context;
using RawRabbit.Logging;
using RawRabbit.Operations.Contracts;
namespace RawRabbit.vNext
{
public class BusClientFactory
{
public st... | mit | C# |
3ed3fcf315ab1ffc5040c8cb39a05548aa7cc731 | Update ai/navmesh agents to stop pursuing during content display state. | drawcode/game-lib-engine | Engine/Game/Actor/NavMeshAgentFollowController.cs | Engine/Game/Actor/NavMeshAgentFollowController.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Engine.Game.Actor {
public class NavMeshAgentFollowController : MonoBehaviour {
public NavMeshAgent agent;
public Transform targetFollow;
// Use this for initialization
private ... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Engine.Game.Actor {
public class NavMeshAgentFollowController : MonoBehaviour {
public NavMeshAgent agent;
public Transform targetFollow;
// Use this for initialization
... | mit | C# |
924398e4bff5fa8f552f61fca1f9e5ce53567adf | add a mock class for tests that should not verify a link | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ConsoleVerification/TaskLinkTest.cs | ForgetTheMilk/ConsoleVerification/TaskLinkTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class TaskLinkTest : AssertionHelper
{
class IgnoreLinkValidator : ILinkValidator
{
public void Valid... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class TaskLinkTest : AssertionHelper
{
[Test]
public void CreateTask_DescriptionWithALink_SetLink()
{
... | apache-2.0 | C# |
9ddc43f0cfdd40bc833c625f1f9da0f864152bef | Fix unit test | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Queries/GetNewerTrainingProgrammeVersions/GetNewerTrainingProgrammeVersionsTests.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Queries/GetNewerTrainingProgrammeVersions/GetNewerTrainingProgrammeVersionsTests.cs | using AutoFixture;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Application.Queries.GetNewerTrainingProgrammeVersions;
using SFA.DAS.CommitmentsV2.Domain.Entities;
using SFA.DAS.CommitmentsV2.Domain.Interfaces;
using System;
using System.Coll... | using AutoFixture;
using FluentAssertions;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Application.Queries.GetNewerTrainingProgrammeVersions;
using SFA.DAS.CommitmentsV2.Domain.Entities;
using SFA.DAS.CommitmentsV2.Domain.Interfaces;
using System;
using System.Coll... | mit | C# |
e26f2fbb4336e06f91b5dd8b9155b16713773cd7 | Remove unnecessary named param. | eriawan/roslyn,mavasani/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,VSadov/roslyn,stephentoub/roslyn,KevinRansom/roslyn,AmadeusW/roslyn,KirillOsenkov/roslyn,jamesqo/roslyn,cston/roslyn,eriawan/roslyn,OmarTawfik/roslyn,brettfo/roslyn,xasx/roslyn,aelij/roslyn,paulvanbrenk/roslyn,shyamnamboodiripad/roslyn,abock/roslyn,ste... | src/Features/Core/Portable/RemoveUnnecessaryParentheses/AbstractRemoveUnnecessaryParenthesesCodeFixProvider.cs | src/Features/Core/Portable/RemoveUnnecessaryParentheses/AbstractRemoveUnnecessaryParenthesesCodeFixProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Micro... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Micro... | mit | C# |
64c140c7f49dc7e88d220e9546a3181537de1d1e | fix Properties in PredicateSegment. | sdcb/ibatis2sdmap | ibatis2sdmap/src/ibatis2sdmap/SqlSegments/PredicateSegment.cs | ibatis2sdmap/src/ibatis2sdmap/SqlSegments/PredicateSegment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace ibatis2sdmap.SqlSegments
{
public class PredicateSegment : SqlSegment
{
public string MacroName { get; }
public string Property { get; }
public string[] P... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace ibatis2sdmap.SqlSegments
{
public class PredicateSegment : SqlSegment
{
public string MacroName { get; }
public string Property { get; }
public string Pro... | mit | C# |
33735b15aec08a86b6c9089a6c1fb4d1ee275021 | Update osu!direct beatmap sections sorting | ppy/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,2yangk23/osu,peppy/osu,NeoAdonis/osu,ZLima12/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,smo... | osu.Game/Online/API/Requests/SearchBeatmapSetsRequest.cs | osu.Game/Online/API/Requests/SearchBeatmapSetsRequest.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Game.Overlays;
using osu.Game.Overlays.Direct;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public clas... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Game.Overlays;
using osu.Game.Overlays.Direct;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public clas... | mit | C# |
d17d9cecbd20eac22a4dc2187483bb329efea3ed | Increase usable radius, allow configurability | duaiwe/ld36 | src/Assets/GameObjects/UsableObjComponent/UsableObjectCS.cs | src/Assets/GameObjects/UsableObjComponent/UsableObjectCS.cs | using UnityEngine;
using System.Collections;
/**
* Using this component:
*
* 1. Implement the UsableObject interface (Assets/CommonScripts/UsableObject) on a script component of your game object.
* 2. Add the UsableObjectTpl Prefab as a child of your game object.
* 3. Adjust Position of Transform, Radius/Offset... | using UnityEngine;
using System.Collections;
/**
* Using this component:
*
* 1. Implement the UsableObject interface (Assets/CommonScripts/UsableObject) on a script component of your game object.
* 2. Add the UsableObjectTpl Prefab as a child of your game object.
* 3. Adjust Position of Transform, Radius/Offset... | mit | C# |
b2a09def08121d507ecf34d9397783637cdca47a | Add the Key field to VoucherifyClientException | voucherifyio/voucherify-dotNET-sdk,voucherifyio/voucherify-dotNET-sdk | src/Voucherify/Core/Exceptions/VoucherifyClientException.cs | src/Voucherify/Core/Exceptions/VoucherifyClientException.cs | using Newtonsoft.Json;
using System;
namespace Voucherify.Core.Exceptions
{
[JsonObject]
public class VoucherifyClientException : Exception
{
[JsonIgnore]
private Exception internalException;
[JsonProperty(PropertyName = "message")]
public new string Message { get; private... | using Newtonsoft.Json;
using System;
namespace Voucherify.Core.Exceptions
{
[JsonObject]
public class VoucherifyClientException : Exception
{
[JsonIgnore]
private Exception internalException;
[JsonProperty(PropertyName = "message")]
public new string Message { get; private... | mit | C# |
1c6aef4418da3d441e3ae2e4e8a3e631450fff91 | fix ConsumerCacheService bug | phatboyg/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit | src/Containers/MassTransit.ExtensionsDependencyInjectionIntegration/ConsumerCacheService.cs | src/Containers/MassTransit.ExtensionsDependencyInjectionIntegration/ConsumerCacheService.cs | // Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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
//
... | // Copyright 2007-2017 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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# |
359346c7e8221d3f085c9b32fad8592933c95ecb | Add new Gateway Sku | olydis/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,btasdoven/azure-sdk-for-net,samtoubia/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,hyonholee/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,pankajsn/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,begoldsm/azure-sdk-for-net,nath... | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/VirtualNetworkGatewaySkuTier.cs | src/ResourceManagement/Network/Microsoft.Azure.Management.Network/Generated/Models/VirtualNetworkGatewaySkuTier.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
... | mit | C# |
44ed399fa6126c61e82ab5cba0e64fdd76ee771d | Put RedMageJobData beside the method that returns it | quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/FFXIVProcess.cs | CactbotOverlay/FFXIVProcess.cs | using System;
using System.Diagnostics;
using System.Linq;
using Tamagawa.EnmityPlugin;
namespace Cactbot {
// Exposes the FFXIV game directly. Call FindProcess() regularly to update
// memory addresses when FFXIV is run or closed.
public class FFXIVProcess {
private Process process_ = null;
private FF... | using System;
using System.Diagnostics;
using System.Linq;
using Tamagawa.EnmityPlugin;
namespace Cactbot {
// Exposes the FFXIV game directly. Call FindProcess() regularly to update
// memory addresses when FFXIV is run or closed.
public class FFXIVProcess {
private Process process_ = null;
private FF... | apache-2.0 | C# |
bdd6df1a23292d8adb7377a61ce99591ee924daf | Call ShowPlayPauseControls and ShowNavigationControls setters in base constructor | martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager | MediaManager/Notifications/NotificationManagerBase.cs | MediaManager/Notifications/NotificationManagerBase.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MediaManager
{
public abstract class NotificationManagerBase : INotificationManager
{
protected NotificationManagerBase()
{
Enabled = true;
ShowPlayPauseControls = true;
ShowNavigat... | using System;
using System.Collections.Generic;
using System.Text;
namespace MediaManager
{
public abstract class NotificationManagerBase : INotificationManager
{
protected NotificationManagerBase()
{
Enabled = true;
}
private bool _enabled = true;
... | mit | C# |
d05ef019a2ef7bdec512870c3cd7e92c6facc0dd | Change namespace | tugberkugurlu/Owin.Limits,damianh/LimitsMiddleware,damianh/LimitsMiddleware | src/Owin.Limits.Tests/AppBuilderExtensions.cs | src/Owin.Limits.Tests/AppBuilderExtensions.cs | namespace Owin.Limits
{
using System;
internal static class AppBuilderExtensions
{
internal static Action<MidFunc> Use(this IAppBuilder builder)
{
return middleware => builder.Use(middleware);
}
internal static IAppBuilder Use(this Action<MidFunc> middleware, I... | namespace Owin
{
using System;
using Owin.Limits;
internal static class AppBuilderExtensions
{
internal static Action<MidFunc> Use(this IAppBuilder builder)
{
return middleware => builder.Use(middleware);
}
internal static IAppBuilder Use(this Action<MidFun... | mit | C# |
59b26718d365e50ac3df9934ab4c117028e9c56b | switch build verbosity to quiet | xbehave/xbehave.net,adamralph/xbehave.net | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", $"b... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", $"b... | mit | C# |
a3c9b4d102bc2b45a815d4903322d202b58defc9 | Destroy collider of visitor as soon as fading starts | CupWorks/IGJAM16 | Source/StaffStuff/Assets/Scripts/VisitorController.cs | Source/StaffStuff/Assets/Scripts/VisitorController.cs | using UnityEngine;
public class VisitorController : MonoBehaviour
{
public VisitorTypes visitorType = VisitorTypes.Cosplayer;
public float movmentSpeed = 5.0f;
public Vector3 moveTo = new Vector3(0.0f, 0.0f, 0.0f);
public VisitorMovementMode movementMode = VisitorMovementMode.Target;
private bool isDestroyed = fa... | using UnityEngine;
public class VisitorController : MonoBehaviour
{
public VisitorTypes visitorType = VisitorTypes.Cosplayer;
public float movmentSpeed = 5.0f;
public Vector3 moveTo = new Vector3(0.0f, 0.0f, 0.0f);
public VisitorMovementMode movementMode = VisitorMovementMode.Target;
private bool isDestroyed = fa... | mit | C# |
0887b5777041555334c4a14a86af161427e7d7f4 | Update Authorize attribute to use Bearer policy | drussilla/LearnWordsFast,drussilla/LearnWordsFast | src/LearnWordsFast.API/Controllers/TrainingController.cs | src/LearnWordsFast.API/Controllers/TrainingController.cs | using LearnWordsFast.API.Exceptions;
using LearnWordsFast.API.Services;
using LearnWordsFast.API.ViewModels.TrainingController;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace LearnWordsFast.API.Controllers
{
[Route("api/Training")]
[Auth... | using LearnWordsFast.API.Exceptions;
using LearnWordsFast.API.Services;
using LearnWordsFast.API.ViewModels.TrainingController;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace LearnWordsFast.API.Controllers
{
[Route("api/Training")]
[Auth... | mit | C# |
25d9e432c320226b2a6a9fce04ee91fd5edeccc2 | Remove space | JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,aaronpowell/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,mattbrailsford/Umbraco-CMS,NikRimington/Umbraco-CMS,marcemarc/Umbraco-CMS,hfloyd/Umbraco-CMS,umbraco/Um... | src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs | src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs | using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.EmailAddressAlias, "Email address", "email", IsParameterEditor = true, Icon="icon-message")]
public class EmailAddressPropertyEditor : PropertyEditor
{
p... | using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Web.PropertyEditors
{
[PropertyEditor(Constants.PropertyEditors.EmailAddressAlias, "Email address", "email", IsParameterEditor = true, Icon ="icon-message")]
public class EmailAddressPropertyEditor : PropertyEditor
{
... | mit | C# |
3ceb75ff604f91c106a0fa8a469c6a8452afbc8a | Disable hanging integration tests. | martincostello/electronicupdates,experiandataquality/electronicupdates,martincostello/electronicupdates,martincostello/electronicupdates,experiandataquality/electronicupdates,experiandataquality/electronicupdates,martincostello/electronicupdates,martincostello/electronicupdates,experiandataquality/electronicupdates,exp... | src/CSharp/MetadataWebApi/MetadataWebApi.Tests/RequiresServiceCredentialsFactAttribute.cs | src/CSharp/MetadataWebApi/MetadataWebApi.Tests/RequiresServiceCredentialsFactAttribute.cs | //-----------------------------------------------------------------------
// <copyright file="RequiresServiceCredentialsFactAttribute.cs" company="Experian Data Quality">
// Copyright (c) Experian. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using S... | //-----------------------------------------------------------------------
// <copyright file="RequiresServiceCredentialsFactAttribute.cs" company="Experian Data Quality">
// Copyright (c) Experian. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using S... | apache-2.0 | C# |
a117d6be925a0b090d40ca5ce1fe4223a946270d | Fix test for linux: use temp folder inside content root | umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,... | src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs | src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/HostedServices/TempFileCleanupTests.cs | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Infrastructure.HostedServices;
namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices... | using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.IO;
using Umbraco.Core.Logging;
using Umbraco.Infrastructure.HostedServices;
namespace Umbraco.Tests.UnitTests.Umbraco.Infrastructure.HostedServices... | mit | C# |
d145ed598f814dfd1c28613527380700ce89b7e5 | Update version to 2.1.0.0 | grantcolley/wpfcontrols | DevelopmentInProgress.WPFControls/Properties/AssemblyInfo.cs | DevelopmentInProgress.WPFControls/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 ... | apache-2.0 | C# |
ca158aecf7d0b86f9ba4c4428647053205d886b4 | Fix ArgumentNullException wrong name | corngood/omnisharp-server,mispencer/OmniSharpServer,x335/omnisharp-server,OmniSharp/omnisharp-server,corngood/omnisharp-server,svermeulen/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server,syl20bnr/omnisharp-server | OmniSharp/AutoComplete/Overrides/GetOverrideTargetsResponse.cs | OmniSharp/AutoComplete/Overrides/GetOverrideTargetsResponse.cs | using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.CSharp.Refactoring;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete.Overrides;
namespace OmniSharp.AutoComplete.Overrides {
... | using System;
using System.Collections.Generic;
using ICSharpCode.NRefactory.CSharp.Refactoring;
using ICSharpCode.NRefactory.CSharp.Resolver;
using ICSharpCode.NRefactory.CSharp.TypeSystem;
using ICSharpCode.NRefactory.TypeSystem;
using OmniSharp.AutoComplete.Overrides;
namespace OmniSharp.AutoComplete.Overrides {
... | mit | C# |
e0f3651cba281e5b42ea09b6575c60e2d3df1fd5 | fix bottom right corner on osx. | jkoritzinsky/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,SuperJMN/Avalonia,Perspex/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawso... | src/Avalonia.Controls/Primitives/PopupPositioning/ManagedPopupPositionerPopupImplHelper.cs | src/Avalonia.Controls/Primitives/PopupPositioning/ManagedPopupPositionerPopupImplHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Platform;
namespace Avalonia.Controls.Primitives.PopupPositioning
{
/// <summary>
/// This class is used to simplify integration of IPopupImpl implementations with popup positioner
/// </summary>
public class ManagedPopup... | using System;
using System.Collections.Generic;
using System.Linq;
using Avalonia.Platform;
namespace Avalonia.Controls.Primitives.PopupPositioning
{
/// <summary>
/// This class is used to simplify integration of IPopupImpl implementations with popup positioner
/// </summary>
public class ManagedPopup... | mit | C# |
49b547c83564fb47ba0a544a10022abb48ae2b85 | Update existing documentation for movie ids. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Get/Movies/TraktMovieIds.cs | Source/Lib/TraktApiSharp/Objects/Get/Movies/TraktMovieIds.cs | namespace TraktApiSharp.Objects.Get.Movies
{
using Newtonsoft.Json;
using System.Globalization;
/// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt movie.</summary>
public class TraktMovieIds
{
/// <summary>Gets or sets the Trakt numeric id.</summ... | namespace TraktApiSharp.Objects.Get.Movies
{
using Newtonsoft.Json;
using System.Globalization;
/// <summary>
/// A collection of ids for various web services for a Trakt movie.
/// </summary>
public class TraktMovieIds
{
/// <summary>
/// The Trakt numeric id for the movie... | mit | C# |
617c5d955c1084194abfdcb0ca86cd8e162ae584 | Update IUnitOfWork.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/IUnitOfWork.cs | TIKSN.Core/Data/IUnitOfWork.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IUnitOfWork : IDisposable, IAsyncDisposable
{
Task CompleteAsync(CancellationToken cancellationToken);
Task DiscardAsync(CancellationToken cancellationToken);
}
} | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IUnitOfWork : IDisposable
{
Task CompleteAsync(CancellationToken cancellationToken);
}
} | mit | C# |
81896884918031df0a6d7e976422f8dc3d97fad1 | Fix a crash bug(Win32) | Waynext/HttpLibrary.Net | src/HttpLibrary.Platform.Win32/DeviceInfoWin32.cs | src/HttpLibrary.Platform.Win32/DeviceInfoWin32.cs | using HttpLibrary.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace HttpLibrary.Platform.Win32
{
class DeviceInfoWin32 : IDeviceInfo
{
private string appName;
public string Application... | using HttpLibrary.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace HttpLibrary.Platform.Win32
{
class DeviceInfoWin32 : IDeviceInfo
{
private string appName;
public string Application... | mit | C# |
4a5a3ad0b1d531bdf122d65a36e03853b3200708 | Test distaccamenti Lecco fixato | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.API.SOVVF.FakeImplementations.Test/Modello/Organigramma/Test_GetUnitaOperativaRadice_Con_Dir_Com_Dist.cs | src/backend/SO115App.API.SOVVF.FakeImplementations.Test/Modello/Organigramma/Test_GetUnitaOperativaRadice_Con_Dir_Com_Dist.cs | //-----------------------------------------------------------------------
// <copyright file="Test_GetUnitaOperativaRadice_Con_Dir_Com_Dist.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the G... | //-----------------------------------------------------------------------
// <copyright file="Test_GetUnitaOperativaRadice_Con_Dir_Com_Dist.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the G... | agpl-3.0 | C# |
45e9c2862abb83c7b4af5161ccc444c2f3f5fc9f | Fix occasional YSOD under IIS7 when config changes | OrchardCMS/Orchard-Harvest-Website,LaserSrl/Orchard,cryogen/orchard,Serlead/Orchard,phillipsj/Orchard,omidnasri/Orchard,mgrowan/Orchard,vard0/orchard.tan,luchaoshuai/Orchard,johnnyqian/Orchard,openbizgit/Orchard,omidnasri/Orchard,smartnet-developers/Orchard,grapto/Orchard.CloudBust,salarvand/Portal,smartnet-developers/... | src/Orchard/Environment/DefaultHostEnvironment.cs | src/Orchard/Environment/DefaultHostEnvironment.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Hosting;
using Orchard.Mvc;
using Orchard.Services;
using Orchard.Utility.Extensions;
namespace Orchard.Environment
{
public class DefaultHostEnvironment : IHostEnvironment
{
pri... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Web;
using System.Web.Hosting;
using Orchard.Services;
using Orchard.Utility.Extensions;
namespace Orchard.Environment
{
public class DefaultHostEnvironment : IHostEnvironment
{
private readonly IClock... | bsd-3-clause | C# |
c4003f4d491f5fa28e565939d22bc9a13f667344 | update page title to Planet PowerShell | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Views/Authors/BusinessCard.cshtml | src/Firehose.Web/Views/Authors/BusinessCard.cshtml | @using Firehose.Web.Infrastructure
@model IAmACommunityMember
<div class="businessCard">
<span class="mugShot" style="background-image: url('@Model.GravatarImage()');"></span>
<p>
<strong>@Model.FirstName @Model.LastName</strong><br />
<span title="Planet PowerShell | @Model.ShortBioOrTagLine"... | @using Firehose.Web.Infrastructure
@model IAmACommunityMember
<div class="businessCard">
<span class="mugShot" style="background-image: url('@Model.GravatarImage()');"></span>
<p>
<strong>@Model.FirstName @Model.LastName</strong><br />
<span title="Planet Xamarin | @Model.ShortBioOrTagLine">@M... | mit | C# |
316948064199493c6823bf97d4493c0869983ede | Use Pascal casing for method name | nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS,nobuoka/WindowsRuntimeSupportLibForJS | WinRSJS.Runtime/Collections.cs | WinRSJS.Runtime/Collections.cs | using System;
using System.Collections.Generic;
namespace WinRSJS
{
public sealed class Collections
{
static public object /* IMap<?, ?> */ CreateMap(string keyTypeName, string valTypeName)
{
Type typeKey = Type.GetType(keyTypeName);
if (typeKey == null)
... | using System;
using System.Collections.Generic;
namespace WinRSJS
{
public sealed class Collections
{
static public object /* IMap<?, ?> */ createMap(string keyTypeName, string valTypeName)
{
Type typeKey = Type.GetType(keyTypeName);
if (typeKey == null)
... | apache-2.0 | C# |
5d8a901eb5d086b972318261f766981ccb4fc03e | Add logging if HMRC should not return a name for the empref | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetHmrcEmployerInformation/GetHmrcEmployerInformationHandler.cs | src/SFA.DAS.EmployerApprenticeshipsService.Application/Queries/GetHmrcEmployerInformation/GetHmrcEmployerInformationHandler.cs | using System.Data;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EAS.Application.Queries.GetPayeSchemeInUse;
using SFA.DAS.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EAS.Application.Queries.GetHmrcEmployerInformation
{
public class GetHmrcEmployerInf... | using System.Data;
using System.Threading.Tasks;
using MediatR;
using SFA.DAS.EAS.Application.Queries.GetPayeSchemeInUse;
using SFA.DAS.Validation;
using SFA.DAS.EAS.Domain.Interfaces;
using SFA.DAS.NLog.Logger;
namespace SFA.DAS.EAS.Application.Queries.GetHmrcEmployerInformation
{
public class GetHmrcEmployerInf... | mit | C# |
a20852c6e4309a60317858e151913106f8775f0f | implement generate random number for ChargeUtils | innerfence/chargedemo-windows | InnerFence.ChargeDemo.Phone/ChargeAPI/ChargeUtilsPhone.cs | InnerFence.ChargeDemo.Phone/ChargeAPI/ChargeUtilsPhone.cs | using System;
using System.Collections.Generic;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace InnerFence.ChargeAPI
{
public static partial class ChargeUtils
{
private static RandomNumberGenerator s_rng... | using System;
using System.Collections.Generic;
using System.IO.IsolatedStorage;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace InnerFence.ChargeAPI
{
public static partial class ChargeUtils
{
public static void DeleteLocalData(string key)
{
IsolatedS... | mit | C# |
255cbab7d0fb9178b1436841defe3788edd4e637 | Fix formatting | meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework,meziantou/Meziantou.Framework | tests/Meziantou.Framework.Win32.ProjectedFileSystem.Tests/ProjectedFileSystemFactAttribute.cs | tests/Meziantou.Framework.Win32.ProjectedFileSystem.Tests/ProjectedFileSystemFactAttribute.cs | using System;
using System.IO;
using Xunit;
namespace Meziantou.Framework.Win32.ProjectedFileSystem
{
[AttributeUsage(AttributeTargets.All)]
public sealed class ProjectedFileSystemFactAttribute : FactAttribute
{
public ProjectedFileSystemFactAttribute()
{
var guid = Guid.NewGui... | using System;
using System.IO;
using Xunit;
namespace Meziantou.Framework.Win32.ProjectedFileSystem
{
[AttributeUsage(AttributeTargets.All)]
public sealed class ProjectedFileSystemFactAttribute : FactAttribute
{
public ProjectedFileSystemFactAttribute()
{
va... | mit | C# |
b43c6bd3b501ed8906cfcc1ca0abcc9e61c31d54 | Implement PlayerPrefs for score storage | 00christian00/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,00christian00/unity3d-levelup,00christian00/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup | Soomla/Assets/Plugins/Soomla/Levelup/data/ScoreStorage.cs | Soomla/Assets/Plugins/Soomla/Levelup/data/ScoreStorage.cs | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable l... | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unless required by applicable l... | apache-2.0 | C# |
9dba94d6fa7531cd2dc7f2b8debbe6f88fbbfa89 | Bump Version | UniqProject/BDInfo | BDInfo/Properties/AssemblyInfo.cs | BDInfo/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... | lgpl-2.1 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.