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 |
|---|---|---|---|---|---|---|---|---|
36baeb06159c0f087ad48b0cfbe36c9400ab39ea | Update src/Umbraco.Core/Persistence/Repositories/IKeyValueRepository.cs | abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/U... | src/Umbraco.Core/Persistence/Repositories/IKeyValueRepository.cs | src/Umbraco.Core/Persistence/Repositories/IKeyValueRepository.cs | using System.Collections.Generic;
using Umbraco.Cms.Core.Models;
namespace Umbraco.Cms.Core.Persistence.Repositories
{
public interface IKeyValueRepository : IReadRepository<string, IKeyValue>, IWriteRepository<IKeyValue>
{
/// <summary>
/// Returns key/value pairs for all keys with the specifi... | using System.Collections.Generic;
using Umbraco.Cms.Core.Models;
namespace Umbraco.Cms.Core.Persistence.Repositories
{
public interface IKeyValueRepository : IReadRepository<string, IKeyValue>, IWriteRepository<IKeyValue>
{
/// <summary>
/// Returns key/value pairs for all keys with the specifi... | mit | C# |
0f52a3499d4e348f59fe93f44f48feca7dae919d | Bump copyright year | rackerlabs/RackspaceCloudOfficeApiClient | Rackspace.CloudOffice/Properties/AssemblyInfo.cs | Rackspace.CloudOffice/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
d0bf8e124b2de19f6fb618d2ca807217c3575089 | Fix comments | sharpdx/Toolkit,tomba/Toolkit,sharpdx/Toolkit | Source/Toolkit/SharpDX.Toolkit.Game/IDrawable.cs | Source/Toolkit/SharpDX.Toolkit.Game/IDrawable.cs | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... | mit | C# |
6740750e0a1ce90593e3c5a85e4a125f7b342597 | Add missing permissions | osmdroid/OsmdroidXamarin,osmdroid/OsmdroidXamarin | OsmdroidAndroidSample/Properties/AssemblyInfo.cs | OsmdroidAndroidSample/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Android;
using Android.App;
// 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("Osmdroi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | apache-2.0 | C# |
727575f8d84c503674363715cf72b84d7461c40f | Use block body for methods | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/ProofSystem.cs | WalletWasabi/Crypto/ZeroKnowledge/ProofSystem.cs | using NBitcoin.Secp256k1;
using System.Linq;
using System.Collections.Generic;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Crypto.Randomness;
using WalletWasabi.Crypto.ZeroKnowledge.LinearRelation;
using WalletWasabi.Crypto.ZeroKnowledge.NonInteractive;
using System.Diagnostics.CodeAnalysis;
namespace WalletW... | using NBitcoin.Secp256k1;
using System.Linq;
using System.Collections.Generic;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Crypto.Randomness;
using WalletWasabi.Crypto.ZeroKnowledge.LinearRelation;
using WalletWasabi.Crypto.ZeroKnowledge.NonInteractive;
using System.Diagnostics.CodeAnalysis;
namespace WalletW... | mit | C# |
77a4b5287f3b99abe9dd8b92098a0859b3b9ba42 | Add some common methods | Mimalef/repop | src/App_Code/BasePage.cs | src/App_Code/BasePage.cs | using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
... | using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
... | mit | C# |
9567101ddc2c681b7ed1b40f879122ab62de8da5 | Fix DefaultEntityRangeBuilder. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/Queries/DefaultRangeBuilder.cs | Silk.Data.SQL.ORM/Queries/DefaultRangeBuilder.cs | using System;
using System.Linq;
using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.ORM.Expressions;
using Silk.Data.SQL.ORM.Schema;
namespace Silk.Data.SQL.ORM.Queries
{
public class DefaultRangeBuilder : IRangeBuilder
{
private QueryExpression _limitExpression;
private QueryExpression _offsetExpr... | using System;
using System.Linq;
using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.ORM.Expressions;
using Silk.Data.SQL.ORM.Schema;
namespace Silk.Data.SQL.ORM.Queries
{
public class DefaultRangeBuilder : IRangeBuilder
{
private QueryExpression _limitExpression;
private QueryExpression _offsetExpr... | mit | C# |
738c92f1a23b73eebd58d8cd128459d60b284283 | Fix encounter url not opening | neowutran/ShinraMeter,neowutran/TeraDamageMeter,Seyuna/ShinraMeter,radasuka/ShinraMeter | DamageMeter.UI/HistoryLink.xaml.cs | DamageMeter.UI/HistoryLink.xaml.cs | using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Data;
using Tera.Game;
namespace DamageMeter.UI
{
/// <summary>
/// Logique d'interaction pour HistoryLink.xaml
/// </summary>
public partial class HistoryLink
{
... | using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
using Data;
using Tera.Game;
namespace DamageMeter.UI
{
/// <summary>
/// Logique d'interaction pour HistoryLink.xaml
/// </summary>
public partial class HistoryLink
{
... | mit | C# |
47182168c085e5819d0f74b074c8eb9e4d6a70ac | Fix codefactor | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | WalletWasabi.Fluent/ViewModels/AboutViewModel.cs | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Windows.Input;
using Avalonia;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Helpers;
using WalletWa... | using System;
using System.IO;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Windows.Input;
using Avalonia;
using ReactiveUI;
using WalletWasabi.Fluent.ViewModels.Dialogs;
using WalletWasabi.Fluent.ViewModels.Navigation;
using WalletWasabi.Helpers;
using WalletWa... | mit | C# |
3adb94264036eabb47f5c8a581ffdfdf024e4e01 | Switch to version 1.1.6 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.1.6")]
[assembly: AssemblyFileVersion("1.1.6")]
[assembly: AssemblyInformationalVersion("1.1.6")] | using System.Reflection;
[assembly: AssemblyVersion("1.1.6")]
[assembly: AssemblyFileVersion("1.1.6")]
[assembly: AssemblyInformationalVersion("1.1.6-cssandra-updt2")] | mit | C# |
4ff74cde88ac39a5d78ae90f4dd1f83fd692d96c | Fix single core batch processing | Thealexbarney/VGAudio,Thealexbarney/LibDspAdpcm,Thealexbarney/LibDspAdpcm,Thealexbarney/VGAudio | src/VGAudio.Cli/Batch.cs | src/VGAudio.Cli/Batch.cs | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
// ReSharper disable AccessToDisposedClosure
namespace VGAudio.Cli
{
internal static class Batch
{
public static bool BatchConvert(Options options)
{
if (options.Job != JobType.Batch) return false;
... | using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
// ReSharper disable AccessToDisposedClosure
namespace VGAudio.Cli
{
internal static class Batch
{
public static bool BatchConvert(Options options)
{
if (options.Job != JobType.Batch) return false;
... | mit | C# |
e7e7c43e08aa9545ca192b6b565e5ea0ab2ecdc6 | Fix bug in ServicesOnlyAttribute | Brightspace/D2L.Security.OAuth2 | D2L.Security.OAuth2.WebApi/Authorization/ServicesOnlyAttribute.cs | D2L.Security.OAuth2.WebApi/Authorization/ServicesOnlyAttribute.cs | using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Controllers;
using D2L.Security.OAuth2.Principal;
namespace D2L.Security.OAuth2.Authorization {
public sealed class ServicesOnlyAttribute : AuthorizeAttribute {
protected override bool IsAuthorized( HttpActionContext cont... | using System.Web.Http;
using System.Web.Http.Controllers;
using D2L.Security.OAuth2.Principal;
namespace D2L.Security.OAuth2.Authorization {
public sealed class ServicesOnlyAttribute : AuthorizeAttribute {
protected override bool IsAuthorized( HttpActionContext context ) {
var principal = context.Request... | apache-2.0 | C# |
e3a0a68b2c86e7a136c5ea6e79d4e94766c881c7 | Check value before executing Contains - fixes #75 | icelty/LiteDB,RytisLT/LiteDB,prepare/LiteDB,masterdidoo/LiteDB,RytisLT/LiteDB,falahati/LiteDB,89sos98/LiteDB,mbdavid/LiteDB,falahati/LiteDB,prepare/LiteDB,prepare/LiteDB,89sos98/LiteDB,Xicy/LiteDB,prepare/LiteDB,masterdidoo/LiteDB,Skysper/LiteDB | LiteDB/Query/Impl/QueryContains.cs | LiteDB/Query/Impl/QueryContains.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LiteDB
{
/// <summary>
/// Contains query do not work with index, only full scan
/// </summary>
internal class QueryContains : Query
{
private BsonValue _value;
public ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace LiteDB
{
/// <summary>
/// Contains query do not work with index, only full scan
/// </summary>
internal class QueryContains : Query
{
private BsonValue _value;
public ... | mit | C# |
4708cb7317f21287ab7448d9209d6c7eedf4681a | Fix enumerable not being consumed | smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu-new,peppy/osu,ppy/osu,ppy/osu | osu.Game.Benchmarks/BenchmarkRuleset.cs | osu.Game.Benchmarks/BenchmarkRuleset.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Engines;
using osu.Game.Online.API;
using osu.Game.Rulesets.Osu;
namespace osu.Game.Benchmarks
{
public class... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using BenchmarkDotNet.Attributes;
using osu.Game.Online.API;
using osu.Game.Rulesets.Osu;
namespace osu.Game.Benchmarks
{
public class BenchmarkRuleset : BenchmarkTe... | mit | C# |
113e1b4e9d8b7ebfcb6564f6f97a676f36618e5f | update CastleFluentAspectInterceptor MethodBase | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common.Aspect.Castle/FluentAspectInterceptor.cs | src/WeihanLi.Common.Aspect.Castle/FluentAspectInterceptor.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Aspect.Castle
{
public sealed class CastleFluentAspectInterceptor : global::Castle.DynamicProxy.IInterceptor
{
public void Intercept(global::Castle.DynamicProxy.IInvocation invocatio... | using System;
using System.Linq;
using System.Threading.Tasks;
using WeihanLi.Common.Helpers;
namespace WeihanLi.Common.Aspect.Castle
{
public sealed class CastleFluentAspectInterceptor : global::Castle.DynamicProxy.IInterceptor
{
public void Intercept(global::Castle.DynamicProxy.IInvocation invocatio... | mit | C# |
2a6e3f0fc462c371128ea79d99ce70ea46aef326 | Comment everything out | Kerbas-ad-astra/KSP_Contract_Window,DMagic1/KSP_Contract_Window | QuickStart.cs | QuickStart.cs | //#if DEBUG
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using UnityEngine;
//namespace QuickStart
//{
// //This will kick us into the save called default and set the first vessel active
// [KSPAddon(KSPAddon.Startup.MainMenu, false)]
// public class Debug_AutoLoadPe... | #if DEBUG
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace QuickStart
{
//This will kick us into the save called default and set the first vessel active
[KSPAddon(KSPAddon.Startup.MainMenu, false)]
public class Debug_AutoLoadPersistentSaveOnStartu... | mit | C# |
75f6eb65c77a3206864973e3f55883b25ac3cdbc | Add missing accessibility modifier | tabrath/libsodium-core | src/Sodium.Core/Exceptions/InvalidArgonPasswordString.cs | src/Sodium.Core/Exceptions/InvalidArgonPasswordString.cs | using System;
namespace Sodium.Exceptions
{
internal class InvalidArgonPasswordString : Exception
{
public InvalidArgonPasswordString()
: base("Invalid Password string for Argon 2")
{
}
}
}
| using System;
namespace Sodium.Exceptions
{
class InvalidArgonPasswordString : Exception
{
public InvalidArgonPasswordString()
: base("Invalid Password string for Argon 2")
{
}
}
}
| mit | C# |
13970713d1dedadd380e4d3386003d966818d456 | Fix target file name generation | devtyr/gullap | DevTyr.Gullap/Model/MetaContentExtensions.cs | DevTyr.Gullap/Model/MetaContentExtensions.cs | using System.IO;
namespace DevTyr.Gullap.Model
{
public static class MetaContentExtensions
{
public static string GetTargetFileName(this MetaContent content, SitePaths paths)
{
var isPage = content.Page != null;
string userDefinedFileName = content.GetOverriddenFileName();
... | using System.IO;
namespace DevTyr.Gullap.Model
{
public static class MetaContentExtensions
{
public static string GetTargetFileName(this MetaContent content, SitePaths paths)
{
var isPage = content.Page != null;
string userDefinedFileName = content.GetOverriddenFileName();
... | mit | C# |
064062687f2b6fe5b0bbaf0cc3507c5024d77641 | Make Leg configuration readonly | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped/LegConfiguration.cs | DynamixelServo.Quadruped/LegConfiguration.cs | namespace DynamixelServo.Quadruped
{
public class LegConfiguration
{
public byte CoxaId { get; }
public byte FemurId { get; }
public byte TibiaId { get; }
public float AngleOffset { get; }
public Vector3 CoxaPosition { get; }
public float FemurCorrection { get; ... | namespace DynamixelServo.Quadruped
{
public class LegConfiguration
{
public byte CoxaId { get; set; }
public byte FemurId { get; set; }
public byte TibiaId { get; set; }
public float AngleOffset { get; set; }
public Vector3 CoxaPosition { get; set; }
public floa... | apache-2.0 | C# |
22a85d633f3458cf1eaa32ab67cf2cfe47ebe7b9 | Add example of using fixed provider | peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Gli... | src/Glimpse.Agent.AspNet.Sample/Startup.cs | src/Glimpse.Agent.AspNet.Sample/Startup.cs | using System.Collections.Generic;
using System.Reflection;
using System.Text.RegularExpressions;
using Glimpse.Agent.Web;
using Glimpse.Agent.Web.Framework;
using Glimpse.Agent.Web.Options;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.... | using Glimpse.Agent.Web;
using Microsoft.AspNet.Builder;
using Glimpse.Host.Web.AspNet;
using Microsoft.Framework.DependencyInjection;
namespace Glimpse.Agent.AspNet.Sample
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddGlimpse()
... | mit | C# |
250a72f4bc61649e079e1f0e98b6a8f633b264d6 | Update AssemblyInfo minor version. | sirkirby/hipchat.net,sirkirby/hipchat.net | src/HipChat.Net/Properties/AssemblyInfo.cs | src/HipChat.Net/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
// 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("HipChat.Net")]
[assembly: AssemblyDescription("HipChat ... | using System.Resources;
using System.Reflection;
// 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("HipChat.Net")]
[assembly: AssemblyDescription("HipChat ... | mit | C# |
7142581ac01c92c27774549c85347cef52658273 | add Althash | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetworkProvider.cs | NBXplorer.Client/NBXplorerNetworkProvider.cs | using NBitcoin;
using System.Collections.Generic;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
public NBXplorerNetworkProvider(ChainName networkType)
{
NetworkType = networkType;
InitArgoneum(networkType);
InitBitcoin(networkType);
InitBitcore(networkType);
InitLite... | using NBitcoin;
using System.Collections.Generic;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
public NBXplorerNetworkProvider(ChainName networkType)
{
NetworkType = networkType;
InitArgoneum(networkType);
InitBitcoin(networkType);
InitBitcore(networkType);
InitLite... | mit | C# |
19664060e29af6b81b2c3fd4811c7719d0140bab | remove unused usings | restsharp/RestSharp,PKRoma/RestSharp | RestSharp.Tests/SimpleJsonTests.cs | RestSharp.Tests/SimpleJsonTests.cs | using NUnit.Framework;
using System.Linq;
namespace RestSharp.Tests
{
[TestFixture]
public class SimpleJsonTests
{
[Test]
public void SerializeObject_should_not_assume_strings_wrapped_in_curly_braces_are_json()
{
var objectWithCurlyString = new { Name = "{value}" };
... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestSharp.Tests
{
[TestFixture]
public class SimpleJsonTests
{
[Test]
public void SerializeObject_should_not_assume_strings_wrapped_in_curly_... | apache-2.0 | C# |
288f04c17b7f4fef2b233d96055fec0da113067a | Fix unit test | andrewdavey/postal,andrewdavey/postal,ajbeaven/postal,hermanho/postal,Lybecker/postal,vip32/postal | src/Postal.Tests/EmailViewRendererTests.cs | src/Postal.Tests/EmailViewRendererTests.cs | using System;
using System.IO;
using System.Web.Mvc;
using Moq;
using Should;
using Xunit;
namespace Postal
{
public class EmailViewRendererTests
{
[Fact]
public void Render_returns_email_string_created_by_view()
{
var viewEngines = new Mock<ViewEngineCollecti... | using System;
using System.IO;
using System.Web.Mvc;
using Moq;
using Should;
using Xunit;
namespace Postal
{
public class EmailViewRendererTests
{
[Fact]
public void Render_returns_email_string_created_by_view()
{
var viewEngines = new Mock<ViewEngineCollecti... | mit | C# |
b67767c68d5280d46ca75e9a1dced03dab97e6b5 | add paragragh timeout to 2 min. | dotnet/docfx,dotnet/docfx,pascalberger/docfx,dotnet/docfx,hellosnow/docfx,superyyrrzz/docfx,superyyrrzz/docfx,pascalberger/docfx,pascalberger/docfx,hellosnow/docfx,superyyrrzz/docfx,LordZoltan/docfx,hellosnow/docfx,LordZoltan/docfx,LordZoltan/docfx,928PJY/docfx,DuncanmaMSFT/docfx,928PJY/docfx,DuncanmaMSFT/docfx,LordZol... | src/Microsoft.DocAsCode.Dfm/Rules/DfmParagraphBlockRule.cs | src/Microsoft.DocAsCode.Dfm/Rules/DfmParagraphBlockRule.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System;
using System.Text.RegularExpressions;
using Microsoft.DocAsCode.MarkdownLite;
public class DfmParag... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System;
using System.Text.RegularExpressions;
using Microsoft.DocAsCode.MarkdownLite;
public class DfmParag... | mit | C# |
a339579534ff8dd9eae41e758893bb37588259be | 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# |
7b2b2ebe4a72efcec0e8900f98137d60f6f23a31 | Fix empty filter | Cybermaxs/PackageVerifier | PackageVerifier/Core/Scanners/BaseScanner.cs | PackageVerifier/Core/Scanners/BaseScanner.cs | using PackageVerifier.Core;
using PackageVerifier.Models;
using PackageVerifier.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace PackageVerifier.Core.Scanners
{
abstract class BaseScanner
{
protected readonly IAnalyt... | using PackageVerifier.Core;
using PackageVerifier.Models;
using PackageVerifier.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace PackageVerifier.Core.Scanners
{
abstract class BaseScanner
{
protected readonly IAnalyt... | mit | C# |
915e2d615341fea38e2711617e5fd4fb4c1c6a9b | Fix case-sensitivity of exclude paths | MacDennis76/Unicorn,rmwatson5/Unicorn,kamsar/Unicorn,kamsar/Unicorn,PetersonDave/Unicorn,PetersonDave/Unicorn,MacDennis76/Unicorn,GuitarRich/Unicorn,GuitarRich/Unicorn,rmwatson5/Unicorn,bllue78/Unicorn,bllue78/Unicorn | Source/Unicorn/PresetExtensions.cs | Source/Unicorn/PresetExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Sitecore.Data.Serialization.Presets;
using Sitecore.Data.Items;
using Sitecore.Data.Serialization;
namespace Unicorn
{
/// <summary>
/// Extension methods on Serialization Preset API classes to make checks easier
/// </summary>
internal stat... | using System;
using System.Collections.Generic;
using System.Linq;
using Sitecore.Data.Serialization.Presets;
using Sitecore.Data.Items;
using Sitecore.Data.Serialization;
namespace Unicorn
{
/// <summary>
/// Extension methods on Serialization Preset API classes to make checks easier
/// </summary>
internal stat... | mit | C# |
391e28ad590117bfe6da080d366610c274aa4553 | Add migrate commandline support | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Telegram/Program.cs | SupportManager.Telegram/Program.cs | using System;
using System.Diagnostics;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Internal;
using SupportManager.Telegram.DAL;
using Topshelf;
namespace SupportManager.Telegram
{
class Program
{
static void Main(string[] args)
{
if (args.Any() && args... | using System;
using System.Diagnostics;
using Topshelf;
namespace SupportManager.Telegram
{
class Program
{
static void Main(string[] args)
{
var config = new Configuration();
var exitCode = HostFactory.Run(cfg =>
{
cfg.AddCommandLineDefiniti... | mit | C# |
a71151839da396ffee8aade634cb3f634eb6a801 | Revert changes in AppBuilder.cs | grokys/Perspex,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Pe... | src/Avalonia.DotNetCoreRuntime/AppBuilder.cs | src/Avalonia.DotNetCoreRuntime/AppBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Platform;
using Avalonia.Shared.PlatformSupport;
namespace Avalonia
{
/// <summary>
/// Initializes platform-specific services fo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Platform;
using Avalonia.Shared.PlatformSupport;
namespace Avalonia
{
/// <summary>
/// Initializes platform-specific services fo... | mit | C# |
c43c470f02b6650c8cba6125e846e104c0996967 | Update Export-CurrentContainer-Multi.csx | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D | scripts/Export-CurrentContainer-Multi.csx | scripts/Export-CurrentContainer-Multi.csx | #r "System.Linq"
#r "Core2D"
using System;
using System.IO;
using System.Linq;
using Core2D.FileWriter.Dxf;
using Core2D.FileWriter.PdfSharp;
using Core2D.FileWriter.SkiaSharpPng;
using Core2D.FileWriter.SkiaSharpSvg;
using Core2D.FileWriter.Emf;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var dxf ... | #r "System.Linq"
#r "Core2D"
using System;
using System.IO;
using System.Linq;
using Core2D.FileWriter.Dxf;
using Core2D.FileWriter.PdfSharp;
using Core2D.FileWriter.SkiaSharpPng;
using Core2D.FileWriter.SkiaSharpSvg;
var dir = "D:\\";
var page = Editor.Project.CurrentContainer;
var dxf = Editor.FileWriters.FirstOrD... | mit | C# |
23e169adb6e7b562d5a0922aa4688e0a0fead834 | Fix og:image path for home page | PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog,PioneerCode/pioneer-blog | src/Pioneer.Blog/Views/Home/_Template.cshtml | src/Pioneer.Blog/Views/Home/_Template.cshtml | @{
Layout = "~/Views/Shared/_LayoutPublic.cshtml";
}
@section metaPage
{
<meta property="og:type" content="website">
<meta property="og:image" content="@(AppConfiguration.Value.SiteUrl + "/images/logo-og.jpg")">
}
@RenderBody() | @{
Layout = "~/Views/Shared/_LayoutPublic.cshtml";
}
@section metaPage
{
<meta property="og:type" content="website">
<meta property="og:image" content="@(AppConfiguration.Value.SiteUrl + "/content/images/logo-og.jpg")">
}
@RenderBody() | mit | C# |
7b59b764404cc9351ba393c448b9df89854c7c3b | Update version | EtienneLamoureux/TQVaultAE,Malgardian/TQVaultAE | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | src/TQVaultAE.GUI/Properties/AssemblyInfo.cs | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | //-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="None">
// Copyright (c) Brandon Wallace and Jesse Calhoun. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using Syste... | mit | C# |
6021d60f000a374ddd876de53400dc3d9e593adc | Fix copyright notice & remove owners nuget element | Simution/NServiceBus.Recoverability.RetrySuccessNotification | src/RetrySuccessNotification/AssemblyInfo.cs | src/RetrySuccessNotification/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NServiceBus.Recoverability.RetrySuccessNotification")]
[assembly: AssemblyCopyright("Copyright Simution, Inc. All rights reserved")]
[assembly: AssemblyProduct("NServiceBus.Recoverability.Re... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NServiceBus.Recoverability.RetrySuccessNotification")]
[assembly: AssemblyCopyright("Copyright Bob Langley. All rights reserved")]
[assembly: AssemblyProduct("NServiceBus.Recoverability.Retr... | mit | C# |
d472d794b7a57ffff7d701992465e3c8416d13eb | Reorganize forms into project subfolder | msorens/SqlDiffFramework | SqlDiffFramework/SqlDiffFramework/Program.cs | SqlDiffFramework/SqlDiffFramework/Program.cs | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using SqlDiffFramework.Forms;
namespace SqlDiffFramework
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVis... | using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace SqlDiffFramework
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.Se... | mit | C# |
5d50316ae7565979ecb40604c74c7da0649b632c | Add xmldoc | ZLima12/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,ppy/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu... | osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.cs | osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.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.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustment... | // 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.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustment... | mit | C# |
a5a9a6398966d4f9f61e6cee3ed49ca26425f0a5 | Read querystring instead of using route patterns | DeepakChoudhari/WeatherData-AzureFunction | WeatherDataFunctionApp/WeatherDataService.cs | WeatherDataFunctionApp/WeatherDataService.cs | namespace WeatherDataFunctionApp
{
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
public static class WeatherDat... | namespace WeatherDataFunctionApp
{
using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Azure.WebJobs.Host;
public static class WeatherDataService
{
... | mit | C# |
ce60186784848751cb5ad07c32ea8e33fda4cd00 | Remove dead code | ilovepi/Compiler,ilovepi/Compiler | compiler/Program/Program.cs | compiler/Program/Program.cs | using System.IO;
using compiler.frontend;
namespace Program
{
internal class Program
{
//TODO: adjust main to use the parser when it is complete
private static void Main(string[] args)
{
using (var p = new Parser(@"../../testdata/test003.txt"))
{
... | using System.IO;
using compiler.frontend;
namespace Program
{
internal class Program
{
//TODO: adjust main to use the parser when it is complete
private static void Main(string[] args)
{
// using (Lexer l = new Lexer(@"../../testdata/big.txt"))
// {
// ... | mit | C# |
a0ad82374475349a9bc04dbde7c5ffb565ece941 | Add comment as to why the AssemblyVersion and AssemblyFileVersion are different. | sillsdev/icu-dotnet,conniey/icu-dotnet,ermshiperete/icu-dotnet,ermshiperete/icu-dotnet,sillsdev/icu-dotnet,conniey/icu-dotnet | source/icu.net/Properties/AssemblyInfo.cs | source/icu.net/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("icu.... | 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("icu.... | mit | C# |
4c5f4c51713c1fe6fe7fceb1c224165792668d4e | Bump required overlay plugin version to 0.13.0 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | plugin/CactbotOverlay/PluginLoader.cs | plugin/CactbotOverlay/PluginLoader.cs | using System.Windows.Forms;
using RainbowMage.OverlayPlugin;
using Advanced_Combat_Tracker;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Cactbot
{
public class PluginLoader : IActPluginV1, IOverlayAddonV2
{
private static AssemblyResolver asmResolver;
... | using System.Windows.Forms;
using RainbowMage.OverlayPlugin;
using Advanced_Combat_Tracker;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Cactbot
{
public class PluginLoader : IActPluginV1, IOverlayAddonV2
{
private static AssemblyResolver asmResolver;
... | apache-2.0 | C# |
16a85fb7f36a108b4d9f0bb1a5a823803210a858 | Update GravatarHash | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/RoberthStrand.cs | src/Firehose.Web/Authors/RoberthStrand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RoberthStrand : IAmACommunityMember
{
public string FirstName => "Roberth";
public string ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class RoberthStrand : IAmACommunityMember
{
public string FirstName => "Roberth";
public string ... | mit | C# |
a056b67bdc8f2924f7c71fbfc83130f7a6f47e21 | Fix build | aelij/roslynpad | src/RoslynPad.NetCore/PlatformsFactory.cs | src/RoslynPad.NetCore/PlatformsFactory.cs | using System.Composition;
using System.Collections.Generic;
using RoslynPad.UI;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Collections.Immutable;
namespace RoslynPad
{
[Export(typeof(IPlatformsFactory))]
internal class PlatformsFactory : IPlatfo... | using System.Composition;
using System.Collections.Generic;
using RoslynPad.UI;
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Diagnostics;
namespace RoslynPad
{
[Export(typeof(IPlatformsFactory))]
internal class PlatformsFactory : IPlatformsFactory
{
public IEnu... | apache-2.0 | C# |
d448ef3196f004728f145dc6d0d4e1ce802f4560 | Fix assembly copyright | AdtecSoftware/SagePayMvc,AdtecSoftware/Adtec.SagePayMvc,IntegratedArts/SagePayMvc,JeremySkinner/SagePayMvc,cergis-robert/SagePayMvc | src/SagePayMvc/Properties/AssemblyInfo.cs | src/SagePayMvc/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
7e524032841f5f9b43b6170a70d125a68c074647 | Fix account editing - error if account has a balance. | grae22/BoozeHoundCloud,grae22/BoozeHoundCloud,grae22/BoozeHoundCloud | BoozeHoundCloud/Areas/Core/Views/Account/AccountForm.cshtml | BoozeHoundCloud/Areas/Core/Views/Account/AccountForm.cshtml | @model BoozeHoundCloud.Areas.Core.ViewModels.AccountFormViewModel
@{
bool isNewAccount = (Model.Id == 0);
var formTitle = "";
if (isNewAccount)
{
formTitle = "Create Account";
}
else
{
formTitle = "Edit Account";
}
ViewBag.Title = formTitle;
}
<h2>@formTitle</h2>
@using (Html.BeginForm("... | @model BoozeHoundCloud.Areas.Core.ViewModels.AccountFormViewModel
@{
bool isNewAccount = (Model.Id == 0);
var formTitle = "";
if (isNewAccount)
{
formTitle = "Create Account";
}
else
{
formTitle = "Edit Account";
}
ViewBag.Title = formTitle;
}
<h2>@formTitle</h2>
@using (Html.BeginForm("... | mit | C# |
5b00546e146bab20b56662d66130664ed90cb8aa | Update AssemblyInfo.cs | BlarghLabs/MoarUtils | commands/reflection/AssemblyInfo.cs | commands/reflection/AssemblyInfo.cs | using System;
using System.Reflection;
namespace MoarUtils.Utils {
public class AssemblyInfo {
/// <summary>
/// Gets the assembly product.
/// </summary>
/// <value>The assembly product.</value>
public static string AssemblyProduct {
get {
// Get all Product attributes on this ass... | using System;
using System.Reflection;
namespace MoarUtils.Utils {
public class AssemblyInfo {
/// <summary>
/// Gets the assembly product.
/// </summary>
/// <value>The assembly product.</value>
public static string AssemblyProduct {
get {
// Get all Product attributes on this ass... | mit | C# |
9ad3c0dbabead906282bc0c68f50598560e4e63e | Fix a camera problem | robnils/Samples | Graphics/TiledMap/TiledMap/TiledMapProject/JoystickScene.cs | Graphics/TiledMap/TiledMap/TiledMapProject/JoystickScene.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TiledMapProject.Entities;
using WaveEngine.Common.Math;
using WaveEngine.Components.Cameras;
using WaveEngine.Framework;
using WaveEngine.Framework.Services;
namespace TiledMapProject
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TiledMapProject.Entities;
using WaveEngine.Common.Math;
using WaveEngine.Components.Cameras;
using WaveEngine.Framework;
using WaveEngine.Framework.Services;
namespace TiledMapProject
{
public... | mit | C# |
c228f598823e4c78931e1b7f5c4a35ca98319b6d | Rename field. | Zakkgard/Moonfire | Moonfire/Core/Moonfire.Core/Networking/IncomingRealmPacket.cs | Moonfire/Core/Moonfire.Core/Networking/IncomingRealmPacket.cs | using Moonfire.Core.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Networking
{
public class IncomingRealmPacket : IncomingPacket
{
public IncomingRealmPacket(byte[] packet, int length)
... | using Moonfire.Core.Constants;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Moonfire.Core.Networking
{
public class IncomingRealmPacket : IncomingPacket
{
public IncomingRealmPacket(byte[] packet, int length)
... | mit | C# |
607094c25dbf74438d76a31702e1590349aeb233 | Fix newlines for windows | Jaywd/binary.fail.project.haumea | haumea.desktopgl/Parsing/Parser/Parser.Shared.cs | haumea.desktopgl/Parsing/Parser/Parser.Shared.cs | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Xna.Framework;
namespace Haumea.Parsing
{
internal static partial class Parser
{
// Parses this vector notation: (x, y)
private static Regex VectorRgx { get; } = new Regex(@" *\( *(-?\d+) *, *... | using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Xna.Framework;
namespace Haumea.Parsing
{
internal static partial class Parser
{
// Parses this vector notation: (x, y)
private static Regex VectorRgx { get; } = new Regex(@" *\( *(-?\d+) *, *... | mit | C# |
bf041379c832c324ea0e006bfc1b042cd8a8c90d | Add null check to FilterDescriptorExtensions (#25) | ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework,ASP-NET-Core-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework | Source/Boxed.AspNetCore.Swagger/FilterDescriptorExtensions.cs | Source/Boxed.AspNetCore.Swagger/FilterDescriptorExtensions.cs | namespace Boxed.AspNetCore.Swagger
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
internal static class FilterDescriptorExtensions
{
public static IList<IAuthorizationReq... | namespace Boxed.AspNetCore.Swagger
{
using System.Collections.Generic;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.Authorization;
using Microsoft.AspNetCore.Mvc.Filters;
internal static class FilterDescriptorExtensions
{
public static IList<IAuthorizationReq... | mit | C# |
8aab8adc9f42392cdf74711bf3cd4dec03957da7 | Fix for issue #14 (difference between protocol description and server implementation in TickUpdate message) | andrii1812/galcon-server,andrii1812/galcon-server,andrii1812/galcon-server,andrii1812/galcon-server | src/Model/Flight.cs | src/Model/Flight.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GalconServer.Model
{
using System.Threading;
using Newtonsoft.Json;
public class Flight
{
private int _currentPosition;
public int ID { get; private set; }
[JsonProperty(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GalconServer.Model
{
using System.Threading;
public class Flight
{
private int _currentPosition;
public int ID { get; private set; }
public int OwnerID { get; private set; }
... | apache-2.0 | C# |
29dd66762de326207c01fe21d02fe7f852f3a3fd | Remove potential recursive method call in string.Format overload | scottrippey/SmartFormat.NET | src/SmartFormat/Smart.cs | src/SmartFormat/Smart.cs | using System;
using SmartFormat.Core.Extensions;
using SmartFormat.Extensions;
namespace SmartFormat
{
/// <summary>
/// This class holds a Default instance of the SmartFormatter.
/// The default instance has all extensions registered.
/// </summary>
public static class Smart
{
#region: Smart.Format :
publ... | using System;
using SmartFormat.Core.Extensions;
using SmartFormat.Extensions;
namespace SmartFormat
{
/// <summary>
/// This class holds a Default instance of the SmartFormatter.
/// The default instance has all extensions registered.
/// </summary>
public static class Smart
{
#region: Smart.Format :
publ... | mit | C# |
ff7fbcac2c090632d598bedfb80967cf286dbda3 | update DfmNoteBlockRule. (#1491) | hellosnow/docfx,dotnet/docfx,superyyrrzz/docfx,hellosnow/docfx,pascalberger/docfx,DuncanmaMSFT/docfx,dotnet/docfx,928PJY/docfx,hellosnow/docfx,DuncanmaMSFT/docfx,pascalberger/docfx,928PJY/docfx,pascalberger/docfx,dotnet/docfx,928PJY/docfx,superyyrrzz/docfx,superyyrrzz/docfx | src/Microsoft.DocAsCode.Dfm/Rules/DfmNoteBlockRule.cs | src/Microsoft.DocAsCode.Dfm/Rules/DfmNoteBlockRule.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System;
using System.Text.RegularExpressions;
using Microsoft.DocAsCode.MarkdownLite;
using Microsoft.DocAsC... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.Dfm
{
using System;
using System.Text.RegularExpressions;
using Microsoft.DocAsCode.MarkdownLite;
public class DfmNoteB... | mit | C# |
03addc3270a596e8df5c9a7965e6f2c982c42c71 | Add informational logging to launcher | cloudfoundry-incubator/windows_app_lifecycle,cloudfoundry/windows_app_lifecycle,stefanschneider/windows_app_lifecycle | Launcher/Program.cs | Launcher/Program.cs | using Microsoft.Web.Administration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Task... | using Microsoft.Web.Administration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Task... | apache-2.0 | C# |
bbb7bcb79701b33a8ffd1c27ef5a3ecc76fcfca2 | use ienumerable instead of list | carterjones/beaengine-cs,carterjones/beaengine-cs,carterjones/bunseki,carterjones/bunseki | Bunseki/Disassembler.cs | Bunseki/Disassembler.cs | // This is free and unencumbered software released into the public domain.
namespace Bunseki
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeaEngineCS;
public class Disassembler
{
public enum Architecture
{
x86_32 ... | // This is free and unencumbered software released into the public domain.
namespace Bunseki
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BeaEngineCS;
public class Disassembler
{
public enum Architecture
{
x86_32 ... | bsd-2-clause | C# |
53ea6fb1a844e8fd665f9f1e32be8125102a9fce | Refactor verbose log of SingleThreadScheduler. | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/Threading.cs | CreviceApp/Threading.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CreviceApp.Threading
{
// http://www.codeguru.com/csharp/article.php/c18931/Understanding-the-NET-Ta... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace CreviceApp.Threading
{
// http://www.codeguru.com/csharp/article.php/c18931/Understanding-the-NET-Ta... | mit | C# |
08a7172eb2a43d018627de9ad591a76c43b10a2c | Update Assembly Properties. | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,jsimonweb/csharp-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,jsimonweb/csharp-docs-samples | auth/Properties/AssemblyInfo.cs | auth/Properties/AssemblyInfo.cs |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Auth")]
[assembly: AssemblyDescription("... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("BigQuery")]
[assembly: AssemblyDescripti... | apache-2.0 | C# |
82671c2d839ad7d273b63866ab623b8cd103fc4d | Test case includes string with quotes. | ecologylab/simplCSharp | ecologylabFundamentalTestCases/Polymorphic/Configuration.cs | ecologylabFundamentalTestCases/Polymorphic/Configuration.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ecologylab.serialization;
using ecologylab.attributes;
namespace ecologylabFundamentalTestCases.Polymorphic
{
/**
*
* <configuration>
<pref_double name="index_thumb_dist" value="200"/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ecologylab.serialization;
using ecologylab.attributes;
namespace ecologylabFundamentalTestCases.Polymorphic
{
/**
*
* <configuration>
<pref_double name="index_thumb_dist" value="200"/... | apache-2.0 | C# |
904d258dc34c343d75bfd1fb544af9c759565f09 | Fix checkbox not updating correctly. | smoogipoo/osu,peppy/osu,nyaamara/osu,peppy/osu,johnneijzen/osu,smoogipooo/osu,ppy/osu,peppy/osu,UselessToucan/osu,default0/osu,EVAST9919/osu,RedNesto/osu,UselessToucan/osu,theguii/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,naoey/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,Nabile-Ra... | osu.Game/Overlays/Options/CheckBoxOption.cs | osu.Game/Overlays/Options/CheckBoxOption.cs | using System;
using osu.Framework.Configuration;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Overlays.Options
{
public class CheckBoxOption : BasicCheckBox
{
private Bindable<bool> bindable;
public Bindable<bool> Bindable
{
set
{... | using System;
using osu.Framework.Configuration;
using osu.Framework.Graphics.UserInterface;
namespace osu.Game.Overlays.Options
{
public class CheckBoxOption : BasicCheckBox
{
private Bindable<bool> bindable;
public Bindable<bool> Bindable
{
set
{
... | mit | C# |
8b113ab8678e27f621ba7b69d2eb57758fafae08 | Add summary Hasher :octocat: | lPinchol/Launcher-AutoUpdate | Launcher/SharpUpdate/SharpUpdate/Hasher.cs | Launcher/SharpUpdate/SharpUpdate/Hasher.cs | using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace SharpUpdate
{
/// <summary>
/// The type of hash to create
/// </summary>
internal enum HashType
{
MD5,
SHA1,
SHA512
}
/// <summary>
/// Class used to generate hash sums of files... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpUpdate
{
class Hasher
{
}
}
| apache-2.0 | C# |
d7aadfd25ada4488d6ee8feb38b19a2651e0bf02 | Update TransformPlus.cs | xxmon/unity | Editor/TransformPlus.cs | Editor/TransformPlus.cs | using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(Transform))]
public class TransformPlus : Editor
{
Transform myTarget;
float inch = 2.54f / 100.0f;
float foot = 30.48f / 100.0f;
bool showPosition = true;
bool showRotation = true;
bool showScale = true;
public override vo... | using UnityEngine;
using System.Collections;
using UnityEditor;
[CustomEditor (typeof(Transform))]
public class TransformPlus : Editor
{
Transform myTarget;
float inch = 2.54f / 100.0f;
float foot = 30.48f / 100.0f;
bool showPosition;
bool showRotation;
bool showScale;
public override void OnInspectorGUI ()
... | mit | C# |
e9036f592181efe30f130a0b345275b6b67d9877 | Use GtkEngine.ReplaceChild when setting multiple time .Content on a custom widget | antmicro/xwt,iainx/xwt,residuum/xwt,steffenWi/xwt,akrisiun/xwt,mminns/xwt,TheBrainTech/xwt,hamekoz/xwt,mono/xwt,directhex/xwt,cra0zy/xwt,mminns/xwt,lytico/xwt,sevoku/xwt,hwthomas/xwt | Xwt.Gtk/Xwt.GtkBackend/CustomWidgetBackend.cs | Xwt.Gtk/Xwt.GtkBackend/CustomWidgetBackend.cs | //
// CustomWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | //
// CustomWidgetBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | mit | C# |
4fbc87e5444ab13218917062f7a57b9efaa93b9b | Fix and optimize properties file provider | nbarbettini/FlexibleConfiguration | src/FlexibleConfiguration/Providers/PropertiesFileProvider.cs | src/FlexibleConfiguration/Providers/PropertiesFileProvider.cs | // Copyright (c) Nate Barbettini.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using FlexibleConfiguration.Internal;
namespace FlexibleConfiguration.Providers
{
/// <summary>
/// A .properties f... | // Copyright (c) Nate Barbettini.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using FlexibleConfiguration.Internal;
namespace FlexibleConfiguration.Providers
{
/// <summary>
/// A .properties f... | apache-2.0 | C# |
e1c66282033fd806938e9cc54167d7cd3e2707d8 | Increase toleranceSeconds in SafeWait_PollingInterval_GreaterThanTimeout test | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | apache-2.0 | C# |
c38dc815351616ff14ce3b7941ab736d9df18c94 | Remove unnecessary using | peppy/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu | osu.Game/Overlays/Profile/Header/Components/ProfileHeaderButton.cs | osu.Game/Overlays/Profile/Header/Components/ProfileHeaderButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sha... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sha... | mit | C# |
4f889f39938c6400531e106163d3354ce7f60a45 | Bump version to 0.0.3.1 | queueRAM/BlastCorpsEditor | BlastCorpsEditor/Properties/AssemblyInfo.cs | BlastCorpsEditor/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
7230040a6a608c8388b307063e07bea0a0ac8a47 | Remove duplicate code | vyzvam/SolrNet,SolrNet/SolrNet,vmanral/SolrNet,chang892886597/SolrNet,vladen/SolrNet,doss78/SolrNet,MetSystem/SolrNet,vyzvam/SolrNet,Laoujin/SolrNet,yonglehou/SolrNet,vmanral/SolrNet,18098924759/SolrNet,vmanral/SolrNet,yonglehou/SolrNet,yonglehou/SolrNet,drakeh/SolrNet,drakeh/SolrNet,MetSystem/SolrNet,drakeh/SolrNet,er... | HttpWebAdapters/Impl/BasicAuthHttpWebRequestFactory.cs | HttpWebAdapters/Impl/BasicAuthHttpWebRequestFactory.cs | using System;
using System.Net;
using System.Text;
using HttpWebAdapters.Adapters;
namespace HttpWebAdapters {
public class BasicAuthHttpWebRequestFactory : IHttpWebRequestFactory {
private readonly string username;
private readonly string password;
public BasicAuthHttpWebRequestFactory(st... | using System;
using System.Net;
using System.Text;
using HttpWebAdapters.Adapters;
namespace HttpWebAdapters {
public class BasicAuthHttpWebRequestFactory : IHttpWebRequestFactory {
private readonly string username;
private readonly string password;
public BasicAuthHttpWebRequestFactory(st... | apache-2.0 | C# |
8eef2303297a36eac07f51378d4afb3dc41bbd96 | Use locale's decimal separator instead of hardcoding period. | jrick/Paymetheus,decred/Paymetheus | Paymetheus/Send.xaml.cs | Paymetheus/Send.xaml.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using S... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | isc | C# |
fb0d7d1ff26103d5da0147d6e6fed54487022120 | Fix humanized string concatenation | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Utilities/String.Join.cs | source/Nuke.Common/Utilities/String.Join.cs | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
... | // Copyright 2019 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities
{
public static partial class StringExtensions
... | mit | C# |
1aa1a3a9e7ecee7d47942fb565ef28ecaedd13c0 | Bump version for next development cycle. | johanv/dotnet-cas-client,MetSystem/dotnet-cas-client,apereo/dotnet-cas-client,Jasig/dotnet-cas-client,apereo/dotnet-cas-client,tcalvert/dotnet-cas-client | DotNetCasClient/Properties/AssemblyInfo.cs | DotNetCasClient/Properties/AssemblyInfo.cs | /*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | /*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | apache-2.0 | C# |
e154fa9b2c795fe5a27be170fe32c07f0417df8e | prepare for release of 3.13.9 | AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/ADAL.Common/CommonAssemblyInfo.cs | src/ADAL.Common/CommonAssemblyInfo.cs | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | //------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... | mit | C# |
7cb438a4cb1c7571b05d92214b798e8c9ff501e9 | fix bug disease model | nguyenmanhphuc93/healthcare-social-network,nguyenmanhphuc93/healthcare-social-network,nguyenmanhphuc93/healthcare-social-network | src/HeathcareSystem/Models/Disease.cs | src/HeathcareSystem/Models/Disease.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HeathcareSystem.Models
{
public class Disease
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace HeathcareSystem.Models
{
public class Disease
{
public long Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
}
| apache-2.0 | C# |
3b66a248a1ef37b36e17e01474933208dd1a98e0 | Fix wrong sql type | gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,lnu/nhibernate-core,nkreipke/nhibernate-core,ManufacturingIntelligence/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ngbrown/nhibernate-core,gli... | src/NHibernate/Type/BinaryBlobType.cs | src/NHibernate/Type/BinaryBlobType.cs | using System;
using NHibernate.SqlTypes;
namespace NHibernate.Type
{
/// <summary>
/// Maps a System.Byte[] Property to an column that can store a BLOB.
/// </summary>
/// <remarks>
/// This is only needed by DataProviders (SqlClient) that need to specify a Size for the
/// IDbDataParameter. Most DataProvider(O... | using System;
namespace NHibernate.Type
{
/// <summary>
/// Maps a System.Byte[] Property to an column that can store a BLOB.
/// </summary>
/// <remarks>
/// This is only needed by DataProviders (SqlClient) that need to specify a Size for the
/// IDbDataParameter. Most DataProvider(Oralce) don't need to set th... | lgpl-2.1 | C# |
b73e7003d531a2ea4504caba93997d88469986c9 | Add forgotten copyright header. | dga711/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,haozhouxu/CefSharp,illfang/CefSharp,NumbersInternational/CefSharp,ruisebastiao/CefSharp,Livit/CefSharp,Haraguroicha/CefSharp,haozhouxu/CefSharp,battewr/CefSharp,joshvera/CefSharp,ITGlobal/CefSharp,jamespearce2006/CefSharp,twxstar/CefSharp,battewr/CefSharp,joshvera/Ce... | CefSharp.WinForms/Internals/MovingListener.cs | CefSharp.WinForms/Internals/MovingListener.cs | // Copyright © 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CefSharp.WinForms.Internal... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace CefSharp.WinForms.Internals
{
internal class MovingListener : NativeWindow
{
public event EventHandler<EventArgs> Moving;
private Form ParentForm { get; set; }
... | bsd-3-clause | C# |
8353af192a1b2f322d845db12c72a6200bc77350 | Update BrowserView.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/UI/Avalonia/Dock/Views/BrowserView.cs | src/Core2D/UI/Avalonia/Dock/Views/BrowserView.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DM = Dock.Model;
namespace Core2D.UI.Avalonia.Dock.Views
{
/// <summary>
/// Browser view.
/// </summary>
public class BrowserView : DM.Dock... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using DM=Dock.Model;
namespace Core2D.UI.Avalonia.Dock.Views
{
/// <summary>
/// Browser view.
/// </summary>
public class BrowserView : DM.DockBa... | mit | C# |
ad21b7bf6b751d5f94a9ac5a3af71474ec6d0008 | fix word spacing. | jwChung/Experimentalism,jwChung/Experimentalism | src/Experiment.AutoFixture/TestFixtureAdapter.cs | src/Experiment.AutoFixture/TestFixtureAdapter.cs | using System;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
namespace Jwc.Experiment
{
/// <summary>
/// <see cref="ISpecimenContext"/>를 <see cref="ITestFixture"/>에 맞춘다.
/// auto data기능을 AutoFixture library로부터 채용하게 된다.
/// </summary>
public class TestFixtureAdapter : ITestFixture
{
... | using System;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
namespace Jwc.Experiment
{
/// <summary>
/// <see cref="ISpecimenContext"/>를 <see cref="ITestFixture"/>에 맞춘다.
/// auto data기능을 AutoFixture library로 부터 채용하게 된다.
/// </summary>
public class TestFixtureAdapter : ITestFixture
{... | mit | C# |
f30099f539b63da32ffdac6145a328b4d7ae9530 | improve array serialization | mongodb-csharp/mongodb-csharp | source/MongoDB/Serialization/Descriptors/ArrayDescriptor.cs | source/MongoDB/Serialization/Descriptors/ArrayDescriptor.cs | using System;
using System.Collections.Generic;
using System.Collections;
using System.Globalization;
using MongoDB.Bson;
namespace MongoDB.Serialization.Descriptors
{
internal class ArrayDescriptor : IPropertyDescriptor
{
private const int MaxIntCache = 100;
private static readonly... | using System;
using System.Collections.Generic;
using System.Collections;
using MongoDB.Bson;
namespace MongoDB.Serialization.Descriptors
{
internal class ArrayDescriptor : IPropertyDescriptor
{
private readonly Type _elementType;
private readonly IEnumerable _enumerable;
... | apache-2.0 | C# |
b94cd7ffb4a2ad5f38c317f71e980444086a704a | Add /api/round/current which gets the first non-final round. Fixes #18 | Jaecen/Peregrine,Jaecen/Peregrine,Jaecen/Peregrine | src/Peregrine.Web/Controllers/RoundController.cs | src/Peregrine.Web/Controllers/RoundController.cs | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
using Peregrine.Web.Services;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments/{tournamentKey}/rounds")]
public class RoundController : ApiController
{
readonly RoundManager RoundManager;
public Round... | using System;
using System.Linq;
using System.Web.Http;
using Peregrine.Data;
using Peregrine.Web.Services;
namespace Peregrine.Web.Controllers
{
[RoutePrefix("api/tournaments/{tournamentKey}/rounds/{roundNumber:min(1)}")]
public class RoundController : ApiController
{
readonly RoundManager RoundManag... | mit | C# |
d15cee81427a4026bd4d7f0c43f1289f3cf58aec | Fix deserialization of Fields | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/CommonAbstractions/Infer/Fields/FieldsFormatter.cs | src/Nest/CommonAbstractions/Infer/Fields/FieldsFormatter.cs | using System.Collections.Generic;
using Utf8Json;
namespace Nest
{
internal class FieldsFormatter : IJsonFormatter<Fields>
{
public Fields Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
var token = reader.GetCurrentJsonToken();
if (token != JsonToken.BeginArray)
{
re... | using System.Collections.Generic;
using Utf8Json;
namespace Nest
{
internal class FieldsFormatter : IJsonFormatter<Fields>
{
public Fields Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver)
{
var token = reader.GetCurrentJsonToken();
if (token != JsonToken.BeginArray)
{
re... | apache-2.0 | C# |
76261213ded347e7e521f953400cf0482e04f920 | Update FieldRegistry.cs | Squidex/squidex,pushrbx/squidex,Squidex/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,Squidex/squidex,pushrbx/squidex,pushrbx/squidex | src/Squidex.Domain.Apps.Core.Model/Schemas/FieldRegistry.cs | src/Squidex.Domain.Apps.Core.Model/Schemas/FieldRegistry.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
6d813cde941f7c0cd62773704f96373918c285b4 | Test version 1.101.0 | koliva8245/HeroesMatchTracker,koliva8245/HeroesParserData | HeroesMatchTracker/Properties/AssemblyInfo.cs | HeroesMatchTracker/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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 with an assembly.
[assembly: AssemblyTit... | using System.Reflection;
using System.Resources;
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 with an assembly.
[assembly: AssemblyTit... | mit | C# |
c7c4ab94cec2f9f30a3cc86dd4ef7d1522b5b8a8 | Update ICssStyleSheet.cs | AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css | src/AngleSharp.Css/Dom/ICssStyleSheet.cs | src/AngleSharp.Css/Dom/ICssStyleSheet.cs | namespace AngleSharp.Css.Dom
{
using AngleSharp.Attributes;
using AngleSharp.Dom;
using System;
/// <summary>
/// Represents the CSS style sheet for storing CSS styles.
/// </summary>
[DomName("CSSStyleSheet")]
public interface ICssStyleSheet : IStyleSheet
{
/// <summary>
... | namespace AngleSharp.Css.Dom
{
using AngleSharp.Attributes;
using AngleSharp.Dom;
using System;
/// <summary>
/// Represents the CSS style sheet for storing CSS styles.
/// </summary>
[DomName("CSSStyleSheet")]
public interface ICssStyleSheet : IStyleSheet
{
/// <summary>
... | mit | C# |
e4764b58223f2adb0477c728a4eef8b9a948f8c5 | Add assert | terrajobst/apiporter | src/ApiPorter.Patterns/PatternCapture.cs | src/ApiPorter.Patterns/PatternCapture.cs | using System;
using System.Diagnostics;
using Microsoft.CodeAnalysis;
namespace ApiPorter.Patterns
{
public sealed class PatternCapture
{
private PatternCapture(PatternVariable variable, SyntaxNodeOrToken startNodeOrToken, SyntaxNodeOrToken endNodeOrToken)
{
Variable = variable;
... | using System;
using Microsoft.CodeAnalysis;
namespace ApiPorter.Patterns
{
public sealed class PatternCapture
{
private PatternCapture(PatternVariable variable, SyntaxNodeOrToken startNodeOrToken, SyntaxNodeOrToken endNodeOrToken)
{
Variable = variable;
StartNodeOrToken... | mit | C# |
44c0574d165cfb931c71d5d2d9e2cb3be271a064 | Make ByteSizeTypeConverter internal | omar/ByteSize | src/ByteSizeLib/ByteSizeTypeConverter.cs | src/ByteSizeLib/ByteSizeTypeConverter.cs | using System;
using System.ComponentModel;
using System.Globalization;
namespace ByteSizeLib
{
/// <summary>
/// Provides a type converter to convert <see cref="ByteSize"/> objects to and from <see cref="string"/> objects.
/// </summary>
internal class ByteSizeTypeConverter : TypeConverter
{
... | using System;
using System.ComponentModel;
using System.Globalization;
namespace ByteSizeLib
{
/// <summary>
/// Provides a type converter to convert <see cref="ByteSize"/> objects to and from <see cref="string"/> objects.
/// </summary>
public class ByteSizeTypeConverter : TypeConverter
{
... | mit | C# |
cc5e5ee5ad542428e64cb997a9d142d47d5ec05a | add xml comments | christianacca/Cache-Abstraction,christianacca/Cache-Abstraction | src/CcAcca.CacheAbstraction/CacheBase.cs | src/CcAcca.CacheAbstraction/CacheBase.cs | // Copyright (c) 2014 Christian Crowhurst. All rights reserved.
// see LICENSE
using System;
namespace CcAcca.CacheAbstraction
{
/// <summary>
/// Convenience base class that provide some base functionality for implementors of the <see cref="ICache" />
/// interface
/// </summary>
public abstract... | // Copyright (c) 2014 Christian Crowhurst. All rights reserved.
// see LICENSE
using System;
namespace CcAcca.CacheAbstraction
{
/// <summary>
/// Convenience base class that provide some base functionality for implementors of the <see cref="ICache" />
/// interface
/// </summary>
public abstract... | mit | C# |
6e0e163a248166e04cb57b63e6a8d3ba0545b612 | Fix compile bug | Red-Folder/WebCrawl-Functions | WebCrawlProcess/run.csx | WebCrawlProcess/run.csx | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"C# Queue trigger function processed: {crawlRequest.Id}");
var azureLo... | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"C# Queue trigger function processed: {crawlRequest.Id}");
var azureLo... | mit | C# |
28f3084da9d1d0997e89cd7fc6fbfe2ec1e3f2d3 | Change to download results | Red-Folder/WebCrawl-Functions | WebCrawlResults/run.csx | WebCrawlResults/run.csx | //#r "Newtonsoft.Json"
using System.Net;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Net.Http.Headers;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info($"C# HTTP trigg... | //#r "Newtonsoft.Json"
using System.Net;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Net.Http.Headers;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
// Hello World - integratio... | mit | C# |
70b06c608c1f6f0c8a68060116e65b3196771776 | format formatter code | khellang/omnisharp-roslyn,sreal/omnisharp-roslyn,filipw/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,haled/omnisharp-roslyn,fishg/omnisharp-roslyn,jtbm37/omnisharp-roslyn,nabychan/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,sriramgd/omnisharp-roslyn,hach-que/omnisharp-roslyn,nabychan/omnisharp-roslyn,ChrisHel/omnis... | src/OmniSharp/Api/Formatting/OmnisharpController.FormatDocument.cs | src/OmniSharp/Api/Formatting/OmnisharpController.FormatDocument.cs | using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Formatting;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("codeformat")]
public async Task<IActionResult> CodeFormat([FromBo... | using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Formatting;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("codeformat")]
public async Task<IActionResult> CodeFormat([FromBo... | mit | C# |
6c870eef9f7d0f02b8fed365c6988c129e9f4962 | 更新.net 4.5项目的版本号 | JeffreySu/Senparc.WebSocket | src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs | src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
//[assembly: AssemblyTitle("Senparc.WebSocket")]
//[assembly: AssemblyDescription("")]
//[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyCompany("")]
//[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
//[assembly: AssemblyTitle("Senparc.WebSocket")]
//[assembly: AssemblyDescription("")]
//[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyCompany("")]
//[asse... | apache-2.0 | C# |
940c2427db74e711595d6b56f52378131f40515e | Mark Utilities class as static | ProgramFOX/Chess.NET | ChessDotNet/Utilities.cs | ChessDotNet/Utilities.cs | using System;
namespace ChessDotNet
{
public static class Utilities
{
public static void ThrowIfNull(object value, string parameterName)
{
if (value == null)
{
throw new ArgumentNullException(parameterName);
}
}
public static... | using System;
namespace ChessDotNet
{
public class Utilities
{
public static void ThrowIfNull(object value, string parameterName)
{
if (value == null)
{
throw new ArgumentNullException(parameterName);
}
}
public static Player... | mit | C# |
1b1b431eb6df6fb21e6a31c690efc9977e0e282f | Remove reference to obsolete `searchHighlight()` javascript function from ClearSilver footer template. | dafrito/trac-mirror,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,dafrito/trac-mirror,moreati/trac-gitsvn,dafrito/trac-mirror,dokipen/trac,exocad/exotrac,dokipen/trac,dokipen/trac,moreati/trac-gitsvn,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn | templates/footer.cs | templates/footer.cs | <?cs if:len(chrome.links.alternate) ?>
<div id="altlinks"><h3>Download in other formats:</h3><ul><?cs
each:link = chrome.links.alternate ?><?cs
set:isfirst = name(link) == 0 ?><?cs
set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs
if:isfirst || islast ?> class="<?cs
if:isfirst ?>first<?c... | <script type="text/javascript">searchHighlight()</script><?cs
if:len(chrome.links.alternate) ?>
<div id="altlinks"><h3>Download in other formats:</h3><ul><?cs
each:link = chrome.links.alternate ?><?cs
set:isfirst = name(link) == 0 ?><?cs
set:islast = name(link) == len(chrome.links.alternate) - 1?><li<?cs
if:is... | bsd-3-clause | C# |
dc548705ba80297403cd593dd106ff83625ec69f | Update KentBoogaart.cs | planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin... | src/Firehose.Web/Authors/KentBoogaart.cs | src/Firehose.Web/Authors/KentBoogaart.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KentBoogaart : IAmAMicrosoftMVP
{
public string FirstName => "Kent";
public string LastName => "Boogaart";
public string StateOrRegion => "Australia";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KentBoogaart : IAmAMicrosoftMVP
{
public string FirstName => "Kent";
public string LastName => "Boogaart";
public string StateOrRegion => "Australia";
... | mit | C# |
d70ac96ecaafec0fa06a89599573877f01bf84b2 | Test added | bradyholt/cron-expression-descriptor,bradyholt/cron-expression-descriptor | test/TestParsing.cs | test/TestParsing.cs | using Xunit;
namespace CronExpressionDescriptor.Test
{
public class TestParsing
{
[Fact]
public void TestWeekDayAndMonthParsing()
{
var expression = "0 59 23 31 dEc frI *";
var options = new Options
{
Locale = "en"
};
... | namespace CronExpressionDescriptor.Test
{
public class TestParsing
{
}
}
| mit | C# |
92cb5b37f427c4e9ea238467e534e5a735a89989 | Throw exception | mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard,mvno/Okanshi.Dashboard | src/Okanshi.Dashboard/GetHealthChecks.cs | src/Okanshi.Dashboard/GetHealthChecks.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetHealthChecks
{
IEnumerable<HealthCheck> Execute(string instanceName);
}
public class GetHeal... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Okanshi.Dashboard.Models;
namespace Okanshi.Dashboard
{
public interface IGetHealthChecks
{
IEnumerable<HealthCheck> Execute(string instanceName);
}
public class GetHeal... | mit | C# |
d83b24a62a1f760084c3d61e31a7817a30bea951 | update Model.cs | grokify/ringcentral-sdk-csharp-simple | src/RingCentralSimple.Api/Model/Model.cs | src/RingCentralSimple.Api/Model/Model.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace RingCentralSimple.Model
{
public class Base
{
public string ToJson()
{
return JsonConvert.SerializeObject(this);
}
}
}
namespace RingCentralSimple.Model
{
public cla... | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace RingCentralSimple.Model
{
public class Base
{
public string ToJson()
{
string json = JsonConvert.SerializeObject(this);
return json;
}
}
}
namespace RingCentr... | mit | C# |
fe494447ea2b1e276e04c8ab4accfd3bdbf44e23 | Set WinApiNet assembly as CLS-compliant | MpDzik/winapinet,MpDzik/winapinet | src/WinApiNet/Properties/AssemblyInfo.cs | src/WinApiNet/Properties/AssemblyInfo.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="WinAPI.NET">
// Copyright (c) Marek Dzikiewicz, All Rights Reserved.
// </copyright>
// ---------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="WinAPI.NET">
// Copyright (c) Marek Dzikiewicz, All Rights Reserved.
// </copyright>
// ---------------------------------------------------------------... | mit | C# |
2148fb160bbb2130194ed17208232282f8acec57 | Fix missing this | sharper-library/Sharper.C.Enumerable | Sharper.C.Enumerable/Data/EnumerableModule.cs | Sharper.C.Enumerable/Data/EnumerableModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Sharper.C.Control;
namespace Sharper.C.Data
{
using static TrampolineModule;
public static class EnumerableModule
{
public static B FoldLeft<A, B>(this IEnumerable<A> e, B x, Func<B, A, B> f)
=>
e.Aggregate(x, f);
public s... | using System;
using System.Collections.Generic;
using System.Linq;
using Sharper.C.Control;
namespace Sharper.C.Data
{
using static TrampolineModule;
public static class EnumerableModule
{
public static B FoldLeft<A, B>(this IEnumerable<A> e, B x, Func<B, A, B> f)
=>
e.Aggregate(x, f);
public s... | mit | C# |
bae91e339defcc1c3a7c2136f98f4eb5ea18793c | Add an API for getting the result of an operation without knowing it's type. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/Operations/DataOperation.cs | Silk.Data.SQL.ORM/Operations/DataOperation.cs | using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.Queries;
using System.Threading.Tasks;
namespace Silk.Data.SQL.ORM.Operations
{
public abstract class DataOperation
{
/// <summary>
/// Gets a value indicating if the operation can be executed as part of a batch operation.
/// </summary>
public... | using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.Queries;
using System.Threading.Tasks;
namespace Silk.Data.SQL.ORM.Operations
{
public abstract class DataOperation
{
/// <summary>
/// Gets a value indicating if the operation can be executed as part of a batch operation.
/// </summary>
public... | mit | C# |
1a516f282c24ba3c35cfa835589d9912afce0c63 | Remove xml encoding in reports. | tronelius/simplereport,tronelius/simplereport,tronelius/simplereport | SimpleReport.Model/Replacers/ValueReplacer.cs | SimpleReport.Model/Replacers/ValueReplacer.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace SimpleReport.Model.Replacers
{
/// <summary>
/// Used to replace xml code and remove sty... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace SimpleReport.Model.Replacers
{
/// <summary>
/// Used to replace xml code and remove sty... | apache-2.0 | C# |
9b6068be7bf6dd9b9923e18521feae8cc27a6701 | Check if the specified path is a physical or a virtual path | mdavid/nuget,mdavid/nuget | src/Server/Infrastructure/PackageUtility.cs | src/Server/Infrastructure/PackageUtility.cs | using System;
using System.Web;
using System.Web.Hosting;
using System.Configuration;
using System.IO;
namespace NuGet.Server.Infrastructure
{
public class PackageUtility
{
internal static string PackagePhysicalPath;
private static string DefaultPackagePhysicalPath = HostingEnviron... | using System;
using System.Web;
using System.Web.Hosting;
using System.Configuration;
namespace NuGet.Server.Infrastructure
{
public class PackageUtility
{
internal static string PackagePhysicalPath;
private static string DefaultPackagePhysicalPath = HostingEnvironment.MapPath("~/Pa... | apache-2.0 | C# |
da83203035cc4eba745e05c76a241f060ec60f5b | Update ElementCollectionBase.cs | inickvel/linq2db,linq2db/linq2db,sdanyliv/linq2db,MaceWindu/linq2db,jogibear9988/linq2db,sdanyliv/linq2db,rechkalov/linq2db,ronnyek/linq2db,enginekit/linq2db,AK107/linq2db,LinqToDB4iSeries/linq2db,jogibear9988/linq2db,giuliohome/linq2db,genusP/linq2db,barsgroup/bars2db,linq2db/linq2db,MaceWindu/linq2db,LinqToDB4iSeries... | Source/Configuration/ElementCollectionBase.cs | Source/Configuration/ElementCollectionBase.cs | using System;
using System.Configuration;
namespace LinqToDB.Configuration
{
public abstract class ElementCollectionBase<T>: ConfigurationElementCollection
where T : ConfigurationElement, new()
{
protected override ConfigurationElement CreateNewElement()
{
return new T();
}
protected abstr... | using System;
using System.Configuration;
namespace LinqToDB.Configuration
{
internal abstract class ElementCollectionBase<T>: ConfigurationElementCollection
where T : ConfigurationElement, new()
{
protected override ConfigurationElement CreateNewElement()
{
return new T();
}
protected abs... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.