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 |
|---|---|---|---|---|---|---|---|---|
07cf62ed8ad2bf722f81f2b3efa195d07e52b951 | Add comments about taxonomies. | bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes,bigfont/orchard-cms-modules-and-themes | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/Parts/MenuWidget-SectionMenu.cshtml | Orchard.Source.1.8.1/src/Orchard.Web/Themes/LccNetwork.Bootstrap/Views/Parts/MenuWidget-SectionMenu.cshtml | @using Orchard.UI.Navigation;
@functions
{
void SetMenuItemsAsSelected(IEnumerable<MenuItem> menuItems, string currentUrl)
{
// this process assumes that a detail-page's url contains its projection-page's url in singular form
// e.g.
// projection-page http://www.mydomain.com/... | @using Orchard.UI.Navigation;
@functions
{
void SetMenuItemsAsSelected(IEnumerable<MenuItem> menuItems, string currentUrl)
{
// this process assumes that a detail-page's url contains its projection-page's url in singular form
// e.g.
// projection-page http://www.mydomain.com/... | bsd-3-clause | C# |
134e1e1cebbd812f007697655dff7aa36a3ee544 | Update AmbientAssemblyCatalog.cs (#1357) | stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orc... | src/OrchardCore/OrchardCore.Nancy.Core/AssemblyCatalogs/AmbientAssemblyCatalog.cs | src/OrchardCore/OrchardCore.Nancy.Core/AssemblyCatalogs/AmbientAssemblyCatalog.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Nancy;
using OrchardCore.Environment.Shell.Builders.Models;
namespace OrchardCore.Nancy.AssemblyCatalogs
{
public class AmbientAssemblyCatalog : IAsse... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Nancy;
using OrchardCore.Environment.Shell.Builders.Models;
namespace OrchardCore.Nancy.AssemblyCatalogs
{
public class AmbientAssemblyCatalog : IAsse... | bsd-3-clause | C# |
7c6d2d554d764daaafcb798a58245841a6914cfd | Add missing ExportCodeFixProvider attribute | jhancock93/code-cracker,thorgeirk11/code-cracker,adraut/code-cracker,akamud/code-cracker,eirielson/code-cracker,AlbertoMonteiro/code-cracker,robsonalves/code-cracker,andrecarlucci/code-cracker,code-cracker/code-cracker,caioadz/code-cracker,f14n/code-cracker,thomaslevesque/code-cracker,gerryaobrien/code-cracker,jwooley/... | src/CSharp/CodeCracker/Reliability/UseConfigureAwaitFalseCodeFixProvider.cs | src/CSharp/CodeCracker/Reliability/UseConfigureAwaitFalseCodeFixProvider.cs | using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
... | using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Formatting;
... | apache-2.0 | C# |
be5b39494f87cfca431005d689145040ec10cb9b | Remove private setter | jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl | MatterControlLib/ConfigurationPage/PrintLeveling/SetupWizards/XyCalibrationData.cs | MatterControlLib/ConfigurationPage/PrintLeveling/SetupWizards/XyCalibrationData.cs | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2019, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
9ee80e37be377be8d178b0006051788a2730d257 | Fix title | SashaKazyrevich/Emigrace,SashaKazyrevich/Emigrace,SashaKazyrevich/Emigrace | Emigrace/Views/Archives/Index.cshtml | Emigrace/Views/Archives/Index.cshtml | @model IEnumerable <Emigrace.Models.ArchiveViewModel>
@{
ViewBag.Title = "Archives list";
}
<h2>Add new archive</h2>
<div class="row">
<div class="col-md-2">
<div class="form-btn">
<a href="@Url.Action("Create")" class="btn btn-primary btn-block">New archive</a>
</div>
</div>
... | @model IEnumerable <Emigrace.Models.ArchiveViewModel>
@{
ViewBag.Title = "Archives";
}
<h2>Add new archive</h2>
<div class="row">
<div class="col-md-2">
<div class="form-btn">
<a href="@Url.Action("Create")" class="btn btn-primary btn-block">New archive</a>
</div>
</div>
</div... | mit | C# |
06f9fa93b832a30778ebed2f9162160868ec94e7 | Test for GetHashCode | punker76/Espera,flagbug/Espera | Espera/Espera.Core.Tests/SongTest.cs | Espera/Espera.Core.Tests/SongTest.cs | using System;
using Espera.Core.Audio;
using Moq;
using NUnit.Framework;
namespace Espera.Core.Tests
{
[TestFixture]
public sealed class SongTest
{
[Test]
public void ClearCache_SongHasNotToBeCached_ThrowsInvalidOperationException()
{
var song = new Mock<Song>("TestPath... | using System;
using Espera.Core.Audio;
using Moq;
using NUnit.Framework;
namespace Espera.Core.Tests
{
[TestFixture]
public sealed class SongTest
{
[Test]
public void ClearCache_SongHasNotToBeCached_ThrowsInvalidOperationException()
{
var song = new Mock<Song>("TestPath... | mit | C# |
95a25ae47fd252ada302f6352a9fb4cdd6281cbf | Update PanGuAnalyzer.cs | JimLiu/Lucene.Net.Analysis.PanGu | src/PanGu.Lucene.Analyzer/PanGuAnalyzer.cs | src/PanGu.Lucene.Analyzer/PanGuAnalyzer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
using PanGu.Match;
namespace Lucene.Net.Analysis.PanGu
{
public class PanGuAnalyzer : Analyzer
{
private bool _OriginalResult = false;
private MatchOptions _options;
priv... | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Diagnostics;
namespace Lucene.Net.Analysis.PanGu
{
public class PanGuAnalyzer : Analyzer
{
private bool _OriginalResult = false;
public PanGuAnalyzer()
{
}
/// <summ... | apache-2.0 | C# |
8058b42e9b11c4c815c77d2d8411ade27aab6620 | Add FrameworkData to ProjectReferenceDescription | weshaggard/cli,stuartleeks/dotnet-cli,AbhitejJohn/cli,weshaggard/cli,AbhitejJohn/cli,jkotas/cli,johnbeisner/cli,schellap/cli,borgdylan/dotnet-cli,weshaggard/cli,livarcocc/cli-1,anurse/Cli,Faizan2304/cli,mlorbetske/cli,nguerrera/cli,jkotas/cli,AbhitejJohn/cli,EdwardBlair/cli,naamunds/cli,mylibero/cli,dasMulli/cli,JohnCh... | src/dotnet/commands/dotnet-projectmodel-server/Models/ProjectReferenceDescription.cs | src/dotnet/commands/dotnet-projectmodel-server/Models/ProjectReferenceDescription.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using NuGet.Frameworks;
namespace Microsoft.DotNet.ProjectModel.Server.Models
{
internal class ProjectReferenceDescription
{
pr... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DotNet.ProjectModel.Server.Models
{
internal class ProjectReferenceDescription
{
private ProjectReferenceDes... | mit | C# |
ddb3c3f768cd1afc8d8b1ca1923eade5fa80ccf3 | Make ApiFilter a struct | CalebChalmers/KAGTools | KAGTools/Data/ApiFilter.cs | KAGTools/Data/ApiFilter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAGTools.Data
{
public struct ApiFilter
{
public ApiFilter(string field, object value, FilterOperator op = FilterOperat... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KAGTools.Data
{
public class ApiFilter
{
public ApiFilter(string field, FilterOperator op, object value)
{
... | mit | C# |
0f64fed6f97e632c1bfb1627b276c8e95e72bcc7 | reset label width attribute shouldn't require a value, closes #3738 | volkanceylan/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho... | Serenity.Core/ComponentModel/PropertyGrid/Layout/ResetLabelWidthAttribute.cs | Serenity.Core/ComponentModel/PropertyGrid/Layout/ResetLabelWidthAttribute.cs | using System;
namespace Serenity.ComponentModel
{
/// <summary>
/// Resets form css class to null, it maybe used to cancel a prior LabelWidth attribute with UntilNext = true
/// </summary>
public class ResetLabelWidthAttribute : LabelWidthAttribute
{
public ResetLabelWidthAttribut... | using System;
namespace Serenity.ComponentModel
{
/// <summary>
/// Resets form css class to null, it maybe used to cancel a prior LabelWidth attribute with UntilNext = true
/// </summary>
public class ResetLabelWidthAttribute : LabelWidthAttribute
{
public ResetLabelWidthAttribut... | mit | C# |
38a86c89eac0fdf50090d0624f84d6fb9cc17605 | 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# |
13024caf4a5bb42d270ad86d0fc2fdf276dd59fe | Update build.cake | jamesmontemagno/Xamarin.Plugins,predictive-technology-laboratory/Xamarin.Plugins | DeviceInfo/build.cake | DeviceInfo/build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "NuGetPack"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./DeviceInfo.sln";
const string cfg = "Release";
NuGetRestore (sln);
... | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Build"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
Task ("Build").Does (() =>
{
const string sln = "./DeviceInfo.sln";
const string cfg = "Release";
NuGetRestore (sln);
if (... | mit | C# |
b12e5c6e1d3ef7ce526bdb3ebc80cdb7f40cdb47 | use the MessageBox component in the exception handler class #1879 (#2139) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Services/Implementations/TodoTemplateExceptionHandler.cs | src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/Services/Implementations/TodoTemplateExceptionHandler.cs | using System.Diagnostics;
using TodoTemplate.App.Shared;
namespace TodoTemplate.App.Services.Implementations;
public class TodoTemplateExceptionHandler : IExceptionHandler
{
public void Handle(Exception exception, IDictionary<string, object?>? parameters = null)
{
#if DEBUG
MessageBox.Show(exception.... | using System.Diagnostics;
namespace TodoTemplate.App.Services.Implementations;
public class TodoTemplateExceptionHandler : IExceptionHandler
{
public void Handle(Exception exception, IDictionary<string, object?>? parameters = null)
{
#if DEBUG
Debugger.Break();
Console.WriteLine(exception.To... | mit | C# |
61e5270d9355b8f302f347bc541132474217b9f0 | Update Version : 1.7.171.0 URL Changes + Fix User Manager Delete | Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal,Appleseed/portal | Master/Appleseed/Projects/Appleseed.PortalTemplate/Properties/AssemblyInfo.cs | Master/Appleseed/Projects/Appleseed.PortalTemplate/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("Ap... | 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("Ap... | apache-2.0 | C# |
f98e22ec4ba93f8b9332f51d176cbdb0af0b016b | Remove currently not used signal r documentation | baseclass/nuserv,baseclass/nuserv,baseclass/nuserv | Nuget.Lucene.Web.Extension/Controllers/NuGetMultiRepositoryDocumentationController.cs | Nuget.Lucene.Web.Extension/Controllers/NuGetMultiRepositoryDocumentationController.cs | namespace NuGet.Lucene.Web.Extension.Controllers
{
#region Usings
using AspNet.WebApi.HtmlMicrodataFormatter;
using NuGet.Lucene.Web.DataServices;
using NuGet.Lucene.Web.Hubs;
#endregion
/// <summary>
/// Provides documentation and semantic information about various
/// reso... | namespace NuGet.Lucene.Web.Extension.Controllers
{
#region Usings
using AspNet.WebApi.HtmlMicrodataFormatter;
using NuGet.Lucene.Web.DataServices;
using NuGet.Lucene.Web.Hubs;
#endregion
/// <summary>
/// Provides documentation and semantic information about various
/// reso... | mit | C# |
37d6ce0193929e52c3e1c20a00d6272c79b91abe | Bump version to 0.6.3 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
2cdbada87e2bfe8e8bafca51c37242b379243b54 | Fix screen breadcrumb control updating on click | UselessToucan/osu,smoogipoo/osu,peppy/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,peppy/osu,UselessToucan/osu | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.cs | osu.Game/Graphics/UserInterface/ScreenBreadcrumbControl.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.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Screens;
namespace osu.Game.Gra... | // 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.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Screens;
namespace osu.Game.Graphics.UserInterface
{
/// <summary>
... | mit | C# |
954ff9d89a4787b463a132095bbfcba39f348486 | Add EventWaitHandle creation extension method that takes an ACL (#42213) | cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.EventWaitHandle.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.
#nullable enable
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal st... | // 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.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
internal static partial clas... | mit | C# |
22e413623ec6bc27196b6b2a33338d78983f1e6b | update version | gaochundong/Cowboy | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | mit | C# |
3889fe96979818cd57dc444efb19f4541f7d7665 | Rearrange values in numeric order. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySqlClient/MySqlDbType.cs | src/MySqlConnector/MySqlClient/MySqlDbType.cs | using System;
namespace MySql.Data.MySqlClient
{
public enum MySqlDbType
{
Decimal,
Byte,
Int16,
Int32,
Float,
Double,
Timestamp = 7,
Int64,
Int24,
Date,
Time,
DateTime,
[Obsolete("The Datetime enum value is obsolete. Please use DateTime.")]
Datetime = 12,
Year,
Newdate,
VarString,... | using System;
namespace MySql.Data.MySqlClient
{
public enum MySqlDbType
{
Decimal,
Byte,
Int16,
Int24 = 9,
Int32 = 3,
Int64 = 8,
Float = 4,
Double,
Timestamp = 7,
Date = 10,
Time,
DateTime,
[Obsolete("The Datetime enum value is obsolete. Please use DateTime.")]
Datetime = 12,
Year,
... | mit | C# |
07af3f700291aa3458dbf97fa60df6d3274d8637 | refactor after green 3 to fizz test | hyrmn/Katas | FizzBuzz/FizzBuzz.csx | FizzBuzz/FizzBuzz.csx | using Shouldly;
var fixie = Require<FixieRunner>();
fixie.RunAllTests();
public class Fizzer
{
public string Answer(int number)
{
if(number == 3)
{
return "fizz";
}
return number.ToString();
}
}
public class FizzerTests
{
private readonly Fizzer fizzer = new Fizzer();
public void Fizzed_1_retur... | using Shouldly;
var fixie = Require<FixieRunner>();
fixie.RunAllTests();
public class Fizzer
{
public string Answer(int number)
{
if(number == 3)
{
return "fizz";
}
return number.ToString();
}
}
public class FizzerTests
{
public void Fizzed_1_returns_1()
{
var fizzer = new Fizzer();
fizzer.An... | unlicense | C# |
5318fe42184645e9d652709320ec6025ea138e73 | Remove unintended use of Selectors for interception | AlexGeller/aspnetboilerplate,andmattia/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,Nongzhsh/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,andmattia/aspnetboilerplate,ryancyq/aspnetboilerplate,zclmoon/aspnetboilerplate,fengyeju... | src/Abp/EntityHistory/EntityHistoryInterceptorRegistrar.cs | src/Abp/EntityHistory/EntityHistoryInterceptorRegistrar.cs | using System;
using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
namespace Abp.EntityHistory
{
internal static class EntityHistoryInterceptorRegistrar
{
public static void Initialize(IIocManager iocManager)
{
iocManager.IocContainer.Kernel.Componen... | using System;
using System.Linq;
using System.Reflection;
using Abp.Dependency;
using Castle.Core;
namespace Abp.EntityHistory
{
internal static class EntityHistoryInterceptorRegistrar
{
public static void Initialize(IIocManager iocManager)
{
iocManager.IocContainer.Kernel.Componen... | mit | C# |
7b441f436baa56ae69a8c0acf14105118f4c56f1 | Fix empty accessor list. | adraut/code-cracker,ElemarJR/code-cracker,AlbertoMonteiro/code-cracker,jwooley/code-cracker,dlsteuer/code-cracker,akamud/code-cracker,kindermannhubert/code-cracker,thorgeirk11/code-cracker,giggio/code-cracker,jhancock93/code-cracker,dmgandini/code-cracker,baks/code-cracker,code-cracker/code-cracker,carloscds/code-crack... | src/CSharp/CodeCracker/Style/PropertyPrivateSetAnalyzer.cs | src/CSharp/CodeCracker/Style/PropertyPrivateSetAnalyzer.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Immutable;
namespace CodeCracker.Style
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyPrivateSetAna... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Immutable;
namespace CodeCracker.Style
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class PropertyPrivateSetAna... | apache-2.0 | C# |
2eeb27550998bb9d28d1ae27b10e22d1ae7be1d3 | Fix up missing test | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTree/LINQToTTreeLib.Tests/Statements/TestStatementRecordValue.TestCodeItUp.g.cs | LINQToTTree/LINQToTTreeLib.Tests/Statements/TestStatementRecordValue.TestCodeItUp.g.cs | // <auto-generated>
// This file contains automatically generated unit tests.
// Do NOT modify this file manually.
//
// When Pex is invoked again,
// it might remove or update any previously generated unit tests.
//
// If the contents of this file becomes outdated, e.g. if it does not
// compile anymore, you... | // <auto-generated>
// This file contains automatically generated unit tests.
// Do NOT modify this file manually.
//
// When Pex is invoked again,
// it might remove or update any previously generated unit tests.
//
// If the contents of this file becomes outdated, e.g. if it does not
// compile anymore, you... | lgpl-2.1 | C# |
e769ef45be36d1bf700969bf76bcab5c0dac2f99 | Fix misplaced parenthesis | peppy/osu-new,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/ManiaFilterCriteria.cs | osu.Game.Rulesets.Mania/ManiaFilterCriteria.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.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.Select.Filter;
nam... | // 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.Beatmaps;
using osu.Game.Rulesets.Filter;
using osu.Game.Rulesets.Mania.Beatmaps;
using osu.Game.Screens.Select;
using osu.Game.Screens.Select.Filter;
nam... | mit | C# |
9b48f5108f600d79f5370887eeffda29ba053bda | update to home controller | webadvanced/Honeypot-MVC,webadvanced/Honeypot-MVC | src/SimpleHoneypot.Web.Tests/Controllers/HomeController.cs | src/SimpleHoneypot.Web.Tests/Controllers/HomeController.cs | using System.Web.Mvc;
using SimpleHoneypot.Extensions;
using SimpleHoneypot.Web.Tests.Models;
using SimpleHoneypot.ActionFilters;
namespace SimpleHoneypot.Web.Tests.Controllers {
public class HomeController : Controller {
public ActionResult Index() {
ViewBag.Message = "Welcome to ASP.... | using System.Web.Mvc;
using SimpleHoneypot.Extensions;
using SimpleHoneypot.Web.Tests.Models;
using SimpleHoneypot.ActionFilters;
namespace SimpleHoneypot.Web.Tests.Controllers {
public class HomeController : Controller {
public ActionResult Index() {
ViewBag.Message = "Welcome to ASP.... | apache-2.0 | C# |
70e2fe13724ddaf6a586c16cbf8f988486b71ce0 | Remove votes when changing poll type | Generic-Voting-Application/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,tpkelly/voting-applicati... | VotingApplication/VotingApplication.Web/Api/Controllers/ManagePollTypeController.cs | VotingApplication/VotingApplication.Web/Api/Controllers/ManagePollTypeController.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Http;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Models.DBViewModels;
namespace VotingApplication.Web.Api.Controllers
{
pub... | using System;
using System.Linq;
using System.Net;
using System.Web.Http;
using VotingApplication.Data.Context;
using VotingApplication.Data.Model;
using VotingApplication.Web.Api.Models.DBViewModels;
namespace VotingApplication.Web.Api.Controllers
{
public class ManagePollTypeController : WebApiController
{
... | apache-2.0 | C# |
7e838a5fc8901646046ffb9f0b0edda4784de0c5 | Bump version to 0.30.2 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
0a6a20079a06cd6350fd3d82dfc2f474f4145400 | Change automation layer to provide more meaningful errors | ludwigjossieaux/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,blorgbeard/pickles,picklesdoc/pickles,blorgbeard/pickles,blorgbeard/pickles,magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,magicmonty/pickles,magicmonty/pickles,picklesdoc/pickles,ludwigjossieaux/pic... | src/Pickles/Pickles.Test/DocumentationBuilders/JSON/AutomationLayer/StepDefinitions.cs | src/Pickles/Pickles.Test/DocumentationBuilders/JSON/AutomationLayer/StepDefinitions.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Autofac;
using NFluent;
using NGenerics.DataStructures.Trees;
using PicklesDoc.Pickles.DirectoryCrawler;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.DocumentationBuilders.JSON;... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Autofac;
using NFluent;
using NGenerics.DataStructures.Trees;
using PicklesDoc.Pickles.DirectoryCrawler;
using PicklesDoc.Pickles.DocumentationBuilders.HTML;
using PicklesDoc.Pickles.DocumentationBuilders.JSON;... | apache-2.0 | C# |
aaa9a56d166f82f7102e9b96aadce1d929b848ff | Bump LSLib version for release | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib | LSLib/LS/Common.cs | LSLib/LS/Common.cs | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 11;
public const int PatchVersion = 0;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pu... | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 10;
public const int PatchVersion = 1;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pu... | mit | C# |
c8c0a783480ec89c8a970bd6f05da9150f23e173 | Update ProjectTreePropertiesProvider.cs | zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos | source/Cosmos.VS.ProjectSystem/ProjectSystem/ProjectTreePropertiesProvider.cs | source/Cosmos.VS.ProjectSystem/ProjectSystem/ProjectTreePropertiesProvider.cs | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem;
namespace Cosmos.VS.ProjectSystem
{
[Export(typeof(IProjectTreePropertiesProvider))]
[AppliesTo(ProjectCapability.Cosmos)]
[Order(Order.OverrideManaged)]
internal class ProjectTre... | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Imaging;
using Microsoft.VisualStudio.ProjectSystem;
namespace Cosmos.VS.ProjectSystem
{
[Export(typeof(IProjectTreePropertiesProvider))]
[AppliesTo(ProjectCapability.Cosmos)]
[Order(Order.OverrideManaged)]
internal class ProjectTre... | bsd-3-clause | C# |
947f8ef980ad591df2d7c0a6b95a408120e337fb | sort enemy strings | n0nick/pewpew | PewPew/Game/Target.cs | PewPew/Game/Target.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PewPew.Game
{
public class TargetType
{
public string inputText;
public System.Windows.Media.SolidColorBrush color;
public string fileName;
}
class Tar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PewPew.Game
{
public class TargetType
{
public string inputText;
public System.Windows.Media.SolidColorBrush color;
public string fileName;
}
class Tar... | mit | C# |
49d9141c1075f806d6b74bbd393cc75c1a1318c4 | fix los using Orleans.Providers; | waynemunro/orleans,sergeybykov/orleans,brhinescot/orleans,cato541265/orleans,MikeHardman/orleans,pherbel/orleans,galvesribeiro/orleans,shlomiw/orleans,rrector/orleans,zhangf911/orleans,gabikliot/orleans,zhangf911/orleans,jdom/orleans,skalpin/orleans,TedDBarr/orleans,LoveElectronics/orleans,dariobottazzi/orleans,xclayl/... | src/OrleansVSTools/VSItemTemplatePersistedGrain/GrainImplementationClassTemplate.cs | src/OrleansVSTools/VSItemTemplatePersistedGrain/GrainImplementationClassTemplate.cs | /*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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,
inc... | /*
Project Orleans Cloud Service SDK ver. 1.0
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
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,
inc... | mit | C# |
c39eee584c31de91470bd099a72d2db9bb666f53 | Clean up type scanner and remove lazy initialization of assembly types | wolfbyte/conventional,mikeminutillo/conventional | Src/TypeScanner.cs | Src/TypeScanner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Conventional
{
public class TypeScanner : ITypeScanner
{
private readonly ITypeSource _typeSource;
private readonly IList<IConvention> _conventions = new List<IConvention>();
public Typ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Conventional
{
public class TypeScanner : ITypeScanner
{
private readonly ITypeSource _typeSource;
private readonly IList<IConvention> _conventions = new List<IConvention>();
public Typ... | mit | C# |
9c7669fd2668cc48ccee0692715d7e29dc48ae81 | Fix navigation to Overview after deleting LocalClient. | maraf/WebCamImageCollector | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/DeleteLocalCommand.cs | src/WebCamImageCollector.RemoteControl.UI/ViewModels/Commands/DeleteLocalCommand.cs | using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using WebCamImageCollector.RemoteControl.Views;
namespace WebCamImageCollector.RemoteControl.ViewModels.Com... | using Neptuo.Observables.Commands;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebCamImageCollector.RemoteControl.Services;
using WebCamImageCollector.RemoteControl.Views;
namespace WebCamImageCollector.RemoteControl.ViewModels.Com... | apache-2.0 | C# |
79258c01caaaabd11cfc3d558f0ee1acb90290b1 | Format phone here too | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Lab/AddRequestNumber.cshtml | Anlab.Mvc/Views/Lab/AddRequestNumber.cshtml | @using AnlabMvc.Extensions
@using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel
@{
ViewData["Title"] = "Confirmation";
}
<div class="col">
@if (Model.Order.ClientId == null)
{
<div class="form-group">
<h4>New Client Info</h4>
<strong>Client Name</strong>
... | @using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel
@{
ViewData["Title"] = "Confirmation";
}
<div class="col">
@if (Model.Order.ClientId == null)
{
<div class="form-group">
<h4>New Client Info</h4>
<strong>Client Name</strong>
<span>@Model.OrderDetails... | mit | C# |
6d87fd4bc97e317441b67d836664254037a64190 | Use MainAsync instead of Main | i3arnon/Sandbox | Sandbox/Program.cs | Sandbox/Program.cs | using System.Threading.Tasks;
namespace Sandbox
{
public class Program
{
public static void Main() => new Program().MainAsync().GetAwaiter().GetResult();
private async Task MainAsync()
{
}
}
} | namespace Sandbox
{
public class Program
{
public static void Main()
{
}
}
} | mit | C# |
b505c3a61c47b3d40208f7dd2ca58c158f92a3ea | Add AccessTokenFetcher#Get | appharbor/appharbor-cli | src/AppHarbor/AccessTokenFetcher.cs | src/AppHarbor/AccessTokenFetcher.cs | namespace AppHarbor
{
public class AccessTokenFetcher
{
public void Get(string username, string password)
{
}
}
}
| namespace AppHarbor
{
public class AccessTokenFetcher
{
}
}
| mit | C# |
30a75dd96b5d31d7594496bb20633e5176a08e73 | Fix for DirectoryNotFoundException thrown when trying to generate OptionSets from command line #27 | daryllabar/DLaB.Xrm.XrmToolBoxTools | DLaB.CrmSvcUtilExtensions/OptionSet/Transliteration/TransliterationService.cs | DLaB.CrmSvcUtilExtensions/OptionSet/Transliteration/TransliterationService.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace DLaB.CrmSvcUtilExtensions.OptionSet.Transliteration
{
public static class TransliterationService
{
private static readonly string Path = System.IO.Path.Co... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json.Linq;
namespace DLaB.CrmSvcUtilExtensions.OptionSet.Transliteration
{
public static class TransliterationService
{
private static readonly string Path = System.IO.Path.Combine("Plugins", "CrmSvcUt... | mit | C# |
65b8c6f597cd688df87e49f861768e5f17f8fd91 | change resolution of video stream | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Quadruped.WebInterface/VideoStreaming/VideoStreamingService.cs | DynamixelServo.Quadruped.WebInterface/VideoStreaming/VideoStreamingService.cs | using System.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class VideoStreamingService : IVideoService
{
public bool StreamRunning { get; private set; }
private readonly Process _stre... | using System.Diagnostics;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
namespace DynamixelServo.Quadruped.WebInterface.VideoStreaming
{
public class VideoStreamingService : IVideoService
{
public bool StreamRunning { get; private set; }
private readonly Process _stre... | apache-2.0 | C# |
3d4b43b69d7ae77b1d6162958fe63e93b9b8c33a | Update password field | Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving | XamarinApp/build.cake | XamarinApp/build.cake | #addin "Cake.Xamarin"
var username = EnvironmentVariable("XamarinLicenseUser");
var password = EnvironmentVariable("GeneralPassword");
var TARGET = Argument ("target", Argument ("t", "Default"));
Task ("Default").Does (() =>
{
RestoreComponents ("./MyTrips.sln", new XamarinComponentRestoreSettings
{
Email = use... | #addin "Cake.Xamarin"
var username = EnvironmentVariable("XamarinLicenseUser");
var password = EnvironmentVariable("XamarinLicensePassword");
var TARGET = Argument ("target", Argument ("t", "Default"));
Task ("Default").Does (() =>
{
RestoreComponents ("./MyTrips.sln", new XamarinComponentRestoreSettings
{
Emai... | mit | C# |
341adb4d570745ca4f7043df06315b600ce62c0f | swap icons to left on release tags side - emulate github releases styling | ritterim/releases,ritterim/releases,ritterim/releases | src/Site/Views/Releases/Show.cshtml | src/Site/Views/Releases/Show.cshtml | @model RimDev.Releases.ViewModels.Releases.ShowViewModel
@{
ViewData["Title"] = "Home Page";
ViewData["Repository"] = Model.CurrentRepository;
}
@Html.Partial("_Header")
<div class="container">
@if (Model.NotEmpty) {
foreach(var release in Model.Releases) {
if (release.HasRelease) {
<div class="ro... | @model RimDev.Releases.ViewModels.Releases.ShowViewModel
@{
ViewData["Title"] = "Home Page";
ViewData["Repository"] = Model.CurrentRepository;
}
@Html.Partial("_Header")
<div class="container">
@if (Model.NotEmpty) {
foreach(var release in Model.Releases) {
if (release.HasRelease) {
<div class="ro... | mit | C# |
cfb5ba5a3f0605a09bfaa1e15e361d773661418c | Make the Fake Sql Server port dynamic | Jiayili1/corefx,DnlHarvey/corefx,billwert/corefx,nbarbettini/corefx,dotnet-bot/corefx,rahku/corefx,lggomez/corefx,billwert/corefx,nchikanov/corefx,yizhang82/corefx,fgreinacher/corefx,yizhang82/corefx,yizhang82/corefx,nbarbettini/corefx,dotnet-bot/corefx,yizhang82/corefx,axelheer/corefx,ViktorHofer/corefx,nchikanov/core... | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | src/System.Data.SqlClient/tests/FunctionalTests/SqlConnectionTest.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using Microsoft.SqlServer.TDS;
using Microsoft.SqlServer.TDS.Servers;
using Microsoft.SqlServer.TDS.E... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
using Microsoft.SqlServer.TDS;
using Microsoft.SqlServer.TDS.Servers;
using Microsoft.SqlServer.TDS.E... | mit | C# |
41def35ce97cca2835c94443562ec95db1743912 | bump assembly to 1.0.0.1 | lanayotech/vagrant-manager-windows,shabbirh/vagrant-manager-windows,yonglehou/vagrant-manager-windows,kunday/vagrant-manager-windows | Lanayo.VagrantManager/Properties/AssemblyInfo.cs | Lanayo.VagrantManager/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("Va... | 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("Va... | mit | C# |
a3ee50d99ea170a3e88e23c55f85b5f345bdac96 | Fix content type serializer | OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core,OfficeDev/PnP-Sites-Core | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/DocumentTemplateFromModelToSchemaTypeResolver.cs | Core/OfficeDevPnP.Core/Framework/Provisioning/Providers/Xml/Resolvers/DocumentTemplateFromModelToSchemaTypeResolver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers
{
/// <summary>
/// Resolves a Document Template of a Content Type from Domain Model to Schema
/// </summary>
i... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.Resolvers
{
/// <summary>
/// Resolves a Document Template of a Content Type from Domain Model to Schema
/// </summary>
i... | mit | C# |
9cf37096a2897adf43e568e132f68e3e4e307357 | fix indexdescription | carbon/Amazon | src/Amazon.DynamoDb/Models/IndexDescription.cs | src/Amazon.DynamoDb/Models/IndexDescription.cs | using Amazon.DynamoDb.Extensions;
using System.Text.Json;
namespace Amazon.DynamoDb
{
public class IndexDescription : IConvertibleFromJson
{
public string? IndexName { get; set; }
public long IndexSizeBytes { get; set; }
public long ItemCount { get; set; }
public KeySchemaEleme... | using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json;
namespace Amazon.DynamoDb
{
public class IndexDescription : IConvertibleFromJson
{
public string? IndexName { get; set; }
public long IndexSizeBytes { get; set; }
public long ItemCount { get; set... | mit | C# |
73659639ffbbd8bdeeb917206d1be872cddd3cbd | make commits with incremented commitstamps | gael-ltd/NEventStore,NEventStore/NEventStore,adamfur/NEventStore,jamiegaines/NEventStore,chris-evans/NEventStore,marcoaoteixeira/NEventStore,nerdamigo/NEventStore,paritoshmmmec/NEventStore,D3-LucaPiombino/NEventStore,AGiorgetti/NEventStore,deltatre-webplu/NEventStore | src/tests/EventStore.Persistence.AcceptanceTests/ExtensionMethods.cs | src/tests/EventStore.Persistence.AcceptanceTests/ExtensionMethods.cs | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Collections.Generic;
internal static class ExtensionMethods
{
public static Commit BuildAttempt(this Guid streamId, DateTime now)
{
var messages = new List<EventMessage>
{
new EventMessage { Body = new SomeDomainEvent { Som... | namespace EventStore.Persistence.AcceptanceTests
{
using System;
using System.Collections.Generic;
internal static class ExtensionMethods
{
public static Commit BuildAttempt(this Guid streamId, DateTime now)
{
var messages = new List<EventMessage>
{
new EventMessage { Body = new SomeDomainEvent { Som... | mit | C# |
03290391aa26fd08af3a3dfb47f38618eb6ff8ff | Create errorresponse from ModelState | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/AccountLegalEntityController.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api/Controllers/AccountLegalEntityController.cs | using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SFA.DAS.CommitmentsV2.Api.Authorization;
using SFA.DAS.CommitmentsV2.Api.Extensions;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.Commitment... | using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using SFA.DAS.CommitmentsV2.Api.Authorization;
using SFA.DAS.CommitmentsV2.Api.Types.Responses;
using SFA.DAS.CommitmentsV2.Queries.GetAccountLegalEntity;
namespac... | mit | C# |
5baaa171d642cadd198eccb422dc48835616a19b | Add optional GetAndFlattenAllPages() parameters | gabrielweyer/octokit.net,mminns/octokit.net,devkhan/octokit.net,kdolan/octokit.net,nsrnnnnn/octokit.net,hahmed/octokit.net,octokit-net-test-org/octokit.net,khellang/octokit.net,geek0r/octokit.net,Sarmad93/octokit.net,mminns/octokit.net,fake-organization/octokit.net,alfhenrik/octokit.net,ivandrofly/octokit.net,shana/oct... | Octokit.Reactive/Helpers/ConnectionExtensions.cs | Octokit.Reactive/Helpers/ConnectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
namespace Octokit.Reactive.Internal
{
internal static class ConnectionExtensions
{
public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url, IDictionary<... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
namespace Octokit.Reactive.Internal
{
internal static class ConnectionExtensions
{
public static IObservable<T> GetAndFlattenAllPages<T>(this IConnection connection, Uri url)
{
... | mit | C# |
f104464a4ba93f3c7c750259d2a7337cd7a9ba2d | Set default version | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | build.cake | build.cake | #addin nuget:?package=Cake.Git
#tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./BugsnagUnity.sln");
var configuration = Argument("configuration", "Release");
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
var version = "4.0.0";
Task("Restore-... | #addin nuget:?package=Cake.Git
#tool "nuget:?package=NUnit.ConsoleRunner"
var target = Argument("target", "Default");
var solution = File("./BugsnagUnity.sln");
var configuration = Argument("configuration", "Release");
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
var version = "1.0.0";
Task("Restore-... | mit | C# |
2d112a9f7316c3860b1f41f9ab958de73995e363 | Update IModel.cs | kreeben/resin,kreeben/resin | src/Sir/IModel.cs | src/Sir/IModel.cs | using System.IO;
namespace Sir
{
/// <summary>
/// String vector space model.
/// </summary>
public interface IStringModel : IModel<string>
{
}
public interface IModel<T>
{
AnalyzedComputerString Tokenize(T data);
Vector DeserializeVector(long vectorOffset, int compone... | using System.IO;
namespace Sir
{
/// <summary>
/// String vector space model.
/// </summary>
/// <example>
/// [Continuous-bag-of-characters model](https://github.com/kreeben/resin/blob/master/src/Sir.Store/Models/BocModel.cs)
/// [Lesser-bag-of-words model](https://github.com/kreeben/resin/bl... | mit | C# |
54ad370d7a5065d5d5464c40aa62ad087cae876b | Update PostCategoryService to Resolve a Strange CI Issue | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS | Portal.CMS.Services/Posts/PostCategoryService.cs | Portal.CMS.Services/Posts/PostCategoryService.cs | using Portal.CMS.Entities;
using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace Portal.CMS.Services.Posts
{
public interface IPostCategoryService
{
Task<PostCategory> GetAsync(int postCategoryId);
... | using Portal.CMS.Entities;
using Portal.CMS.Entities.Entities;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace Portal.CMS.Services.Posts
{
public interface IPostCategoryService
{
Task<PostCategory> GetAsync(int postCategoryId);
... | mit | C# |
5c3065460841816f3a84f6f0a282c1aac8888803 | Update ForeignExchangeRepository.cs | tiksn/TIKSN-Framework | TIKSN.Core/Finance/ForeignExchange/Data/EntityFrameworkCore/ForeignExchangeRepository.cs | TIKSN.Core/Finance/ForeignExchange/Data/EntityFrameworkCore/ForeignExchangeRepository.cs | using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ForeignExchangeRepository : EntityQueryRepository<ExchangeRatesContext, ForeignExchangeEntity, int>, IForeignExchangeRepository
{
public ForeignExchangeRepository(ExchangeRatesContext ... | using TIKSN.Data.EntityFrameworkCore;
namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore
{
public class ForeignExchangeRepository : EntityQueryRepository<ExchangeRatesContext, ForeignExchangeEntity, int>, IForeignExchangeRepository
{
public ForeignExchangeRepository(ExchangeRatesContext ... | mit | C# |
6cd67928aba27e2936fd8f0a6cfc0ae7838e1e67 | Simplify documentation of `ModUsage` | peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu | osu.Game/Rulesets/Mods/ModUsage.cs | osu.Game/Rulesets/Mods/ModUsage.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// The context in which a <see cref="Mod"/> is playable.
/// </summary>
public enum ModUsage
{
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// The usage of this mod to determine whether it's playable in such context.
/// </summary>
public enum ... | mit | C# |
5a708afeeb7cae2889b0e0b58adcfbd648bbd300 | Fix issue #13. | Gesh4o/TeamBuilder,Gesh4o/TeamBuilder,Gesh4o/TeamBuilder | TeamBuilder/Clients/TeamBuilder.Clients.Web/Views/Shared/_LoginPartial.cshtml | TeamBuilder/Clients/TeamBuilder.Clients.Web/Views/Shared/_LoginPartial.cshtml | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul id="navigation-bar" class="nav navbar-nav navbar-right">
<li class="navbar-ev... | @using Microsoft.AspNet.Identity
@if (Request.IsAuthenticated)
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul id="navigation-bar" class="nav navbar-nav navbar-right">
<li class="navbar-ev... | mit | C# |
7c017274fc1e6f888d8277509502de200083ba28 | Update MvxPresenterHelpers.cs | Ideine/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins,Cheesebaron/Cheesebaron.MvxPlugins,Ideine/Cheesebaron.MvxPlugins | FormsPresenters/Core/MvxPresenterHelpers.cs | FormsPresenters/Core/MvxPresenterHelpers.cs | // MvxPresenterHelpers.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Tomasz Cielecki, @cheesebaron, mvxplugins@ostebarone... | // MvxPresenterHelpers.cs
// 2015 (c) Copyright Cheesebaron. http://ostebaronen.dk
// Cheesebaron.MvxPlugins.FormsPresenters is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Tomasz Cielecii, @cheesebaron, mvxplugins@ostebarone... | apache-2.0 | C# |
9b26c2921249b6676c4a0d2b14a19e87eca8a946 | Set TimeZoneUtil.CustomResolver in TimeZoneConverterPlugin.Initialize method (#832) | sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet,sean-gilliam/quartznet,sean-gilliam/quartznet,quartznet/quartznet,quartznet/quartznet,sean-gilliam/quartznet,quartznet/quartznet | src/Quartz.Plugins.TimeZoneConverter/Plugin/TimeZoneConverter/TimeZoneConverterPlugin.cs | src/Quartz.Plugins.TimeZoneConverter/Plugin/TimeZoneConverter/TimeZoneConverterPlugin.cs | #region License
/*
* All content copyright Marko Lahma, unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/l... | #region License
/*
* All content copyright Marko Lahma, unless otherwise indicated. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/l... | apache-2.0 | C# |
68be124f96d09e3f33f4cd5c44aefbd8c6cf09e9 | Convert to NFluent | picklesdoc/pickles,dirkrombauts/pickles,irfanah/pickles,irfanah/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,irfanah/pickles,irfanah/pickles,picklesdoc/pickles,magicmonty/pickles,blorgbeard/pickles,magicmonty/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,picklesdoc/... | src/Pickles/Pickles.Test/TestFrameworks/WhenDeterminingTheSignatureOfAnXUnitExampleRow.cs | src/Pickles/Pickles.Test/TestFrameworks/WhenDeterminingTheSignatureOfAnXUnitExampleRow.cs | using System;
using System.Text.RegularExpressions;
using Autofac;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using NFluent;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenDeterminingTheSignatureOfAnXUnitExampleR... | using System;
using System.Text.RegularExpressions;
using Autofac;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using Should;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenDeterminingTheSignatureOfAnXUnitExampleRo... | apache-2.0 | C# |
e1585823264135b2edbacd7030eb5ec6306d9d84 | Update TestRegistry.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.UnitTests/DependencyResolution/AuditRegistry/TestRegistry.cs | src/SFA.DAS.EmployerAccounts.UnitTests/DependencyResolution/AuditRegistry/TestRegistry.cs | using SFA.DAS.AutoConfiguration;
using SFA.DAS.Authentication;
using StructureMap;
using Moq;
using SFA.DAS.EmployerAccounts.Extensions;
namespace SFA.DAS.EmployerAccounts.UnitTests.DependencyResolution.AuditRegistry
{
public class TestRegistry : Registry
{
private Mock<IEnvironmentService> _mockEnvir... | using SFA.DAS.AutoConfiguration;
using SFA.DAS.Authentication;
using StructureMap;
using Moq;
namespace SFA.DAS.EmployerAccounts.UnitTests.DependencyResolution.AuditRegistry
{
public class TestRegistry : Registry
{
private Mock<IEnvironmentService> _mockEnvironmentService;
private Mock<IAuthen... | mit | C# |
7e15e852349a2ab7c1cf37e4ab2b1ba4210a2611 | Fix bug in the StringCollection converter when DataServicePackage.Authors is a simple string. | mdavid/nuget,mdavid/nuget | NuPack.Dialog/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | NuPack.Dialog/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuPack.Dialog.PackageManagerUI {
public class StringCollectionsToStringConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuPack.Dialog.PackageManagerUI {
public class StringCollectionsToStringConverter : IValueConverter {
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | apache-2.0 | C# |
a9ecd22b2a01c10a53a7b6d8dd37ce855ee76db6 | Initialize values to true | DMagic1/KSP_Contract_Window,Kerbas-ad-astra/KSP_Contract_Window | contractUIObject.cs | contractUIObject.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ContractsWindow
{
public class contractUIObject
{
private contractContainer container;
private bool showParams;
private int? order;
internal contractUIObject(contractContainer c)
{
container = c;
showPar... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ContractsWindow
{
public class contractUIObject
{
private contractContainer container;
private bool showParams;
private int? order;
internal contractUIObject(contractContainer c)
{
container = c;
}
pub... | mit | C# |
cf4995da02d08605ca7bbf0dd6c8a6f22ceb5744 | Make sure we also copy the receive blender from the cache image. | mmoening/agg-sharp,jlewin/agg-sharp,larsbrubaker/agg-sharp,mmoening/agg-sharp,mmoening/agg-sharp,MatterHackers/agg-sharp | PlatformWin32/win32/FileSystemStaticData.cs | PlatformWin32/win32/FileSystemStaticData.cs | using MatterHackers.Agg.Image;
using MatterHackers.Agg.PlatformAbstract;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
namespace MatterHackers.Agg
{
public class FileSystemStaticData : IStaticData
{
private static Dictionary<string, ImageBuffer> cachedImages = new Dic... | using MatterHackers.Agg.Image;
using MatterHackers.Agg.PlatformAbstract;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
namespace MatterHackers.Agg
{
public class FileSystemStaticData : IStaticData
{
private static Dictionary<string, ImageBuffer> cachedImages = new Dic... | bsd-2-clause | C# |
7b930386ecb5fdaed05e740aed5e16a5e571e860 | Add gesture recognition | Bigsby/2048.net | DCCC.XF/DCCC.XF/App.cs | DCCC.XF/DCCC.XF/App.cs | using System;
using Xamarin.Forms;
namespace DCCC.XF
{
public class App : Application
{
private readonly Label _label;
public App()
{
_label = new Label
{
HorizontalTextAlignment = TextAlignment.Center,
Text = "Bigsby in XForms"
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
namespace DCCC.XF
{
public class App : Application
{
public App()
{
// The root page of your application
MainPage = new ContentPage
{
... | mit | C# |
cd9a18baa2486406f567b08f46001e48d85fbbb9 | Add Hero.LocalizedName property | babelshift/SteamWebAPI2 | SteamWebAPI2/Models/DOTA2/HeroResultContainer.cs | SteamWebAPI2/Models/DOTA2/HeroResultContainer.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace SteamWebAPI2.Models.DOTA2
{
public class Hero
{
public string Name { get; set; }
public int Id { get; set; }
[JsonProperty(PropertyName = "localized_name")]
public string LocalizedName { get; set; }
... | using System.Collections.Generic;
namespace SteamWebAPI2.Models.DOTA2
{
public class Hero
{
public string Name { get; set; }
public int Id { get; set; }
}
public class HeroResult
{
public IList<Hero> Heroes { get; set; }
}
internal class HeroResultContainer
{
... | mit | C# |
04def8f961429b324b88ed8eb3ed88e5ea38cb21 | fix SendSynchronousRequest binding | beni55/maccore,cwensley/maccore,mono/maccore,jorik041/maccore | src/Foundation/NSUrlConnection.cs | src/Foundation/NSUrlConnection.cs | //
// NSUrlConnection.cs:
// Author:
// Miguel de Icaza
//
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlConnection {
static Selector selSendSynchronousRequ... | //
// NSUrlConnection.cs:
// Author:
// Miguel de Icaza
//
using System;
using System.Reflection;
using System.Collections;
using System.Runtime.InteropServices;
using MonoMac.ObjCRuntime;
namespace MonoMac.Foundation {
public partial class NSUrlConnection {
static Selector selSendSynchronousRequ... | apache-2.0 | C# |
acc828a38bb3ca386c75ebd6b39a653873bf4611 | remove logging, which happened too early | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | unity/EditorPlugin/AfterUnity56/EntryPoint.cs | unity/EditorPlugin/AfterUnity56/EntryPoint.cs | using System;
using JetBrains.Diagnostics;
using UnityEditor;
namespace JetBrains.Rider.Unity.Editor.AfterUnity56
{
[InitializeOnLoad]
public static class EntryPoint
{
static EntryPoint()
{
PluginEntryPoint.OnModelInitialization += UnitTesting.Initialization.OnModelInitializationHandler;
Plu... | using System;
using JetBrains.Diagnostics;
using UnityEditor;
namespace JetBrains.Rider.Unity.Editor.AfterUnity56
{
[InitializeOnLoad]
public static class EntryPoint
{
private static readonly ILog ourLogger = Log.GetLog("AfterUnity56.EntryPoint");
static EntryPoint()
{
ourLogger.Verbose("... | apache-2.0 | C# |
dd3a06d7dfc2b2422226bab35b7874039d1bf5b9 | Remove C# 6.0 Auto-Property Initializor | Pereingo/statsd-csharp-client,goncalopereira/statsd-csharp-client,DarrellMozingo/statsd-csharp-client | src/StatsdClient/MetricsConfig.cs | src/StatsdClient/MetricsConfig.cs | namespace StatsdClient
{
public class MetricsConfig
{
/// <summary>
/// The full host name of your statsd server.
/// </summary>
public string StatsdServerName { get; set; }
/// <summary>
/// Uses the statsd default port if not specified (8125).
... | namespace StatsdClient
{
public class MetricsConfig
{
/// <summary>
/// The full host name of your statsd server.
/// </summary>
public string StatsdServerName { get; set; }
/// <summary>
/// Uses the statsd default port if not specified (8125).
... | mit | C# |
e71b402133e8eeda922c435541b31a35578e93af | add xml deserialization | msell/TestableXmlSerialization | TestableXmlSerialization/XmlSerializerWrapper.cs | TestableXmlSerialization/XmlSerializerWrapper.cs | using System.IO;
using System.IO.Abstractions;
using System.Xml.Serialization;
namespace TestableXmlSerialization
{
public interface IXmlSerializer
{
void Serialize(Stream stream, object o);
T Deserialize<T>(string path);
}
public class XmlSerializerWrapper : IXmlSerialize... | using System.IO;
using System.Xml.Serialization;
namespace TestableXmlSerialization
{
public interface IXmlSerializer
{
void Serialize(Stream stream, object o);
}
public class XmlSerializerWrapper : IXmlSerializer
{
XmlSerializer _xmlSerializer;
public void ... | mit | C# |
e102a4a9b25498d8f3b4e7b1ec147defa3dd9949 | Add method to add paragraph to section | AVPolyakov/SharpLayout | SharpLayout/Section.cs | SharpLayout/Section.cs | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SharpLayout
{
public class Section
{
public PageSettings PageSettings { get; }
public List<Table> Tables { get; } = new List<Table>();
public Section(PageSettings pageSettings)
{
Pag... | using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace SharpLayout
{
public class Section
{
public PageSettings PageSettings { get; }
public List<Table> Tables { get; } = new List<Table>();
public Section(PageSettings pageSettings)
{
Pag... | mit | C# |
fc3df4c5c90cf443104d06fd4399be28f5fd617d | fix the way the sortcode substitution lines are split so it will work on *nix properly | pauldambra/ModulusChecker,pauldambra/ModulusChecker | ModulusChecking/Loaders/SortCodeSubstitution.cs | ModulusChecking/Loaders/SortCodeSubstitution.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ModulusChecking.Properties;
namespace ModulusChecking.Loaders
{
internal class SortCodeSubstitution
{
private Dictionary<string, string> _sortCodeSubstitutionSource;
private void SetupDictionary... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ModulusChecking.Properties;
namespace ModulusChecking.Loaders
{
internal class SortCodeSubstitution
{
private Dictionary<string, string> _sortCodeSubstitutionSource;
private void SetupDictionary... | mit | C# |
675d00d1046954421c9c998d82a087f3d8eaccc2 | Update for String Interpolation | BillWagner/TourOfCSharp6 | TourOfCSharp6/Point.cs | TourOfCSharp6/Point.cs | using System.Math;
namespace TourOfCSharp6
{
public class Point
{
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; }
public double Y { get; }
public double Distance => Sqrt(X * X + Y * Y);
public override... | using System.Math;
namespace TourOfCSharp6
{
public class Point
{
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; }
public double Y { get; }
public double Distance => Sqrt(X * X + Y * Y);
public override... | mit | C# |
e339c7065dc8b7fafedd771e819793b4babaee89 | Update ErrorController.cs | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Controllers/ErrorController.cs | src/SFA.DAS.ProviderApprenticeshipsService.Web/Controllers/ErrorController.cs | using System.Web.Mvc;
using SFA.DAS.ProviderApprenticeshipsService.Web.Attributes;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Controllers
{
using System;
[AllowAllRoles]
public class ErrorController : Controller
{
public ViewResult BadRequest()
{
Response.StatusC... | using System.Web.Mvc;
using SFA.DAS.ProviderApprenticeshipsService.Web.Attributes;
namespace SFA.DAS.ProviderApprenticeshipsService.Web.Controllers
{
using System;
public class ErrorController : Controller
{
public ViewResult BadRequest()
{
Response.StatusCode = 400;
... | mit | C# |
55e4b4b36bf3008b29115bb4eeeb3e617df933a5 | Add Equality/Hash operators to Point | alex-sherman/Spectrum | Framework/Point.cs | Framework/Point.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spectrum.Framework
{
public struct Point : IEquatable<Point>
{
public int X { get; set; }
public int Y { get; set; }
public static Point operator +(Point a, Poi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Spectrum.Framework
{
public struct Point
{
public int X { get; set; }
public int Y { get; set; }
public static Point operator +(Point a, Point b) => new Point(a... | mit | C# |
00f8983e329d6931514610f7e5407992afe6d705 | Fix incorrect file header | martincostello/sqllocaldb | AssemblyVersion.cs | AssemblyVersion.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AssemblyVersion.cs" company="https://github.com/martincostello/sqllocaldb">
// Martin Costello (c) 2012-2015
// </copyright>
// <license>
// See license.txt in the project roo... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CommonAssemblyInfo.cs" company="https://github.com/martincostello/sqllocaldb">
// Martin Costello (c) 2012-2015
// </copyright>
// <license>
// See license.txt in the project ... | apache-2.0 | C# |
f3835d83dfbcf415f790ea76837959a7c87ae33f | Create new class "DependencyInjector" that will be the only visible DI API | ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack,ZocDoc/ServiceStack | src/ServiceStack/Funke/Container.cs | src/ServiceStack/Funke/Container.cs | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace Funke
{
public class DependencyInjector
{
public IContainer Container { get; set; }
public ContainerBuilder Builder { get; set; }
public Funke.Container FunkeContainer { get; set; }
... | using System;
using System.Collections.Generic;
using Autofac;
using Autofac.Core;
namespace Funke
{
public class DependencyInjector
{
public IContainer Container { get; set; }
public ContainerBuilder Builder { get; set; }
}
public interface IHasContainer
{
Container Con... | bsd-3-clause | C# |
eed6608046a5a8219aacfa519ccecdb70d6843e9 | support AltDirectorySeparatorChar. Fixes #28 | xdegtyarev/omnisharp-roslyn,filipw/omnisharp-roslyn,nabychan/omnisharp-roslyn,hitesh97/omnisharp-roslyn,sriramgd/omnisharp-roslyn,david-driscoll/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,nabychan/omnisharp-roslyn,jtbm37/omnisharp-roslyn,hach-que/omnisharp-roslyn,xdegtyarev/omnisharp... | src/OmniSharp/Models/Request.cs | src/OmniSharp/Models/Request.cs | using System.IO;
namespace OmniSharp.Models
{
public class Request
{
private string _fileName;
public int Line { get; set; }
public int Column { get; set; }
public string Buffer { get; set; }
public string FileName
{
get
{
... | namespace OmniSharp.Models
{
public class Request
{
public int Line { get; set; }
public int Column { get; set; }
public string Buffer { get; set; }
public string FileName { get; set; }
}
}
| mit | C# |
8f348b47f4aed066f201801061f120b9e8ab6f6d | add oepn_userid of LoginCheckResultJson | JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MiniProgram/MiniResultJson.cs | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/MiniProgram/MiniResultJson.cs | /*----------------------------------------------------------------
Copyright (C) 2022 Senparc
文件名:MiniResultJson.cs
文件功能描述:企业微信小程序返回结果
创建标识:Senparc - 20181009
----------------------------------------------------------------*/
using Senparc.Weixin.Entities;
namespace Senparc.Weixin.Wo... | /*----------------------------------------------------------------
Copyright (C) 2022 Senparc
文件名:MiniResultJson.cs
文件功能描述:企业微信小程序返回结果
创建标识:Senparc - 20181009
----------------------------------------------------------------*/
using Senparc.Weixin.Entities;
namespace Senparc.Weixin.Wo... | apache-2.0 | C# |
47c6539dc73a23bf167e5eaadce475475c512f44 | Add "partial" to MarshalAsAttribute (#24014) | wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,cshung/coreclr,poizan... | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.cs | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/MarshalAsAttribute.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.
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field |... | // 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.
namespace System.Runtime.InteropServices
{
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field |... | mit | C# |
bcbad00cd08c34d9decc4a9cc2f153fc54f4384f | update comments | jcouv/roslyn,jcouv/roslyn,KevinRansom/roslyn,swaroop-sridhar/roslyn,gafter/roslyn,davkean/roslyn,brettfo/roslyn,swaroop-sridhar/roslyn,KevinRansom/roslyn,physhi/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,ErikSchierboom/roslyn,aelij/roslyn,mgoertz-msft/roslyn,eriawan/roslyn,DustinCampbell/roslyn,nguerrera/ro... | src/Workspaces/Core/Portable/Workspace/Host/DocumentService/IDocumentExcerptService.cs | src/Workspaces/Core/Portable/Workspace/Host/DocumentService/IDocumentExcerptService.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAn... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAn... | mit | C# |
dc129e12be44b53572232690bcf0404c93a5fbcf | support for Username field | versionone/VersionOne.Integration.TFS.ServerConnector | Entities/Member.cs | Entities/Member.cs | using VersionOne.SDK.APIClient;
namespace VersionOne.ServerConnector.Entities {
public class Member : Entity {
public const string EmailProperty = "Email";
public const string UsernameProperty = "Username";
public const string DefaultRoleNameProperty = "DefaultRole.Name";
... | using VersionOne.SDK.APIClient;
namespace VersionOne.ServerConnector.Entities {
public class Member : Entity {
public const string EmailProperty = "Email";
public const string DefaultRoleNameProperty = "DefaultRole.Name";
public Member() { }
public Member(Asset asset) : ... | bsd-3-clause | C# |
caf29bf90077c3eb12434b86279d4d4886bcebc8 | Add those options, I suppose. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM/Schema/EntitySchemaOptions.cs | Silk.Data.SQL.ORM/Schema/EntitySchemaOptions.cs | using Silk.Data.Modelling;
using Silk.Data.SQL.ORM.Modelling;
namespace Silk.Data.SQL.ORM.Schema
{
public abstract class EntitySchemaOptions
{
public abstract bool PerformTransformationPass();
public abstract EntityModel GetEntityModel();
public EntityFieldOptions GetFieldOptions(IField field)
... | using Silk.Data.Modelling;
using Silk.Data.SQL.ORM.Modelling;
namespace Silk.Data.SQL.ORM.Schema
{
public abstract class EntitySchemaOptions
{
public abstract bool PerformTransformationPass();
public abstract EntityModel GetEntityModel();
public EntityFieldOptions GetFieldOptions(IField field)
... | mit | C# |
20265711868d7470feca72a21a3752bc1510045f | Make sure to assign concatted value to variable | appharbor/appharbor-cli | src/AppHarbor/CompressionExtensions.cs | src/AppHarbor/CompressionExtensions.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.SharpZipLib.Tar;
namespace AppHarbor
{
public static class CompressionExtensions
{
public static void ToTar(this DirectoryInfo sourceDirectory, Stream output)
{
var archive = TarArchive.CreateOutputTarArchive(output);
... | mit | C# |
5945c3bc0aa123297f85a9f238003a27984812c0 | Update doc comment | cmeeren/yarni | src/Yarni/ListenerMiddleware.cs | src/Yarni/ListenerMiddleware.cs | namespace Yarni
{
using System;
/// <summary>
/// Provides a middleware that raises an event when an action is received. The action is passed down the
/// middleware chain before raising the event. Event handlers are provided with the state before the action
/// was passed down.
//... | namespace Yarni
{
using System;
/// <summary>Provides a middleware that raises an event when an action is received.</summary>
/// <remarks>
/// The action is passed down the middleware chain before raising the event. Event handlers are provided
/// with the state before the action was pass... | mit | C# |
c64dfca82ef93895defc5d8948d2a55be60bc876 | Remove silly textboxes. | johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,DrabWeb/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ZLima12/osu,Nabile-Rahmani/osu,2yangk23/osu,Frontear/osuKyzer,naoey/osu,default0/osu,DrabWeb/osu,osu-RP/osu-RP,ppy/osu,RedNesto/osu,Damnae/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,theguii/osu,peppy/osu-new,DrabWeb/osu,Drezi1... | osu.Game/GameModes/Menu/MainMenu.cs | osu.Game/GameModes/Menu/MainMenu.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
using osu.Framework.GameModes;
using osu.Framework.Graphics;
using osu.Framework.G... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Audio.Sample;
using osu.Framework.Audio.Track;
using osu.Framework.GameModes;
using osu.Framework.Graphics;
using osu.Framework.G... | mit | C# |
798259aee24f69cef873aeebe3cd15ca0e70e439 | Bump LSLib version | Norbyte/lslib,Norbyte/lslib,Norbyte/lslib | LSLib/LS/Common.cs | LSLib/LS/Common.cs | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 10;
public const int PatchVersion = 0;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pu... | using System;
namespace LSLib.LS
{
public static class Common
{
public const int MajorVersion = 1;
public const int MinorVersion = 9;
public const int PatchVersion = 1;
/// <summary>
/// Returns the version number of the LSLib library
/// </summary>
pub... | mit | C# |
3e1d9d1d099961ec741f87fa2598e719da7afb0d | Update "SQLiteManager" | DRFP/Personal-Library | _Build/PersonalLibrary/Library/SQLiteManager.cs | _Build/PersonalLibrary/Library/SQLiteManager.cs | using Library.Model;
using SQLite;
using System.Threading.Tasks;
using static Library.Configuration;
using static Library.Database;
namespace Library {
public class SQLiteManager {
private static SQLiteAsyncConnection connection;
static SQLiteManager() { connection = new SQLiteAsyncConnection(dat... | using Library.Model;
using SQLite;
using System.Threading.Tasks;
using static Library.Configuration;
using static Library.Database;
namespace Library {
public class SQLiteManager {
private static SQLiteAsyncConnection connection;
static SQLiteManager() { connection = new SQLiteAsyncConnection(Dat... | mit | C# |
ccf5f8678cd876d9c0751d607d508c0ccc61d853 | add methods to helpers | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Controller/Helpers.cs | using Appleseed.Base.Alerts.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Controller
{
class Helpers
{
#region helpers
public static string UppercaseFirst(string s)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Controller
{
class Helpers
{
#region helpers
public static string UppercaseFirst(string s)
{
if (string.IsNullOrEmpty(s))
... | apache-2.0 | C# |
c6e757fdae6c89b70927a26a83db61ed2cb8e572 | Remove redundant qualifier | UselessToucan/osu,peppy/osu-new,ZLima12/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,smoogipooo/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,Neo... | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.cs | osu.Game/Beatmaps/Formats/LegacyDifficultyCalculatorBeatmapDecoder.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.Linq;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | // 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.Linq;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Formats
{
/// <summary>
/// A <see cref="LegacyBeatmapDecoder"/> built for ... | mit | C# |
53cc1820b631f78231dbad763b562d466e5a6f07 | Update bio (#141) | MabroukENG/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/MarcBruins.cs | src/Firehose.Web/Authors/MarcBruins.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarcBruins : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Marc";
public string Las... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MarcBruins : IAmACommunityMember, IFilterMyBlogPosts
{
public string FirstName => "Marc";
public string Las... | mit | C# |
c4fad0728dc3aa34ca590680e7e2515ab2df1545 | Fix Queue properties test | discosultan/VulkanCore | Tests/QueueTest.cs | Tests/QueueTest.cs | using System.Linq;
using VulkanCore.Tests.Utilities;
using Xunit;
using Xunit.Abstractions;
namespace VulkanCore.Tests
{
public class QueueTest : HandleTestBase
{
[Fact]
public void PropertiesSet()
{
QueueFamilyProperties[] props = PhysicalDevice.GetQueueFamilyProperties();... | using System.Linq;
using VulkanCore.Tests.Utilities;
using Xunit;
using Xunit.Abstractions;
namespace VulkanCore.Tests
{
public class QueueTest : HandleTestBase
{
[Fact]
public void PropertiesSet()
{
QueueFamilyProperties[] props = PhysicalDevice.GetQueueFamilyProperties();... | mit | C# |
291323c2939da141aad8cb94edd7481f523c044e | Update version to 0.3.2 | elcattivo/CloudFlareUtilities | CloudFlareUtilities/Properties/AssemblyInfo.cs | CloudFlareUtilities/Properties/AssemblyInfo.cs | using System;
using System.Resources;
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 ... | using System;
using System.Resources;
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 ... | mit | C# |
04b025eb3f930656db5d9c2934cd231f0625e9f6 | Remove startup delay from project template. | henrikfroehling/TraktApiSharp | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | Examples/TraktApiSharp.Example.UWP/App.xaml.cs | using System.Threading.Tasks;
using Template10.Controls;
using TraktApiSharp.Example.UWP.Services.SettingsServices;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace TraktApiSharp.Example.UWP
{
/// Documentation on APIs used in this page:
/// https://github... | using Windows.UI.Xaml;
using System.Threading.Tasks;
using TraktApiSharp.Example.UWP.Services.SettingsServices;
using Windows.ApplicationModel.Activation;
using Template10.Controls;
using Template10.Common;
using System;
using System.Linq;
using Windows.UI.Xaml.Data;
namespace TraktApiSharp.Example.UWP
{
/// Docum... | mit | C# |
2186c76cc9c2b28488db61ce591cc3feae258bfa | add define PCS_RAPIDUPLOAD_THRESHOLD | GangZhuo/BaiduPCS_NET,callmeyan/BaiduPCS_NET,suxinde2009/BaiduPCS_NET | BaiduPCS_NET/NativeConst.cs | BaiduPCS_NET/NativeConst.cs | using System;
namespace BaiduPCS_NET
{
public static class NativeConst
{
/// <summary>
/// 本地代码中的 true
/// </summary>
public const byte True = 1;
/// <summary>
/// 本地代码中的 false
/// </summary>
public const byte False = 0;
/// <summary>
... | using System;
namespace BaiduPCS_NET
{
public static class NativeConst
{
/// <summary>
/// 本地代码中的 true
/// </summary>
public const byte True = 1;
/// <summary>
/// 本地代码中的 false
/// </summary>
public const byte False = 0;
/// <summary>
... | mit | C# |
3d891d6a0472e019cecb96b2d6e9c863d212d714 | Apply a hang mitigating timeout to InteractiveWithDisplayFormAndWpfWindow | mgoertz-msft/roslyn,wvdd007/roslyn,KevinRansom/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,heejaechang/roslyn,shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,davkean/roslyn,gafter/roslyn,heejaechang/roslyn,mavasani/roslyn,ErikSchierboom/roslyn,AmadeusW/roslyn,brettfo/roslyn,... | src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveFormsAndWpf.cs | src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpInteractiveFormsAndWpf.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading.Tasks;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
using Roslyn.Test.Utilities;
... | mit | C# |
a0f8debafe909bb8aa8bbb6ab965d7eaa3b33e4f | Add note about `BeatmapMetadata.Author` being weird | NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game/Beatmaps/BeatmapMetadata.cs | osu.Game/Beatmaps/BeatmapMetadata.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 Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enable
namespace osu.Game.Beatma... | // 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 Newtonsoft.Json;
using osu.Framework.Testing;
using osu.Game.Models;
using osu.Game.Users;
using Realms;
#nullable enable
namespace osu.Game.Beatma... | mit | C# |
4e51984547b22f48de09587842201dcd523f18dd | Add skipCertVerify back to options | cloudfoundry/windows_app_lifecycle,cloudfoundry-incubator/windows_app_lifecycle | Builder/Options.cs | Builder/Options.cs | using CommandLine;
using CommandLine.Text;
namespace Builder
{
public enum OptionBool
{
False,
True
}
public class Options
{
[Option("buildDir", Required = true)]
public string BuildDir { get; set; }
[Option("buildArtifactsCacheDir", Required = false)]
... | using CommandLine;
using CommandLine.Text;
namespace Builder
{
public enum OptionBool
{
False,
True
}
public class Options
{
[Option("buildDir", Required = true)]
public string BuildDir { get; set; }
[Option("buildArtifactsCacheDir", Required = false)]
... | apache-2.0 | C# |
8d249c3671e4be330169eef14811f207b44f7561 | Convert to NFluent | magicmonty/pickles,blorgbeard/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,irfanah/pickles,blorgbeard/pickles,dirkrombauts/pickles,irfanah/pickles,dirkrombauts/pickles,blorgbeard/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,blorgbeard/pickles,magicmonty/pickles,irfanah/pickles,picklesdoc/pickles,irfanah/p... | src/Pickles/Pickles.Test/TestFrameworks/WhenDeterminingTheSignatureOfAnNUnitExampleRow.cs | src/Pickles/Pickles.Test/TestFrameworks/WhenDeterminingTheSignatureOfAnNUnitExampleRow.cs | using System;
using System.Text.RegularExpressions;
using Autofac;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using NFluent;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenDeterminingTheSignatureOfAnNUnitExampleR... | using System;
using System.Text.RegularExpressions;
using Autofac;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using Should;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
public class WhenDeterminingTheSignatureOfAnNUnitExampleRo... | apache-2.0 | C# |
a7c7df04814ac069bae2828a157969aa979dc7e9 | Update change user, don't update if same val. | drawcode/game-lib-engine | Engine/Game/Data/Profile.cs | Engine/Game/Data/Profile.cs | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class ProfileKeys {
public static string login_count = "login_count";
}
public class Profile : DataObject {
public virtual int login_count {
get {
return Get<int>(ProfileKeys.login_count);
... | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
public class ProfileKeys {
public static string login_count = "login_count";
}
public class Profile : DataObject {
public virtual int login_count {
get {
return Get<int>(ProfileKeys.login_count);
... | mit | C# |
80aa2a1a613916e15688021a5803c3705ea272d5 | Add Join enumeration extension; make (Full)Description less verbose | pardeike/Harmony | Harmony/Tools/Extensions.cs | Harmony/Tools/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Harmony
{
public static class GeneralExtensions
{
public static string Join<T>(this IEnumerable<T> enumeration, Func<T, string> converter = null, string delimiter = ", ")
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Harmony
{
public static class GeneralExtensions
{
public static string Description(this Type[] parameters)
{
if (parameters == null) return "NULL";
var types = parameters.Select(p => p == null ? "null" : p... | mit | C# |
9536b43b384bed30c94548c5928c2fc05d211765 | Fix args the simple way Data on CommandLineArguments needs to be fields not properties | NuKeeperDotNet/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper | NuKeeper/Configuration/CommandLineArguments.cs | NuKeeper/Configuration/CommandLineArguments.cs | using System;
using EasyConfig.Attributes;
namespace NuKeeper.Configuration
{
public class CommandLineArguments
{
[CommandLine("mode", "m"), Required]
public string Mode;
[CommandLine("github_token", "t"), Required, SensitiveInformation]
public string GithubToken;
[Com... | using System;
using EasyConfig.Attributes;
namespace NuKeeper.Configuration
{
public class CommandLineArguments
{
[CommandLine("mode", "m"), Required]
public string Mode;
[CommandLine("github_token", "t"), Required, SensitiveInformation]
public string GithubToken;
[Com... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.