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 |
|---|---|---|---|---|---|---|---|---|
cd4c801778d9a369ee81aeba8ee48c850ea669d8 | Update version to 1.2.1 | Brightspace/valence-sdk-dotnet | lib/GlobalAssemblyInfo.cs | lib/GlobalAssemblyInfo.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# |
a00b8e68391142b873f30ba60287bce22c1368f3 | Add clipboard Image sample | antmicro/xwt,lytico/xwt,hamekoz/xwt,cra0zy/xwt,residuum/xwt,TheBrainTech/xwt,mono/xwt,akrisiun/xwt,hwthomas/xwt | TestApps/Samples/Samples/ClipboardSample.cs | TestApps/Samples/Samples/ClipboardSample.cs | //
// Clipboard.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction... | //
// Clipboard.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction... | mit | C# |
940367eba858d61cbeae80d650aca4023c69be75 | Bump version to 1.0.0 | HangfireIO/Hangfire.Dashboard.Authorization | Hangfire.Dashboard.Authorization/Properties/AssemblyInfo.cs | Hangfire.Dashboard.Authorization/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("Hangfire.Dashboard.Authorization")]
[asse... | 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("Hangfire.Dashboard.Authorization")]
[asse... | mit | C# |
3d96697b891ae09047b590db743071387b86cdb5 | Rename ISymUnmanagedDocument.GetCheckSumAlgorithmId to GetChecksumAlgorithmId | natgla/roslyn,KiloBravoLima/roslyn,MihaMarkic/roslyn-prank,brettfo/roslyn,weltkante/roslyn,weltkante/roslyn,jrharmon/roslyn,antonssonj/roslyn,stjeong/roslyn,supriyantomaftuh/roslyn,magicbing/roslyn,vslsnap/roslyn,jgglg/roslyn,AmadeusW/roslyn,khellang/roslyn,tsdl2013/roslyn,jasonmalinowski/roslyn,MichalStrehovsky/roslyn... | src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDocument.cs | src/Dependencies/Microsoft.DiaSymReader/ISymUnmanagedDocument.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Microsoft.DiaSymReader
{
[ComImport]
[ComVisible(false)]
[Guid(... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Microsoft.DiaSymReader
{
[ComImport]
[ComVisible(false)]
[Guid(... | mit | C# |
e3701ad2b03a503b19aba8efcfc931cbd1d67ef9 | add form post html | siyo-wang/IdentityServer4,chrisowhite/IdentityServer4,chrisowhite/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,jbijlsma/IdentityServer4,jbijlsma/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,siyo-wang/IdentityServer4,IdentityServer/Id... | src/IdentityServer4/Endpoints/Results/AuthorizeFormPostResult.cs | src/IdentityServer4/Endpoints/Results/AuthorizeFormPostResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Core.Models;
using IdentityServer4.Core.Extensions;
using IdentityServer4.Core.Hosting;
us... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Core.Models;
using IdentityServer4.Core.Extensions;
using IdentityServer4.Core.Hosting;
us... | apache-2.0 | C# |
1086a436ae08d2045b8e10207f3c07cb5b39c5a5 | Update MonitorPipelineOperation.cs | grzesiek-galezowski/component-based-test-tool | ComponentBasedTestTool/Components/AzurePipelines/Operations/MonitorPipelineOperation.cs | ComponentBasedTestTool/Components/AzurePipelines/Operations/MonitorPipelineOperation.cs | using Core.Maybe;
using ExtensionPoints.ImplementedByComponents;
using ExtensionPoints.ImplementedByContext;
using System;
using Components.AzurePipelines.Client;
using Components.AzurePipelines.Client.Dto;
namespace Components.AzurePipelines.Operations;
public class MonitorPipelineOperation : IComponentOperation
{
... | using Core.Maybe;
using ExtensionPoints.ImplementedByComponents;
using ExtensionPoints.ImplementedByContext;
using System;
using Components.AzurePipelines.Client;
using Components.AzurePipelines.Client.Dto;
namespace Components.AzurePipelines.Operations;
public class MonitorPipelineOperation : IComponentOperation
{
... | mit | C# |
a8f115c51fe6b529653c0bc0c0e28eb7eafa0afe | Use invariant culture. | VisualOn/dday.ical,VisualOn/dday.ical | DDay.iCal/Serialization/iCalendar/Serializers/DataTypes/GeographicLocationSerializer.cs | DDay.iCal/Serialization/iCalendar/Serializers/DataTypes/GeographicLocationSerializer.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.IO;
namespace DDay.iCal.Serialization.iCalendar
{
public class GeographicLocationSerializer :
EncodableDataTypeSerializer
{
public override Type TargetType
{
... | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace DDay.iCal.Serialization.iCalendar
{
public class GeographicLocationSerializer :
EncodableDataTypeSerializer
{
public override Type TargetType
{
get { return typeof(Geog... | bsd-3-clause | C# |
5200059c50875fa43060f4e1e52fc0265c7526d3 | Fix GlobalShortcut Register command. | xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp | electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/GlobalShortcut.cs | electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.Electron/GlobalShortcut.cs | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Script;
namespace WebSharpJs.Electron
{
public class GlobalShortcut : EventEmitter
{
protected override string ScriptProxy => @"globalShortcut;";
protected override string Requires => @"const {globalShortcut... | using System;
using System.Threading.Tasks;
using WebSharpJs.NodeJS;
using WebSharpJs.Script;
namespace WebSharpJs.Electron
{
public class GlobalShortcut : EventEmitter
{
protected override string ScriptProxy => @"globalShortcut;";
protected override string Requires => @"const {globalShortcut... | mit | C# |
1dcd056e28d740c6ec015f2c546d3fec6f66cab7 | Fix FieldsTest: should not search all types | wawrzyn/elasticsearch-net,robrich/elasticsearch-net,CSGOpenSource/elasticsearch-net,cstlaurent/elasticsearch-net,KodrAus/elasticsearch-net,SeanKilleen/elasticsearch-net,UdiBen/elasticsearch-net,SeanKilleen/elasticsearch-net,faisal00813/elasticsearch-net,mac2000/elasticsearch-net,joehmchan/elasticsearch-net,mac2000/elas... | src/Tests/Nest.Tests.Integration/Search/FieldTests/FieldsTest.cs | src/Tests/Nest.Tests.Integration/Search/FieldTests/FieldsTest.cs | using FluentAssertions;
namespace Nest.Tests.Integration.Search.FieldTests
{
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
[TestFixture]
public class FieldsTest : IntegrationTests
{
/// <summary>
/// Fi... | using FluentAssertions;
namespace Nest.Tests.Integration.Search.FieldTests
{
using System.Collections.Generic;
using System.Linq;
using Elasticsearch.Net;
using Nest.Tests.MockData.Domain;
using NUnit.Framework;
[TestFixture]
public class FieldsTest : IntegrationTests
{
/// <summary>
/// Fi... | apache-2.0 | C# |
942dd301814a9bd404cb3e51ee360eb52c7183ae | Use nested field mapping in nested query usage tests | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Tests/QueryDsl/Joining/Nested/NestedQueryUsageTests.cs | src/Tests/Tests/QueryDsl/Joining/Nested/NestedQueryUsageTests.cs | using System.Collections.Generic;
using System.Linq;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.Integration;
using static Nest.Infer;
namespace Tests.QueryDsl.Joining.Nested
{
/**
* Nested query allows to query nested objects / docs (see {ref_current}/neste... | using System.Collections.Generic;
using System.Linq;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
using Tests.Framework.Integration;
using static Nest.Infer;
namespace Tests.QueryDsl.Joining.Nested
{
/**
* Nested query allows to query nested objects / docs (see {ref_current}/neste... | apache-2.0 | C# |
094320a11b926fdd1b34b70e0dff333a4baf5673 | Upgrade the version | ronenbarak/Barak.VersionPatcher | src/Barak.VersionPatcher.Cmd/Properties/AssemblyInfo.cs | src/Barak.VersionPatcher.Cmd/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("Ba... | 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("Ba... | apache-2.0 | C# |
fe7c7db80480c0cbf97e296f29721a5f062c6e54 | Fix test. | JohanLarsson/Gu.Localization | Gu.Wpf.Localization/MarkupExtensions/CurrentCultureProxy.cs | Gu.Wpf.Localization/MarkupExtensions/CurrentCultureProxy.cs | namespace Gu.Wpf.Localization
{
using System.ComponentModel;
using System.Globalization;
using Gu.Localization;
internal class CurrentCultureProxy : INotifyPropertyChanged
{
internal static readonly CurrentCultureProxy Instance = new CurrentCultureProxy();
private CurrentCulturePro... | namespace Gu.Wpf.Localization
{
using System.ComponentModel;
using System.Globalization;
using Gu.Localization;
internal class CurrentCultureProxy : INotifyPropertyChanged
{
internal static readonly CurrentCultureProxy Instance = new CurrentCultureProxy();
private CurrentCulturePro... | mit | C# |
ad352f581a08df8b1c8153d5edd3775aa2383f10 | Fix font scaling when two monitors are scaled differently (BL-10981) | gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDes... | src/BloomExe/Properties/AssemblyInfo.cs | src/BloomExe/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("Blo... | 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("Blo... | mit | C# |
e441eb42f884a2bec279e225dbc335e8da703a14 | Add license header. | gatzka/SharpJet,gatzka/cs-jet,leistner/SharpJet | cs-jet/Properties/AssemblyInfo.cs | cs-jet/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs" company="Hottinger Baldwin Messtechnik GmbH">
//
// CS Jet, a library to communicate with Jet IPC.
//
// The MIT License (MIT)
//
// Copyright (C) Hottinger Baldwin Messtechnik GmbH
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this softwa... | 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("cs... | mit | C# |
de83c5ed4945891bd165ecd85b678f19f55f1e91 | Fix broken test | jherby2k/AudioWorks | AudioWorks/tests/AudioWorks.Api.Tests/ExtensionInstallerTests.cs | AudioWorks/tests/AudioWorks.Api.Tests/ExtensionInstallerTests.cs | /* Copyright 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | /* Copyright 2020 Jeremy Herbison
This file is part of AudioWorks.
AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
Audi... | agpl-3.0 | C# |
ba8894b725f347078cd550f430dbd593a9a64534 | Make sure logging doesn't cause cross-thread access to the log-file | YellowLineParking/Ylp.GitDb | Ylp.GitDb.Core/ILogger.cs | Ylp.GitDb.Core/ILogger.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
namespace Ylp.GitDb.Core
{
public interface ILogger
{
Task Log(string message);
}
public class Logger : ILogger
{
public readonly string FileName;
static readonly object LockObj = new ob... | using System;
using System.IO;
using System.Threading.Tasks;
namespace Ylp.GitDb.Core
{
public interface ILogger
{
Task Log(string message);
}
public class Logger : ILogger
{
public readonly string FileName;
public Logger(string fileName)
{
FileName = ... | mit | C# |
0b9b09fa1ebc4e8a911221e3ade68d89273af590 | Revert the whitespace change of the auto generated file | pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet | src/Core/Managed/Shared/Extensibility/Implementation/External/ExceptionDetails_types.cs | src/Core/Managed/Shared/Extensibility/Implementation/External/ExceptionDetails_types.cs |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 0.4.1.0
// File : ExceptionDetails_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated ... |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 0.4.1.0
// File : ExceptionDetails_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated ... | mit | C# |
69292d88612fa328a47ad3ce207ad94cbf29b105 | Support all objects for debugger display. | Qowaiv/Qowaiv | src/Qowaiv.UnitTests/TestTools/DebuggerDisplayAssert.cs | src/Qowaiv.UnitTests/TestTools/DebuggerDisplayAssert.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Qowaiv.UnitTests.TestTools
{
public static class DebuggerDisplayAssert
{
public static void HasAttribute(Type type... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Qowaiv.UnitTests.TestTools
{
public static class DebuggerDisplayAssert
{
public static void HasAttribute(Type type... | mit | C# |
934e28b4667354845e7b137dfc965e3e14945b84 | Fix log4net location. | aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template | src/AbpCompanyName.AbpProjectName.WebMpa/Global.asax.cs | src/AbpCompanyName.AbpProjectName.WebMpa/Global.asax.cs | using System;
using Abp.Castle.Logging.Log4Net;
using Abp.Web;
using Castle.Facilities.Logging;
namespace AbpCompanyName.AbpProjectName.WebMpa
{
public class MvcApplication : AbpWebApplication<AbpProjectNameWebModule>
{
protected override void Application_Start(object sender, EventArgs e)
{
... | using System;
using Abp.Castle.Logging.Log4Net;
using Abp.Web;
using Castle.Facilities.Logging;
namespace AbpCompanyName.AbpProjectName.WebMpa
{
public class MvcApplication : AbpWebApplication<AbpProjectNameWebModule>
{
protected override void Application_Start(object sender, EventArgs e)
{
... | mit | C# |
5550c458f5a026b5d678a2d6d67b06bb9f9ddb05 | fix Word/EmailTemplate casting | signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework,signumsoftware/extensions,MehdyKarimpour/extensions,MehdyKarimpour/extensions,AlejandroCano/extensions,signumsoftware/framework | Signum.Entities.Extensions/Templating/TemplateApplicable.cs | Signum.Entities.Extensions/Templating/TemplateApplicable.cs | using Signum.Entities.Basics;
using Signum.Entities.Dynamic;
using Signum.Entities.Word;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Signum.Entities.Mailing;
namespace Signum.Entities.Templating
{
pu... | using Signum.Entities.Basics;
using Signum.Entities.Dynamic;
using Signum.Entities.Word;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Entities.Templating
{
public class TemplateApplicableEva... | mit | C# |
1754b68429a8e6738688329bcfbca39ef37ab051 | Update GrainReferenceConverter.cs | OrleansContrib/orleans.serialization.json | Orleans.Serialization.Newtonsoft.Json/GrainReferenceConverter.cs | Orleans.Serialization.Newtonsoft.Json/GrainReferenceConverter.cs | #if NEWTONSOFT
namespace Orleans.Serialization.Newtonsoft.Json
#elif RAVENDB
namespace Orleans.Serialization.RavenDB.Json
#endif
{
using System;
using Runtime;
#if NEWTONSOFT
using global::Newtonsoft.Json;
#elif RAVENDB
using Raven.Imports.Newtonsoft.Json;
#endif
internal class GrainReferenceConver... | #if NEWTONSOFT
namespace Orleans.Serialization.Newtonsoft.Json
#elif RAVENDB
namespace Orleans.Serialization.RavenDB.Json
#endif
{
using System;
using Runtime;
#if NEWTONSOFT
using global::Newtonsoft.Json;
#elif RAVENDB
using Raven.Imports.Newtonsoft.Json;
#endif
internal class GrainReferenceConver... | apache-2.0 | C# |
6d2a397d33f0f4822405ed3fe450dd3cc5122335 | Update IAzureBlobStorageRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/AzureStorage/IAzureBlobStorageRepository.cs | TIKSN.Core/Data/AzureStorage/IAzureBlobStorageRepository.cs | namespace TIKSN.Data.AzureStorage
{
public interface IAzureBlobStorageRepository : IFileRepository
{
}
}
| namespace TIKSN.Data.AzureStorage
{
public interface IAzureBlobStorageRepository : IFileRepository
{
}
} | mit | C# |
c7894e9fb273cda5365239967314390f79e079a8 | Test commit | optivem/immerest,optivem/optivem-commons-cs | src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs | src/Optivem.Commons.Parsing.Default/BaseNumberParser.cs | using System;
using System.Globalization;
namespace Optivem.Commons.Parsing.Default
{
public abstract class BaseNumberParser<T> : BaseParser<T>
{
public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null)
{
NumberStyles = numberStyles;
... | using System;
using System.Globalization;
namespace Optivem.Commons.Parsing.Default
{
public abstract class BaseNumberParser<T> : BaseParser<T>
{
public BaseNumberParser(NumberStyles? numberStyles = null, IFormatProvider formatProvider = null)
{
NumberStyles = numberStyles;
... | apache-2.0 | C# |
10055508e9f9f9e51dbc46368ec10b1991123e1b | add properties | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/RootSolrObject.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/RootSolrObject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class RootSolrObject
{
public SolrResponse response { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class RootSolrObject
{
}
}
| apache-2.0 | C# |
f07cae787f16ea07ffd1bedd5e8e4346567bb3b5 | Clean up test and reference original issue | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/LayoutRules/SA1514CSharp8UnitTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.C... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.LayoutRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.C... | mit | C# |
b0399e4022c86c9663b6b9be9e7a82131f21fb5e | Update ExchangeRatesContext.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRatesContext.cs | TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRatesContext.cs | using Microsoft.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRatesContext : DbContext
{
public ExchangeRatesContext(DbContextOptions<ExchangeRatesContext> dbContextOptions) : base(dbContextOptions)
{
}
public virtu... | using Microsoft.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ExchangeRatesContext : DbContext
{
public ExchangeRatesContext(DbContextOptions<ExchangeRatesContext> dbContextOptions) : base(dbContextOptions)
{
}
public virtu... | mit | C# |
09e57d586b91c48e066e51d8570dc7dbfe89a487 | Remove extra comment | nycdotnet/FizzBuzz | FizzBuzzConsole/Program.cs | FizzBuzzConsole/Program.cs | using System;
using FizzBuzzDotNet.Business;
namespace FizzBuzzDotNet
{
class Program
{
static void Main(string[] args)
{
var fb = new FizzBuzz(2000000000);
foreach (var item in fb.All())
{
Console.WriteLine(item);
};
... | using System;
using FizzBuzzDotNet.Business;
namespace FizzBuzzDotNet
{
class Program
{
static void Main(string[] args)
{
var fb = new FizzBuzz(2000000000);
foreach (var item in fb.All())
{
Console.WriteLine(item);
};
... | mit | C# |
021203814285ce16eaaf2fbfdd0e471e10a3de2b | Fix code examples in IModule interface | philipproplesch/KInspector,xpekatt/KInspector,anibalvelarde/KInspector,pnmcosta/KInspector,anibalvelarde/KInspector,KenticoBSoltis/KInspector,Kentico/KInspector,anibalvelarde/KInspector,KenticoBSoltis/KInspector,TheEskhaton/KInspector,petrsvihlik/KInspector,martbrow/KInspector,Kentico/KInspector,ChristopherJennings/KIn... | KInspector.Core/IModule.cs | KInspector.Core/IModule.cs | namespace KInspector.Core
{
/// <summary>
/// The interface to implement to add a functionality to this application.
/// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load
/// all of them.
/// </summary>
public interface IModule
{
//... | namespace KInspector.Core
{
/// <summary>
/// The interface to implement to add a functionality to this application.
/// Add DLL with implementation of this interface to the same folder as executing assembly to auto-load
/// all of them.
/// </summary>
public interface IModule
{
//... | mit | C# |
ea8117d380508ee3b9dd0dbf31c1c441f3c3ff2e | Resolve IUserService lazily while activating the shell (#9249) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Users/Services/RecipeEnvironmentSuperUserProvider.cs | src/OrchardCore.Modules/OrchardCore.Users/Services/RecipeEnvironmentSuperUserProvider.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using OrchardCore.Recipes.Services;
using OrchardCore.Settings;
namespace OrchardCore.Users.Services
{
public class RecipeEnvironmentSuperUserProvider : ... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using OrchardCore.Recipes.Services;
using OrchardCore.Settings;
namespace OrchardCore.Users.Services
{
public class RecipeEnvironmentSuperUserProvider : IRecipeEnvironmentProvider
{
private... | bsd-3-clause | C# |
00e44d0e208c91a032003be0a0989b8c6bd03fb5 | Add statistics result | Camille-Jeong/sowrender,agemor/sowrender,Camille-Jeong/sowrender,agemor/sowrender,Camille-Jeong/sowrender,Camille-Jeong/sowrender,agemor/sowrender,agemor/sowrender,Camille-Jeong/sowrender,agemor/sowrender | week2/aurender-tycoon/aurender-tycooon-camille/AurenderTycoonCamille/StatisticsResult.cs | week2/aurender-tycoon/aurender-tycooon-camille/AurenderTycoonCamille/StatisticsResult.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AurenderTycoonCamille
{
/**
* This class make statistics with history
*
* @date 2017/01/25
*/
class SalesStatistics
{
/* make statistics with transacti... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AurenderTycoonCamille
{
class StatisticsResult
{
}
}
| mit | C# |
a4bf37b86c24969b4771cc40e73fcf143ed38168 | Fix merge errors | smoogipooo/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,default0/osu-framework,ppy/osu-framework,EVAST99... | osu.Framework/Properties/AssemblyInfo.cs | osu.Framework/Properties/AssemblyInfo.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.CompilerServices;
using osu.Framework.Testing;
// We publish our internal attributes to other sub-projects of the framework.
// N... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Runtime.CompilerServices;
// We publish our internal attributes to other sub-projects of the framework.
// Note, that we omit visual tests... | mit | C# |
1fd110590bbba9702f8853efc525d7feadc371b7 | Update to resolve Issue #16 | HotcakesCommerce/core,HotcakesCommerce/core,HotcakesCommerce/core | Libraries/Hotcakes.Commerce/WebAppSettings.System.cs | Libraries/Hotcakes.Commerce/WebAppSettings.System.cs | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"),... | #region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"),... | mit | C# |
2c339da50e228d205d11fd3e0c4953ed2523dacb | Add failing test for append called several times for string identity | ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten | src/DocumentDbTests/Bugs/Bug_673_multiple_version_assertions.cs | src/DocumentDbTests/Bugs/Bug_673_multiple_version_assertions.cs | using System;
using Marten.Events;
using Marten.Testing.Harness;
using Xunit;
namespace DocumentDbTests.Bugs
{
public class Bug_673_multiple_version_assertions: IntegrationContext
{
[Fact]
public void replaces_the_max_version_assertion()
{
var streamId = Guid.NewGuid();
... | using System;
using Marten.Testing.Harness;
using Xunit;
namespace DocumentDbTests.Bugs
{
public class Bug_673_multiple_version_assertions: IntegrationContext
{
[Fact]
public void replaces_the_max_version_assertion()
{
var streamId = Guid.NewGuid();
using (var s... | mit | C# |
90c3a86c031b387d45fae09c15996fd8e3092bd6 | Remove unused using | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb | src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs | src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs | using System;
using Amazon.DynamoDBv2;
namespace Quartz.DynamoDB.Tests.Integration
{
/// <summary>
/// Test helper that manages unique dynamo table-prefixes and cleaning up tables after test runs.
/// </summary>
public class DynamoClientFactory
{
private readonly string _instanceName = Gui... | using System;
using System.Net;
using Amazon.DynamoDBv2;
namespace Quartz.DynamoDB.Tests.Integration
{
/// <summary>
/// Test helper that manages unique dynamo table-prefixes and cleaning up tables after test runs.
/// </summary>
public class DynamoClientFactory
{
private readonly string _... | apache-2.0 | C# |
bfec5cd1cd0982d6bc16036b530d95202972f4b6 | introduce extension point for EntityFormatter initialization | BITechnologies/boo,rmboggs/boo,rmartinho/boo,BitPuffin/boo,bamboo/boo,KingJiangNet/boo,Unity-Technologies/boo,KidFashion/boo,bamboo/boo,bamboo/boo,rmboggs/boo,KidFashion/boo,KingJiangNet/boo,BitPuffin/boo,BitPuffin/boo,scottstephens/boo,KingJiangNet/boo,BillHally/boo,Unity-Technologies/boo,KingJiangNet/boo,rmartinho/bo... | src/Boo.Lang.Compiler/Steps/InitializeTypeSystemServices.cs | src/Boo.Lang.Compiler/Steps/InitializeTypeSystemServices.cs | #region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the... | #region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the... | bsd-3-clause | C# |
2cce76d72e6099d7aba771e0193f9d46b8cde631 | Fix refactoring provider to correctly handle positions near EOF | terrajobst/nquery-vnext | src/NQuery.Authoring/CodeActions/CodeRefactoringProvider.cs | src/NQuery.Authoring/CodeActions/CodeRefactoringProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace NQuery.Authoring.CodeActions
{
public abstract class CodeRefactoringProvider<T> : ICodeRefactoringProvider
where T : SyntaxNode
{
public IEnumerable<ICodeAction> GetRefactorings(SemanticModel semanticModel, int positi... | using System;
using System.Collections.Generic;
using System.Linq;
namespace NQuery.Authoring.CodeActions
{
public abstract class CodeRefactoringProvider<T> : ICodeRefactoringProvider
where T : SyntaxNode
{
public IEnumerable<ICodeAction> GetRefactorings(SemanticModel semanticModel, int positi... | mit | C# |
36830e48504489b14f4ec0eaf49a555cfe3634cc | remove c# 9 | abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,umbraco/U... | src/Umbraco.Web.BackOffice/Security/AutoLinkSignInResult.cs | src/Umbraco.Web.BackOffice/Security/AutoLinkSignInResult.cs | using Microsoft.AspNetCore.Identity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Umbraco.Web.Common.Security
{
public class AutoLinkSignInResult : SignInResult
{
public static AutoLinkSignInResult FailedNotLinked = new AutoLinkSignInResult()
... | using Microsoft.AspNetCore.Identity;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Umbraco.Web.Common.Security
{
public class AutoLinkSignInResult : SignInResult
{
public static AutoLinkSignInResult FailedNotLinked = new()
{
... | mit | C# |
05911072d30f6f2456ea1b640850a7623b35d6e2 | Test stability | AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig... | src/Windows/Markdown/Editor/Test/Preview/BrowserViewTest.cs | src/Windows/Markdown/Editor/Test/Preview/BrowserViewTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Common.Core.IO;
using Microsoft.Common.Core.Test.Fakes.Shell;
using Microsoft.Markdown... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
using FluentAssertions;
using Microsoft.Common.Core.IO;
using Microsoft.Common.Core.Test.Fakes.Shell;
using Microsoft.Markdown... | mit | C# |
7cc750fa234a902462a0b66a5faf72d4a0fee0ad | Fix build for no span support | MetacoSA/NBitcoin,MetacoSA/NBitcoin | NBitcoin.Tests/AssertEx.cs | NBitcoin.Tests/AssertEx.cs | using NBitcoin.Crypto;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
class AssertEx
{
[DebuggerHidden]
internal static void Error(string msg)
{
Assert.Fals... | using NBitcoin.Crypto;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NBitcoin.Tests
{
class AssertEx
{
[DebuggerHidden]
internal static void Error(string msg)
{
Assert.Fals... | mit | C# |
fa348a338ec1f722ce44c3bfe3b5461b0cf5e4fb | Increase connect timeout for Functional Tests (#39559) | BrennanConroy/corefx,BrennanConroy/corefx,BrennanConroy/corefx | src/System.Data.SqlClient/tests/FunctionalTests/TestTdsServer.cs | src/System.Data.SqlClient/tests/FunctionalTests/TestTdsServer.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.SqlServer.TDS.EndPoint;
using Microsoft.SqlServer.TDS.Servers;
using System.Net;
using System.Runt... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.SqlServer.TDS.EndPoint;
using Microsoft.SqlServer.TDS.Servers;
using System.Net;
using System.Runt... | mit | C# |
00a5df7ac58493edd61277d43c5fc3d9e65f9d85 | Update TextString.cshtml (#9535) | JimBobSquarePants/Umbraco-CMS,abryukhov/Umbraco-CMS,leekelleher/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,mattbrailsford/Umbraco-CMS,bjarnef/Umbraco-CMS,madsoulswe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,bjarnef/Umb... | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/TextString.cshtml | src/Umbraco.Web.UI/Views/Partials/Grid/Editors/TextString.cshtml | @model dynamic
@using Umbraco.Web.Composing
@using Umbraco.Web.Templates
@if (Model.editor.config.markup != null)
{
string markup = Model.editor.config.markup.ToString();
markup = markup.Replace("#value#", Html.ReplaceLineBreaks((string)Model.value.ToString()).ToString());
if (Model.editor.config.style !... | @model dynamic
@using Umbraco.Web.Composing
@using Umbraco.Web.Templates
@if (Model.editor.config.markup != null)
{
string markup = Model.editor.config.markup.ToString();
markup = markup.Replace("#value#", Html.ReplaceLineBreaksForHtml(HttpUtility.HtmlEncode((string)Model.value.ToString())).ToString());
... | mit | C# |
715776771a6904c64303bee298afe98adf03d3f5 | Fix deserialization of RegEx enabled properties | kjac/Archetype,imulus/Archetype,Nicholas-Westby/Archetype,kgiszewski/Archetype,tomfulton/Archetype,kgiszewski/Archetype,kipusoep/Archetype,imulus/Archetype,kipusoep/Archetype,tomfulton/Archetype,tomfulton/Archetype,kipusoep/Archetype,kjac/Archetype,Nicholas-Westby/Archetype,kjac/Archetype,imulus/Archetype,Nicholas-West... | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | app/Umbraco/Umbraco.Archetype/Models/ArchetypePreValueProperty.cs | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | using System;
using Newtonsoft.Json;
namespace Archetype.Models
{
public class ArchetypePreValueProperty
{
[JsonProperty("alias")]
public string Alias { get; set; }
[JsonProperty("remove")]
public bool Remove { get; set; }
[JsonProperty("collapse")]
public boo... | mit | C# |
436b9b25f4ff9a41c16d7d177fe5d9a4d3d2a78a | Fix msbuild failure generating targets file | mhutch/MonoDevelop.AddinMaker,mhutch/MonoDevelop.AddinMaker | MonoDevelop.Addins.Tasks/GenerateDependencyAttributes.cs | MonoDevelop.Addins.Tasks/GenerateDependencyAttributes.cs | using System.CodeDom;
using System.CodeDom.Compiler;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace MonoDevelop.Addins.Tasks
{
public class GenerateDependencyAttributes : Task
{
[Required]
public string Language { get; set; }
[Required]
public string Filename {... | using System.CodeDom;
using System.CodeDom.Compiler;
using System.IO;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace MonoDevelop.Addins.Tasks
{
public class GenerateDependencyAttributes : Task
{
[Required]
public string Language { get; set; }
[Required]
public string Filename {... | mit | C# |
3e05c00e1fbf689e94096c9aed4406db27bb5c0b | fix typo | jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets | NunitUpgrade/NunitUpgrade/MyBizLogic/CalculatorMethod.cs | NunitUpgrade/NunitUpgrade/MyBizLogic/CalculatorMethod.cs | namespace MyBizLogic
{
public enum CalculatorMethod
{
Basic = 0,
Extended = 1
}
} | namespace MyBizLogic
{
public enum CalculatorMethod
{
Baic = 0,
Extended = 1
}
} | apache-2.0 | C# |
8acdf2ec5c00a4851982b8e408782248adfa49e6 | Bump version | Naxiz/TeleBotDotNet,LouisMT/TeleBotDotNet | Properties/AssemblyInfo.cs | 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("TeleBotDotNet")]
[assembly: AssemblyDescr... | 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("TeleBotDotNet")]
[assembly: AssemblyDescr... | mit | C# |
745e33bdb3f7c44ec91f58e3b08ed1496da0d95d | Set version to 0.13. | xanotech/.net-XRepository | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("XRepository: ORM Through Repository Pattern")]
[assembly: AssemblyCompany("Xanotech LLC")]
[assembly: AssemblyCopyright("© 2017 Xanotech LLC")]
[assembly: AssemblyProduct("XRepository")]
[assembly: AssemblyFileVersion("0.13")]
[assembly: AssemblyVersion("0.13")] | using System.Reflection;
[assembly: AssemblyTitle("XRepository: ORM Through Repository Pattern")]
[assembly: AssemblyCompany("Xanotech LLC")]
[assembly: AssemblyCopyright("© 2016 Xanotech LLC")]
[assembly: AssemblyProduct("XRepository")]
[assembly: AssemblyFileVersion("0.12")]
[assembly: AssemblyVersion("0.12")] | mit | C# |
e3753ae29fb88c1aec22896abf4bdcd54df6ded6 | Make the easy mod's extra life count customizable | peppy/osu-new,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,smoogipoo/osu | osu.Game/Rulesets/Mods/ModEasy.cs | osu.Game/Rulesets/Mods/ModEasy.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.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game.Graphics;
using o... | // 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.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
usin... | mit | C# |
6142f3b5dea190feb09d800baab9f0e1384d507d | Rename UShort to UShortField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/UShorts.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/UShorts.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public ushort UShortField(ushort value)
{
return UShortField(string.Empty, value);
}
public ushort UShortField(string label, ushort value)
{
return UShortField(label, value, null);
}
public ushort UShortFiel... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public ushort UShort(ushort value)
{
return UShort(string.Empty, value);
}
public ushort UShort(string label, ushort value)
{
return UShort(label, value, null);
}
public ushort UShort(string label, string to... | mit | C# |
55fded58023f090ca5c9516e950130fffab9a157 | support skinned mesh renderers in toggle model | virror/VRTK,nmccarty/htvr,thacio/SteamVR_Unity_Toolkit,mbbmbbmm/SteamVR_Unity_Toolkit,mattboy64/SteamVR_Unity_Toolkit,gpvigano/VRTK,jcrombez/SteamVR_Unity_Toolkit,Innoactive/IA-unity-VR-toolkit-VRTK,Fulby/VRTK,mimminito/SteamVR_Unity_Toolkit,adamjweaver/VRTK,bengolds/SteamVR_Unity_Toolkit,pargee/SteamVR_Unity_Toolkit,F... | Assets/SteamVR_Unity_Toolkit/Scripts/SteamVR_ControllerActions.cs | Assets/SteamVR_Unity_Toolkit/Scripts/SteamVR_ControllerActions.cs | using UnityEngine;
using System.Collections;
public class SteamVR_ControllerActions : MonoBehaviour {
private bool controllerVisible = true;
private ushort hapticPulseStrength;
private int hapticPulseCountdown;
private uint controllerIndex;
private SteamVR_TrackedObject trackedController;
pri... | using UnityEngine;
using System.Collections;
public class SteamVR_ControllerActions : MonoBehaviour {
private bool controllerVisible = true;
private ushort hapticPulseStrength;
private int hapticPulseCountdown;
private uint controllerIndex;
private SteamVR_TrackedObject trackedController;
pri... | mit | C# |
872e4ae6610cf38d0182085f0fac797f88cec073 | Update CopyChart.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cell... | Examples/CSharp/Articles/CopyShapesBetweenWorksheets/CopyChart.cs | Examples/CSharp/Articles/CopyShapesBetweenWorksheets/CopyChart.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyShapesBetweenWorksheets
{
public class CopyChart
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyShapesBetweenWorksheets
{
public class CopyChart
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflec... | mit | C# |
4723edb47e80d029ccd4625a2effce23819fe433 | add more default types to block | gigya/microdot | Gigya.Microdot.SharedLogic/Configurations/SerializationSecurity.cs | Gigya.Microdot.SharedLogic/Configurations/SerializationSecurity.cs | using Gigya.Microdot.Interfaces.Configuration;
namespace Gigya.Microdot.SharedLogic.Configurations
{
[ConfigurationRoot("Microdot.SerializationSecurity", RootStrategy.ReplaceClassNameWithPath)]
public class MicrodotSerializationSecurityConfig : IConfigObject
{
public string DeserializationForbidde... | using Gigya.Microdot.Interfaces.Configuration;
namespace Gigya.Microdot.SharedLogic.Configurations
{
[ConfigurationRoot("Microdot.SerializationSecurity", RootStrategy.ReplaceClassNameWithPath)]
public class MicrodotSerializationSecurityConfig : IConfigObject
{
public string DeserializationForbidde... | apache-2.0 | C# |
d1c84b8b6ec6b01c7d2175aeaea270a121db1224 | Fix en dashboard. Uso de la clase de configuracion. | jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro | Topppro.WebSite/Areas/Humanist/Controllers/DashboardController.cs | Topppro.WebSite/Areas/Humanist/Controllers/DashboardController.cs | using System.IO;
using System.Linq;
using System.Web.Helpers;
using System.Web.Mvc;
using Topppro.WebSite.Areas.Humanist.Models;
using Topppro.WebSite.Settings;
namespace Topppro.WebSite.Areas.Humanist.Controllers
{
[Authorize]
public class DashboardController : Controller
{
public Act... | using System.Configuration;
using System.IO;
using System.Linq;
using System.Web.Helpers;
using System.Web.Mvc;
using Topppro.WebSite.Areas.Humanist.Models;
namespace Topppro.WebSite.Areas.Humanist.Controllers
{
[Authorize]
public class DashboardController : Controller
{
private readon... | mit | C# |
0d6f6db8ae23c1aae144633244775861b22d8bf5 | Improve TracRevisionLog textual !ChangeLog format (1/3): Refactoring log_changelog.cs to use the ClearSilver ''with'' command. | pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac | templates/log_changelog.cs | templates/log_changelog.cs | #
# ChangeLog for <?cs var:log.path ?>
#
# Generated by Trac <?cs var:trac.version ?>
# <?cs var:trac.time ?>
#
<?cs each:item = $log.items ?>
<?cs with:changeset = log.changes[item.rev] ?>
<?cs var:changeset.date ?> <?cs
var:changeset.author ?> [<?cs var:item.rev ?>]
<?cs each:file = $changeset.files ?>
* <?cs... | #
# ChangeLog for <?cs var:log.path ?>
#
# Generated by Trac <?cs var:trac.version ?>
# <?cs var:trac.time ?>
#
<?cs each:item = $log.items ?>
<?cs var:log.changes[item.rev].date ?> <?cs
var:log.changes[item.rev].author ?> [<?cs var:item.rev ?>]
<?cs each:file = $log.changes[item.rev].files ?>
* <?cs ... | bsd-3-clause | C# |
b1903a160331f156e9c08fa7035e50c8739cd7eb | Update MenuPage.xaml.cs | xamarinhq/app-evolve,xamarinhq/app-evolve | src/XamarinEvolve.Clients.UI/Pages/Android/MenuPage.xaml.cs | src/XamarinEvolve.Clients.UI/Pages/Android/MenuPage.xaml.cs | using Xamarin.Forms;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
namespace XamarinEvolve.Clients.UI
{
public partial class MenuPage : ContentPage
{
RootPageAndroid root;
public MenuPage(RootPageAndroid root)
{
... | using Xamarin.Forms;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using System;
namespace XamarinEvolve.Clients.UI
{
public partial class MenuPage : ContentPage
{
RootPageAndroid root;
public MenuPage(RootPageAndroid root)
{
... | mit | C# |
86a2c5c6ed647d516d3d0c29d82a98265142dce8 | Add Description and Info to Options | Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-... | VotingApplication/VotingApplication.Data/Model/Option.cs | VotingApplication/VotingApplication.Data/Model/Option.cs | using System;
using System.ComponentModel.DataAnnotations;
namespace VotingApplication.Data.Model
{
public class Option
{
public long Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public string Info { get; set; }
}
}
| using System;
using System.ComponentModel.DataAnnotations;
namespace VotingApplication.Data.Model
{
public class Option
{
public long Id { get; set; }
public string Name { get; set; }
}
}
| apache-2.0 | C# |
590ffca3a5fe7efa303ee11e225fc12d643cf507 | Update TestAssemblies.cs | Fody/Anotar | Common/TestAssemblies.cs | Common/TestAssemblies.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
public class TestAssemblies
{
static object weaverLock = new object();
static IDictionary<string, Tuple<Assembly, string, string>> assemblies = new Dictionary<string, Tuple<Assembly, string, string>>();
string assemb... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
public class TestAssemblies
{
static object weaverLock = new object();
static IDictionary<string, Tuple<Assembly, string, string>> assemblies = new Dictionary<string, Tuple<Assembly, string, string>>();
string assemb... | mit | C# |
bd44c85ce4de704f1630a8a4e54f3cdc9a9b3a8a | Make GitExecutor#Execute virtual | appharbor/appharbor-cli | src/AppHarbor/GitExecutor.cs | src/AppHarbor/GitExecutor.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace AppHarbor
{
public class GitExecutor
{
private readonly FileInfo _gitExecutable;
public GitExecutor()
{
var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
var gitExecutablePat... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace AppHarbor
{
public class GitExecutor
{
private readonly FileInfo _gitExecutable;
public GitExecutor()
{
var programFilesPath = Environment.GetFolderPath(Environment.SpecialFolder.ProgramFilesX86);
var gitExecutablePat... | mit | C# |
7dcf2c46a61ae461a86c33427fae9c45659cbca5 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
5cb9088b5d9224cf668650e9f42101f64c0cfe2c | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
5ae1c92b39436eb5944333c98b9555f4aec190a7 | Fix login view model inpc | nigel-sampson/talks,nigel-sampson/talks | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | ndc-sydney/NDC.Build.Core/ViewModels/LoginViewModel.cs | using System;
using Caliburn.Micro;
using NDC.Build.Core.Services;
using PropertyChanged;
using static System.String;
namespace NDC.Build.Core.ViewModels
{
public class LoginViewModel : Screen
{
private readonly ICredentialsService credentials;
private readonly IAuthenticationService authentic... | using System;
using Caliburn.Micro;
using NDC.Build.Core.Services;
using static System.String;
namespace NDC.Build.Core.ViewModels
{
public class LoginViewModel : Screen
{
private readonly ICredentialsService credentials;
private readonly IAuthenticationService authentication;
private ... | mit | C# |
18789d068e300798616ef7f0ff132b9a3fb5de17 | Make Kaguya stop moving once the minigame has ended | NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Microgames/MoonSoccer/Scripts/MoonSoccerKaguyaMovement.cs | Assets/Microgames/MoonSoccer/Scripts/MoonSoccerKaguyaMovement.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoonSoccerKaguyaMovement : MonoBehaviour {
// The speed of her vertical movement
[Header("Movement Speed")]
[SerializeField]
private float moveSpeed = 1f;
// Minimum height the object can reach before... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoonSoccerKaguyaMovement : MonoBehaviour {
// The speed of her vertical movement
[Header("Movement Speed")]
[SerializeField]
private float moveSpeed = 1f;
// Minimum height the object can reach before... | mit | C# |
fa6bb66e3eeb56591498b7525dfe9fc271c8cf4a | Fix bug in the repeater step validation | riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy,riganti/dotvvm-samples-academy | src/DotvvmAcademy.Web/Course/030_repeater/20_repeater.dothtml.csx | src/DotvvmAcademy.Web/Course/030_repeater/20_repeater.dothtml.csx | #load "00_constants.csx"
using DotvvmAcademy.Validation.Dothtml.Unit;
using DotvvmAcademy.Validation.Unit;
public DothtmlUnit Unit { get; set; } = new DothtmlUnit();
Unit.GetDirective("/@viewModel")
.RequireTypeArgument(ViewModelName);
var repeater = Unit.GetControl("/html/body/dot:Repeater");
{
repeater.Ge... | #load "00_constants.csx"
using DotvvmAcademy.Validation.Dothtml.Unit;
using DotvvmAcademy.Validation.Unit;
public DothtmlUnit Unit { get; set; } = new DothtmlUnit();
Unit.GetDirective("/@viewModel")
.RequireTypeArgument(ViewModelName);
var repeater = Unit.GetControl("/html/body/dot:Repeater");
{
repeater.Ge... | apache-2.0 | C# |
75a590a75e870ab26bd12d4f2deaa1b2b2b6fe83 | Fix mistake in imgur tests | bcanseco/common-bot-library,bcanseco/common-bot-library | tests/CommonBotLibrary.Tests/Services/ImgurServiceTests.cs | tests/CommonBotLibrary.Tests/Services/ImgurServiceTests.cs | using System.Linq;
using System.Threading.Tasks;
using CommonBotLibrary.Exceptions;
using CommonBotLibrary.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CommonBotLibrary.Tests.Services
{
[TestClass]
public class ImgurServiceTests
{
[TestMethod]
[ExpectedException(... | using System.Linq;
using System.Threading.Tasks;
using CommonBotLibrary.Exceptions;
using CommonBotLibrary.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CommonBotLibrary.Tests.Services
{
[TestClass]
public class ImgurServiceTests
{
[TestMethod]
[ExpectedException(... | mit | C# |
2398392bfc6c59f5163e8edb6ecf7488d3d567f7 | Fix GetHashCode | jcdickinson/Chasm,jannesrsa/Chasm,k2workflow/Chasm | src/SourceCode.Chasm/Blob.cs | src/SourceCode.Chasm/Blob.cs | using SourceCode.Clay.Buffers;
using System;
namespace SourceCode.Chasm
{
public struct Blob : IEquatable<Blob>
{
#region Constants
public static Blob Empty { get; }
#endregion
#region Properties
public byte[] Data { get; }
#endregion
#region De/Co... | using SourceCode.Clay.Buffers;
using System;
namespace SourceCode.Chasm
{
public struct Blob : IEquatable<Blob>
{
#region Constants
public static Blob Empty { get; }
#endregion
#region Properties
public byte[] Data { get; }
#endregion
#region De/Co... | mit | C# |
5d8edb08e3e4957249682cb670ad0a288fecc693 | Update TranslateExceptionAttribute.cs | mvpete/aspekt | Aspekt/TranslateExceptionAttribute.cs | Aspekt/TranslateExceptionAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspekt
{
// Any method that is decorated with this attribute is to be wrapped in a try/catch
// where the catch block will catch, exceptionFrom type and wrap it with the exceptionTo
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Aspekt
{
// Any method that is decorated with this attribute is to be wrapped in a try/catch
// where the catch block will catch, exceptionFrom type and wrap it with the exceptionTo
... | mit | C# |
b8616e27a05f22ca16f767309a8b954e276222f4 | Update attribute summary and example | madsbangh/EasyButtons | Assets/EasyButtons/ButtonAttribute.cs | Assets/EasyButtons/ButtonAttribute.cs | using System;
namespace EasyButtons
{
/// <summary>
/// Attribute to create a button in the inspector for calling the method it is attached to.
/// The method must be public and have no arguments.
/// </summary>
/// <example>
/// [<see cref="ButtonAttribute"/>]
/// public void MyMethod()
... | using System;
namespace EasyButtons
{
/// <summary>
/// Attribute to create a button in the inspector for calling the method it is attached to.
/// The method must have no arguments.
/// </summary>
/// <example>
/// [<see cref="ButtonAttribute"/>]
/// void MyMethod()
/// {
/// ... | mit | C# |
83078b2c8cfa481529b681e50fb29ece30f29187 | Correct way to load first scene; | KonH/UDBase | Controllers/Scene/AsyncSceneLoader.cs | Controllers/Scene/AsyncSceneLoader.cs | using UnityEngine.SceneManagement;
using UDBase.Controllers.LogSystem;
using UDBase.Controllers.EventSystem;
using UDBase.Utils;
namespace UDBase.Controllers.SceneSystem {
public sealed class AsyncSceneLoader : IScene {
public ISceneInfo CurrentScene { get; private set; }
readonly ISceneInfo _loadingScene;
re... | using UnityEngine.SceneManagement;
using UDBase.Controllers.LogSystem;
using UDBase.Controllers.EventSystem;
using UDBase.Utils;
namespace UDBase.Controllers.SceneSystem {
public sealed class AsyncSceneLoader : IScene {
public ISceneInfo CurrentScene { get; private set; }
readonly ISceneInfo _loadingScene;
re... | mit | C# |
53d2a5634e0321ff2571d548580d75ab494de483 | Update ExceptionHelper.cs | media-tools/core,media-tools/core | Core/Core.Platform/ExceptionHelper.cs | Core/Core.Platform/ExceptionHelper.cs | using System;
namespace Core.Common
{
public static class ExceptionHelper
{
public static void Catch<T> (Action tryAction, Action<Exception> catchAction) where T : Exception
{
try {
tryAction ();
} catch (T ex) {
if (catchAction != null) {
catchAction (ex);
}
} catch (System.Reflection... | using System;
namespace Core.Common
{
public static class ExceptionHelper
{
public static void Catch<T> (Action tryAction, Action<Exception> catchAction) where T : Exception
{
try {
tryAction ();
} catch (T _ex) {
Exception ex;
if (_ex is System.Reflection.TargetInvocationException && _ex.Inne... | mit | C# |
c23ca6ead97f40e091019fe69c670466f3b76467 | Reset Read/Write 837 samples. | EdiFabric/Sdk | Hipaa/Program.cs | Hipaa/Program.cs | namespace EdiFabric.Sdk.Hipaa
{
class Program
{
static void Main(string[] args)
{
ReadSamples.Run();
WriteSamples.Run();
//Read834Samples.Run();
Write834Samples.Run();
}
}
}
| namespace EdiFabric.Sdk.Hipaa
{
class Program
{
static void Main(string[] args)
{
//ReadSamples.Run();
//WriteSamples.Run();
//Read834Samples.Run();
Write834Samples.Run();
}
}
}
| agpl-3.0 | C# |
acb442c0b1c806242f7cb67bbf0d7aa362594150 | Add very simple garbage collection of chunks. | LambdaSix/InfiniMap,LambdaSix/InfiniMap | InfiniMap/Map.cs | InfiniMap/Map.cs | using System;
using System.Collections.Generic;
namespace InfiniMap
{
public class Map
{
public IDictionary<Tuple<int, int>, Chunk> Chunks;
private int _chunkWidth;
private int _chunkHeight;
public Map(int chunkHeight, int chunkWidth)
{
_chunkHeight = chunk... | using System;
using System.Collections.Generic;
namespace InfiniMap
{
public class Map
{
public IDictionary<Tuple<int, int>, Chunk> Chunks;
private int _chunkWidth;
private int _chunkHeight;
public Map(int chunkHeight, int chunkWidth)
{
_chunkHeight = chunk... | mit | C# |
5f1136f38f610aa2e6516e6d35f1162dc6fd9496 | Move database reference of center database to Jovice project | afisd/jovice,afisd/jovice | Jovice/Jovice.cs | Jovice/Jovice.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Aphysoft.Share;
namespace Center
{
public class Jovice
{
#region Database
private static Database jovice = null;
public static Database Database
{
get
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using Aphysoft.Share;
namespace Center
{
public class Jovice
{
#region Database
private static Database jovice = null;
public static Database Database
{
get
... | mit | C# |
563d5c6d934d080e4d0787a3f585e28f1ec72e7f | Fix little logic error. | mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jmptrad... | src/Manos/Manos/Timeout.cs | src/Manos/Manos/Timeout.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# |
1e8357b8472d34147c4827b4c135a5413f2d5376 | Fix rest/taskrouter/reservations/redirect csharp 5.x | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip... | rest/taskrouter/reservations/redirect/example-1.5.x.cs | rest/taskrouter/reservations/redirect/example-1.5.x.cs | // Download the twilio-csharp library from
// https://www.twilio.com/docs/libraries/csharp#installation
using Newtonsoft.Json.Linq;
using System;
using Twilio;
using Twilio.Rest.Taskrouter.V1.Workspace.Task;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at tw... | // Download the twilio-csharp library from
// https://www.twilio.com/docs/libraries/csharp#installation
using System;
using Twilio;
using Twilio.Rest.Taskrouter.V1.Workspace.Task;
class Example
{
static void Main(string[] args)
{
// Find your Account Sid and Auth Token at twilio.com/console
con... | mit | C# |
7497c74f8bc880f07f0cd3a50fd72179ae497eb9 | Add more Documents related events. | LightPaper/Infrastructure | Events/Events.LightPaper.Documents.cs | Events/Events.LightPaper.Documents.cs | #region Using
using System.ComponentModel;
using LightPaper.Infrastructure.Contracts;
using Microsoft.Practices.Prism.PubSubEvents;
#endregion
namespace LightPaper.Infrastructure.Events
{
public class SelectedDocumentChangedEvent : PubSubEvent<SelectedDocumentChangedEvent.Payload>
{
#reg... | #region Using
using LightPaper.Infrastructure.Contracts;
using Microsoft.Practices.Prism.PubSubEvents;
#endregion
namespace LightPaper.Infrastructure.Events
{
public class SelectedDocumentChangedEvent : PubSubEvent<SelectedDocumentChangedEvent.Payload>
{
#region Nested type: Payload
... | mit | C# |
249d6b5c5885b32e9371041d179269dd2d44ff2c | remove logging function | smith-neil/DotNetCore | src/DotNetCore.Core/Utilities/ILogger.cs | src/DotNetCore.Core/Utilities/ILogger.cs | using System;
namespace DotNetCore.Core.Utilities
{
public interface ILogger
{
void Log(string message);
void Log(Exception exception);
}
}
| using System;
namespace DotNetCore.Core.Utilities
{
public interface ILogger
{
void Log(string message);
void Log(Exception exception);
void Log(Exception exception, string message);
}
}
| mit | C# |
022f4f5aa00c012d204c58248cc109fc74590313 | Update ArrowMarker.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/Markers/ArrowMarker.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/Markers/ArrowMarker.cs | #nullable enable
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes.Markers;
internal class ArrowMarker : MarkerBase
{
public SKPoint P11;
public SKPoint P21;
public SKPoint P12;
public SKPoint P22;
public override void Draw(object? dc)
{
if (dc is not SKCanvas canvas... | #nullable enable
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes.Markers;
internal class ArrowMarker : MarkerBase
{
public SKPoint P11;
public SKPoint P21;
public SKPoint P12;
public SKPoint P22;
public override void Draw(object? dc)
{
if (dc is not SKCanvas canvas... | mit | C# |
e9f254eb30933cfb5d61c884b5dd8c354abaff3d | Remove unused `using` | rexm/Handlebars.Net,rexm/Handlebars.Net | source/Handlebars.Extension.CompileFast/CompileFastExtensions.cs | source/Handlebars.Extension.CompileFast/CompileFastExtensions.cs | namespace HandlebarsDotNet.Extension.CompileFast
{
/// <summary>
///
/// </summary>
public static class CompileFastExtensions
{
/// <summary>
/// Changes <see cref="IExpressionCompiler"/> to the one using <c>FastExpressionCompiler</c>
/// </summary>
/// <param name=... | using System.Diagnostics;
namespace HandlebarsDotNet.Extension.CompileFast
{
/// <summary>
///
/// </summary>
public static class CompileFastExtensions
{
/// <summary>
/// Changes <see cref="IExpressionCompiler"/> to the one using <c>FastExpressionCompiler</c>
/// </summar... | mit | C# |
c8c45af07a7da6029f13213c4f47fa17cb6b3fbb | Update DockerContainerIdComponentTests.cs | MatthewKing/DeviceId | test/DeviceId.Tests/Components/DockerContainerIdComponentTests.cs | test/DeviceId.Tests/Components/DockerContainerIdComponentTests.cs | using DeviceId.Linux.Components;
using FluentAssertions;
using Xunit;
namespace DeviceId.Tests.Components;
public class DockerContainerIdComponentTests
{
[InlineData("non-existing", null)]
[InlineData("", null)]
[InlineData(null, null)]
[InlineData("Linux_4.4.txt", "cde7c2bab394630a42d73dc610b9c5741... | using DeviceId.Linux.Components;
using FluentAssertions;
using Xunit;
namespace DeviceId.Tests.Components;
public class DockerContainerIdComponentTests
{
[InlineData("non-existing", null)]
[InlineData("", null)]
[InlineData(null, null)]
[InlineData("Linux_4.4.txt", "cde7c2bab394630a42d73dc610b9c5741... | mit | C# |
4b08f0ba6d252d0d69e16f134c50bc483cefdf4d | Fix ordering of enum | CumpsD/knx.net,CumpsD/knx.net,CumpsD/knx.net,CumpsD/knx.net | src/KNXLib/Enums/KnxGroupAddressStyle.cs | src/KNXLib/Enums/KnxGroupAddressStyle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KNXLib.Enums
{
public enum KnxGroupAddressStyle
{
/// <summary>
/// Group addresses in the style of 'MainGroup/MiddleGroup/SubGroup'
/// Main => [0-31]
/// Middle => ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace KNXLib.Enums
{
public enum KnxGroupAddressStyle
{
/// <summary>
/// Group addresses in the style of 'MainGroup/SubGroup'
/// Main => [0-31]
/// Sub => [0-2047]
... | mit | C# |
71001b6601a1bf620b806b5aed7fd1b61c9d0f76 | Refactor sim.exe API | dsolovay/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,Brad-Christie/Sitecore-Instance-Manager | src/SIM.Core/Common/CommandResultBase.cs | src/SIM.Core/Common/CommandResultBase.cs | namespace SIM.Core.Common
{
using System;
using Sitecore.Diagnostics.Base.Annotations;
public class CommandResult<TResult> : CommandResult
{
/// <summary>
/// Optional command output data.
/// </summary>
[CanBeNull]
public TResult Data { get; set; }
}
public abstract class CommandResu... | namespace SIM.Core.Common
{
using System;
using System.Collections.Generic;
using Sitecore.Diagnostics.Base.Annotations;
public class CommandResult<TResult> : CommandResult
{
public TResult Data { get; set; }
}
public abstract class CommandResult
{
public bool Success { get; set; }
[CanB... | mit | C# |
bba3db783855b0c9234e7cecbb6643a431040b37 | Remove junk code | gyrosworkshop/Wukong,gyrosworkshop/Wukong | src/Wukong/Controllers/SongController.cs | src/Wukong/Controllers/SongController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
using Wukong.Models;
using Wukong.Options;
using Wukong.Services;
namespace Wukong.Controllers
{
[Route("api/song")]
public class SongController : Controller
{
private readonly IProvider Provider;
... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
using Wukong.Models;
using Wukong.Options;
using Wukong.Services;
namespace Wukong.Controllers
{
[Route("api/song")]
public class SongController : Controller
{
private readonly IProvider Provider;
... | mit | C# |
ad246009c087805a1787c97da85ec3fdca136ac6 | Split out into multiple test methods | EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework.Tests/Bindables/BindableWithCurrentTest.cs | osu.Framework.Tests/Bindables/BindableWithCurrentTest.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.Bindables;
namespace osu.Framework.Tests.Bindables
{
[TestFixture]
public class BindableWithCurrentTest
{
... | // 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.Bindables;
namespace osu.Framework.Tests.Bindables
{
[TestFixture]
public class BindableWithCurrentTest
{
... | mit | C# |
fc519a6e137617d95425cfacb32be8cef23c26a9 | Remove unnecessary local lost (already using a locking list) | EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework/Graphics/OpenGL/Textures/TextureGLAtlas.cs | osu.Framework/Graphics/OpenGL/Textures/TextureGLAtlas.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Lists;
using osuTK.Graphics.ES30;
namespace osu.Framework.Graphics.OpenGL.Textures
{
/// <summary>
/// A Te... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Lists;
using osuTK.Graphics.ES30;
namespace osu.Framework.Graphics.OpenGL.Textures
{
/// <summary>
/// A Te... | mit | C# |
28e5b12bf143b3c0f1d8f5e6099a59b0329d9847 | Verify container LoadFrom under real testing | phatboyg/MassTransit,jacobpovar/MassTransit,SanSYS/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,MassTransit/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit | src/Containers/MassTransit.Containers.Tests/AutofacRegistrationExtension_Specs.cs | src/Containers/MassTransit.Containers.Tests/AutofacRegistrationExtension_Specs.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0... | apache-2.0 | C# |
d38939c0a081a1188a55ca66101c63d488dffccf | Remove unused using | picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,magicmonty/pickles,dirkrombauts/pickles,dirkrombauts/pickles,magicmonty/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles | src/Pickles/Pickles.TestFrameworks/CucumberJson/CucumberJsonSingleResultLoader.cs | src/Pickles/Pickles.TestFrameworks/CucumberJson/CucumberJsonSingleResultLoader.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CucumberJsonSingleResultLoader.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licen... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CucumberJsonSingleResultLoader.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licen... | apache-2.0 | C# |
3ce1a9f0bbea63fda534f42281a048c7a8b94c7b | clean up | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Web/Startup.cs | src/Tugberk.Web/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace Tugberk.Web
{
public class Startup
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
namespace Tugberk.Web
{
public class Startup
{
... | agpl-3.0 | C# |
39c570014826fb6a4fde3b64c31a91fbe31b440a | Add docs to RouteValuesAddress (#695) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Routing/RouteValuesAddress.cs | src/Microsoft.AspNetCore.Routing/RouteValuesAddress.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.Routing
{
/// <summary>
/// An address of route name and values.
/// </summary>
public class RouteValues... | // 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.Routing
{
public class RouteValuesAddress
{
public string RouteName { get; set; }
public RouteV... | apache-2.0 | C# |
7fd8be120a953f90ad01c88f759275fc79239a70 | Add optional messages to AssertX methods. | eylvisaker/AgateLib | AgateLib/Quality/AssertX.cs | AgateLib/Quality/AssertX.cs | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distribut... | // The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Software distributed under the License is distribut... | mit | C# |
f9871842b2c97856763ad3175fa99a5225407f68 | Check Push test | HCB2-NPT/QuanLyNhaSach | QuanLyNhaSach/Adapters/BookAdapter.cs | QuanLyNhaSach/Adapters/BookAdapter.cs | using QuanLyNhaSach.Managers;
using QuanLyNhaSach.Objects;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuanLyNhaSach.Adapters
{
class BookAdapter
{
public static ObservableCollection... | using QuanLyNhaSach.Managers;
using QuanLyNhaSach.Objects;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuanLyNhaSach.Adapters
{
class BookAdapter
{
public static ObservableCollection... | mit | C# |
fe8a44691650fc8f03bf032cac8c334dc4602e30 | Remove unnecessary comment | ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework | osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs | osu.Framework.iOS/Graphics/Textures/IOSTextureLoaderStore.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Runtime.InteropServices;
using CoreGraphics;
using Foundation;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.S... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.IO;
using System.Runtime.InteropServices;
using CoreGraphics;
using Foundation;
using osu.Framework.Graphics.Textures;
using osu.Framework.IO.S... | mit | C# |
f6d387353720ceecfc82032dacec6e1b13992047 | remove rsvp from common includes and replace jquery ui with slim embedded version | WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergfilho... | Serenity.Web/Common/CommonIncludes.cs | Serenity.Web/Common/CommonIncludes.cs |
namespace Serenity.Web
{
public static class CommonIncludes
{
public static readonly string[] Scripts = new string[]
{
"~/Scripts/jquery-{version}.js",
"~/Scripts/jquery-ui.js",
"~/Scripts/jquery-ui-i18n.js",
"~/Scripts/jquery.validate... |
namespace Serenity.Web
{
public static class CommonIncludes
{
public static readonly string[] Scripts = new string[]
{
"~/Scripts/rsvp.js",
"~/Scripts/jquery-{version}.js",
"~/Scripts/jquery-ui-{version}.js",
"~/Scripts/jquery-ui-i18n.... | mit | C# |
d86ea58b4ec38148403d62acf2144765c216dc30 | fix broken snippet | WojcikMike/docs.particular.net | Snippets/Snippets_4/Pipeline/NewStep/NewPipelineStep.cs | Snippets/Snippets_4/Pipeline/NewStep/NewPipelineStep.cs | namespace Snippets4.Pipeline.NewStep
{
using NServiceBus.Pipeline;
using NServiceBus.Pipeline.Contexts;
using NServiceBus.Unicast.Behaviors;
#region NewPipelineStep 4.5
class NewStepInPipeline : PipelineOverride
{
public override void Override(BehaviorList<HandlerInvocationContext> be... | namespace Snippets4.Pipeline.NewStep
{
using NServiceBus.Pipeline;
using NServiceBus.Pipeline.Contexts;
using NServiceBus.Unicast.Behaviors;
#region NewStepInPipeline 4.5
class NewStepInPipeline : PipelineOverride
{
public override void Override(BehaviorList<HandlerInvocationContext> ... | apache-2.0 | C# |
9392c45559211f3cc89ed543f54832f5b1f85866 | Change name of test | jamesfoster/DeepEqual | src/DeepEqual.Test/Bug/ComparingTypesWithPublicFields.cs | src/DeepEqual.Test/Bug/ComparingTypesWithPublicFields.cs | namespace DeepEqual.Test.Bug
{
using DeepEqual.Syntax;
using Shouldly;
using Xunit;
public class ComparingTypesWithPublicFields
{
[Fact]
public static void Should_consider_public_fields_when_comparing_complex_objects()
{
var expected = new Data
{
Id = 1,
Name = "Joe"
};
var actua... | namespace DeepEqual.Test.Bug
{
using DeepEqual.Syntax;
using Shouldly;
using Xunit;
public class ComparingTypesWithPublicFields
{
[Fact]
public static void TestIgnoreByType()
{
var expected = new Data
{
Id = 1,
Name = "Joe"
};
var actual = new Data
{
Id = 2,
Name = ... | mit | C# |
bd60bf5aa9b52c823750f5380e6f0289a74273ab | Update Stock.cs | IanMcT/StockMarketGame | SMG/SMG/Stock.cs | SMG/SMG/Stock.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG
{
class Stock
{
static Random r = new Random();
/// <summary>
/// Name of the Stock
/// </summary>
public string StockName;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMG
{
class Stock
{
/// <summary>
/// Name of the Stock
/// </summary>
public string StockName;
/// <summary>
/// Descript... | apache-2.0 | C# |
2c57c724dc5b3b8b93ec90e23cca8d5f2367c7f1 | Change sql procedure modified: BookShopDAL/OrderMainDAL.cs | lizhen325/Online-Shopping,lizhen325/Online-Shopping,lizhen325/Online-Shopping | BookShopDAL/OrderMainDAL.cs | BookShopDAL/OrderMainDAL.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using System.Data;
using System.Data.SqlClient;
namespace BookShopDAL
{
public class OrderMainDAL
{
/// <summary>
/// execute procedure
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using System.Data;
using System.Data.SqlClient;
namespace BookShopDAL
{
public class OrderMainDAL
{
/// <summary>
/// execute procedure
/// </summary>
... | mit | C# |
37a47c96accb8e66694eb6bbacbe2fa8d0202495 | Move diff bar to the right of the line numbers (like in the GitSCC extension) | laurentkempe/GitDiffMargin,modulexcite/GitDiffMargin | GitDiffMargin/EditorDiffMarginFactory.cs | GitDiffMargin/EditorDiffMarginFactory.cs | #region using
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
#endregion
namespace GitDiffMargin
{
[Export(typeof (IWpfTextViewMarginProvider))]
[Name(EditorDiffMargin.MarginNameConst)]
[Order(After = PredefinedMarginNames.Spacer... | #region using
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
#endregion
namespace GitDiffMargin
{
[Export(typeof (IWpfTextViewMarginProvider))]
[Name(EditorDiffMargin.MarginNameConst)]
[Order(Before = PredefinedMarginNames.LineN... | mit | C# |
22b234186f8ff8eb42e36fb8e319c31b63f44799 | Use an externally-provided SmtpClient in MailKitEmailClient. | brendanjbaker/Bakery | src/Bakery.Mail.MailKit/Bakery/Mail/MailKit/MailKitEmailClient.cs | src/Bakery.Mail.MailKit/Bakery/Mail/MailKit/MailKitEmailClient.cs | namespace Bakery.Mail.MailKit
{
using global::MailKit.Net.Smtp;
using global::MailKit.Security;
using System;
using System.Threading.Tasks;
public class MailKitEmailClient
: IEmailClient
{
private readonly IMimeMessageFactory mimeMessageFactory;
private readonly Func<SmtpClient> smtpClientFacto... | namespace Bakery.Mail.MailKit
{
using global::MailKit.Net.Smtp;
using global::MailKit.Security;
using System;
using System.Threading.Tasks;
public class MailKitEmailClient
: IEmailClient
{
private readonly IMimeMessageFactory mimeMessageFactory;
private readonly SmtpClient smtpClient;
privat... | mit | C# |
c69031894a03639cc9dd5d97fbb56870d3b4256e | add comments | 928PJY/docfx,superyyrrzz/docfx,hellosnow/docfx,hellosnow/docfx,dotnet/docfx,pascalberger/docfx,dotnet/docfx,DuncanmaMSFT/docfx,hellosnow/docfx,superyyrrzz/docfx,928PJY/docfx,LordZoltan/docfx,dotnet/docfx,sergey-vershinin/docfx,LordZoltan/docfx,superyyrrzz/docfx,LordZoltan/docfx,LordZoltan/docfx,pascalberger/docfx,pasca... | src/Microsoft.DocAsCode.MarkdownLite/IMarkdownContext.cs | src/Microsoft.DocAsCode.MarkdownLite/IMarkdownContext.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.MarkdownLite
{
using System.Collections.Immutable;
/// <summary>
/// The context for markdown parser.
/// </summary>
... | // 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.MarkdownLite
{
using System.Collections.Immutable;
public interface IMarkdownContext
{
ImmutableList<IMarkdownRule> ... | mit | C# |
9e2279bdddfd8b5824cda2f92907cd205751e9e6 | Remove random context cleanup console output | gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION,gphoto/libgphoto2.OLDMIGRATION | bindings/csharp/Context.cs | bindings/csharp/Context.cs | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | using System;
using System.Runtime.InteropServices;
namespace LibGPhoto2
{
public class Context : Object
{
[DllImport ("libgphoto2.so")]
internal static extern IntPtr gp_context_new ();
public Context ()
{
this.handle = new HandleRef (this, gp_context_new ());
}
[DllImport ("libgphoto2.so")]
int... | lgpl-2.1 | C# |
cc9a800812d0d1bf32b5baa5bc77f8348bf8200f | Add support for `SupportAddress` on `Account` create and update | stripe/stripe-dotnet | src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs | src/Stripe.net/Services/Accounts/AccountBusinessProfileOptions.cs | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountBusinessProfileOptions : INestedOptions
{
/// <summary>
/// The merchant category code for the account. MCCs are used to classify businesses based
/// on the goods or services they provide.
/// <... | namespace Stripe
{
using Newtonsoft.Json;
public class AccountBusinessProfileOptions : INestedOptions
{
[JsonProperty("mcc")]
public string Mcc { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("primary_color")]
public stri... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.