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 |
|---|---|---|---|---|---|---|---|---|
3d0c8f01897ba2c3831816efad7d51b82e12750b | Fix minor typo. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySql.Data.MySqlClient/MySqlDateTimeKind.cs | src/MySqlConnector/MySql.Data.MySqlClient/MySqlDateTimeKind.cs | using System;
namespace MySql.Data.MySqlClient
{
/// <summary>
/// The <see cref="DateTimeKind" /> used when reading <see cref="DateTime" /> from the database.
/// </summary>
public enum MySqlDateTimeKind
{
/// <summary>
/// Use <see cref="DateTimeKind.Unspecified" /> when reading; allow any <see cref="DateTi... | using System;
namespace MySql.Data.MySqlClient
{
/// <summary>
/// The <see cref="DateTimeKind" /> used when reading <see cref="DateTime" /> from the databsae.
/// </summary>
public enum MySqlDateTimeKind
{
/// <summary>
/// Use <see cref="DateTimeKind.Unspecified" /> when reading; allow any <see cref="DateTi... | mit | C# |
62129a56b8148bf6ca862518b112ac6e80a5cb89 | Check parameter before actually using it | tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/Core/ApplicationBuilderExtensions.cs | src/Tgstation.Server.Host/Core/ApplicationBuilderExtensions.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Globalization;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Extensions for <see cref="IApplicationBuilder"/>
/// </summary>
static clas... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using System;
using System.Globalization;
using Tgstation.Server.Api.Models;
namespace Tgstation.Server.Host.Core
{
/// <summary>
/// Extensions for <see cref="IApplicationBuilder"/>
/// </summary>
static clas... | agpl-3.0 | C# |
de60374c88a5521cfeeb6d5d0d942b0cd1a719c1 | Remove unused using | UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableHealthDisplay.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableHealthDisplay.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Judgements;
usin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Judgements;
usin... | mit | C# |
e67a0e71430740933ea794afcfda9e503d9a098b | Update Model.cs | AlekseyTs/roslyn,drognanar/roslyn,CyrusNajmabadi/roslyn,brettfo/roslyn,KevinRansom/roslyn,lorcanmooney/roslyn,brettfo/roslyn,DustinCampbell/roslyn,tmeschter/roslyn,xasx/roslyn,akrisiun/roslyn,VSadov/roslyn,TyOverby/roslyn,davkean/roslyn,MichalStrehovsky/roslyn,bartdesmet/roslyn,yeaicc/roslyn,jeffanders/roslyn,yeaicc/ro... | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/Model.cs | src/EditorFeatures/Core/Implementation/IntelliSense/QuickInfo/Model.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 Microsoft.CodeAnalysis.Text;
using Microsoft.CodeAnalysis.Text.Shared.Extensions;
using Microsoft.VisualStudio.Text;
using Roslyn.Utilities;
namespace... | // 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 Microsoft.CodeAnalysis.Text;
using Microsoft.CodeAnalysis.Text.Shared.Extensions;
using Microsoft.VisualStudio.Text;
using Roslyn.Utilities;
namespace... | mit | C# |
e823feff11485fceec404da985be2b5f4d689dc1 | Return IUnityContainer from unity extension methods | ethanmoffat/EndlessClient | EOLib/UnityExtensions.cs | EOLib/UnityExtensions.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static IUnityContainer ... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using Microsoft.Practices.Unity;
namespace EOLib
{
public static class UnityExtensions
{
public static void RegisterIns... | mit | C# |
b4a08cf0a6aead9b20ac799ed403579ad20b15af | Remove local backing fields | larsbrubaker/agg-sharp,MatterHackers/agg-sharp,jlewin/agg-sharp | Gui/FileDropEventArgs.cs | Gui/FileDropEventArgs.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MatterHackers.Agg.UI
{
public class FileDropEventArgs : EventArgs
{
public List<string> DroppedFiles;
public double X { get; }
public double Y { get; }
public FileDropEventArgs(List<string> droppedFiles, double x, double y)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MatterHackers.Agg.UI
{
public class FileDropEventArgs : EventArgs
{
public List<string> DroppedFiles;
private double x;
private double y;
public double X { get { return x; } }
public double Y { get { return y; } }
public Fil... | bsd-2-clause | C# |
902d40989f70eb53c737654412c224b5b1b062a4 | Add puncts key value in context menu | 23S163PR/system-programming | Novak.Andriy/All_Projects/RegEditor/ComandsContextMenu.cs | Novak.Andriy/All_Projects/RegEditor/ComandsContextMenu.cs | using System.Windows.Input;
namespace RegEditor
{
public static class ComandsContextMenu
{
public static readonly RoutedUICommand CreateKey = new RoutedUICommand(
"Create Key", "CreateKey", typeof(MainWindow));
public static readonly RoutedUICommand UpdateKey = new RoutedUIComman... | using System.Windows.Input;
namespace RegEditor
{
public static class ComandsContextMenu
{
public static readonly RoutedUICommand CreateKey = new RoutedUICommand(
"Create Key", "CreateKey", typeof(MainWindow));
public static readonly RoutedUICommand UpdateKey = new RoutedUIComman... | cc0-1.0 | C# |
c7b240ece8e8836b801d38b81b48075ca64b69f7 | Improve #207 message box for Writing System | hatton/libpalaso,JohnThomson/libpalaso,gmartin7/libpalaso,marksvc/libpalaso,hatton/libpalaso,tombogle/libpalaso,marksvc/libpalaso,mccarthyrb/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,andrew-polk/libpalaso,chrisvire/libpalaso,gtryus/libpalaso,andrew-polk/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,chrisvire... | PalasoUIWindowsForms/WritingSystems/WSPropertiesDialog.cs | PalasoUIWindowsForms/WritingSystems/WSPropertiesDialog.cs | using System;
using System.Windows.Forms;
using Palaso.WritingSystems;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class WSPropertiesDialog : Form
{
private readonly WritingSystemSetupPM _model;
public WSPropertiesDialog()
{
InitializeComponent();
_model = new WritingSystemSetupPM(n... | using System;
using System.Windows.Forms;
using Palaso.WritingSystems;
namespace Palaso.UI.WindowsForms.WritingSystems
{
public partial class WSPropertiesDialog : Form
{
private readonly WritingSystemSetupPM _model;
public WSPropertiesDialog()
{
InitializeComponent();
_model = new WritingSystemSetupPM(n... | mit | C# |
dcdecbb1b69d4f95611567b6ded2543f8f768c0d | Add missing tournament event types (#285) | BenFradet/RiotSharp,frederickrogan/RiotSharp,florinciubotariu/RiotSharp,jono-90/RiotSharp,JanOuborny/RiotSharp,Challengermode/RiotSharp,Shidesu/RiotSharp,Oucema90/RiotSharp,oisindoherty/RiotSharp | RiotSharp/TournamentEndpoint/Enums/TournamentEventType.cs | RiotSharp/TournamentEndpoint/Enums/TournamentEventType.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RiotSharp.TournamentEndpoint.Enums
{
/// <summary>
/// The type of event that was triggered in the lobby (Tournament API).
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum TournamentEventType
{
... | using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace RiotSharp.TournamentEndpoint.Enums
{
/// <summary>
/// The type of event that was triggered in the lobby (Tournament API).
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum TournamentEventType
{
... | mit | C# |
dfa15a75a92be3a42d7776663c130db76253f44b | Format Image | Strumenta/SmartReader,Strumenta/SmartReader,Strumenta/SmartReader | src/SmartReader/Image.cs | src/SmartReader/Image.cs | #nullable enable
using System;
namespace SmartReader
{
/// <summary>
/// Metadata for images found in the parsed article
/// </summary>
public class Image
{
/// <value>The original URI of the source</value>
public Uri? Source { get; set; } = null;
/// <value>The size in by... | using System;
using System.Collections.Generic;
using System.Text;
namespace SmartReader
{
/// <summary>
/// Metadata for images found in the parsed article
/// </summary>
public class Image
{
/// <value>The original URI of the source</value>
public Uri Source { get; set; } = null;... | apache-2.0 | C# |
1636de71436f18ade8d221d7afc95846c6d1dc86 | Add param name to better readability | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | WalletWasabi.Gui/Controls/WalletExplorer/TransactionInfoTabViewModel.cs | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using ReactiveUI;
using Splat;
using WalletWasabi.Gui.Controls.TransactionDetails.ViewModels;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class TransactionInfoTabViewModel : WasabiDocumentTa... | mit | C# |
f03f0d9bc8e065a9af48d92085e36d55dd974743 | fix bug | NMSLanX/Natasha | src/Natasha/Engine/ComplieModule/NScriptLog/NScriptLogWriter.cs | src/Natasha/Engine/ComplieModule/NScriptLog/NScriptLogWriter.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace Natasha
{
public class NWarning { }
public class NError { }
public class NSucceed { }
public static class NScriptLogWriter<T>
{
public static readonly string YearPath;
public static readonly ... | using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace Natasha
{
public class NWarning { }
public class NError { }
public class NSucceed { }
public static class NScriptLogWriter<T>
{
public static readonly string YearPath;
public static readonly ... | mpl-2.0 | C# |
77fbc80d15563a8e4335eb7699c27c1f81eefd55 | Fix incorrect controller name | Zyrio/ictus,Zyrio/ictus | src/Yio/Controllers/HomeController.cs | src/Yio/Controllers/HomeController.cs | using Microsoft.AspNetCore.Mvc;
namespace Yio.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
public IActionResult Index()
{
ViewBag.SiteName = Yio.Data.Constants.AppSettingsConstant.SiteName;
ViewBag.IsOffici... | using Microsoft.AspNetCore.Mvc;
namespace Yio.Controllers
{
public class HomeController : Controller
{
public HomeController()
{
}
public IActionResult Index()
{
ViewBag.SiteName = Yio.Data.Constants.AppSettingsConstant.SiteName;
ViewBag.IsOffici... | mit | C# |
4e00ac9f1e70444ef6cd6d39ab8122f2a58bd793 | Update Solution Info | SharpeRAD/Cake.AWS.Route53 | src/SolutionInfo.cs | src/SolutionInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyProduct("Cake.AWS.Route53")]
[a... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Cake.
// </auto-generated>
//------------------------------------------------------------------------------
using System.Reflection;
[assembly: AssemblyProduct("Cake.AWS.S3")]
[assemb... | mit | C# |
c7dcb54d455b75c9789e9da8592429d914968602 | Simplify gravity. | ppy/osu,smoogipooo/osu,peppy/osu,ZLima12/osu,ZLima12/osu,Damnae/osu,DrabWeb/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,naoey/osu,ppy/osu,osu-RP/osu-RP,Drezi126/osu,naoey/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,Frontear/osuKy... | osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs | osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Timing.Drawables
{
public class DrawableGravityTimingChange : DrawableManiaTimingChange
{
public DrawableGravity... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
namespace osu.Game.Rulesets.Mania.Timing.Drawables
{
public class DrawableGravityTimingChange : DrawableManiaTimingChange
{
public DrawableGravity... | mit | C# |
6964f1d50f0dca2ae8549028ba90d280248e7b56 | Add todo - this will give wrong test output. | SQLStreamStore/SQLStreamStore,damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore | tests/SqlStreamStore.MySql.Tests/MySqlStreamStoreFixturePool.cs | tests/SqlStreamStore.MySql.Tests/MySqlStreamStoreFixturePool.cs | namespace SqlStreamStore
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using SqlStreamStore.MySql;
using Xunit;
using Xunit.Abstractions;
public class MySqlStreamStoreFixturePool : IAsyncLifetime
{
private readonly ConcurrentQueue<MySqlStrea... | namespace SqlStreamStore
{
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using SqlStreamStore.MySql;
using Xunit;
using Xunit.Abstractions;
public class MySqlStreamStoreFixturePool : IAsyncLifetime
{
private readonly ConcurrentQueue<MySqlStrea... | mit | C# |
1d023dcedbb64fcac9d4956c73de22407e51b035 | Fix mania editor null reference | peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.cs | osu.Game.Rulesets.Mania/Edit/Blueprints/ManiaSelectionBlueprint.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.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Objec... | mit | C# |
f81d82194990985b372e3b793f0481b74d000e4a | Refactor AgentBus constructor arg | mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse... | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | src/Glimpse.Agent.Common/Broker/DefaultMessageAgentBus.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Reflection;
using System.Threading.Tasks;
namespace Glimpse.Agent
{
public class DefaultAgentBroker : IAgentBroker
{
private readonly ISubject<IMessage> _subject;
// TODO:... | mit | C# |
61d4516475d460dbf78d783610ee95e5ed534851 | fix var name | YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site,YarGU-Demidov/math-site | src/MathSite.Db/DataSeeding/Seeders/SiteSettingsSeeder.cs | src/MathSite.Db/DataSeeding/Seeders/SiteSettingsSeeder.cs | using System.Text;
using MathSite.Db.DataSeeding.StaticData;
using MathSite.Entities;
using Microsoft.Extensions.Logging;
namespace MathSite.Db.DataSeeding.Seeders
{
public class SiteSettingsSeeder : AbstractSeeder<SiteSettings>
{
/// <inheritdoc />
public SiteSettingsSeeder(ILogger logger, IMathSiteDbContext c... | using System.Text;
using MathSite.Db.DataSeeding.StaticData;
using MathSite.Entities;
using Microsoft.Extensions.Logging;
namespace MathSite.Db.DataSeeding.Seeders
{
public class SiteSettingsSeeder : AbstractSeeder<SiteSettings>
{
/// <inheritdoc />
public SiteSettingsSeeder(ILogger logger, IMathSiteDbContext c... | mit | C# |
0b3e395b0c0aaf810ababee18de265a1afd8ed85 | Fix spelling mistakes in the new VersionSatisfies page | joelverhagen/NuGetTools,joelverhagen/NuGetTools,joelverhagen/NuGetTools,joelverhagen/NuGetTools | src/NuGetTools.Website/Views/Home/VersionSatisfies.cshtml | src/NuGetTools.Website/Views/Home/VersionSatisfies.cshtml | @model VersionSatisfiesOutput
@{
ViewData["Title"] = "Version Satisfies";
}
<h1>Version satisfies a version range</h1>
<p>
Enter a NuGet version range (version specification) and a NuGet package version to see if the version satisfies the version range.
</p>
<form method="GET" action="">
<div class="form... | @model VersionSatisfiesOutput
@{
ViewData["Title"] = "Version Satisfies";
}
<h1>Version satisfies version range</h1>
<p>
Enter a NuGet version range (verion specification) and a NuGet package version to see if the version satisfies the version range.
</p>
<form method="GET" action="">
<div class="form-gr... | mit | C# |
6b7e070d52785d40de82af3f5d3c28aea2969485 | Fix multi singis | joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.Experimental.Plugin.SteampunkDetective/SignDefinition.cs | JoinRpg.Experimental.Plugin.SteampunkDetective/SignDefinition.cs | using System;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.Experimental.Plugin.Interfaces;
namespace JoinRpg.Experimental.Plugin.SteampunkDetective
{
[PublicAPI]
public class SignDefinition
{
public int Code { get; set; }
public int FieldId { get; set; }
[NotNull, ItemNotNull]
pu... | using System;
using System.Linq;
using JetBrains.Annotations;
using JoinRpg.Experimental.Plugin.Interfaces;
namespace JoinRpg.Experimental.Plugin.SteampunkDetective
{
[PublicAPI]
public class SignDefinition
{
public int Code { get; set; }
public int FieldId { get; set; }
[NotNull, ItemNotNull]
pu... | mit | C# |
6bed16de4924649cbde5b62445bc47e954edd52a | Fix tests | tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server | tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs | tests/Tgstation.Server.Host.Tests/Security/TestAuthenticationContext.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security.Tests
{
/// <summary>
/// Tests for <see cref="AuthenticationContext"/>
/// </summary>
[TestClass]
public sealed class TestA... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using Tgstation.Server.Api.Rights;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security.Tests
{
/// <summary>
/// Tests for <see cref="AuthenticationContext"/>
/// </summary>
[TestClass]
public sealed class TestA... | agpl-3.0 | C# |
fc8af893b4a1dc85bd82e1c8c5ad8f5a4ebd513c | Add "newline" to the end of OmitOnRecursionFixture | pveller/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb.Tests/OmitOnRecursionFixture.cs | src/Sitecore.FakeDb.Tests/OmitOnRecursionFixture.cs | namespace Sitecore.FakeDb.Tests
{
using System.Linq;
using Ploeh.AutoFixture;
public class OmitOnRecursionFixture : Fixture
{
/// <summary>
/// Initializes a new instance of the <see cref="OmitOnRecursionFixture"/> class.
/// </summary>
public OmitOnRecursionFixture()
{
var throwingRe... | namespace Sitecore.FakeDb.Tests
{
using System.Linq;
using Ploeh.AutoFixture;
public class OmitOnRecursionFixture : Fixture
{
/// <summary>
/// Initializes a new instance of the <see cref="OmitOnRecursionFixture"/> class.
/// </summary>
public OmitOnRecursionFixture()
{
var throwingRe... | mit | C# |
45d5fc27da15d86816bf36c7e95839ae31c0435f | fix xml comment | cvent/Metrics.NET,MetaG8/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,etishor/Metrics.NET,mnadel/Metrics.NET,DeonHeyns/Metrics.NET,alhardy/Metrics.NET,MetaG8/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,Liwoj/Metrics.NET,alhardy/Metrics.NET... | Src/Adapters/Nancy.Metrics/NancyMetrics.cs | Src/Adapters/Nancy.Metrics/NancyMetrics.cs | using Metrics;
namespace Nancy.Metrics
{
/// <summary>
/// Helper class to register a few NancyFx related metrics.
/// </summary>
public static class NancyMetrics
{
public static NancyMetricsConfig CurrentConfig { get; private set; }
/// <summary>
/// Start configuring met... | using Metrics;
namespace Nancy.Metrics
{
/// <summary>
/// Helper class to register a few NancyFx related metrics.
/// </summary>
public static class NancyMetrics
{
public static NancyMetricsConfig CurrentConfig { get; private set; }
/// <summary>
/// Start configuring met... | apache-2.0 | C# |
500402b1cf2905360125d2d2cafce10d524b26e6 | Fix naming violation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Packager/NSubsys/PeUtility.cs | WalletWasabi.Packager/NSubsys/PeUtility.cs | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace NSubsys
{
internal class PeUtility : IDisposable
{
public enum SubSystemType : ushort
{
IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,
IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,
}
[StructLayout(LayoutKind.Explicit... | using System;
using System.IO;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace NSubsys
{
internal class PeUtility : IDisposable
{
public enum SubSystemType : ushort
{
IMAGE_SUBSYSTEM_WINDOWS_GUI = 2,
IMAGE_SUBSYSTEM_WINDOWS_CUI = 3,
}
[StructLayout(LayoutKind.Explicit... | mit | C# |
c4790d991cdf494aff9f6602fcfc54714018cd6e | Fix wrong license header | peppy/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,Tom94/osu-framework,default0/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-frame... | osu.Framework/Graphics/Transforms/TransformBindable.cs | osu.Framework/Graphics/Transforms/TransformBindable.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.MathUtils;
namespace osu.Framework.Graphics.Transforms
{
internal class TransformBindable<TValue, ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Configuration;
using osu.Framework.MathUtils;
namespace osu.Framework.Graphics.Transforms
{
internal class TransformBindable<TValue, T> : Trans... | mit | C# |
b9e0fed4679d5b7c6193cb1c48ef8659eaa59f3d | Use SongBar height instead of hard-coded dimensions | peppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.cs | osu.Game.Tournament/Screens/Showcase/ShowcaseScreen.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.Tournament.Components;
using osu.Framework.Graphics.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Components;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace ... | mit | C# |
4393a1fef46dc6b9a8c8a37fa9861984cffbf824 | Remove more duplication: '5'. | alastairs/tdd-by-example | part-1/MultiCurrencyMoney/MultiCurrencyMoney/Dollar.cs | part-1/MultiCurrencyMoney/MultiCurrencyMoney/Dollar.cs | namespace MultiCurrencyMoney
{
public class Dollar
{
public Dollar(int i)
{
Amount = i;
}
public int Amount { get; set; }
public void Times(int i)
{
Amount = Amount * 2;
}
}
} | namespace MultiCurrencyMoney
{
public class Dollar
{
public Dollar(int i)
{
}
public int Amount { get; set; }
public void Times(int i)
{
Amount = 5 * 2;
}
}
} | unlicense | C# |
abb42a54fde43f6613fd76a4389b4a0a9575f24a | Fix `MultiplayerTestScene` not actually setting match type correctly | peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu | osu.Game/Tests/Visual/Multiplayer/MultiplayerTestScene.cs | osu.Game/Tests/Visual/Multiplayer/MultiplayerTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Online.Rooms;
using osu.Game.Tests.Beatmaps;
using osu.Game.Tests.Visual.OnlinePlay;
using osu.Game.Tests.Visual.Spectator;
namespa... | // 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.Game.Online.Rooms;
using osu.Game.Tests.Beatmaps;
using osu.Game.Tests.Visual.OnlinePlay;
using osu.Game.Tests.Visual.Spectator;
namespa... | mit | C# |
5db53f231fee8aaab4854c8d4e980b806fdf0c36 | add license information | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Commons.Collections/IMap.cs | src/Commons.Collections/IMap.cs | // Copyright CommonsForNET. Author: Gujun Yang. email: gujun.yang@gmail.com
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Commons.Collections
{
[CLSCompliant(true)]
public interface IMap<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>,
... | apache-2.0 | C# |
5b67f8429d78b45e5888524ec03f6b937aa83c33 | update with sas | liupeirong/Azure,liupeirong/Azure,liupeirong/Azure,liupeirong/Azure,liupeirong/Azure,liupeirong/Azure,liupeirong/Azure,liupeirong/Azure | LargeBlobUploader/Program.cs | LargeBlobUploader/Program.cs | namespace LargeFileUploader
{
using Microsoft.WindowsAzure.Storage;
using System;
using System.Text;
class Program
{
static void Main(string[] args)
{
LargeFileUploaderUtils.Log = Console.Out.WriteLine;
LargeFileUploaderUtils.NumBytesPerChunk = 2 * 1024 * 1... | namespace LargeFileUploader
{
using Microsoft.WindowsAzure.Storage;
using System;
using System.Text;
class Program
{
static void Main(string[] args)
{
LargeFileUploaderUtils.Log = Console.Out.WriteLine;
LargeFileUploaderUtils.NumBytesPerChunk = 8 * 1024;
... | mit | C# |
ab0b82c54a4f7b7fc82d2be824b99e2b6db20628 | Improve property annotation | eric-davis/JustSaying | JustSaying/AwsTools/QueueCreation/SnsWriteConfiguration.cs | JustSaying/AwsTools/QueueCreation/SnsWriteConfiguration.cs | using System;
using Amazon.SimpleNotificationService.Model;
namespace JustSaying.AwsTools.QueueCreation
{
public class SnsWriteConfiguration
{
/// <summary>
/// Extension point enabling custom error handling on a per notification basis, including ability handle raised exceptions.
/// <... | using System;
using Amazon.SimpleNotificationService.Model;
namespace JustSaying.AwsTools.QueueCreation
{
public class SnsWriteConfiguration
{
/// <summary>
/// Extension point enabling custom error handling on a per notification basis, including ability handle the exception.
/// </sum... | apache-2.0 | C# |
d5f2bc5d0d9f257154f551d42023d098ca0278f1 | Update Order.cs | eoin55/HoneyBear.HalClient | Src/HoneyBear.HalClient.Unit.Tests/ProxyResources/Order.cs | Src/HoneyBear.HalClient.Unit.Tests/ProxyResources/Order.cs | using System;
using NMoneys;
namespace HoneyBear.HalClient.Unit.Tests.ProxyResources
{
internal class Order
{
public Guid OrderRef { get; set; }
public string OrderNumber { get; set; }
public string Status { get; set; }
public DateTime? DeliveryDate { get; set; }
public ... | using System;
using NMoneys;
namespace HoneyBear.HalClient.Unit.Tests.ProxyResources
{
internal class Order
{
public Guid OrderRef { get; set; }
public string OrderNumber { get; set; }
public string Status { get; set; }
public Money Total { get; set; }
}
} | mit | C# |
9558e041db68d534f21e42c8af2b693b5233e07d | use ProjectItem instead of ActiveDocument name | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | src/GitHub.VisualStudio/Helpers/ActiveDocumentSnapshot.cs | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.TextManager.Interop;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace GitHub.VisualStudio
{
[Export(typeof(IActiveDocumentSnapshot))]
[PartCreationPolicy(CreationPolicy.NonS... | mit | C# |
a2b3e6bb2338d9863486e3a6d4c3cc86cf123064 | Remove pointless assert. (#9571) | microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime | csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs | csharp/test/Microsoft.ML.OnnxRuntime.Tests.iOS/InferenceTest.ios.cs | using Xunit;
namespace Microsoft.ML.OnnxRuntime.Tests
{
public partial class InferenceTest
{
[Fact(DisplayName = "TestPlatformSessionOptions")]
public void TestPlatformSessionOptions()
{
var opt = new SessionOptions();
opt.AppendExecutionProvider_CoreML(CoreMLFl... | using Xunit;
namespace Microsoft.ML.OnnxRuntime.Tests
{
public partial class InferenceTest
{
[Fact(DisplayName = "TestPlatformSessionOptions")]
public void TestPlatformSessionOptions()
{
var opt = new SessionOptions();
opt.AppendExecutionProvider_CoreML(CoreMLFl... | mit | C# |
0d3fb755c4d77039caa88fce533dbeb02e63ad33 | Prepare Release | dfensgmbh/biz.dfch.CS.Appclusive.Api | src/biz.dfch.CS.Appclusive.Api/Properties/AssemblyInfo.cs | src/biz.dfch.CS.Appclusive.Api/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("bi... | 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("bi... | apache-2.0 | C# |
a90650e066f7c9fd984dc6d3683db70b4faaf126 | Reset CellRendererText.Attributes when using mixed text and markup data fields | lytico/xwt,hwthomas/xwt,antmicro/xwt,hamekoz/xwt,cra0zy/xwt,mono/xwt,TheBrainTech/xwt | Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererText.cs | Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererText.cs | //
// CustomCellRendererText.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | //
// CustomCellRendererText.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without re... | mit | C# |
739f0a799ac944bad3b7d7208e5e8b20caefe418 | Improve SolutionAttribute to allow passing solutionFile via parameter | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/ProjectModel/SolutionAttribute.cs | source/Nuke.Common/ProjectModel/SolutionAttribute.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Execution;
using Nuke.Common.IO;
namespace Nuke.Common.ProjectModel
{
/// <inheri... | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.Execution;
namespace Nuke.Common.ProjectModel
{
/// <inheritdoc />
[PublicAPI... | mit | C# |
b7f4c90bfda67107d53a359c7e75b69baefff72b | Update documentation for IHttpClientFactory to better reflect documentation \n\nCommit migrated from https://github.com/dotnet/extensions/commit/cc9a033c6a8a4470984a4cc8395e42b887c07c2e | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/HttpClientFactory/Http/src/IHttpClientFactory.cs | src/HttpClientFactory/Http/src/IHttpClientFactory.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
namespace System.Net.Http
{
/// <summary>
/// A factory abstraction for a component that can c... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
namespace System.Net.Http
{
/// <summary>
/// A factory abstraction for a component that can c... | apache-2.0 | C# |
843f35370131da57d89d5f0d2af6fc6798b483ce | Add views config | greymind/WebApiToTypeScript,greymind/WebApiToTypeScript,greymind/WebApiToTypeScript | src/WebApiToTypeScript/Config/Config.cs | src/WebApiToTypeScript/Config/Config.cs | using System.Collections.Generic;
namespace WebApiToTypeScript.Config
{
public class Config
{
public string WebApiModuleFileName { get; set; }
public string EndpointsOutputDirectory { get; set; }
= "Endpoints";
public string EndpointsFileName { get; set; }
= "... | using System.Collections.Generic;
namespace WebApiToTypeScript.Config
{
public class Config
{
public string WebApiModuleFileName { get; set; }
public string EndpointsOutputDirectory { get; set; }
= "Endpoints";
public string EndpointsFileName { get; set; }
= "... | mit | C# |
e69fec116310b0003d9916e1b0052ba67de24496 | Add test for NH-2812 support for byte.Equals (closes #92) | fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibern... | src/NHibernate.Test/NHSpecificTest/NH2812/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH2812/Fixture.cs | using System.Linq;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2812
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override void OnSetUp()
{
using (var session = OpenSession())
using (var tx = session.BeginTransaction())
{
... | using System.Linq;
using NHibernate.Linq;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2812
{
[TestFixture]
public class Fixture : BugTestCase
{
protected override void OnSetUp()
{
using (var session = OpenSession())
using (var tx = session.BeginTransaction())
{
... | lgpl-2.1 | C# |
be41abe34190284a23e78e763d4b38ce46ded623 | update comment | IdentityModel/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient2,IdentityModel/IdentityModel.OidcClient,IdentityModel/IdentityModel.OidcClient | src/Results/RefreshTokenResult.cs | src/Results/RefreshTokenResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
namespace IdentityModel.OidcClient.Results
{
/// <summary>
/// The result of a refresh token request.
/// </summar... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
namespace IdentityModel.OidcClient.Results
{
/// <summary>
/// The result of a refresh token request.
/// </summar... | apache-2.0 | C# |
7196b32faa637a07f9bd8b036fc34eb6835559cc | refactor to also use Elements GetHashCode | OlegKleyman/Omego.Extensions | core/Omego.Extensions/SingleElementResult.cs | core/Omego.Extensions/SingleElementResult.cs | namespace Omego.Extensions
{
using System;
using System.Collections.Generic;
public struct SingleElementResult<T> : IEquatable<SingleElementResult<T>>
{
private readonly Element<T> value;
public SingleElementResult(T value)
{
Elements = Elements.One;
th... | namespace Omego.Extensions
{
using System;
using System.Collections.Generic;
public struct SingleElementResult<T> : IEquatable<SingleElementResult<T>>
{
private readonly Element<T> value;
public SingleElementResult(T value)
{
Elements = Elements.One;
th... | unlicense | C# |
4b5537ec55a282aff18313da7b3f50fc45e1e691 | Fix #55647 - When creating a temp file, ensure the name isn't already taken | jcridev/npoi,xl1/npoi,vinod1988/npoi,Yijtx/npoi,antony-liu/npoi,tonyqus/npoi,tkalubi/npoi-1,stuartwmurray/npoi | main/Util/TempFile.cs | main/Util/TempFile.cs |
namespace NPOI.Util
{
using System;
using System.IO;
using System.Threading;
public class TempFile
{
private static string dir;
/**
* Creates a temporary file. Files are collected into one directory and by default are
* deleted on exit from the VM. Files can b... |
namespace NPOI.Util
{
using System;
using System.IO;
using System.Threading;
public class TempFile
{
/**
* Creates a temporary file. Files are collected into one directory and by default are
* deleted on exit from the VM. Files can be kept by defining the sys... | apache-2.0 | C# |
077b53df69eb064f9d2bc79dc5c84d99ec0e3bb5 | Move more code and add comments :lipstick: | hasaki/StatsImporter | StatsImporter/Program.cs | StatsImporter/Program.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using StatsImporter.Importers;
namespace StatsImporter
{
public static class Program
{
public static int Main(string[] args)
{
if (args.Length < 3)
{
WriteHelp();
return -1;
}
var sportText = args[0... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using StatsImporter.Importers;
namespace StatsImporter
{
public static class Program
{
public static int Main(string[] args)
{
if (args.Length < 3)
{
WriteHelp();
return -1;
}
AllowedSports sport;
... | mit | C# |
12261548b2bda6d364fd18f29acd788be1802d0d | Update LoginViewModel.cs | HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp | src/MobileKidsIdApp/MobileKidsIdApp/ViewModels/LoginViewModel.cs | src/MobileKidsIdApp/MobileKidsIdApp/ViewModels/LoginViewModel.cs | using System.Threading.Tasks;
using MobileKidsIdApp.Services;
using MobileKidsIdApp.Views;
using Xamarin.Forms;
namespace MobileKidsIdApp.ViewModels
{
public class LoginViewModel : ViewModelBase
{
private readonly AuthenticationService _auth;
private string _password;
public string Pa... | using System.Threading.Tasks;
using MobileKidsIdApp.Services;
using MobileKidsIdApp.Views;
using Xamarin.Forms;
namespace MobileKidsIdApp.ViewModels
{
public class LoginViewModel : ViewModelBase
{
private readonly AuthenticationService _auth;
private string _password;
public string Pa... | apache-2.0 | C# |
0fe01fdedd16a62ab2b4d111f85377564a9798c4 | Remove and sort usings. | NextMethod/Tamarind | Tamarind/Cache/ICache.cs | Tamarind/Cache/ICache.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace Tamarind.Cache
{
// TODO: NEEDS DOCUMENTATION.
public interface ICache<K, V>
{
public V GetIfPresent(K key);
public V Get(K key, Func<V> valueLoader... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tamarind.Cache
{
// TODO: NEEDS DOCUMENTATION.
public interface ICache<K, V>
{
public ... | mit | C# |
5851ec713e324f81e9a50c827ad2e6c67696badb | update version | prodot/ReCommended-Extension | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | Sources/ReCommendedExtension/Properties/AssemblyInfo.cs | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | using System.Reflection;
using ReCommendedExtension;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(ZoneMarker.ExtensionName)]
[assembly: AssemblyDescript... | apache-2.0 | C# |
13cd1b280766c8f1a5264c7c2ad837e96c3d2207 | Add style class for closed vacancy tag | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml | src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/VacancyClosed.cshtml | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = Model.NoOfNewApplications.HasValue && Model.NoOfNewApplications.Value.Equals(1) ? "application" : "applications";
}
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your appre... | @model SFA.DAS.EmployerAccounts.Web.ViewModels.VacancyViewModel
@{
var applicationsTextSuffix = Model.NoOfNewApplications.HasValue && Model.NoOfNewApplications.Value.Equals(1) ? "application" : "applications";
}
<section class="dashboard-section">
<h2 class="section-heading heading-large">
Your appre... | mit | C# |
c8ea451e61fd435d09dfb3f5185e8e0abe563922 | Add a regression test to protect against regressions related to the .NET 4.0/4.5 "quirks mode" complication that other test frameworks have had to work address. Closes #50. | Duohong/fixie,fixie/fixie | src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs | src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs | using System;
using System.Configuration;
using System.Linq;
using System.Reflection;
using System.Runtime.Versioning;
using Should;
namespace Fixie.Tests.Execution
{
public class ExecutionEnvironmentTests
{
public void ShouldEnableAccessToTestAssemblyConfigFile()
{
ConfigurationMan... | using System.Configuration;
using Should;
namespace Fixie.Tests.Execution
{
public class ExecutionEnvironmentTests
{
public void ShouldEnableAccessToTestAssemblyConfigFile()
{
ConfigurationManager.AppSettings["CanAccessAppConfig"].ShouldEqual("true");
}
}
} | mit | C# |
429272b864b022547c21c488961931b3095c5a57 | Clean up + document taiko health processor | ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,peppy/osu,peppy/osu,johnneijzen/osu,EVAST9919/osu,2yangk23/osu,ppy/osu,2yangk23/osu | osu.Game.Rulesets.Taiko/Scoring/TaikoHealthProcessor.cs | osu.Game.Rulesets.Taiko/Scoring/TaikoHealthProcessor.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Objects;
namespace osu.Gam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.Taiko.Objects;
namespace osu.Gam... | mit | C# |
8a1f0ea6c6eb55366ddfccf81f6d8794da8a4801 | Fix order of exporters in ExporterDependencyTests | Teknikaali/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDot... | tests/BenchmarkDotNet.Tests/ExporterDependencyTests.cs | tests/BenchmarkDotNet.Tests/ExporterDependencyTests.cs | using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using Xunit;
namespace BenchmarkDotNet.Tests
{
// See https://github.com/dotnet/BenchmarkDotNet/issues/172
public class ExporterDependencyTests
{
[Fac... | using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using Xunit;
namespace BenchmarkDotNet.Tests
{
// See https://github.com/dotnet/BenchmarkDotNet/issues/172
public class ExporterDependencyTests
{
[Fac... | mit | C# |
bc2885dc5f04d324a0c2d1dcbdab23b8719ae515 | Fix issue with mismatched parameter on AccountLinking Api | stoiveyp/Alexa.NET.Management | Alexa.NET.Management/Internals/IClientAccountLinkingApi.cs | Alexa.NET.Management/Internals/IClientAccountLinkingApi.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Alexa.NET.Management.AccountLinking;
using Refit;
namespace Alexa.NET.Management.Internals
{
[Headers("Authorization: Bearer")]
public interface IClientAccountLinkingApi
{
[Get("/skills/{skillId}... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Alexa.NET.Management.AccountLinking;
using Refit;
namespace Alexa.NET.Management.Internals
{
[Headers("Authorization: Bearer")]
public interface IClientAccountLinkingApi
{
[Get("/skills/{skilIid}... | mit | C# |
49c760a79ef4e6c077e26f0448ad6697e8d16786 | Tweak variable naming | mattgwagner/CertiPay.Common | CertiPay.Common.Notifications/Notifications/ISMSService.cs | CertiPay.Common.Notifications/Notifications/ISMSService.cs | using CertiPay.Common.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background proce... | using CertiPay.Common.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background proce... | mit | C# |
48ff3e878146db900b4a07cd20b09f4e5c2761fe | Fix time zone issue in tests | JavierJJJ/ClosedXML,ClosedXML/ClosedXML,jongleur1983/ClosedXML,igitur/ClosedXML,vbjay/ClosedXML,clinchergt/ClosedXML,b0bi79/ClosedXML | ClosedXML/ClosedXML/ClosedXML_Examples/Misc/WorkbookProperties.cs | ClosedXML/ClosedXML/ClosedXML_Examples/Misc/WorkbookProperties.cs | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProperties : IXLExample
{
#region Variables
// Public
// Private
#endregion
#region Properties
// Public
// Private
// O... | using System;
using ClosedXML.Excel;
namespace ClosedXML_Examples.Misc
{
public class WorkbookProperties : IXLExample
{
#region Variables
// Public
// Private
#endregion
#region Properties
// Public
// Private
// O... | mit | C# |
be94043d043d2592d5918b9d835d125053739cc5 | align free space according to other lines | vedi/unity3d-profile,vedi/unity3d-profile,vedi/unity3d-profile,zentuit/unity3d-profile,vedi/unity3d-profile,vedi/unity3d-profile,zentuit/unity3d-profile,zentuit/unity3d-profile,zentuit/unity3d-profile,zentuit/unity3d-profile | Soomla/Assets/Plugins/Soomla/Profile/Domain/PJSONConsts.cs | Soomla/Assets/Plugins/Soomla/Profile/Domain/PJSONConsts.cs | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// 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 l... | /// Copyright (C) 2012-2014 Soomla Inc.
///
/// 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 l... | apache-2.0 | C# |
83320abd18c87c19fa6a8fae74eb5657fe223417 | Add NativeLocalSymbol.ToString() | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Code/Native/NativeLocalSymbol.cs | src/AsmResolver.DotNet/Code/Native/NativeLocalSymbol.cs | namespace AsmResolver.DotNet.Code.Native
{
/// <summary>
/// Represents a symbol within a native method body.
/// </summary>
public class NativeLocalSymbol : ISymbol
{
/// <summary>
/// Creates a new native local symbol.
/// </summary>
/// <param name="body">The body ... | namespace AsmResolver.DotNet.Code.Native
{
/// <summary>
/// Represents a symbol within a native method body.
/// </summary>
public class NativeLocalSymbol : ISymbol
{
/// <summary>
/// Creates a new native local symbol.
/// </summary>
/// <param name="body">The body ... | mit | C# |
a66723726898c730df5081edd22a4dae2a0b369a | Remove reference to satan | malcolmr/nodatime,BenJenkinson/nodatime,jskeet/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,jskeet/nodatime,nodatime/nodatime,malcolmr/nodatime,nodatime/nodatime | src/NodaTime/TimeZones/DateTimeZoneNotFoundException.cs | src/NodaTime/TimeZones/DateTimeZoneNotFoundException.cs | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NodaTime.Annotations;
namespace NodaTime.TimeZones
{
/// <summary>
/// Exception thrown when time zone is requested from an <... | // Copyright 2013 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
using System;
using NodaTime.Annotations;
namespace NodaTime.TimeZones
{
/// <summary>
/// Exception thrown when time zone is requested from an <... | apache-2.0 | C# |
468f3904bc9ffe02dae019f045e58841de1ec746 | configure stripe from startup too | Nsrose/Azure-B2C-Stripe-WebApp,Nsrose/Azure-B2C-Stripe-WebApp,Nsrose/Azure-B2C-Stripe-WebApp | WebApp-B2C-DotNet/Startup.cs | WebApp-B2C-DotNet/Startup.cs | using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(WebApp_OpenIDConnect_DotNet_B2C.Startup))]
namespace WebApp_OpenIDConnect_DotNet_B2C
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureA... | using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(WebApp_OpenIDConnect_DotNet_B2C.Startup))]
namespace WebApp_OpenIDConnect_DotNet_B2C
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureA... | apache-2.0 | C# |
6fb85eb97bc4fa2b8d861648f802fa04bf1fd240 | add NeedAssessment ViewModel | ndrmc/cats,ndrmc/cats,ndrmc/cats | Web/Areas/EarlyWarning/Models/NeedAssessmentViewModel.cs | Web/Areas/EarlyWarning/Models/NeedAssessmentViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Cats.Areas.EarlyWarning.Models
{
public class NeedAssessmentViewModel
{
public int Zone { get; set; }
public int Woreda { get; set; }
public int ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Cats.Areas.EarlyWarning.Models
{
public class NeedAssessmentViewModel
{
public int NAId { get; set; }
public int NaHeaderId { get; set; }
... | apache-2.0 | C# |
c3effb3499658abe947bc68d0e89d8172e0d6ef9 | Update NServiceBus.Serilog/LogInjection/ExceptionLogState.cs | SimonCropp/NServiceBus.Serilog | NServiceBus.Serilog/LogInjection/ExceptionLogState.cs | NServiceBus.Serilog/LogInjection/ExceptionLogState.cs | using System;
#pragma warning disable 1591
namespace NServiceBus.Serilog
{
[Serializable]
public class ExceptionLogState
{
public string Endpoint;
public string MessageId;
public string MessageType;
public string CorrelationId;
public string ConversationId;
}
} | using System;
namespace NServiceBus.Serilog
{
[Serializable]
public class ExceptionLogState
{
public string Endpoint;
public string MessageId;
public string MessageType;
public string CorrelationId;
public string ConversationId;
}
} | mit | C# |
67857e78f30c2e718d6a126000c6c042d93fd5d3 | Update version to at least above published version on nuget.org | serilog-trace-listener/SerilogTraceListener | assets/CommonAssemblyInfo.cs | assets/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.1.0.0")]
[assembly: AssemblyInformationalVersion("2.1.0")]
| using System.Reflection;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyInformationalVersion("1.2.0")]
| apache-2.0 | C# |
0cfa2c592175ed5f1067731fffef01999191b9f9 | Raise exception when the kind of a DateTime is unspecified | messagebird/csharp-rest-api | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | MessageBird/Json/Converters/RFC3339DateTimeConverter.cs | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | using System;
using MessageBird.Utilities;
using Newtonsoft.Json;
namespace MessageBird.Json.Converters
{
class RFC3339DateTimeConverter : JsonConverter
{
private const string Format = "yyyy-MM-dd'T'HH:mm:ssK";
public override void WriteJson(JsonWriter writer, object value, JsonSerializer ser... | isc | C# |
0a0db96b8e8690c6624c60ebb57f2d7732305429 | add bargraph display | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | ConsoleTestApp/Program.cs | ConsoleTestApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dashen;
using Dashen.Endpoints.Stats;
namespace ConsoleTestApp
{
class Program
{
static void Main(string[] args)
{
var ui = new Dashboard(new DashenConfiguration{
ListenOn = new ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dashen;
using Dashen.Endpoints.Stats;
namespace ConsoleTestApp
{
class Program
{
static void Main(string[] args)
{
var ui = new Dashboard(new DashenConfiguration{
ListenOn = new ... | lgpl-2.1 | C# |
8e1253a882956f81ee7f4690849914f30769697c | Save loaded textures in map. | saschb2b/mugo | mugo/TextureLoader.cs | mugo/TextureLoader.cs | using System;
using System.Collections.Generic;
using Engine.cgimin.texture;
using System.IO;
namespace Mugo
{
public static class TextureLoader
{
private static readonly Dictionary<String, TextureHolder> textures = new Dictionary<string, TextureHolder>();
public static TextureHolder Load(String path)
{
T... | using System;
using System.Collections.Generic;
using Engine.cgimin.texture;
using System.IO;
namespace Mugo
{
public static class TextureLoader
{
private static readonly Dictionary<String, TextureHolder> textures = new Dictionary<string, TextureHolder>();
public static TextureHolder Load(String path)
{
T... | mit | C# |
7d4b94eeac8a971e7ae38f3cad5dded65c6a2c6f | support authentication for PollingClient | RubiusGroup/Realmius | RealmSync/SyncService/ApiClient/PollingSyncApiClient.cs | RealmSync/SyncService/ApiClient/PollingSyncApiClient.cs | using System;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace RealmSync.SyncService
{
public class PollingSyncApiClient : IApiClient
{
private Timer _timer;
private ApiClientStartOptions _startOptions;
public Uri DownloadServerU... | using System;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace RealmSync.SyncService
{
public class PollingSyncApiClient : IApiClient
{
private Timer _timer;
private ApiClientStartOptions _startOptions;
public Uri DownloadServerU... | apache-2.0 | C# |
d710656e53f8ac18cbea64f541f84a198e3f58d3 | fix codefactor 2 | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/ClosedWalletViewModel.cs | WalletWasabi.Fluent/ViewModels/ClosedWalletViewModel.cs | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels
{
public class Clos... | using ReactiveUI;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading.Tasks;
using WalletWasabi.Gui.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.ViewModels
{
public class Clos... | mit | C# |
b0f10e16bed9090cd2b06e2707bcd9f3c07875f6 | Fix for parse error | kendallb/easypost-async-csharp | EasyPost/CarrierDetail.cs | EasyPost/CarrierDetail.cs | /*
* Licensed under The MIT License (MIT)
*
* Copyright (c) 2014 EasyPost
* Copyright (C) 2017 AMain.com, Inc.
* All Rights Reserved
*/
using System;
namespace EasyPost
{
public class CarrierDetail : Resource
{
/// <summary>
/// The guaranteed delivery date
/// </summary>
... | /*
* Licensed under The MIT License (MIT)
*
* Copyright (c) 2014 EasyPost
* Copyright (C) 2017 AMain.com, Inc.
* All Rights Reserved
*/
using System;
namespace EasyPost
{
public class CarrierDetail : Resource
{
/// <summary>
/// The guaranteed delivery date
/// </summary>
... | mit | C# |
12956c38162396f459c6e8abb70ce4f058089fb7 | Remove unnecessary cast. | paparony03/osu-framework,default0/osu-framework,RedNesto/osu-framework,ppy/osu-framework,ZLima12/osu-framework,naoey/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,RedNesto/osu-framework,Tom94/osu-framework,peppy/osu-framework,ZLima12/osu-framework,paparony03/osu-framework,Tom94/os... | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | osu.Framework/Graphics/Performance/PerformanceOverlay.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using System.Linq;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.Textures;
using OpenTK.Gr... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Graphics.Containers;
using System.Linq;
using osu.Framework.Graphics.OpenGL;
using osu.Framework.Graphics.Textures;
using OpenTK.Gr... | mit | C# |
be3634cce16a53eca471d185218f5b168002a5e7 | remove ApproachRate setting | NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,UselessToucan/osu | osu.Game.Rulesets.Taiko/Mods/TaikoModDifficultyAdjust.cs | osu.Game.Rulesets.Taiko/Mods/TaikoModDifficultyAdjust.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.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModDifficultyAd... | // 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.Bindables;
using osu.Game.Configuration;
using osu.Game.Rulesets.Mods;
namespace osu.Game.Rulesets.Taiko.Mods
{
public class TaikoModDifficultyAd... | mit | C# |
b88b4ad4dacd322dd939558662081628145afa6b | Update FileHelper.cs | cedw032/MarkerMetro.Unity.WinShared,MarkerMetro/MarkerMetro.Unity.WinShared,Kezeali/MarkerMetro.Unity.WinShared,hungweng/MarkerMetro.Unity.WinShared,hungweng/MarkerMetro.Unity.WinShared | Assets/Plugins/MarkerMetro/FileHelper.cs | Assets/Plugins/MarkerMetro/FileHelper.cs | using UnityEngine;
#if UNITY_WINRT && !UNITY_EDITOR
using File = UnityEngine.Windows.File;
#else
using File = System.IO.File;
#endif
public class FileHelper {
public static void Delete(string path)
{
File.Delete(path);
}
public static bool Exists(string path)
{
return File.Exists... | using UnityEngine;
#if UNITY_WINRT && !UNITY_EDITOR
using File = UnityEngine.Windows.File;
#else
using File = System.IO.File;
#endif
public class FileHelper {
public static void Delete(string path)
{
File.Delete(path);
}
public static bool Exists(string path)
{
return File.Exists... | mit | C# |
071f2e7f2952fded68890e51f5d3dac8790683e7 | debug menu : set input number added | ggris/bubbleslash,ggris/bubbleslash | BubbleSlash/Assets/scripts/menuScript.cs | BubbleSlash/Assets/scripts/menuScript.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class menuScript : MonoBehaviour {
//canvas
public GameObject main_canvas;
public GameObject settings_canvas;
public GameObject playerFactoryMenuPrefab;
public GameObject playerFactoryPrefab;
private List<GameObject> playerFact... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class menuScript : MonoBehaviour {
//canvas
public GameObject main_canvas;
public GameObject settings_canvas;
public GameObject playerFactoryMenuPrefab;
public GameObject playerFactoryPrefab;
private List<GameObject> playerFact... | apache-2.0 | C# |
8783a9d1fcb622bb9b7f21233310cc2239a5bd16 | Fix 'AndoridAppManifestAliases' typo not corrected in class name. Closes #24. | ghuntley/Cake.AndroidAppManifest,ghuntley/Cake.AndroidAppManifest | src/Cake.AndroidAppManifest/AndroidAppManifestAliases.cs | src/Cake.AndroidAppManifest/AndroidAppManifestAliases.cs | using System;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.AndroidAppManifest
{
/// <summary>
/// Contains functionality to work with Android AppManifest files.
/// </summary>
[CakeAliasCategory("AndroidAppManifest")]
public static class AndroidAppManifestAl... | using System;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.IO;
namespace Cake.AndroidAppManifest
{
/// <summary>
/// Contains functionality to work with Android AppManifest files.
/// </summary>
[CakeAliasCategory("AndroidAppManifest")]
public static class AndoridAppManifestAl... | mit | C# |
17193a0b7fb7518adb753a6af0bb14034067a8d9 | Add description to default Compliance slope | dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo,dmweis/DynamixelServo | DynamixelServo.Driver/ComplianceSlope.cs | DynamixelServo.Driver/ComplianceSlope.cs | namespace DynamixelServo.Driver
{
public enum ComplianceSlope
{
S2 = 2,
S4 = 4,
S8 = 8,
S16 = 16,
S32 = 32,
/// <summary>
/// Same as S32
/// </summary>
Default = 32,
S64 = 64,
S128 = 128
}
}
| namespace DynamixelServo.Driver
{
public enum ComplianceSlope
{
S2 = 2,
S4 = 4,
S8 = 8,
S16 = 16,
S32 = 32,
Default = 32,
S64 = 64,
S128 = 128
}
}
| apache-2.0 | C# |
e650733f4d797cf4987fcc3ae83a21fe51174479 | Allow the host to use an existing stub assembly if the current one is locked (likely because another instance is running already) | LightBlueProject/LightBlue,wangdoubleyan/LightBlue,graemefoster/LightBlue,Drewan/LightBlue,ColinScott/LightBlue,Drewan/LightBlue,ColinScott/LightBlue,LightBlueProject/LightBlue,graemefoster/LightBlue,LightBlueProject/LightBlue,Drewan/LightBlue,wangdoubleyan/LightBlue,wangdoubleyan/LightBlue,graemefoster/LightBlue,Colin... | LightBlue.Host/Program.cs | LightBlue.Host/Program.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using LightBlue.Host.Stub;
using LightBlue.Infrastructure;
namespace LightBlue.Host
{
public static class Program
{
[DllImport("user32.dll")]
private static extern bool SetWindowText(IntPtr hWnd, st... | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using LightBlue.Host.Stub;
using LightBlue.Infrastructure;
namespace LightBlue.Host
{
public static class Program
{
[DllImport("user32.dll")]
private static extern bool SetWindowText(IntPtr hWnd, st... | apache-2.0 | C# |
8108bf89858f4a11dd824b273a949651f282ed92 | test commit into test_b branch | piotrgebski/test | TestConsoleApp/TestConsoleApp/Program.cs | TestConsoleApp/TestConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.Write("test123456");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.Write("test123");
}
}
}
| mit | C# |
a2f2a006f5c91001abe8868ec8720c349d017960 | Use env vars for test client | recurly/recurly-client-net,recurly/recurly-client-net | RecurlyTestRig/Program.cs | RecurlyTestRig/Program.cs | using System;
using Recurly;
using Recurly.Resources;
namespace RecurlyTestRig
{
class Program
{
static void Main(string[] args)
{
try {
var subdomain = Environment.GetEnvironmentVariable("RECURLY_SUBDOMAIN");
var apiKey = Environment.GetEnvironmen... | using System;
using Recurly;
using Recurly.Resources;
namespace RecurlyTestRig
{
class Program
{
static void Main(string[] args)
{
var client = new Recurly.Client("subdomain-client-lib-test", "382c053318a04154905c4d27a48f74a6");
var site = client.GetSite("sub... | mit | C# |
71713269485f4d3f840a652bd1f3c30164a1ca20 | add "NotRunnable" sample | TakeAsh/cs-NUnit-VS-TagJump,TakeAsh/cs-NUnit-VS-TagJump | Sample1Test/Class1Test.cs | Sample1Test/Class1Test.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Sample1;
namespace Sample1Test {
[TestFixture]
public class Class1Test {
[TestCase(1, 3, 1)] // test fail
[TestCase(1, 3, 3)]
[TestCase(3, 1, 1.0)] // te... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Sample1;
namespace Sample1Test {
[TestFixture]
public class Class1Test {
[TestCase(1, 3, 1)] // test fail
[TestCase(1, 3, 3)]
[TestCase(3, 1, 1.0)] // te... | mit | C# |
d9e450a13ae45a492f552a4e37889af30e583fa8 | apply multi-ruled | ymdn3/Snippets | projects/KOILib.Common.Aspmvc/MethodSelectors/AcceptFormAttribute.cs | projects/KOILib.Common.Aspmvc/MethodSelectors/AcceptFormAttribute.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
using KOILib.Common.Extensions;
namespace KOILib.Common.Aspmvc.MethodSelectors
{
/// <summary>
/// Formに特定の値のパラメータが存在するかどうかで妥当性を判断するメソッドセレクター
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;
namespace KOILib.Common.Aspmvc.MethodSelectors
{
/// <summary>
/// Formに特定の値のパラメータが存在するかどうかで妥当性を判断するメソッドセレクター
/// </summary>
public class A... | unlicense | C# |
b2cdf94038ef2d6d4a5b707a670866c18f79a962 | Fix Color Constructor | zindlsn/RosaroterTiger | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | RosaroterPanterWPF/RosaroterPanterWPF/DataService.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
namespace DataService
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byt... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RosaroterPanterWPF
{
namespace DataService
{
public class Color
{
public byte R { get; set; }
public byte G { get; set; }
public byt... | mit | C# |
55789c48b114f041812cf2c379caee0597824d4b | Update EnumHelper.cs | HeptaSoft/Common | HeptaSoft.Common/Helpers/EnumHelper.cs | HeptaSoft.Common/Helpers/EnumHelper.cs | using System;
using System.Collections.Generic;
namespace HeptaSoft.Common.Helpers
{
/// <summary>
/// Enum Helper class.
/// </summary>
public static class EnumHelper
{
/// <summary>
/// Gets a list with all the enum names present on the enumtype.
/// </summary... | using System;
using System.Collections.Generic;
namespace HeptaSoft.Common.Helpers
{
/// <summary>
/// Enum Helper class.
/// </summary>
public static class EnumHelper
{
/// <summary>
/// Gets a list with all the enum names present on the enumtype.
/// </summary... | mit | C# |
a8b9ee5a7fe28f67de627ebc0f4c46afc5925c01 | handle password in redis connection string | justinlhudson/Impromptu | Impromptu/Messaging/Redis/RedisBase.cs | Impromptu/Messaging/Redis/RedisBase.cs | using System;
using ServiceStack.Redis;
namespace Impromptu.Messaging.Redis
{
public class RedisBase
{
private readonly RedisClient _client;
public RedisClient RedisClient { get { return _client; } }
public RedisBase(string host = "localhost", int port = 6379, string password = null,... | using System;
using ServiceStack.Redis;
namespace Impromptu.Messaging.Redis
{
public class RedisBase
{
private readonly RedisClient _client;
public RedisClient RedisClient { get { return _client; } }
public RedisBase(string host = "localhost", int port = 6379, string password = null,... | mit | C# |
77c5d9a2a640cfbebcf77baf8baaf2a7a81b78b4 | update assembly version to 3.0.4.0 | rainmattertech/dotnetkiteconnect | KiteConnect/Properties/AssemblyInfo.cs | KiteConnect/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("Kit... | 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("Kit... | mit | C# |
f9004e9236203979b08ca57900ad534dee7eea9d | Fix checks in GenerateCredentialsHandler | tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Components/Repository/RepositoryFactory.cs | src/Tgstation.Server.Host/Components/Repository/RepositoryFactory.cs | using LibGit2Sharp;
using LibGit2Sharp.Handlers;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Jobs;
namespace Tgstation.Server.Host.Components.Repository
{
/// <inheritdoc />
sealed class RepositoryFactory : IRepositoryFactory
{... | using LibGit2Sharp;
using LibGit2Sharp.Handlers;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using System.Threading.Tasks;
using Tgstation.Server.Host.Jobs;
namespace Tgstation.Server.Host.Components.Repository
{
/// <inheritdoc />
sealed class RepositoryFactory : IRepositoryFactory
{... | agpl-3.0 | C# |
23e8a6d23a8885312c76bb145cf7c3028a1d0b4f | Update MEF example for 3.0.2 change. | serenabenny/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro | samples/Caliburn.Micro.HelloMef/Caliburn.Micro.HelloMef/MefBootstrapper.cs | samples/Caliburn.Micro.HelloMef/Caliburn.Micro.HelloMef/MefBootstrapper.cs | namespace Caliburn.Micro.HelloMef
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using System.Windows;
public class MefBoo... | namespace Caliburn.Micro.HelloMef
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using System.Windows;
public class MefBoo... | mit | C# |
0ee975531e43e226316c5b7c22d244e204256755 | Fix - notifiche update ente | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs | src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs | using CQRS.Queries;
using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte;
using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
using SO115App.Mode... | using CQRS.Queries;
using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte;
using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
using SO115App.Mode... | agpl-3.0 | C# |
af0f9ac7abd8d850c83f3092e567b733307e02b1 | add colour format | mob-sakai/ReferenceExplorer,tsubaki/ReferenceExplorer | Assets/SceneObjectReference/Editor/ReferenceExplorer/ExportReferenceText.cs | Assets/SceneObjectReference/Editor/ReferenceExplorer/ExportReferenceText.cs | using UnityEngine;
using System.Collections;
using System.Text;
using UnityEngine;
using System.Collections;
using System.Text;
using System.Collections.Generic;
using System.IO;
namespace ReferenceExplorer
{
public class ExportReferenceText {
public static void ExportText()
{
List<string> uniqueStrings = ... | using UnityEngine;
using System.Collections;
using System.Text;
using UnityEngine;
using System.Collections;
using System.Text;
using System.Collections.Generic;
using System.IO;
namespace ReferenceExplorer
{
public class ExportReferenceText {
public static void ExportText()
{
List<string> uniqueStrings = ... | mit | C# |
22e3fe9e7a7d6f8246889f9f4baea0fdf9461c8a | Revert "Load Context from Save File (first step)" | GGProductions/LetterStorm,GGProductions/LetterStorm,GGProductions/LetterStorm | Assets/Scripts/Context.cs | Assets/Scripts/Context.cs | using UnityEngine;
using System.Collections;
public class Context : MonoBehaviour {
// Static variables to track in-game information
// Tracks player lives
public static int PlayerLives;
// Player inventory
public static Inventory PlayerInventory;
// Stores the alphabet for efficient codin... | using UnityEngine;
using System.Collections;
using GGProductions.LetterStorm.Data.Collections;
using GGProductions.LetterStorm.Data;
using GGProductions.LetterStorm.Utilities;
public class Context : MonoBehaviour {
#region Private Variables ---------------------------------------------
// Create the private ... | mit | C# |
ce8a5c573d2e9a3397ed4ee551108d3eea548b10 | Implement getters and constructor | turtle-box-games/leaf-csharp | Leaf/Leaf/Types/Point3.cs | Leaf/Leaf/Types/Point3.cs | namespace Leaf.Types
{
/// <summary>
/// Storage for a three-dimensional point or size.
/// The values are integers, ideal for user interfaces.
/// This type has an X, Y, and Z value.
/// </summary>
public struct Point3
{
private readonly int _x, _y, _z;
/// <sum... | using System;
namespace Leaf.Types
{
/// <summary>
/// Storage for a three-dimensional point or size.
/// The values are integers, ideal for user interfaces.
/// This type has an X, Y, and Z value.
/// </summary>
public struct Point3
{
/// <summary>
/// Offset a... | mit | C# |
50431388db59b2ab24e9a8b05527bd4b66a02437 | Fix warnings. | DotNetAnalyzers/WpfAnalyzers | WpfAnalyzers.Test/Helpers/ConstructorArgumentTests.cs | WpfAnalyzers.Test/Helpers/ConstructorArgumentTests.cs | namespace WpfAnalyzers.Test
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
public class ConstructorArgumentTests
{
[Test]
public void IsMatchOneCtor()
{
var testCode = @"
name... | namespace WpfAnalyzers.Test
{
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
public class ConstructorArgumentTests
{
[Test]
public void IsMatchOneCtor()
{
var testCode = @"
nam... | mit | C# |
8d0fac12d61ad8915b146c75da97890c2ffe46d3 | Add limit field to GetUserScores | stanriders/den0bot,stanriders/den0bot | den0bot.Modules.Osu/WebAPI/Requests/V2/GetUserScores.cs | den0bot.Modules.Osu/WebAPI/Requests/V2/GetUserScores.cs | // den0bot (c) StanR 2021 - MIT License
using System.Collections.Generic;
using den0bot.Modules.Osu.Types.V2;
namespace den0bot.Modules.Osu.WebAPI.Requests.V2
{
public class GetUserScores : IRequest<List<Score>, List<Score>>
{
public APIVersion API => APIVersion.V2;
public string Address => $"users/{username}/... | // den0bot (c) StanR 2021 - MIT License
using System.Collections.Generic;
using den0bot.Modules.Osu.Types.V2;
namespace den0bot.Modules.Osu.WebAPI.Requests.V2
{
public class GetUserScores : IRequest<List<Score>, List<Score>>
{
public APIVersion API => APIVersion.V2;
public string Address => $"users/{username}/... | mit | C# |
66a3fe6086c9146342ed8b4cec3bfaaa0969d12f | Fix broken tests | MasterDevs/MasterDevs.Lib,MasterDevs/MasterDevs.Core | source/MasterDevs.Lib.Tests/Class1.cs | source/MasterDevs.Lib.Tests/Class1.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MasterDevs.Lib.Tests
{
[TestFixture]
public class Class1
{
[Test]
public void Pass()
{
Assert.Pass();
}
}
}
| using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MasterDevs.Lib.Tests
{
[TestFixture]
public class Class1
{
[Test]
public void Fail()
{
Assert.Fail();
}
}
}
| mit | C# |
ebc32994df1c6298eff5d060e83a9c7bd43a6f42 | Set assembly version to 0.1.0.0 | bright-tools/DeRange | DeRange/Properties/AssemblyInfo.cs | DeRange/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | apache-2.0 | C# |
cd517ec872d6c0522ff39b5fc40008346d1eea4e | Update SendInterceptorSkeleton.cs | ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer,ONLYOFFICE/CommunityServer | common/ASC.Common/Notify/Engine/SendInterceptorSkeleton.cs | common/ASC.Common/Notify/Engine/SendInterceptorSkeleton.cs | /*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... | /*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable la... | apache-2.0 | C# |
7e64e832d926cbb2738611af8ea563f93bb9d067 | Upgrade version to 1.4.2 | tangxuehua/equeue,Aaron-Liu/equeue,tangxuehua/equeue,Aaron-Liu/equeue,tangxuehua/equeue,geffzhang/equeue,geffzhang/equeue | src/EQueue/Properties/AssemblyInfo.cs | src/EQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | mit | C# |
f662094ec1070ab0eef037aceb08e72da92e4660 | Make {Process/ProcessThread].PriorityBoostEnabled consistent on Unix | ellismg/corefx,shiftkey-tester/corefx,cartermp/corefx,pallavit/corefx,fffej/corefx,mafiya69/corefx,kkurni/corefx,lggomez/corefx,claudelee/corefx,pallavit/corefx,tstringer/corefx,stone-li/corefx,parjong/corefx,krk/corefx,iamjasonp/corefx,alphonsekurian/corefx,axelheer/corefx,ellismg/corefx,rubo/corefx,KrisLee/corefx,shi... | src/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Unix.cs | src/System.Diagnostics.Process/src/System/Diagnostics/ProcessThread.Unix.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Diagnostics
{
public partial class ProcessThread
{
/// <summary>Sets the processor that this thread would ideally like to run on.</summ... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Diagnostics
{
public partial class ProcessThread
{
/// <summary>Sets the processor that this thread would ideally like to run on.</summ... | mit | C# |
c67996d75974860928d1dd47b591b41c91728539 | add write languagetool squeleton tests | Elyse-Team/Elyse | Languagetool.Tests/Languagetool.cs | Languagetool.Tests/Languagetool.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Elyse.Languagetool;
namespace Languagetool.Tests
{
[TestClass]
public class Languagetool
{
[TestMethod]
public void GetErrors_withErrorMatches_returnErrorList()
{
Elyse.Languagetool.Languagetool lto... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Elyse.Languagetool;
namespace Languagetool.Tests
{
[TestClass]
public class Languagetool
{
[TestMethod]
public void GetErrors_withErrorMatches_returnErrors()
{
Elyse.Languagetool.Languagetool ltool ... | mit | C# |
331ddcaa6f36aa43869345429d52797663d3299d | Add another Print() method to the ProgramPrinter that allows the Program's tokens to be changed. This will be needed for when we emit Callgrind profile files. | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix | src/Symbooglix/Util/ProgramPrinter.cs | src/Symbooglix/Util/ProgramPrinter.cs | using System;
using Microsoft.Boogie;
using System.IO;
namespace Symbooglix
{
namespace Util
{
public class ProgramPrinter
{
public enum PrintType : int
{
// The values are hard coded here because they are the integer values
// of ``Comma... | using System;
using Microsoft.Boogie;
using System.IO;
namespace Symbooglix
{
namespace Util
{
public class ProgramPrinter
{
public enum PrintType : int
{
// The values are hard coded here because they are the integer values
// of ``Comma... | bsd-2-clause | C# |
5167c9b40b2bf4a35ca25744f2381993856f6f09 | Add missing registration for GitGroupValidator | ap0llo/SyncTool | src/SyncTool.Git/main/DI/GitModule.cs | src/SyncTool.Git/main/DI/GitModule.cs | using Autofac;
using SyncTool.Common;
using SyncTool.Configuration.Model;
using SyncTool.FileSystem.Versioning;
using SyncTool.Git.Common;
using SyncTool.Git.Configuration;
using SyncTool.Git.Configuration.Reader;
using SyncTool.Git.FileSystem.Versioning;
using SyncTool.Git.Synchronization.Conflicts;
using SyncTool.Gi... | using Autofac;
using SyncTool.Common;
using SyncTool.Configuration.Model;
using SyncTool.FileSystem.Versioning;
using SyncTool.Git.Common;
using SyncTool.Git.Configuration;
using SyncTool.Git.Configuration.Reader;
using SyncTool.Git.FileSystem.Versioning;
using SyncTool.Git.Synchronization.Conflicts;
using SyncTool.Gi... | mit | C# |
f558141804cb3674a9c3fae3ee2d4cdf7f1ab7b2 | Define a property for the connection string | rapidcore/rapidcore,rapidcore/rapidcore | src/Testing/MongoConnectedTestBase.cs | src/Testing/MongoConnectedTestBase.cs | using System.Collections.Generic;
using MongoDB.Driver;
namespace RapidCore.Mongo.Testing
{
/// <summary>
/// Base class for functional tests that need access to
/// a Mongo database.
///
/// It provides simple helpers that we use ourselves.
/// </summary>
public abstract class MongoConnec... | using System.Collections.Generic;
using MongoDB.Driver;
namespace RapidCore.Mongo.Testing
{
/// <summary>
/// Base class for functional tests that need access to
/// a Mongo database.
///
/// It provides simple helpers that we use ourselves.
/// </summary>
public abstract class MongoConnec... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.