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 |
|---|---|---|---|---|---|---|---|---|
c34819d885f7e359f8e08e189fa767b1f2500ba2 | Fix stock firmware support detection | blackmamba97/Transformer-Toolkit | Toolkit/Classes/Device.cs | Toolkit/Classes/Device.cs | /*
* Device.cs - Developed by Max Röhrl for Transformer Toolkit
*/
using System;
using System.Linq;
namespace Toolkit
{
public class Device
{
/// <summary>
/// Android version of the latest Asus firmware for TF700T/TF300T/ME301T
/// </summary>
private const string MinAnd... | /*
* Device.cs - Developed by Max Röhrl for Transformer Toolkit
*/
using System;
using System.Linq;
namespace Toolkit
{
public class Device
{
/// <summary>
/// Android version of the latest Asus firmware for TF700T/TF300T/ME301T
/// </summary>
private const string MinAnd... | mit | C# |
237d722580d347f190b00cbd3dd7f2aaef9a6ff1 | trim down error page | mzrimsek/scheduler,mzrimsek/scheduler,mzrimsek/scheduler | Views/Shared/Error.cshtml | Views/Shared/Error.cshtml | @{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
| @{
ViewData["Title"] = "Error";
}
<h1 class="text-danger">Error</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
<h3>Development Mode</h3>
<p>
Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
</p>
<p>
... | mit | C# |
e8623db1f737ba2fbaa6a26738dba2c12f931cfc | Add AUID documentation | HelloKitty/GladNet2,HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2.0 | src/GladNet.Common/Network/Peer/Connection/IConnectionDetails.cs | src/GladNet.Common/Network/Peer/Connection/IConnectionDetails.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace GladNet.Common
{
/// <summary>
/// Connection details describing the remote and local peer details.
/// </summary>
public interface IConnectionDetails
{
/// <summary>
/// IPAddress of the remote... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
namespace GladNet.Common
{
/// <summary>
/// Connection details describing the remote and local peer details.
/// </summary>
public interface IConnectionDetails
{
/// <summary>
/// IPAddress of the remote... | bsd-3-clause | C# |
b4417e3bd6275b84e188cbe438ba6e9c50bbe95a | Support loading bitmaps from resources. | SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,punker76/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,MrDaedra/Avalonia,MrDaedra/Avalonia,jazzay/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,OronDF... | src/Markup/Perspex.Markup.Xaml/Converters/BitmapTypeConverter.cs | src/Markup/Perspex.Markup.Xaml/Converters/BitmapTypeConverter.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Globalization;
using OmniXaml.TypeConversion;
using Perspex.Media.Imaging;
using Perspex.Platform;
namespace Perspex.Markup.Xam... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Globalization;
using OmniXaml.TypeConversion;
using Perspex.Media.Imaging;
namespace Perspex.Markup.Xaml.Converters
{
publi... | mit | C# |
d843aef427655a5b6c00a34b007abf64b185623a | Remove legercy code in UIElement.(BackgroundTexture) | GoodGoodJM/UnityEditorOOP | Assets/Editor/EditorUI/Element/UIElement.cs | Assets/Editor/EditorUI/Element/UIElement.cs | using UnityEditor;
using UnityEngine;
namespace GGM.Editor.UI.Element
{
public abstract class UIElement : IUIElement
{
protected UIElement()
{
LayoutStyle = GUIStyle.none;
}
public Color BackgroundColor { get; set; }
public GUIStyle LayoutStyle { get; set; ... | using UnityEditor;
using UnityEngine;
namespace GGM.Editor.UI.Element
{
public abstract class UIElement : IUIElement
{
protected UIElement()
{
LayoutStyle = GUIStyle.none;
}
public Texture2D BackgroundTexture
{
get { return LayoutStyle.normal.ba... | mit | C# |
2752e969c05c7eae3522f809622a2e332230e53d | Replace links by https | AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipo... | src/R/Components/Impl/Documentation/OnlineDocumentationUrls.cs | src/R/Components/Impl/Documentation/OnlineDocumentationUrls.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.R.Components.Documentation {
public static class OnlineDocumentationUrls {
public const string CranIntro = "https://aka.ms/rtvs-cran-... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace Microsoft.R.Components.Documentation {
public static class OnlineDocumentationUrls {
public const string CranIntro = "http://aka.ms/rtvs-cran-r... | mit | C# |
bd8a3f478dee2fd56f2617a8ce70e8114f26655a | Update GlobalAlert.cshtml | smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp | src/StockportWebapp/Views/stockportgov/Shared/GlobalAlert.cshtml | src/StockportWebapp/Views/stockportgov/Shared/GlobalAlert.cshtml | @using StockportWebapp.Models
@using StockportWebapp.Utils
@inject ICookiesHelper CookiesHelper
@model Alert
@{
var alertCookies = CookiesHelper.GetCookies<Alert>("alerts");
var isDismissed = alertCookies != null && alertCookies.Contains(Model.Slug) && !Model.IsStatic;
}
@if (!isDismissed)
{
<div class="... | @using StockportWebapp.Models
@using StockportWebapp.Utils
@inject ICookiesHelper CookiesHelper
@model Alert
@{
var alertCookies = CookiesHelper.GetCookies<Alert>("alerts");
var isDismissed = alertCookies != null && alertCookies.Contains(Model.Slug) && !Model.IsStatic;
}
@if (!isDismissed)
{
<div class="... | mit | C# |
7d276144b871f219d07321480aea1852e9aa7d44 | Fix player sizing + masking | ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,ppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerInstance.cs | osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerInstance.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Ru... | // 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.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu.Game.Rulesets;
using osu.Game.Ru... | mit | C# |
65edbb39dd737e8529a343f385d2600e482b7ff3 | Add Culture Cloning Test (#41124) | ViktorHofer/corefx,ViktorHofer/corefx,shimingsg/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,eri... | src/System.Globalization/tests/CultureInfo/CultureInfoClone.cs | src/System.Globalization/tests/CultureInfo/CultureInfoClone.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.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class CultureInfoC... | // 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.Generic;
using Xunit;
namespace System.Globalization.Tests
{
public class CultureInfoC... | mit | C# |
b690ad186b60df0640e30f5af58196ddc24b2339 | Move media type formatter registration to WebApiConfig | OSLC/oslc4net,OSLC/oslc4net,OSLC/oslc4net | OSLC4Net_SDK/OSLC4Net.StockQuoteSample/App_Start/WebApiConfig.cs | OSLC4Net_SDK/OSLC4Net.StockQuoteSample/App_Start/WebApiConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web;
using OSLC4Net.StockQuoteSample.Controllers;
using OSLC4Net.Core.DotNetRdfProvider;
namespace OSLC4Net.StockQuoteSample
{
public static class WebApiConfig
{
public static void Regist... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using System.Web;
using OSLC4Net.StockQuoteSample.Controllers;
namespace OSLC4Net.StockQuoteSample
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
... | epl-1.0 | C# |
b8230d93e61182c7a35465d2c7ec86da7f2a3dc3 | create a property that receives a parameter by constructor to set the xml file name | Natanielsr/ProjectCustomGame | ProjectCustomGame/Assets/scripts/models/manager/ScenesManager.cs | ProjectCustomGame/Assets/scripts/models/manager/ScenesManager.cs | /*
The MIT License (MIT)
Copyright (c) 2017 Nataniel Soares Rodrigues
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, m... | /*
The MIT License (MIT)
Copyright (c) 2017 Nataniel Soares Rodrigues
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, m... | mit | C# |
0850d07986dcad774546eebca155aa802d88bf57 | Fix crashing when provided osu! cfg file path is incorrect. | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/osuFallbackDetector/OsuFallbackDetector.cs | osu!StreamCompanion/Code/Modules/osuFallbackDetector/OsuFallbackDetector.cs | using System;
using System.IO;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Interfeaces;
namespace osu_StreamCompanion.Code.Modules.osuFallbackDetector
{
class OsuFallbackDetector : IModule, ISettings
{
//LastVersion = b20151228.3
... | using System;
using System.IO;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Interfeaces;
namespace osu_StreamCompanion.Code.Modules.osuFallbackDetector
{
class OsuFallbackDetector : IModule, ISettings
{
//LastVersion = b20151228.3
... | mit | C# |
2734983564a3fa132242fbe55a794dd124d582ed | Add unique constraints on RulesetInfo table to ensure things stay sane. | ppy/osu,DrabWeb/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,EVAST9919/osu,naoey/osu,2yangk23/osu,smoogipooo/osu,johnneijzen/osu,Damnae/osu,ZLima12/osu,Nabile-Rahmani/osu,nyaamara/osu,NeoAdonis/osu,naoey/osu,RedNesto/osu,peppy/osu,UselessToucan/osu,osu-RP/osu-RP,UselessToucan/osu,2yangk23/osu,NeoAdonis... | osu.Game/Database/RulesetInfo.cs | osu.Game/Database/RulesetInfo.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.Game.Modes;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class RulesetInfo
{
[PrimaryKey, AutoIn... | // 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.Game.Modes;
using SQLite.Net.Attributes;
namespace osu.Game.Database
{
public class RulesetInfo
{
[PrimaryKey, AutoIn... | mit | C# |
73fbfda1b5680e6c8bd2de30da103a020e717737 | Bump to v0.3.0 | danielwertheim/structurizer | buildconfig.cake | buildconfig.cake | public class BuildConfig
{
private const string Version = "0.3.0";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pu... | public class BuildConfig
{
private const string Version = "0.2.0";
private const bool IsPreRelease = false;
public readonly string SrcDir = "./src/";
public readonly string OutDir = "./build/";
public string Target { get; private set; }
public string SemVer { get; private set; }
pu... | mit | C# |
7969db849fe933251c8be3a3facfeaee070c992f | Install AppHarborInstaller on WindsorContainer | appharbor/appharbor-cli | src/AppHarbor/Program.cs | src/AppHarbor/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Windsor;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer()
.Install(new AppHarborInstaller());
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Windsor;
namespace AppHarbor
{
class Program
{
static void Main(string[] args)
{
var container = new WindsorContainer();
}
}
}
| mit | C# |
27744639ac4a1ef756f5cf598549045b7b7917f2 | change method name. | mdsol/Medidata.ZipkinTracerModule | src/Medidata.ZipkinTracer.Core/Middlewares/ZipkinMiddleware.cs | src/Medidata.ZipkinTracer.Core/Middlewares/ZipkinMiddleware.cs | using System.Threading.Tasks;
using log4net;
using Microsoft.Owin;
using Owin;
namespace Medidata.ZipkinTracer.Core.Middlewares
{
public class ZipkinMiddleware : OwinMiddleware
{
private readonly ZipkinMiddlewareOptions _options;
public ZipkinMiddleware(OwinMiddleware next, ZipkinMiddlewareOp... | using System.Threading.Tasks;
using log4net;
using Microsoft.Owin;
using Owin;
namespace Medidata.ZipkinTracer.Core.Middlewares
{
public class ZipkinMiddleware : OwinMiddleware
{
private readonly ZipkinMiddlewareOptions _options;
public ZipkinMiddleware(OwinMiddleware next, ZipkinMiddlewareOp... | mit | C# |
5bba8c6053361348ece9abe262aeb677ff1e7854 | Update NetCore2 ConsoleExample with LogManager.Shutdown() | NLog/NLog.Framework.Logging,NLog/NLog.Framework.Logging,NLog/NLog.Extensions.Logging | examples/NetCore2/ConsoleExample/Program.cs | examples/NetCore2/ConsoleExample/Program.cs | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
namespace ConsoleExample
{
class Program
{
static void Main(string[] args)
{
var servicesProvider = BuildDi();
var runner = servicesProvider.... | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using NLog.Extensions.Logging;
namespace ConsoleExample
{
class Program
{
static void Main(string[] args)
{
var servicesProvider = BuildDi();
var runner = servicesProvider.... | bsd-2-clause | C# |
8712c70271baed3bb3e6be77de8ff205db541939 | fix model planning and checking | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.Testing/Internal/TestableApplication.cs | src/Aggregates.NET.Testing/Internal/TestableApplication.cs | using Aggregates.Internal;
using Aggregates.UnitOfWork;
using Aggregates.UnitOfWork.Query;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
[ExcludeFromCodeCoverage]
class TestableApplication : ITesta... | using Aggregates.Internal;
using Aggregates.UnitOfWork;
using Aggregates.UnitOfWork.Query;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
[ExcludeFromCodeCoverage]
class TestableApplication : ITesta... | mit | C# |
b12c8d6ee25c524f4d98ba0a57e5659ed5152f9b | Add at CompositeAnnouncer Error(Exception exception) implementation | barser/fluentmigrator,vgrigoriu/fluentmigrator,wolfascu/fluentmigrator,bluefalcon/fluentmigrator,itn3000/fluentmigrator,IRlyDontKnow/fluentmigrator,drmohundro/fluentmigrator,mstancombe/fluentmig,akema-fr/fluentmigrator,KaraokeStu/fluentmigrator,dealproc/fluentmigrator,mstancombe/fluentmig,amroel/fluentmigrator,danielle... | src/FluentMigrator.Runner/Announcers/CompositeAnnouncer.cs | src/FluentMigrator.Runner/Announcers/CompositeAnnouncer.cs | #region License
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
//
... | #region License
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
... | apache-2.0 | C# |
05b6ab91c9873885e639e6ba4153b6828dde4edf | Disable unused event warning | wieslawsoltes/Perspex,SuperJMN/Avalonia,Perspex/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,AvaloniaUI/Avalonia,MrDaedra/Avalonia,Super... | src/Markup/Avalonia.Markup/AlwaysEnabledDelegateCommand.cs | src/Markup/Avalonia.Markup/AlwaysEnabledDelegateCommand.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
namespace Avalonia.Markup
{
class AlwaysEnabledDelegateCommand : ICommand
{
private readonly Delegate action;
public AlwaysEnabledDelegateCommand(Delegate action)
{
this.action =... | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;
namespace Avalonia.Markup
{
class AlwaysEnabledDelegateCommand : ICommand
{
private readonly Delegate action;
public AlwaysEnabledDelegateCommand(Delegate action)
{
this.action =... | mit | C# |
d34d2c95e4258d294402006b49510b689aac54f6 | Update IComplier.Engine.cs | NMSLanX/Natasha | src/Natasha/Core/Engine/ComplierModule/IComplier.Engine.cs | src/Natasha/Core/Engine/ComplierModule/IComplier.Engine.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Natasha.Complier.Model;
using System.Collections.Immutable;
using System.IO;
using System.Reflection;
namespace Natasha.Complier
{
public abstract partial class IComplier
{
/// <summary>
/// 使用内存流进行脚本编译
/// </sum... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Natasha.Complier.Model;
using System.Collections.Immutable;
using System.IO;
using System.Reflection;
namespace Natasha.Complier
{
public abstract partial class IComplier
{
/// <summary>
/// 使用内存流进行脚本编译
/// </sum... | mpl-2.0 | C# |
6f56a5dfb67e43f3cee7c486adfb3de2ce2e0337 | Fix static problem for multiple RedisConfiguration (#154) | imperugo/StackExchange.Redis.Extensions,imperugo/StackExchange.Redis.Extensions | src/StackExchange.Redis.Extensions.Core/Configuration/RedisConfiguration.cs | src/StackExchange.Redis.Extensions.Core/Configuration/RedisConfiguration.cs | using System.Net.Security;
namespace StackExchange.Redis.Extensions.Core.Configuration
{
public class RedisConfiguration
{
private ConnectionMultiplexer connection;
private ConfigurationOptions options;
/// <summary>
/// The key separation prefix used for all cache entries
/// </summary>
public string ... | using System.Net.Security;
namespace StackExchange.Redis.Extensions.Core.Configuration
{
public class RedisConfiguration
{
private static ConnectionMultiplexer connection;
private static ConfigurationOptions options;
/// <summary>
/// The key separation prefix used for all cache entries
/// </summary>
... | mit | C# |
ede3e2e7ec1bb456b66dbb6e1f4e94adc01dffa6 | Fix an error in JournalEndCrewSession | EDDiscovery/EDDiscovery,klightspeed/EDDiscovery,andreaspada/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs | /*
* Copyright © 2017 EDDiscovery development team
*
* 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 ... | /*
* Copyright © 2017 EDDiscovery development team
*
* 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 ... | apache-2.0 | C# |
658f55b303c56bd75ba53708088bc7768a60154d | Edit QueueDataGraphic.cs | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/QueueDataGraphic.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* QueueDataGraphic.cs *
* 本檔案用於佇列資料繪圖功能 *
********************************************************************
*/
using System... | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* QueueDataGraphic.cs *
* 本檔案用於佇列資料繪圖功能 *
********************************************************************
*/
using System... | apache-2.0 | C# |
74ba9f65d88e21dc229fe01597991138813e50e5 | Update SettingSubScriptEffect.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-sha... | Examples/CSharp/Formatting/DealingWithFontSettings/SettingSubScriptEffect.cs | Examples/CSharp/Formatting/DealingWithFontSettings/SettingSubScriptEffect.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingSubScriptEffect
{
public static void Main(string[] args)
{
//Exstart:1
// The path to the documents directory.
string dataDir = Aspo... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Formatting.DealingWithFontSettings
{
public class SettingSubScriptEffect
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.... | mit | C# |
8e9993353eae684aadef5216a87b03512912acf0 | fix metric url issue | huoxudong125/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NET,mnadel/Metrics.NET,MetaG8/Metrics.... | Src/Adapters/Nancy.Metrics/MetricsModule.cs | Src/Adapters/Nancy.Metrics/MetricsModule.cs | using System;
using Metrics;
using Metrics.Reporters;
using Metrics.Visualization;
namespace Nancy.Metrics
{
public class MetricsModule : NancyModule
{
private struct ModuleConfig
{
public readonly string ModulePath;
public readonly Action<INancyModule> ModuleConfigActi... | using System;
using Metrics;
using Metrics.Reporters;
using Metrics.Visualization;
namespace Nancy.Metrics
{
public class MetricsModule : NancyModule
{
private struct ModuleConfig
{
public readonly string ModulePath;
public readonly Action<INancyModule> ModuleConfigActi... | apache-2.0 | C# |
9f943765fe994932a3c0f32ce8bc73fbf7b9671f | fix UIAutomation ConstructFrom timeOut | signumsoftware/framework,signumsoftware/framework,AlejandroCano/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/extensions,MehdyKarimpour/extensions,MehdyKarimpour/extensions | Signum.Windows.Extensions.UIAutomation/Proxies/ProcessExecutionExtensions.cs | Signum.Windows.Extensions.UIAutomation/Proxies/ProcessExecutionExtensions.cs | using Signum.Entities;
using Signum.Entities.Basics;
using Signum.Entities.Processes;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Windows.UIAutomation
{
public static class ProcessExecutionExtensions
{
static int Defaul... | using Signum.Entities;
using Signum.Entities.Basics;
using Signum.Entities.Processes;
using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Signum.Windows.UIAutomation
{
public static class ProcessExecutionExtensions
{
static int Defaul... | mit | C# |
681e8f45e953dee7703a06dabb31306f11b9224c | Add Delete button to TabControlSection to test deleting tabs | l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Test/Eto.Test/Sections/Controls/TabControlSection.cs | Source/Eto.Test/Eto.Test/Sections/Controls/TabControlSection.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Controls
{
public class TabControlSection : Panel
{
TabControl tabControl;
public TabControlSection ()
{
Create ();
}
protected virtual void Create ()
{
var layout = new DynamicLayout (this);
layout.AddSeparateRow... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Controls
{
public class TabControlSection : Panel
{
public TabControlSection ()
{
Add();
}
protected virtual void Add()
{
var layout = new DynamicLayout(this);
var tabControl = DefaultTabs();
layout.Add(tabControl... | bsd-3-clause | C# |
b020ff8f7df0cef8b70a35c85b03e7edd726c67b | Implement IAsyncPageFilter with DbContextTransactionFilter | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Infrastructure/DbContextTransactionFilter.cs | SupportManager.Web/Infrastructure/DbContextTransactionFilter.cs | using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Infrastructure
{
public class DbContextTransactionFilter : IAsyncActionFilter, IAsyncPageFilter
{
private readonly SupportManagerContext _dbContext;
public DbContextTransactionFilter(SupportManagerC... | using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Filters;
using SupportManager.DAL;
namespace SupportManager.Web.Infrastructure
{
public class DbContextTransactionFilter : IAsyncActionFilter
{
private readonly SupportManagerContext _dbContext;
public DbContextTransac... | mit | C# |
de7ea3af01c7fcdb44f207588a56c6efdd9ed075 | Use new "RuntimeDependencies" UBT feature to get our DLLs in place. | OSVR/OSVR-Unreal,OSVR/OSVR-Unreal,OSVR/OSVR-Unreal,OSVR/OSVR-Unreal | OSVRUnreal/Plugins/OSVR/Source/OSVRClientKit/OSVRClientKit.Build.cs | OSVRUnreal/Plugins/OSVR/Source/OSVRClientKit/OSVRClientKit.Build.cs | using UnrealBuildTool;
using System.IO;
public class OSVRClientKit : ModuleRules
{
private string ModulePath
{
get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); }
}
public OSVRClientKit(TargetInfo Target)
{
Type = ModuleType.Ext... | using UnrealBuildTool;
using System.IO;
public class OSVRClientKit : ModuleRules
{
private string ModulePath
{
get { return Path.GetDirectoryName(RulesCompiler.GetModuleFilename(this.GetType().Name)); }
}
public OSVRClientKit(TargetInfo Target)
{
Type = ModuleType.Ext... | apache-2.0 | C# |
cbf9668e23c23932352419ff2bb0905620cf1532 | Update brush test | bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto | Source/Eto.Test/Eto.Test/Sections/Drawing/TextureBrushesSection2.cs | Source/Eto.Test/Eto.Test/Sections/Drawing/TextureBrushesSection2.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
class TextureBrushesSection2 : Scrollable
{
Bitmap image = TestIcons.Textures;
PointF location = new PointF(100, 100);
public TextureBrushesSection2()
{
var w = image.Size.Width / 3; // same as height
var img = im... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Eto.Test.Sections.Drawing
{
class TextureBrushesSection2 : Scrollable
{
Bitmap image = TestIcons.Textures;
PointF location = new PointF(100, 100);
public TextureBrushesSection2()
{
var w = image.Size.Width / 3; // same as height
var img = im... | bsd-3-clause | C# |
5d768c136655c81ebba8387ef50295abde521571 | Add documentation for pagination list results. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs | Source/Lib/TraktApiSharp/Objects/Basic/TraktPaginationListResult.cs | namespace TraktApiSharp.Objects.Basic
{
using System.Collections.Generic;
/// <summary>
/// Represents results of requests supporting pagination.<para />
/// Contains the current page, the item limitation per page, the total page count, the total item count
/// and can also contain the total user ... | namespace TraktApiSharp.Objects.Basic
{
using System.Collections.Generic;
public class TraktPaginationListResult<ListItem>
{
public IEnumerable<ListItem> Items { get; set; }
public int? Page { get; set; }
public int? Limit { get; set; }
public int? PageCount { get; set; ... | mit | C# |
b8a1f29d90d37ed6d4c3662ee95e340ace23bc3d | clean up | dkataskin/bstrkr | bstrkr.mobile/bstrkr.core/Services/Location/PositioningService.cs | bstrkr.mobile/bstrkr.core/Services/Location/PositioningService.cs | using System;
using bstrkr.core;
using bstrkr.core.services.location;
using bstrkr.core.spatial;
namespace bstrkr.core.services.location
{
public class PositioningService : IPositioningService
{
private readonly ILocationService _locationService;
private readonly IAreaPositioningService _areaPositioningService... | using System;
using bstrkr.core;
using bstrkr.core.services.location;
using bstrkr.core.spatial;
namespace Services.Location
{
public class PositioningService : IPositioningService
{
private readonly ILocationService _locationService;
private readonly IAreaPositioningService _areaPositioningService;
public ... | bsd-2-clause | C# |
0877c6c295dbae22fb6d7e759f94fb981406e595 | Fix for WebExceptionResponse | NeptuneCenturyStudios/KryptPad | KryptPadCSApp/API/Responses/WebExceptionResponse.cs | KryptPadCSApp/API/Responses/WebExceptionResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace KryptPadCSApp.API.Responses
{
class WebExceptionResponse : ApiResponse
{
public string Message { get; set; }
public IDictionary<string, strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace KryptPadCSApp.API.Responses
{
class WebExceptionResponse : ApiResponse
{
public string Message { get; set; }
public IDictionary<string, strin... | mit | C# |
deda1c83e67779a748d82138215846519dbcfea7 | Add failing test case | peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu | osu.Game.Tests/Visual/UserInterface/TestSceneSettingsToolboxGroup.cs | osu.Game.Tests/Visual/UserInterface/TestSceneSettingsToolboxGroup.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Graphics.User... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Screens.Play.HUD;
usin... | mit | C# |
b50473292265f56bd3fc3e9b6771d97c22f71f2c | Allow identity on any DB type that maps to an INTEGER | fluentmigrator/fluentmigrator,stsrki/fluentmigrator,stsrki/fluentmigrator,fluentmigrator/fluentmigrator | src/FluentMigrator.Runner.SQLite/Generators/SQLite/SQLiteColumn.cs | src/FluentMigrator.Runner.SQLite/Generators/SQLite/SQLiteColumn.cs | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentMigrator.Model;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.SQLite
{
// ReSharper disable once InconsistentNaming
internal class SQLiteColumn : ColumnBase
{
... | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using FluentMigrator.Model;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.SQLite
{
// ReSharper disable once InconsistentNaming
internal class SQLiteColumn : ColumnBase
{
... | apache-2.0 | C# |
ddfe37336834f50d31cf2137b259ea64dc49eb1d | Bump version to 1.0.3. | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | AssemblyVersion.cs | AssemblyVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("1.0.3")]
[assembly: AssemblyFileVersion("1.0.3")] | using System.Reflection;
[assembly: AssemblyVersion("1.0.2")]
[assembly: AssemblyFileVersion("1.0.2")] | mit | C# |
41078384e6c92418e61242dd8d5ce2083f0eec63 | Add Initial User API tests | navalev/nether,stuartleeks/nether,oliviak/nether,vflorusso/nether,navalev/nether,stuartleeks/nether,ankodu/nether,ankodu/nether,navalev/nether,MicrosoftDX/nether,brentstineman/nether,stuartleeks/nether,vflorusso/nether,ankodu/nether,stuartleeks/nether,brentstineman/nether,ankodu/nether,brentstineman/nether,krist00fer/n... | tests/Nether.Web.IntegrationTests/Identity/UserApiTests.cs | tests/Nether.Web.IntegrationTests/Identity/UserApiTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nether.Web.IntegrationTests.Identity
{
public class UserApiTests : WebTestBase
{
private HttpClient _client;
[Fact]
public a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace Nether.Web.IntegrationTests.Identity
{
public class UserApiTests : WebTestBase
{
private HttpClient _client;
//[Fact]
//publ... | mit | C# |
db32f5b8a61a3b4d570246ca80bae610c5c58600 | Rename var | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Core/Components/UniversityAssembly.cs | R7.University.Core/Components/UniversityAssembly.cs | using System.Reflection;
namespace R7.University.Components
{
public static class UniversityAssembly
{
public static Assembly GetBaseAssembly ()
{
return Assembly.GetExecutingAssembly ();
}
public static string SafeGetInformationalVersion (int fieldCount)
{... | using System.Reflection;
namespace R7.University.Components
{
public static class UniversityAssembly
{
public static Assembly GetBaseAssembly ()
{
return Assembly.GetExecutingAssembly ();
}
public static string SafeGetInformationalVersion (int fieldCount)
{... | agpl-3.0 | C# |
93f9848d202956d1b89fc3a79692a8cb3abf25b4 | Update src/Website/Views/Documentation/v2/HtmlTemplates/JQueryTmpl.cshtml | andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,andrewdavey/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette | src/Website/Views/Documentation/v2/HtmlTemplates/JQueryTmpl.cshtml | src/Website/Views/Documentation/v2/HtmlTemplates/JQueryTmpl.cshtml | @{
ViewBag.Title = "Cassette | jQuery-tmpl Template Compilation";
}
<h1>jQuery-tmpl Template Compilation</h1>
<p>jQuery-tmpl templates are usually embedded into a page using non-executing script blocks.
The browser then compiles these into JavaScript functions at runtime. This may be fast in modern
browser... | @{
ViewBag.Title = "Cassette | jQuery-tmpl Template Compilation";
}
<h1>jQuery-tmpl Template Compilation</h1>
<p>jQuery-tmpl templates are usually embedded into a page using non-executing script blocks.
The browser then compiles these into JavaScript functions at runtime. This may be fast in modern
browser... | mit | C# |
528b8f1e743b66d5c01a045e51de5196ed4ea9d1 | Add ConfAwait | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/Terminate/TerminateService.cs | WalletWasabi/Services/Terminate/TerminateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | mit | C# |
679aa2165dbb8f39434d985de8595301c8f65b8f | Set default trivia timeout to match help text. | Nielk1/NadekoBot,ShadowNoire/NadekoBot,ScarletKuro/NadekoBot | NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs | NadekoBot.Core/Modules/Games/Common/Trivia/TriviaOptions.cs | using CommandLine;
using NadekoBot.Core.Common;
namespace NadekoBot.Core.Modules.Games.Common.Trivia
{
public class TriviaOptions : INadekoCommandOptions
{
[Option('p', "pokemon", Required = false, Default = false, HelpText = "Whether it's 'Who's that pokemon?' trivia.")]
public bool IsPokemon... | using CommandLine;
using NadekoBot.Core.Common;
namespace NadekoBot.Core.Modules.Games.Common.Trivia
{
public class TriviaOptions : INadekoCommandOptions
{
[Option('p', "pokemon", Required = false, Default = false, HelpText = "Whether it's 'Who's that pokemon?' trivia.")]
public bool IsPokemon... | mit | C# |
0602f5448bc19f206212516a456836521947ae23 | Add support for `confirmation_method` on `PaymentIntent` | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs | src/Stripe.net/Services/PaymentIntents/PaymentIntentCreateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PaymentIntentCreateOptions : PaymentIntentSharedOptions
{
[JsonProperty("capture_method")]
public string CaptureMethod { get; set; }
[JsonProperty("confirm")]
public bool? Confirm {... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PaymentIntentCreateOptions : PaymentIntentSharedOptions
{
[JsonProperty("capture_method")]
public string CaptureMethod { get; set; }
[JsonProperty("confirm")]
public bool? Confirm {... | apache-2.0 | C# |
07d21830cbeb81ccdfc0fd9ae83263c35ddb7ec6 | Switch to ValueTask | shyamnamboodiripad/roslyn,KevinRansom/roslyn,wvdd007/roslyn,sharwell/roslyn,physhi/roslyn,weltkante/roslyn,KevinRansom/roslyn,mavasani/roslyn,eriawan/roslyn,mavasani/roslyn,physhi/roslyn,KevinRansom/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,AmadeusW/roslyn,eriawan/roslyn,jaso... | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptVisualStudioProjectFactory.cs | src/VisualStudio/Core/Def/ExternalAccess/VSTypeScript/Api/IVsTypeScriptVisualStudioProjectFactory.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;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell.Interop;
na... | // 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;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Shell.Interop;
na... | mit | C# |
82717f2441bb3f081d0f29d8802efebbdb1a1e53 | Fix bug when pre-registered activator is instance | OrleansContrib/Orleankka,OrleansContrib/Orleankka,mhertis/Orleankka,mhertis/Orleankka | Source/Orleankka.Runtime/Cluster/ServiceCollectionExtensions.cs | Source/Orleankka.Runtime/Cluster/ServiceCollectionExtensions.cs | using System;
using System.Linq;
namespace Orleankka.Cluster
{
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
static class ServiceCollectionExtensions
{
public static void Decorate<T>(this IServiceCollection services, Func<T, T> deco... | using System;
using System.Linq;
namespace Orleankka.Cluster
{
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
static class ServiceCollectionExtensions
{
public static void Decorate<T>(this IServiceCollection services, Func<T, T> deco... | apache-2.0 | C# |
936aaa17bb22a20450a71a3bae6e9c2f039e2c1d | fix tests | jezzay/Test-Travis-CI,jezzay/Test-Travis-CI | TestWebApp/TestWebApp.Tests/Controllers/ValuesControllerTest.cs | TestWebApp/TestWebApp.Tests/Controllers/ValuesControllerTest.cs | using System.Collections.Generic;
using System.Linq;
using TestWebApp.Controllers;
using Xunit;
namespace TestWebApp.Tests.Controllers
{
public class ValuesControllerTest
{
[Fact]
public void Get()
{
// Arrange
var controller = new ValuesController();
... | using System.Collections.Generic;
using System.Linq;
using TestWebApp.Controllers;
using Xunit;
namespace TestWebApp.Tests.Controllers
{
public class ValuesControllerTest
{
public void Get()
{
// Arrange
var controller = new ValuesController();
// Act
... | mit | C# |
57c79ced2f70579662a229052f22012472cec015 | Add XML docs + remove code todo | HalidCisse/Humanizer,mexx/Humanizer,schalpat/Humanizer,thunsaker/Humanizer,hazzik/Humanizer,micdenny/Humanizer,nigel-sampson/Humanizer,llehouerou/Humanizer,kikoanis/Humanizer,jaxx-rep/Humanizer,mexx/Humanizer,micdenny/Humanizer,preetksingh80/Humanizer,henriksen/Humanizer,aloisdg/Humanizer,mrchief/Humanizer,CodeFromJord... | src/Humanizer/ByteSizeExtensions.cs | src/Humanizer/ByteSizeExtensions.cs | using Humanizer.Bytes;
namespace Humanizer
{
public static class ByteSizeExtensions
{
/// <summary>
/// Use value as a quantity of bits
/// </summary>
/// <param name="val"></param>
/// <returns></returns>
public static ByteSize Bits(this long val)
{
... | using Humanizer.Bytes;
namespace Humanizer
{
public static class ByteSizeExtensions
{
public static ByteSize Bits(this long val)
{
return ByteSize.FromBits(val);
}
public static ByteSize Bytes(this double val)
{
return ByteSize.FromBytes(val);
... | mit | C# |
b6c4440184e278a7ab71fac43d7bc62eabc01d30 | Fix missing styles | ucdavis/Namster,ucdavis/Namster,ucdavis/Namster | src/Namster/Views/Home/Index.cshtml | src/Namster/Views/Home/Index.cshtml | @{
ViewData["Title"] = "Search";
}
@section styles {
<environment names="Staging,Production">
<link rel="stylesheet" href="~/dist/site.min.css" />
<link rel="stylesheet" href="~/dist/1.site.min.css" />
</environment>
}
<div id="app"></div>
@section scripts{
<script type="text/javascr... | @{
ViewData["Title"] = "Search";
}
@section styles {
@*<link rel="stylesheet" href="~/dist/vendor.css" />
<link rel="stylesheet" href="~/dist/app.css" />*@
}
<div id="app"></div>
@section scripts{
<script type="text/javascript" src="~/dist/vendor.js"></script>
<script type="text/javascript" src=... | mit | C# |
2c19a7be073ef1b8150a4b9cb2d05eedb8b504ed | Make CIV.Test.Common private | lou1306/CIV,lou1306/CIV | CIV.Test/Common.cs | CIV.Test/Common.cs | using System;
using System.Collections.Generic;
using CIV.Ccs;
using CIV.Common;
using Moq;
namespace CIV.Test
{
static class Common
{
/// <summary>
/// Setup a mock process that can only do the given action.
/// </summary>
/// <returns>The mock process.</returns>
/// ... | using System;
using System.Collections.Generic;
using CIV.Ccs;
using CIV.Common;
using Moq;
namespace CIV.Test
{
public static class Common
{
/// <summary>
/// Setup a mock process that can only do the given action.
/// </summary>
/// <returns>The mock process.</returns>
... | mit | C# |
4a941e6cf0cf5cb3635150192bddab81c606dd4c | Increase Asteroid bounding range | iridinite/shiftdrive | Client/Asteroid.cs | Client/Asteroid.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
private... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
using System.IO;
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
private... | bsd-3-clause | C# |
2dc9186c72d3ff61f93f41ecd5fcacf7af85ddac | Use MediaManagerImplementation for UWP by default | martijn00/XamarinMediaManager,modplug/XamarinMediaManager,bubavanhalen/XamarinMediaManager,mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager | MediaManager/Plugin.MediaManager.UWP/MediaManagerImplementation.cs | MediaManager/Plugin.MediaManager.UWP/MediaManagerImplementation.cs | using Plugin.MediaManager.Abstractions;
using Plugin.MediaManager.Abstractions.Implementations;
namespace Plugin.MediaManager
{
/// <summary>
/// Implementation for Feature
/// </summary>
public class MediaManagerImplementation : MediaManagerBase
{
public override IAudioPlayer... | using Plugin.MediaManager.Abstractions;
using Plugin.MediaManager.Abstractions.Implementations;
namespace Plugin.MediaManager
{
/// <summary>
/// Implementation for Feature
/// </summary>
public class MediaManagerImplementation : MediaManagerBase
{
public override IAudioPlayer... | mit | C# |
e621f1e0513d8c046c3df96c8d7b49be87744f5f | fix unit test | thedillonb/octokit.net,gdziadkiewicz/octokit.net,ivandrofly/octokit.net,shiftkey/octokit.net,SamTheDev/octokit.net,SmithAndr/octokit.net,shana/octokit.net,hahmed/octokit.net,octokit/octokit.net,chunkychode/octokit.net,eriawan/octokit.net,SmithAndr/octokit.net,TattsGroup/octokit.net,shana/octokit.net,M-Zuber/octokit.net... | Octokit.Tests/Clients/Enterprise/EnterpriseAdminStatsClientTest.cs | Octokit.Tests/Clients/Enterprise/EnterpriseAdminStatsClientTest.cs | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Internal;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
public class EnterpriseAdminStatsClientTest
{
public class TheGetStatisticsMethod
... | using System;
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using NSubstitute;
using Octokit.Internal;
using Octokit.Tests.Helpers;
using Xunit;
namespace Octokit.Tests.Clients
{
public class EnterpriseAdminStatsClientTest
{
public class TheGetStatisticsMethod
... | mit | C# |
509da85f7fc6bb6323898fd946d7f15b30ed2112 | Simplify getting frame bones | SteamDatabase/ValveResourceFormat | ValveResourceFormat/Resource/ResourceTypes/ModelAnimation/Frame.cs | ValveResourceFormat/Resource/ResourceTypes/ModelAnimation/Frame.cs | using System;
using System.Collections.Generic;
using System.Numerics;
namespace ValveResourceFormat.ResourceTypes.ModelAnimation
{
public class Frame
{
public Dictionary<string, FrameBone> Bones { get; }
public Frame()
{
Bones = new Dictionary<string, FrameBone>();
... | using System;
using System.Collections.Generic;
using System.Numerics;
namespace ValveResourceFormat.ResourceTypes.ModelAnimation
{
public class Frame
{
public Dictionary<string, FrameBone> Bones { get; }
public Frame()
{
Bones = new Dictionary<string, FrameBone>();
... | mit | C# |
7ba533b7a4a47cf7b2d61b4453b1cd329e7fef51 | Expand mania to fit vertical screen bounds | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,ppy/osu,EVAST9919/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu | osu.Game.Rulesets.Mania/UI/ManiaPlayfieldAdjustmentContainer.cs | osu.Game.Rulesets.Mania/UI/ManiaPlayfieldAdjustmentContainer.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;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania.UI
{
public class ManiaPlayfieldAdjustmentContainer : PlayfieldAdjustment... | // 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;
using osu.Game.Rulesets.UI;
using osuTK;
namespace osu.Game.Rulesets.Mania.UI
{
public class ManiaPlayfieldAdjustmentContainer : Playfi... | mit | C# |
a4417e62406a07a8842f435aae2ac84cc383f60b | Add missing using statement to Blazor hosted template. (#9000) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs | src/Components/Blazor/Templates/src/content/BlazorHosted-CSharp/BlazorHosted-CSharp.Server/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json.Serialization;
using System.Linq;
namespace BlazorHosted_CSharp.Server
{
public class Sta... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.ResponseCompression;
using Microsoft.Extensions.DependencyInjection;
using Newtonsoft.Json.Serialization;
using System.Linq;
namespace BlazorHosted_CSharp.Server
{
public class Startup
{
// This method ge... | apache-2.0 | C# |
86ce0b551937f65f5b687430bf792d872a644ba1 | Make DrawableDate adjustable | peppy/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,naoey/osu,naoey/osu,NeoAdonis/osu,smoogipooo/osu,DrabWeb/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,NeoAdonis/osu,UselessTouca... | osu.Game/Graphics/DrawableDate.cs | osu.Game/Graphics/DrawableDate.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 Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Cursor;
using osu.Game.Graphics.Sprites;
name... | // 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 Humanizer;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Game.Graphics.Sprites;
namespace osu.Game.Graphics
{
... | mit | C# |
30111d07946f7e41e465eca267beb82d3765531c | Read data from underlying stream in chunks if it does not return everything to us in one go. | NVentimiglia/WebSocket.Portable | WebSocket.Portable/WebSocket.Portable/Internal/DataLayerExtensions.cs | WebSocket.Portable/WebSocket.Portable/Internal/DataLayerExtensions.cs | using System.Threading;
using System.Threading.Tasks;
using WebSocket.Portable.Interfaces;
namespace WebSocket.Portable.Internal
{
internal static class DataLayerExtensions
{
public static Task<byte[]> ReadAsync(this IDataLayer layer, int length, CancellationToken cancellationToken)
{
... | using System;
using System.Threading;
using System.Threading.Tasks;
using WebSocket.Portable.Interfaces;
namespace WebSocket.Portable.Internal
{
internal static class DataLayerExtensions
{
public static Task<byte[]> ReadAsync(this IDataLayer layer, int length, CancellationToken cancellationToken)
... | apache-2.0 | C# |
079f842063808e668fbeac72c53bd5552a389efc | Optimize AliasUpdater code path | Ermesx/Orchard,NIKASoftwareDevs/Orchard,omidnasri/Orchard,dmitry-urenev/extended-orchard-cms-v10.1,jchenga/Orchard,qt1/orchard4ibn,dcinzona/Orchard,AndreVolksdorf/Orchard,jtkech/Orchard,harmony7/Orchard,KeithRaven/Orchard,hannan-azam/Orchard,bedegaming-aleksej/Orchard,neTp9c/Orchard,SzymonSel/Orchard,OrchardCMS/Orchard... | src/Orchard.Web/Modules/Orchard.Alias/Implementation/Updater/AliasUpdater.cs | src/Orchard.Web/Modules/Orchard.Alias/Implementation/Updater/AliasUpdater.cs | using System;
using System.Linq;
using Orchard.Alias.Implementation.Holder;
using Orchard.Alias.Implementation.Storage;
using Orchard.Environment;
using Orchard.Tasks;
using Orchard.Logging;
namespace Orchard.Alias.Implementation.Updater {
public class AliasHolderUpdater : IOrchardShellEvents, IBackgroun... | using System;
using System.Linq;
using Orchard.Alias.Implementation.Holder;
using Orchard.Alias.Implementation.Storage;
using Orchard.Environment;
using Orchard.Tasks;
using Orchard.Logging;
namespace Orchard.Alias.Implementation.Updater {
public class AliasHolderUpdater : IOrchardShellEvents, IBackgroun... | bsd-3-clause | C# |
22de9e4b25eb43e0dcea362ca76994c3d9cb4472 | add min/max unit tests for range tree | reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap | unity/library/UtyMap.Unity.Tests/Infrastructure/Primitives/RangeTreeTests.cs | unity/library/UtyMap.Unity.Tests/Infrastructure/Primitives/RangeTreeTests.cs | using System.Linq;
using NUnit.Framework;
using UtyMap.Unity.Infrastructure.Primitives;
namespace UtyMap.Unity.Tests.Infrastructure.Primitives
{
[TestFixture]
class RangeTreeTests
{
[Test]
public void CanHandleOneElement()
{
var tree = new RangeTree<float, string>();
... | using System.Linq;
using NUnit.Framework;
using UtyMap.Unity.Infrastructure.Primitives;
namespace UtyMap.Unity.Tests.Infrastructure.Primitives
{
[TestFixture]
class RangeTreeTests
{
[Test]
public void CanHandleOneElement()
{
var tree = new RangeTree<float, string>();
... | apache-2.0 | C# |
6f268a98d5adcb672e50d9d0d7e318520ad03edb | Add check if dialog is already closing | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs | WalletWasabi.Fluent/ViewModels/Dialogs/DialogScreenViewModel.cs | using System;
using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class DialogScreenViewModel : ViewModelBase, IScreen
{
private bool _isClosing;
private bool _isDialogOpen;
public DialogScreenViewMod... | using System;
using System.Reactive;
using System.Reactive.Linq;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
public class DialogScreenViewModel : ViewModelBase, IScreen
{
private bool _isClosing;
private bool _isDialogOpen;
public DialogScreenViewMod... | mit | C# |
904a7e7a12cd7e703b5d128ec738ac216597a04f | Add exec method to js regexp | kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs | WootzJs.Runtime/Runtime/WootzJs/JsRegExp.cs | WootzJs.Runtime/Runtime/WootzJs/JsRegExp.cs | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | #region License
//-----------------------------------------------------------------------
// <copyright>
// The MIT License (MIT)
//
// Copyright (c) 2014 Kirk S Woll
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Softwar... | mit | C# |
5d73a3c324c10c801f7e4333a1828098d3aad9b0 | Add helper to create a MockAppHost from a MockRequestContext (useful in testing) | timba/NServiceKit,timba/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,MindTouch/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,NServiceKit/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,MindTouc... | src/ServiceStack.ServiceInterface/Testing/MockRequestContext.cs | src/ServiceStack.ServiceInterface/Testing/MockRequestContext.cs | using System;
using System.Collections.Generic;
using System.Net;
using Funq;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.WebHost.Endpoints;
namespace ServiceStack.ServiceInterface.Testing
{
public class MockRequestContext : IRequestContext
{
... | using System;
using System.Collections.Generic;
using System.Net;
using Funq;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.Auth;
namespace ServiceStack.ServiceInterface.Testing
{
public class MockRequestContext : IRequestContext
{
public MockRequestContext()
{... | bsd-3-clause | C# |
cb5c42dbcb8636d047e04de547f7bb99ee9022c4 | Hide details label if diagnostic error doesn't have any details link (#966) | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml | src/dotnet/APIView/APIViewWeb/Pages/Assemblies/_CodeLine.cshtml | @using ApiView
@using APIView.DIff
@model APIViewWeb.Models.CodeLineModel
@{
bool isRemoved = Model.Kind == DiffLineKind.Removed;
string lineClass = Model.Kind switch
{
DiffLineKind.Removed => "code-removed",
DiffLineKind.Added => "code-added",
_ => ""
};
}
<tr class="code-line... | @using ApiView
@using APIView.DIff
@model APIViewWeb.Models.CodeLineModel
@{
bool isRemoved = Model.Kind == DiffLineKind.Removed;
string lineClass = Model.Kind switch
{
DiffLineKind.Removed => "code-removed",
DiffLineKind.Added => "code-added",
_ => ""
};
}
<tr class="code-line... | mit | C# |
414daa7d8e52ff9bd6024e22f60a32d5eb65bfe4 | Make spacer use scale | MatterHackers/agg-sharp,larsbrubaker/agg-sharp | Gui/FlowSpacers.cs | Gui/FlowSpacers.cs | /*
Copyright (c) 2014, Kevin Pope
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | /*
Copyright (c) 2014, Kevin Pope
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | bsd-2-clause | C# |
da36d2629f722556f29232543f86f4a48a14169e | fix onboarding helper test | zmira/abremir.AllMyBricks | abremir.AllMyBricks.Onboarding.Tests/Helpers/RandomKeyOptionGeneratorTests.cs | abremir.AllMyBricks.Onboarding.Tests/Helpers/RandomKeyOptionGeneratorTests.cs | using abremir.AllMyBricks.Core.Enumerations;
using abremir.AllMyBricks.Onboarding.Helpers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace abremir.AllMyBricks.Onboarding.Tests.Helpers
{
[TestClass]
public class RandomKeyOptionGeneratorTes... | using abremir.AllMyBricks.Core.Enumerations;
using abremir.AllMyBricks.Onboarding.Helpers;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace abremir.AllMyBricks.Onboarding.Tests.Helpers
{
[TestClass]
public class RandomKeyOptionGeneratorTes... | mit | C# |
15d4781cf729e63086125e5418960dac017e0459 | modify the registration of the BlazorWebView and its devtools in the TodoTemplate project #1959 (#1961) | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Tooling/Bit.Tooling.Templates/TodoTemplate/App/MauiProgram.cs | src/Tooling/Bit.Tooling.Templates/TodoTemplate/App/MauiProgram.cs | using System.Reflection;
using Microsoft.Extensions.FileProviders;
namespace TodoTemplate.App;
public static class MauiProgram
{
public static MauiAppBuilder CreateMauiAppBuilder()
{
#if !BlazorHybrid
throw new InvalidOperationException("Please switch to blazor hybrid as described in readme.md");
#en... | using System.Reflection;
using Microsoft.Extensions.FileProviders;
namespace TodoTemplate.App;
public static class MauiProgram
{
public static MauiAppBuilder CreateMauiAppBuilder()
{
#if !BlazorHybrid
throw new InvalidOperationException("Please switch to blazor hybrid as described in readme.md");
#en... | mit | C# |
b60a6ab24dc435c4a4391eb65cb12ef22547d644 | Update LVMoFCoE.Designer.cs | geosharath/xenadmin,xenserver/xenadmin,robhoes/xenadmin,jijiang/xenadmin,cheng-z/xenadmin,cheng-z/xenadmin,minli1/xenadmin,agimofcarmen/xenadmin,GaborApatiNagy/xenadmin,stephen-turner/xenadmin,kc284/xenadmin,kc284/xenadmin,MihaelaStoica/xenadmin,ushamandya/xenadmin,letsboogey/xenadmin,minli1/xenadmin,cheng--zhang/xenad... | XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoFCoE.Designer.cs | XenAdmin/Wizards/NewSRWizard_Pages/Frontends/LVMoFCoE.Designer.cs | namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
{
partial class LVMoFCoE
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | namespace XenAdmin.Wizards.NewSRWizard_Pages.Frontends
{
partial class LVMoFCoE
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | bsd-2-clause | C# |
2735a162b7ecbfcea184e76de9a1d59cb8a174a6 | test to prove the bug | undergroundwires/SafeOrbit | src/tests/IntegrationTests/Memory/SafeString/SafeStringTests.cs | src/tests/IntegrationTests/Memory/SafeString/SafeStringTests.cs | using System.Threading;
using NUnit.Framework;
namespace SafeOrbit.Memory
{
/// <seealso cref="SafeString" />
/// <seealso cref="ISafeString" />
[TestFixture]
public class SafeStringTests
{
[Test]
public void SafeString_Returns_AppendedText()
{
var... | using System.Threading;
using NUnit.Framework;
namespace SafeOrbit.Memory
{
/// <seealso cref="SafeString" />
/// <seealso cref="ISafeString" />
[TestFixture]
public class SafeStringTests
{
[Test]
public void SafeString_Returns_AppendedText()
{
var... | mit | C# |
4bedfb52eafb355e58aa1ca35906a6e545eff904 | Update InProcessServer.cs | cake-build/bakery,cake-build/bakery | src/Cake.Scripting.Transport.Tests/Fixtures/Tcp/InProcessServer.cs | src/Cake.Scripting.Transport.Tests/Fixtures/Tcp/InProcessServer.cs | using Cake.Scripting.Abstractions;
using Cake.Scripting.Transport.Tcp.Client;
using Cake.Scripting.Transport.Tcp.Server;
using Microsoft.Extensions.Logging;
namespace Cake.Scripting.Transport.Tests.Fixtures.Tcp
{
internal sealed class InProcessServer : IScriptGenerationProcess
{
private readonly IScri... | using Cake.Scripting.Abstractions;
using Cake.Scripting.Transport.Tcp.Client;
using Cake.Scripting.Transport.Tcp.Server;
using Microsoft.Extensions.Logging;
namespace Cake.Scripting.Transport.Tests.Fixtures.Tcp
{
internal sealed class InProcessServer : IScriptGenerationProcess
{
private readonly IScri... | mit | C# |
bf147121335bc413020bdd7169ebaa8fb380c2f2 | Add range limits to BookEditViewModel ISBN. | Programazing/Open-School-Library,Programazing/Open-School-Library | src/Open-School-Library/Models/BookViewModels/BookEditViewModel.cs | src/Open-School-Library/Models/BookViewModels/BookEditViewModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using Open_School_Library.Data.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.BookViewModels
{
public class BookEditViewModel
... | using Microsoft.AspNetCore.Mvc.Rendering;
using Open_School_Library.Data.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace Open_School_Library.Models.BookViewModels
{
public class BookEditViewModel
... | mit | C# |
d74dbc6847d7a3c1595ad87a44df198f5dbed85f | Add InitializeParams type | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/Initialize.cs | src/PowerShellEditorServices.Protocol/LanguageServer/Initialize.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Init... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
public class Init... | mit | C# |
85949867ecb0a3140c75ed9a541241d447c1ef9f | Fix IsMoyaTestRunner to check for correct interface to implement. | Hammerstad/Moya | Moya/Utility/Guard.cs | Moya/Utility/Guard.cs | namespace Moya.Utility
{
using System;
using Exceptions;
using Extensions;
using Runners;
public class Guard
{
public static void IsMoyaAttribute(Type type)
{
if (!Reflection.TypeIsMoyaAttribute(type))
{
throw new MoyaException("{0} is no... | namespace Moya.Utility
{
using System;
using Exceptions;
using Extensions;
using Runners;
public class Guard
{
public static void IsMoyaAttribute(Type type)
{
if (!Reflection.TypeIsMoyaAttribute(type))
{
throw new MoyaException("{0} is no... | mit | C# |
e75146e0f1c63bfb963d0750217c67179a99248b | Fix scraper to scrape pick a brick facets correctly | rolledback/LegoSharp | Scraper/Scraper.cs | Scraper/Scraper.cs | using LegoSharp;
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Scraper
{
class Scraper
{
static async Task Main(string[] args)
{
foreach (var entry in await (new FacetScraper<ProductSearchQuery, ProductSearchResult>(new List<ProductSearchQu... | using LegoSharp;
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Scraper
{
class Scraper
{
static async Task Main(string[] args)
{
foreach (var entry in await (new FacetScraper<ProductSearchQuery, ProductSearchResult>(new List<ProductSearchQu... | mit | C# |
b1a1a6c4abf094dcf96823277d0373b5c4c2a3b3 | Update version number to 0.6 for dev. | victorbush/ego.nefsedit | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | // See LICENSE.txt for license information.
using System.Reflection;
[assembly: AssemblyCopyright("Copyright © VictorBush 2020")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify a... | // See LICENSE.txt for license information.
using System.Reflection;
[assembly: AssemblyCopyright("Copyright © VictorBush 2020")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify a... | mit | C# |
8d7491b0ac6f7569f5a04587e5e0e3165066c5e6 | Fix mscorlib asmmeta and add SecurityCritical attribute to the two new functions in AssemblyExtensions | bartonjs/coreclr,bartonjs/coreclr,sagood/coreclr,bitcrazed/coreclr,SlavaRa/coreclr,Dmitry-Me/coreclr,pgavlin/coreclr,krixalis/coreclr,benpye/coreclr,xoofx/coreclr,Samana/coreclr,dasMulli/coreclr,AlfredoMS/coreclr,naamunds/coreclr,chrishaly/coreclr,bartonjs/coreclr,shahid-pk/coreclr,taylorjonl/coreclr,ktos/coreclr,James... | src/mscorlib/src/System/Reflection/Metadata/AssemblyExtensions.cs | src/mscorlib/src/System/Reflection/Metadata/AssemblyExtensions.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
namespace System.Reflection.Metadata
{
public static class Asse... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
namespace System.Reflection.Metadata
{
public static class Asse... | mit | C# |
11c59a141f24aebf68f21fb7d79f88980b1233f1 | Add background to rankings header | ppy/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,smoogipooo/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,peppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,EVAST9919/osu | osu.Game/Overlays/Rankings/RankingsOverlayHeader.cs | osu.Game/Overlays/Rankings/RankingsOverlayHeader.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;
using osu.Framework.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Rulesets;
using osu.Game.Users;
namespace osu.Game.Ov... | // 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;
using osu.Framework.Bindables;
using osu.Game.Graphics.UserInterface;
using osu.Game.Rulesets;
using osu.Game.Users;
namespace osu.Game.Ov... | mit | C# |
f46209c8caf8d7e5e1e506b14ff409e57c92911a | add engine to aplication | ivayloivanof/Libbon_Tank_Game | TankGame/StartGame.cs | TankGame/StartGame.cs | namespace TankGame
{
using System;
using System.Windows.Forms;
public static class StartGame
{
[STAThread]
public static void Main()
{
Engine engine = new Engine();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefa... | namespace TankGame
{
using System;
using System.Windows.Forms;
public static class StartGame
{
[STAThread]
public static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new... | cc0-1.0 | C# |
3c3c58a8cc3c4fe778233ce78f39d2cf0bedae84 | Move test up | physhi/roslyn,KevinRansom/roslyn,sharwell/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,dotnet/roslyn,sharwell/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,eriawan/roslyn,eriawan/roslyn,physhi/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,diryboy/roslyn,KevinRansom/roslyn,shyamnamboodir... | src/VisualStudio/CSharp/Test/PersistentStorage/CloudCachePersistentStorageTests.cs | src/VisualStudio/CSharp/Test/PersistentStorage/CloudCachePersistentStorageTests.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;
using System.Linq;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis... | // 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;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities... | mit | C# |
65a3df1597f9ccd8f2b6e9b39e98b5bad68cfe9e | Make position ctors public | xamarin/Xamarin.Mobile,moljac/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile | Shared/Position.cs | Shared/Position.cs | using System;
namespace Xamarin.Geolocation
{
public class Position
{
public Position()
{
}
public Position (Position position)
{
Timestamp = position.Timestamp;
Latitude = position.Latitude;
Longitude = position.Longitude;
Altitude = position.AltitudeAccuracy;
AltitudeAccuracy = position.A... | using System;
namespace Xamarin.Geolocation
{
public class Position
{
internal Position()
{
}
internal Position (Position position)
{
Timestamp = position.Timestamp;
Latitude = position.Latitude;
Longitude = position.Longitude;
Altitude = position.AltitudeAccuracy;
AltitudeAccuracy = positi... | apache-2.0 | C# |
cb2f0f4aca8ea9a80da79c38cd1bb0cbd8d385e6 | Update SymbolPriceChangeTickerResponse.cs | glitch100/BinanceDotNet | BinanceExchange.API/Models/Response/SymbolPriceChangeTickerResponse.cs | BinanceExchange.API/Models/Response/SymbolPriceChangeTickerResponse.cs | using System;
using System.Runtime.Serialization;
using BinanceExchange.API.Converter;
using Newtonsoft.Json;
namespace BinanceExchange.API.Models.Response
{
[DataContract]
public class SymbolPriceChangeTickerResponse
{
[DataMember(Order = 1)]
public decimal PriceChange { get; set; }
... | using System;
using System.Runtime.Serialization;
using BinanceExchange.API.Converter;
using Newtonsoft.Json;
namespace BinanceExchange.API.Models.Response
{
[DataContract]
public class SymbolPriceChangeTickerResponse
{
[DataMember(Order = 1)]
public decimal PriceChange { get; set; }
... | mit | C# |
eb407ee00f581dd16cb91b9df46d6941047492e2 | Fix compile error by commenting out offending code. | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Client/Systems/VesselFlightStateSys/VesselFlightStateMessageHandler.cs | Client/Systems/VesselFlightStateSys/VesselFlightStateMessageHandler.cs | using System.Collections.Concurrent;
using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
namespace LunaClient.Systems.VesselFlightStateSys
{
public class VesselFlightStateMessageHandler : SubSystem<VesselFlightStateSystem>, IMessageHand... | using System.Collections.Concurrent;
using LunaClient.Base;
using LunaClient.Base.Interface;
using LunaCommon.Message.Data.Vessel;
using LunaCommon.Message.Interface;
namespace LunaClient.Systems.VesselFlightStateSys
{
public class VesselFlightStateMessageHandler : SubSystem<VesselFlightStateSystem>, IMessageHand... | mit | C# |
12c6a2c2cde74f2d4c8a47fccb8cc7bb43e89a47 | remove now-unused ToursDir BaseModel attribute | WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website,WorldWideTelescope/wwt-website | src/WWTMVC5/Models/BaseModel.cs | src/WWTMVC5/Models/BaseModel.cs | using WWTMVC5.WebServices;
using System.Web.Configuration;
using Microsoft.Live;
namespace WWTMVC5.Models
{
public class BaseModel
{
private readonly string _contentDir;
private readonly string _imgDir;
private readonly string _jsDir;
private readonly string _cssDir;
pr... | using WWTMVC5.WebServices;
using System.Web.Configuration;
using Microsoft.Live;
namespace WWTMVC5.Models
{
public class BaseModel
{
private readonly string _contentDir;
private readonly string _imgDir;
private readonly string _jsDir;
private readonly string _cssDir;
pr... | mit | C# |
5963783740192b7e8a6cc8f98bf6bef18a0ff3b1 | Add Play Requirement to TransfigurationExam | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/TransfigurationExam.cs | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Spells/TransfigurationExam.cs | using System.Collections.Generic;
using System.Linq;
using HarryPotterUnity.Cards.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Transfiguration.Spells
{
[UsedImplicitly]
public class TransfigurationExam : GenericSpell
{
protected override bool MeetsAdditionalPlayRequiremen... | using System.Collections.Generic;
using HarryPotterUnity.Cards.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Transfiguration.Spells
{
[UsedImplicitly]
public class TransfigurationExam : GenericSpell
{
protected override void SpellAction(List<GenericCard> targets)
{... | mit | C# |
b48ba0d35438effb6ddb3018a81fdb6aa62f3862 | Add dummy text and fullscreen background image | tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller,tuelsch/schreinerei-gfeller | schreinerei-gfeller/Views/Home/Index.cshtml | schreinerei-gfeller/Views/Home/Index.cshtml | @{
ViewBag.Title = "Willkommen";
}
@section background {
<div class="background-size-cover fixed hidden-xs fill" style="background-image: url(//placehold.it/1920x1080)"></div>
}
<div class="container">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Earum adipisci ipsum, voluptatum, tempore ... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | mit | C# |
9a2d69c8f0b6e2493853a660c494d5ef36db69c2 | Update OMCode.cs | ADAPT/ADAPT | source/ADAPT/Documents/OMCode.cs | source/ADAPT/Documents/OMCode.cs | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | /*******************************************************************************
* Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distrib... | epl-1.0 | C# |
f5d5417e31b4ff5b1f7259ca0bc0fc8156b8d67b | fix Upgrade_20210828_ExtensionsLoveFramework | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20210828_ExtensionsLoveFramework.cs | Signum.Upgrade/Upgrades/Upgrade_20210828_ExtensionsLoveFramework.cs | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210828_ExtensionsLoveFramework : CodeUpgra... | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210828_ExtensionsLoveFramework : CodeUpgra... | mit | C# |
35a7226cd82120207014a652567a5e87febc25e2 | Add newline | peppy/osu-new,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Screens/Play/HUD/HealthDisplay.cs | osu.Game/Screens/Play/HUD/HealthDisplay.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scori... | // 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.Bindables;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scori... | mit | C# |
c64e57dcc85cef1be5e86b40a9bf78d1aaccc3ee | Bump version to 2.0.0-alpha01. Version for Cronus 2.0 | Elders/Cronus.Transport.RabbitMQ,Elders/Cronus.Transport.RabbitMQ | src/Elders.Cronus.Transport.RabbitMQ/Properties/AssemblyInfo.cs | src/Elders.Cronus.Transport.RabbitMQ/Properties/AssemblyInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyProductAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyVersionAttribute("2.0.0")]... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyTitleAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyDescriptionAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyProductAttribute("Elders.Cronus.Transport.RabbitMQ")]
[assembly: AssemblyVersionAttribute("1.2.5")]... | apache-2.0 | C# |
cfa44f90a19b235114429af1cca4095b11f2812a | Update documentation for Append/Prepend | thomaslevesque/Linq.Extras | src/Linq.Extras/AppendPrepend.cs | src/Linq.Extras/AppendPrepend.cs | #if !FEATURE_APPEND_PREPEND
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Linq.Extras.Internal;
namespace Linq.Extras
{
partial class XEnumerable
{
/// <summary>
/// Appends the specified element to the specified sequence.
/// </summary>
... | #if !FEATURE_APPEND_PREPEND
using System.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Linq.Extras.Internal;
namespace Linq.Extras
{
partial class XEnumerable
{
/// <summary>
/// Appends the specified element to the specified sequence.
/// </summary>
... | apache-2.0 | C# |
7a7b893c227cffe421e6ca8e57c841fe91edf2f0 | add lock statement in CurrentManager property. | xoofx/NuGet,pratikkagda/nuget,alluran/node.net,jmezach/NuGet2,mono/nuget,mrward/NuGet.V2,mrward/nuget,ctaggart/nuget,jholovacs/NuGet,RichiCoder1/nuget-chocolatey,OneGet/nuget,alluran/node.net,chocolatey/nuget-chocolatey,jholovacs/NuGet,xoofx/NuGet,antiufo/NuGet2,antiufo/NuGet2,oliver-feng/nuget,oliver-feng/nuget,OneGet... | src/Core/Http/SendingRequestEventManager.cs | src/Core/Http/SendingRequestEventManager.cs | using System;
using System.Threading;
using System.Windows;
namespace NuGet
{
// Implement weak event pattern. Read more here:
// http://msdn.microsoft.com/en-us/library/aa970850(v=vs.100).aspx
public class SendingRequestEventManager : WeakEventManager
{
private static readonly object _manager... | using System;
using System.Windows;
namespace NuGet
{
// Implement weak event pattern. Read more here:
// http://msdn.microsoft.com/en-us/library/aa970850(v=vs.100).aspx
public class SendingRequestEventManager : WeakEventManager
{
public static void AddListener(IHttpClientEvents source, IWeakE... | apache-2.0 | C# |
9987f6675221c1a3e773277a7a85fc23cfc8ffb8 | Update designer.cs | michael-jia-sage/google-apis,xamarin/google-apis | samples/GoogleApis.Android.Sample/Resources/Resource.Designer.cs | samples/GoogleApis.Android.Sample/Resources/Resource.Designer.cs | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18010
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... | apache-2.0 | C# |
b68c48e2653c51862231d079d8ecbb7706ba83d5 | Rollback previous changes | ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks | src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs | src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs | using System;
namespace BuildingBlocks.CopyManagement
{
public class SmartClientApplicationIdentity : IApplicationIdentity
{
private static readonly Lazy<IApplicationIdentity> _current;
static SmartClientApplicationIdentity()
{
_current = new Lazy<IApplicationIden... | using System;
namespace BuildingBlocks.CopyManagement
{
public class SmartClientApplicationIdentity : IApplicationIdentity
{
private static readonly Lazy<IApplicationIdentity> _current;
static SmartClientApplicationIdentity()
{
_current = new Lazy<IApplicationIden... | apache-2.0 | C# |
0c940aa0f971ac3fe3465e3f34158f24bc2a25ff | Call Configure() dumb ass! | phatboyg/Stact,phatboyg/Stact,phatboyg/Stact,phatboyg/Stact | src/Magnum.Infrastructure/Repository/NHibernateRepositoryFactory.cs | src/Magnum.Infrastructure/Repository/NHibernateRepositoryFactory.cs | // Copyright 2007-2008 The Apache Software Foundation.
//
// 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 re... | // Copyright 2007-2008 The Apache Software Foundation.
//
// 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 re... | apache-2.0 | C# |
44392270f649e35d7ef2b7291619317229569379 | Delete unused experiment names added in merge. | diryboy/roslyn,jasonmalinowski/roslyn,agocke/roslyn,sharwell/roslyn,KevinRansom/roslyn,davkean/roslyn,mgoertz-msft/roslyn,KirillOsenkov/roslyn,physhi/roslyn,physhi/roslyn,abock/roslyn,dotnet/roslyn,stephentoub/roslyn,agocke/roslyn,tannergooding/roslyn,aelij/roslyn,AmadeusW/roslyn,gafter/roslyn,mgoertz-msft/roslyn,eriaw... | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.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.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | // 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.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.CodeAnalysis.Experiments
{
inter... | mit | C# |
17486826bb10409e1d49bcbf5f8e7029e3540cf8 | add kris to AssemblyInfo | thyxkris1/test | src/MyWindowsService/MyWindowsService/Properties/AssemblyInfo.cs | src/MyWindowsService/MyWindowsService/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("My... | 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("My... | apache-2.0 | C# |
fd734af3f11b3e4b46bb9460ffaba62d2ea71f4d | update wrong namespace name | wikibus/Argolis | src/Lernaean.Hydra.Tests.Integration/Properties/AssemblyInfo.cs | src/Lernaean.Hydra.Tests.Integration/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("Le... | 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("Le... | mit | C# |
613d329a9118625071703de8ec3988c261bc060f | Add temp platform define for shaderlab injects | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/HlslSupport/ShaderLabInclusionContextProvider.cs | resharper/resharper-unity/src/HlslSupport/ShaderLabInclusionContextProvider.cs | using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.Properties.VCXProj;
using JetBrains.ReSharper.Feature.Services.Cpp.Injections;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Cpp.Caches;
using JetBrains.ReSharper.P... | using JetBrains.Lifetimes;
using JetBrains.ProjectModel;
using JetBrains.ProjectModel.Properties.VCXProj;
using JetBrains.ReSharper.Feature.Services.Cpp.Injections;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Cpp.Caches;
using JetBrains.ReSharper.P... | apache-2.0 | C# |
a86624d3869d5e55b2886c8a5dd80e07a36bd3f2 | change to non-static entrypoint, which klr is looking for | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/RoutingSample/Program.cs | samples/RoutingSample/Program.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Owin.Hosting;
namespace RoutingSample
{
public class Program
{
public static void Main(string[] args)
{
string url = ... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Owin.Hosting;
namespace RoutingSample
{
internal static class Program
{
public static void Main(string[] args)
{
stri... | apache-2.0 | C# |
98111ca490aafd94ce98635d418861a583e833ad | Fix to Compare Resource in Lowercase | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Authorization/DefaultAuthorizationHandler.cs | src/SFA.DAS.EmployerAccounts.Web/Authorization/DefaultAuthorizationHandler.cs | using SFA.DAS.Authorization.Context;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using SFA.DAS.Authorization.Results;
using System.Collections.Generic;
using SFA.DAS.Authorization.Handlers;
using static SFA.DAS.EmployerAccounts.Web.Authorization.ImpersonationAuthorizationContext;
na... | using SFA.DAS.Authorization.Context;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using SFA.DAS.Authorization.Results;
using System.Collections.Generic;
using SFA.DAS.Authorization.Handlers;
using static SFA.DAS.EmployerAccounts.Web.Authorization.ImpersonationAuthorizationContext;
na... | mit | C# |
352c5f8eb4c656b765f8a99aaa40861da8c2a210 | clean up SampleApp | eeaquino/DotNetShipping,kylewest/DotNetShipping | SampleApp/Program.cs | SampleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using DotNetShipping.ShippingProviders;
namespace DotNetShipping.SampleApp
{
internal class Program
{
#region Methods
private static void Main()
{
NameValueCollection appSettings ... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Configuration;
using DotNetShipping.ShippingProviders;
namespace DotNetShipping.SampleApp
{
internal class Program
{
#region Methods
private static void Main(string[] args)
{
NameValueCollection... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.