commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
6232ce720d23012f4113ff02737069d062a5b207 | Fix for #20. | gregoriusxu/aspnetboilerplate,FJQBT/ABP,expertmaksud/aspnetboilerplate,ShiningRush/aspnetboilerplate,liujunhua/aspnetboilerplate,carldai0106/aspnetboilerplate,abdllhbyrktr/aspnetboilerplate,Tobyee/aspnetboilerplate,beratcarsi/aspnetboilerplate,andmattia/aspnetboilerplate,ryancyq/aspnetboilerplate,ddNils/aspnetboilerpla... | src/Abp.Web.Mvc/Web/Mvc/Controllers/Localization/AbpLocalizationController.cs | src/Abp.Web.Mvc/Web/Mvc/Controllers/Localization/AbpLocalizationController.cs | using System;
using System.Web;
using System.Web.Mvc;
using Abp.Localization;
using Abp.Timing;
using Abp.Web.Mvc.Models;
namespace Abp.Web.Mvc.Controllers.Localization
{
public class AbpLocalizationController : AbpController
{
public virtual ActionResult ChangeCulture(string cultureName, string retur... | using System;
using System.Web;
using System.Web.Mvc;
using Abp.Localization;
using Abp.Timing;
using Abp.Web.Mvc.Models;
namespace Abp.Web.Mvc.Controllers.Localization
{
public class AbpLocalizationController : AbpController
{
public ActionResult ChangeCulture(string cultureName, string returnUrl = "... | mit | C# |
5c7d80ea0f83c5d2c5bdf9ace431ee799db81b39 | Update ToggleIsExpandedOnDoubleTappedBehavior.cs | XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Core/ToggleIsExpandedOnDoubleTappedBehavior.cs | src/Avalonia.Xaml.Interactions/Core/ToggleIsExpandedOnDoubleTappedBehavior.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// T... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Core
{
/// <summary>
/// T... | mit | C# |
dacb2a8e2b948d67909dcec61a80945a7059e1f3 | fix null or whitespace logic | bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core | util/Server/Program.cs | util/Server/Program.cs | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Bit.Server
{
public class Program
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder()
.AddComm... | using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace Bit.Server
{
public class Program
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder()
.AddComm... | agpl-3.0 | C# |
1788ca7f71afbe46c46c442b25ea3507875a143d | Fix UserManager.cs | aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Authorization/Users/UserManager.cs | aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Authorization/Users/UserManager.cs | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
usi... | using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
usi... | mit | C# |
0e78cc0663f49e8799f4305290da9ee1180290e9 | fix missing interface | corker/estuite | Estuite.Example/ProgramConfiguration.cs | Estuite.Example/ProgramConfiguration.cs | using Estuite.Example.Configuration;
using Estuite.StreamDispatcher.Azure;
using Estuite.StreamStore.Azure;
namespace Estuite.Example
{
public class ProgramConfiguration :
IStreamStoreConfiguration,
ICloudStorageAccountConfiguration,
IStreamDispatcherConfiguration
{
public st... | using Estuite.Example.Configuration;
using Estuite.StreamStore.Azure;
namespace Estuite.Example
{
public class ProgramConfiguration : IStreamStoreConfiguration, ICloudStorageAccountConfiguration
{
public string ConnectionString => "UseDevelopmentStorage=true";
public string TableName => "esStr... | mit | C# |
cfd1561946a4df25b2653187728eff7333ef195d | Add debug info to troubleshoot failing test | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Sources/LinkTagCssSource.cs | PreMailer.Net/PreMailer.Net/Sources/LinkTagCssSource.cs | using System;
using System.Linq;
using System.Net;
using AngleSharp.Dom;
using PreMailer.Net.Downloaders;
namespace PreMailer.Net.Sources
{
public class LinkTagCssSource : ICssSource
{
private readonly Uri _downloadUri;
private string _cssContents;
public LinkTagCssSource(IElement node, Uri baseUri)
{
/... | using System;
using System.Linq;
using System.Net;
using AngleSharp.Dom;
using PreMailer.Net.Downloaders;
namespace PreMailer.Net.Sources
{
public class LinkTagCssSource : ICssSource
{
private readonly Uri _downloadUri;
private string _cssContents;
public LinkTagCssSource(IElement node, Uri baseUri)
{
/... | mit | C# |
a68abfe5617b75b88746c1e6294c7d431c55d145 | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
d25527f6349dcd99958ab6c4ed1f79db6a7c82a2 | Move Kevin's blog to his new domain at powershellexplained.com | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KevinMarquette.cs | src/Firehose.Web/Authors/KevinMarquette.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KevinMarquette : IAmAMicrosoftMVP
{
public string FirstName => "Kevin";
public string Last... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class KevinMarquette : IAmAMicrosoftMVP
{
public string FirstName => "Kevin";
public string Last... | mit | C# |
1ca254c418c5879dcd3f139109d506dc748881e3 | Fix ChangeConstructionNodeBehavior.Execute not being async | 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,space-wizards/space-station-14 | Content.Server/GameObjects/Components/Destructible/Thresholds/Behaviors/ChangeConstructionNodeBehavior.cs | Content.Server/GameObjects/Components/Destructible/Thresholds/Behaviors/ChangeConstructionNodeBehavior.cs | #nullable enable
using System;
using Content.Server.GameObjects.Components.Construction;
using Content.Server.GameObjects.EntitySystems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components.Destruct... | #nullable enable
using System;
using Content.Server.GameObjects.Components.Construction;
using Content.Server.GameObjects.EntitySystems;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.Interfaces.Serialization;
using Robust.Shared.Serialization;
namespace Content.Server.GameObjects.Components.Destruct... | mit | C# |
81c871c8c63bb60c23d1e04def6106a2c44b4ff7 | Make BasicScrollbar protected | ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework/Graphics/Containers/BasicScrollContainer.cs | osu.Framework/Graphics/Containers/BasicScrollContainer.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.Shapes;
using osuTK;
namespace osu.Framework.Graphics.Containers
{
public class BasicScrollContainer : BasicScrollContainer<Drawable>
... | // 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.Shapes;
using osuTK;
namespace osu.Framework.Graphics.Containers
{
public class BasicScrollContainer : BasicScrollContainer<Drawable>
... | mit | C# |
40d1c18bdabcd702bb4377a7702d2453391c3dd5 | Fix StyleCop warning SA1015 (closing generic brace spacing) | cshung/coreclr,cshung/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,krk/coreclr | src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.cs | src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Arm/Arm64/Sha1.PlatformNotSupported.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.
#pragma warning disable IDE0060 // unused parameters
using System.Runtime.CompilerServices;
namespace System.Runtim... | // 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.
#pragma warning disable IDE0060 // unused parameters
using System.Runtime.CompilerServices;
namespace System.Runtim... | mit | C# |
b88d39eed6307727baf2a46afe31894c9d9bc8b5 | fix broken build | json-api-dotnet/JsonApiDotNetCore | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitionExtensibilityPoints.cs | test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitionExtensibilityPoints.cs | using System;
using JetBrains.Annotations;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCoreTests.IntegrationTests
{
/// <summary>
/// Lists the various extensibility points on <see cref="IResourceDefinition{TResource,TId}" />.
/// </summary>
[Flags]
[UsedImplicitly(ImplicitUseTargetFl... | using System;
using JsonApiDotNetCore.Resources;
namespace JsonApiDotNetCoreTests.IntegrationTests
{
/// <summary>
/// Lists the various extensibility points on <see cref="IResourceDefinition{TResource,TId}" />.
/// </summary>
[Flags]
public enum ResourceDefinitionExtensibilityPoints
{
... | mit | C# |
46767977fe293968cf7e8a27a77fe2fcb0577e3d | fix doc comment | jonsequitur/Alluvial | Alluvial/StreamCatchupError.cs | Alluvial/StreamCatchupError.cs | using System;
namespace Alluvial
{
/// <summary>
/// Provides information about an error that occurs while running a stream catchup.
/// </summary>
public class StreamCatchupError
{
/// <summary>
/// Initializes a new instance of the <see cref="StreamCatchupError"/> class.
/... | using System;
namespace Alluvial
{
/// <summary>
/// Provides information about an error that occurs while running a stream catchup.
/// </summary>
public class StreamCatchupError
{
/// <summary>
/// Initializes a new instance of the <see cref="StreamCatchupError"/> class.
/... | mit | C# |
496ca899963f164e1e754a674bff041b165a5e1e | fix proxy | rustamserg/command_console | command_console/ProxyConsole.cs | command_console/ProxyConsole.cs | using System;
using System.Threading;
namespace command_console
{
public class ProxyConsole : IConsole
{
public event OnCommandHandler OnCommand;
public bool IsAlive { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public ConsoleColor CommandColor { get... | using System;
namespace command_console
{
public class ProxyConsole : IConsole
{
public event OnCommandHandler OnCommand;
public bool IsAlive { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public ConsoleColor CommandColor { get; set; }
public void I... | mit | C# |
04bbe4fc592f785d98e82b49a42727057cdf6d63 | Improve GetHttpContext (#838) | grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet | src/Grpc.AspNetCore.Server/ServerCallContextExtensions.cs | src/Grpc.AspNetCore.Server/ServerCallContextExtensions.cs | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | apache-2.0 | C# |
8d45a95186ac2351f1647eecc8e83c84a8b876de | Update src/EditorFeatures/Core/InlineParameterNameHints/InlineParamNameHintDataTag.cs | diryboy/roslyn,shyamnamboodiripad/roslyn,stephentoub/roslyn,diryboy/roslyn,panopticoncentral/roslyn,genlu/roslyn,AlekseyTs/roslyn,KirillOsenkov/roslyn,aelij/roslyn,jmarolf/roslyn,bartdesmet/roslyn,gafter/roslyn,ErikSchierboom/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,dotnet/roslyn,eriawan/roslyn,aelij/roslyn,brettfo... | src/EditorFeatures/Core/InlineParameterNameHints/InlineParamNameHintDataTag.cs | src/EditorFeatures/Core/InlineParameterNameHints/InlineParamNameHintDataTag.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnalysis.Editor.InlineParamete... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnalysis.Editor.InlineParamete... | mit | C# |
28f3f3ede83b20cfb91d0ae7bff48336ce98e108 | fix Neodym year | mathnet/mathnet-iridium,cqwang/mathnet-iridium,cqwang/mathnet-iridium,cqwang/mathnet-iridium,mathnet/mathnet-iridium | src/app/MathNet.Neodym/Library/Properties/AssemblyInfo.cs | src/app/MathNet.Neodym/Library/Properties/AssemblyInfo.cs | // Math.NET Neodym, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
//
// Copyright (c) 2001-2008, Christoph Rüegg, http://christoph.ruegg.name
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publish... | // Math.NET Neodym, part of the Math.NET Project
// http://mathnet.opensourcedotnet.info
//
// Copyright (c) 2001-2008, Christoph Rüegg, http://christoph.ruegg.name
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publish... | lgpl-2.1 | C# |
c253b75e5424bb598290118bbe264cf265ea4f3b | Remove dependency on IMessage from GetPeekLockMessageControl | drub0y/Obvs.AzureServiceBus | Obvs.AzureServiceBus/PeekLockMessage.cs | Obvs.AzureServiceBus/PeekLockMessage.cs | using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Obvs.AzureServiceBus.Infrastructure;
using Obvs.Types;
namespace Obvs.AzureServiceBus
{
public abstract class PeekLockMessage : IMessage
{
[NonSerialized]
private IMessagePeekLockControl _messagePeekLockCon... | using System;
using System.Runtime.Serialization;
using System.Xml.Serialization;
using Obvs.AzureServiceBus.Infrastructure;
using Obvs.Types;
namespace Obvs.AzureServiceBus
{
public abstract class PeekLockMessage : IMessage
{
[NonSerialized]
private IMessagePeekLockControl _messagePeekLockCon... | mit | C# |
12be467b2327ef9347612987e922176600a5b582 | add properties | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponse.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponse
{
public SolrResponseItem[] docs { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponse
{
}
}
| apache-2.0 | C# |
c266086ccb3ee6058c464062fb8915c862e419ed | Correct comment | Rustemt/oxyplot,BRER-TECH/oxyplot,H2ONaCl/oxyplot,HermanEldering/oxyplot,lynxkor/oxyplot,TheAlmightyBob/oxyplot,br111an/oxyplot,GeertvanHorrik/oxyplot,objorke/oxyplot,NilesDavis/oxyplot,TheAlmightyBob/oxyplot,Mitch-Connor/oxyplot,lynxkor/oxyplot,svendu/oxyplot,br111an/oxyplot,Mitch-Connor/oxyplot,H2ONaCl/oxyplot,freude... | Source/OxyPlot/Foundation/IDataPoint.cs | Source/OxyPlot/Foundation/IDataPoint.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDataPoint.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2014 OxyPlot contributors
//
// Permission is hereby granted, free of charge, to a... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDataPoint.cs" company="OxyPlot">
// The MIT License (MIT)
//
// Copyright (c) 2014 OxyPlot contributors
//
// Permission is hereby granted, free of charge, to a... | mit | C# |
b37c26500448288ca97bfe31f80f9c840aa07e0c | throw ArgumentException at the end of `ConvertTo` method | serilog/serilog-settings-configuration,serilog/serilog-framework-configuration | src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationSectionArgumentValue.cs | src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationSectionArgumentValue.cs | using Serilog.Configuration;
using System;
using System.Reflection;
namespace Serilog.Settings.Configuration
{
class ConfigurationSectionArgumentValue : IConfigurationArgumentValue
{
readonly IConfigurationReader _configReader;
public ConfigurationSectionArgumentValue(IConfigurationReader con... | using Serilog.Configuration;
using System;
using System.Reflection;
namespace Serilog.Settings.Configuration
{
class ConfigurationSectionArgumentValue : IConfigurationArgumentValue
{
readonly IConfigurationReader _configReader;
public ConfigurationSectionArgumentValue(IConfigurationReader con... | apache-2.0 | C# |
4000f588d22e3b2490a215ceafc68ddc47c35ba9 | bump version | poma/HotsStats | StatsDisplay/Properties/AssemblyInfo.cs | StatsDisplay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
ebc6cdedd5b63d4eaf60dc1b1b71beb8fb3d4511 | fix test-core target | xbehave/xbehave.net,adamralph/xbehave.net | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", $"b... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", $"b... | mit | C# |
719ff8b0314f290f372cde9c2c64f8b0ceeab973 | Return new IDSContext if data is null | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web/Authentication/IdsContext.cs | src/SFA.DAS.EmployerUsers.Web/Authentication/IdsContext.cs | using System;
using System.Text;
using System.Web.Security;
using Newtonsoft.Json;
using NLog;
namespace SFA.DAS.EmployerUsers.Web.Authentication
{
public class IdsContext
{
public string ReturnUrl { get; set; }
public string ClientId { get; set; }
public static string CookieName => "IDS"... | using System;
using System.Text;
using System.Web.Security;
using Newtonsoft.Json;
using NLog;
namespace SFA.DAS.EmployerUsers.Web.Authentication
{
public class IdsContext
{
public string ReturnUrl { get; set; }
public string ClientId { get; set; }
public static string CookieName => "IDS"... | mit | C# |
c48f504fe47cddbeb7563cfd643c21e69544ed3c | Fix package completion capturing | lAnubisl/PostTrack,lAnubisl/PostTrack,lAnubisl/PostTrack | Posttrack.BLL/PackageHelper.cs | Posttrack.BLL/PackageHelper.cs | using Posttrack.BLL.Properties;
using Posttrack.Data.Interfaces.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Posttrack.BLL
{
internal static class PackageHelper
{
internal static bool IsFinished(PackageDTO package)
{
string historyAction = packa... | using Posttrack.BLL.Properties;
using Posttrack.Data.Interfaces.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Posttrack.BLL
{
internal static class PackageHelper
{
internal static bool IsFinished(PackageDTO package)
{
string la... | apache-2.0 | C# |
d695e681f3d35930543c1f280c12cfaf34dbdf4d | Optimize Comments counting on containers | phillipsj/Orchard,tobydodds/folklife,armanforghani/Orchard,planetClaire/Orchard-LETS,MpDzik/Orchard,fortunearterial/Orchard,SzymonSel/Orchard,sebastienros/msc,Anton-Am/Orchard,OrchardCMS/Orchard,AdvantageCS/Orchard,andyshao/Orchard,spraiin/Orchard,Morgma/valleyviewknolls,harmony7/Orchard,salarvand/orchard,jimasp/Orchar... | src/Orchard.Web/Modules/Orchard.Comments/Drivers/CommentsContainerPartDriver.cs | src/Orchard.Web/Modules/Orchard.Comments/Drivers/CommentsContainerPartDriver.cs | using JetBrains.Annotations;
using Orchard.Comments.Models;
using Orchard.Comments.Services;
using Orchard.ContentManagement.Drivers;
namespace Orchard.Comments.Drivers {
[UsedImplicitly]
public class CommentsContainerPartDriver : ContentPartDriver<CommentsContainerPart> {
private readonly ICom... | using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Orchard.Comments.Models;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Models;
namespace Orchard.Comments.Drivers {
[UsedImplicitly]
public class CommentsConta... | bsd-3-clause | C# |
8241e30dae4b225547eab00c6ecd8abfe7b8522e | add task to interface | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/IAlert.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
RootSolrObject GetSearchAlertViaSolr(string query);
Tas... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
interface IAlert
{
List<UserAlert> GetUserAlertSchedules(string scheudle);
RootSolrObject GetSearchAlertViaSolr(string query);
}
}
| apache-2.0 | C# |
b2b6520b4361e722ba4f2c11e579fb866e23da73 | bump to version 1.2 | Terradue/DotNetTep,Terradue/DotNetTep | Terradue.Tep/Properties/AssemblyInfo.cs | Terradue.Tep/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.2
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xrefit... | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.1
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xrefit... | agpl-3.0 | C# |
ff16f1b1e2c218f907473905b15eda8beceb35c7 | Make ILanguageService public. | tang7526/roslyn,AmadeusW/roslyn,KamalRathnayake/roslyn,MichalStrehovsky/roslyn,yetangye/roslyn,bartdesmet/roslyn,zmaruo/roslyn,panopticoncentral/roslyn,MavenRain/roslyn,xoofx/roslyn,mattscheffer/roslyn,taylorjonl/roslyn,tmeschter/roslyn,khyperia/roslyn,aelij/roslyn,vcsjones/roslyn,vslsnap/roslyn,jramsay/roslyn,akoeplin... | Src/Workspaces/Core/LanguageServices/ILanguageService.cs | Src/Workspaces/Core/LanguageServices/ILanguageService.cs | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.LanguageServices
{
/// <summary>
/// Empty interface just... | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.LanguageServices
{
/// <summary>
/// Empty interface just... | mit | C# |
b8a23c0c8842f275873ce097289be94cf3eae055 | Fix last world problem | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Behaviors/MnemonicSuggestionBehavior.cs | WalletWasabi.Gui/Behaviors/MnemonicSuggestionBehavior.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui.Tabs.WalletManager;
namespace WalletWasabi.Gui.Behaviors
{
internal class MnemonicSuggest... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui.Tabs.WalletManager;
namespace WalletWasabi.Gui.Behaviors
{
internal class MnemonicSuggest... | mit | C# |
3416955d8975a91ff542c9894a0faf6f2ea18e9c | Add another test to Log4NetResourceDecoratorTest.cs | SimonAntony/google-api-dotnet-client,Duikmeester/google-api-dotnet-client,ajaypradeep/google-api-dotnet-client,sawanmishra/google-api-dotnet-client,abujehad139/google-api-dotnet-client,olofd/google-api-dotnet-client,duckhamqng/google-api-dotnet-client,mjacobsen4DFM/google-api-dotnet-client,LPAMNijoel/google-api-dotnet-... | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/Log4NetResourceDecoratorTest.cs | Src/GoogleApis.Tools.CodeGen.Tests/Decorator/ResourceDecorator/Log4NetResourceDecoratorTest.cs | using System;
using System.CodeDom;
using log4net;
using NUnit.Framework;
using Google.Apis.Discovery;
using Google.Apis.Tools.CodeGen.Decorator.ResourceDecorator;
namespace Google.Apis.Tools.CodeGen.Tests.Decorator.ResourceDecorator
{
[TestFixture()]
public class Log4NetResourceDecoratorTest : BaseResourceDecorat... | using System;
using System.CodeDom;
using log4net;
using NUnit.Framework;
using Google.Apis.Discovery;
using Google.Apis.Tools.CodeGen.Decorator.ResourceDecorator;
namespace Google.Apis.Tools.CodeGen.Tests.Decorator.ResourceDecorator
{
[TestFixture()]
public class Log4NetResourceDecoratorTest : BaseResourceDecorat... | apache-2.0 | C# |
52c25d5081232d7610d4ae38db2f1841e509e67a | Print all route information to debug stream (Visual Studio Output panel). | kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer,kobake/AspNetCore.RouteAnalyzer | AspNetCore.RouteAnalyzer.SampleWebProject/Startup.cs | AspNetCore.RouteAnalyzer.SampleWebProject/Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System.Diagnostics;
namespace AspNetCore.RouteAnalyzer... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AspNetCore.RouteAnalyzer.SampleWebProject
{
pu... | mit | C# |
9b995196ca0b5e0ac203d809ce8b826ccdee67df | Add constructor to the winners repository. | LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform | src/CompetitionPlatform/Data/AzureRepositories/Users/ProjectWinnersRepository.cs | src/CompetitionPlatform/Data/AzureRepositories/Users/ProjectWinnersRepository.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using AzureStorage.Tables;
namespace CompetitionPlatform.Data.AzureRepositories.Users
{
public class WinnerEntity : TableEntity, IWinnerData
{
public static string GeneratePartitio... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage.Table;
using AzureStorage.Tables;
namespace CompetitionPlatform.Data.AzureRepositories.Users
{
public class WinnerEntity : TableEntity, IWinnerData
{
public static string GeneratePartitio... | mit | C# |
8c0b51ad33c7241e782fb78c1c78433e9ec63cdc | Refactor unittest. | mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker | Ductus.FluentDockerTest/FluentContainerBasicTests.cs | Ductus.FluentDockerTest/FluentContainerBasicTests.cs | using System.Linq;
using Ductus.FluentDocker.Builders;
using Ductus.FluentDocker.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ductus.FluentDockerTest
{
[TestClass]
public class FluentContainerBasicTests
{
[TestMethod]
public void BuildContainerRenderServiceInStoppedMode()
... | using System.Linq;
using Ductus.FluentDocker.Builders;
using Ductus.FluentDocker.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Ductus.FluentDockerTest
{
[TestClass]
public class FluentContainerBasicTests
{
[TestMethod]
public void BuildContainerRenderServiceInStoppedMode()
... | apache-2.0 | C# |
9f5fe025b8e000365d4291ec99b3931f35656041 | fix mock adapter | splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net | IPTables.Net.TestFramework/MockIpsetBinaryAdapter.cs | IPTables.Net.TestFramework/MockIpsetBinaryAdapter.cs | using IPTables.Net.Iptables.IpSet;
using IPTables.Net.Iptables.IpSet.Adapter;
namespace IPTables.Net.TestFramework
{
public class MockIpsetBinaryAdapter: IpSetBinaryAdapter
{
private IpSetSets _sets;
public MockIpsetBinaryAdapter(MockIpsetSystemFactory systemFactory, IpSetSets sets = null)
... | using IPTables.Net.Iptables.IpSet;
using IPTables.Net.Iptables.IpSet.Adapter;
namespace IPTables.Net.TestFramework
{
public class MockIpsetBinaryAdapter: IpSetBinaryAdapter
{
private IpSetSets _sets;
public MockIpsetBinaryAdapter(MockIpsetSystemFactory systemFactory, IpSetSets sets = null)
... | apache-2.0 | C# |
424de41e3e63277e6646f8a1cf2aa0202b8d2ad4 | create establishment | rcadaoas/NoVacancy | NoVacancy.API/Controllers/EstablishmentController.cs | NoVacancy.API/Controllers/EstablishmentController.cs | using Ninject;
using NoVacancy.BL.IRepository;
using NoVacancy.DTO.DataTransferObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace NoVacancy.API.Controllers
{
public class EstablishmentController : BaseController
... | using Ninject;
using NoVacancy.BL.IRepository;
using NoVacancy.DTO.DataTransferObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace NoVacancy.API.Controllers
{
public class EstablishmentController : BaseController
... | mit | C# |
6766bd20b315e5c2f0de82d681fbc48b64678483 | Add a not finished Milestone class | zindlsn/RosaroterTiger | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
public Color()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
public Color()
{
... | mit | C# |
4116e13da118852da61c9273a85a3c7a83510689 | Use IReadOnlyDictionary<K, V>.TryGetValue as possible | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Models/Th15/PracticeReplacer.cs | ThScoreFileConverter/Models/Th15/PracticeReplacer.cs | //-----------------------------------------------------------------------
// <copyright file="PracticeReplacer.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-------------------... | //-----------------------------------------------------------------------
// <copyright file="PracticeReplacer.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//-------------------... | bsd-2-clause | C# |
e0199ce1db34fe46ec55bf24f760b565a6efb161 | fix readd command in message store. | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/MessageStoring/MessageStore.cs | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/MessageStoring/MessageStore.cs | using IFramework.Message;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using IFramework.Infrastructure;
namespace IFramework.EntityFramework
{
public class MessageStore : DbContext, IMessageStore
{
public DbSet<Command> Commands { get... | using IFramework.Message;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using IFramework.Infrastructure;
namespace IFramework.EntityFramework
{
public class MessageStore : DbContext, IMessageStore
{
public DbSet<Command> Commands { get... | mit | C# |
cb362932f8f3c84028b0b150e2b1f83ba98cfb52 | Remove duplicate lines | gep13/GitVersion,asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,gep13/GitVersion,GitTools/GitVersion | docs/input/docs/learn/branching-strategies/index.cshtml | docs/input/docs/learn/branching-strategies/index.cshtml | ---
Order: 4000
Title: Branching Strategies
Description: Information about the different branching strategies supported by GitVersion
RedirectFrom:
- docs/git-branching-strategies/overview
- docs/git-branching-strategies
- docs/examples
---
<img src="/docs/img/CommitGraph.png" alt="Commit graph">
<p>
At each comm... | ---
Order: 4000
Title: Branching Strategies
Description: Information about the different branching strategies supported by GitVersion
RedirectFrom:
- docs/git-branching-strategies/overview
- docs/git-branching-strategies
- docs/examples
---
<img src="/docs/img/CommitGraph.png" alt="Commit graph">
<p>
At each comm... | mit | C# |
fd1a66264c23580e2207dd2f402b09bf217b1855 | allow :new(string) | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/ComponentName.cs | Dashen/ComponentName.cs | using System;
namespace Dashen
{
public class ComponentName
{
private readonly string _name;
public ComponentName(string name)
{
_name = name;
}
public ComponentName(object component)
:this(component.GetType().Name)
{
}
public override int GetHashCode()
{
return _name.GetHashCode();
... | using System;
namespace Dashen
{
public class ComponentName
{
private readonly string _name;
private ComponentName(string name)
{
_name = name;
}
public ComponentName(object component)
:this(component.GetType().Name)
{
}
public override int GetHashCode()
{
return _name.GetHashCode();
... | lgpl-2.1 | C# |
be6c32d4fc24332c0222eca32c835b6385ba695c | add exception handling | MistyKuu/bitbucket-for-visual-studio,MistyKuu/bitbucket-for-visual-studio | Source/GitClientVS.Infrastructure/Utils/ExceptionMapper.cs | Source/GitClientVS.Infrastructure/Utils/ExceptionMapper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BitBucket.REST.API.Exceptions;
namespace GitClientVS.Infrastructure.Utils
{
public static class ExceptionMapper
{
public static string Map(Exception ex)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BitBucket.REST.API.Exceptions;
namespace GitClientVS.Infrastructure.Utils
{
public static class ExceptionMapper
{
public static string Map(Exception ex)
{
if (e... | mit | C# |
58d7e4197809c986c62389e52b90e3465bf8b225 | Enable nullable on ImportTask | smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Database/ImportTask.cs | osu.Game/Database/ImportTask.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable enable
using System.IO;
using osu.Game.IO.Archives;
using osu.Game.Utils;
using SharpCompress.Common;
namespace osu.Game.Database
{
/// <summary>
/// ... | // 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.IO;
using osu.Game.IO.Archives;
using osu.Game.Utils;
using SharpCompress.Common;
namespace osu.Game.Database
{
/// <summary>
/// An encapsulated im... | mit | C# |
0484fe8e9d16a8f97c1e79335c4b30f55194ea3c | Change token explanation (#1331) | RogueException/Discord.Net,AntiTcb/Discord.Net | docs/guides/getting_started/samples/first-bot/client.cs | docs/guides/getting_started/samples/first-bot/client.cs | private DiscordSocketClient _client;
public async Task MainAsync()
{
_client = new DiscordSocketClient();
_client.Log += Log;
// You can assign your bot token to a string, and pass that in to connect.
// This however is insecure, particularly if you plan to have your code hosted in a repository.
va... | private DiscordSocketClient _client;
public async Task MainAsync()
{
_client = new DiscordSocketClient();
_client.Log += Log;
// Remember to keep token private or to read it from an
// external source! In this case, we are reading the token
// from an environment variable. If you do not know how to set-up
//... | mit | C# |
07acfd85ba41a3f5e6b85ac2bba9a34a7609e313 | remove unused parameter | qianlifeng/Wox,Wox-launcher/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox | Wox.Infrastructure/Constant.cs | Wox.Infrastructure/Constant.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public const string Plugins = "Plugins";
private static Assembly Assembly;
... | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using JetBrains.Annotations;
namespace Wox.Infrastructure
{
public static class Constant
{
public const string Wox = "Wox";
public const string Plugins = "Plugins";
private static Assembly Assembly;
... | mit | C# |
f2a311735f883560b1699893b88b59361948b8e3 | Change company name - | cankoluman/Archetype-Serializer,cankoluman/Archetype-Serializer | ReferenceCms/7.1.4/Properties/AssemblyInfo.cs | ReferenceCms/7.1.4/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
88b35751381d36d95ebe320e923be4f6169be780 | Remove unnecessary async/await from authentication filter. #12 | serilog-web/classic-webapi | src/SerilogWeb.Classic.WebApi/Classic/WebApi/StoreWebApInfoInHttpContextAuthenticationFilter.cs | src/SerilogWeb.Classic.WebApi/Classic/WebApi/StoreWebApInfoInHttpContextAuthenticationFilter.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace SerilogWeb.Classic.WebApi
{
internal class StoreWebApInfoInHttpContextAuthenticationFilter : IAuthenticationF... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
namespace SerilogWeb.Classic.WebApi
{
internal class StoreWebApInfoInHttpContextAuthenticationFilter : IAuthenticationF... | apache-2.0 | C# |
e429aa0157eb860ff02e528dad8e202e479fed7d | make error response fields readonly | sailthru/sailthru-net-client | Sailthru/Sailthru.Tests/Mock/ErrorResponse.cs | Sailthru/Sailthru.Tests/Mock/ErrorResponse.cs | using Newtonsoft.Json;
namespace Sailthru.Tests.Mock
{
public class ErrorResponse
{
[JsonProperty]
private readonly int error;
[JsonProperty]
private readonly string errormsg;
public ErrorResponse(int error, string errormsg)
{
this.error = error;
... | using Newtonsoft.Json;
namespace Sailthru.Tests.Mock
{
public class ErrorResponse
{
[JsonProperty]
private int error;
[JsonProperty]
private string errormsg;
public ErrorResponse(int error, string errormsg)
{
this.error = error;
this.err... | mit | C# |
52b9a3f5e9a0096ff5529a223a317b8b489977ec | Remove unused using | EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,2yangk23/osu,peppy/osu-new,ZLima12/osu,johnn... | osu.Game/Rulesets/Mods/ModSuddenDeath.cs | osu.Game/Rulesets/Mods/ModSuddenDeath.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;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModSuddenDeath : Mod, IApplicableTo... | // 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;
using osu.Game.Graphics;
using osu.Game.Configuration;
using osu.Game.Rulesets.Scoring;
using osu.Framework.Configuration;
namespace osu.Game.Rulesets.Mod... | mit | C# |
7596208a4ed6b9300cef306bc87aa1d8587e2847 | Bump Common Version (SMDH Changes) | usagirei/3DS-Theme-Editor | ThemeEditor.Common/Properties/AssemblyInfo.cs | ThemeEditor.Common/Properties/AssemblyInfo.cs | // --------------------------------------------------
// ThemeEditor.Common - AssemblyInfo.cs
// --------------------------------------------------
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change... | // --------------------------------------------------
// ThemeEditor.Common - AssemblyInfo.cs
// --------------------------------------------------
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change... | mit | C# |
c9ce7296093c72d9e487da89d86919433658b324 | Update AssemblyInfo.cs | lust4life/WebApiProxy,faniereynders/WebApiProxy | WebApiProxy.Server/Properties/AssemblyInfo.cs | WebApiProxy.Server/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
4286309dbb7cbf7280468b838a471f0b0efbd429 | Fix test failure on TOF | MattGal/wcf,StephenBonikowsky/wcf,ericstj/wcf,iamjasonp/wcf,dotnet/wcf,KKhurin/wcf,ElJerry/wcf,SajayAntony/wcf,dotnet/wcf,mconnew/wcf,SajayAntony/wcf,ericstj/wcf,imcarolwang/wcf,khdang/wcf,imcarolwang/wcf,zhenlan/wcf,MattGal/wcf,hongdai/wcf,khdang/wcf,imcarolwang/wcf,hongdai/wcf,ElJerry/wcf,zhenlan/wcf,mconnew/wcf,shma... | src/System.Private.ServiceModel/tests/Scenarios/Security/TransportSecurity/Tcp/IdentityTests.cs | src/System.Private.ServiceModel/tests/Scenarios/Security/TransportSecurity/Tcp/IdentityTests.cs | using System;
using System.Collections;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.Text;
using Xunit;
using Infrastructure.Common;
public static class IdentityTests
{
[Fact]
[OuterLoop]
// The product code will check the Dns identity from the server and throw if it does n... | using System;
using System.Collections;
using System.ServiceModel;
using System.ServiceModel.Security;
using System.Text;
using Xunit;
using Infrastructure.Common;
public static class IdentityTests
{
[Fact]
[OuterLoop]
// The product code will check the Dns identity from the server and throw if it does n... | mit | C# |
bd122399ea10e3f01f12658efd3196b6f33d5390 | Fix segment ordering | Krusen/ErgastApi.Net | src/ErgastApi/Client/UrlSegmentInfo.cs | src/ErgastApi/Client/UrlSegmentInfo.cs | using System;
using System.Collections.Generic;
namespace ErgastApi.Client
{
public class UrlSegmentInfo : IComparable<UrlSegmentInfo>
{
public int? Order { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public bool IsTerminator { get; set; }
... | using System;
using System.Collections.Generic;
namespace ErgastApi.Client
{
public class UrlSegmentInfo : IComparable<UrlSegmentInfo>
{
public int? Order { get; set; }
public string Name { get; set; }
public string Value { get; set; }
public bool IsTerminator { get; set; }
... | unlicense | C# |
9a2fb8ca6c26daf8cb926f8744cc550496e7e5d7 | Add test coverage for null mod on seeding screen | peppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game.Tournament.Tests/Screens/TestSceneSeedingScreen.cs | osu.Game.Tournament.Tests/Screens/TestSceneSeedingScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Testing;
using osu.Game.Tournament.Models;
usi... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Models;
using osu.Game.Tournament.Screens.TeamIntro;
namespace osu.Game.Tournamen... | mit | C# |
ce367bcc421f8865a4ef249767100667968a8bd9 | Fix invalid GC latency mode being set | ZLima12/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,ppy/osu,peppy/osu-new,pepp... | osu.Game/Overlays/Settings/Sections/Debug/GCSettings.cs | osu.Game/Overlays/Settings/Sections/Debug/GCSettings.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;
using System.Runtime;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settin... | // 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;
using System.Runtime;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
namespace osu.Game.Overlays.Settin... | mit | C# |
b94bcd07e302a20e171ac36ec82b537097acf241 | Make _shouldEndSession false rather than null | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | Alexa.NET/Response/Response.cs | Alexa.NET/Response/Response.cs | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace Alexa.NET.Response
{
public class ResponseBody
{
[JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)]
public IOutputSpeech OutputSpeech { get; set; }
[JsonProper... | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace Alexa.NET.Response
{
public class ResponseBody
{
[JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)]
public IOutputSpeech OutputSpeech { get; set; }
[JsonProper... | mit | C# |
eb41b82996131d90157d2f5a25ac7c9807a06ec0 | Make dumy change in Sorter | michael-reichenauer/GitMind | GitMind/Utils/Sorter.cs | GitMind/Utils/Sorter.cs | using System.Collections.Generic;
namespace GitMind.Utils
{
internal static class Sorter
{
public static void Sort<T>(IList<T> list, IComparer<T> comparer)
{
CustomSort(list, comparer);
}
private static void CustomSort<T>(IList<T> list, IComparer<T> comparer)
{
for (int i = 0; i < list.Count; i++)... | using System.Collections.Generic;
namespace GitMind.Utils
{
internal static class Sorter
{
public static void Sort<T>(IList<T> list, IComparer<T> comparer)
{
CustomSort(list, comparer);
}
private static void CustomSort<T>(IList<T> list, IComparer<T> comparer)
{
for (int i = 0; i < list.Count; i++)... | mit | C# |
ca248f14afef8195d244e5b74fd37854d2b0dc35 | Fix typo in Price class. | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Entities/Price.cs | ShopifySharp/Entities/Price.cs | using Newtonsoft.Json;
namespace ShopifySharp
{
public class Price
{
/// <summary>
/// The three-letter code (ISO 4217 format) for currency.
/// </summary>
[JsonProperty("currency_code")]
public string CurrencyCode { get; set; }
/// <summary>
/// The amo... | using Newtonsoft.Json;
namespace ShopifySharp
{
public class Price
{
/// <summary>
/// The three-letter code (ISO 4217 format) for currency.
/// </summary>
[JsonProperty("currency_code")]
public string CurrencyCode { get; set; }
/// <summary>
/// The var... | mit | C# |
99375eac810e105cdbedfbe6e7c76d285d59674d | Insert text instead of replacing whole buffer | mono/dbus-sharp-glib,mono/dbus-sharp-glib | glib/Test.cs | glib/Test.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using GLib;
using Gtk;
using NDesk.DBus;
using org.freedesktop.DBus;
public class TestGLib
{
public static void OnClick (object o, EventArgs args)
{
foreach (string n in b... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using GLib;
using Gtk;
using NDesk.DBus;
using org.freedesktop.DBus;
public class TestGLib
{
public static void OnClick (object o, EventArgs args)
{
Console.WriteLine ("cl... | mit | C# |
f21e084628464c224a0f5dc190af2ff7d1215f8c | Fix issue in naming of class in test file. | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/ql/test/library-tests/dataflow/patterns/Patterns.cs | csharp/ql/test/library-tests/dataflow/patterns/Patterns.cs | using System;
public record class RecordClass2(object Prop) { }
public record class Nested(RecordClass2 Record) { }
public class RecordPatterns
{
private void M1()
{
var o = Source<object>(1);
var r = new RecordClass2(o);
if (r is RecordClass2 { Prop: object p })
{
... | using System;
public record class RecordClass2(object Prop) { }
public record class Nested(RecordClass2 Record) { }
public class K
{
private void M1()
{
var o = Source<object>(1);
var r = new RecordClass2(o);
if (r is RecordClass2 { Prop: object p })
{
Sink(p); // ... | mit | C# |
6822af0101d292c87937350b06989b4e15615b55 | change debug text | JackCeparou/JackCeparouCompass | DevTool/DisplayActorsPlugin.cs | DevTool/DisplayActorsPlugin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.Jack.DevTool
{
public class DisplayActorsPlugin : BasePlugin, IInGameWorldPainter
{
public GroundLabelDecorator Decorator { ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.Jack.DevTool
{
public class DisplayActorsPlugin : BasePlugin, IInGameWorldPainter
{
public GroundLabelDecorator Decorator { ... | mit | C# |
631b1eeb7b8db8e4c78ea50ccd560de331535462 | Fix 263 - Allow underscore when Regex matching classes for earlybound classes (#264) | scottdurow/SparkleXrm,scottdurow/SparkleXrm,scottdurow/SparkleXrm | spkl/SparkleXrm.Tasks/CrmSvcUtil/SourceCodeTypeExtractor.cs | spkl/SparkleXrm.Tasks/CrmSvcUtil/SourceCodeTypeExtractor.cs | namespace SparkleXrm.Tasks.CrmSvcUtil
{
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class SourceCodeTypeExtractor
{
private const string ClassPattern = @"([a-zA-Z0-9\(\"",\s\.\)\]\s\n\[:_])+public\spartial[a-zA-Z0-9\s:\.,_]+{(?:[^{}]|(?... | namespace SparkleXrm.Tasks.CrmSvcUtil
{
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class SourceCodeTypeExtractor
{
private const string ClassPattern = @"([a-zA-Z0-9\(\"",\s\.\)\]\s\n\[:])+public\spartial[a-zA-Z0-9\s:\.,_]+{(?:[^{}]|(?<... | mit | C# |
b989e613ef63584b89e64cd9736227dc761e52b5 | Add support for IDictionary in object | loqu8/kvc | Loqu8.KVC/KVCWrapper.cs | Loqu8.KVC/KVCWrapper.cs | using System;
using MonoMac.Foundation;
using System.Reflection;
using System.ComponentModel;
using System.Collections;
namespace Loqu8.KVC
{
public class KVCWrapper : NSObject
{
private readonly Object _t;
private readonly Type _type;
public KVCWrapper (Object t)
{
_t = t;
_type = t.GetType ();
}
... | using System;
using MonoMac.Foundation;
using System.Reflection;
using System.ComponentModel;
namespace Loqu8.KVC
{
public class KVCWrapper : NSObject
{
private readonly Object _t;
private readonly Type _type;
public KVCWrapper (Object t)
{
_t = t;
_type = t.GetType ();
}
public override void Se... | mit | C# |
50b99545309c63b89b83845c7661357c0a3eb8d2 | fix sample build config | bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents,xamarin/XamarinComponents,bholmes/XamarinComponents | Mac/ITSwitch/build.cake | Mac/ITSwitch/build.cake |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "Default"));
var buildSpec = new BuildSpec () {
Libs = new ISolutionBuilder [] {
new DefaultSolutionBuilder {
SolutionPath = "./source/ITSwitch.sln",
Configuration = "Release",
BuildsOn = BuildPlatforms.Mac,
OutputFiles = new []... |
#load "../../common.cake"
var TARGET = Argument ("t", Argument ("target", "Default"));
var buildSpec = new BuildSpec () {
Libs = new ISolutionBuilder [] {
new DefaultSolutionBuilder {
SolutionPath = "./source/ITSwitch.sln",
Configuration = "Release",
BuildsOn = BuildPlatforms.Mac,
OutputFiles = new []... | mit | C# |
1a0dea0dc22ef8f7678a693a25d9e5ce08b566b8 | add test for GetEnumUnderlyingType | sailro/cecil,kzu/cecil,jbevain/cecil,saynomoo/cecil,SiliconStudio/Mono.Cecil,xen2/cecil,ttRevan/cecil,fnajera-rac-de/cecil,furesoft/cecil,gluck/cecil,mono/cecil,cgourlay/cecil,joj/cecil | rocks/Test/Mono.Cecil.Tests/TypeDefinitionRocksTests.cs | rocks/Test/Mono.Cecil.Tests/TypeDefinitionRocksTests.cs | using System;
using System.Linq;
using Mono.Cecil.Rocks;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class TypeDefinitionRocksTests {
class Foo {
static Foo ()
{
}
public Foo (int a)
{
}
public Foo (int a, string s)
{
}
public static void Bar ()
... | using System;
using System.Linq;
using Mono.Cecil.Rocks;
using NUnit.Framework;
namespace Mono.Cecil.Tests {
[TestFixture]
public class TypeDefinitionRocksTests {
class Foo {
static Foo ()
{
}
public Foo (int a)
{
}
public Foo (int a, string s)
{
}
public static void Bar ()
... | mit | C# |
ce3cd1b3742efbe8a03ecd3e3f2fc67d89870f51 | add missing built in types to scope. previously only included declarations. seems like it should not include declarations at all?! | ecologylab/BigSemanticsCSharp | Ecologylab.BigSemantics/MetadataNS/Builtins/Declarations/MetadataBuiltinDeclarationsTranslationScope.cs | Ecologylab.BigSemantics/MetadataNS/Builtins/Declarations/MetadataBuiltinDeclarationsTranslationScope.cs |
using Ecologylab.BigSemantics.MetaMetadataNS;
using Ecologylab.BigSemantics.MetadataNS.Builtins;
using Ecologylab.Collections;
using Simpl.Fundamental.Generic;
using Simpl.Serialization;
using Simpl.Serialization.Attributes;
using System;
using System.Collections;
using System.Collections.Generic;
// Developer shou... |
using Ecologylab.BigSemantics.MetaMetadataNS;
using Ecologylab.BigSemantics.MetadataNS.Builtins;
using Ecologylab.Collections;
using Simpl.Fundamental.Generic;
using Simpl.Serialization;
using Simpl.Serialization.Attributes;
using System;
using System.Collections;
using System.Collections.Generic;
// Developer shou... | apache-2.0 | C# |
bb595f7ee170b5d7cf8eb580333fe8701762b366 | Update Note.cs | vdaron/MusicXml.Net | MusicXml/Domain/Note.cs | MusicXml/Domain/Note.cs | using System.Xml;
namespace MusicXml.Domain
{
public class Note
{
internal Note()
{
Type = string.Empty;
Duration = -1;
Voice = -1;
Staff = -1;
IsChordTone = false;
}
public string Type { get; internal set; }
public int Voice { get; internal set; }
public int Duration { get; internal ... | namespace MusicXml.Domain
{
public class Note
{
internal Note()
{
Type = string.Empty;
Duration = -1;
Voice = -1;
Staff = -1;
IsChordTone = false;
}
public string Type { get; internal set; }
public int Voice { get; internal set; }
public int Duration { get; internal set; }
public Ly... | bsd-3-clause | C# |
7e36c523d9579b22c68a347dd62f5dcb914d77d9 | Update Index.cshtml | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Home/Index.cshtml | Anlab.Mvc/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
@* <h2 style="color: blue">PLEASE NOTE: New rates will take effect December 16th. Work orders for samples not received by December 16th will need to be re-created so as to capture the new rates.</h2> *@
<p class="lead">The UC Davis Analytical... | @{
ViewData["Title"] = "Home Page";
}
<div class="col-8">
<h2 style="color: blue">PLEASE NOTE: New rates will take effect December 16th. Work orders for samples not received by December 16th will need to be re-created so as to capture the new rates.</h2>
<h2 style="color: blue">Also Note: During the... | mit | C# |
187209bd1a772bd47052cad5ac7309b7aedcf6f3 | Make the language XML file optional | MeltWS/proshine,bobus15/proshine,Silv3rPRO/proshine | PROProtocol/Language.cs | PROProtocol/Language.cs | using System.Collections.Generic;
using System.IO;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private const string FileName = "Resources/Lang.xml";
private Dictionary<string, string> _texts = new Dictionary<string, string>();
public Language()
... | using System.Collections.Generic;
using System.Xml;
namespace PROProtocol
{
public class Language
{
private Dictionary<string, string> _texts;
public Language()
{
XmlDocument xml = new XmlDocument();
xml.Load("Resources/Lang.xml");
_t... | mit | C# |
ef7cf7dde328a43758faeca07057595c0eb92a8d | Use explicit type to cast back to SampleType. | alastairs/BobTheBuilder,fffej/BobTheBuilder | BobTheBuilder.Tests/BuildFacts.cs | BobTheBuilder.Tests/BuildFacts.cs | using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace BobTheBuilder.Tests
{
public class BuildFacts
{
[Fact]
public void CreateADynamicInstanceOfTheRequestedType()
{
var sut = A.BuilderFor<SampleType>();
var result = sut.Build();
... | using Ploeh.AutoFixture.Xunit;
using Xunit;
using Xunit.Extensions;
namespace BobTheBuilder.Tests
{
public class BuildFacts
{
[Fact]
public void CreateADynamicInstanceOfTheRequestedType()
{
var sut = A.BuilderFor<SampleType>();
var result = sut.Build();
... | apache-2.0 | C# |
625b74bbe0c2e3bb1d4defe8a7528d61b61194d0 | Reduce line length | EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils,EamonNerbonne/ValueUtils | ValueUtils/ReflectionHelper.cs | ValueUtils/ReflectionHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils
{
static class ReflectionHelper
{
public static IEnumerable<Type> WalkMeaningfulInheritanceChain(Type type)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace ValueUtils
{
static class ReflectionHelper
{
public static IEnumerable<Type> WalkMeaningfulInheritanceChain(Type type)
{
... | apache-2.0 | C# |
65ea94a3f7576a07d5b2fdb463b46379a2f5fdf1 | change to search url class | Lakon/VideoAggregator | VideoAggregator/GuideBoxApi.cs | VideoAggregator/GuideBoxApi.cs | using System;
//using Json.Net;
namespace VideoAggregator
{
public class GuideBoxApiClass
{
string apiHome = "http://api-public.guidebox.com/v1.43/1/";
string apiKey = "rK4vt5WeKQvXmZgr8I0v7jbOVGCt9wtm/all/";
public string getSearchID(string searchID)
{
int limit1 = 1;
int limit2 = 25;
search... | using System;
//using Json.Net;
namespace VideoAggregator
{
public class GuideBoxApiClass
{
string apiHome = "http://api-public.guidebox.com/v1.43/1/";
string apiKey = "rK4vt5WeKQvXmZgr8I0v7jbOVGCt9wtm/all/";
public string getShowID(string showID)
{
int limit1 = 1;
int limit2 = 25;
showID = api... | mit | C# |
dbaffcae3aa181eb275ef68d47c23b54e0497938 | Refactor GridViewDataSetDelegateViewModel | riganti/dotvvm,riganti/dotvvm,riganti/dotvvm,riganti/dotvvm | src/DotVVM.Samples.Common/ViewModels/ComplexSamples/GridViewDataSet/GridViewDataSetDelegateViewModel.cs | src/DotVVM.Samples.Common/ViewModels/ComplexSamples/GridViewDataSet/GridViewDataSetDelegateViewModel.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotVVM.Framework.Controls;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.BasicSamples.ViewModels.ComplexSamples.GridViewDataSet
{
public class GridViewDataSetDelegateViewModel : DotvvmViewModelBase
{
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using DotVVM.Framework.Controls;
using DotVVM.Framework.ViewModel;
namespace DotVVM.Samples.BasicSamples.ViewModels.ComplexSamples.G... | apache-2.0 | C# |
2ad629ebb269b3fbd8fe6d34be16851800813833 | Implement internal constructor for RateCounterGauge unit testsing. | Microsoft/ApplicationInsights-SDK-Labs | AggregateMetrics/AggregateMetrics/AzureWebApp/RateCounter.cs | AggregateMetrics/AggregateMetrics/AzureWebApp/RateCounter.cs | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp
{
using System;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.Two;
/// <summary>
/// Struct for metrics dependant on time.
/// </summary>
... | namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp
{
using System;
using Microsoft.ApplicationInsights.DataContracts;
using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.Two;
/// <summary>
/// Struct for metrics dependant on time.
/// </summary>
... | mit | C# |
54794ffd5094bfc87b204182632b394d09eb7dc2 | Fix path to annotations in tests | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/test/src/AnnotationsLoader.cs | resharper/resharper-unity/test/src/AnnotationsLoader.cs | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Diagnostics;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
... | using System;
using System.Collections.Generic;
using JetBrains.Application;
using JetBrains.Diagnostics;
using JetBrains.Metadata.Utils;
using JetBrains.ReSharper.Psi.ExtensionsAPI.ExternalAnnotations;
using JetBrains.TestFramework.Utils;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Tests
{
... | apache-2.0 | C# |
e85f4e522c5687292f9819b4a6667dd698f79fe2 | Rename LinkTest methods | pawotter/mastodon-api-cs | Mastodon.API.Tests/LinkTest.cs | Mastodon.API.Tests/LinkTest.cs | using System;
using NUnit.Framework;
using System.Net.Http.Headers;
using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
namespace Mastodon.API.Tests
{
[TestFixture]
public class LinkTest
{
[Test]
public void C... | using System;
using NUnit.Framework;
using System.Net.Http.Headers;
using System.Net;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Reflection;
namespace Mastodon.API.Tests
{
[TestFixture]
public class LinkTest
{
[Test]
public void c... | mit | C# |
84e5d348c17551f4b013d52c99308626084c78bd | Add a playback state property to the playlist | flagbug/Espera.Network | Espera.Network/NetworkPlaylist.cs | Espera.Network/NetworkPlaylist.cs | using System.Collections.ObjectModel;
namespace Espera.Network
{
public class NetworkPlaylist
{
public int? CurrentIndex { get; set; }
public string Name { get; set; }
public NetworkPlaybackState PlaybackState { get; set; }
public int? RemainingVotes { get; set; }
p... | using System.Collections.ObjectModel;
namespace Espera.Network
{
public class NetworkPlaylist
{
public int? CurrentIndex { get; set; }
public string Name { get; set; }
public int? RemainingVotes { get; set; }
public ReadOnlyCollection<NetworkSong> Songs { get; set; }
}
} | mit | C# |
b919cbcf979b1fb7d50e77ff1b336c851805b183 | Mark get as obsolete to discourage use | opentable/hobknob-client-net,opentable/hobknob-client-net | HobknobClientNet/HobknobClient.cs | HobknobClientNet/HobknobClient.cs | using System;
namespace HobknobClientNet
{
public class HobknobClient : IDisposable
{
public event EventHandler<CacheUpdatedArgs> CacheUpdated;
public event EventHandler<CacheUpdateFailedArgs> CacheUpdateFailed;
private readonly FeatureToggleCache _featureToggleCache;
private ... | using System;
namespace HobknobClientNet
{
public class HobknobClient : IDisposable
{
public event EventHandler<CacheUpdatedArgs> CacheUpdated;
public event EventHandler<CacheUpdateFailedArgs> CacheUpdateFailed;
private readonly FeatureToggleCache _featureToggleCache;
private ... | mit | C# |
27cb3eda848c0262718bf4d1a0d3eba05299a86b | fix comparison | aloneartist/libsass-net,darrenkopp/libsass-net,am11/libsass-net,sass/libsass-net,aloneartist/libsass-net | libsassnet.Web/SassHandler.cs | libsassnet.Web/SassHandler.cs | using System;
using System.IO;
//Copyright (C) 2013 by TBAPI-0KA
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of
//this software and associated documentation files (the "Software"), to deal in
//the Software without restriction, including without limitation the rights to
//use, cop... | using System;
using System.IO;
//Copyright (C) 2013 by TBAPI-0KA
//
//Permission is hereby granted, free of charge, to any person obtaining a copy of
//this software and associated documentation files (the "Software"), to deal in
//the Software without restriction, including without limitation the rights to
//use, cop... | mit | C# |
4a8f099e5debe7ab4d532d4c726b0a83ef92d923 | update s | autumn009/TanoCSharpSamples | Chap4/デリゲート型はインスタンスを区別する/デリゲート型はインスタンスを区別する/Program.cs | Chap4/デリゲート型はインスタンスを区別する/デリゲート型はインスタンスを区別する/Program.cs | using System;
class A
{
internal string S;
internal void Say()
{
Console.WriteLine(S);
}
}
class Program
{
private static void doit(Action sayit)
{
sayit();
}
static void Main(string[] args)
{
A a = new A();
a.S = "I am one";
A b = new A();
... | using System;
class A
{
internal string S;
internal void Say()
{
Console.WriteLine(S);
}
}
class Program
{
private static void doit(Action sayit)
{
sayit();
}
static void Main(string[] args)
{
A a = new A() { S = "I am one" };
A b = new A() { S = "I... | mit | C# |
ba58a54170a62529240753b60294c72b5d190d84 | Update Index.cshtml | senzacionale/jQuery.Validation.Unobtrusive.Native,johnnyreilly/jQuery.Validation.Unobtrusive.Native,johnnyreilly/jQuery.Validation.Unobtrusive.Native,johnnyreilly/jQuery.Validation.Unobtrusive.Native | jVUNDemo/Views/Home/Index.cshtml | jVUNDemo/Views/Home/Index.cshtml | @section metatags{
<meta name="Description" content="Provides MVC HTML helper extensions that marry jQuery Validation's native unobtrusive support for validation driven by HTML 5 data attributes with MVC's ability to generate data attributes from Model metadata. With this in place you can use jQuery Validation as ... | @section metatags{
<meta name="Description" content="Provides MVC HTML helper extensions that marry jQuery Validation's native unobtrusive support for validation driven by HTML 5 data attributes with MVC's ability to generate data attributes from Model metadata. With this in place you can use jQuery Validation as ... | mit | C# |
512974b97281c9e9e49fa2fcb9f12d07e4b93174 | Update BatchOperationHelper.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/BatchOperationHelper.cs | TIKSN.Core/Data/BatchOperationHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public static class BatchOperationHelper
{
public static Task BatchOperationAsync<T>(IEnumerable<T> entities, CancellationToken cancellationToken, Func<T, Can... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public static class BatchOperationHelper
{
public static Task BatchOperationAsync<T>(IEnumerable<T> entities, CancellationToken cancellationToken, Func<T, Can... | mit | C# |
1ba392cbd559ee85b25a811b35d56f8eccd23281 | Fix bug about not redirecting to forums | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Portal/Controllers/Comments/CommentRedirectHelper.cs | JoinRpg.Portal/Controllers/Comments/CommentRedirectHelper.cs | using JoinRpg.DataModel;
using JoinRpg.Domain;
using Microsoft.AspNetCore.Mvc;
namespace JoinRpg.Portal.Controllers.Comments
{
internal static class CommentRedirectHelper
{
public static ActionResult RedirectToDiscussion(IUrlHelper Url, CommentDiscussion discussion, int? commentId = null)
{
... | using JoinRpg.DataModel;
using JoinRpg.Domain;
using Microsoft.AspNetCore.Mvc;
namespace JoinRpg.Portal.Controllers.Comments
{
internal static class CommentRedirectHelper
{
public static ActionResult RedirectToDiscussion(IUrlHelper Url, CommentDiscussion discussion, int? commentId = null)
{
... | mit | C# |
2bd356c9f55c1076b156007f97d90cbf3b24f505 | Add support for BACS Debit as a `Capability` on `Account` | stripe/stripe-dotnet | src/Stripe.net/Entities/Accounts/AccountCapabilities.cs | src/Stripe.net/Entities/Accounts/AccountCapabilities.cs | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountCapabilities : StripeEntity<AccountCapabilities>
{
/// <summary>
/// The status of the BECS Direct Debit (AU) payments capability of the account, or whether
/// the account can directly process BECS Dire... | namespace Stripe
{
using System;
using Newtonsoft.Json;
public class AccountCapabilities : StripeEntity<AccountCapabilities>
{
/// <summary>
/// The status of the BECS Direct Debit (AU) payments capability of the account, or whether
/// the account can directly process BECS Dire... | apache-2.0 | C# |
63e7ba127bd1c6d5b5c12bfee299ca9940e6b0d9 | Fix up message severities. | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartVS.Vsix/DartErrorListProvider.cs | DanTup.DartVS.Vsix/DartErrorListProvider.cs | using System;
using System.Linq;
using DanTup.DartAnalysis;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
internal class DartErrorListProvider
{
DTE dte;
ErrorListProvider errorProvider;
internal DartErrorListProvider(DTE dte, DartPackage package)
{
this.dte = dte;
error... | using System;
using System.Linq;
using DanTup.DartAnalysis;
using EnvDTE;
using Microsoft.VisualStudio.Shell;
namespace DanTup.DartVS
{
internal class DartErrorListProvider
{
DTE dte;
ErrorListProvider errorProvider;
internal DartErrorListProvider(DTE dte, DartPackage package)
{
this.dte = dte;
error... | mit | C# |
dbb3f5c461cb6f941a9d36ebc93d7b0c8d46c22c | Bump version to 0.4.4 | NJAldwin/Pequot | Pequot/Properties/AssemblyInfo.cs | Pequot/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | mit | C# |
8fecd8dcdc570f4ffb71706ca475950066eb6a4f | Fix sudden death not being applied on first run | peppy/osu-new,peppy/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,johnneijzen/osu,ZLima12/osu,ZLima12/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,peppy/osu,NeoAdonis/o... | osu.Game.Rulesets.Taiko.Tests/TestSceneTaikoSuddenDeath.cs | osu.Game.Rulesets.Taiko.Tests/TestSceneTaikoSuddenDeath.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Beatmaps;
using osu.Game.Rulesets.Taiko.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Beatmaps;
using osu.Game.Rulesets.Taiko.... | mit | C# |
759e78f9bce449ae10abaaef713bf9a84524e60e | Update AssemblyInfo | dmayhak/HyperSlackers.ExtensionMethods | ExtensionMethods/Properties/AssemblyInfo.cs | ExtensionMethods/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Hyp... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ex... | mit | C# |
82fed7328c167b2347be5b0e8ef2d4b8cb3f198c | add choice on StringToken boundary | RushuiGuan/expression | Albatross.Expression/Tokens/StringLiteralToken.cs | Albatross.Expression/Tokens/StringLiteralToken.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Albatross.Expression.Exceptions;
namespace Albatross.Expression.Tokens {
/// <summary>
/// will take any string literal enclosed by double quotes. use back slash to escape.
/// Check... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Albatross.Expression.Exceptions;
namespace Albatross.Expression.Tokens {
/// <summary>
/// will take any string literal enclosed by double quotes. use back slash to escape.
/// Check... | mit | C# |
0809045d2304d4ca1457009e305d98dc3c23f6df | Check for podcast keywords (#513) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | src/Firehose.Web/Extensions/SyndicationItemExtensions.cs | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
var hasXamarinCategory = false;
if (item.Categories.Count > ... | using System.Linq;
using System.ServiceModel.Syndication;
namespace Firehose.Web.Extensions
{
public static class SyndicationItemExtensions
{
public static bool ApplyDefaultFilter(this SyndicationItem item)
{
var hasXamarinCategory = false;
if (item.Categories.Count > ... | mit | C# |
2d41f700d6fd8fc8e1604dd1e6922c441fce3e5c | Fix code. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/AppContributorsJsonTests.cs | backend/tests/Squidex.Domain.Apps.Core.Tests/Model/Apps/AppContributorsJsonTests.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschränkt)
// All rights reserved. Licensed under the MIT license.
// ============================... | mit | C# |
e4b296e16ee7b144e0529c7890328c14b7eb5389 | Use `OptIn` serialisation on `SkinInfo` to avoid writing unnecessary information | ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Skinning/SkinInfo.cs | osu.Game/Skinning/SkinInfo.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Testing;
using osu.Game.Databa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.ObjectExtensions;
using osu.Framework.Testing;
using osu.Game.Database;
using osu.Game.IO;
... | mit | C# |
fa029bf55d4f6874f0db6a163a90e76594164625 | Add test cases from roman => arabic to prove it works both ways | StormPooper/CSharpKatas | RomanKata.Tests/RomanKataTests.cs | RomanKata.Tests/RomanKataTests.cs | using NUnit.Framework;
namespace RomanKata.Tests
{
[TestFixture]
public class RomanKataTests
{
private NumberConverter _converter;
[TestFixtureSetUp]
public void NumberConverterSetup()
{
_converter = new NumberConverter();
}
[TestCase(1, "I")]
... | using NUnit.Framework;
namespace RomanKata.Tests
{
[TestFixture]
public class RomanKataTests
{
private NumberConverter _converter;
[TestFixtureSetUp]
public void NumberConverterSetup()
{
_converter = new NumberConverter();
}
[TestCase(1, "I")]
... | unlicense | C# |
eaf218924d30a6f2eb813dd7269da4e41826639c | Remove redundant namespaces | dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism,dmitrypetukhov/evangelism | TwitterCrawlerDemo/source/Twitter.Listner.Console/Program.cs | TwitterCrawlerDemo/source/Twitter.Listner.Console/Program.cs | using Twitter.Streaming;
using Twitter.Streaming.Configurations;
namespace Twitter.Listner.Console
{
class Program
{
static void Main(string[] args)
{
var listner = new TwitterListner(new TwitterListnerConfiguration(), new EventHubConfiguration(), new ConsoleLogger());
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Twitter.Streaming;
using Twitter.Streaming.Configurations;
namespace Twitter.Listner.Console
{
class Program
{
static void Main(string[] args)
{
var listner = n... | mit | C# |
862f69e6b952113bd0916dad1df3fbc8797882d9 | Update SolutionInfo for v0.2.0.1 | dustinleavins/KSMVVM.WPF | properties/SolutionInfo.cs | properties/SolutionInfo.cs | using System;
using System.Reflection;
[assembly: AssemblyVersion("0.2.0.1")]
[assembly: AssemblyFileVersion("0.2.0.1")]
[assembly: AssemblyCompany("Dustin Leavins")]
[assembly: AssemblyCopyright("Copyright © Dustin Leavins 2013,2014")] | using System;
using System.Reflection;
[assembly: AssemblyVersion("0.2")]
[assembly: AssemblyFileVersion("0.2")]
[assembly: AssemblyCompany("Dustin Leavins")]
[assembly: AssemblyCopyright("Copyright © Dustin Leavins 2013,2014")] | mit | C# |
57736d7d4de0fc1a872b8f46d0a5ec91ea336478 | Revert assembly version and assembly file version back to 0.2.0.0 | yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,AzureAutomationTeam/azure-sdk-for-net,stankovski/azure-sdk-for-net,olydis/azure-sdk-for-net,jamestao/azure-sdk-for-net,hyonholee/azure-sdk-for-net,jamestao/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,hyonholee/azure-sdk-for-... | src/ResourceManagement/CognitiveServices/Microsoft.Azure.Management.CognitiveServices/Properties/AssemblyInfo.cs | src/ResourceManagement/CognitiveServices/Microsoft.Azure.Management.CognitiveServices/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. 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 applicable la... | //
// Copyright (c) Microsoft. 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 applicable la... | mit | C# |
b963901032aa929b8e4d29cc1bf875b581fa7382 | fix build errror on game controller | nicholaschiasson/affliction | Assets/Scripts/GameController.cs | Assets/Scripts/GameController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : MonoBehaviour {
Camera camera;
List<Microorganism> selectedUnits;
Organ selectedOrgan;
// Use this for initialization
void Start () {
camera = this.GetComponent<Camera>();
selecte... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameController : MonoBehaviour {
Camera camera;
List<Microorganism> selectedUnits;
Organ selectedOrgan;
// Use this for initialization
void Start () {
camera = this.GetComponent<Camera>();
selecte... | mit | C# |
591b0dab40e2f090f8421dee7021897a6e511db2 | Implement drawing | sakapon/Tutorials-2014 | LeapTutorial01/AirCanvas/MainWindow.xaml.cs | LeapTutorial01/AirCanvas/MainWindow.xaml.cs | using Leap;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
3b613ec8e873bddbdb13a435c7b02b22f0e42e4d | bump version | Fody/Validar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Validar")]
[assembly: AssemblyProduct("Validar")]
[assembly: AssemblyVersion("1.4.8")]
[assembly: AssemblyFileVersion("1.4.8")]
| using System.Reflection;
[assembly: AssemblyTitle("Validar")]
[assembly: AssemblyProduct("Validar")]
[assembly: AssemblyVersion("1.4.7")]
[assembly: AssemblyFileVersion("1.4.7")]
| mit | C# |
b95e3a0cc34e931351a592a2d2c13b9f808d434c | bump version | Fody/MethodTimer,GeertvanHorrik/MethodTimer | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("MethodTimer")]
[assembly: AssemblyProduct("MethodTimer")]
[assembly: AssemblyVersion("1.5.0.0")]
[assembly: AssemblyFileVersion("1.5.0.0")]
| using System.Reflection;
[assembly: AssemblyTitle("MethodTimer")]
[assembly: AssemblyProduct("MethodTimer")]
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.0.0")]
| mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.