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 |
|---|---|---|---|---|---|---|---|---|
f1ee3e9d24d2b1bfd1fcb82d4a8cba6e451571af | Add License #region. | PenguinF/sandra-three | Sandra.UI.WF/Storage/PType.cs | Sandra.UI.WF/Storage/PType.cs | #region License
/*********************************************************************************
* PType.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... | /*********************************************************************************
* PType.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* 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 ... | apache-2.0 | C# |
c31bf068b726120211edea328e9519090d777a8f | Fix test. | CobraCalle/helix-toolkit,smischke/helix-toolkit,helix-toolkit/helix-toolkit,0x53A/helix-toolkit,jotschgl/helix-toolkit,Iluvatar82/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ---------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// ---------------------------------------------------------------------... | mit | C# |
f1f36647d725c53ac032408b0483bd04f98e7b57 | Add SafeLazyChildSyntaxOrEmpty. | PenguinF/sandra-three | Sandra.Chess/Pgn/PgnEmptySyntax.cs | Sandra.Chess/Pgn/PgnEmptySyntax.cs | #region License
/*********************************************************************************
* PgnEmptySyntax.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | #region License
/*********************************************************************************
* PgnEmptySyntax.cs
*
* Copyright (c) 2004-2020 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You ma... | apache-2.0 | C# |
b5abc67de985efb63f242105f8fbcfad90b92474 | remove the old monospace thing from yesterday | liddictm/BrawlManagers,liddictm/BrawlManagers,libertyernie/BrawlManagers,libertyernie/BrawlManagers | StageManager/NameCreator.cs | StageManager/NameCreator.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace BrawlStageManager {
public class NameCreator {
public static NameCreatorSettings selectFont(NameCreatorSettings previous = null) {
using (NameCreatorDialog d = new NameCreatorDialog()) {
if (previous != null) d.Settings = previous;
... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace BrawlStageManager {
public class NameCreator {
public static NameCreatorSettings selectFont(NameCreatorSettings previous = null) {
using (NameCreatorDialog d = new NameCreatorDialog()) {
if (previous != null) d.Settings = previous;
... | mit | C# |
0699cb6e6895bbc8099c49641e49209a4c3b75c3 | Add TroubleshootingTests ShowBuildPlan | kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap,kendaleiv/di-servicelocation-structuremap | Tests/TroubleshootingTests.cs | Tests/TroubleshootingTests.cs | using Core;
using StructureMap;
using System.Diagnostics;
using Xunit;
namespace Tests
{
public class TroubleshootingTests
{
[Fact]
public void ShowBuildPlan()
{
var container = new Container(x =>
{
x.For<IService>().Use<Service>();
}... | using Core;
using StructureMap;
using System.Diagnostics;
using Xunit;
namespace Tests
{
public class TroubleshootingTests
{
[Fact]
public void WhatDoIHave()
{
var container = new Container(x =>
{
x.For<IService>().Use<Service>();
});... | mit | C# |
79e36fc54b2c9ed8daaa9d182eee83db7bd4d2de | Update MessageData.cs | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet | src/Microsoft.ApplicationInsights/Extensibility/Implementation/External/MessageData.cs | src/Microsoft.ApplicationInsights/Extensibility/Implementation/External/MessageData.cs | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.External
{
using System;
using System.Diagnostics;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
/// <summary>
/// Partial class to add the EventData attribute and any additional cust... | namespace Microsoft.ApplicationInsights.Extensibility.Implementation.External
{
using System;
using System.Diagnostics;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.DataContracts;
/// <summary>
/// Partial class to add the EventData attribute and any additional cust... | mit | C# |
6873a2399354b1dea3d5f7ac69cbb2e6063db18d | Add using | DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.Cake/Services/RequestHandlers/Navigation/FindSymbolsHandler.cs | src/OmniSharp.Cake/Services/RequestHandlers/Navigation/FindSymbolsHandler.cs | using System;
using System.Composition;
using System.Threading.Tasks;
using OmniSharp.Cake.Extensions;
using OmniSharp.Extensions;
using OmniSharp.Mef;
using OmniSharp.Models;
using OmniSharp.Models.FindSymbols;
using static OmniSharp.Cake.Constants;
namespace OmniSharp.Cake.Services.RequestHandlers.Navigation
{
[... | using System;
using System.Composition;
using System.Threading.Tasks;
using OmniSharp.Cake.Extensions;
using OmniSharp.Extensions;
using OmniSharp.Mef;
using OmniSharp.Models;
using OmniSharp.Models.FindSymbols;
namespace OmniSharp.Cake.Services.RequestHandlers.Navigation
{
[OmniSharpHandler(OmniSharpEndpoints.Fin... | mit | C# |
f6b10eab266200fc8289ae76e2d39870fae47750 | Put StreamReader into using blog | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | src/DotVVM.Framework/ResourceManagement/InlineStylesheetResource.cs | using System;
using System.IO;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Newtonsoft.Json;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// CSS in header. It's perfect for small css. For example critical CSS.
/// </summary>
public class InlineStylesheetResou... | using System;
using System.IO;
using DotVVM.Framework.Controls;
using DotVVM.Framework.Hosting;
using Newtonsoft.Json;
namespace DotVVM.Framework.ResourceManagement
{
/// <summary>
/// CSS in header. It's perfect for critical CSS.
/// </summary>
public class InlineStylesheetResource : ResourceBase
... | apache-2.0 | C# |
bba9ced1409ae069b6d16946a054cab2c21165d3 | Allow using 2 digit tags | Sitecore/Sitecore-Instance-Manager | src/SIM.ContainerInstaller/Repositories/TagRepository/GitHubTagRepository.cs | src/SIM.ContainerInstaller/Repositories/TagRepository/GitHubTagRepository.cs | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using SIM.ContainerInstaller.Repositories.TagRepository.Models;
using SIM.ContainerInstaller.Repositories.TagRepository.Parsers;
namespace SIM.ContainerInstaller.Repositories.TagRepository
{
public class GitHubTagRepository :... | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using SIM.ContainerInstaller.Repositories.TagRepository.Models;
using SIM.ContainerInstaller.Repositories.TagRepository.Parsers;
namespace SIM.ContainerInstaller.Repositories.TagRepository
{
public class GitHubTagRepository :... | mit | C# |
7ed04de826d20790f7fddde8e1bc46ca629ac7f9 | Fix build | suvroc/WebAPI-OWASP-App-Sensor | Tests/Owasp.AppSensor.Demo.Tests/RE1.TestUnexpectedHttpCommand.cs | Tests/Owasp.AppSensor.Demo.Tests/RE1.TestUnexpectedHttpCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Owin.Testing;
using Newtonsoft.Json;
using NUnit.Framework;
using Owasp.AppSensor.Demo.Api;
namespace Owasp.AppSensor.Demo.Tests
{
[TestFixture]
public class TestUnexpectedHttpCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Owin.Testing;
using Newtonsoft.Json;
using NUnit.Framework;
using Owasp.AppSensor.Demo.Api;
namespace Owasp.AppSensor.Demo.Tests
{
[TestFixture]
public class TestUnexpectedHttpCo... | mit | C# |
057a77f35fad3057a0f699c72a52a1c2e88d80dc | Add xmldocs for GitHubContext | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports/Services/GitHubContext.cs | src/GitHub.Exports/Services/GitHubContext.cs | using GitHub.Exports;
using GitHub.Primitives;
namespace GitHub.Services
{
/// <summary>
/// Information used to map betwen a GitHub URL and some other context. This might be used to navigate
/// between a GitHub URL and the location a repository file. Alternatively it might be used to map between
///... | using GitHub.Exports;
using GitHub.Primitives;
namespace GitHub.Services
{
public class GitHubContext
{
public string Owner { get; set; }
public string RepositoryName { get; set; }
public string Host { get; set; }
public string BranchName { get; set; }
/// <summary>
... | mit | C# |
243b0c9e755372f10236ffc28306bda3c331a9ec | Update AssemblyInfo | ZacMarcus/YahooFinance.NET | YahooFinance.NET/Properties/AssemblyInfo.cs | YahooFinance.NET/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ya... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ya... | mit | C# |
293da35a504d9c96d801632113d478b36c94309d | Remove unnecessary using | rubberduck203/GitNStats,rubberduck203/GitNStats | tests/gitnstats.core.tests/Analysis/DateFilter.cs | tests/gitnstats.core.tests/Analysis/DateFilter.cs | using System;
using GitNStats.Core.Tests;
using Xunit;
using static GitNStats.Core.Analysis;
using static GitNStats.Core.Tests.Fakes;
namespace GitNStats.Tests.Analysis
{
public class DateFilter
{
static TimeSpan AdtOffset = new TimeSpan(-3,0,0);
static TimeSpan EstOffset = new TimeSpan(-4... | using System;
using GitNStats.Core.Tests;
using LibGit2Sharp;
using Xunit;
using static GitNStats.Core.Analysis;
using static GitNStats.Core.Tests.Fakes;
namespace GitNStats.Tests.Analysis
{
public class DateFilter
{
static TimeSpan AdtOffset = new TimeSpan(-3,0,0);
static TimeSpan EstOffs... | mit | C# |
307d94a9d03cd9b9c0cc387ec0c7789f6d99eb68 | comment modified | marek-vysoky/box-windows-sdk-v2,box/box-windows-sdk-v2 | Box.V2/Models/BoxPreflightCheck.cs | Box.V2/Models/BoxPreflightCheck.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Box.V2.Models
{
/// <summary>
/// Box representation of a preflight check response
/// </summary>
public class BoxPreflightCheck
{
public const string FieldUploadUrl = "up... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Box.V2.Models
{
/// <summary>
/// Box representation of a preflight check response
/// </summary>
public class BoxPreflightCheck
{
public const string FieldUploadUrl = "up... | apache-2.0 | C# |
2beb08e090fe527e4322b96e99894e763d11d0d3 | Test Scan being lazy | smzinovyev/MoreLINQ,ddpruitt/morelinq,morelinq/MoreLINQ,Agbar/MoreLINQ,Agbar/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq,fsateler/MoreLINQ,morelinq/MoreLINQ | MoreLinq.Test/ScanTest.cs | MoreLinq.Test/ScanTest.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//... | apache-2.0 | C# |
cd727671501d64b98c2588fa2a93009e651b5874 | Update NameProtection.cs | Desolath/ConfuserEx3 | Confuser.Renamer/NameProtection.cs | Confuser.Renamer/NameProtection.cs | using System;
using System.IO;
using Confuser.Core;
namespace Confuser.Renamer {
internal class NameProtection : Protection {
public const string _Id = "rename";
public const string _FullId = "Ki.Rename";
public const string _ServiceId = "Ki.Rename";
public override string Name {
get { return "Name Prote... | using System;
using System.IO;
using Confuser.Core;
namespace Confuser.Renamer {
internal class NameProtection : Protection {
public const string _Id = "rename";
public const string _FullId = "Ki.Rename";
public const string _ServiceId = "Ki.Rename";
public override string Name {
get { return "Name Prote... | mit | C# |
2d6b7df6832085510f242e2e5d86e1450c6a507c | Update AssemblyInfo.cs | Softlr/selenium-webdriver-extensions,Softlr/selenium-webdriver-extensions,RaYell/selenium-webdriver-extensions,Softlr/Selenium.WebDriver.Extensions | test/Selenium.WebDriver.Extensions.Tests/Properties/AssemblyInfo.cs | test/Selenium.WebDriver.Extensions.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Selenium.WebDriver.Extensions.Tests")]
[a... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Selenium.WebDriver.Extensions.Tests")]
[a... | apache-2.0 | C# |
6cdd8d774bfdecc74c0204002e99296364507f47 | Fix OfficerAppointmentLink tests | kevbite/CompaniesHouse.NET | src/CompaniesHouse.Tests/CompaniesHouseOfficersAppointmentClientTests/OfficerBuilder.cs | src/CompaniesHouse.Tests/CompaniesHouseOfficersAppointmentClientTests/OfficerBuilder.cs | using AutoFixture;
using CompaniesHouse.Response.Officers;
namespace CompaniesHouse.Tests.CompaniesHouseOfficersAppointmentClientTests
{
public static class OfficerBuilder
{
public static ResourceBuilders.Officer Build(CompaniesHouseOfficerByAppointmentTestCase testCase)
{
var fixtu... | using AutoFixture;
namespace CompaniesHouse.Tests.CompaniesHouseOfficersAppointmentClientTests
{
public static class OfficerBuilder
{
public static ResourceBuilders.Officer Build(CompaniesHouseOfficerByAppointmentTestCase testCase)
{
var fixture = new Fixture();
fixture.... | mit | C# |
2ad77f005b6fad299f2bc28e117ce41ebb451b80 | Add static to class definition because reasons. | Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net | LearnosityDemo/Program.cs | LearnosityDemo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo
{
public static class Program
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace LearnosityDemo
{
public class Program
{
publi... | apache-2.0 | C# |
9d3e9c513e9fc6bdf9f19ed0e5febb16ec7d2c71 | Update WebDownloader.cs | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | using System;
using System.IO;
using System.Net;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sharedDownloader = n... | mit | C# |
46ee71c2ea5020aeb42db77f4834ec903dcf72a8 | Fix declaration of P/Invoke methods. | cube-soft/Cube.FileSystem,cube-soft/Cube.Core,cube-soft/Cube.Core,cube-soft/Cube.FileSystem | Libraries/NativeMethods/Shell32.cs | Libraries/NativeMethods/Shell32.cs | /* ------------------------------------------------------------------------- */
///
/// Copyright (c) 2010 CubeSoft, Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// ht... | /* ------------------------------------------------------------------------- */
///
/// Copyright (c) 2010 CubeSoft, Inc.
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may obtain a copy of the License at
///
/// ht... | apache-2.0 | C# |
c3511fcfadf9296da2b787a435d8585d7ba8e9d3 | Include Headers property in ApiException | actionshrimp/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,AnthonySteele/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,danhaller/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,knocte/SevenDigital.... | src/SevenDigital.Api.Wrapper/Exceptions/ApiException.cs | src/SevenDigital.Api.Wrapper/Exceptions/ApiException.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Runtime.Serialization;
using SevenDigital.Api.Wrapper.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiException : Exception
{
public string Uri { get; internal set; }
public HttpStatusCode Sta... | using System;
using System.Net;
using System.Runtime.Serialization;
using SevenDigital.Api.Wrapper.Http;
namespace SevenDigital.Api.Wrapper.Exceptions
{
public abstract class ApiException : Exception
{
public string Uri { get; internal set; }
public HttpStatusCode StatusCode { get; private set; }
pu... | mit | C# |
2fc2bd6e29cb2ef37aea34f059cc88efc32d64df | Fix assertion for CPlusPlusSWIGBindingGeneratorWorksTest on Windows | Protobuild/Protobuild,hach-que/Protobuild,hach-que/Protobuild,Protobuild/Protobuild,silasary/Protobuild,silasary/Protobuild,Protobuild/Protobuild,Protobuild/Protobuild,silasary/Protobuild,Protobuild/Protobuild,hach-que/Protobuild | Protobuild.FunctionalTests/CPlusPlusSWIGBindingGeneratorWorksTest.cs | Protobuild.FunctionalTests/CPlusPlusSWIGBindingGeneratorWorksTest.cs | namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class CPlusPlusSWIGBindingGeneratorWorksTest : ProtobuildTest
{
[Fact]
public void GenerationIsCorrect()
{
this.SetupTest("CPlusPlusSWIGBindingGeneratorWorks");
this.Generate("Windows");
... | namespace Protobuild.Tests
{
using System.IO;
using Xunit;
public class CPlusPlusSWIGBindingGeneratorWorksTest : ProtobuildTest
{
[Fact]
public void GenerationIsCorrect()
{
this.SetupTest("CPlusPlusSWIGBindingGeneratorWorks");
this.Generate("Windows");
... | mit | C# |
af4c643bceb5becac0c09032d51603afd3550db0 | Update custom_web_view doc region to only include BookshelfWebViewPage<T> class | GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet | aspnet/4-auth/Views/BookshelfWebViewPage.cs | aspnet/4-auth/Views/BookshelfWebViewPage.cs | using System.Web.Mvc;
using GoogleCloudSamples.Models;
namespace GoogleCloudSamples.Views
{
// [START custom_web_view]
public abstract class BookshelfWebViewPage<TModel> : WebViewPage<TModel>
{
public User CurrentUser => new User(this.User);
}
// [END custom_web_view]
publ... | using System.Web.Mvc;
using GoogleCloudSamples.Models;
// [START custom_web_view]
namespace GoogleCloudSamples.Views
{
public abstract class BookshelfWebViewPage<TModel> : WebViewPage<TModel>
{
public User CurrentUser => new User(this.User);
}
public abstract class BookshelfWebView... | apache-2.0 | C# |
bd5d3743950a8d5a7fdce0c5864c85e3c0b85134 | Add apollographql client name and version HTTP headers | ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates | Source/GraphQLTemplate/Source/GraphQLTemplate/ApplicationBuilderExtensions.cs | Source/GraphQLTemplate/Source/GraphQLTemplate/ApplicationBuilderExtensions.cs | namespace GraphQLTemplate
{
using System;
using System.Linq;
using Boxed.AspNetCore;
using GraphQLTemplate.Constants;
using GraphQLTemplate.Options;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
public static partial class Applica... | namespace GraphQLTemplate
{
using System;
using System.Linq;
using Boxed.AspNetCore;
using GraphQLTemplate.Constants;
using GraphQLTemplate.Options;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Serilog;
public static partial class Applica... | mit | C# |
b2e8a02f92bce7caab5437f28650f1b1b8ff51ed | Update HtmlHelperExtensions to take baseUri | mike-ward/Nancy.Markdown.Blog,mike-ward/Nancy.Markdown.Blog | Nancy.Blog/HtmlHelperExtensions.cs | Nancy.Blog/HtmlHelperExtensions.cs | using System.IO;
using Nancy.ViewEngines.Razor;
namespace Nancy.Markdown.Blog
{
public static class HtmlHelperExtensions
{
public static IHtmlString Markdown<TModel>(this HtmlHelpers<TModel> helpers, string text, string baseUri = null)
{
var md = new MarkdownDeep.Markdown {ExtraMod... | using System.IO;
using MarkdownDeep;
using Nancy.ViewEngines.Razor;
namespace Nancy.Markdown.Blog
{
public static class HtmlHelperExtensions
{
public static IHtmlString Markdown<TModel>(this HtmlHelpers<TModel> helpers, string text)
{
var md = new MarkdownDeep.Markdown {ExtraMode =... | mit | C# |
74d57221f805ad341dc2089bf0c0a7ff6c014a71 | change xml documentation comments | saideldah/BLogicEngine | RuleEngine/RuleManager.cs | RuleEngine/RuleManager.cs | using System;
using Jint;
using System.Web.Script.Serialization;
namespace RuleEngine
{
public class RuleManager
{
/// <summary>
/// function to validate json object based on JavaScript Logical Expression
/// </summary>
/// <param name="jsLogicalExpression">JavaScript Logical E... | using System;
using Jint;
using System.Web.Script.Serialization;
namespace RuleEngine
{
public class RuleManager
{
/// <summary>
/// function to validate json object based on JavaScript Logical Expression
/// </summary>
/// <param name="jsLogicalExpression">JavaScript Logical E... | mit | C# |
3a05d4af3ce0bc6a08f8bb0337e9cdfb201e1680 | Convert SassCompiler to use new tree structure and make sure it still works, | akatakritos/SassSharp | SassSharp/SassCompiler.cs | SassSharp/SassCompiler.cs | using SassSharp.Ast;
using SassSharp.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp
{
public class SassCompiler
{
public string Compile(string sass)
{
var tokenizer = new Tokenizer();
... | using SassSharp.Ast;
using SassSharp.Tokens;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassSharp
{
public class SassCompiler
{
public string Compile(string sass)
{
var tokenizer = new Tokenizer();
... | mit | C# |
c76897332505ddf2cd59f17ecf9f149e1eb46aa2 | Include components namespace | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection | Views/_ViewImports.cshtml | Views/_ViewImports.cshtml | @using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@using Cash_Flow_Projection
@using Cas... | @using Cash_Flow_Projection
@using System.Net.Http
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using Microsoft.AspNetCore.Components.Routing
@using Microsoft.AspNetCore.Components.Web
@using Microsoft.JSInterop
@addTagHel... | mit | C# |
31887c26b965f3c4b299a105c124424475028d77 | Return the preprocessor command | FlorianRappl/Mages,FlorianRappl/Mages | src/Mages.Core/Tokens/PreprocessorToken.cs | src/Mages.Core/Tokens/PreprocessorToken.cs | namespace Mages.Core.Tokens
{
using Mages.Core.Source;
using System;
sealed class PreprocessorToken : IToken
{
private readonly TextPosition _start;
private readonly TextPosition _end;
private readonly String _payload;
public PreprocessorToken(String payload, TextPosit... | namespace Mages.Core.Tokens
{
using System;
sealed class PreprocessorToken : IToken
{
private readonly TextPosition _start;
private readonly TextPosition _end;
private readonly String _payload;
public PreprocessorToken(String payload, TextPosition start, TextPosition end)
... | mit | C# |
5f863f2c0dc27ca3cc722339a6dad7d49e36200b | Remove InvocationReasons enum boxing | nguerrera/roslyn,mgoertz-msft/roslyn,VSadov/roslyn,agocke/roslyn,lorcanmooney/roslyn,wvdd007/roslyn,KevinRansom/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,Giftednewt/roslyn,robinsedlaczek/roslyn,ErikSchierboom/roslyn,TyOverby/roslyn,tmeschter/roslyn,mavasani/roslyn,sharwell/roslyn,srivatsn/rosl... | src/Workspaces/Core/Portable/SolutionCrawler/InvocationReasons.cs | src/Workspaces/Core/Portable/SolutionCrawler/InvocationReasons.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
inter... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
inter... | mit | C# |
e9ba32b596ea7bd6451eaa0d0250b804f28d06d2 | Replace dispose method with destructor | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Test/Core/ArkadeProcessingAreaTest.cs | src/Arkivverket.Arkade.Test/Core/ArkadeProcessingAreaTest.cs | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Util;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class ArkadeProcessingAreaTest
{
private readonly string _locationPath;
private readonly DirectoryInfo _location;
... | using System;
using System.IO;
using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Util;
using FluentAssertions;
using Xunit;
namespace Arkivverket.Arkade.Test.Core
{
public class ArkadeProcessingAreaTest : IDisposable
{
private readonly string _locationPath;
private readonly DirectoryInfo... | agpl-3.0 | C# |
f974897dec2f4f8efe0017034680953b02238e92 | Add authentication type to AuthenticateResponse (#5116) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs | src/Nest/XPack/Security/Authenticate/AuthenticateResponse.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
public class RealmInfo
{... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Nest
{
public class RealmInfo
{... | apache-2.0 | C# |
3ae4af53ff809aa905e3e3078e1203aeb3496c4b | Fix typo | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Controllers/IWQController.cs | Battery-Commander.Web/Controllers/IWQController.cs | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BatteryCommander.Web.Serv... | using BatteryCommander.Web.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BatteryCommander.Web.Serv... | mit | C# |
d3ec8b11b7b4103513378032b12b919286e4b4ed | Update Import.cshtml | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Views/Soldiers/Import.cshtml | Battery-Commander.Web/Views/Soldiers/Import.cshtml | <form method="post" enctype="multipart/form-data" asp-controller="Soldiers" asp-action="Import">
@Html.AntiForgeryToken()
@Html.Hidden("unitId", (int)ViewBag.UnitId)
<div class="form-group">
<div class="col-md-10">
<p>
In DTMS, go to Reporting -> Soldier -> Soldier Roste... | <form method="post" enctype="multipart/form-data" asp-controller="Soldiers" asp-action="Import">
@Html.AntiForgeryToken()
@Html.Hidden("unitId", ViewBag.UnitId)
<div class="form-group">
<div class="col-md-10">
<p>
In DTMS, go to Reporting -> Soldier -> Soldier Roster.
... | mit | C# |
eb187482ee4c5afd57eb6ffe3f990b9c351f6b38 | Update IApplicationDbContext | ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE,ivantomchev/ImdbLiteSE | Source/Data/ImdbLite.Data/IApplicationDbContext.cs | Source/Data/ImdbLite.Data/IApplicationDbContext.cs | namespace ImdbLite.Data
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using ImdbLite.Data.Models;
public interface IApplicationDbContext
{
IDbSet<Celebrity> Celebrities { get; set; }
IDbSet<Movie> Movies { get; set; }
IDbSet<Genre... | namespace ImdbLite.Data
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using ImdbLite.Data.Models;
public interface IApplicationDbContext
{
int SaveChanges();
void Dispose();
DbEntityEntry<TEntity> Entry<TEntity>(TEntity entity) w... | mit | C# |
38540a639895feab4d8868ee46d9f0c7608ee0b7 | update empty template | IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates,IdentityServer/IdentityServer4.Templates | src/IdentityServer4Empty/Startup.cs | src/IdentityServer4Empty/Startup.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using M... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using M... | apache-2.0 | C# |
0ca72d245472866f80a509bfa59277213b7d2cec | fix param ordering | SixLabors/Fonts | src/SixLabors.Fonts/TextRenderer.cs | src/SixLabors.Fonts/TextRenderer.cs | using SixLabors.Primitives;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
namespace SixLabors.Fonts
{
/// <summary>
/// Encapulated logic for laying out and then rendering text to a <see cref="IGlyphR... | using SixLabors.Primitives;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
namespace SixLabors.Fonts
{
/// <summary>
/// Encapulated logic for laying out and then rendering text to a <see cref="IGlyphR... | apache-2.0 | C# |
4380c6878bb2cf2fcc17f043c8a5951fd1824cb5 | Change some clock widget settings names | danielchalmers/DesktopWidgets | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | DesktopWidgets/WidgetBase/Settings/WidgetClockSettingsBase.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
protected WidgetClockSettingsBase()
{
Style.FontSettings.FontSize = 24;
}
[Catego... | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace DesktopWidgets.WidgetBase.Settings
{
public class WidgetClockSettingsBase : WidgetSettingsBase
{
protected WidgetClockSettingsBase()
{
Style.FontSettings.FontSize = 24;
}
[Catego... | apache-2.0 | C# |
091f9a937db24340483c842d8da49dae070f575e | Fix AddIfNullOrEmpty method | svedm/monodevelop-hg-addin | MonoDevelop.VersionControl.Mercurial/Hg.Net/ArgumentHelper.cs | MonoDevelop.VersionControl.Mercurial/Hg.Net/ArgumentHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Hg.Net
{
public class ArgumentHelper
{
private readonly List<string> _argumentsList;
public ArgumentHelper ()
{
_argumentsList = new List<string>();
}
public void AddIf(bool condition, params string[] argumen... | using System;
using System.Collections.Generic;
namespace Hg.Net
{
public class ArgumentHelper
{
private readonly List<string> _argumentsList;
public ArgumentHelper ()
{
_argumentsList = new List<string>();
}
public void AddIf(bool condition, params string[] arguments)
{
if (con... | mit | C# |
1e6e0c4d98ff443f0d52e75f684f4dcf1c76035f | Update validation rules in Stylet.Samples.ModelValidation | cH40z-Lord/Stylet,canton7/Stylet,canton7/Stylet,cH40z-Lord/Stylet | Samples/Stylet.Samples.ModelValidation/Pages/UserViewModel.cs | Samples/Stylet.Samples.ModelValidation/Pages/UserViewModel.cs | using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stylet.Samples.ModelValidation.Pages
{
public class UserViewModel : Screen
{
public string UserName { get; set; }
public string Email { get; set... | using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Stylet.Samples.ModelValidation.Pages
{
public class UserViewModel : Screen
{
public string UserName { get; set; }
public string Email { get; set... | mit | C# |
6b2863b8735591cc7c427c3aac4c33fd5abb2610 | Switch to v1.0.2 | Abc-Arbitrage/Zebus.Persistence,Abc-Arbitrage/Zebus | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.2")]
[assembly: AssemblyFileVersion("1.0.2")]
[assembly: AssemblyInformationalVersion("1.0.2")] | using System.Reflection;
[assembly: AssemblyVersion("1.0.1")]
[assembly: AssemblyFileVersion("1.0.1")]
[assembly: AssemblyInformationalVersion("1.0.1")] | mit | C# |
7ad713c33b8d44382e73517b82b87f1579f834b6 | Set default timeout to 100 seconds | ivandrofly/octokit.net,editor-tools/octokit.net,thedillonb/octokit.net,nsnnnnrn/octokit.net,Red-Folder/octokit.net,octokit-net-test-org/octokit.net,chunkychode/octokit.net,SamTheDev/octokit.net,gabrielweyer/octokit.net,editor-tools/octokit.net,octokit-net-test/octokit.net,Sarmad93/octokit.net,fffej/octokit.net,khellang... | Octokit/Http/Request.cs | Octokit/Http/Request.cs | using System;
using System.Collections.Generic;
using System.Net.Http;
namespace Octokit.Internal
{
public class Request : IRequest
{
public Request()
{
Headers = new Dictionary<string, string>();
Parameters = new Dictionary<string, string>();
AllowAutoRedir... | using System;
using System.Collections.Generic;
using System.Net.Http;
namespace Octokit.Internal
{
public class Request : IRequest
{
public Request()
{
Headers = new Dictionary<string, string>();
Parameters = new Dictionary<string, string>();
AllowAutoRedir... | mit | C# |
1c66f2fdaa23ace5bd2ce37cac195858f43d8465 | Sort the i18n keys by descending length Fix 'FullHP' getting overridden by 'Full'. | MeltWS/proshine,bobus15/proshine,Silv3rPRO/proshine | PROProtocol/Language.cs | PROProtocol/Language.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private class DescendingLengthComparer : IComparer<string>
{
public int Compare(string x, string y)
{
int resu... | using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private const string FileName = "Resources/Lang.xml";
private Dictionary<string, string> _texts = new Dictionary<string, string>();
public Language()
... | mit | C# |
6a1c2a487bdaf8b7603a5226e82df32340432cef | fix compilation | RubiusGroup/Realmius | RealmIos/AppDelegate.cs | RealmIos/AppDelegate.cs | using Foundation;
using Realms;
using RealmSync;
using RealmSync.Model;
using RealmSync.SyncService;
using UIKit;
namespace RealmIos
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) ... | using Foundation;
using Realms;
using RealmSync;
using RealmSync.Model;
using RealmSync.SyncService;
using UIKit;
namespace RealmIos
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) ... | apache-2.0 | C# |
a8528ac73c65bee69fe897cc79dbb7e3606b4ec3 | Update CameraKeyboardController.cs | quill18/MostlyCivilizedHexEngine | Assets/CameraKeyboardController.cs | Assets/CameraKeyboardController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraKeyboardController : MonoBehaviour {
// Use this for initialization
void Start () {
}
float moveSpeed = 3.5f;
// Update is called once per frame
void Update () {
Vector3 translat... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraKeyboardController : MonoBehaviour {
// Use this for initialization
void Start () {
}
float moveSpeed = 25;
// Update is called once per frame
void Update () {
Vector3 translate... | mit | C# |
6b978004523e7108ba8e680e679b5776c36cca45 | Use physics for player movement | TheBeardFarm/Tethered | Assets/Scripts/PlayerController.cs | Assets/Scripts/PlayerController.cs | using System;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
public class PlayerController : MonoBehaviour
{
private Animator _animator;
private Rigidbody2D _rb2d;
private float _horizontalSpeed = 5f;
[SerializeField]
private PlayerIdentity _identity;
private void Start()
{
_rb2d = GetComponent... | using System;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
private Animator _animator;
private float _horizontalSpeed = 5f;
[SerializeField]
private PlayerIdentity _identity;
private void Start()
{
}
private void Update()
{
HandleInput();
}
private void HandleInput()
{
bool l... | mit | C# |
d3028bebdc2133b05b6344a00451d0544ef02f9c | Fix constants. | exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml,exKAZUu/Code2Xml | Code2Xml.Core/Code2XmlConstants.cs | Code2Xml.Core/Code2XmlConstants.cs | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | apache-2.0 | C# |
d199707fe1824f4a99f6f4048d01681c1f236af7 | Make NetworkInit public | CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | source/Cosmos.HAL2/Network/NetworkInit.cs | source/Cosmos.HAL2/Network/NetworkInit.cs | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.HAL.Drivers.PCI.Network;
namespace Cosmos.HAL.Network
{
public class NetworkInit
{
public static void Init()
{
int NetworkDeviceID = 0;
Console.WriteLine("Searching for Ethernet Controllers... | using System;
using System.Collections.Generic;
using System.Text;
using Cosmos.HAL.Drivers.PCI.Network;
namespace Cosmos.HAL.Network
{
class NetworkInit
{
public static void Init()
{
int NetworkDeviceID = 0;
Console.WriteLine("Searching for Ethernet Controllers...");
... | bsd-3-clause | C# |
7f09f87df4d42b982bf2e42e4f831d89778ad558 | use NRT | diryboy/roslyn,diryboy/roslyn,mavasani/roslyn,eriawan/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,diryboy/roslyn,physhi/roslyn,shyamnamboodiripad/roslyn,do... | src/Features/Core/Portable/ConvertLinq/ConvertForEachToLinqQuery/IConverter.cs | src/Features/Core/Portable/ConvertLinq/ConvertForEachToLinqQuery/IConverter.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.Threading;
using Microsoft.CodeAnalysis.Editing;
namespace Microsoft.CodeAnalysis.ConvertLinq.Convert... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System.Threading;
using Microsoft.CodeAnalysis.Editing;
namespace Microsoft.CodeAnalysis.... | mit | C# |
b8130bd3669f447a8179c13ba889207f261c262c | Make mania selection blueprint abstract | NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | mit | C# |
064a6d1e3ba491912564809998b9e79aec2aba4a | Fix doc typo | Joe4evr/Discord.Addons | src/Discord.Addons.SimplePermissions/Attributes/HiddenAttribute.cs | src/Discord.Addons.SimplePermissions/Attributes/HiddenAttribute.cs | using System;
namespace Discord.Addons.SimplePermissions
{
/// <summary>
/// Instructs the <see cref="PermissionsModule"/>'s help command to not
/// display this particular command or overload. This is a marker attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed c... | using System;
namespace Discord.Addons.SimplePermissions
{
/// <summary>
/// Instructs the <see cref="PermissionsService"/>'s help command to not
/// display this particular command or overload. This is a marker attribute.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public sealed ... | mit | C# |
e4739b2468a6b47e3769ffe3ce4e444b706b0269 | Add path and line to GH console output | laedit/vika | src/NVika/BuildServers/GitHub.cs | src/NVika/BuildServers/GitHub.cs | using System;
using System.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal sealed class GitHub : BuildServerBase
{
private readonly IEnvironment _environment;
[ImportingConstructor]
internal GitHub(IE... | using System;
using System.ComponentModel.Composition;
using System.Text;
using NVika.Abstractions;
using NVika.Parsers;
namespace NVika.BuildServers
{
internal sealed class GitHub : BuildServerBase
{
private readonly IEnvironment _environment;
[ImportingConstructor]
internal GitHub(IE... | apache-2.0 | C# |
e6db6e75bfb292fb4262909588c31b288ebd0a17 | fix custom validation rule | WTobor/BoardGamesNook,WTobor/BoardGamesNook,WTobor/BoardGamesNook,WTobor/BoardGamesNook | BoardGamesNook/Validators/GameResultValidator.cs | BoardGamesNook/Validators/GameResultValidator.cs | using BoardGamesNook.ViewModels.GameResult;
using FluentValidation;
namespace BoardGamesNook.Validators
{
public class GameResultValidator : AbstractValidator<GameResultViewModel>
{
public GameResultValidator()
{
RuleFor(gameResult => gameResult.PlayersNumber)
.Grea... | using BoardGamesNook.ViewModels.GameResult;
using FluentValidation;
namespace BoardGamesNook.Validators
{
public class GameResultValidator : AbstractValidator<GameResultViewModel>
{
public GameResultValidator()
{
RuleFor(gameResult => gameResult)
.Must(gameResult =>... | mit | C# |
484d33840cb644c665b0049cb525a60a6b81d9d9 | Enable the batch fixes for SA1100 | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1100CodeFixProvider.cs | StyleCop.Analyzers/StyleCop.Analyzers/ReadabilityRules/SA1100CodeFixProvider.cs | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
... | namespace StyleCop.Analyzers.ReadabilityRules
{
using System.Collections.Immutable;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
... | mit | C# |
f4d11f89a313b3897216fb34eeb4990c9117732e | update sample to monitor changes | Pixate/Xamarin-PixateFreestyle,Pixate/Xamarin-PixateFreestyle | Examples/HelloWorld/HelloWorld/AppDelegate.cs | Examples/HelloWorld/HelloWorld/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using PixateFramework;
namespace HelloWorld
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using PixateFramework;
namespace HelloWorld
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening... | apache-2.0 | C# |
9d92b4639a4cc0d1f3ca3043cedd30ea7d0d0b0d | Change exception message and pass innerexception to argumentexception | appharbor/appharbor-cli | src/AppHarbor/TypeNameMatcher.cs | src/AppHarbor/TypeNameMatcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AppHarbor
{
public class TypeNameMatcher<T>
{
private readonly IEnumerable<Type> _candidateTypes;
public TypeNameMatcher(IEnumerable<Type> candidateTypes)
{
if (candidateTypes.Any(x => !typeof(T).IsAssignableFrom(x)))
{
th... | mit | C# |
7b5b9541974cdc5da2ba4421adb7a5c48f86b314 | Change domain data type | shahriarhossain/MailChimp.Api.Net | MailChimp.Api.Net/Domain/Reports/ListStats.cs | MailChimp.Api.Net/Domain/Reports/ListStats.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MailChimp.Api.Net.Domain.Reports
{
public class ListStats
{
public double sub_rate { get; set; }
public double unsub_rate { get; set; }
public double open_rate ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MailChimp.Api.Net.Domain.Reports
{
public class ListStats
{
public int sub_rate { get; set; }
public int unsub_rate { get; set; }
public double open_rate { get;... | mit | C# |
974797fe3f2a9ab15fbc99d8947170679362bbb2 | fix exception message | OBeautifulCode/OBeautifulCode.AccountingTime | OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs | OBeautifulCode.AccountingTime/ReportingPeriod/ReportingPeriod{T}.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// -------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ReportingPeriod{T}.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode. All rights reserved.
// </copyright>
// -------------------------------------------------------... | mit | C# |
f18263aa70dc215af08e6b008c74a5be7a700d39 | Add tests | smoogipoo/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,ppy/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/Online/TestSceneFavouriteButton.cs | osu.Game.Tests/Visual/Online/TestSceneFavouriteButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.BeatmapSet.Buttons;
using osuTK;
names... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Beatmaps;
using osu.Game.Overlays.BeatmapSet.Buttons;
namespace osu.Game.Tests.Visual.Online
{
pub... | mit | C# |
4f845fc20438e0edb113d2f720cd3753e671a41b | fix build after merging | WaltChen/NDatabase,WaltChen/NDatabase | src/Tool/DictionaryExtensions.cs | src/Tool/DictionaryExtensions.cs | using System;
using System.Collections.Generic;
namespace NDatabase.Tool
{
internal static class DictionaryExtensions
{
internal static TItem GetOrAdd<TKey, TItem>(this Dictionary<TKey, TItem> self, TKey key, Func<TKey, TItem> produce)
{
TItem value;
var succe... | using System;
using System.Collections.Generic;
namespace NDatabase.Tool
{
internal static class DictionaryExtensions
{
<<<<<<< HEAD
public static TItem GetOrAdd<TKey, TItem>(this Dictionary<TKey, TItem> self, TKey key, Func<TKey, TItem> produce)
=======
internal static TItem GetOrAdd<... | apache-2.0 | C# |
1f22c2900476f7ee12d3cf2c5fad480f5f85f193 | Fix crash problem | hug3id/Xamarin.Forms.BaiduMaps,hug3id/Xamarin.Forms.BaiduMaps | Xamarin.Forms.BaiduMaps.iOS/FormsBaiduMaps.cs | Xamarin.Forms.BaiduMaps.iOS/FormsBaiduMaps.cs | using System.Diagnostics;
using BMapBinding;
namespace Xamarin
{
public static class FormsBaiduMaps
{
public static void Init(string APIKey)
{
BMKMapManager mgr = new BMKMapManager();
mgr.Start(APIKey, new GeneralDelegate());
}
}
class GeneralDelegate :... | using BMapBinding;
namespace Xamarin
{
public static class FormsBaiduMaps
{
public static void Init(string APIKey)
{
BMKMapManager mgr = new BMKMapManager();
mgr.Start(APIKey, new BMKGeneralDelegate());
}
}
}
| apache-2.0 | C# |
e878ff8b74f38e2a42e105f48c4b59a1b14ff22d | fix copyright info | dietsche/infinite-putty-tunnel | Infinite-PuTTY-Tunnel/Properties/AssemblyInfo.cs | Infinite-PuTTY-Tunnel/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Infinite PuTTY Tunnel")]
[assemb... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Infinite PuTTY Tunnel")]
[assemb... | mit | C# |
426627c616b561507e239062937dfd504e8e4cc0 | tweak Unit.id comment | ad510/plausible-deniability | Assets/Scripts/Unit.cs | Assets/Scripts/Unit.cs | // Copyright (c) 2013 Andrew Downing
// 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, distribut... | // Copyright (c) 2013 Andrew Downing
// 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, distribut... | mit | C# |
bb839d73c5032922c95e089d098c63ac30202001 | Adjust test | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date.UnitTest/Country/SingaporeTest.cs | Src/Nager.Date.UnitTest/Country/SingaporeTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nager.Date.Extensions;
using System;
using System.Linq;
namespace Nager.Date.UnitTest.Country
{
[TestClass]
public class SingaporeTest
{
[TestMethod]
public void TestSingapore()
{
var publicHolidays = DateSystem.G... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nager.Date.Extensions;
using System;
using System.Linq;
namespace Nager.Date.UnitTest.Country
{
[TestClass]
public class SingaporeTest
{
[TestMethod]
public void TestSingapore()
{
var publicHolidays = DateSystem.G... | mit | C# |
6a005763d2f526b6b6970f00aec91954ce6b89fc | Add missing user defined func param array for ReportFactory execute | once-ler/Store | Store.Reports/src/ReportFactory.cs | Store.Reports/src/ReportFactory.cs | using System;
using System.Linq;
using System.Collections.Generic;
using Store.Models;
using Store.Storage;
namespace Store.Reports {
public class ReportType {
public enum ContentFormat {
HTML,
JSON,
XML
}
public ReportType(ContentFormat contentType) {
outgoingFor... | using System;
using System.Linq;
using System.Collections.Generic;
using Store.Models;
using Store.Storage;
namespace Store.Reports {
public class ReportType {
public enum ContentFormat {
HTML,
JSON,
XML
}
public ReportType(ContentFormat contentType) {
outgoingFor... | mit | C# |
4e1ee754ffc48dde87a481ff6747f286cce00c20 | Handle empty airdate. | jonasf/tv-show-reminder | TvShowReminder.TvMazeApi/Domain/TvMazeEpisode.cs | TvShowReminder.TvMazeApi/Domain/TvMazeEpisode.cs | using System;
using Newtonsoft.Json;
namespace TvShowReminder.TvMazeApi.Domain
{
public class TvMazeEpisode
{
public string Name { get; set; }
public int Season { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int Number { get; set; }
[J... | using System;
using Newtonsoft.Json;
namespace TvShowReminder.TvMazeApi.Domain
{
public class TvMazeEpisode
{
public string Name { get; set; }
public int Season { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int Number { get; set; }
pu... | mit | C# |
1d22a7550a1f554225e8432740451a2f4815bffd | fix razor | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Mvc/Views/Help/WatchVideo.cshtml | CRP.Mvc/Views/Help/WatchVideo.cshtml | @model CRP.Core.Domain.HelpTopic
@using CRP.Controllers.Helpers
@{
ViewBag.Title = "How to";
}
@Html.HtmlEncode(Model.Answer)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="single1" name="CRP how to" width="720" height="576">
<param name="movie" value="http://v.caes.ucdavis.edu/JWPlay... | @model CRP.Core.Domain.HelpTopic
@using CRP.Controllers.Helpers
@{
ViewBag.Title = "How to";
}
@Html.HtmlEncode(Model.Answer)
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="single1" name="CRP how to" width="720" height="576">
<param name="movie" value="http://v.caes.ucdavis.edu/JWPlay... | mit | C# |
676f6098494e73622af2d97f1a0170ba8494b72c | Update ValuesOut.cs | EricZimmerman/RegistryPlugins | RegistryPlugin.NetworkAdapters/ValuesOut.cs | RegistryPlugin.NetworkAdapters/ValuesOut.cs | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.NetworkAdapters
{
public class ValuesOut : IValueOut
{
public ValuesOut(string driverdesc, string driverdate, string driverversion, string deviceinstanceid, string providername, DateTimeOffset? timestamp)
{
... | using System;
using RegistryPluginBase.Interfaces;
namespace RegistryPlugin.NetworkAdapters
{
public class ValuesOut : IValueOut
{
public ValuesOut(string driverdesc, string driverdate, string driverversion, string deviceinstanceid, string providername, DateTimeOffset? timestamp)
{
... | mit | C# |
94c7e9e0bb81a50c13ef1c74fb79a2d6b3ca8fdf | Fix compile issue from merge | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/src/resharper-unity/Feature/Services/LiveTemplates/Scope/InUnityShaderLabFile.cs | resharper/src/resharper-unity/Feature/Services/LiveTemplates/Scope/InUnityShaderLabFile.cs | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Feature.Serv... | using System;
using System.Collections.Generic;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Unity.Feature.Serv... | apache-2.0 | C# |
9141d2e18c3e6f8cac3bfadc9f625e84b7379675 | Remove a dependency on System.Drawing.Common by using a compatible color parser. | ClosedXML/ClosedXML | ClosedXML/Utils/ColorStringParser.cs | ClosedXML/Utils/ColorStringParser.cs | using System;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
namespace ClosedXML.Utils
{
internal static class ColorStringParser
{
public static Color ParseFromHtml(string htmlColor)
{
try
{
if (htmlColor[0] == '#' && (htm... | using System.Drawing;
using System.Globalization;
namespace ClosedXML.Utils
{
internal static class ColorStringParser
{
public static Color ParseFromHtml(string htmlColor)
{
try
{
if (htmlColor[0] != '#')
htmlColor = '#' + htmlColor;
... | mit | C# |
d43643a8d717aa1cf78d5d5002096c64cf08379d | Update context that is passed through | mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Pr... | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | src/Glimpse.Agent.Web/Framework/IIgnoredRequestPolicy.cs | using System;
using Glimpse.Web;
namespace Glimpse.Agent.Web
{
public interface IIgnoredRequestPolicy
{
bool ShouldIgnore(IHttpContext context);
}
} | using System;
namespace Glimpse.Agent.Web
{
public interface IIgnoredRequestPolicy
{
bool ShouldIgnore(IContext context);
}
} | mit | C# |
1a951a52a3ea045f5de33977199837158b1f1189 | Handle action execution errors | danielchalmers/DesktopWidgets | DesktopWidgets/Actions/ActionBase.cs | DesktopWidgets/Actions/ActionBase.cs | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
public void Execute()
{
... | using System;
using System.ComponentModel;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
public void Execute()
{
DelayedActio... | apache-2.0 | C# |
127a8138d98bcfcc7f4e4d6dd7fc8a59dc9f5f58 | Make a class again. | AlekseyTs/roslyn,mgoertz-msft/roslyn,cston/roslyn,mgoertz-msft/roslyn,robinsedlaczek/roslyn,MattWindsor91/roslyn,dpoeschl/roslyn,jeffanders/roslyn,genlu/roslyn,sharwell/roslyn,brettfo/roslyn,physhi/roslyn,swaroop-sridhar/roslyn,gafter/roslyn,eriawan/roslyn,zooba/roslyn,CyrusNajmabadi/roslyn,paulvanbrenk/roslyn,tmeschte... | src/Workspaces/Core/Portable/NamingStyles/NamingStyleRules.cs | src/Workspaces/Core/Portable/NamingStyles/NamingStyleRules.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles
{
internal class NamingStyleRules
{
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.Diagnostics.Analyzers.NamingStyles
{
internal struct NamingStyleRules
{
... | apache-2.0 | C# |
2077d8e496ffedccb913b0c225b3c8ad2e5089a8 | Fix bug: remember me checkbox needs 1 value | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Views/Account/_LoginForm.cshtml | Zk/Views/Account/_LoginForm.cshtml | @model LoginOrRegisterViewModel
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class="form-horizontal", @role="form"}))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<div class="input-group box-margin">
<span class="input-group... | @model LoginOrRegisterViewModel
@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class="form-horizontal", @role="form"}))
{
@Html.AntiForgeryToken()
@Html.ValidationSummary(true)
<div class="input-group box-margin">
<span class="input-group... | mit | C# |
2387ea29b5052402792ef7f0a76000ec9ad187f7 | Change attribute usage. Now it can be applied to field of any part apart from string. | lukyad/Eco | Eco/Attributes/ConverterAttribute.cs | Eco/Attributes/ConverterAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Eco
{
/// <summary>
/// Provides custom serialization (ToString and FromString) methods for the given field.
///
/// Converter contract:
/// The Converter type t... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Eco
{
/// <summary>
/// Provides custom serialization (ToString and FromString) methods for the given field.
///
/// Converter contract:
/// The Converter type t... | apache-2.0 | C# |
84ca49b1d17f34b9f4f7afadff8e8c7623d27593 | Improve short time parsing | IvionSauce/MeidoBot | MeidoCommon/Parsing.cs | MeidoCommon/Parsing.cs | using System;
using System.Text.RegularExpressions;
namespace MeidoCommon.Parsing
{
public static class Parse
{
public static TimeSpan ShortTimeString(string shortTime)
{
if (shortTime == null)
throw new ArgumentNullException(nameof(shortTime));
... | using System;
using System.Text.RegularExpressions;
namespace MeidoCommon.Parsing
{
public static class Parse
{
public static TimeSpan ShortTimeString(string shortTime)
{
if (shortTime == null)
throw new ArgumentNullException(nameof(shortTime));
... | bsd-2-clause | C# |
3ff2bb5e6c7fe1520c7fbf609ce2ee9eb5e2e5b9 | Make ShellProgressBar.Progress implement the IDisposable interface (#73) | Mpdreamz/shellprogressbar | src/ShellProgressBar/Progress.cs | src/ShellProgressBar/Progress.cs | using System;
namespace ShellProgressBar
{
internal class Progress<T> : IProgress<T>, IDisposable
{
private readonly WeakReference<IProgressBar> _progressBar;
private readonly Func<T, string> _message;
private readonly Func<T, double?> _percentage;
public Progress(IProgressBar progressBar, Func<T, string> m... | using System;
namespace ShellProgressBar
{
internal class Progress<T> : IProgress<T>
{
private readonly WeakReference<IProgressBar> _progressBar;
private readonly Func<T, string> _message;
private readonly Func<T, double?> _percentage;
public Progress(IProgressBar progressBar, Func<T, string> message, Func<... | mit | C# |
91fe2beac59a4cc3c257d6c45f102114c3e6e7a1 | Update SockJSOptions.JSClientLibraryUrl to 1.0.1 | tmds/Tmds.SockJS,tmds/Tmds.SockJS | src/Tmds.SockJS/SockJSOptions.cs | src/Tmds.SockJS/SockJSOptions.cs | // Copyright (C) 2015 Tom Deseyn
// Licensed under GNU LGPL, Version 2.1. See LICENSE in the project root for license information.
using Microsoft.AspNet.Http;
using System;
namespace Tmds.SockJS
{
public class SockJSOptions
{
public SockJSOptions()
{
JSClientLibraryUrl = "http://... | // Copyright (C) 2015 Tom Deseyn
// Licensed under GNU LGPL, Version 2.1. See LICENSE in the project root for license information.
using Microsoft.AspNet.Http;
using System;
namespace Tmds.SockJS
{
public class SockJSOptions
{
public SockJSOptions()
{
JSClientLibraryUrl = "http://... | mit | C# |
6e7769890452cea44304d9e9b5bb5b903e2b3249 | Update ITagCache registration (#5828) | stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Or... | src/OrchardCore/OrchardCore.Infrastructure/Cache/OrchardCoreBuilderExtensions.cs | src/OrchardCore/OrchardCore.Infrastructure/Cache/OrchardCoreBuilderExtensions.cs | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using OrchardCore.Environment.Cache;
using OrchardCore.Environment.Cache.CacheContextProviders;
using OrchardCore.Infrastructure.Cache;
namespace Microsoft.Extensions.DependencyInjection
{
public static partial class Orchard... | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using OrchardCore.Environment.Cache;
using OrchardCore.Environment.Cache.CacheContextProviders;
using OrchardCore.Infrastructure.Cache;
namespace Microsoft.Extensions.DependencyInjection
{
public static partial class Orchard... | bsd-3-clause | C# |
39064952dc7274b0e2b18ad04d082d9ef791ca7b | Change error page style. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Views/Shared/CreateClosed.cshtml | src/CompetitionPlatform/Views/Shared/CreateClosed.cshtml | @{
ViewData["Title"] = "Access Denied";
}
<br>
<br>
<br>
<div class="container">
<h2 class="text-danger">Creating projects is unavailable.</h2>
<p>
The Function "сreating project" is only available for lykke community members with an approved KYC Status.
</p>
</div> | @{
ViewData["Title"] = "Access Denied";
}
<div class="container">
<h2 class="text-danger">Creating projects is unavailable.</h2>
<p>
The Function "сreating project" is only available for lykke community members with an approved KYC Status.
</p>
</div> | mit | C# |
c17401dfb7198c64359181d712b6128f24de403f | Allow alternate streams to be passed (#37) | a9upam/monotouch-samples,hongnguyenpro/monotouch-samples,peteryule/monotouch-samples,W3SS/monotouch-samples,YOTOV-LIMITED/monotouch-samples,iFreedive/monotouch-samples,W3SS/monotouch-samples,andypaul/monotouch-samples,sakthivelnagarajan/monotouch-samples,nelzomal/monotouch-samples,YOTOV-LIMITED/monotouch-samples,haithe... | StreamingAudio/MainViewController.cs | StreamingAudio/MainViewController.cs | using System;
using MonoTouch.UIKit;
namespace StreamingAudio
{
public enum PlayerOption
{
Stream = 0,
StreamAndSave
}
public partial class MainViewController : UIViewController
{
private const string LetsStopTheWarUrl = "http://ccmixter.org/content/bradstanfield/bradstanf... | using System;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace StreamingAudio
{
public enum PlayerOption
{
Stream = 0,
StreamAndSave
}
public partial class MainViewController : UIViewController
{
private const string LetsStopTheWarUrl = "http://ccmixter.org/content/bradst... | mit | C# |
c9963529c7b60bc2beca5b8b2bd9486a0a50cd50 | Add scaffolding for skipping ease-in | makerslocal/LudumDare38 | bees-in-the-trap/Assets/Scripts/MainCamera.cs | bees-in-the-trap/Assets/Scripts/MainCamera.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainCamera : MonoBehaviour {
public GameObject cursor;
private IEnumerator currentMove;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
//this.transform.posi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MainCamera : MonoBehaviour {
public GameObject cursor;
private IEnumerator currentMove;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
//this.transform.posi... | mit | C# |
d76681aa825ac01d17a45c393f09163ce3c3dce3 | use IApplicableToBeatmap instead of IApplicableToRulesetContainer | DrabWeb/osu,DrabWeb/osu,ppy/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,ZLima12/osu,smoogipooo/osu,NeoAdonis/o... | osu.Game/Rulesets/Mods/ModWindUp.cs | osu.Game/Rulesets/Mods/ModWindUp.cs | using System;
using System.Collections.Generic;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.Timing;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.Objects;
using os... | using System;
using System.Collections.Generic;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.Timing;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.Objects;
namespa... | mit | C# |
235c0ed620e4525b78fcc7a7e03a956092c1f9e1 | Set default for Reminder mapping to 'JustUpcoming'. | aluxnimm/outlookcaldavsynchronizer | CalDavSynchronizer/Contracts/EventMappingConfiguration.cs | CalDavSynchronizer/Contracts/EventMappingConfiguration.cs | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | // This file is Part of CalDavSynchronizer (http://outlookcaldavsynchronizer.sourceforge.net/)
// Copyright (c) 2015 Gerhard Zehetbauer
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Founda... | agpl-3.0 | C# |
5b96f734175c5f94db1c2095fd2f6596e943e071 | Set AssemblyInfo for PlaceAutocompleteTest. | mklimmasch/google-maps,yonglehou/google-maps,maximn/google-maps,yonglehou/google-maps,maximn/google-maps,mklimmasch/google-maps | GoogleMapsApi.PlaceAutocompleteTest/Properties/AssemblyInfo.cs | GoogleMapsApi.PlaceAutocompleteTest/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Go... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Go... | bsd-2-clause | C# |
f30df1dcb0f919da3e8a3c6cbae763b73acffc3a | Fix emailVote issue in case UserDetails is not yet saved. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs | Infopulse.EDemocracy.Data/Repositories/UserDetailRepository.cs | using System;
using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using System.Data;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Linq;
namespace Infopulse.EDemocracy.Data.Repositories
{
public class UserDetailRepository : BaseRepository, IUserDetailRepository
{
pu... | using Infopulse.EDemocracy.Data.Interfaces;
using Infopulse.EDemocracy.Model;
using System.Data;
using System.Data.Entity;
using System.Data.SqlClient;
using System.Linq;
namespace Infopulse.EDemocracy.Data.Repositories
{
public class UserDetailRepository : IUserDetailRepository
{
public int GetUserId(string user... | cc0-1.0 | C# |
47a208ec048693838a384b3ee253f112a2623f69 | Add Win/Lose Scene Transition Hooks | ludimation/Winter,ludimation/Winter,ludimation/Winter | Winter/Assets/Scripts/GUIBehavior.cs | Winter/Assets/Scripts/GUIBehavior.cs | using UnityEngine;
using System.Collections;
public class GUIBehavior : MonoBehaviour {
public Texture barTexture;
public wolf wolfData;
public int boxWidth = 34;
public int boxHeight = 30;
void OnGUI () {
//Print the bar
GUI.Box (new Rect(Screen.width - barTexture.width - 18,10,barTexture.width + 8, bar... | using UnityEngine;
using System.Collections;
public class GUIBehavior : MonoBehaviour {
public Texture barTexture;
public wolf wolfData;
public int boxWidth = 34;
public int boxHeight = 30;
void OnGUI () {
//Print the bar
GUI.Box (new Rect(Screen.width - barTexture.width - 18,10,barTexture.width + 8, bar... | mit | C# |
f0774786c0b634d493cb98f041ee8aab39f5c3f1 | return null in Material.FromImage if textures are not found | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho | Bindings/Portable/Material.cs | Bindings/Portable/Material.cs | namespace Urho
{
partial class Material
{
public static Material FromImage(string image, string normals)
{
if (string.IsNullOrEmpty(normals))
return FromImage(image);
var cache = Application.Current.ResourceCache;
var diff = cache.GetTexture2D(image);
if (diff == null)
return null;
var no... | namespace Urho
{
partial class Material
{
public static Material FromImage(string image, string normals)
{
if (string.IsNullOrEmpty(normals))
return FromImage(image);
var cache = Application.Current.ResourceCache;
var material = new Material();
material.SetTexture(TextureUnit.Diffuse, cache.GetT... | mit | C# |
28db07c69ae5ed779736b8c20157840180139a14 | fix already simplified | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20211109_SimplifyNamespaces.cs | Signum.Upgrade/Upgrades/Upgrade_20211109_SimplifyNamespaces.cs | using Signum.Utilities;
namespace Signum.Upgrade.Upgrades;
class Upgrade_20211109_SimplifyNamespaces : CodeUpgradeBase
{
public override string Description => "Uses file-scoped namespaces declarations to recover ident space";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFil... | using Signum.Utilities;
namespace Signum.Upgrade.Upgrades;
class Upgrade_20211109_SimplifyNamespaces : CodeUpgradeBase
{
public override string Description => "Uses file-scoped namespaces declarations to recover ident space";
public override void Execute(UpgradeContext uctx)
{
uctx.ForeachCodeFil... | mit | C# |
e1bafea1fb2bb9da50ea39abc5aba68ede2b115a | Apply swap via deconstructor | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs | osu.Framework.Android/Graphics/Textures/AndroidTextureLoaderStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using Android.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.Stores;
using SixLabors.ImageSharp;
namespace osu.F... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using Android.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.Stores;
using SixLabors.ImageSharp;
namespace osu.F... | mit | C# |
8ed7449b9333812c8edef1052af1d32e58dc8cd2 | Convert timestamp to UTC. | bitstadium/HockeySDK-Windows,ChristopheLav/HockeySDK-Windows,dkackman/HockeySDK-Windows | Src/Core.Shared/Extensibility/Implementation/Telemetry.cs | Src/Core.Shared/Extensibility/Implementation/Telemetry.cs | namespace Microsoft.HockeyApp.Extensibility.Implementation
{
using System.Globalization;
using Channel;
using DataContracts;
// TODO: Move Telemetry class to DataContracts namespace for discoverability.
internal static class Telemetry
{
public static void WriteEnvelopeProperties(this I... | namespace Microsoft.HockeyApp.Extensibility.Implementation
{
using Channel;
using DataContracts;
// TODO: Move Telemetry class to DataContracts namespace for discoverability.
internal static class Telemetry
{
public static void WriteEnvelopeProperties(this ITelemetry telemetry, IJsonWriter... | mit | C# |
6178717d8d949c4f54824c852fc16772b575aea5 | fix unable to close tabs. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDocumentTabViewModel(string title)
{
Tit... | using AvalonStudio.Documents;
using AvalonStudio.Extensibility;
using AvalonStudio.Shell;
using Dock.Model;
using ReactiveUI;
namespace WalletWasabi.Gui.ViewModels
{
public abstract class WasabiDocumentTabViewModel : ViewModelBase, IDocumentTabViewModel
{
public WasabiDocumentTabViewModel(string title)
{
Tit... | mit | C# |
9bb329f3e9423246b0fa486f9f678ff83ec069a0 | Fix for memory leak | JodyAndrews/ScriptableObjectUtility | ScriptableObjectUtility/Assets/Editor/ScriptableObjectEditor/DefaultItemWindow.cs | ScriptableObjectUtility/Assets/Editor/ScriptableObjectEditor/DefaultItemWindow.cs | using UnityEngine;
using UnityEditor;
using Voodoo.Utilities;
public class DefaultItemWindow
{
#region Declarations
ScriptableObject _data;
ScriptableEditorWindow _ownerWindow;
Editor _editor;
#endregion
#region Constructors
public DefaultItemWindow (ScriptableEditorWindow ownerWindow, ScriptableObject data... | using UnityEngine;
using UnityEditor;
using Voodoo.Utilities;
public class DefaultItemWindow
{
#region Declarations
ScriptableObject _data;
ScriptableEditorWindow _ownerWindow;
#endregion
#region Constructors
public DefaultItemWindow (ScriptableEditorWindow ownerWindow, ScriptableObject data)
{
this._data... | mit | C# |
af39e9e6a73b093ffa9948c9210c25f5ef051638 | Set default wait interval for Run command to be 60 seconds | kjelliverb/condep-dsl-operations | ConDep.Dsl/Operations/Application/Execution/RunCmd/RunCmdProvider.cs | ConDep.Dsl/Operations/Application/Execution/RunCmd/RunCmdProvider.cs | using ConDep.Dsl.SemanticModel;
using ConDep.Dsl.SemanticModel.WebDeploy;
using Microsoft.Web.Deployment;
namespace ConDep.Dsl.Operations.Application.Execution.RunCmd
{
public class RunCmdProvider : WebDeployProviderBase
{
private const string NAME = "runCommand";
public RunCmdProvider(string co... | using ConDep.Dsl.SemanticModel;
using ConDep.Dsl.SemanticModel.WebDeploy;
using Microsoft.Web.Deployment;
namespace ConDep.Dsl.Operations.Application.Execution.RunCmd
{
public class RunCmdProvider : WebDeployProviderBase
{
private const string NAME = "runCommand";
public RunCmdProvider(string co... | bsd-2-clause | C# |
2b7933cf4ec34da305e9abcbe7d9b031c96a8205 | Fix obsolete warnings. | themotleyfool/NuGet.Lucene,Stift/NuGet.Lucene | source/NuGet.Lucene/NuGetQueryParser.cs | source/NuGet.Lucene/NuGetQueryParser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Lucene.Net.Linq;
using Lucene.Net.Linq.Mapping;
using Version = Lucene.Net.Util.Version;
namespace NuGet.Lucene
{
/// <summary>
/// A query parser that mimics the behavior specified at
/// http://docs.nuget.org/docs/reference/search-s... | using System;
using System.Collections.Generic;
using System.Linq;
using Lucene.Net.Linq;
using Lucene.Net.Linq.Mapping;
using Version = Lucene.Net.Util.Version;
namespace NuGet.Lucene
{
/// <summary>
/// A query parser that mimics the behavior specified at
/// http://docs.nuget.org/docs/reference/search-s... | apache-2.0 | C# |
2cd57415e0caa22b097c7ea71f18c58c2382ecd5 | Add overload for AddDictionary | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Utilities/Collections/Dictionary.AddDictionary.cs | source/Nuke.Common/Utilities/Collections/Dictionary.AddDictionary.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System.Collections.Generic;
namespace Nuke.Common.Utilities.Collections
{
public static partial class DictionaryExtensions
{
public static TDictionary AddDiction... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System.Collections.Generic;
namespace Nuke.Common.Utilities.Collections
{
public static partial class DictionaryExtensions
{
public static Dictionary<TKey, TValu... | mit | C# |
89d5782ef422b5db8b8c09e37f3ec25765541d40 | Update DynamicProperty.cs | aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,ryancyq/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,luchaoshuai/aspnetboilerplate | src/Abp/DynamicEntityProperties/DynamicProperty.cs | src/Abp/DynamicEntityProperties/DynamicProperty.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
namespace Abp.DynamicEntityProperties
{
[Table("AbpDynamicProperties")]
public class DynamicProperty : Entity, IMayHaveTenant
{
public string PropertyName { get; set; }
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
namespace Abp.DynamicEntityProperties
{
[Table("AbpDynamicProperties")]
public class DynamicProperty : Entity, IMayHaveTenant
{
public string PropertyName { get; set; }
public ... | mit | C# |
5eba749197085005334150d7215a2b242344c45f | Remove TODO #2542 was closed already. | dotnet-bot/corefx,seanshpark/corefx,stone-li/corefx,stone-li/corefx,wtgodbe/corefx,parjong/corefx,wtgodbe/corefx,ViktorHofer/corefx,ellismg/corefx,gkhanna79/corefx,alexperovich/corefx,rjxby/corefx,billwert/corefx,seanshpark/corefx,khdang/corefx,dhoehna/corefx,JosephTremoulet/corefx,mmitche/corefx,MaggieTsang/corefx,car... | src/Common/src/System/Net/Http/WinHttpException.cs | src/Common/src/System/Net/Http/WinHttpException.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;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace System.Net.Http
{
in... | // 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;
using System.ComponentModel;
using System.Runtime.InteropServices;
namespace System.Net.Http
{
//... | mit | C# |
fa72328bc7993ce7193c3b227755382bcea69860 | Change extension type | mpOzelot/Unity,mpOzelot/Unity,github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | src/GitHub.Api/Extensions/EnvironmentExtensions.cs | src/GitHub.Api/Extensions/EnvironmentExtensions.cs | using System;
namespace GitHub.Unity
{
static class EnvironmentExtensions
{
public static string GetRepositoryPath(this IEnvironment environment, string path)
{
Guard.ArgumentNotNull(path, nameof(path));
if (environment.UnityProjectPath == environment.RepositoryPath)
... | using System;
namespace GitHub.Unity
{
static class EnvironmentExtensions
{
public static string GetRepositoryPath(this IEnvironment environment, string path)
{
Guard.ArgumentNotNull(path, nameof(path));
if (environment.UnityProjectPath == environment.RepositoryPath)
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.