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 |
|---|---|---|---|---|---|---|---|---|
131375fdfe5146e6c6fc9674df10ec22cbc26f09 | Remove debug stuff. | KirillOsenkov/SourceBrowser,KirillOsenkov/SourceBrowser,akrisiun/SourceBrowser,akrisiun/SourceBrowser,KirillOsenkov/SourceBrowser,KirillOsenkov/SourceBrowser,akrisiun/SourceBrowser,akrisiun/SourceBrowser | src/SourceIndexServer/Program.cs | src/SourceIndexServer/Program.cs | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Microsoft.SourceBrowser.SourceIndexServer
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public... | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Microsoft.SourceBrowser.SourceIndexServer
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public... | apache-2.0 | C# |
ad463cd3ea37e34a134568f4544ecf765675ad8f | Fix issue with StringLexerSource.getPath | SiliconStudio/CppNet,manu-silicon/CppNet,xtravar/CppNet | StringLexerSource.cs | StringLexerSource.cs | /*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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... | /*
* Anarres C Preprocessor
* Copyright (c) 2007-2008, Shevek
*
* 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... | apache-2.0 | C# |
dac0ed5e8df83aac035dc3b21f76554fd738f9d1 | add missing model: FeedAdapter | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/FeedAdapter.cs | src/ProGet.Net/Native/Models/FeedAdapter.cs | // ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class FeedAdapter
{
public int Feed_Id { get; set; }
public int FeedAdapter_Sequence { get; set; }
public string FeedAdapter_Name { get; set; }
public string FeedAdapterType_Code { get; set; }
... | namespace ProGet.Net.Native.Models
{
public class FeedAdapter
{
}
}
| mit | C# |
40e7b31952ee181e518ffb349d3605d0a43feea8 | Make InputManager work from a stack. | grokys/Avalonia | Avalonia/Input/InputManager.cs | Avalonia/Input/InputManager.cs | // -----------------------------------------------------------------------
// <copyright file="InputManager.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia.Input... | // -----------------------------------------------------------------------
// <copyright file="InputManager.cs" company="Steven Kirk">
// Copyright 2013 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Avalonia.Input... | mit | C# |
5cc81d5c65f239439a0ee25e93d583199273d631 | fix - addutente | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/ServiziEsterni/Utility/MapSediDistaccamentiUC.cs | src/backend/SO115App.Models/Classi/ServiziEsterni/Utility/MapSediDistaccamentiUC.cs | using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Classi.Composizione;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Classi.ServiziEsterni.UtenteComune;
namespace SO115App.Models.Classi.ServiziEsterni.Utility
{
public static class MapSediDistaccamentiUC
{
public static S... | using SO115App.API.Models.Classi.Condivise;
using SO115App.Models.Classi.Composizione;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Classi.ServiziEsterni.UtenteComune;
namespace SO115App.Models.Classi.ServiziEsterni.Utility
{
public static class MapSediDistaccamentiUC
{
public static S... | agpl-3.0 | C# |
00dc96527a02ab20b70bc9a2482d8a875c5f4832 | 修复递增语句生成器中未生成子查询语句的参数问题。 :pear: | Zongsoft/Zongsoft.Data | src/Common/Expressions/IncrementStatementBuilder.cs | src/Common/Expressions/IncrementStatementBuilder.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | lgpl-2.1 | C# |
fb1ba17cbd91ebe6fbe565883164e9abb37f9a0f | support scrolling to the bottom of the page | mvbalaw/FluentBrowserAutomation | src/FluentBrowserAutomation/Controls/PageWrapper.cs | src/FluentBrowserAutomation/Controls/PageWrapper.cs | using FluentBrowserAutomation.Accessors;
using OpenQA.Selenium;
namespace FluentBrowserAutomation.Controls
{
public class PageWrapper
{
private readonly IBrowserContext _browserContext;
public PageWrapper(IBrowserContext browserContext)
{
_browserContext = browserContext;
}
public void ScrollToBottom... | using FluentBrowserAutomation.Accessors;
namespace FluentBrowserAutomation.Controls
{
public class PageWrapper
{
private readonly IBrowserContext _browserContext;
public PageWrapper(IBrowserContext browserContext)
{
_browserContext = browserContext;
}
public ReadOnlyText Text()
{
return new ReadO... | mit | C# |
181602a92766d96d769758dca1193e5d84d87fa1 | Use Path.Combine better for "Tools/PEVerify". | fredericDelaporte/nhibernate-core,lnu/nhibernate-core,gliljas/nhibernate-core,RogerKratz/nhibernate-core,ngbrown/nhibernate-core,fredericDelaporte/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-core,hazzik/nhibernate-core,RogerKratz/nhibernate-core,RogerKratz/nhiberna... | src/NHibernate.Test/DynamicProxyTests/PeVerifier.cs | src/NHibernate.Test/DynamicProxyTests/PeVerifier.cs | using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
namespace NHibernate.Test.DynamicProxyTests
{
// utility class to run PEVerify.exe against a saved-to-disk assembly, similar to:
// http://stackoverflow.com/questions/7290893/is-there-an-api-for-verifying-the-msil-of-a-dynamic-assembly-a... | using System;
using System.Diagnostics;
using System.IO;
using NUnit.Framework;
namespace NHibernate.Test.DynamicProxyTests
{
// utility class to run PEVerify.exe against a saved-to-disk assembly, similar to:
// http://stackoverflow.com/questions/7290893/is-there-an-api-for-verifying-the-msil-of-a-dynamic-assembly-a... | lgpl-2.1 | C# |
901c2df4033b30fa595a09be97b00c726fe98a91 | Make portable library able to load configuration | meixger/common-logging,tablesmit/common-logging,net-commons/common-logging,xlgwr/common-logging,ajayanandgit/common-logging,Moily/common-logging,net-commons/common-logging | src/Common.Logging/Logging/Configuration/DefaultConfigurationReader.cs | src/Common.Logging/Logging/Configuration/DefaultConfigurationReader.cs | #region License
/*
* Copyright 2002-2009 the original author or authors.
*
* 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
*
* ... | #region License
/*
* Copyright 2002-2009 the original author or authors.
*
* 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.... | apache-2.0 | C# |
21ea93b8c6711f04e9ee14137088d2c964a4b01a | Update SharedAssemblyInfo.cs | XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Shared/SharedAssemblyInfo.cs | src/Shared/SharedAssemblyInfo.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyri... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Wiesław Šoltés")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCopyri... | mit | C# |
52550a371640ae1cd89bc8ecc787705d6bd795f6 | Add asserts for types in Constants unit tests for SimpleExprBuilder | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | src/ExprBuilderTests/Constants.cs | src/ExprBuilderTests/Constants.cs | using NUnit.Framework;
using System;
using Symbooglix;
namespace ExprBuilderTests
{
[TestFixture()]
public class Constants
{
[Test()]
public void True()
{
var builder = new SimpleExprBuilder();
var constant = builder.True;
Assert.AreEqual("true",... | using NUnit.Framework;
using System;
using Symbooglix;
namespace ExprBuilderTests
{
[TestFixture()]
public class Constants
{
[Test()]
public void True()
{
var builder = new SimpleExprBuilder();
var constant = builder.True;
Assert.AreEqual("true",... | bsd-2-clause | C# |
5cdf2695e315d96507bf4fb63dec6b4330873221 | Update TestMongoRepository.cs | tiksn/TIKSN-Framework | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoRepository.cs | TIKSN.Framework.IntegrationTests/Data/Mongo/TestMongoRepository.cs | using System;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoRepository : MongoRepository<TestMongoEntity, Guid>, ITestMongoRepository
{
public TestMongoRepository(
IMongoClientSessionProvider mongoClientSessionProvider,
IM... | using System;
using TIKSN.Data.Mongo;
namespace TIKSN.Framework.IntegrationTests.Data.Mongo
{
public class TestMongoRepository : MongoRepository<TestMongoEntity, Guid>, ITestMongoRepository
{
public TestMongoRepository(IMongoDatabaseProvider mongoDatabaseProvider) : base(mongoDatabaseProvider, "Tests"... | mit | C# |
40f9adde0d53bdd9cb6fddc283836d06a9f5dd0b | fix merge conflict | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate | BlogTemplate/Pages/Post.cshtml | BlogTemplate/Pages/Post.cshtml | @page "{slug}"
@model PostModel
@using Microsoft.AspNetCore.Mvc.RazorPages
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@functions {
[BindProperty]
public Models.Comment Comment { get; set; }
public void OnCommentSaveComment()
{
if (ModelState.IsValid)
{
Model.Po... | @page "{slug}"
@model PostModel
@using Microsoft.AspNetCore.Mvc.RazorPages
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@{
ViewData["Title"] = Model.Post.Title;
}
<article>
<h1>@Model.Post.Title</h1>
<p id="date">@Model.Post.PubDate.ToString("MMM dd, yyyy")</p>
<span>@string.Join(", ", Mo... | mit | C# |
598183be0f51cbea20051331e292c22977114ba5 | change highlighting goup id | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Highlightings/RegionWithinTypeMemberBodyHighlighting.cs | Sources/ReCommendedExtension/Highlightings/RegionWithinTypeMemberBodyHighlighting.cs | using JetBrains.Annotations;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using ReCommendedExtension.Highlightings;
using ZoneMarker = ReCommendedExtension.ZoneMarker;
[assembly:
RegisterConfigurableSeverity(
RegionWithi... | using JetBrains.Annotations;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using ReCommendedExtension.Highlightings;
using ZoneMarker = ReCommendedExtension.ZoneMarker;
[assembly:
RegisterConfigurableSeverity(
RegionWithi... | apache-2.0 | C# |
6d91ca5fcf11e462756305cf5949182efc1910b5 | Use uint instead of Uint32 for consistency (even though they're exactly the same) | windygu/CefSharp,rlmcneary2/CefSharp,VioletLife/CefSharp,illfang/CefSharp,twxstar/CefSharp,ruisebastiao/CefSharp,VioletLife/CefSharp,twxstar/CefSharp,windygu/CefSharp,Octopus-ITSM/CefSharp,wangzheng888520/CefSharp,AJDev77/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,zhangjingpu/CefSharp,zhangjingpu/CefSharp,twxstar/Ce... | CefSharp/DragOperationsMask.cs | CefSharp/DragOperationsMask.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
[Flags]
public enum DragOperationsMask : uint
{
None = 0,
Copy = 1,
Link ... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp
{
[Flags]
public enum DragOperationsMask : uint
{
None = 0,
Copy = 1,
Link ... | bsd-3-clause | C# |
191d53e25b60a8739b0c6ef1eb7b2ab6b9d05caf | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
a7ae8ed3091442bb20b4f6842dfebebca8d9b932 | Comment update. | jbakic/Shielded,wizardbeard/Shielded | Trans/IShielded.cs | Trans/IShielded.cs | using System;
namespace Trans
{
internal interface IShielded
{
bool HasChanges { get; }
// this locks the implementor. All reads with >stamp are
// spinwaited, all other threads' CanCommits() return false,
// and only a Commit() or Rollback(with the same stamp) release it.
... | using System;
namespace Trans
{
internal interface IShielded
{
bool HasChanges { get; }
// once having responded to this, implementor must ensure answer stays
// the same until Commit() or Rollback(). other threads asking to read
// will get immediate response if their reading s... | mit | C# |
147ad7e0e82e8366fbdf381a7ced3f64bf56deb6 | rework comparer for T (which was wrong). | neitsa/PrepareLanding,neitsa/PrepareLanding | src/Extensions/ListExtensions.cs | src/Extensions/ListExtensions.cs | using System.Collections.Generic;
using System.Linq;
namespace PrepareLanding.Extensions
{
public static class ListExtensions
{
public static bool ContainsAll<T>(this List<T> thisList, List<T> other)
{
return thisList.Intersect(other).Count() == other.Count;
}
publ... | using System.Collections.Generic;
using System.Linq;
namespace PrepareLanding.Extensions
{
public static class ListExtensions
{
public static bool ContainsAll<T>(this List<T> thisList, List<T> other)
{
return thisList.Intersect(other).Count() == other.Count;
}
publ... | mit | C# |
d513e31392c199d28bcd3ede4f0bdc1f760fc98f | fix to jpeg save | i-e-b/ImageTools | src/ImageTools/Utilities/Save.cs | src/ImageTools/Utilities/Save.cs | using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
namespace ImageTools
{
public static class Save
{
public static void SaveJpeg(this Bitmap src, string filePath, int quality = 95)
{
var basePath = Path.GetDirectoryName(Assemb... | using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Reflection;
namespace ImageTools
{
public static class Save
{
public static void SaveJpeg(this Bitmap src, string filePath, int quality = 95)
{
var basePath = Path.GetDirectoryName(Assemb... | mit | C# |
78f3d167bdf0a18d6f2a11ecd0a43c7d9535b550 | Remove unneeded using statement. | jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh... | src/Manos/Manos.IO/FileSystem.cs | src/Manos/Manos.IO/FileSystem.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// 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,... | mit | C# |
0e78ce30e46cfb431d8b2c7333506743c4540695 | allow Collapsed to be set | rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,df... | Serenity.Core/ComponentModel/PropertyGrid/CollapsibleAttribute.cs | Serenity.Core/ComponentModel/PropertyGrid/CollapsibleAttribute.cs | using System;
namespace Serenity.ComponentModel
{
public class CollapsibleAttribute : Attribute
{
public CollapsibleAttribute(bool value = false)
{
Value = value;
}
public bool Value { get; private set; }
public bool Collapsed { get; set; }
}
} | using System;
namespace Serenity.ComponentModel
{
public class CollapsibleAttribute : Attribute
{
public CollapsibleAttribute(bool value = false)
{
Value = value;
}
public bool Value { get; private set; }
public bool Collapsed { get; private set; }
}
} | mit | C# |
cfd5cf330cef11178d3d1a6c2b662ffcf5034f01 | comment on IsEnum | aloneguid/support | src/Aloneguid.Support.Portable/Extensions/TypeExtensions.cs | src/Aloneguid.Support.Portable/Extensions/TypeExtensions.cs | // ReSharper disable once CheckNamespace
namespace System
{
public static class TypeExtensions
{
/// <summary>
/// More reliable way to determine if a type is Enum, especially in a portable reflection
/// </summary>
public static bool IsEnum(this Type t)
{
if(t == null) ret... | // ReSharper disable once CheckNamespace
namespace System
{
public static class TypeExtensions
{
public static bool IsEnum(this Type t)
{
try
{
Enum.GetUnderlyingType(t);
return true;
}
catch(ArgumentException)
{
return ... | mit | C# |
0737ea392f9747f80ebc0854cb29b544958994a1 | Add NotNull to Predicate setter. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Http.Core/Extensions/MapWhenOptions.cs | src/Microsoft.AspNet.Http.Core/Extensions/MapWhenOptions.cs | // Copyright (c) Microsoft Open Technologies, Inc. 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.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.Framework.Internal;
namespace Microsoft.AspNe... | // Copyright (c) Microsoft Open Technologies, Inc. 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.Threading.Tasks;
using Microsoft.AspNet.Http;
namespace Microsoft.AspNet.Builder.Extensions
{
/// <summ... | apache-2.0 | C# |
c291e7550354a5ecb1b795d7544cd3eef695c8bd | Add Admin user in Seed method | pacho10/Student-System-Project,pacho10/Student-System-Project,pacho10/Student-System-Project | StudentSystem/Data/StudentSystem.Data/Migrations/Configuration.cs | StudentSystem/Data/StudentSystem.Data/Migrations/Configuration.cs | namespace StudentSystem.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using StudentSystem.Models;
public sealed class Configuration : DbM... | namespace StudentSystem.Data.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
public sealed class Configuration : DbMigrationsConfiguration<ApplicationDbContext>
{
public Configuration()
{
this.AutomaticMigr... | mit | C# |
3dc7ccc273a69b950edffb7c5e0f11a2a2b004b5 | Fix AssemblyVersionLayoutRenderer on ASP.NET to work with async=true (Rename to FixThreadAgnostic) (#635) | NLog/NLog.Web | src/Shared/LayoutRenderers/AssemblyVersionLayoutRenderer.cs | src/Shared/LayoutRenderers/AssemblyVersionLayoutRenderer.cs | using System.Reflection;
using System.Text;
using NLog.Common;
using NLog.Config;
using NLog.LayoutRenderers;
namespace NLog.Web.LayoutRenderers
{
/// <summary>
/// Extend NLog.LayoutRenderers.AssemblyVersionLayoutRenderer with ASP.NET Full and Core support
/// </summary>
[LayoutRenderer("assembly-ver... | using System.Reflection;
using System.Text;
using NLog.Common;
using NLog.Config;
using NLog.LayoutRenderers;
namespace NLog.Web.LayoutRenderers
{
/// <summary>
/// Extend NLog.LayoutRenderers.AssemblyVersionLayoutRenderer with ASP.NET Full and Core support
/// </summary>
[LayoutRenderer("assembly-ver... | bsd-3-clause | C# |
25f1fbd1069f788bfb111b263c8e0af0529aad9e | fix test directory | gomafutofu/BtrieveWrapper,yezorat/BtrieveWrapper,yezorat/BtrieveWrapper,gomafutofu/BtrieveWrapper | BtrieveWrapper.Orm.Tests/Settings.cs | BtrieveWrapper.Orm.Tests/Settings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BtrieveWrapper.Orm.Tests
{
class Settings
{
public const string DllPath = null;
public const string TemporaryDirectory = @"c:\tmp\BtrieveWrapper.Orm.Tests";
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BtrieveWrapper.Orm.Tests
{
class Settings
{
public const string DllPath = null;
public const string TemporaryDirectory = @"\\development\test";
}
}
| mit | C# |
489f7bd099caeab13e6750d7d7c468f427f10868 | remove ignoreLayerCollision | nferruzzi/xplode | Assets/Scripts/WeaponController.cs | Assets/Scripts/WeaponController.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public interface IWeaponInterface
{
void FireDown (GameObject parent, Vector3 offset);
void FireUp ();
}
public interface IProjectileInterface
{
float damage {
get;
set;
}
GameObject gameObject {
get;
}
void ShowExplosionAt... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public interface IWeaponInterface
{
void FireDown (GameObject parent, Vector3 offset);
void FireUp ();
}
public interface IProjectileInterface
{
float damage {
get;
set;
}
GameObject gameObject {
get;
}
void ShowExplosionAt... | mit | C# |
809786c9471d531bcba28f3538a47dc74235edd3 | fix import for taghelpers | sebastieno/sebastienollivier.fr,sebastieno/sebastienollivier.fr | Blog.Web/Views/_ViewImports.cshtml | Blog.Web/Views/_ViewImports.cshtml | @using Blog.Web
@using Blog.Data
@using Blog.Domain
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
| @using Blog.Web
@using Blog.Data
@using Blog.Domain
@addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
| mit | C# |
e78b76064db5e1e387d15bb43f39f37cee610fae | Add check to stop replying to invalid commands | portaljacker/portalbot | src/portalbot/Program.cs | src/portalbot/Program.cs | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace portalbot
{
class Program
{
private CommandService _commands;
private DiscordSocketClient _client;
private DependencyMap _map;
static ... | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace portalbot
{
class Program
{
private CommandService _commands;
private DiscordSocketClient _client;
private DependencyMap _map;
static ... | mit | C# |
b9c778ea000d78a93bd0ad31631409af657adae4 | Update comment per PR review. | jetreports/EPPlus | EPPlus/Table/PivotTable/RangePr.cs | EPPlus/Table/PivotTable/RangePr.cs | using System;
using System.Xml;
using OfficeOpenXml.Utils;
namespace OfficeOpenXml.Table.PivotTable
{
/// <summary>
/// Represents the rangePr XML element.
/// </summary>
public class RangePr : XmlHelper
{
#region Properties
/// <summary>
/// Gets or sets the @startDate xml attribute value.
/// </summary... | using System;
using System.Xml;
using OfficeOpenXml.Utils;
namespace OfficeOpenXml.Table.PivotTable
{
/// <summary>
/// Represents the rangePr XML element.
/// </summary>
public class RangePr : XmlHelper
{
#region Properties
/// <summary>
/// Gets or sets the @startDate xml attribute value.
/// </summary... | lgpl-2.1 | C# |
8549e2ab9de3c0e28f4f52c0f405ed6e4c3962d0 | Add IsDownloading property | witoong623/TirkxDownloader,witoong623/TirkxDownloader | Framework/Interface/IDownloader.cs | Framework/Interface/IDownloader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework.Interface
{
public interface IDownloader
{
bool IsDownloading { get; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TirkxDownloader.Framework.Interface
{
interface IDownloader
{
}
}
| mit | C# |
5963fa52aa7f301aba7963b5c684930faab74573 | Update AssemblyInfo.cs | mcintyre321/Noodles,mcintyre321/Noodles | Noodles/Properties/AssemblyInfo.cs | Noodles/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("No... | 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("No... | mit | C# |
f47b21655215ff425ebd113e152a945a97de8580 | Update DistributedCacheQueryRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/Cache/Distributed/DistributedCacheQueryRepository.cs | TIKSN.Core/Data/Cache/Distributed/DistributedCacheQueryRepository.cs | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Serialization;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheQueryRepository<TEntity, TIdent... | using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Options;
using System;
using System.Threading;
using System.Threading.Tasks;
using TIKSN.Serialization;
namespace TIKSN.Data.Cache.Distributed
{
public class DistributedCacheQueryRepository<TEntity, TIdentity> : DistributedCacheRepository<... | mit | C# |
afb2111caf04aafead70647d8c544914478625d9 | Test for default plex path before checking for registry key. | cjmurph/PmsService,cjmurph/PmsService | PlexServiceCommon/PlexDirHelper.cs | PlexServiceCommon/PlexDirHelper.cs | using System;
using System.IO;
using Microsoft.Win32;
namespace PlexServiceCommon {
public static class PlexDirHelper {
/// <summary>
/// Returns the full path and filename of the plex media server executable
/// </summary>
/// <returns></returns>
public static string GetPlexDataDir()
{
var result = En... | using System;
using Microsoft.Win32;
namespace PlexServiceCommon {
public static class PlexDirHelper {
/// <summary>
/// Returns the full path and filename of the plex media server executable
/// </summary>
/// <returns></returns>
public static string GetPlexDataDir()
{
var result = string.Empty;
/... | mit | C# |
ef15d64ec30a1ce69a47b6341de20ee085004dfb | Fix for bad crop. | SuperJMN/Glass,SuperJMN/Glass-Legacy | Glass.Imaging/Core/RecognizedZone.cs | Glass.Imaging/Core/RecognizedZone.cs | namespace Glass.Imaging.Core
{
using System.Windows.Media.Imaging;
public class RecognizedZone
{
public RecognizedZone(BitmapSource bitmap, ZoneConfiguration zoneConfiguration, RecognitionResult recognitionResult)
{
ZoneConfig = zoneConfiguration;
Bitmap = bitmap;
... | namespace Glass.Imaging.Core
{
using System.Windows.Media;
using System.Windows.Media.Imaging;
public class RecognizedZone
{
public RecognizedZone(BitmapSource bitmap, ZoneConfiguration zoneConfiguration, RecognitionResult recognitionResult)
{
ZoneConfig = zoneConfiguration;... | mit | C# |
a54a8737a882b76d6ac13114f5d3e5eed1f1c0d1 | Add Join extension for strings | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility/StringUtility.cs | GoldenAnvil.Utility/StringUtility.cs | using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace GoldenAnvil.Utility
{
public static class StringUtility
{
public static string FormatInvariant(this string format, params object[] args)
{
return string.Format(CultureInfo.InvariantCulture, format, args);
}
public... | using System.Globalization;
namespace GoldenAnvil.Utility
{
public static class StringUtility
{
public static string FormatInvariant(this string format, params object[] args)
{
return string.Format(CultureInfo.InvariantCulture, format, args);
}
}
}
| mit | C# |
3806a050c42cc351c83d9a1944430a6929cbb1ad | delete for hard-coded | ralbu/FunBrain-DotNetCore | src/FunBrainInfrastructure/Repositories/UserRepositoryHardCoded.cs | src/FunBrainInfrastructure/Repositories/UserRepositoryHardCoded.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FunBrainDomain;
using FunBrainInfrastructure.Models;
namespace FunBrainInfrastructure.Repositories
{
public class UserRepositoryHardCoded : IUserRepository
{
private List<User> _us... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FunBrainDomain;
using FunBrainInfrastructure.Models;
namespace FunBrainInfrastructure.Repositories
{
public class UserRepositoryHardCoded : IUserRepository
{
private List<User> _us... | mit | C# |
fe38d887bd418459503ca13b930a8ef41cc45896 | Fix UL not using css classes for Lists in Widgets, too. | m2cms/Orchard,neTp9c/Orchard,abhishekluv/Orchard,jimasp/Orchard,xkproject/Orchard,salarvand/orchard,Praggie/Orchard,yersans/Orchard,OrchardCMS/Orchard-Harvest-Website,yersans/Orchard,omidnasri/Orchard,NIKASoftwareDevs/Orchard,yonglehou/Orchard,luchaoshuai/Orchard,salarvand/Portal,emretiryaki/Orchard,jchenga/Orchard,Fog... | src/Orchard.Web/Core/Containers/Views/Parts.ContainerWidget.cshtml | src/Orchard.Web/Core/Containers/Views/Parts.ContainerWidget.cshtml | @{
IEnumerable<object> items = Model.ContentItems;
Model.ContentItems.Classes.Add("content-items");
Model.ContentItems.Classes.Add("list-items");
}
@Display(items) | @Display(Model.ContentItems) | bsd-3-clause | C# |
101494139d2006e66f476b42068b421096def0ee | Implement cache for DotNetRestore #26 | Julien-Mialon/Cake.Storm,Julien-Mialon/Cake.Storm | fluent/src/Cake.Storm.Fluent.DotNetCore/Steps/DotNetRestoreStep.cs | fluent/src/Cake.Storm.Fluent.DotNetCore/Steps/DotNetRestoreStep.cs | using Cake.Common.IO;
using Cake.Common.Tools.DotNetCore;
using Cake.Core;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps;
namespace Cake.Storm.Fluent.DotNetCore.Steps
{
[PreBuildStep]
internal class DotNetRestoreStep : ICacheableStep
{
public void E... | using Cake.Common.IO;
using Cake.Common.Tools.DotNetCore;
using Cake.Core;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps;
namespace Cake.Storm.Fluent.DotNetCore.Steps
{
[PreBuildStep]
internal class DotNetRestoreStep : IStep
{
public void Execute(IC... | mit | C# |
f22dd3acd5176504c2e115cb1ad62e7225396539 | fix tests | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs | src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AZC0001Tests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Xunit;
namespace Azure.ClientSdk.Analyzers.Tests
{
public class AZC0001Tests
{
private readonly DiagnosticAnalyzerRunner _runner = new DiagnosticAnalyzerRunner(new Client... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Threading.Tasks;
using Xunit;
namespace Azure.ClientSdk.Analyzers.Tests
{
public class AZC0001Tests
{
private readonly DiagnosticAnalyzerRunner _runner = new DiagnosticAnalyzerRunner(new Client... | mit | C# |
4d177274d48888d1b38880b3af89b1d515dfb1cf | test env vars on prod | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Agent/Program.cs | src/FilterLists.Agent/Program.cs | using System;
using System.Threading.Tasks;
using FilterLists.Agent.AppSettings;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using FilterLists.Agent.Features.Urls.Models.DataFileUrls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
u... | using System;
using System.Threading.Tasks;
using FilterLists.Agent.Extensions;
using FilterLists.Agent.Features.Lists;
using FilterLists.Agent.Features.Urls;
using MediatR;
using Microsoft.Extensions.DependencyInjection;
namespace FilterLists.Agent
{
public static class Program
{
private static IServ... | mit | C# |
f8d2fe7b091973b560b9d864aad714386ff078a8 | return negative error code from acceptance tests if failed | mattherman/MbDotNet,mattherman/MbDotNet,SuperDrew/MbDotNet | MbDotNet.Acceptance.Tests/Program.cs | MbDotNet.Acceptance.Tests/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MbDotNet.Acceptance.Tests
{
class Program
{
public static MountebankClient Client { get; set; }
static void Main(string[] args)
{
SetupTestEnvironm... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MbDotNet.Acceptance.Tests
{
class Program
{
public static MountebankClient Client { get; set; }
static void Main(string[] args)
{
SetupTestEnvironm... | mit | C# |
14130e909dd0290975ece6d1420d2839a86e8609 | Delete System.Reflection.AssemblyNameProxyTest | ericstj/corefx,ptoonen/corefx,nbarbettini/corefx,DnlHarvey/corefx,parjong/corefx,krk/corefx,mazong1123/corefx,krytarowski/corefx,weltkante/corefx,dhoehna/corefx,twsouthwick/corefx,mmitche/corefx,rubo/corefx,alexperovich/corefx,mazong1123/corefx,yizhang82/corefx,wtgodbe/corefx,mmitche/corefx,dotnet-bot/corefx,alexperovi... | src/System.Runtime.Extensions/tests/System/Reflection/AssemblyNameProxyTests.cs | src/System.Runtime.Extensions/tests/System/Reflection/AssemblyNameProxyTests.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.IO;
using System.Collections.Generic;
using System.Reflection;
using System.Globalization... | // 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.IO;
using System.Collections.Generic;
using System.Reflection;
using System.Globalization... | mit | C# |
3c10edec8fc7cddb190340a726f7bdf7de4d691f | Make struct readonly | ErikSchierboom/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,davkean/roslyn,AlekseyTs/roslyn,panopticoncentral/roslyn,sharwell/roslyn,mavasani/roslyn,stephentoub/roslyn,physhi/roslyn,stephentoub/roslyn,KevinRansom/roslyn,dotnet/roslyn,agocke/roslyn,jmarolf/roslyn,reaction1989/roslyn,sharwell/roslyn,jmarolf/roslyn,brettfo/... | src/Features/Core/Portable/SolutionCrawler/ISolutionCrawlerProgressReporter.cs | src/Features/Core/Portable/SolutionCrawler/ISolutionCrawlerProgressReporter.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;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
/// <summary>
/// Provide a way to see whether solution crawler is started or not
... | // 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;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
/// <summary>
/// Provide a way to see whether solution crawler is started or not
... | mit | C# |
f79e09286e114de92a890d6b505e68840f6e47f5 | update SingleStateAniamtorControllerCreator | RyotaMurohoshi/character_animator_creator | unity/Assets/Editor/CharacterAnimatorCreator/SingleStateAnimatorControllerCreator.cs | unity/Assets/Editor/CharacterAnimatorCreator/SingleStateAnimatorControllerCreator.cs | using UnityEngine;
using UnityEditor;
using UnityEditor.Animations;
using System.Linq;
public static class SingleStateAnimatorControllerCreator
{
public static RuntimeAnimatorController CreateAnimatorController(SingleStateAnimatorControllerDefinition definition)
{
AnimatorController animatorController... | using UnityEngine;
using UnityEditor;
using UnityEditor.Animations;
public static class SingleStateAnimatorControllerCreator
{
public static RuntimeAnimatorController CreateAnimatorController(SingleStateAnimatorControllerDefinition definition)
{
AnimatorController animatorController = AnimatorControll... | mit | C# |
c5320f872cd9010a502cb1f57763d4f1481c9b34 | Update OAuthUserInfo.cs | lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,down4u/WeiXinMPSDK,lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WxOpen,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,... | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthUserInfo.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/OAuth/OAuthUserInfo.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.AdvancedAPIs
{
/// <summary>
/// 通过OAuth的获取到的用户信息(snsapi_userinfo=scope)
/// </summary>
public class OAuthUserInfo
{
public string openid { get; set; }
public string ni... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Senparc.Weixin.MP.AdvancedAPIs
{
/// <summary>
/// 通过OAuth的获取到的用户信息(snsapi_userinfo=scope)
/// </summary>
public class OAuthUserInfo
{
public string openid { get; set; }
public string ni... | apache-2.0 | C# |
b2c8e33cdd1c6e0f6dd3c01bc5965ccb45dfa0ba | Update Global.cs | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos | source/Cosmos.HAL2/Global.cs | source/Cosmos.HAL2/Global.cs | using System;
using System.Threading;
using Cosmos.Core;
using Cosmos.Debug.Kernel;
using Cosmos.HAL.BlockDevice;
namespace Cosmos.HAL
{
public static class Global
{
public static readonly Debugger mDebugger = new Debugger("HAL", "Global");
static public PIT PIT = new PIT();
// Must be static init, ot... | using System;
using System.Threading;
using Cosmos.Core;
using Cosmos.Debug.Kernel;
using Cosmos.HAL.BlockDevice;
namespace Cosmos.HAL
{
public static class Global
{
public static readonly Debugger mDebugger = new Debugger("HAL", "Global");
static public PIT PIT = new PIT();
// Must be static init, ot... | bsd-3-clause | C# |
dac98a73118fa5354d0b6f820d8be4d3d33b21a5 | Enable UpnEndpointIdentity tests on UWP | dotnet/wcf,imcarolwang/wcf,MattGal/wcf,MattGal/wcf,hongdai/wcf,imcarolwang/wcf,shmao/wcf,zhenlan/wcf,KKhurin/wcf,ericstj/wcf,ElJerry/wcf,StephenBonikowsky/wcf,ElJerry/wcf,dotnet/wcf,dotnet/wcf,StephenBonikowsky/wcf,iamjasonp/wcf,hongdai/wcf,mconnew/wcf,mconnew/wcf,mconnew/wcf,KKhurin/wcf,ericstj/wcf,shmao/wcf,iamjasonp... | src/System.ServiceModel.Security/tests/ServiceModel/UpnEndpointIdentityTest.cs | src/System.ServiceModel.Security/tests/ServiceModel/UpnEndpointIdentityTest.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.ServiceModel;
using Infrastructure.Common;
using Xunit;
public static class UpnEndpoin... | // 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.ServiceModel;
using Infrastructure.Common;
using Xunit;
public static class UpnEndpoin... | mit | C# |
36aa4a3bbe8ebc56fb082a399c2614611cc6c295 | Validate remote script MIME type early | filipw/dotnet-script,filipw/dotnet-script | src/Dotnet.Script.Core/ScriptDownloader.cs | src/Dotnet.Script.Core/ScriptDownloader.cs | using System;
using System.IO;
using System.Net.Http;
using System.Net.Mime;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
usi... | using System;
using System.IO;
using System.Net.Http;
using System.Net.Mime;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
const string plainTextMediaType = "text/plain";
usi... | mit | C# |
9483faeab3628b4a3a8b19c478b2022621efc702 | Bump version | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Properties/AssemblyInfo.cs | src/SyncTrayzor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
1edbca6e6552f6c5a148ea30f31b3530cb7d9656 | Add note about action type | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Input/Bindings/IKeyBinding.cs | osu.Framework/Input/Bindings/IKeyBinding.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.
namespace osu.Framework.Input.Bindings
{
/// <summary>
/// A binding of a <see cref="Bindings.KeyCombination"/> to an action.
/// </summary>
public interf... | // 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.
namespace osu.Framework.Input.Bindings
{
/// <summary>
/// A binding of a <see cref="Bindings.KeyCombination"/> to an action.
/// </summary>
public interf... | mit | C# |
dbab38cf3aa401fbf12c21c108ba24461f4f446a | Bump version associated with issue 19 | tnachen/kafka,tnachen/kafka,tnachen/kafka,tnachen/kafka,tnachen/kafka,tnachen/kafka,tnachen/kafka,tnachen/kafka | clients/csharp/src/Kafka/Kafka.Client/Properties/AssemblyInfo.cs | clients/csharp/src/Kafka/Kafka.Client/Properties/AssemblyInfo.cs | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | apache-2.0 | C# |
d17d6995c83466c415b0adde18efcc4f407af8c3 | Remove Http. | kmjonmastro/Akavache,akavache/Akavache,ghuntley/AkavacheSandpit,christer155/Akavache,gimsum/Akavache,shana/Akavache,mms-/Akavache,jcomtois/Akavache,shana/Akavache,MathieuDSTP/MyAkavache,martijn00/Akavache,PureWeen/Akavache,MarcMagnin/Akavache,Loke155/Akavache,bbqchickenrobot/Akavache | Akavache/Portable/DependencyResolverMixin.cs | Akavache/Portable/DependencyResolverMixin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Splat;
namespace Akavache
{
internal interface IWantsToRegisterStuff
{
void Register(IMutableDependencyResolver resolverToUse);
}
public static cl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Splat;
namespace Akavache
{
internal interface IWantsToRegisterStuff
{
void Register(IMutableDependencyResolver resolverToUse);
}
public static cl... | mit | C# |
6e26ca4fd1bdba4e1257a984b18b546235ef25d5 | Update Assemply Information | harouny/NLog.Extensions.AzureTableStorage | NLog.Extensions.AzureTableStorage/Properties/AssemblyInfo.cs | NLog.Extensions.AzureTableStorage/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... | 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("NL... | mit | C# |
683f5d910061fbe8653448c75db28170f13a6ccc | Update PasAccountApiClientFactory.cs | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.PAS.Account.Api.ClientV2/PasAccountApiClientFactory.cs | src/SFA.DAS.PAS.Account.Api.ClientV2/PasAccountApiClientFactory.cs | using Microsoft.Extensions.Logging;
using SFA.DAS.Http;
using SFA.DAS.PAS.Account.Api.ClientV2.Configuration;
namespace SFA.DAS.PAS.Account.Api.ClientV2
{
internal class PasAccountApiClientFactory
{
private readonly PasAccountApiConfiguration _configuration;
private readonly ILoggerFactory _lo... | using Microsoft.Extensions.Logging;
using SFA.DAS.Http;
using SFA.DAS.PAS.Account.Api.ClientV2.Configuration;
namespace SFA.DAS.PAS.Account.Api.ClientV2
{
internal class PasAccountApiClientFactory
{
private readonly PasAccountApiConfiguration _configuration;
private readonly ILoggerFactory _lo... | mit | C# |
bad508675a26164f3a559b7a1e98f82a92df9500 | Fix run without debugger on Windows | mrward/monodevelop-powershell-addin | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellExecutionCommand.cs | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellExecutionCommand.cs | //
// PowerShellExecutionCommand.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | //
// PowerShellExecutionCommand.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... | mit | C# |
32a7af4d015cd0ed50c490d0d7f5433c60695e53 | update ulong to long? | hungmai-msft/azure-powershell,devigned/azure-powershell,hungmai-msft/azure-powershell,naveedaz/azure-powershell,devigned/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,hungmai-msft/azure-powershell,hungmai-msft/azure-powershell,AzureAutoma... | src/ResourceManager/Network/Commands.Network/Models/PSTunnelConnectionHealth.cs | src/ResourceManager/Network/Commands.Network/Models/PSTunnelConnectionHealth.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
42c8ff099ecbcb12602de43e4ef46b4e1e888964 | add comment to FacileRequiredAttribute | peasy/Peasy.NET,peasy/Samples,peasy/Samples,ahanusa/Peasy.NET,peasy/Samples,ahanusa/facile.net | Facile/Attributes/FacileRequiredAttribute.cs | Facile/Attributes/FacileRequiredAttribute.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Attributes
{
/// <summary>
/// Validates that non-zero values are supplied for int, decimal or non-default values for dates
/// ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Attributes
{
public class FacileRequiredAttribute : ValidationAttribute
{
protected override ValidationResult IsValid(object... | mit | C# |
006b24f05779c0eafd5367fcd4dd3199edc2cb83 | Set ComVisible=false | goblincoding/globalmousekeyhook,gmamaladze/globalmousekeyhook,mhxjzq/globalmousekeyhook | MouseKeyboardActivityMonitor/AssemblyInfo.cs | MouseKeyboardActivityMonitor/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("MouseKeyboardActivityMonitor")]
[assembly: AssemblyDescription("This class library contains components to monitor mouse and keyboard activities and provides appropriate events.")]
[assembly: AssemblyCompany("Mouse and Keyboard Hoo... | using System.Reflection;
[assembly: AssemblyTitle("MouseKeyboardActivityMonitor")]
[assembly: AssemblyDescription("This class library contains components to monitor mouse and keyboard activities and provides appropriate events.")]
[assembly: AssemblyCompany("Mouse and Keyboard Hooks .NET")]
[assembly: AssemblyProduct(... | mit | C# |
df60cd790da894831a1df6a8eec14b38a826532f | use simple options in sample | MetaG8/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,MetaG8/Metrics.NET,cvent/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,huoxudong125/Metrics.NET,Liwoj/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.NET,Recognos/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.... | Samples/NancyFx.Sample/SampleBootstrapper.cs | Samples/NancyFx.Sample/SampleBootstrapper.cs | using System;
using System.Collections.Generic;
using Metrics;
using Nancy;
using Nancy.Authentication.Stateless;
using Nancy.Bootstrapper;
using Nancy.Security;
using Nancy.TinyIoc;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace NancyFx.Sample
{
public class SampleBootstrapper : DefaultNan... | using System;
using System.Collections.Generic;
using Metrics;
using Nancy;
using Nancy.Authentication.Stateless;
using Nancy.Bootstrapper;
using Nancy.Security;
using Nancy.TinyIoc;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace NancyFx.Sample
{
public class SampleBootstrapper : DefaultNan... | apache-2.0 | C# |
89b99a8412f4b13c59dc873b862fde80c94fcc06 | Increment the app version. | ladimolnar/BitcoinBlockchain | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | Sources/BitcoinBlockchain/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs">
// Copyright © Ladislau Molnar. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Reflection;
using System.Runtime.Int... | apache-2.0 | C# |
3c5673f5285d5c116a4eccd580ca3f1619074050 | Fix issue with readonly RedirectUri | Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,jerriep/auth0-aspnet-owin,jerriep/auth0-aspnet-owin,jerriep/auth0-aspnet-owin,auth0/auth0-aspnet-owin,Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,Amialc/auth0-aspnet-owin | Auth0.Owin/Provider/Auth0CustomizeTokenExchangeRedirectUriContext.cs | Auth0.Owin/Provider/Auth0CustomizeTokenExchangeRedirectUriContext.cs | using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Provider;
namespace Auth0.Owin
{
/// <summary>
/// Context passed when the redirect_uri is generated during the token exchange.
/// </summary>
public class Auth0CustomizeTokenExchangeRedirectUriContext : BaseContext<Au... | using Microsoft.Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Provider;
namespace Auth0.Owin
{
/// <summary>
/// Context passed when the redirect_uri is generated during the token exchange.
/// </summary>
public class Auth0CustomizeTokenExchangeRedirectUriContext : BaseContext<Au... | mit | C# |
df72f59bc62f17bee321992cf63c6bc9cfa491a2 | Generalize Label on item type. | plioi/parsley | src/Parsley/Grammar.Label.cs | src/Parsley/Grammar.Label.cs | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
partial class Grammar
{
/// <summary>
/// When parser p consumes any input, Label(p, l) is the same as p.
/// When parser p does not consume any input, Label(p, l) is the same
/// as p, except any messages are replaced with expectation label l.... | using System.Diagnostics.CodeAnalysis;
namespace Parsley;
partial class Grammar
{
/// <summary>
/// When parser p consumes any input, Label(p, l) is the same as p.
/// When parser p does not consume any input, Label(p, l) is the same
/// as p, except any messages are replaced with expectation label l.... | mit | C# |
b400ae17bf464d0a7b7dd877069e11605eb9a308 | Use KeyExists for Contains method | mackayj/WebApi.OutputCache.Redis.StackExchange | Source/WebApi.OutputCache.Redis.StackExchange/StackExchangeRedisCacheProvider.cs | Source/WebApi.OutputCache.Redis.StackExchange/StackExchangeRedisCacheProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StackExchange.Redis;
using WebApi.OutputCache.Core.Cache;
namespace WebApi.OutputCache.Redis.StackExchange
{
public class StackExchangeRedisCacheProvider : IApiOutputCache
{
private Connection... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StackExchange.Redis;
using WebApi.OutputCache.Core.Cache;
namespace WebApi.OutputCache.Redis.StackExchange
{
public class StackExchangeRedisCacheProvider : IApiOutputCache
{
private Connection... | mit | C# |
e265beb289a3d1df5c5d0645526884e85c410ac9 | Fix merge error | 2yangk23/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,smoogipoo/osu,johnneijzen/osu,johnneijzen/osu,smoogipoo/osu,ppy/osu,peppy/osu,EVAST9919/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,Useless... | osu.Game.Rulesets.Osu/Edit/Blueprints/HitCircles/HitCirclePlacementBlueprint.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/HitCircles/HitCirclePlacementBlueprint.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.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components;
using osu.Game.Rulesets.Osu.Objects;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Edit.Blueprints.HitCircles.Components;
using osu.Game.Rulesets.Osu.Objects;
us... | mit | C# |
07dfb7b7530528a065a2eccb09b6df560e2547c5 | Add unit tests for PEHeaderBuilder factory methods | shimingsg/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,wtgodbe/corefx,wtgodbe/corefx,ptoonen/corefx,BrennanConroy/corefx,shimingsg/corefx,ericstj/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ViktorHofer/corefx,ptoonen/corefx,shimingsg/corefx,ericstj/corefx,wtgodbe/corefx,ptoonen/corefx,ptoonen/corefx,ptoonen... | src/System.Reflection.Metadata/tests/PortableExecutable/PEHeaderBuilderTests.cs | src/System.Reflection.Metadata/tests/PortableExecutable/PEHeaderBuilderTests.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.PortableExecutable.Tests
{
public class PEHeaderBuilderTests
{
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.Reflection.PortableExecutable.Tests
{
public class PEHeaderBuilderTests
{
... | mit | C# |
43019e8983a18b9fd5b17a263a161ddf7aa04c63 | fix the reset password link redirection issue #1887 (#1888) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Pages/ResetPassword.razor.cs | src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Pages/ResetPassword.razor.cs | using TodoTemplate.Shared.Dtos.Account;
namespace TodoTemplate.App.Pages;
public partial class ResetPassword
{
[Parameter]
[SupplyParameterFromQuery]
public string? Email { get; set; }
[Parameter]
[SupplyParameterFromQuery]
public string? Token { get; set; }
public ResetPasswordRequestD... | using TodoTemplate.Shared.Dtos.Account;
namespace TodoTemplate.App.Pages;
public partial class ResetPassword
{
[Parameter]
[SupplyParameterFromQuery]
public string? Email { get; set; }
[Parameter]
[SupplyParameterFromQuery]
public string? Token { get; set; }
public ResetPasswordRequestD... | mit | C# |
34fb255da39f0f24749c2219735e365d0a62fed5 | Fix Default Directory/DbName for jsonDbCore | xivSolutions/biggy | src/Biggy.Data.Json/jsonDbCore.cs | src/Biggy.Data.Json/jsonDbCore.cs | using System;
using System.IO;
using System.Linq;
using Biggy.Core;
using System.Reflection;
namespace Biggy.Data.Json {
public class JsonDbCore {
public virtual IDataStore<T> CreateStoreFor<T>() where T : new() {
return new JsonStore<T>(this);
}
public JsonDbCore() {
this.DatabaseName = Ge... | using System;
using System.IO;
using System.Linq;
using Biggy.Core;
namespace Biggy.Data.Json {
public class JsonDbCore {
public virtual IDataStore<T> CreateStoreFor<T>() where T : new() {
return new JsonStore<T>(this);
}
public JsonDbCore(string dbName = "Data") {
this.DatabaseName = dbNam... | bsd-3-clause | C# |
7b5aef553026cbc2c0f2b745145d268b6f95d3ca | Make components of IRequestContext independently injectable. | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web | src/Dolstagis.Web/CoreServices.cs | src/Dolstagis.Web/CoreServices.cs | using Dolstagis.Web.Auth;
using Dolstagis.Web.Http;
using Dolstagis.Web.Lifecycle;
using Dolstagis.Web.Lifecycle.ResultProcessors;
using Dolstagis.Web.Sessions;
using Dolstagis.Web.Static;
using Dolstagis.Web.Views;
namespace Dolstagis.Web
{
internal class CoreServices : Feature
{
public C... | using Dolstagis.Web.Auth;
using Dolstagis.Web.Lifecycle;
using Dolstagis.Web.Lifecycle.ResultProcessors;
using Dolstagis.Web.Sessions;
using Dolstagis.Web.Static;
using Dolstagis.Web.Views;
namespace Dolstagis.Web
{
internal class CoreServices : Feature
{
public CoreServices()
{
... | mit | C# |
ecb3b909846c1ab14e60e7f8463e6c54c8eb419b | Undo change to the GoogleDefaults | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Authentication.Google/GoogleDefaults.cs | src/Microsoft.AspNetCore.Authentication.Google/GoogleDefaults.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.
namespace Microsoft.AspNetCore.Authentication.Google
{
/// <summary>
/// Default values for Google authentication
/// </summary>
public ... | // 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.
namespace Microsoft.AspNetCore.Authentication.Google
{
/// <summary>
/// Default values for Google authentication
/// </summary>
public ... | apache-2.0 | C# |
6258179247f0862f18f813de62e8a0676b1ff708 | Address feedback | mavasani/roslyn,bartdesmet/roslyn,eriawan/roslyn,KevinRansom/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,sharwell/roslyn,eriawan/roslyn,shyamnamboodiripad/roslyn,KevinRansom/roslyn,di... | src/Features/CSharp/Portable/MakeMemberStatic/CSharpMakeMemberStaticCodeFixProvider.cs | src/Features/CSharp/Portable/MakeMemberStatic/CSharpMakeMemberStaticCodeFixProvider.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.Collections.Immutable;
using System.Composition;
using System.Diagnostics.CodeAnalysis;
... | // 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.Collections.Immutable;
using System.Composition;
using System.Diagnostics.CodeAnalysis;
... | mit | C# |
6929d94296176bfa9331fd18add29aa2dae8b3bf | Fix per review | quantumagi/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/S... | src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/CheckDifficultykHybridRule.cs | src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/CheckDifficultykHybridRule.cs | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus.Rules;
namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// Calculate the difficulty of a POS network for both Pow/POS blocks.
/// </summary>
[PartialValidati... | using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Consensus.Rules;
namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules
{
/// <summary>
/// Calculate the difficulty of a POS network for both Pow/POS blocks.
/// </summary>
[PartialValidati... | mit | C# |
6447d4f98d732c20b1682d98592d1cfa07545639 | Use TypeConverter correctly. | jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,akrisiun/Perspex,AvaloniaUI/Avalonia,SuperJMN/Av... | src/Avalonia.Diagnostics/Diagnostics/ViewModels/PropertyViewModel.cs | src/Avalonia.Diagnostics/Diagnostics/ViewModels/PropertyViewModel.cs | using System;
using System.ComponentModel;
using System.Globalization;
using System.Reflection;
namespace Avalonia.Diagnostics.ViewModels
{
internal abstract class PropertyViewModel : ViewModelBase
{
private const BindingFlags PublicStatic = BindingFlags.Public | BindingFlags.Static;
private s... | using System;
using System.ComponentModel;
using System.Globalization;
using System.Reflection;
namespace Avalonia.Diagnostics.ViewModels
{
internal abstract class PropertyViewModel : ViewModelBase
{
private const BindingFlags PublicStatic = BindingFlags.Public | BindingFlags.Static;
private s... | mit | C# |
d6021a004fe59ec60212d03da159e9b6e5f43bd4 | Make DeleteBatch a class | carbon/Amazon | src/Amazon.S3/Actions/BatchDeleteRequest.cs | src/Amazon.S3/Actions/BatchDeleteRequest.cs | using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Xml.Linq;
namespace Amazon.S3
{
public sealed class BatchDeleteRequest : S3Request
{
public BatchDeleteRequest(string host, string bucketName, DeleteBatch batch)
: base(HttpM... | using System;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Xml.Linq;
namespace Amazon.S3
{
public sealed class BatchDeleteRequest : S3Request
{
public BatchDeleteRequest(string host, string bucketName, DeleteBatch batch)
: base(HttpM... | mit | C# |
4b31a98812f7db6877382d54a3ba4a5b94ab5ffe | Fix test broken by e771e78 | rasmuseeg/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,bjarnef/Umbraco-CMS,tompipe/Umbraco-CMS,WebCentrum/Umbraco-CMS,NikRimington/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Um... | src/Umbraco.Tests/Web/AngularIntegration/JsInitializationTests.cs | src/Umbraco.Tests/Web/AngularIntegration/JsInitializationTests.cs | using System.Linq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Web.UI.JavaScript;
namespace Umbraco.Tests.Web.AngularIntegration
{
[TestFixture]
public class JsInitializationTests
{
[Test]
public void Get_Default_Init()
{
var init = JsInitialization.GetDef... | using System.Linq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Web.UI.JavaScript;
namespace Umbraco.Tests.Web.AngularIntegration
{
[TestFixture]
public class JsInitializationTests
{
[Test]
public void Get_Default_Init()
{
var init = JsInitialization.GetDef... | mit | C# |
ad448cbbea8b960d006af5478f06b5b0e36e53ea | Allow mixed path references and url transforms | brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net | src/web/App_Start/BundleConfig.cs | src/web/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
using wwwplatform.Models;
using wwwplatform.Models.Support;
namespace wwwplatform
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCol... | using System.Web;
using System.Web.Optimization;
using wwwplatform.Models;
using wwwplatform.Models.Support;
namespace wwwplatform
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCol... | apache-2.0 | C# |
dd5b90cf6cde83e0b59f282f0bdb1aa75e30a6d5 | Add test coverage of animation restarting | ppy/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu | osu.Game.Tests/Visual/Gameplay/TestSceneParticleExplosion.cs | osu.Game.Tests/Visual/Gameplay/TestSceneParticleExplosion.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osuTK;
namespa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Textures;
using osu.Game.Graphics;
using osuTK;
namespa... | mit | C# |
5a5693958110a9cba4ed77d47073c0255480183a | Fix for missing correlationId preventing startup of EAS | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Data/UserRepository.cs | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | using System;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using SFA.DAS.EAS.Domain.Configuration;
using SFA.DAS.EAS.Domain.Data.Repositories;
using SFA.DAS.EAS.Domain.Models.UserProfile;
using SFA.DAS.Sql.Client;
using SFA.DAS.NLog.Logger;
na... | mit | C# |
fad5fb6aff41cbb455f8a8d36972b11ed4dfcc7b | Make FreePortFinder more resilient | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Syncthing/FreePortFinder.cs | src/SyncTrayzor/Syncthing/FreePortFinder.cs | using NLog;
using System;
using System.Net;
using System.Net.Sockets;
namespace SyncTrayzor.Syncthing
{
public interface IFreePortFinder
{
int FindFreePort(int startingPort);
}
public class FreePortFinder : IFreePortFinder
{
private static readonly Logger logger = LogManager.GetCu... | using NLog;
using System;
using System.Net;
using System.Net.Sockets;
namespace SyncTrayzor.Syncthing
{
public interface IFreePortFinder
{
int FindFreePort(int startingPort);
}
public class FreePortFinder : IFreePortFinder
{
private static readonly Logger logger = LogManager.GetCu... | mit | C# |
d40333de64ab89ea1deb15ea0a8833fb9aaa45a5 | Bump the Assembly version to 1.2.5 like the VERSION file. | Misterblue/convoar,Misterblue/convoar | convoar/Properties/AssemblyInfo.cs | convoar/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: AssemblyTit... | 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: AssemblyTit... | apache-2.0 | C# |
a882eca1956ea0370c5ec01c598e2c7d14fa11ec | Fix some formatting for Teams | laurentkempe/HipChatConnect,laurentkempe/HipChatConnect | src/HipChatConnect/Controllers/Listeners/Github/GithubAggregator.cs | src/HipChatConnect/Controllers/Listeners/Github/GithubAggregator.cs | using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HipChatConnect.Controllers.Listeners.Github.Models;
using HipChatConnect.Controllers.Listeners.TeamCity;
namespace HipChatConnect.Controllers.Listeners.Github
{
public class GithubAggregator
{
private IHipChatRoom Room { get; }
... | using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HipChatConnect.Controllers.Listeners.Github.Models;
using HipChatConnect.Controllers.Listeners.TeamCity;
namespace HipChatConnect.Controllers.Listeners.Github
{
public class GithubAggregator
{
private IHipChatRoom Room { get; }
... | mit | C# |
cda72efe1f11cf4ad7c5dde11ad178751eff3c59 | Update Index.cshtml | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/Index.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/TermsAndConditions/Index.cshtml | @{
ViewBag.PageID = "page-terms";
ViewBag.Title = "Terms of use";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">@ViewBag.Title</h1>
@Html.Partial("_TermsAndConditionBody")
</div>
</div> | @{
ViewBag.PageID = "page-terms";
ViewBag.Title = "Terms and conditions";
}
<div class="grid-row">
<div class="column-two-thirds">
<h1 class="heading-xlarge">@ViewBag.Title</h1>
@Html.Partial("_TermsAndConditionBody")
</div>
</div> | mit | C# |
72d296f4128066787bf0c098d52422aefe363622 | Add received timestamp and basic xmldoc for header class | UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu | osu.Game/Online/Spectator/FrameHeader.cs | osu.Game/Online/Spectator/FrameHeader.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 enable
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Onli... | // 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 enable
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Onli... | mit | C# |
93d4c77a4bcfcb97af749c93f10bfd555694deef | Fix a few for AuthenticationSchemes.cs | alberist/websocket-sharp,jmptrader/websocket-sharp,microdee/websocket-sharp,zq513705971/WebSocketApp,jmptrader/websocket-sharp,2Toad/websocket-sharp,zhangwei900808/websocket-sharp,zhangwei900808/websocket-sharp,pjc0247/websocket-sharp-unity,zq513705971/WebSocketApp,sinha-abhishek/websocket-sharp,zq513705971/WebSocketAp... | websocket-sharp/Net/AuthenticationSchemes.cs | websocket-sharp/Net/AuthenticationSchemes.cs | #region License
/*
* AuthenticationSchemes.cs
*
* This code is derived from System.Net.AuthenticationSchemes.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2012-2014 sta.blockhead
*
* Permission is hereby granted, fr... | #region License
/*
* AuthenticationSchemes.cs
*
* This code is derived from System.Net.AuthenticationSchemes.cs of Mono
* (http://www.mono-project.com).
*
* The MIT License
*
* Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
* Copyright (c) 2012-2013 sta.blockhead
*
* Permission is hereby granted, fr... | mit | C# |
dc72b7ce92173f629668f87df6233a0ccd747198 | Fix Clean ordering | blackdwarf/cli,johnbeisner/cli,svick/cli,ravimeda/cli,johnbeisner/cli,johnbeisner/cli,harshjain2/cli,blackdwarf/cli,EdwardBlair/cli,blackdwarf/cli,ravimeda/cli,livarcocc/cli-1,Faizan2304/cli,EdwardBlair/cli,Faizan2304/cli,dasMulli/cli,livarcocc/cli-1,ravimeda/cli,livarcocc/cli-1,EdwardBlair/cli,Faizan2304/cli,svick/cli... | src/dotnet/commands/dotnet-clean/Program.cs | src/dotnet/commands/dotnet-clean/Program.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.MSBuild;... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Cli.Utils;
using Microsoft.DotNet.Tools.MSBuild;... | mit | C# |
55a09f50e1afac6c0bdff559290974bcfc733ede | update geotargeting | alecgorge/adzerk-dot-net | Adzerk.Api/Models/GeoTargeting.cs | Adzerk.Api/Models/GeoTargeting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Adzerk.Api.Models
{
public class GeoTargeting
{
public long LocationId { get; set; }
public string CountryCode { get; set; }
public string Region { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Adzerk.Api.Models
{
public class GeoTargeting
{
public string CountryCode { get; set; }
public string Region { get; set; }
public string MetroCode { get; set; }... | mit | C# |
5c41205ab793d64af33b74334664e7c77308421c | use regex | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Core/Models/AccountModel.cs | Anlab.Core/Models/AccountModel.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Anlab.Jobs.MoneyMovement
{
public class AccountModel
{
public AccountModel(string rawAccount)
{
var regx = Regex.Match(rawAccount, @"(\w)-(\w{7})\/?(\w{5})?... | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Anlab.Jobs.MoneyMovement
{
public class AccountModel
{
public AccountModel(string rawAccount)
{
//var temp = rawAccount.Split('-');
//var tempS... | mit | C# |
007e0849efb708d27ee15dacf3d3843904d7a863 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: June 10, 2020<br /><br />
We are open and receiving samples as usual.<br /><br />
Thank you for your patience ... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<div class="alert alert-info">
<button type="button" class="close" data-dismiss="alert">×</button>
Update posted: Update posted: June 10, 2020<br /><br />
We are open and receiving samples as usual.<br /><br />
Thank you for... | mit | C# |
b6249c186489b22912f1c2503f94b26a40348f3b | Delete the actual date folder | chadly/cams,chadly/vlc-rtsp,chadly/vlc-rtsp,chadly/vlc-rtsp | src/AmcrestCamera.cs | src/AmcrestCamera.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Cams
{
public class AmcrestCamera : Camera
{
public override string Type => "Amcrest";
public AmcrestCamera(string path)
: base(path) { }
protected override IEnumerable<Vide... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace Cams
{
public class AmcrestCamera : Camera
{
public override string Type => "Amcrest";
public AmcrestCamera(string path)
: base(path) { }
protected override IEnumerable<Vide... | mit | C# |
7a35f6806485f6ba6beadf9005b0855eda013af5 | Use version parser instead of string.split | File-New-Project/EarTrumpet | EarTrumpet/Services/WhatsNewDisplayService.cs | EarTrumpet/Services/WhatsNewDisplayService.cs | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.System;
namespace EarTrumpet.Services
{
public static class WhatsNewDisplayService
{
internal static void ShowIfAppropriate()
{
if (App.HasIdentity())
{
var current... | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.System;
namespace EarTrumpet.Services
{
public static class WhatsNewDisplayService
{
internal static void ShowIfAppropriate()
{
if (App.HasIdentity())
{
var current... | mit | C# |
ab4f31639d9e2ccfd8ac4cc61091c024aa0c6827 | Remove weird time clause | johnneijzen/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.cs | osu.Game.Rulesets.Osu/Objects/Drawables/Pieces/ReverseArrowPiece.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 osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
usi... | // 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 osu.Framework.Audio.Track;
using osu.Framework.Graphics;
using osuTK;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps.ControlPoints;
usi... | mit | C# |
7fefea48e1ffc043261154c28bbebdef5c36b586 | use "var" keyword for readability | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Voxelgon/Math/Geometry.cs | Assets/Voxelgon/Math/Geometry.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
namespace Voxelgon.Math {
public static class Geometry {
//merges a list of meshes into a single mesh (limited at 65534 vertices)
public static Mesh MergeMeshes(List<Mesh> meshes) {
var compoundMesh = new Mesh();
... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Voxelgon;
namespace Voxelgon.Math {
public static class Geometry {
//merges a list of meshes into a single mesh (limited at 65534 vertices)
public static Mesh MergeMeshes(List<Mesh> meshes) {
Mesh compoundMesh = new Mesh();
... | apache-2.0 | C# |
57274a4ad2132f34357afe7eb958a0acde49a4b1 | Remove CIV.Ccs reference from CIV.Hml | lou1306/CIV,lou1306/CIV | CIV.Hml/HmlFormula/BoxFormula.cs | CIV.Hml/HmlFormula/BoxFormula.cs | using System;
using System.Collections.Generic;
using System.Linq;
using CIV.Common;
namespace CIV.Hml
{
class BoxFormula : HmlLabelFormula
{
protected override string BuildRepr() => $"[{String.Join(",", Label)}]{Inner}";
protected override bool CheckStrategy(IEnumerable<IProcess> processes)
... | using System;
using System.Collections.Generic;
using System.Linq;
using CIV.Ccs;
using CIV.Common;
namespace CIV.Hml
{
class BoxFormula : HmlLabelFormula
{
protected override string BuildRepr() => $"[{String.Join(",", Label)}]{Inner}";
protected override bool CheckStrategy(IEnumerable<IProce... | mit | C# |
ae15e77ed59f71fbeb206404479cdabc17242e51 | Fix Cut Dependencies | rusergeev/DynamicProperty | DynamicProperty/DependencyNode.cs | DynamicProperty/DependencyNode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace DynamicProperty {
public abstract class DependencyNode {
public void AddLink([NotNull] DependencyNode to) {
if (to == this)
throw new InvalidOperationException("Don't set i... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace DynamicProperty {
public abstract class DependencyNode {
public void AddLink([NotNull] DependencyNode to) {
if (to == this)
throw new InvalidOperationException("Don't set i... | bsd-3-clause | C# |
71b4f5ebf355243061a7bdd3d0ac4bf1f9cbc04a | Remove call to _set#Update from VerifiedUserRepository. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/VerifiedUserRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/VerifiedUserRepository.cs | using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class VerifiedUserRepository : Repository<VerifiedUser>, IVerifiedUserRepository {
public VerifiedUserRepository(DbContext context) : base(context) {... | using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Services.Database.Models;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class VerifiedUserRepository : Repository<VerifiedUser>, IVerifiedUserRepository {
public VerifiedUserRepository(DbContext context) : base(context) {... | mit | C# |
d5e48510b2108b016fa3327736e9a697e023b707 | Update AssemblyInfo.cs | mikhail-barg/NLog.Windows.Forms,NLog/NLog.Windows.Forms | NLog.Windows.Forms/Properties/AssemblyInfo.cs | NLog.Windows.Forms/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("NL... | 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("NL... | bsd-3-clause | C# |
b6ab6b305982fe22e0d3032b4aa10c2c1cae42b6 | Update DependencyBuilder to inject ReflectionMetadataDependencyFinder | JJVertical/dotnet-apiport,mjrousos/dotnet-apiport,mjrousos/dotnet-apiport,twsouthwick/dotnet-apiport,Microsoft/dotnet-apiport,conniey/dotnet-apiport,mjrousos/dotnet-apiport-old,Microsoft/dotnet-apiport,conniey/dotnet-apiport,JJVertical/dotnet-apiport,twsouthwick/dotnet-apiport,conniey/dotnet-apiport,Microsoft/dotnet-ap... | src/ApiPort/DependencyBuilder.cs | src/ApiPort/DependencyBuilder.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability;
using Microsoft.Fx.Portability.Analyzer;
using Microsoft.Fx.Portability.Reporting;
using Microsoft.Practices.Unity;
using System;
name... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Fx.Portability;
using Microsoft.Fx.Portability.Analyzer;
using Microsoft.Fx.Portability.Reporting;
using Microsoft.Practices.Unity;
using System;
name... | mit | C# |
e0628cfd54851c3ec12d1a3c5bfd39f9edb3d177 | Fix to Issue #217 | anthonylangsworth/commandline,kshanafelt/commandline,nausley/commandline,Thilas/commandline,huoxudong125/commandline,huoxudong125/commandline,Emergensys/commandline,anthonylangsworth/commandline,Emergensys/commandline,Thilas/commandline,kshanafelt/commandline,rmboggs/commandline,nausley/commandline,rmboggs/commandline | src/CommandLine/VerbAttribute.cs | src/CommandLine/VerbAttribute.cs | // Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
using System;
namespace CommandLine
{
/// <summary>
/// Models a verb command specification.
/// </summary>
[AttributeUsage(AttributeTargets.Class | ... | // Copyright 2005-2015 Giacomo Stelluti Scala & Contributors. All rights reserved. See License.md in the project root for license information.
using System;
namespace CommandLine
{
/// <summary>
/// Models a verb command specification.
/// </summary>
[AttributeUsage(AttributeTargets.Class | ... | mit | C# |
e110a17bc8627a01bd31d1377850a287c1b5bc32 | Change window title in example project. | nitrocaster/xrConsole | Example/ConsoleWindow.Designer.cs | Example/ConsoleWindow.Designer.cs | namespace xr
{
partial class ConsoleWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... | namespace xr
{
partial class ConsoleWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... | mit | C# |
0cc005bc7bb2bddc1b12dc3fde9996828735ddf1 | Format CSV values using invariant culture | andreaspada/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery | EDDiscovery/Export/ExportBase.cs | EDDiscovery/Export/ExportBase.cs | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | using EDDiscovery.EliteDangerous;
using System;
using System.Collections.Generic;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
namespace EDDiscovery.Export
{
public enum CSVFormat
{
USA_UK = 0,
EU = 1,
}
public abstract class ExportBase... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.