commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
1cdb7c5ae619cbc716b11d5fc26f19903c2de734 | src/Analyzers/CSharp/Analyzers/NamingStyle/CSharpNamingStyleDiagnosticAnalyzer.cs | src/Analyzers/CSharp/Analyzers/NamingStyle/CSharpNamingStyleDiagnosticAnalyzer.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.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... | // 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.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.... | Expand and add comment for ShouldIgnore. | Expand and add comment for ShouldIgnore.
| C# | mit | ErikSchierboom/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,AlekseyTs/roslyn,tannergooding/roslyn,shyamnamboodiripad/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,AlekseyTs/roslyn,mgoertz-msft/roslyn,sharwell/roslyn,jasonma... |
5e96a647c5281075aa6506e49eab44a0e8bc66ec | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/Class/Fraction.cs | 06.OthreTypes/06.OtherTypes.Homework/OtherTypes/FractionCalculator/Class/Fraction.cs | using System;
namespace FractionCalculator.Class
{
public struct Fraction
{
private long numerator;
private long denominator;
public Fraction(long numerator, long denominator) : this()
{
this.Numerator = numerator;
this.Denominator = denominator;
... | using System;
namespace FractionCalculator.Class
{
public struct Fraction
{
private long numerator;
private long denominator;
public Fraction(long numerator, long denominator) : this()
{
this.Numerator = numerator;
this.Denominator = denominator;
... | Create method for overload operator + and - | Create method for overload operator + and -
| C# | cc0-1.0 | ivayloivanof/OOP.CSharp,ivayloivanof/OOP.CSharp |
f52182b8dfadfe38d29c1d20ec402dcca3e91ceb | src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionNotification.cs | src/mscorlib/src/System/Runtime/ExceptionServices/ExceptionNotification.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.
/*=============================================================================
**
** File: ExceptionNotification.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.
/*=============================================================================
**
** File: ExceptionNotification.cs... | Remove FirstChanceExceptionEventArgs from BCL folder. The file has been moved into mscorlib folder | Remove FirstChanceExceptionEventArgs from BCL folder. The file has been moved into mscorlib folder
[tfs-changeset: 1630635]
| C# | mit | cmckinsey/coreclr,neurospeech/coreclr,sagood/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,ragmani/coreclr,dasMulli/coreclr,JonHanna/coreclr,gkhanna79/coreclr,kyulee1/coreclr,krytarowski/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,mskvortsov/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,pgavlin/coreclr,pgav... |
53eccff651a1208fb9fa297e483420851dd11934 | src/Booma.Proxy.Packets.Common/Message/Game/UnknownSubCommand6DCommand.cs | src/Booma.Proxy.Packets.Common/Message/Game/UnknownSubCommand6DCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// An unimplemented or unknown subcommand for the 0x6D packets.
/// </summary>
[WireDataContract]
public sealed class UnknownS... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
namespace Booma.Proxy
{
/// <summary>
/// An unimplemented or unknown subcommand for the 0x6D packets.
/// </summary>
[WireDataContract]
public sealed class UnknownS... | Fix unknown 0x6D size logging | Fix unknown 0x6D size logging
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
da25c07956a9599982002f16008d1cf722a58fbe | VotingApplication/VotingApplication.Web/Api/Services/SendMailEmailSender.cs | VotingApplication/VotingApplication.Web/Api/Services/SendMailEmailSender.cs | using Microsoft.AspNet.Identity;
using SendGrid;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
using System.Web;
namespace VotingApplication.Web.Api.Services
{
public class SendMailEmailSender : IMailSender
{
p... | using SendGrid;
using System.Net;
using System.Net.Mail;
using System.Threading.Tasks;
namespace VotingApplication.Web.Api.Services
{
public class SendMailEmailSender : IMailSender
{
private NetworkCredential credentials;
private string hostEmail;
public SendMailEmailSender(NetworkCre... | Fix email sender to 'vote on' | Fix email sender to 'vote on'
| C# | apache-2.0 | Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-... |
07952f53279bd453159888786ad52bd2e2087f4b | src/Workspaces/Remote/ServiceHub/Services/CodeAnalysisService_NavigateTo.cs | src/Workspaces/Remote/ServiceHub/Services/CodeAnalysisService_NavigateTo.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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.NavigateTo;
namespace Microsoft.CodeAnalys... | // 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.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.NavigateTo;
namespace Microsoft.CodeAnalys... | Boost priority of NavigateTo when running in OOP server. | Boost priority of NavigateTo when running in OOP server.
| C# | apache-2.0 | tvand7093/roslyn,Giftednewt/roslyn,tmat/roslyn,KirillOsenkov/roslyn,yeaicc/roslyn,OmarTawfik/roslyn,jamesqo/roslyn,VSadov/roslyn,paulvanbrenk/roslyn,Hosch250/roslyn,OmarTawfik/roslyn,genlu/roslyn,DustinCampbell/roslyn,brettfo/roslyn,xasx/roslyn,pdelvo/roslyn,MichalStrehovsky/roslyn,abock/roslyn,robinsedlaczek/roslyn,Ma... |
f0d261bc494da9b62ad40c99538c66c866f33412 | src/TeacherPouch/Views/Tag/Index.cshtml | src/TeacherPouch/Views/Tag/Index.cshtml | @model IEnumerable<Tag>
@{
ViewBag.Title = "Tag Index";
}
<h2>Tag Index</h2>
@if (User.Identity.IsAuthenticated)
{
<p>
<a asp-action="Create">Create new Tag</a>
</p>
}
<h3>@Model.Count() tags</h3>
<ul class="tag-buttons">
@Html.Partial("_TagButtons", Model)
</ul>
| @model IEnumerable<Tag>
@{
ViewBag.Title = "Tag Index";
}
<h2>Tag Index</h2>
@if (User.Identity.IsAuthenticated)
{
<p>
<a asp-action="Create">Create new Tag</a>
</p>
}
<h3>@Model.Count() tags</h3>
<div>
@Html.Partial("_TagButtons", Model)
</div> | Update tag button container markup | Update tag button container markup
| C# | mit | dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch |
9577117759dd48525bbfac8523db6dd5f1114d27 | src/Terrajobst.Pns.Scanner/PnsResult.cs | src/Terrajobst.Pns.Scanner/PnsResult.cs | using System;
namespace Terrajobst.Pns.Scanner
{
public struct PnsResult
{
public static readonly PnsResult DoesNotThrow = new PnsResult(-1);
private PnsResult(int level)
{
Level = level;
}
public static PnsResult ThrowsAt(int level)
{
... | using System;
namespace Terrajobst.Pns.Scanner
{
public struct PnsResult
{
public static readonly PnsResult DoesNotThrow = new PnsResult(-1);
private PnsResult(int level)
{
Level = level;
}
public static PnsResult ThrowsAt(int level)
{
... | Fix bug in properties and event detection | Fix bug in properties and event detection
| C# | mit | terrajobst/platform-compat |
9ee0a1f943e125d81c7be8f281c159d36eb2e17a | Framework/Lokad.Cqrs.Azure.Tests/Feature.TapeStorage/BlobTapeStorageTests.cs | Framework/Lokad.Cqrs.Azure.Tests/Feature.TapeStorage/BlobTapeStorageTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lokad.Cqrs.Properties;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using NUnit.Framework;
namespace Lokad.Cqrs.Feature.TapeStorage
{
[TestFixture]
public class BlobTapeStorageT... | using System;
using Lokad.Cqrs.Properties;
using Microsoft.WindowsAzure;
using Microsoft.WindowsAzure.StorageClient;
using NUnit.Framework;
namespace Lokad.Cqrs.Feature.TapeStorage
{
[TestFixture]
public class BlobTapeStorageTests : TapeStorageTests
{
const string ContainerName = "blob-... | Abort test if test container exists. | Abort test if test container exists.
--HG--
branch : 2011-05-28-es
| C# | bsd-3-clause | modulexcite/lokad-cqrs |
22a9a037961eec94e38ccbf28174cd053864c74c | Lab01/CloudFoundry/Program.cs | Lab01/CloudFoundry/Program.cs | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Steeltoe.Extensions.Configuration.CloudFoundry;
namespace CloudFoundry
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
}
public static IWebHost BuildW... | using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Steeltoe.Extensions.Configuration.CloudFoundry;
namespace CloudFoundry
{
public class Program
{
public static void Main(string[] args)
{
BuildWebHost(args).Run();
... | Fix startup problem on windows | Fix startup problem on windows
| C# | apache-2.0 | SteeltoeOSS/Workshop,SteeltoeOSS/Workshop,SteeltoeOSS/Workshop,SteeltoeOSS/Workshop |
2e7fb19c39c4f60e9859e9890d3ff926034a252a | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | src/Dialog/PackageManagerUI/BaseProvider/PackagesSearchNode.cs | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | using System;
using System.Linq;
using Microsoft.VisualStudio.ExtensionsExplorer;
namespace NuGet.Dialog.Providers {
internal class PackagesSearchNode : PackagesTreeNodeBase {
private string _searchText;
private readonly PackagesTreeNodeBase _baseNode;
public PackagesTreeNodeB... | Reset page number to 1 when perform a new search. Work items: 569 | Reset page number to 1 when perform a new search.
Work items: 569
--HG--
branch : 1.1
| C# | apache-2.0 | mdavid/nuget,mdavid/nuget |
974faeed7c29f9f9bd905ff43cde79addb2dee80 | src/Libraries/SharpDox.Build.Roslyn/Parser/ProjectParser/MethodCallParser.cs | src/Libraries/SharpDox.Build.Roslyn/Parser/ProjectParser/MethodCallParser.cs | using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SharpDox.Build.Roslyn.MethodVisitors;
namespace SharpDox.Build.Roslyn.Parser.ProjectParser
{
internal class MethodCallParser : BaseParser
{
internal MethodCallParser(ParserOptions parserOptions) : base(parserOptions) { }
int... | using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using SharpDox.Build.Roslyn.MethodVisitors;
namespace SharpDox.Build.Roslyn.Parser.ProjectParser
{
internal class MethodCallParser : BaseParser
{
internal MethodCallParser(ParserOptions parserOptions) : base(parserOptions) { }
int... | Fix Roslyn compiler issues when the same file is being used for multiple target platforms (and might result in a class without methods) | Fix Roslyn compiler issues when the same file is being used for multiple target platforms (and might result in a class without methods)
| C# | mit | Geaz/sharpDox |
883a937fecd087c760ee0326e0f2b447b75317e0 | src/SDKs/SqlManagement/Sql.Tests/ServiceObjectiveScenarioTests.cs | src/SDKs/SqlManagement/Sql.Tests/ServiceObjectiveScenarioTests.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Management.Sql;
using Xunit;
namespace Sql.Tests
{
public class ServiceObjectiveScenarioT... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Azure.Management.Sql.Models;
using Microsoft.Azure.Management.Sql;
using Xunit;
namespace Sql.Tests
{
public class ServiceObjectiveScenarioT... | Fix test failing in playback | Fix test failing in playback
| C# | mit | atpham256/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,peshen/azure-sdk-for-net,stankovski/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for-net,pilor/azu... |
9e230a8d9bcf6f3663cefe5a8ecf13ce4eae2c73 | Mono.Debugger.Cli/Commands/LocalsCommand.cs | Mono.Debugger.Cli/Commands/LocalsCommand.cs | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class LocalsCommand : ICommand
{
public string Name
{
get { return "Locals"; }
}
public string Description
... | using System.Collections.Generic;
using Mono.Debugger.Cli.Debugging;
using Mono.Debugger.Cli.Logging;
namespace Mono.Debugger.Cli.Commands
{
public sealed class LocalsCommand : ICommand
{
public string Name
{
get { return "Locals"; }
}
public string Description
... | Make local evaluation a little safer. | Make local evaluation a little safer.
| C# | mit | GunioRobot/sdb-cli,GunioRobot/sdb-cli |
5f670fca966e5bba20f63cbd123508201258da0c | OrienteeringToolWPF/DAO/CompetitorHelper.cs | OrienteeringToolWPF/DAO/CompetitorHelper.cs | using OrienteeringToolWPF.Model;
using OrienteeringToolWPF.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrienteeringToolWPF.DAO
{
public static class CompetitorHelper
{
public static List<Competitor> CompetitorsJoi... | using OrienteeringToolWPF.Model;
using OrienteeringToolWPF.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrienteeringToolWPF.DAO
{
public static class CompetitorHelper
{
public static List<Competitor> CompetitorsJoi... | Change exception to proper class | Change exception to proper class
| C# | mit | iceslab/OrienteeringToolWPF |
ea6dd98b9351bcc846497a8c71b6da235031d382 | LiveScoreUpdateSystem/LiveScoreUpdateSystem.Data.Models/User.cs | LiveScoreUpdateSystem/LiveScoreUpdateSystem.Data.Models/User.cs | using LiveScoreUpdateSystem.Data.Models.Contracts;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace LiveScoreUpdateSystem.Data.Models
{
public class User : IdentityUser, IDeletable, IAuditable, IDa... | using LiveScoreUpdateSystem.Data.Models.Contracts;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Security.Claims;
using System.Threading.Tasks;
namespace LiveScoreUpdateSystem.Data.Models
{
public class User : IdentityUser, IDeletable, IAuditable, IDa... | Remove fat arrow getter because of appveyor .net version support | Remove fat arrow getter because of appveyor .net version support
| C# | mit | BorislavBorisov22/LiveScoreUpdateSystem,BorislavBorisov22/LiveScoreUpdateSystem |
77d7af42199bba5ba7eb7417d30fd4440d83628d | Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml | Battery-Commander.Web/Views/Shared/DisplayTemplates/VehicleStatus.cshtml | @model Vehicle
@switch(Model.Status)
{
case Vehicle.VehicleStatus.FMC:
<span class="label label-success">FMC</span>
return;
case Vehicle.VehicleStatus.NMC:
<span class="label label-danger">NMC</span>
return;
default:
<span class="label label-warning">@Model</span>
... | @model Vehicle
@switch(Model.Status)
{
case Vehicle.VehicleStatus.FMC:
<span class="label label-success">FMC</span>
return;
case Vehicle.VehicleStatus.NMC:
<span class="label label-danger">NMC</span>
return;
case Vehicle.VehicleStatus.Unknown:
<span class="... | Fix for Unknown status display | Fix for Unknown status display
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
bd8cda39537bb2716b78e0ad9c4bce9cbaba6c2a | src/SharpGraphEditor/Controls/GraphElements/VertexControl.xaml.cs | src/SharpGraphEditor/Controls/GraphElements/VertexControl.xaml.cs | using System.Windows.Controls.Primitives;
namespace SharpGraphEditor.Controls.GraphElements
{
/// <summary>
/// Логика взаимодействия для VertexControl.xaml
/// </summary>
public partial class VertexControl : Thumb
{
public VertexControl()
{
InitializeComponent();
... | using System.Windows.Controls.Primitives;
namespace SharpGraphEditor.Controls.GraphElements
{
/// <summary>
/// Логика взаимодействия для VertexControl.xaml
/// </summary>
public partial class VertexControl : Thumb
{
public VertexControl()
{
InitializeComponent();
... | Fix bug: incorrectly determines the center of the top | Fix bug: incorrectly determines the center of the top
| C# | apache-2.0 | AceSkiffer/SharpGraphEditor |
0153692d478d48faca61d62adecd9d2ff7bb8859 | sample/Responsive/Startup.cs | sample/Responsive/Startup.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micr... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Micr... | Set endpoint routing in responsive sample web app | Set endpoint routing in responsive sample web app
| C# | apache-2.0 | wangkanai/Detection |
c2c63dd534dda428d5545246b79c27cb67d78dd3 | src/CodeComb.AspNet.Upload/Models/ModelBuilderExtensions.cs | src/CodeComb.AspNet.Upload/Models/ModelBuilderExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
namespace CodeComb.AspNet.Upload.Models
{
public static class ModelBuilderExtensions
{
public static ModelBuilder SetupBlob(this ModelBuilder self)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Data.Entity;
namespace CodeComb.AspNet.Upload.Models
{
public static class ModelBuilderExtensions
{
public static ModelBuilder SetupFiles(this ModelBuilder self)
{
... | Rename setup blob => setup files | Rename setup blob => setup files
| C# | apache-2.0 | CodeComb/CodeComb.AspNet.Upload,CodeComb/CodeComb.AspNet.Upload |
dd86e3d43743643f42ba6b9b9d86ad778358939e | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Extensions/GeoConstants.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps/Extensions/GeoConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xamarin.Forms.GoogleMaps
{
public static class GeoConstants
{
public const double EarthRadiusKm = 6371;
public const double EarthCircumferenceKm = EarthRadiusKm * 2 * M... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xamarin.Forms.GoogleMaps
{
internal static class GeoConstants
{
public const double EarthRadiusKm = 6371;
public const double EarthCircumferenceKm = EarthRadiusKm * 2 *... | Change classe accessibility to internal | Change classe accessibility to internal
| C# | mit | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps |
4142ba5bff4438150198811a4a422c86ee852c0b | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | CodeHub/ViewModels/Settings/NofiticationSettingsViewModel.cs | using CodeHub.Services;
using GalaSoft.MvvmLight;
namespace CodeHub.ViewModels.Settings
{
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
public bool IsToastEnabled
{
get => _isToastEnabled;
set
{
... | using CodeHub.Services;
using GalaSoft.MvvmLight;
namespace CodeHub.ViewModels.Settings
{
public class NofiticationSettingsViewModel : ObservableObject
{
private bool _isToastEnabled = SettingsService.Get<bool>(SettingsKeys.IsToastEnabled);
private bool _isLiveTilesEnabled = SettingsService.Ge... | Update NotificationSettingsVM for LiveTiles settings | Update NotificationSettingsVM for LiveTiles settings
| C# | mit | aalok05/CodeHub |
c3d2f81eabcdd95c4414323ca830374aa21f47a7 | CodeCamp/Helpers/Settings.cs | CodeCamp/Helpers/Settings.cs | // Helpers/Settings.cs
using Refractored.Xam.Settings;
using Refractored.Xam.Settings.Abstractions;
namespace CodeCamp.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with ... | // Helpers/Settings.cs
using Refractored.Xam.Settings;
using Refractored.Xam.Settings.Abstractions;
namespace CodeCamp.Helpers
{
/// <summary>
/// This is the Settings static class that can be used in your Core solution or in any
/// of your client applications. All settings are laid out the same exact way with ... | Update settings with username and conference ids | Update settings with username and conference ids
| C# | mit | jamesmontemagno/code-camp-app |
e6757a4c42bef75cbca89d11bc3951b456f71ab7 | CyLR/src/CollectionPaths.cs | CyLR/src/CollectionPaths.cs | using System;
using System.IO;
using System.Collections.Generic;
namespace CyLR
{
internal static class CollectionPaths
{
public static List<string> GetPaths(Arguments arguments)
{
var paths = new List<string>
{
@"C:\Windows\System32\config",
... | using System;
using System.IO;
using System.Collections.Generic;
namespace CyLR
{
internal static class CollectionPaths
{
public static List<string> GetPaths(Arguments arguments)
{
var paths = new List<string>
{
@"C:\Windows\System32\config",
... | Revert "Fixing bad default path." | Revert "Fixing bad default path."
This reverts commit 28f7d396adb79d66431aa7fad1c4c6b52f7bc125.
| C# | apache-2.0 | rough007/PythLR |
718835255f48e015d7f5741b4eb38cd1d47d9598 | BTCPayServer/Views/Shared/_StatusMessage.cshtml | BTCPayServer/Views/Shared/_StatusMessage.cshtml | @{
var parsedModel = TempData.GetStatusMessageModel();
}
@if (parsedModel != null)
{
<div class="alert alert-@parsedModel.SeverityCSS @(parsedModel.AllowDismiss? "alert-dismissible":"" )" role="alert">
@if (parsedModel.AllowDismiss)
{
<button type="button" class="close" data-dismis... | @{
var parsedModel = TempData.GetStatusMessageModel();
}
@if (parsedModel != null)
{
<div class="alert alert-@parsedModel.SeverityCSS @(parsedModel.AllowDismiss? "alert-dismissible":"" ) mb-5" role="alert">
@if (parsedModel.AllowDismiss)
{
<button type="button" class="close" data-d... | Improve spacing for status messages | Improve spacing for status messages
| C# | mit | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver |
cd3edc869c3455fd77aa0348566faccd079a1b97 | osu.Game/Screens/Edit/Compose/Components/Timeline/TimelineButton.cs | osu.Game/Screens/Edit/Compose/Components/Timeline/TimelineButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays;
using osu.Game.Screens.Edit.Timing;
namespace osu.Game.Screens.Edit.Comp... | Remove unnecessary nesting of `IconButton` and update design a touch | Remove unnecessary nesting of `IconButton` and update design a touch
| C# | mit | NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
739c906587018aaade88194708224c14475fb735 | MvcNG/Views/ngApp/ngConstants.cshtml | MvcNG/Views/ngApp/ngConstants.cshtml | <script type="text/javascript">
angular.module("myapp")
.constant("WAIT", @ViewBag.WAIT)
.constant("NAME", @ViewBag.NAME)
;
</script>
| <script type="text/javascript">
angular.module("myapp")
.constant("WAIT", @ViewBag.WAIT)
.constant("NAME", '@ViewBag.NAME')
;
</script>
| Fix string injection of NAME from ViewBag to ng.constant | Fix string injection of NAME from ViewBag to ng.constant | C# | mit | dmorosinotto/MVC_NG_TS,dmorosinotto/MVC_NG_TS |
4ceb145f649eb87cf0ebd5ead04743ae953f1c49 | src/Glimpse.Server.Channel.Agent.Http/Broker/HttpChannelReceiver.cs | src/Glimpse.Server.Channel.Agent.Http/Broker/HttpChannelReceiver.cs | using Glimpse.Web;
using Microsoft.AspNet.Http;
using Newtonsoft.Json;
using System.IO;
using System.Text;
using Microsoft.AspNet.Builder;
namespace Glimpse.Server.Web
{
public class HttpChannelReceiver : IMiddlewareResourceComposer
{
private readonly IServerBroker _messageServerBus;
public H... | using Glimpse.Web;
using Microsoft.AspNet.Http;
using Newtonsoft.Json;
using System.IO;
using System.Text;
using Microsoft.AspNet.Builder;
namespace Glimpse.Server.Web
{
public class HttpChannelReceiver : IMiddlewareResourceComposer
{
private readonly IServerBroker _messageServerBus;
public H... | Simplify the response from the server on the agent-server http channel | Simplify the response from the server on the agent-server http channel
| C# | mit | pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,pranavkm/Glimpse.Protot... |
5f7ee9e5ff613dea26b75257bb3a66c95f1af6d0 | src/Joinrpg.Web.Identity/ClaimInfoBuilder.cs | src/Joinrpg.Web.Identity/ClaimInfoBuilder.cs | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Domain;
using Claim = System.Security.Claims.Claim;
using ClaimTypes = System.Security.Claims.ClaimTypes;
namespace Joinrpg.Web.Identity
{
internal static class ClaimInfoBuilder
{
public static IList<Claim> ToClaimsList(this User ... | using System.Collections.Generic;
using JoinRpg.DataModel;
using JoinRpg.Domain;
using Claim = System.Security.Claims.Claim;
using ClaimTypes = System.Security.Claims.ClaimTypes;
namespace Joinrpg.Web.Identity
{
internal static class ClaimInfoBuilder
{
public static IList<Claim> ToClaimsList(this User ... | Fix problem with missing avatars | Fix problem with missing avatars
| C# | mit | joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net |
d6e917c44812dafc2d4bd40111a19d3142a9b1ed | Nubot.Interfaces/RobotPluginBase.cs | Nubot.Interfaces/RobotPluginBase.cs | namespace Nubot.Abstractions
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
public abstract class RobotPluginBase : IRobotPlugin
{
protected readonly IRobot Robot;
protected RobotPluginBase(string pluginName, IRobot robot)
... | namespace Nubot.Abstractions
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
public abstract class RobotPluginBase : IRobotPlugin
{
protected readonly IRobot Robot;
protected RobotPluginBase(string pluginName, IRobot robot)
... | Read plugin settings from BasePluginsDirectory and all sub-directories | Read plugin settings from BasePluginsDirectory and all sub-directories
| C# | mit | lionelplessis/Nubot,laurentkempe/Nubot,laurentkempe/Nubot,lionelplessis/Nubot |
d77882c21bcc9ebb4379fd7e6ad6d04a1f2ea451 | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/Components/SliderBodyPiece.cs | osu.Game.Rulesets.Osu/Edit/Blueprints/Sliders/Components/SliderBodyPiece.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawab... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
using osu.Game.Rulesets.Osu.Objects.Drawab... | Fix slider selection input handled outside path | Fix slider selection input handled outside path
| C# | mit | smoogipoo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,johnneijzen/osu,ppy/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,smoogipooo/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,EVAST9919/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu,peppy/osu-new |
bbb4b412fff0d3e6a61a6ef42f1349f1cd0316da | src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs | src/Server/Bit.OwinCore/Middlewares/AspNetCoreAutofacDependencyInjectionMiddlewareConfiguration.cs | using Autofac;
using Autofac.Integration.Owin;
using Bit.Owin.Contracts;
using Bit.Owin.Middlewares;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Owin;
using Owin;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace Bit.OwinCore.Middleware... | using Autofac;
using Autofac.Integration.Owin;
using Bit.Owin.Contracts;
using Bit.Owin.Middlewares;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Owin;
using Owin;
using System.Threading.Tasks;
namespace Bit.OwinCore.Middlewares
{
public class AspNetCoreAutofacD... | Use newly introduced autofac's SetAutofacLifetimeScope method to pass autofac scope from asp.net core pipeline to owin pipeline | Use newly introduced autofac's SetAutofacLifetimeScope method to pass autofac scope from asp.net core pipeline to owin pipeline
| C# | mit | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework |
4e955324de40a614e8f2d3d20f67ece9d91e3e5f | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Seasons/TraktSeasonCommentsRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Seasons/TraktSeasonCommentsRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Seasons
{
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Seasons;
using System.Collections.Generic;
internal class TraktSeasonCommentsRequest : TraktGetByIdSeasonRequest<TraktPaginationListResult<TraktSeasonComment>, TraktSeasonComment... | namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Seasons
{
using Enums;
using Objects.Basic;
using Objects.Get.Shows.Seasons;
using System.Collections.Generic;
internal class TraktSeasonCommentsRequest : TraktGetByIdSeasonRequest<TraktPaginationListResult<TraktSeasonComment>, TraktSeasonComment... | Fix uri templates in season requests. | Fix uri templates in season requests.
| C# | mit | henrikfroehling/TraktApiSharp |
6653721c4b0a32875254ca5815817bb0b5647720 | src/NQuery/Optimization/AggregationPhysicalOperatorChooser.cs | src/NQuery/Optimization/AggregationPhysicalOperatorChooser.cs | using System;
using System.Collections;
using System.Collections.Immutable;
using System.Linq;
using NQuery.Binding;
namespace NQuery.Optimization
{
internal sealed class AggregationPhysicalOperatorChooser : BoundTreeRewriter
{
protected override BoundRelation RewriteGroupByAndAggregationRelation(Boun... | using System;
using System.Collections;
using System.Collections.Immutable;
using System.Linq;
using NQuery.Binding;
namespace NQuery.Optimization
{
internal sealed class AggregationPhysicalOperatorChooser : BoundTreeRewriter
{
protected override BoundRelation RewriteGroupByAndAggregationRelation(Boun... | Fix bug which causes unnecessary sorts | Fix bug which causes unnecessary sorts
We currently insert a sort node independent of whether the aggregation
has any groups. Omit the sorting if we only need to aggregate.
| C# | mit | terrajobst/nquery-vnext |
28f3bc840f6034249404c23fd039cf4436cd0492 | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | src/Stripe.net/Services/Terminal/Readers/ReaderListOptions.cs | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
[JsonProperty("location")]
public string Location { get; set; }
[Obsolete("This feature has been deprecated and should not be used moving forward.")]
[JsonPro... | namespace Stripe.Terminal
{
using System;
using Newtonsoft.Json;
public class ReaderListOptions : ListOptions
{
/// <summary>
/// A location ID to filter the response list to only readers at the specific location.
/// </summary>
[JsonProperty("location")]
public ... | Support `Status` filter when listing Terminal `Reader`s | Support `Status` filter when listing Terminal `Reader`s
| C# | apache-2.0 | stripe/stripe-dotnet |
c533e4cf675a0f8300034f5086e22a7604750225 | src/Microsoft.Azure.WebJobs.ServiceBus/EventHubs/EventHubTriggerAttribute.cs | src/Microsoft.Azure.WebJobs.ServiceBus/EventHubs/EventHubTriggerAttribute.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Description;
namespace Microsoft.Azure.WebJobs.ServiceBus
{
/// <summary>
/// Setup an 'trigger' on a parameter to... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Description;
namespace Microsoft.Azure.WebJobs.ServiceBus
{
/// <summary>
/// Setup an 'trigger' on a parameter to... | Add event hub connection property | Add event hub connection property
| C# | mit | Azure/azure-webjobs-sdk,Azure/azure-webjobs-sdk |
a4bb225f103bbbcbbeb1fcc5d9d7b3f06b758e71 | Web/EndPoints/ExecuteEndPoint.cs | Web/EndPoints/ExecuteEndPoint.cs | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using BookSleeve;
using SignalR;
namespace Compilify.Web.EndPoints
{
public class ExecuteEndPoint : PersistentConnection
{
/// <summary>
/// Handle messages sent by the client.</summary>
protected override Ta... | using System;
using System.Threading.Tasks;
using System.Web.Mvc;
using BookSleeve;
using SignalR;
namespace Compilify.Web.EndPoints
{
public class ExecuteEndPoint : PersistentConnection
{
/// <summary>
/// Handle messages sent by the client.</summary>
protected override Ta... | Throw an exception if the Redis connection is not open | Throw an exception if the Redis connection is not open
| C# | mit | vendettamit/compilify,vendettamit/compilify,jrusbatch/compilify,appharbor/ConsolR,appharbor/ConsolR,jrusbatch/compilify |
28f3f005e451aca980b56325fab805bd01f285ab | Norma/ViewModels/LibraryViewModel.cs | Norma/ViewModels/LibraryViewModel.cs | using System.Diagnostics;
using System.Windows.Input;
using Norma.Models;
using Norma.ViewModels.Internal;
using Prism.Commands;
namespace Norma.ViewModels
{
internal class LibraryViewModel : ViewModel
{
private readonly Library _library;
public string Name => _library.Name;
public... | using System.Diagnostics;
using System.Windows.Input;
using Norma.Models;
using Norma.ViewModels.Internal;
using Prism.Commands;
namespace Norma.ViewModels
{
internal class LibraryViewModel : ViewModel
{
private readonly Library _library;
public string Name => _library.Name;
public... | Remove protocol from licenses view. | Remove protocol from licenses view.
| C# | mit | fuyuno/Norma |
3770e63d4ff6a5e7a464d3c39525f5a171b59a02 | CoffeeFilter.UITests.Shared/UITestsHelpers.cs | CoffeeFilter.UITests.Shared/UITestsHelpers.cs | using System;
using System.ComponentModel;
namespace CoffeeFilter.UITests.Shared
{
public static class UITestsHelpers
{
public static string XTCApiKey {
get;
} = "024b0d715a7e9c22388450cf0069cb19";
public static TestType SelectedTest { get; set; }
public enum TestType
{
NoConnection,
ParseError,... | using System;
using System.ComponentModel;
namespace CoffeeFilter.UITests.Shared
{
public static class UITestsHelpers
{
public static string XTCApiKey {
get;
} = "024b0d715a7e9c22388450cf0069cb19";
public static TestType SelectedTest { get; set; }
public enum TestType
{
OpenCoffee = 0,
NoConnect... | Set OpenCoffee as default test type | [CoffeeFilter.UITests] Set OpenCoffee as default test type | C# | mit | jamesmontemagno/Coffee-Filter,hoanganhx86/Coffee-Filter |
fba11017f695f9b26b62c7670c1cd2d59232307d | src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs | src/CompaniesHouse.Tests/CompaniesHouseDocumentClientTests/CompaniesHouseDocumentClientTests.cs | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using CompaniesHouse.Response.Document;
using CompaniesHouse.UriBuilders;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace CompaniesHouse.Tests.CompaniesHouseDocumentClientTests
{
[TestFixture]
public class ... | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using CompaniesHouse.Response.Document;
using CompaniesHouse.UriBuilders;
using FluentAssertions;
using Moq;
using NUnit.Framework;
namespace CompaniesHouse.Tests.CompaniesHouseDocumentClientTests
{
[TestFixture]
public class ... | Add using when creating a memorystream | Add using when creating a memorystream
| C# | mit | LiberisLabs/CompaniesHouse.NET,kevbite/CompaniesHouse.NET |
bbf8187e0a678f84adf87e3ff20445551b4e417b | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | Engine/Plugins/Klawr/KlawrCodeGeneratorPlugin/Resources/WrapperProjectTemplate/TestActor.cs | using System;
using System.Runtime.InteropServices;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
public class TestActor : AActorScriptObject
{
public TestActor(long instanceID, UObjectHandle nativeObject) : base(in... | using System;
using System.Runtime.InteropServices;
using Klawr.ClrHost.Managed;
using Klawr.ClrHost.Interfaces;
using Klawr.ClrHost.Managed.SafeHandles;
namespace Klawr.UnrealEngine
{
// NOTE: IScriptObject should probably be considered deprecated in favor of UKlawrScriptComponent
public class TestActor : AA... | Comment out some test code that no longer works due to API changes in UE | Comment out some test code that no longer works due to API changes in UE
AActor::K2_GetWorld() was removed in UE 4.7, and there doesn't seem to
be any direct Blueprint equivalent for AActor::GetWorld().
| C# | mit | Algorithman/klawr,lightszero/klawr,Algorithman/klawr,lightszero/klawr,enlight/klawr,enlight/klawr,enlight/klawr,Algorithman/klawr,lightszero/klawr |
792512d98d2dcb2fe6057a2f439250eb8decf9f3 | projects/FluentSample/test/FluentSample.Test.Unit/BeCompletedTest.cs | projects/FluentSample/test/FluentSample.Test.Unit/BeCompletedTest.cs | //-----------------------------------------------------------------------
// <copyright file="BeCompletedTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample.Test.Unit
{
... | //-----------------------------------------------------------------------
// <copyright file="BeCompletedTest.cs" company="Brian Rogers">
// Copyright (c) Brian Rogers. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace FluentSample.Test.Unit
{
... | Rename tests after file rename | Rename tests after file rename
| C# | unlicense | brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync |
e2693957abecb521752c5a40dbb31ef2e6862a94 | src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs | src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdigEngine.Extensions
{
using Markdig;
using Markdig.Renderers;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.DocAsCode.MarkdigEngine.Extensions
{
using Markdig;
using Markdig.Renderers;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
... | Fix link resolve not resolving child token | Fix link resolve not resolving child token
| C# | mit | dotnet/docfx,superyyrrzz/docfx,superyyrrzz/docfx,superyyrrzz/docfx,dotnet/docfx,dotnet/docfx |
6d44cc958f3b5ba01c3cc903f2231978f1879be4 | src/Orchard.Web/Modules/Orchard.Packaging/DefaultPackagingUpdater.cs | src/Orchard.Web/Modules/Orchard.Packaging/DefaultPackagingUpdater.cs | using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;
namespace Orchard.Packaging {
[OrchardFeature("Gallery")]
public class DefaultPackagingUp... | using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;
namespace Orchard.Packaging {
[OrchardFeature("Gallery")]
public class DefaultPackagingUp... | Change the feed url to the new url for 0.8 | Change the feed url to the new url for 0.8
--HG--
branch : dev
| C# | bsd-3-clause | arminkarimi/Orchard,m2cms/Orchard,sfmskywalker/Orchard,sfmskywalker/Orchard-Off-The-Grid-Sample-Code,gcsuk/Orchard,Lombiq/Orchard,angelapper/Orchard,Lombiq/Orchard,salarvand/orchard,xkproject/Orchard,kouweizhong/Orchard,austinsc/Orchard,Codinlab/Orchard,jchenga/Orchard,tobydodds/folklife,aaronamm/Orchard,OrchardCMS/Orc... |
f7c8731df64930765937f9b6f54dce8cec448c77 | NBi.Framework/FailureMessage/Markdown/LookupExistsViolationMessageMarkdown.cs | NBi.Framework/FailureMessage/Markdown/LookupExistsViolationMessageMarkdown.cs | using MarkdownLog;
using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Lookup;
using NBi.Core.ResultSet.Lookup.Violation;
using NBi.Framework.FailureMessage.Common;
using NBi.Framework.FailureMessage.Common.Helper;
using NBi.Framework.FailureMessage.Markdown.Helper;
using NBi.Framework.Sampling;
using System;
using Sys... | using MarkdownLog;
using NBi.Core.ResultSet;
using NBi.Core.ResultSet.Lookup;
using NBi.Core.ResultSet.Lookup.Violation;
using NBi.Framework.FailureMessage.Common;
using NBi.Framework.FailureMessage.Common.Helper;
using NBi.Framework.FailureMessage.Markdown.Helper;
using NBi.Framework.Sampling;
using System;
using Sys... | Fix issue when the error messages are rendered in Markdown with an Always configuration | Fix issue when the error messages are rendered in Markdown with an Always configuration
| C# | apache-2.0 | Seddryck/NBi,Seddryck/NBi |
ca7bc8266c990d43d6807254e4f93af3751b1125 | bindings/src/BillboardSet.cs | bindings/src/BillboardSet.cs | using System;
namespace Urho {
public partial class BillboardSet
{
public BillboardWrapper GetBillboardSafe (uint index)
{
unsafe {
Billboard* result = BillboardSet_GetBillboard (handle, index);
if (result == null)
return null;
return new BillboardWrapper(result);
}
... | using System;
namespace Urho {
public partial class BillboardSet
{
public BillboardWrapper GetBillboardSafe (uint index)
{
unsafe {
Billboard* result = BillboardSet_GetBillboard (handle, index);
if (result == null)
return null;
return new BillboardWrapper(this, result);
... | Fix BillboardWrapper, prevent bb from collecting by GC | [Bindings] Fix BillboardWrapper, prevent bb from collecting by GC
| C# | mit | florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho |
0b326475f9438a1df7e9c1eb4abc6b6ec544c619 | src/RestfulRouting/Mapper.cs | src/RestfulRouting/Mapper.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
return new Route(path,
new RouteValueDictionary(new { controller, action }),
new RouteValueDic... | using System.Web.Mvc;
using System.Web.Routing;
namespace RestfulRouting
{
public abstract class Mapper
{
private readonly IRouteHandler _routeHandler;
protected Route GenerateRoute(string path, string controller, string action, string[] httpMethods)
{
return new Route(path,
new RouteValueDictionary(n... | Add new private field for the route handler | Add new private field for the route handler
| C# | mit | stevehodgkiss/restful-routing,restful-routing/restful-routing,stevehodgkiss/restful-routing,stevehodgkiss/restful-routing,restful-routing/restful-routing,restful-routing/restful-routing |
67c596d6851fe9f2e36abb392120a91aace01508 | Contentful.Core/Models/Management/UiExtension.cs | Contentful.Core/Models/Management/UiExtension.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Encapsulates information about a Contentful Ui Extension
/// </summary>
public class UiExtension : IContentfulResource
{
/// <summary>
... | using Contentful.Core.Configuration;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Encapsulates information about a Contentful Ui Extension
/// </summary>
[JsonConverter(typeof(ExtensionJsonConv... | Add jsonconverter to extension model | Add jsonconverter to extension model
| C# | mit | contentful/contentful.net |
710749fce43b4f9ae809cfdd9e1bef6d69cd9aa2 | ValueConverters.Shared/ValueConverterGroup.cs | ValueConverters.Shared/ValueConverterGroup.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
#elif (XAMARIN)
using Xamarin.Forms;
#endif
n... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
#if (NETFX || WINDOWS_PHONE)
using System.Windows;
using System.Windows.Data;
using System.Windows.Markup;
#elif (NETFX_CORE)
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Markup;
#elif (XAMARIN)
... | Add missing namespace for uwp | Add missing namespace for uwp
| C# | mit | thomasgalliker/ValueConverters.NET |
180158d7019e32787c42487f4bf48812afcafd65 | src/Bundlr/TemplateSource.cs | src/Bundlr/TemplateSource.cs | using System.IO;
using System.Web;
namespace Bundlr
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public TemplateSource(string global, Compiler compiler, TemplateFind... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace Bundlr
{
public class TemplateSource : IContentSource
{
private readonly string global;
private readonly Compiler compiler;
private readonly TemplateFinder finder;
public Template... | Add parallelism when compiling templates. | Add parallelism when compiling templates.
| C# | mit | mrydengren/templar,mrydengren/templar |
16e02fe572cff5df86fe79a44b7c2c45c81c0df7 | Mindscape.Raygun4Net/Logging/RaygunLogger.cs | Mindscape.Raygun4Net/Logging/RaygunLogger.cs | using Mindscape.Raygun4Net.Utils;
namespace Mindscape.Raygun4Net.Logging
{
public class RaygunLogger : Singleton<RaygunLogger>, IRaygunLogger
{
public RaygunLogLevel LogLevel { get; set; }
public void Error(string message)
{
Log(RaygunLogLevel.Error, message);
}
public void Warning(stri... | using Mindscape.Raygun4Net.Utils;
namespace Mindscape.Raygun4Net.Logging
{
public class RaygunLogger : Singleton<RaygunLogger>, IRaygunLogger
{
private const string RaygunPrefix = "Raygun: ";
public RaygunLogLevel LogLevel { get; set; }
public void Error(string message)
{
Log(RaygunLogLevel... | Add a prefix to each log | Add a prefix to each log
Add a prefix to each log
| C# | mit | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net |
aa863069a9093e70832aca8e46462db02cd181f1 | MultiMiner.Utility/Networking/PortScanner.cs | MultiMiner.Utility/Networking/PortScanner.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace MultiMiner.Utility.Networking
{
public class PortScanner
{
public static List<IPEndPoint> Find(string ipRange, int startingPort, int endingPort, int connectTimeout = 100)
{
if (sta... | using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
namespace MultiMiner.Utility.Networking
{
public class PortScanner
{
public static List<IPEndPoint> Find(string ipRange, int startingPort, int endingPort, int connectTimeout = 100)
{
if (sta... | Use Socket instead of TcpClient for port scanning Works around ObjectDisposedException on Linux + Mono | Use Socket instead of TcpClient for port scanning
Works around ObjectDisposedException on Linux + Mono
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner |
7b42bf04d1b0db24d77d964ac2c41198224d92b2 | TestAppUWP/Samples/Map/MapServiceSettings.cs | TestAppUWP/Samples/Map/MapServiceSettings.cs | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public static string Token = string.Empty;
}
} | namespace TestAppUWP.Samples.Map
{
public class MapServiceSettings
{
public const string TokenUwp1 = "TokenUwp1";
public const string TokenUwp2 = "TokenUwp2";
public static string SelectedToken = TokenUwp1;
}
} | Add multiple bing maps keys | Add multiple bing maps keys
| C# | mit | DanieleScipioni/TestApp |
6d5d4fc51b79d90d18072479f6cd288e25beceaa | src/lex4all/EngineControl.cs | src/lex4all/EngineControl.cs | using Microsoft.Speech.Recognition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lex4all
{
public static class EngineControl
{
/// <summary>
/// creates engine and sets properties
/// </summary>
//... | using Microsoft.Speech.Recognition;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace lex4all
{
public static class EngineControl
{
/// <summary>
/// creates engine and sets properties
/// </summary>
//... | Change recognized event handler for eval | Change recognized event handler for eval
| C# | bsd-2-clause | lex4all/lex4all,lex4all/lex4all,lex4all/lex4all |
75fc999bfd3b7fd8339d6f346d5d3a29e051e282 | src/OmniSharp/Api/Intellisense/OmnisharpController.Intellisense.cs | src/OmniSharp/Api/Intellisense/OmnisharpController.Intellisense.cs | using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Recommendations;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{
[HttpPost("autocomplete")... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Mvc;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Recommendations;
using Microsoft.CodeAnalysis.Text;
using OmniSharp.Models;
namespace OmniSharp
{
public partial class OmnisharpController
{... | Return completions from all documents | Return completions from all documents
- Return the completions from all documents.
This is a step towards combined intellisense for ASP.NET 5 projects.
| C# | mit | sreal/omnisharp-roslyn,sreal/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,nabychan/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,jtbm37/omnisharp-roslyn,ianbattersby/omnisharp-roslyn,nabychan/omnisharp-roslyn,fishg/omnisharp-roslyn,khellang/omnisharp-roslyn,sriramg... |
f9edbdf378761dda5ebd4b0ab5b9b329269b8868 | InfinniPlatform.Auth.HttpService/IoC/AuthHttpServiceContainerModule.cs | InfinniPlatform.Auth.HttpService/IoC/AuthHttpServiceContainerModule.cs | using InfinniPlatform.Http;
using InfinniPlatform.IoC;
namespace InfinniPlatform.Auth.HttpService.IoC
{
public class AuthHttpServiceContainerModule<TUser> : IContainerModule where TUser : AppUser
{
public void Load(IContainerBuilder builder)
{
builder.RegisterType(typeof(AuthIntern... | using InfinniPlatform.Http;
using InfinniPlatform.IoC;
namespace InfinniPlatform.Auth.HttpService.IoC
{
public class AuthHttpServiceContainerModule<TUser> : IContainerModule where TUser : AppUser
{
public void Load(IContainerBuilder builder)
{
builder.RegisterType(typeof(AuthIntern... | Fix auth http services registration | Fix auth http services registration
| C# | agpl-3.0 | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform |
08e31159fca22f2f599415f03de9b632073daa39 | osu.Game.Tests/Visual/UserInterface/TestSceneToolbarRulesetSelector.cs | osu.Game.Tests/Visual/UserInterface/TestSceneToolbarRulesetSelector.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using System.Linq... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using System.Linq... | Make testcase even more useful | Make testcase even more useful
| C# | mit | NeoAdonis/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,2y... |
c51fef28f9a40d26d2e6699ba3537f4056a8605b | RockLib.Logging.Microsoft.Extensions/RockLibLoggerExtensions.cs | RockLib.Logging.Microsoft.Extensions/RockLibLoggerExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RockLib.Logging.DependencyInjection;
using System;
namespace RockLib.Logging
{
public static class RockLibLoggerExtensions
{
public static ILoggingBuilder AddRockLibLoggerProvi... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using RockLib.Logging.DependencyInjection;
using System;
namespace RockLib.Logging
{
public static class RockLibLoggerExtensions
{
public static ILoggingBuilder AddRockLibLoggerProvi... | Add configureOptions parameter to extension methods | Add configureOptions parameter to extension methods
| C# | mit | RockFramework/Rock.Logging |
2e326b9948767ea5030577beb1a83c312c81f2b6 | ical.NET/Interfaces/DataTypes/IPeriodList.cs | ical.NET/Interfaces/DataTypes/IPeriodList.cs | using System.Collections.Generic;
namespace Ical.Net.Interfaces.DataTypes
{
public interface IPeriodList : IEncodableDataType, IList<IPeriod>
{
string TzId { get; set; }
IPeriod this[int index] { get; set; }
void Add(IDateTime dt);
void Remove(IDateTime dt);
}
} | using System.Collections.Generic;
namespace Ical.Net.Interfaces.DataTypes
{
public interface IPeriodList : IEncodableDataType, IList<IPeriod>
{
string TzId { get; set; }
new IPeriod this[int index] { get; set; }
void Add(IDateTime dt);
void Remove(IDateTime dt);
}
} | Stop hiding indexer on IList | Stop hiding indexer on IList
| C# | mit | rianjs/ical.net |
500ed7d236b39527e9d7e76d280bd156bcf6a1f2 | Content.IntegrationTests/Tests/StationEvents/StationEventsSystemTest.cs | Content.IntegrationTests/Tests/StationEvents/StationEventsSystemTest.cs | using System.Threading.Tasks;
using Content.Server.GameObjects.EntitySystems.StationEvents;
using NUnit.Framework;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.StationEvents
{
[TestFixture]
public class Station... | using System.Threading.Tasks;
using Content.Server.GameObjects.EntitySystems.StationEvents;
using NUnit.Framework;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Interfaces.Timing;
using Robust.Shared.IoC;
namespace Content.IntegrationTests.Tests.StationEvents
{
[TestFixture]
public class Station... | Fix station events system test | Fix station events system test
| C# | mit | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14 |
a240f9a1748c8c0e29f3cc49d16c421b2c024f96 | src/WebJobs.Script.WebHost/Security/KeyManagement/DefaultKeyValueConverterFactory.cs | src/WebJobs.Script.WebHost/Security/KeyManagement/DefaultKeyValueConverterFactory.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.Config;
using static Microsoft.... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Script.Config;
using static Microsoft.... | Use plain text for function secrets in Linux Containers | Use plain text for function secrets in Linux Containers
| C# | mit | Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script |
0dac770e38d899303147e6195a2fd9030a17c782 | osu.Game/Tests/Visual/OsuTestCase.cs | osu.Game/Tests/Visual/OsuTestCase.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Game.Tests.Visual
{
public abstract class OsuTestCase : TestCase
... | Remove TestCase cleanup temporarily until context disposal is sorted | Remove TestCase cleanup temporarily until context disposal is sorted
| C# | mit | smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,naoey/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,DrabWeb/osu,ppy/osu,peppy/osu-new,smoogipooo/osu,DrabWeb/osu,naoey/osu,peppy/osu,Frontear/osuKyzer,DrabWeb/osu,EVAST9919/osu,johnneijzen/osu,Nabile-Rahman... |
b36230755c26e7a064f3f3978293ce8cb4c36db6 | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | // Copyright 2016 Google Inc. 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/licenses/LICENSE-2.0
//
// Unless required by applicabl... | // Copyright 2016 Google Inc. 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/licenses/LICENSE-2.0
//
// Unless required by applicabl... | Remove the ListGroups snippet from Monitoring | Remove the ListGroups snippet from Monitoring
The code is commented out, but the snippet was still found. Oops.
| C# | apache-2.0 | evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,ctaggart/google-cloud-dotnet,evildour/google-cloud-dotnet,evildour/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,ctaggart/google-cloud-dotnet,googleapis/google-cloud-... |
336d6ec9e787dcc9395e17cdd19df6ff4bfa7276 | MediaManager/Plugin.MediaManager.Android/Properties/AssemblyInfo.cs | MediaManager/Plugin.MediaManager.Android/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[... | Set Android permissions through Assemblyinfo | Set Android permissions through Assemblyinfo
| C# | mit | martijn00/XamarinMediaManager,mike-rowley/XamarinMediaManager,bubavanhalen/XamarinMediaManager,mike-rowley/XamarinMediaManager,modplug/XamarinMediaManager,martijn00/XamarinMediaManager |
e78a480966c57d84cfe8bfd102aa29742c495c75 | BigEgg.ConsoleExtension/Parameters/Errors/CommandHelpRequestError.cs | BigEgg.ConsoleExtension/Parameters/Errors/CommandHelpRequestError.cs | namespace BigEgg.ConsoleExtension.Parameters.Errors
{
using System;
internal class CommandHelpRequestError : Error
{
public CommandHelpRequestError()
: base(ErrorType.CommandHelpRequest, true)
{ }
public string CommandName { get; private set; }
public bool Ex... | namespace BigEgg.ConsoleExtension.Parameters.Errors
{
using System;
internal class CommandHelpRequestError : Error
{
public CommandHelpRequestError(string commandName, bool existed, Type commandType)
: base(ErrorType.CommandHelpRequest, true)
{
CommandName = command... | Update the Command Help Request Error to get the value | Update the Command Help Request Error to get the value
| C# | mit | BigEggTools/JsonComparer |
251bdfdee8c0232235b8de4f25620ca270946fd6 | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs | osu.Game.Rulesets.Osu/Beatmaps/OsuBeatmap.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Osu.Obje... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Osu.Objects;
namespace osu.Game.Rulesets... | Simplify statistics in osu ruleset | Simplify statistics in osu ruleset
| C# | mit | smoogipoo/osu,johnneijzen/osu,ppy/osu,naoey/osu,naoey/osu,UselessToucan/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,ZLima12/osu,ppy/osu,naoey/osu,johnneijzen/osu,ppy/osu,DrabWeb/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,2ya... |
523332242038c4216b4ad7898a3566e3d82c0ac3 | ChildProcessUtil/Program.cs | ChildProcessUtil/Program.cs | using System;
using System.Collections.Generic;
using System.Threading;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] ar... | using System;
using System.Collections.Generic;
using System.Threading;
using Nancy;
using Nancy.Hosting.Self;
namespace ChildProcessUtil
{
public class Program
{
private const string HttpAddress = "http://localhost:";
private static NancyHost host;
private static void Main(string[] ar... | Add short desc on main | Add short desc on main
| C# | mit | ramik/ChildProcessUtil |
5406194784278a5d74d903079e77933fc10969cc | Common/Constants.cs | Common/Constants.cs | namespace ReimuPlugins.Common
{
public enum Revision
{
Rev1 = 1,
Rev2
}
public enum ErrorCode
{
NoFunction = -1,
AllRight,
NotSupport,
FileReadError,
FileWriteError,
NoMemory,
UnknownError,
DialogCanceled
}
pu... | using System.Text;
namespace ReimuPlugins.Common
{
public enum Revision
{
Rev1 = 1,
Rev2
}
public enum ErrorCode
{
NoFunction = -1,
AllRight,
NotSupport,
FileReadError,
FileWriteError,
NoMemory,
UnknownError,
DialogCa... | Add Enc class for convenience | Add Enc class for convenience
| C# | bsd-2-clause | y-iihoshi/REIMU_Plugins_V2,y-iihoshi/REIMU_Plugins_V2 |
68d196b0d4e19da43d44b64325b1a05436696cf7 | Settings/OptionsDialogPage.cs | Settings/OptionsDialogPage.cs | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | Rename Raytraced settings Options page to just Cycles. | Rename Raytraced settings Options page to just Cycles.
| C# | apache-2.0 | mcneel/RhinoCycles |
5522f022576e8e20225d2c3094b06529a7848bc1 | src/NodaTime/Utility/InvalidNodaDataException.cs | src/NodaTime/Utility/InvalidNodaDataException.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Utility
{
/// <summary>
/// Exception thrown when data read by Noda Time (such as serialized time zone data) is ... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
namespace NodaTime.Utility
{
/// <summary>
/// Exception thrown when data read by Noda Time (such as serialized time zone ... | Fix crazy Unix line endings ;) | Fix crazy Unix line endings ;)
| C# | apache-2.0 | BenJenkinson/nodatime,nodatime/nodatime,zaccharles/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime,malcolmr/nodatime,zaccharles/nodatime,jskeet/nodatime,zaccharles/nodatime,malcolmr/nodatime,zaccharles/nodatime,zaccharles/nodatime,malcolmr/nodatime,nodatime/nodatime,zaccharles/nodatime |
be70d0e1ea242e6a7ba0829a188240bd453a26bd | src/Cake.Yarn/IYarnRunnerCommands.cs | src/Cake.Yarn/IYarnRunnerCommands.cs | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | using System;
namespace Cake.Yarn
{
/// <summary>
/// Yarn Runner command interface
/// </summary>
public interface IYarnRunnerCommands
{
/// <summary>
/// execute 'yarn install' with options
/// </summary>
/// <param name="configure">options when running 'yarn insta... | Fix 'yarn audit'. Register the Audit alias | Fix 'yarn audit'. Register the Audit alias
Fixes commit cd2e060948ba57c64798fa551b3a33cc6a792314
| C# | mit | MilovanovM/cake-yarn,MilovanovM/cake-yarn |
225adbdae2af28ceb19195001fbdde60b8783a61 | src/Wave.IoC.Unity/Extensions/FluentConfigurationSourceExtensions.cs | src/Wave.IoC.Unity/Extensions/FluentConfigurationSourceExtensions.cs | /* Copyright 2014 Jonathan Holland.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | /* Copyright 2014 Jonathan Holland.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... | Use interface, not concrete type, for Unity Fluent extension. | Use interface, not concrete type, for Unity Fluent extension.
| C# | apache-2.0 | WaveServiceBus/WaveServiceBus |
f4b9eef94902a6e7c4b3db0df7d56b13b6a17dc2 | tests/Magick.NET.Tests/Shared/MagickImageTests/TheAddNoiseMethod.cs | tests/Magick.NET.Tests/Shared/MagickImageTests/TheAddNoiseMethod.cs | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | Test with a slightly larger image. | Test with a slightly larger image.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
a317d1d0240ffdb91d87be2faee1c0db34d3eafc | Assets/Scripts/ComponentSolvers/Modded/CoroutineModComponentSolver.cs | Assets/Scripts/ComponentSolvers/Modded/CoroutineModComponentSolver.cs | using System.Collections;
using System.Reflection;
using UnityEngine;
public class CoroutineModComponentSolver : ComponentSolver
{
public CoroutineModComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller canceller, MethodInfo processMethod, Compo... | using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
public class CoroutineModComponentSolver : ComponentSolver
{
public CoroutineModComponentSolver(BombCommander bombCommander, MonoBehaviour bombComponent, IRCConnection ircConnection, CoroutineCanceller cancelle... | Add option to yield return a KMSelectable to toggle-interact with. | Add option to yield return a KMSelectable to toggle-interact with.
| C# | mit | ashbash1987/ktanemod-twitchplays,CaitSith2/ktanemod-twitchplays |
206b8de107e191f065ed304957dd6a5ccfdd6fbf | AsyncRewriter/RewriteAsync.cs | AsyncRewriter/RewriteAsync.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace AsyncRewriter
{
/// <summary>
/// </summary>
/// <remarks>
/// http://stackoverflow.com/quest... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace AsyncRewriter
{
/// <summary>
/// </summary>
/// <remarks>
/// http://stackoverflow.com/quest... | Fix null reference exception when running under Mono | Fix null reference exception when running under Mono
When running under Mono, Log property is null and then, Rewriter throws NullReferenceExceptions when trying to use the underlying Log.
When Log is null, use the default Rewriter constructor which uses a Console logger. | C# | mit | roji/AsyncRewriter |
fd838d3d800ce9eca3f70f2d89d0bf10a59d9f5e | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla42069_Page.xaml.cs | Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla42069_Page.xaml.cs | using System;
using System.Diagnostics;
using System.Threading;
namespace Xamarin.Forms.Controls.Issues
{
public partial class Bugzilla42069_Page : ContentPage
{
public const string DestructorMessage = ">>>>>>>>>> Bugzilla42069_Page destructor <<<<<<<<<<";
public Bugzilla42069_Page()
{
InitializeComponent... | using System;
using System.Diagnostics;
using System.Threading;
namespace Xamarin.Forms.Controls.Issues
{
public partial class Bugzilla42069_Page : ContentPage
{
public const string DestructorMessage = ">>>>>>>>>> Bugzilla42069_Page destructor <<<<<<<<<<";
public Bugzilla42069_Page()
{
#if APP
Initiali... | Add missing compiler directives to fix build error | Add missing compiler directives to fix build error
| C# | mit | Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms,Hitcents/Xamarin.Forms |
c6440d810dfe007eb88470d5d23fd30b94333dc0 | src/Castle.Windsor.MsDependencyInjection/WindsorServiceProviderFactory.cs | src/Castle.Windsor.MsDependencyInjection/WindsorServiceProviderFactory.cs | using System;
using Microsoft.Extensions.DependencyInjection;
namespace Castle.Windsor.MsDependencyInjection
{
public class WindsorServiceProviderFactory : IServiceProviderFactory<IWindsorContainer>
{
public IWindsorContainer CreateBuilder(IServiceCollection services)
{
var contain... | using System;
using Microsoft.Extensions.DependencyInjection;
namespace Castle.Windsor.MsDependencyInjection
{
public class WindsorServiceProviderFactory : IServiceProviderFactory<IWindsorContainer>
{
public IWindsorContainer CreateBuilder(IServiceCollection services)
{
var contain... | Use extension method for WindsorRegistrationHelper.AddServices | Use extension method for WindsorRegistrationHelper.AddServices
| C# | mit | volosoft/castle-windsor-ms-adapter |
a7e541a941f4068a4f5d66d3a607663d6dbe82cd | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/TestHelpers/MyDatabaseSettings.cs | using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings
{
public string ConnectionString { get; } = $@"{TestContext.CurrentContext.TestDirectory}\Tests.db";
}
}
| using NUnit.Framework;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers
{
public class MyDatabaseSettings : IMyDatabaseSettings
{
public string ConnectionString { get; } = $@"Data Source={TestContext.CurrentContext.TestDirectory}\Tests.db;Version=3;New=True;BinaryGUID=False... | Add interface as resharper forgot | Add interface as resharper forgot
| C# | mit | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork |
20470b9f31bed9ba1fd3d5189190ebd9f05dfdb0 | IModel.cs | IModel.cs | using System;
using System.Collections.Generic;
namespace ChamberLib
{
public interface IModel
{
object Tag { get; set; }
IEnumerable<IMesh> GetMeshes();
void Draw(Matrix world, Matrix view, Matrix projection,
IMaterial materialOverride=null,
LightingData? lig... | using System;
using System.Collections.Generic;
namespace ChamberLib
{
public interface IModel
{
object Tag { get; set; }
IEnumerable<IMesh> GetMeshes();
void Draw(Matrix world, Matrix view, Matrix projection,
IMaterial materialOverride=null,
LightingData? lig... | Update the closest known distance. | Update the closest known distance.
| C# | lgpl-2.1 | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib |
66f86e3f7d0d39c53d38a7135aa8e10b3eed9e55 | src/Microsoft.Diagnostics.EventFlow.Outputs.ElasticSearch/Configuration/ElasticSearchMappingsConfiguration.cs | src/Microsoft.Diagnostics.EventFlow.Outputs.ElasticSearch/Configuration/ElasticSearchMappingsConfiguration.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Diagnostics.EventFlow.Configuration
{
public class ElasticSearchMappingsConfiguration
{
public Dictionary<string, ElasticSearchMappingsConfigurationPropertyDescriptor... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.Diagnostics.EventFlow.Configuration
{
public class ElasticSearchMappingsConfiguration
{
public Dictionary<string, ElasticSearchMappingsConfigurationPropertyDescriptor... | Make ES mapping configuration Properties setter public | Make ES mapping configuration Properties setter public
(emphasizes the use of the property during deserialization) | C# | mit | karolz-ms/diagnostics-eventflow |
08928f6a11802d7cc0208a3dd8c2637f2a7b6396 | Src/XmlDocInspections.Plugin.Tests/Integrative/MissingXmlDocHighlightingTestsBase.cs | Src/XmlDocInspections.Plugin.Tests/Integrative/MissingXmlDocHighlightingTestsBase.cs | using System.IO;
using JetBrains.Annotations;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.Psi;
using XmlDocInspections.Plugin.Highlighting;
namespace XmlDocInspections.Plugin.Tests.Integrativ... | using System.IO;
using JetBrains.Annotations;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.FeaturesTestFramework.Daemon;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.TestFramework;
using XmlDocInspections.Plugin.Highlighting;
namespace ... | Replace CSharpHighlightingTestBase (will be removed in 2016.2 SDK) usage with TestNetFramework4-attribute | Replace CSharpHighlightingTestBase (will be removed in 2016.2 SDK) usage with TestNetFramework4-attribute
| C# | mit | ulrichb/XmlDocInspections,ulrichb/XmlDocInspections,ulrichb/XmlDocInspections |
ec467a1aaa5f5fbf4e95bb49e3196bca4e2a257c | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs | src/SFA.DAS.EmployerApprenticeshipsService.Infrastructure/Services/CompaniesHouseEmployerVerificationService.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Azure;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.Infrastructure.Services
{
pu... | using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using SFA.DAS.EmployerApprenticeshipsService.Domain;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Configuration;
using SFA.DAS.EmployerApprenticeshipsService.Domain.Interfaces;
namespace SFA.DAS.EmployerApprenticeshipsService.In... | Modify the companies house verification service to use the config initalised as a constructor parameter | Modify the companies house verification service to use the config initalised as a constructor parameter
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
cb417c0277b1b0106232e77972ee87a1ba1818d2 | src/Esfa.Vacancy.Register.UnitTests/SearchApprenticeship/Api/GivenSearchApprenticeshipParameters/AndPageNumber.cs | src/Esfa.Vacancy.Register.UnitTests/SearchApprenticeship/Api/GivenSearchApprenticeshipParameters/AndPageNumber.cs | using AutoMapper;
using Esfa.Vacancy.Api.Types;
using Esfa.Vacancy.Register.Api;
using Esfa.Vacancy.Register.Application.Queries.SearchApprenticeshipVacancies;
using FluentAssertions;
using NUnit.Framework;
namespace Esfa.Vacancy.Register.UnitTests.SearchApprenticeship.Api.GivenSearchApprenticeshipParameters
{
[T... | using AutoMapper;
using Esfa.Vacancy.Api.Types;
using Esfa.Vacancy.Register.Api;
using Esfa.Vacancy.Register.Application.Queries.SearchApprenticeshipVacancies;
using FluentAssertions;
using NUnit.Framework;
namespace Esfa.Vacancy.Register.UnitTests.SearchApprenticeship.Api.GivenSearchApprenticeshipParameters
{
[T... | Fix spelling error in method name | Fix spelling error in method name
| C# | mit | SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api,SkillsFundingAgency/vacancy-register-api |
d410d5576e529888c29db558cd65ed94ed601451 | Assets/HoloToolkit/Utilities/Scripts/Extensions/TransformExtensions.cs | Assets/HoloToolkit/Utilities/Scripts/Extensions/TransformExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Text;
using UnityEngine;
namespace HoloToolkit.Unity
{
public static class TransformExtensions
{
/// <summary>
/// An extension... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Text;
using UnityEngine;
namespace HoloToolkit.Unity
{
public static class TransformExtensions
{
/// <summary>
/// An extension... | Create one single instance of StringBuilder | Create one single instance of StringBuilder
| C# | mit | davesmits/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,HoloFan/HoloToolkit-Unity,darax/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,chadbramwell/HoloToolkit-Unity,CameronVetter/HoloToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unit... |
a9f7b0b6793e6e94457d19b04e263f57fd10b158 | webscripthook-android/WebActivity.cs | webscripthook-android/WebActivity.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Webkit;
using Android.Widget;
namespace webscripthook_android
{
[Activity(Label = "GT... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Webkit;
using Android.Widget;
namespace webscripthook_android
{
[Activity(Label = "GT... | Stop webview from reloading when rotated | Stop webview from reloading when rotated
| C# | mit | LibertyLocked/webscripthook-android |
98726e9ec54c29f0cd8aed4bdc599b55224a79d0 | src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml | src/SFA.DAS.EmployerUsers.Web/Views/Login/AuthorizeResponse.cshtml | @model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel
<h1 class="heading-large">Login successful</h1>
<form id="mainForm" method="post" action="@Model.ResponseFormUri">
<div id="autoRedirect" style="display: none;">Please wait...</div>
@Html.Raw(Model.ResponseFormFields)
<div id="man... | @model IdentityServer3.Core.ViewModels.AuthorizeResponseViewModel
@{
ViewBag.PageID = "authorize-response";
ViewBag.Title = "Login Successful";
ViewBag.HideSigninLink = "true";
}
<h1 class="heading-xlarge">Login successful</h1>
<form id="mainForm" method="post" action="@Model.ResponseFormUri">
... | Fix h1 class to match other views | Fix h1 class to match other views
| C# | mit | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers |
680869a1424c32130b06d4e7e57f7b32cb849089 | FbxTime.cs | FbxTime.cs | using System;
namespace FbxSharp
{
public struct FbxTime
{
public static readonly FbxTime Infinite = new FbxTime(0x7fffffffffffffffL);
public static readonly FbxTime Zero = new FbxTime(0);
public FbxTime(long time)
{
Value = time;
}
public long Valu... | using System;
namespace FbxSharp
{
public struct FbxTime
{
public static readonly FbxTime Infinite = new FbxTime(0x7fffffffffffffffL);
public static readonly FbxTime Zero = new FbxTime(0);
public const long UnitsPerSecond = 46186158000L;
public FbxTime(long time)
{
... | Store the number of time units per second in a static const value. | Store the number of time units per second in a static const value.
| C# | lgpl-2.1 | izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp,izrik/FbxSharp |
7d25ac7ab17b804325bafbe14a99bbe26681df6f | PU-Stub/Controllers/SnodController.cs | PU-Stub/Controllers/SnodController.cs | using Kentor.PU_Adapter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace PU_Stub.Controllers
{
public class SnodController : ApiController
{
private static readonly IDictionary<string, string> TestPersons;
... | using Kentor.PU_Adapter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace PU_Stub.Controllers
{
public class SnodController : ApiController
{
private static readonly IDictionary<string, string> TestPersons;
... | Add inital response lines in PU-Stub to mimic production PU | Add inital response lines in PU-Stub to mimic production PU
| C# | mit | KentorIT/PU-Adapter,KentorIT/PU-Adapter |
064efcb8a8622a7e533e791d322b4cf2f21f2a73 | CIV/Program.cs | CIV/Program.cs | using CIV.Ccs;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["Prison"], 450);
foreach (var action in t... | using static System.Console;
using CIV.Ccs;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["Prison"], 450);
... | Add “using static System.Console” to main | Add “using static System.Console” to main
| C# | mit | lou1306/CIV,lou1306/CIV |
140ea7beb8cc69d51115be67046fb9f5085aed88 | src/Lunet.Core/SiteFactory.cs | src/Lunet.Core/SiteFactory.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.IO;
using System.Reflection;
using Autofac;
using Lunet.Core;
using Microsoft.Extensions.Logging;
namespace... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.IO;
using System.Reflection;
using Autofac;
using Lunet.Core;
using Microsoft.Extensions.Logging;
namespace... | Make sure that a plugin is only created once | Make sure that a plugin is only created once
| C# | bsd-2-clause | lunet-io/lunet,lunet-io/lunet |
4cd47cbe710464ee62133ca9cec8967bf47d8b3c | Assets/Resources/Scripts/GameStart.cs | Assets/Resources/Scripts/GameStart.cs | using UnityEngine;
using System.Collections;
public class GameStart : MonoBehaviour {
static int gameMode = INSTRUCTION;
const int INSTRUCTION = -1;
const int ONE_PLAYER = 1;
const int TWO_PLAYER = 2;
/// <summary>
/// The game mode of the current game
/// </summary>
public static in... | using UnityEngine;
using System.Collections;
public class GameStart : MonoBehaviour {
static int gameMode = ONE_PLAYER;
const int INSTRUCTION = -1;
const int ONE_PLAYER = 1;
const int TWO_PLAYER = 2;
/// <summary>
/// The game mode of the current game
/// </summary>
public static int... | Change default gamemode from INSTRUCTION to ONE_PLAYER | Change default gamemode from INSTRUCTION to ONE_PLAYER
| C# | mit | Curdflappers/UltimateTicTacToe |
198f2ea8c87c83e308be4f0e06cb12f49efc1815 | AbpODataDemo-Core/aspnet-core/src/AbpODataDemo.Web.Core/Controllers/PersonsController.cs | AbpODataDemo-Core/aspnet-core/src/AbpODataDemo.Web.Core/Controllers/PersonsController.cs | using Abp.AspNetCore.OData.Controllers;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Web.Models;
using AbpODataDemo.People;
using Microsoft.AspNet.OData;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace AbpODataDemo.Controllers
{
[DontWrapResult]
pub... | using Abp.AspNetCore.OData.Controllers;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Web.Models;
using AbpODataDemo.People;
using Microsoft.AspNet.OData;
using Microsoft.AspNetCore.Mvc;
using System.Linq;
using System.Threading.Tasks;
namespace AbpODataDemo.Controllers
{
[DontWrapResult]
pub... | Fix model binding for OData Patch, Post, Put | Fix model binding for OData Patch, Post, Put
| C# | mit | aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata,aspnetboilerplate/sample-odata |
ee6d1c9952cef13c992e0162bc1d4c78f9980c68 | Settings/OptionsDialogPage.cs | Settings/OptionsDialogPage.cs | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | /**
Copyright 2014-2017 Robert McNeel and Associates
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | Add PageImage override for Mac and fix title string | Add PageImage override for Mac and fix title string
| C# | apache-2.0 | mcneel/RhinoCycles |
b77fa121c3b8eb873d28db6b77dc2638c1c1fa96 | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml | src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerTeam/Index.cshtml | @model SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account
<h1 class="heading-xlarge" id="company-Name">@Model.Name</h1>
<div class="grid-row">
<div class="column-two-thirds">
<div style="max-width: 90%">
<div class="grid-row">
<div class="column-half">
<h3 ... | @model SFA.DAS.EmployerApprenticeshipsService.Domain.Entities.Account.Account
<h1 class="heading-xlarge" id="company-Name">@Model.Name</h1>
<div class="grid-row">
<div class="column-two-thirds">
<div style="max-width: 90%">
<div class="grid-row">
<div class="column-half">
<h3 ... | Update funding link to go to account transactions index | Update funding link to go to account transactions index
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
4086811ab7ee0fe024735b9727f49b362f1caf8b | MadeWithLove.Middleware/Extensions.cs | MadeWithLove.Middleware/Extensions.cs | namespace MadeWithLove.Middleware
{
using Owin;
public static class Extensions
{
public static void MakeWithLove(this IAppBuilder app, string customIngredient)
{
app.Use<MadeWithLoveMiddleware>(customIngredient);
}
}
}
| namespace MadeWithLove.Middleware
{
using Owin;
public static class Extensions
{
public static void MakeWithLove(this IAppBuilder app, string customIngredient = null)
{
app.Use<MadeWithLoveMiddleware>(customIngredient);
}
}
}
| Make custom ingredient optional on extension method | Make custom ingredient optional on extension method
| C# | mit | druttka/made-with-love |
c7dc3c80a9f7f8f67c01b8f800907edf501e851c | osu.Framework/OS/HeadlessGameHost.cs | osu.Framework/OS/HeadlessGameHost.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Input;
using osu.Framework.Statistics;
namespace osu.Framework.OS
{
/// <summary>
/// A... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Input;
using osu.Framework.Input.Handlers;
using osu.Framework.St... | Add empty inputhandlers list for headless execution. | Add empty inputhandlers list for headless execution.
| C# | mit | Nabile-Rahmani/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,ZLima12/osu-framework,naoey/osu-framework,NeoAdonis/osu-framework,default0/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework... |
12fe8820083b1d6f47e81a5c8414cef7cb634504 | source/AssemblyInfo.cs | source/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior an... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior an... | Increase version number to 0.1.0.0. | Increase version number to 0.1.0.0.
| C# | mit | TallAmbitions/Gitnub |
814e398b80c476337243c45e88f6a678e5740676 | LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs | LiveSplit/LiveSplit.Core/Model/Comparisons/StandardComparisonGeneratorsFactory.cs | using System.Collections.Generic;
namespace LiveSplit.Model.Comparisons
{
public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory
{
static StandardComparisonGeneratorsFactory()
{
CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Comp... | using System.Collections.Generic;
namespace LiveSplit.Model.Comparisons
{
public class StandardComparisonGeneratorsFactory : IComparisonGeneratorsFactory
{
static StandardComparisonGeneratorsFactory()
{
CompositeComparisons.AddShortComparisonName(BestSegmentsComparisonGenerator.Comp... | Add short name for Worst Segments | Add short name for Worst Segments
| C# | mit | Fluzzarn/LiveSplit,Jiiks/LiveSplit,PackSciences/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,chloe747/LiveSplit,stoye/LiveSplit,Glurmo/LiveSplit,Jiiks/LiveSplit,stoye/LiveSplit,chloe747/LiveSplit,Dalet/LiveSplit,Dalet/LiveSplit,zoton2/LiveSplit,ROMaster2/LiveSplit,ROMaster2/LiveSplit,kugelrund/LiveSplit,Glurmo/Liv... |
30a292eaa381a8304dd8f1e8ba8978538478a828 | test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializerTests.cs | test/Microsoft.ApplicationInsights.AspNetCore.Tests/TelemetryInitializers/DomainNameRoleInstanceTelemetryInitializerTests.cs | namespace Microsoft.ApplicationInsights.AspNetCore.Tests.ContextInitializers
{
using System;
using System.Globalization;
using System.Net;
using System.Net.NetworkInformation;
using Helpers;
using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers;
using Microsoft.ApplicationIns... | namespace Microsoft.ApplicationInsights.AspNetCore.Tests.ContextInitializers
{
using System;
using System.Globalization;
using System.Net;
using System.Net.NetworkInformation;
using Helpers;
using Microsoft.ApplicationInsights.AspNetCore.TelemetryInitializers;
using Microsoft.ApplicationIns... | Correct compie time constant to be NET46 | Correct compie time constant to be NET46
| C# | mit | Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnet5,Microsoft/ApplicationInsights-aspnetcore,Microsoft/ApplicationInsights-aspnetcore |
016267ad2a8cbebd3e6b6538744e12bab1f3c26e | ElectronicCash/BaseActor.cs | ElectronicCash/BaseActor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicCash
{
public abstract class BaseActor
{
public string Name { get; set; }
public Guid ActorGuid { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectronicCash
{
/// <summary>
/// The base actor abstracts all common properties of our actors (mainly Bank, Merchant, Customer)
/// </summary>
public abstract class BaseActor... | Move more stuff to superclass | Move more stuff to superclass
| C# | mit | 0culus/ElectronicCash |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.