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 |
|---|---|---|---|---|---|---|---|---|
74e8110a8e3dca02d901c79980072629b97dc819 | Set maximum parallel threads to 1 | ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate | Tests/Boxed.Templates.Test/Properties/AssemblyInfo.cs | Tests/Boxed.Templates.Test/Properties/AssemblyInfo.cs | using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true, MaxParallelThreads = 1)] | using Xunit;
[assembly: CollectionBehavior(DisableTestParallelization = true)] | mit | C# |
5c35053350ed370f129573f4ab47f3d7632aa7cd | Update test fix for test_FileSystemProvider.cs | PaulHigin/PowerShell,jsoref/PowerShell,KarolKaczmarek/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,bingbing8/PowerShell,KarolKaczmarek/PowerShell,bmanikm/PowerShell,jsoref/PowerShell,jsoref/PowerShell,kmosher/PowerShell,daxian-dbw/PowerShell,KarolKaczmarek/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerS... | test/csharp/test_FileSystemProvider.cs | test/csharp/test_FileSystemProvider.cs | using Xunit;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Management.Automation;
using System.Management.Automation.Provider;
using Microsoft.PowerShell.Commands;
namespace PSTests
{
[Collection("AssemblyLoadContext")]
public static class FileSystemProviderTests
{
... | using Xunit;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Management.Automation;
using System.Management.Automation.Provider;
using Microsoft.PowerShell.Commands;
namespace PSTests
{
[Collection("AssemblyLoadContext")]
public static class FileSystemProviderTests
{
... | mit | C# |
bebba27f2620e16dadd2cccc01e57c8d4c125637 | Fix Dimension in integration tests | Cybermaxs/Toppler | tests/Toppler.Tests.Integration/TestHelpers/TestBase.cs | tests/Toppler.Tests.Integration/TestHelpers/TestBase.cs | using System;
using System.Diagnostics;
namespace Toppler.Tests.Integration.TestHelpers
{
public class TestBase
{
private static Random Generator = new Random();
protected string TestEventSource { get; private set; }
protected string TestDimension { get; private set; }
public... | using System;
using System.Diagnostics;
namespace Toppler.Tests.Integration.TestHelpers
{
public class TestBase
{
private static Random Generator = new Random();
protected string TestEventSource { get; private set; }
protected string TestDimension { get; private set; }
public... | mit | C# |
1e5132a70f428fc7839eef9290d2838fe782c457 | Add a missed converter | amatukaze/HeavenlyWind | src/Game/Sakuno.ING.Game.Provider/Models/RawMap.cs | src/Game/Sakuno.ING.Game.Provider/Models/RawMap.cs | using Sakuno.ING.Game.Json.Converters;
using Sakuno.ING.Game.Models.MasterData;
using System.Text.Json.Serialization;
namespace Sakuno.ING.Game.Models
{
#nullable disable
public sealed class RawMap : IIdentifiable<MapId>
{
[JsonPropertyName("api_id")]
public MapId Id { get; set; }
[Js... | using Sakuno.ING.Game.Models.MasterData;
using System.Text.Json.Serialization;
namespace Sakuno.ING.Game.Models
{
#nullable disable
public sealed class RawMap : IIdentifiable<MapId>
{
[JsonPropertyName("api_id")]
public MapId Id { get; set; }
[JsonPropertyName("api_cleared")]
... | mit | C# |
6dc0999304de8fa67c4b3524215c8a67775dc98f | Add dusplay name for 'Perfil' | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos | Fatec.Treinamento.Web/Models/RegistroUsuarioViewModel.cs | Fatec.Treinamento.Web/Models/RegistroUsuarioViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Fatec.Treinamento.Model;
namespace Fatec.Treinamento.Web.Models
{
/// <summary>
/// Um viewmodel serve para trabalhar com os dados na view.
/// Esse... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Fatec.Treinamento.Model;
namespace Fatec.Treinamento.Web.Models
{
/// <summary>
/// Um viewmodel serve para trabalhar com os dados na view.
/// Esse... | apache-2.0 | C# |
7f6318c9f701058bc4043c9cd30cb13fa22a6f4c | Fix comment | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | LmpClient/Harmony/KerbalEVA_proceedAndBoard.cs | LmpClient/Harmony/KerbalEVA_proceedAndBoard.cs | using Harmony;
using LmpClient.Events;
using System;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to trigger an event when boarding a vessel
/// </summary>
[HarmonyPatch(typeof(KerbalEVA))]
[HarmonyPatch("proceedAndBoard")]
public cla... | using Harmony;
using LmpClient.Events;
using System;
// ReSharper disable All
namespace LmpClient.Harmony
{
/// <summary>
/// This harmony patch is intended to trigger an event when a strategy has been activated
/// </summary>
[HarmonyPatch(typeof(KerbalEVA))]
[HarmonyPatch("proceedAndBoard")]
... | mit | C# |
076f1c83e3a3d131dffa0c0bc9bf76088e25f9b5 | Rollback const prefix since it breaks sharedlibrary build . Linker cannot seem to find "Boxed_System::__UniversalCanon::`vftable',DATA" | gregkalapos/corert,gregkalapos/corert,gregkalapos/corert,gregkalapos/corert | src/ILCompiler.Compiler/src/Compiler/WindowsNodeMangler.cs | src/ILCompiler.Compiler/src/Compiler/WindowsNodeMangler.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 Internal.Text;
using Internal.TypeSystem;
using System.Diagnostics;
namespace ILCompiler
{
//
// The ... | // 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 Internal.Text;
using Internal.TypeSystem;
using System.Diagnostics;
namespace ILCompiler
{
//
// The ... | mit | C# |
f1994df20dca37ea0ff1266cd4076b3c4b4d98ef | Revert incorrect async workaround | kendallb/PreMailer.Net,milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sharedDownloader = n... | using System;
using System.IO;
using System.Net;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sharedDownloader = n... | mit | C# |
dd33ef966a8b4f0ffbeb4c78207b48c38857ae29 | Adjust SynchronizationContextTaskScheduler comments | David-Desmaisons/EasyActor | EasyActor/TaskHelper/SynchronizationContextTaskScheduler.cs | EasyActor/TaskHelper/SynchronizationContextTaskScheduler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EasyActor.TaskHelper
{
/// <summary>
/// Adapted from http://referencesource.microsoft.com/#mscorlib/system/threading/Tasks/TaskSched... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EasyActor.TaskHelper
{
internal class SynchronizationContextTaskScheduler : TaskScheduler
{
private SynchronizationContext m_sy... | mit | C# |
a85835b8c92a995e5703a82205693af64fc8e88c | Fix another ToMRect() | charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui | Tests/Mapsui.Tests/Rendering/RenderFetchStrategyTests.cs | Tests/Mapsui.Tests/Rendering/RenderFetchStrategyTests.cs | using System.IO;
using BruTile.Cache;
using BruTile.Predefined;
using Mapsui.Extensions;
using Mapsui.Layers;
using Mapsui.Rendering;
using NUnit.Framework;
namespace Mapsui.Tests.Rendering
{
[TestFixture]
public class RenderFetchStrategyTests
{
[Test]
public void GetFeaturesWithPartOfOpti... | using System.IO;
using BruTile.Cache;
using BruTile.Predefined;
using Mapsui.Extensions;
using Mapsui.Layers;
using Mapsui.Rendering;
using NUnit.Framework;
namespace Mapsui.Tests.Rendering
{
[TestFixture]
public class RenderFetchStrategyTests
{
[Test]
public void GetFeaturesWithPartOfOpti... | mit | C# |
3d1dd6f5a4f5f4524786f74a30820cec30de24cb | Update CopyingRows.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cell... | Examples/CSharp/Articles/CopyRowsColumns/CopyingRows.cs | Examples/CSharp/Articles/CopyRowsColumns/CopyingRows.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyRowsColumns
{
public class CopyingRows
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles.CopyRowsColumns
{
public class CopyingRows
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.Metho... | mit | C# |
7ed065126334a36ed976984cbaa6023889a28ef2 | Set the icon for the release notes dialog so it displays correctly on Linux | gmartin7/libpalaso,JohnThomson/libpalaso,glasseyes/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,ddaspit/libpalaso,hatton/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,sillsdev/libpalaso,ddaspit/libpalaso,andrew-polk/libpalaso,gtryus/libpalaso,tombogle/libpalaso,mccarthyrb/libpalaso,chri... | PalasoUIWindowsForms/ReleaseNotes/ShowReleaseNotesDialog.cs | PalasoUIWindowsForms/ReleaseNotes/ShowReleaseNotesDialog.cs | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Palaso.IO;
namespace Palaso.UI.WindowsForms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private readonly st... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using Palaso.IO;
namespace Palaso.UI.WindowsForms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private readonl... | mit | C# |
96e1c5bd4db069c68bcc8fb51256bd5857731300 | Make RouteSelectorTests an actual test | willb611/SlimeSimulation | SlimeSimulationTests/Model/Simulation/RouteSelectorTests.cs | SlimeSimulationTests/Model/Simulation/RouteSelectorTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SlimeSimulation.Model.Simulation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlimeSimulation.Model.Simulation.Tests
{
[TestClass()]
public class RouteSelectorTests
{
... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using SlimeSimulation.Model.Simulation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlimeSimulation.Model.Simulation.Tests
{
[TestClass()]
public class RouteSelectorTests
{
... | apache-2.0 | C# |
7ed978c2b60448afb0b2906a5ca1ac3eab50d90e | fix compile | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/ShaderLab/Feature/Services/TypingAssist/ShaderLabIndentTypingHelper.cs | resharper/resharper-unity/src/ShaderLab/Feature/Services/TypingAssist/ShaderLabIndentTypingHelper.cs | using JetBrains.ReSharper.Feature.Services.TypingAssist;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi.Cpp.Parsing;
using JetBrains.ReSharper.Psi.Parsing;
using JetBrains.TextControl;
namespace JetBrains.ReSharper.Plugins.Unity.ShaderLab.Feature.Services.TypingAssist
{
public... | using JetBrains.ReSharper.Feature.Services.TypingAssist;
using JetBrains.ReSharper.Plugins.Unity.ShaderLab.Psi;
using JetBrains.ReSharper.Psi.Cpp.Parsing;
using JetBrains.ReSharper.Psi.Parsing;
namespace JetBrains.ReSharper.Plugins.Unity.ShaderLab.Feature.Services.TypingAssist
{
public class ShaderLabIndentTypingH... | apache-2.0 | C# |
dbdfe97315b2c00e322cc675cabf96d31ee5c2e7 | fix mapping | bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather | api/src/BellRichM.Weather.Api/Mapping/ObservationProfile.cs | api/src/BellRichM.Weather.Api/Mapping/ObservationProfile.cs | using AutoMapper;
using BellRichM.Weather.Api.Data;
using BellRichM.Weather.Api.Models;
using System;
namespace BellRichM.Weather.Api.Mapping
{
/// <summary>
/// The observation mapping profile.
/// </summary>
/// <seealso cref="AutoMapper.Profile" />
public class ObservationProfile : Profile
{... | using AutoMapper;
using BellRichM.Weather.Api.Data;
using BellRichM.Weather.Api.Models;
using System;
namespace BellRichM.Weather.Api.Mapping
{
/// <summary>
/// The observation mapping profile.
/// </summary>
/// <seealso cref="AutoMapper.Profile" />
public class ObservationProfile : Profile
{... | mit | C# |
19a3a1a473c24834d05786d0a99e6f6f3d31d03e | copy and paste is a bitch | mzrimsek/resume-site-api | Core/Interfaces/RepositoryInterfaces/ISkillRepository.cs | Core/Interfaces/RepositoryInterfaces/ISkillRepository.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Core.Models;
namespace Core.Interfaces.RepositoryInterfaces
{
public interface ISkillRepository : IRepository<SkillDomainModel>
{
Task<IEnumerable<SkillDomainModel>> GetByLanguageId(int languageId);
}
} | using System.Collections.Generic;
using System.Threading.Tasks;
using Core.Models;
namespace Core.Interfaces.RepositoryInterfaces
{
public interface ISkillRepository : IRepository<SkillDomainModel>
{
Task<IEnumerable<LanguageDomainModel>> GetByLanguageId(int jobId);
}
} | mit | C# |
1937dd52182cd5c48a507a7bb6c9deda0b9b3462 | remove unused using | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/FocusBehavior.cs | WalletWasabi.Fluent/Behaviors/FocusBehavior.cs | using System;
using System.Reactive.Disposables;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusBehavior : DisposingBehavior<Control>
{
public static readonly StyledProperty<bool> IsFocusedProperty =
AvaloniaProperty.Register<FocusBeha... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Data;
namespace WalletWasabi.Fluent.Behaviors
{
internal class FocusBehavior : DisposingBehavior<Control>
{
public static readonly StyledProperty<bool> IsFocusedProperty =
Avaloni... | mit | C# |
1b4c72d84335679d2fc3f4bf27ee8d55a25a7765 | fix codefactor | 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# |
85dcb2d215fb7fd9108f97f4a85344bf18c81cb8 | Use coalesce expression | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Behaviors/GreyOutOnDisabledBehavior.cs | WalletWasabi.Gui/Behaviors/GreyOutOnDisabledBehavior.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
using System;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class GreyOutOnDisabledBehavior : Behavior<Control>
{
private CompositeDisposable Disposables { get; set; }
private dou... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Xaml.Interactivity;
using System;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class GreyOutOnDisabledBehavior : Behavior<Control>
{
private CompositeDisposable Disposables { get; set; }
private dou... | mit | C# |
a14a833fc1d65656dcfdc5d7ef2e5b3f9a5d63f4 | add nested filter on sort expresion | UdiBen/elasticsearch-net,KodrAus/elasticsearch-net,tkirill/elasticsearch-net,junlapong/elasticsearch-net,starckgates/elasticsearch-net,junlapong/elasticsearch-net,KodrAus/elasticsearch-net,mac2000/elasticsearch-net,LeoYao/elasticsearch-net,UdiBen/elasticsearch-net,NickCraver/NEST,cstlaurent/elasticsearch-net,NickCraver... | src/Nest.Dsl.Factory/Factory/Sort/FieldSortBuilder.cs | src/Nest.Dsl.Factory/Factory/Sort/FieldSortBuilder.cs | using Newtonsoft.Json.Linq;
namespace Nest.Dsl.Factory
{
public class FieldSortBuilder : ISortBuilder
{
private readonly string _fieldName;
private object _missing;
private SortOrder _order;
private bool? _ignoreUnampped;
private TermFilterBuilder _nestedFilter;
... | using Newtonsoft.Json.Linq;
namespace Nest.Dsl.Factory
{
public class FieldSortBuilder : ISortBuilder
{
private readonly string _fieldName;
private object _missing;
private SortOrder _order;
private bool? _ignoreUnampped;
public FieldSortBuilder(string fieldName)
... | apache-2.0 | C# |
16e6702f123daf0e5c615f4ed69909c81ae08b32 | Update Entity.cs | PowerMogli/Rabbit.Db | src/RabbitDB/Entity/Entity.cs | src/RabbitDB/Entity/Entity.cs | namespace RabbitDB.Entity
{
public abstract class Entity
{
internal bool MarkedForDeletion { get; set; }
internal bool ChangeTrackingEnabled { get; set; }
public Entity()
{
this.ChangeTrackingEnabled = true;
}
}
}
| namespace RabbitDB.Entity
{
public abstract class Entity
{
internal bool MarkedForDeletion { get; set; }
public Entity() { }
}
}
| apache-2.0 | C# |
fe85b7d482a0aabb076387f174fbbc9ab7835e77 | Remove unused import | peppy/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSliderHead.cs | osu.Game.Rulesets.Osu/Objects/Drawables/DrawableSliderHead.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Objects.Types;
namespace... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.R... | mit | C# |
8196cd731c86875a51dae91acb67cc0fb474db98 | Add "OrchardCore.Email" as dependency in Users Manifest module | stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Or... | src/OrchardCore.Modules/OrchardCore.Users/Manifest.cs | src/OrchardCore.Modules/OrchardCore.Users/Manifest.cs | using OrchardCore.Modules.Manifest;
[assembly: Module(
Name = "Users",
Author = "The Orchard Team",
Website = "http://orchardproject.net",
Version = "2.0.0",
Description = "The users module enables authentication UI and user management.",
Dependencies = new [] { "OrchardCore.Authentication", "O... | using OrchardCore.Modules.Manifest;
[assembly: Module(
Name = "Users",
Author = "The Orchard Team",
Website = "http://orchardproject.net",
Version = "2.0.0",
Description = "The users module enables authentication UI and user management.",
Dependencies = new [] { "OrchardCore.Authentication", "O... | bsd-3-clause | C# |
2699225294f4874dadaedf53b662df346675092b | Add missing attributes on StripeThreeDSecure | richardlawley/stripe.net,stripe/stripe-dotnet | src/Stripe.net/Entities/Sources/StripeThreeDSecure.cs | src/Stripe.net/Entities/Sources/StripeThreeDSecure.cs | namespace Stripe
{
using Newtonsoft.Json;
public class StripeThreeDSecure : StripeEntity
{
/// <summary>
/// If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.
/// </summary>
[JsonProperty("address_line1_check")]
pu... | namespace Stripe
{
using Newtonsoft.Json;
public class StripeThreeDSecure : StripeEntity
{
[JsonProperty("card")]
public string CardId { get; set; }
[JsonProperty("customer")]
public string CustomerId { get; set; }
[JsonProperty("authenticated")]
public bo... | apache-2.0 | C# |
d5a680ca98d8fb6f55cd39e8aeb0166902b60102 | Rename test class, to avoid conflict in Mono when compiled with other System.IO tests (#33142) | ViktorHofer/corefx,shimingsg/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,ptoonen/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,ViktorHofer/corefx,wtgodbe/corefx,shimingsg/corefx,shimingsg/corefx,mmitche/corefx,ptoonen/corefx,mmitche/corefx,wtgodbe/corefx,mmitche/corefx,mmitche/corefx,ptoonen/coref... | src/System.IO.UnmanagedMemoryStream/tests/UmsFlush.cs | src/System.IO.UnmanagedMemoryStream/tests/UmsFlush.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Tests
{
public class Unm... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace System.IO.Tests
{
public class Flu... | mit | C# |
b4190913f6db57c9023ed28291ad3b62f592563c | Add notes to Soldier about ETS, PEBD | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/Soldier.cs | Battery-Commander.Web/Models/Soldier.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Soldier
{
private const double DaysPerYear = 365.2425;
[Key, DatabaseGenerated(DatabaseGenerate... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Soldier
{
private const double DaysPerYear = 365.2425;
[Key, DatabaseGenerated(DatabaseGenerate... | mit | C# |
8323db13ff7d2897d9c36b619b375b27c727be1f | fix in distance calculator | SiiHackathon/BikeTracking,SiiHackathon/BikeTracking,SiiHackathon/BikeTracking | BikeTracker/Services/ActivityService.cs | BikeTracker/Services/ActivityService.cs | using System.Linq;
namespace BikeTracker.Services
{
public class ActivityService : IActivityService
{
public decimal GetUserTotalDistance(long userId)
{
return DependencyFactory.CreateActivityRepository.GetByUserId(userId)
.Sum(activity => (decimal)activity.Distance... | using System.Linq;
namespace BikeTracker.Services
{
public class ActivityService : IActivityService
{
public decimal GetUserTotalDistance(long userId)
{
return DependencyFactory.CreateActivityRepository.GetByUserId(userId)
.Sum(activity => activity.Distance);
... | mit | C# |
8f4dcdc0a99914e3be371b1311b92449f7a9ab5f | Fix build. Oops. | jskeet/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,nodatime/nodatime,malcolmr/nodatime,malcolmr/nodatime,nodatime/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,jskeet/nodatime | src/NodaTime.Benchmarks/NodaTimeTests/ZoneYearOffsetBenchmarks.cs | src/NodaTime.Benchmarks/NodaTimeTests/ZoneYearOffsetBenchmarks.cs | // Copyright 2017 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 BenchmarkDotNet.Attributes;
using NodaTime.TimeZones;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class ZoneYearOffsetBenchmarks
... | // Copyright 2017 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 BenchmarkDotNet.Attributes;
using NodaTime.TimeZones;
namespace NodaTime.Benchmarks.NodaTimeTests
{
public class ZoneRecurrenceBenchmarks
... | apache-2.0 | C# |
ba767df5dd51b50e3d41df8dcd5f77c345df7514 | Implement the in memory archive | i2e-haw-hamburg/stp-loader,i2e-haw-hamburg/cad-in-unity | CAD2Unity/3DXMLLoader/Implementation/Model/ThreeDRepFile.cs | CAD2Unity/3DXMLLoader/Implementation/Model/ThreeDRepFile.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using Ionic.Zip;
namespace ThreeDXMLLoader.Implementation.Model
{
/// <summary>
/// In memory archive implementation for the IThreeDArchive interface.
/... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Xml.Linq;
using Ionic.Zip;
namespace ThreeDXMLLoader.Implementation.Model
{
/// <summary>
/// In memory archive implementation for the IThreeDArchive interface.
/// </summary>
class ThreeDRepFile... | apache-2.0 | C# |
16c1f3bc37ce3b1b97fdcea9d7f4dc26fc7fbabc | Remove unused queries | jnwatts/cs320_project2_group11,jnwatts/cs320_project2_group11 | Model/query.cs | Model/query.cs | using System;
using System.Data;
using System.Collections.Generic;
public class Query
{
public String query{ get; set; }
public String name { get; set; }
public Query(String name, String query)
{
this.name = name;
this.query = query;
}
public override String ToString()
{
... | using System;
using System.Data;
using System.Collections.Generic;
public class Query
{
public String query{ get; set; }
public String name { get; set; }
public Query(String name, String query)
{
this.name = name;
this.query = query;
}
public override String ToString()
{
... | apache-2.0 | C# |
b961de10e33f9eb58b1c72424dfec896ffaed2d3 | Update BatchOperationHelper.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/BatchOperationHelper.cs | TIKSN.Core/Data/BatchOperationHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public static class BatchOperationHelper
{
public static Task BatchOperationAsync<T>(IEnumerable<T> entities, CancellationToken cancellationToken,
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public static class BatchOperationHelper
{
public static Task BatchOperationAsync<T>(IEnumerable<T> entities, CancellationToken cancellationToken, Func<T, Can... | mit | C# |
e3387e94092fe976f7be8f9ac5aa54c4ef81ee06 | bump to version 1.3.22 | Terradue/DotNetTep,Terradue/DotNetTep | Terradue.Tep/Properties/AssemblyInfo.cs | Terradue.Tep/Properties/AssemblyInfo.cs | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.22
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xre... | /*!
\namespace Terradue.Tep
@{
Terradue.Tep Software Package provides with all the functionalities specific to the TEP.
\xrefitem sw_version "Versions" "Software Package Version" 1.3.21
\xrefitem sw_link "Links" "Software Package List" [Terradue.Tep](https://git.terradue.com/sugar/Terradue.Tep)
\xre... | agpl-3.0 | C# |
d432254bb4ab6ee14a7f4c02f55b22bb60215239 | Fix API .onion redirect | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/WebsiteTorifier.cs | WalletWasabi.Backend/WebsiteTorifier.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend
{
public class WebsiteTorifier
{
public string RootFolder { get; }
public string UnversionedFolder { get; }
public WebsiteTorifier(string rootFolder)... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace WalletWasabi.Backend
{
public class WebsiteTorifier
{
public string RootFolder { get; }
public string UnversionedFolder { get; }
public WebsiteTorifier(string rootFolder)... | mit | C# |
c8cd4aaa9a8e4a054501ab01c48b705188239f39 | Switch back to file config | visualeyes/cabinet,visualeyes/cabinet,visualeyes/cabinet | src/Cabinet.Web.SelfHostTest/App_Start/Startup.IOC.cs | src/Cabinet.Web.SelfHostTest/App_Start/Startup.IOC.cs | using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using Autofac;
using Autofac.Integration.WebApi;
using Cabinet.Core;
using Cabinet.FileSystem;
using Cabinet.S3;
using Cabinet.Web.SelfHostTest.Framework;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.Hosting;
using Microsoft.Owin.Stat... | using Amazon;
using Amazon.Runtime;
using Amazon.S3;
using Autofac;
using Autofac.Integration.WebApi;
using Cabinet.Core;
using Cabinet.FileSystem;
using Cabinet.S3;
using Cabinet.Web.SelfHostTest.Framework;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.Hosting;
using Microsoft.Owin.Stat... | mit | C# |
d7f5ffb1908ef6b9df68b7c396ef9e589ac00c60 | Change when FEZMod.Exit gets called. Either LiveSplit doesn't crash on my PC or it's fixed now. | AngelDE98/FEZMod,AngelDE98/FEZMod | FEZ.Mod.mm/FezGame/patch_Fez.cs | FEZ.Mod.mm/FezGame/patch_Fez.cs | using System;
using FezGame.Mod;
namespace FezGame {
public class patch_Fez {
public void OnExiting(Object sender, EventArgs args) {
//It's possible that FEZ doesn't contain this method and thus orig_OnExiting won't exist.
FEZMod.Exit();
}
}
}
| using System;
using FezGame.Mod;
namespace FezGame {
public class patch_Fez {
public void orig_Exit() {
}
public void Exit() {
orig_Exit();
FEZMod.Exit();
}
}
}
| mit | C# |
5e089114005c25362b5f40573ecd8ec627409e6e | set svn:eol-style | ft-/opensim-optimizations-wip-tests,BogusCurry/arribasim-dev,OpenSimian/opensimulator,ft-/arribasim-dev-tests,allquixotic/opensim-autobackup,OpenSimian/opensimulator,N3X15/VoxelSim,allquixotic/opensim-autobackup,allquixotic/opensim-autobackup,N3X15/VoxelSim,ft-/arribasim-dev-extras,AlexRa/opensim-mods-Alex,justinccdev/... | OpenSim/Framework/sLLVector3.cs | OpenSim/Framework/sLLVector3.cs | using System;
using libsecondlife;
namespace OpenSim.Framework
{
[Serializable]
public class sLLVector3
{
public sLLVector3()
{
}
public sLLVector3(LLVector3 v)
{
x = v.X;
y = v.Y;
z = v.Z;
}
public float x;
... | using System;
using libsecondlife;
namespace OpenSim.Framework
{
[Serializable]
public class sLLVector3
{
public sLLVector3()
{
}
public sLLVector3(LLVector3 v)
{
x = v.X;
y = v.Y;
z = v.Z;
}
pu... | bsd-3-clause | C# |
ecdaa3ad40ae53f5b5405645e7c3652d35030d3c | Refactor LocalDateTimeInputTests by removing unused ControlValueFormat field | YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata,atata-framework/atata | src/Atata.Tests/LocalDateTimeInputTests.cs | src/Atata.Tests/LocalDateTimeInputTests.cs | using System;
using NUnit.Framework;
namespace Atata.Tests
{
public class LocalDateTimeInputTests : UITestFixture
{
private LocalDateTimeInputPage page;
protected override void OnSetUp()
{
page = Go.To<LocalDateTimeInputPage>();
}
[Test]
public voi... | using System;
using NUnit.Framework;
namespace Atata.Tests
{
public class LocalDateTimeInputTests : UITestFixture
{
private const string ControlValueFormat = "yyyy-MM-ddTHH:mm";
private LocalDateTimeInputPage page;
protected override void OnSetUp()
{
page = Go.To<... | apache-2.0 | C# |
bea54eb9127e3efbf39645c66b102c847d417ee3 | Expand CssValue test coverage | Carbon/Css | src/Carbon.Css.Tests/CssValueTests.cs | src/Carbon.Css.Tests/CssValueTests.cs | using Xunit;
namespace Carbon.Css.Tests
{
public class CssValueTests
{
[Fact]
public void NumbersAreStoredAtDoublePrecision()
{
var value = CssValue.Parse("97.916666666666666666666666666667%") as CssUnitValue;
Assert.Equal(97.916666666666666666666666... | using Xunit;
namespace Carbon.Css.Tests
{
public class CssValueTests
{
[Fact]
public void A()
{
Assert.Equal("left", CssValue.Parse("left").ToString());
}
[Fact]
public void Px()
{
Assert.Equal("50px", CssValue.Par... | mit | C# |
8b334c8b964aa7e043370938b8556b76481d7d6e | Update ConnectStateChangedEventArgs constructor. | CountrySideEngineer/Ev3Controller | dev/src/Ev3Controller/Model/ConnectStateChangedEventArgs.cs | dev/src/Ev3Controller/Model/ConnectStateChangedEventArgs.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.Model
{
public class ConnectStateChangedEventArgs : EventArgs
{
#region Constructors and the Finalizer
/// <summary>
/// Constructor
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ev3Controller.Model
{
public class ConnectStateChangedEventArgs : EventArgs
{
#region Constructors and the Finalizer
/// <summary>
/// Constructor
... | mit | C# |
53cbff3eb0ad5b82f95b74acc82508cb59137a03 | Change ShouldEndSession to nullable | stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet | Alexa.NET/Response/Response.cs | Alexa.NET/Response/Response.cs | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Alexa.NET.Response
{
public class ResponseBody
{
[JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)]
public IOutputSpeech OutputSpeech { get; set; }
[JsonProperty("card", NullValueHandling = Nu... | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Alexa.NET.Response
{
public class ResponseBody
{
[JsonProperty("outputSpeech", NullValueHandling = NullValueHandling.Ignore)]
public IOutputSpeech OutputSpeech { get; set; }
[JsonProperty("card", NullValueHandling = Nu... | mit | C# |
2528a166fa34dfad2621e96990081e259e44c46e | Update version to 1.4.1 | Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,geffzhang/equeue,tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/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# |
4032d669596a2031eca223c37bc2cddb9a102725 | Apply same legacy scale adjust logic to TaikoLegacyHitTarget | peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipooo/osu | osu.Game.Rulesets.Taiko/Skinning/TaikoLegacyHitTarget.cs | osu.Game.Rulesets.Taiko/Skinning/TaikoLegacyHitTarget.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.Framework.Graphics.Sprites;
using osu.Game.Rulesets.Taiko... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Game.Skinning;
usin... | mit | C# |
9efb0a40b05bd0e1513a6e1619430079db5b1354 | Set assembly properties | peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack/Properties/AssemblyInfo.cs | src/Pelasoft.AspNet.Mvc.Slack/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
dd8b417040bfc56ff0a5ae8d0a6e1cb5eeec010a | Add ListItem.Tag to store extra object info if needed | PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto | Source/Eto/Forms/ListItem.cs | Source/Eto/Forms/ListItem.cs | using System;
using Eto.Drawing;
#if DESKTOP
using System.Windows.Markup;
#endif
namespace Eto.Forms
{
public interface IListItem
{
string Text { get; }
string Key { get; }
}
#if DESKTOP
[ContentProperty("Text")]
#endif
public class ListItem : IListItem
{
string key;
public string Text { get; set; ... | using System;
using Eto.Drawing;
#if DESKTOP
using System.Windows.Markup;
#endif
namespace Eto.Forms
{
public interface IListItem
{
string Text { get; }
string Key { get; }
}
#if DESKTOP
[ContentProperty("Text")]
#endif
public class ListItem : IListItem
{
string key;
public string Text { get; set; ... | bsd-3-clause | C# |
4bb23f62dc3b3bd01a36f5a8634c899ef0e1df03 | Fix crash in Spotfire 7.0, remove pre-invoke at binding beginning. | Jarrey/spotfire_dom_viewer | SpotfireDomViewer/MethodNode.cs | SpotfireDomViewer/MethodNode.cs | namespace SpotfireDomViewer
{
using System.Reflection;
public class MethodNode : DomNode
{
private object parentObject;
private MethodInfo method;
public MethodNode(object parentObj, MethodInfo m)
: base(null, NodeTypes.Method, m.ToString())
{
pare... | namespace SpotfireDomViewer
{
using System.Reflection;
public class MethodNode : DomNode
{
private object parentObject;
private MethodInfo method;
public MethodNode(object parentObj, MethodInfo m)
: base(null, NodeTypes.Method, m.ToString())
{
pare... | mit | C# |
b998f6cd984af96012c6c614541de6a6a4e160cc | Refactor Only load the profiles with JSON when requested | jazd/Business,jazd/Business,jazd/Business | CSharp/Core/Profile/Profile.cs | CSharp/Core/Profile/Profile.cs | using System;
using System.IO;
namespace Business.Core.Profile
{
public class Profile
{
public ILog Log { get; set; }
public string SQLiteDatabasePath {
get {
string path;
if (string.IsNullOrEmpty(SQLiteProfile.Path))
path = "sandbox/Business/business.sqlite3";
else
path = SQLiteProfi... | using System;
using System.IO;
namespace Business.Core.Profile
{
public class Profile
{
public ILog Log { get; set; }
public string SQLiteDatabasePath {
get {
String path;
if (String.IsNullOrEmpty(SQLiteProfile.Path))
path = "sandbox/Business/business.sqlite3";
else
path = SQLiteProfi... | mit | C# |
d0d15cb0030f3a1132fc26b4cf4f83f25eecc048 | Fix errors in docstrings. | JustinRChou/nunit,NikolayPianikov/nunit,jadarnel27/nunit,mjedrzejek/nunit,mikkelbu/nunit,agray/nunit,agray/nunit,appel1/nunit,agray/nunit,ggeurts/nunit,NikolayPianikov/nunit,OmicronPersei/nunit,JustinRChou/nunit,nunit/nunit,OmicronPersei/nunit,mjedrzejek/nunit,mikkelbu/nunit,appel1/nunit,nunit/nunit,ggeurts/nunit,jadar... | src/NUnitFramework/framework/Internal/ConstraintUtil.cs | src/NUnitFramework/framework/Internal/ConstraintUtil.cs | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole, Rob Prouse
//
// 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 restri... | // ***********************************************************************
// Copyright (c) 2015 Charlie Poole, Rob Prouse
//
// 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 restri... | mit | C# |
467f9bf5b92eae6bce049966d67c39ae2a0a25e5 | Rearrange properties to be standards compliant | tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs | src/Tgstation.Server.Host/Security/WindowsSystemIdentity.cs | using System;
using System.DirectoryServices.AccountManagement;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// <see cref="ISystemIdentity"/> for windows systems
/// </summary>
sealed class WindowsSystemIdentity : ... | using System;
using System.DirectoryServices.AccountManagement;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.Security
{
/// <summary>
/// <see cref="ISystemIdentity"/> for windows systems
/// </summary>
sealed class WindowsSystemIdentity : ... | agpl-3.0 | C# |
982f6b1a68d096da61e5b140a6d5c4af3ddbc208 | Add basic constructor to AutocompleteResponse. | jcheng31/WundergroundAutocomplete.NET | WundergroundClient/Autocomplete/AutocompleteResponse.cs | WundergroundClient/Autocomplete/AutocompleteResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WundergroundClient.Autocomplete
{
class AutocompleteResponse
{
public Boolean IsSuccessful { get; private set; }
public IList<AutocompleteResponseObject> Results;
public AutocompleteRespons... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WundergroundClient.Autocomplete
{
class AutocompleteResponse
{
public Boolean IsSuccessful { get; private set; }
public IList<AutocompleteResponseObject> Results;
}
}
| mit | C# |
abefdc7949b1bcbdb69b8e3d70fb94254ae6f7b2 | Add ClientId to PasswordChangeTicketRequest (#464) | auth0/auth0.net,auth0/auth0.net | src/Auth0.ManagementApi/Models/PasswordChangeTicketRequest.cs | src/Auth0.ManagementApi/Models/PasswordChangeTicketRequest.cs | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
///
/// </summary>
public class PasswordChangeTicketRequest
{
/// <summary>
/// The user will be redirected to this endpoint once the ticket is used.
/// </summary>
[JsonProperty("result_u... | using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
///
/// </summary>
public class PasswordChangeTicketRequest
{
/// <summary>
/// The user will be redirected to this endpoint once the ticket is used.
/// </summary>
[JsonProperty("result_u... | mit | C# |
b4d6495f99a60194a8609cf3d35d048166001b03 | Fix editor skin providing container not providing playable beatmap | ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game/Screens/Edit/EditorSkinProvidingContainer.cs | osu.Game/Screens/Edit/EditorSkinProvidingContainer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Skinning;
#nullable enable
namespace osu.Game.Screens.Edit
{
/// <summary>
/// A <see cref="SkinProvidingContainer"/> that fires <see cref="ISkin... | mit | C# |
79fc8cd4c6a03da01cb78f02eb456edf4f3c8069 | Revert "Enum - Add methods to verify against the user's role if the user can add, delete, or find users" | penblade/Training.CSharpWorkshop | Training.CSharpWorkshop/User.cs | Training.CSharpWorkshop/User.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public RoleEnum Role { get; set; }
}
} | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Training.CSharpWorkshop
{
public class User
{
public int Id { get; set; }
public string Name { get; set; }
public RoleEnum Role { get; set; }
}
namespa... | mit | C# |
40aab9865d24ed8da252f1647a898704f29d8439 | Add override for AddSerializerDelegates (#5010) | ElanHasson/orleans,waynemunro/orleans,pherbel/orleans,yevhen/orleans,ibondy/orleans,yevhen/orleans,galvesribeiro/orleans,ibondy/orleans,veikkoeeva/orleans,dotnet/orleans,galvesribeiro/orleans,hoopsomuah/orleans,ElanHasson/orleans,jthelin/orleans,waynemunro/orleans,sergeybykov/orleans,sergeybykov/orleans,amccool/orleans... | src/Orleans.Core/Serialization/SerializerFeatureExtensions.cs | src/Orleans.Core/Serialization/SerializerFeatureExtensions.cs | using System;
using Orleans.Utilities;
namespace Orleans.Serialization
{
internal static class SerializerFeatureExtensions
{
/// <summary>
/// Adds <paramref name="type"/> as a known type.
/// </summary>
/// <param name="serializerFeature">The serializer feature.</param>
... | using System;
using Orleans.Utilities;
namespace Orleans.Serialization
{
internal static class SerializerFeatureExtensions
{
/// <summary>
/// Adds <paramref name="type"/> as a known type.
/// </summary>
/// <param name="serializerFeature">The serializer feature.</param>
... | mit | C# |
6366a245036952b0b1d0287b2b58f1b13a41f8bb | Add demo | TrekBikes/Trek.BalihooApiClient | ConsoleApplication1/Program.cs | ConsoleApplication1/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Trek.BalihooApiClient.Sample
{
class Program
{
static void Main()
{
// https://github.com/balihoo/local-connect-client
var client = new BalihooApiClient();
//client.GenerateClientA... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Trek.BalihooApiClient.Sample
{
class Program
{
static void Main()
{
// https://github.com/balihoo/local-connect-client
var client = new BalihooApiClient();
//client.GenerateClientA... | mit | C# |
cc0661019d76f48d41a874d2d2b703c56c0131af | 解决 #95 | Sandwych/slipstream,Sandwych/slipstream,Sandwych/slipstream,Sandwych/slipstream | src/ObjectServer.Core/Data/Postgresql/PgSqlTypeConverter.cs | src/ObjectServer.Core/Data/Postgresql/PgSqlTypeConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using ObjectServer.Model;
namespace ObjectServer.Data
{
internal sealed class PgSqlTypeConverter
{
private PgSqlTypeConverter()
{
}
private static readonly Dictiona... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using ObjectServer.Model;
namespace ObjectServer.Data
{
internal sealed class PgSqlTypeConverter
{
private PgSqlTypeConverter()
{
}
private static readonly Dictiona... | agpl-3.0 | C# |
604535b58a9eebe103a4ab55d5e95d29357173c4 | Fix new lines for SourceBuild (#39130) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/Authentication/Certificate/src/AssemblyInfo.cs | src/Security/Authentication/Certificate/src/AssemblyInfo.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Authentication.Test, PublicKey=00240000048000009400000006020000002400005253413100040000010... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Microsoft.AspNetCore.Authentication.Test, PublicKey=002400000480000094000000060200000024000052534131000400... | apache-2.0 | C# |
d415af6a06fdf460c479cd5404b2720b130c3920 | Delete initialization of the IProjectTypeLookupService | orthoxerox/roslyn,bbarry/roslyn,KevinRansom/roslyn,gafter/roslyn,AnthonyDGreen/roslyn,gafter/roslyn,pdelvo/roslyn,brettfo/roslyn,tmat/roslyn,ErikSchierboom/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,pdelvo/roslyn,wvdd007/roslyn,jeffanders/roslyn,CaptainHayashi/roslyn,AlekseyTs/roslyn,tmeschter/roslyn,Giftednewt/rosl... | src/VisualStudio/Core/Def/Telemetry/RoslynTelemetrySetup.cs | src/VisualStudio/Core/Def/Telemetry/RoslynTelemetrySetup.cs | using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.Internal.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.Visu... | using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.Internal.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.Visu... | mit | C# |
c248d3be1b0809e69c610fd0d8b5320a2e5eb19b | Update of BookDefaultDetails to accomodate new default types (e.g. agency) | RWE-Nexus/EnergyTrading-MDM-Contracts | Code/EnergyTrading.MDM.Contracts/BookDefaultDetails.cs | Code/EnergyTrading.MDM.Contracts/BookDefaultDetails.cs | namespace RWEST.Nexus.MDM.Contracts
{
using System.Runtime.Serialization;
using System.Xml.Serialization;
[DataContract(Namespace = "http://schemas.rwe.com/nexus")]
[XmlType(Namespace = "http://schemas.rwe.com/nexus")]
public class BookDefaultDetails
{
[DataMember(Order = 1)]
... | namespace RWEST.Nexus.MDM.Contracts
{
using System.Runtime.Serialization;
using System.Xml.Serialization;
[DataContract(Namespace = "http://schemas.rwe.com/nexus")]
[XmlType(Namespace = "http://schemas.rwe.com/nexus")]
public class BookDefaultDetails
{
[DataMember(Order = 1)]
... | mit | C# |
7afcf0fdb6447979d72ccb39301e908049efef84 | Refactor test to use modern assertions | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates | CurrencyRates.Tests/Base/Extensions/StringUtilsTest.cs | CurrencyRates.Tests/Base/Extensions/StringUtilsTest.cs | namespace CurrencyRates.Tests.Base.Extensions
{
using System;
using CurrencyRates.Base.Extensions;
using NUnit.Framework;
[TestFixture]
public class StringUtilsTest
{
private static readonly object[] TruncateTestCases =
{
new object[] { string.Empty, ... | namespace CurrencyRates.Tests.Base.Extensions
{
using System;
using CurrencyRates.Base.Extensions;
using NUnit.Framework;
[TestFixture]
public class StringUtilsTest
{
private static readonly object[] TruncateTestCases =
{
new object[] { string.Empty, ... | mit | C# |
dc7f6261ee821027276de37bfd123d7263cec8ff | Update SystemConvars.cs | TheBerkin/Devcom | Devcom/System/SystemConvars.cs | Devcom/System/SystemConvars.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeveloperCommands
{
/// <summary>
/// Contains the default convars used by the Devcom engine.
/// </summary>
[DevcomCategory]
public static class SystemConvars
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeveloperCommands
{
/// <summary>
/// Contains the default convars used by the Devcom engine.
/// </summary>
[DevcomCategory]
public static class SystemConvars
{
... | mit | C# |
b6242021ed91dbb1085eb023869e3f6d5f8fdab9 | Set override Umbraco Vault context in app startup | wkallhof/UmbracoVault.Lite,thenerdery/UmbracoVault,thenerdery/UmbracoVault,thenerdery/UmbracoVault | ReferenceApiWeblessUmbraco/App_Start/OwinStartup.cs | ReferenceApiWeblessUmbraco/App_Start/OwinStartup.cs | using System;
using Microsoft.Owin;
using Owin;
using ReferenceApiWeblessUmbraco.Application;
using ReferenceApiWeblessUmbraco.App_Start;
using UmbracoVault;
[assembly: OwinStartup(typeof(OwinStartup))]
namespace ReferenceApiWeblessUmbraco.App_Start
{
public class OwinStartup
{
public void Configurat... | using System;
using Microsoft.Owin;
using Owin;
using ReferenceApiWeblessUmbraco.Application;
using ReferenceApiWeblessUmbraco.App_Start;
[assembly: OwinStartup(typeof(OwinStartup))]
namespace ReferenceApiWeblessUmbraco.App_Start
{
public class OwinStartup
{
public void Configuration(IAppBuilder app)... | apache-2.0 | C# |
847cfdba46d651e0f607b2f3a59dcce74ec2fff5 | Add update product | phongtlse61770/TakeCoffee_ASS_SE1065,phongtlse61770/TakeCoffee_ASS_SE1065,phongtlse61770/TakeCoffee_ASS_SE1065 | Entity/Helper/ProductHelper.cs | Entity/Helper/ProductHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity.JsonModel;
using Newtonsoft.Json.Linq;
namespace Entity.Helper
{
public class ProductHelper : BaseEntityHelper
{
public ICollection<Product> GetAllProduct()... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity.JsonModel;
using Newtonsoft.Json.Linq;
namespace Entity.Helper
{
public class ProductHelper : BaseEntityHelper
{
public ICollection<Product> GetAllProduct()
{
... | mit | C# |
35cf4972f215a48becf8d8a316011b264202d77c | Bump version. | mios-fi/mios.payment | core/Properties/AssemblyInfo.cs | core/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... | bsd-2-clause | C# |
a2cc5e8c153a813ab3413e4585652087a8994928 | Add logging for Forget(this Task task) | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Extensions/TaskExtensions.cs | src/GitHub.Extensions/TaskExtensions.cs | using System;
using System.Threading.Tasks;
using GitHub.Logging;
using Serilog;
namespace GitHub.Extensions
{
public static class TaskExtensions
{
static readonly ILogger log = LogManager.ForContext(typeof(TaskExtensions));
public static async Task<T> Catch<T>(this Task<T> source, Func<Excep... | using System;
using System.Threading.Tasks;
using Serilog;
namespace GitHub.Extensions
{
public static class TaskExtensions
{
public static async Task<T> Catch<T>(this Task<T> source, Func<Exception, T> handler = null)
{
Guard.ArgumentNotNull(source, nameof(source));
t... | mit | C# |
93fa3a899568695063332734f1fc9367af250bfb | Update Version to 1.9.42 | vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview | src/PerfView/Properties/AssemblyInfo.cs | src/PerfView/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
91e190a2f796d7818fe2e6417c4050712032ede0 | Update AssemblyInfo | idiotandrobot/petzold-code | source/Code/Properties/AssemblyInfo.cs | source/Code/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pe... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Wi... | apache-2.0 | C# |
6075db61e57f77872d66019f5d975bf1258d3539 | Remove data arguments | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D.Model/IDrawable.cs | src/Core2D.Model/IDrawable.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Renderer;
using Core2D.Style;
namespace Core2D
{
/// <summary>
/// Defines drawable shape contract.
/// </summary>
public interface I... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Core2D.Renderer;
using Core2D.Style;
namespace Core2D
{
/// <summary>
/// Defines drawable shape contract.
/// </summary>
public interface I... | mit | C# |
e20b5a8a19d8b5480d129fe03f213c2042c202b7 | Rename ErrorCode TooShort to PacketTooShort | henrik1235/Kugelmatik,henrik1235/Kugelmatik,henrik1235/Kugelmatik | KugelmatikLibrary/ErrorCode.cs | KugelmatikLibrary/ErrorCode.cs | namespace KugelmatikLibrary
{
public enum ErrorCode
{
None = 0,
PacketTooShort = 1,
InvalidX = 2,
InvalidY = 3,
InvalidMagic = 4,
BufferOverflow = 5,
UnknownPacket = 6,
NotRunningBusy = 7,
InvalidConfigValue = 8,
InvalidHeight = 9,... | namespace KugelmatikLibrary
{
public enum ErrorCode
{
None = 0,
TooShort = 1,
InvalidX = 2,
InvalidY = 3,
InvalidMagic = 4,
BufferOverflow = 5,
UnknownPacket = 6,
NotRunningBusy = 7,
InvalidConfigValue = 8,
InvalidHeight = 9,
... | mit | C# |
4b6e207892310258547cdd54691c9f3a18184344 | Add toJSON method to SenderDetails | CurrencyCloud/currencycloud-net | Source/CurrencyCloud/Entity/SenderDetails.cs | Source/CurrencyCloud/Entity/SenderDetails.cs | using System;
using Newtonsoft.Json;
namespace CurrencyCloud.Entity
{
public class SenderDetails : Entity
{
[JsonConstructor]
public SenderDetails() { }
public string Id { get; set; }
public decimal? Amount { get; set; }
public string Currency { get; set... | using System;
using Newtonsoft.Json;
namespace CurrencyCloud.Entity
{
public class SenderDetails : Entity
{
[JsonConstructor]
public SenderDetails() { }
public string Id { get; set; }
public decimal? Amount { get; set; }
public string Currency { get; set... | mit | C# |
17ea1b72fe1ace68c6bee834de7175d987d07481 | Disable async query execution temporarily based on Microsoft's ef core https://github.com/aspnet/EntityFramework/issues/6534 issue. | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | Foundation/Server/Foundation.DataAccess/Implementations/EntityFrameworkCore/EfCoreAsyncQueryableExecuter.cs | Foundation/Server/Foundation.DataAccess/Implementations/EntityFrameworkCore/EfCoreAsyncQueryableExecuter.cs | using Foundation.DataAccess.Contracts;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.EntityFrameworkCore;
using System;
using Microsoft.EntityFrameworkCore.Query.Internal;
namespace Foundation.DataAccess.Implementations.EntityFrameworkCore
{... | using Foundation.DataAccess.Contracts;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using Microsoft.EntityFrameworkCore;
using System;
using Microsoft.EntityFrameworkCore.Query.Internal;
namespace Foundation.DataAccess.Implementations.EntityFrameworkCore
{... | mit | C# |
0722ca8155ffb5538c275c9fc672a6423252dea0 | Make PSAliasProperty.Is Get/Setable throw an expection instead of return a default value | sburnicki/Pash,sburnicki/Pash,Jaykul/Pash,Jaykul/Pash,ForNeVeR/Pash,sillvan/Pash,mrward/Pash,sillvan/Pash,sburnicki/Pash,sburnicki/Pash,WimObiwan/Pash,mrward/Pash,JayBazuzi/Pash,ForNeVeR/Pash,mrward/Pash,Jaykul/Pash,Jaykul/Pash,sillvan/Pash,JayBazuzi/Pash,sillvan/Pash,ForNeVeR/Pash,WimObiwan/Pash,ForNeVeR/Pash,mrward/P... | Source/System.Management/Automation/PSAliasProperty.cs | Source/System.Management/Automation/PSAliasProperty.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
//classtodo: Needs full implementation (consistuant on runtime advances)
using System;
namespace System.Management.Automation
{
/// <summary>
/// Represents an alias to a property.
/// </summary>
public cl... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
//classtodo: Needs full implementation (consistuant on runtime advances)
using System;
namespace System.Management.Automation
{
/// <summary>
/// Represents an alias to a property.
/// </summary>
public cl... | bsd-3-clause | C# |
7f71912a680ef3aaeffd5cfb170d71e30761736c | Make ChildValidatorAdaptor.GetValidator public | robv8r/FluentValidation,GDoronin/FluentValidation | src/FluentValidation/Validators/ChildValidatorAdaptor.cs | src/FluentValidation/Validators/ChildValidatorAdaptor.cs | namespace FluentValidation.Validators {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Internal;
using Results;
public class ChildValidatorAdaptor : NoopPropertyValidator {
static readonly IEnumerable<ValidationFailure>... | namespace FluentValidation.Validators {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Results;
public class ChildValidatorAdaptor : NoopPropertyValidator {
static readonly IEnumerable<ValidationFailure> EmptyResult = Enu... | apache-2.0 | C# |
b01c8da1d87003400ccc849faac4e758751f8cb0 | Fix typo (#59) | yangyuan/hearthrock | src/Hearthrock.Contracts/RockAction.cs | src/Hearthrock.Contracts/RockAction.cs | // <copyright file="RockAction.cs" company="https://github.com/yangyuan">
// Copyright (c) The Hearthrock Project. All rights reserved.
// </copyright>
namespace Hearthrock.Contracts
{
using System.Collections.Generic;
/// <summary>
/// The action of the bot.
/// </summary>
public class RockA... | // <copyright file="RockAction.cs" company="https://github.com/yangyuan">
// Copyright (c) The Hearthrock Project. All rights reserved.
// </copyright>
namespace Hearthrock.Contracts
{
using System.Collections.Generic;
/// <summary>
/// The action of the bot.
/// </summary>
public class RockA... | mit | C# |
b5b878ce5a41fb7d144ea054348702b9f113c002 | Rename Char to CharField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Chars.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/Chars.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public char CharField(char value)
{
return CharField(string.Empty, value);
}
public char CharField(string label, char value)
{
return CharField(label, value, null);
}
public char CharField(string label, stri... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public char Char(char value)
{
return Char(string.Empty, value);
}
public char Char(string label, char value)
{
return Char(label, value, null);
}
public char Char(string label, string tooltip, char value)
... | mit | C# |
8eb0934649409db066dcb1a6e391adaa1f77c6ff | fix up recent activity ajax | ucdavis/Purchasing,ucdavis/Purchasing,ucdavis/Purchasing | Purchasing.Mvc/Views/HistoryAjax/RecentActivity.cshtml | Purchasing.Mvc/Views/HistoryAjax/RecentActivity.cshtml | @using Purchasing.Mvc.Helpers
@model Purchasing.Core.Queries.OrderTrackingHistory
@if (Model == null)
{
<p>No recent activity here!</p>
<p>@Html.ActionLink("Request a new order >", "SelectWorkgroup", "Order")</p>
}
else {
<p><span class="time-ago">@string.Format("{0} ago,", (DateTime.Now - Model.TrackingD... | @using Purchasing.Web.Helpers
@model Purchasing.Core.Queries.OrderTrackingHistory
@if (Model == null)
{
<p>No recent activity here!</p>
<p>@Html.ActionLink("Request a new order >", "SelectWorkgroup", "Order")</p>
}
else {
<p><span class="time-ago">@string.Format("{0} ago,", (DateTime.Now - Model.TrackingD... | mit | C# |
a9f7c451970388746fa1735d43ccad4d06eb1951 | Update XGroups.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Collections/XGroups.cs | src/Core2D/Collections/XGroups.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Shapes;
namespace Core2D.Collections
{
/// <summary>
/// Observabl... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Shapes;
namespace Core2D.Collections
{
/// <summary>
/// Observable <see cref="X... | mit | C# |
3f0807b543de873f69818f7e0a3321b232a24d69 | fix conditional compile misstype | Toxu4/RDS.CaraBus | src/RDS.CaraBus/TypeExtensions.cs | src/RDS.CaraBus/TypeExtensions.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace RDS.CaraBus
{
internal static class TypeExtensions
{
public static List<Type> GetInheritanceChainAndInterfaces(this Type type)
{
var chain = new List<Type>();
#if NETSTANDARD1_5
chain.Ad... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace RDS.CaraBus
{
internal static class TypeExtensions
{
public static List<Type> GetInheritanceChainAndInterfaces(this Type type)
{
var chain = new List<Type>();
#if NET451
chain.AddRange(t... | mit | C# |
9c8232994f22ea348342933672bf9cd9ae0e064e | Update 0040_DragonBreathScript.cs | Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria | Memoria.Scripts/Sources/Battle/0040_DragonBreathScript.cs | Memoria.Scripts/Sources/Battle/0040_DragonBreathScript.cs | using System;
namespace Memoria.Scripts.Battle
{
/// <summary>
/// Dragon Breath
/// </summary>
[BattleScript(Id)]
public sealed class DragonBreathScript : IBattleScript
{
public const Int32 Id = 0040;
private readonly BattleCalculator _v;
public DragonBreathScript(Bat... | using System;
namespace Memoria.Scripts.Battle
{
/// <summary>
/// Dragon Breath
/// </summary>
[BattleScript(Id)]
public sealed class DragonBreathScript : IBattleScript
{
public const Int32 Id = 0040;
private readonly BattleCalculator _v;
public DragonBreathScript(Bat... | mit | C# |
004dc1865a31902e61ffb125b0d7a4af8b46c4a0 | Implement constructor and dispose method to open/close device | vejuhust/msft-scooter | ScooterController/ScooterController/HardwareController.cs | ScooterController/ScooterController/HardwareController.cs |
using System;
namespace ScooterController
{
class HardwareController
{
private readonly int deviceHandle;
public static void LogError(string message)
{
throw new Exception(message);
}
public HardwareController(string serialNumber = "FDP2R")
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
class HardwareController
{
public HardwareController()
{
if (UsbRelayDevice.Init() != 0)
{
Console.WriteLine... | mit | C# |
2344a1a411cf1778ffd21635e2167f13e0039f89 | use image block in markdown container | NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.cs | osu.Game/Overlays/Wiki/Markdown/WikiMarkdownContainer.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 Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphic... | // 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 Markdig.Extensions.Yaml;
using Markdig.Syntax;
using Markdig.Syntax.Inlines;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Containers.Markdo... | mit | C# |
59030dd594e0aef9692ec928ad6d9db91497f28a | Fix to test project with additiional IPlugin member | ADAPT/ADAPT | source/TestPlugin/TestPlugin.cs | source/TestPlugin/TestPlugin.cs | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0... | /*******************************************************************************
* Copyright (C) 2015 AgGateway and ADAPT Contributors
* Copyright (C) 2015 Deere and Company
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... | epl-1.0 | C# |
8e895784dceca135712d8f545c06491c542e8c7e | fix DEXP-563765 (#1944) | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/CSharp/Feature/Services/LiveTemplates/Scope/UnityProjectVersionScopeProvider.cs | resharper/resharper-unity/src/CSharp/Feature/Services/LiveTemplates/Scope/UnityProjectVersionScopeProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Application;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Context;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using Jet... | using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.Application;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Context;
using JetBrains.ReSharper.Feature.Services.LiveTemplates.Scope;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using Jet... | apache-2.0 | C# |
ab95ced41da08f22c77c426ae730403602027228 | Use default TypeReader if not overriden | RogueException/Discord.Net,AntiTcb/Discord.Net,LassieME/Discord.Net,Confruggy/Discord.Net | src/Discord.Net.Commands/Builders/ParameterBuilder.cs | src/Discord.Net.Commands/Builders/ParameterBuilder.cs | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Discord.Commands.Builders
{
public class ParameterBuilder
{
public ParameterBuilder()
{ }
public ParameterBuilder(string name)
{
Name = name;
}
public string Nam... | using System;
using System.Threading.Tasks;
using System.Collections.Generic;
namespace Discord.Commands.Builders
{
public class ParameterBuilder
{
public ParameterBuilder()
{ }
public ParameterBuilder(string name)
{
Name = name;
}
public string Nam... | mit | C# |
42010fa4ef4e3a025dc11a566a024534ba007b53 | add BigmodsTriggerManualMirrorSyncPHP to PrivateStuff | Willster419/RelhaxModpack,Willster419/RelhaxModpack,Willster419/RelicModManager | RelhaxModpack/RelhaxModpack/PrivateStuff/PrivateStuff.cs | RelhaxModpack/RelhaxModpack/PrivateStuff/PrivateStuff.cs | using System.Net;
namespace RelhaxModpack
{
#pragma warning disable CS1591
public static class PrivateStuff
{
#region discord stuff
public const string DiscordBotClientID = null;
public const ulong DiscordModChannelID = 0;
public const ulong DiscordAnnouncementsChannelID = 0;
... | using System.Net;
namespace RelhaxModpack
{
#pragma warning disable CS1591
public static class PrivateStuff
{
#region discord stuff
public const string DiscordBotClientID = null;
public const ulong DiscordModChannelID = 0;
public const ulong DiscordAnnouncementsChannelID = 0;
... | apache-2.0 | C# |
5edcf4ece10d1fe26177c0dafe492c0b65e82f28 | Write lines | spinesheath/HanaMahjong,spinesheath/HanaMahjong,spinesheath/HanaMahjong,spinesheath/TenView | Spines.Tools/Spines.Tools.AnalzyerBuilder/MainWindow.xaml.cs | Spines.Tools/Spines.Tools.AnalzyerBuilder/MainWindow.xaml.cs | // Spines.Tools.AnalyzerBuilder.MainWindow.xaml.cs
//
// Copyright (C) 2016 Johannes Heckl
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... | // Spines.Tools.AnalyzerBuilder.MainWindow.xaml.cs
//
// Copyright (C) 2016 Johannes Heckl
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at yo... | mit | C# |
01a35eca066b97763a4888060cd148e8f6361d0a | Update LocatorModule.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | apps/Core2D.Avalonia/Modules/LocatorModule.cs | apps/Core2D.Avalonia/Modules/LocatorModule.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Autofac;
using ServiceProvider.Autofac;
namespace Core2D.Avalonia.Modules
{
/// <summary>
/// Locator components module.
/// </sum... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Autofac;
using Core2D.Avalonia.Locator;
namespace Core2D.Avalonia.Modules
{
/// <summary>
/// Locator components module.
/// </sum... | mit | C# |
e3fd4113d41329eea28cdac45651159af654175f | Change EntityPermission Id type | tidm/TAuthorization | src/TAuthorization/TAuthorization/EntityPermission.cs | src/TAuthorization/TAuthorization/EntityPermission.cs | using System;
using System.Collections.Generic;
namespace TAuthorization
{
public class EntityPermission
{
private Dictionary<string, string> _rawActionParams = new Dictionary<string, string>();
public virtual string Id { get; set; }
public virtual string EntityId { get; set; }
... | using System;
using System.Collections.Generic;
namespace TAuthorization
{
public class EntityPermission
{
private Dictionary<string, string> _rawActionParams = new Dictionary<string, string>();
public virtual Guid Id { get; set; }
public virtual string EntityId { get; set; }
... | mit | C# |
6c3a5361d4a27fac2b57ab7b25f6a21923ea1230 | Make sure backend can be reached outside of local network. | BibleBot/BibleBot,BibleBot/BibleBot,BibleBot/BibleBot | src/BibleBot.Backend/Program.cs | src/BibleBot.Backend/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;
using BibleBot.Backend.Servi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;
using BibleBot.Backend.Servi... | mpl-2.0 | C# |
313d19eb5785a3e017663cfefe81ebff0717c307 | Update XDocument.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Project/XDocument.cs | src/Core2D/Project/XDocument.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
namespace Core2D.Project
{
/// <summary>
/// Document model.
/// </summary>... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
namespace Core2D.Project
{
/// <summary>
/// Document model.
/// </summary>... | mit | C# |
c53779654ed0c38b86b9b1286403b921bd469dc0 | Remove unnecessary instantiation | vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup | Soomla/Assets/Plugins/Soomla/Levelup/Config/LevelUpSettings.cs | Soomla/Assets/Plugins/Soomla/Levelup/Config/LevelUpSettings.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 ... | /// 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 ... | apache-2.0 | C# |
2dc0f61a42e9e19c9b7f1c4ac59dad131c87b4c3 | Fix unit test | MetSystem/Orchard,JRKelso/Orchard,marcoaoteixeira/Orchard,LaserSrl/Orchard,ericschultz/outercurve-orchard,Ermesx/Orchard,bigfont/orchard-cms-modules-and-themes,caoxk/orchard,alejandroaldana/Orchard,jagraz/Orchard,NIKASoftwareDevs/Orchard,luchaoshuai/Orchard,escofieldnaxos/Orchard,Sylapse/Orchard.HttpAuthSample,AEdmunds... | src/Orchard/FileSystems/Dependencies/IDependenciesFolder.cs | src/Orchard/FileSystems/Dependencies/IDependenciesFolder.cs | using System.Collections.Generic;
using System.Linq;
using Orchard.Caching;
namespace Orchard.FileSystems.Dependencies {
public class DependencyDescriptor {
public DependencyDescriptor() {
References = Enumerable.Empty<ReferenceDescriptor>();
}
public string Name { get... | using System.Collections.Generic;
using Orchard.Caching;
namespace Orchard.FileSystems.Dependencies {
public class DependencyDescriptor {
public string Name { get; set; }
public string LoaderName { get; set; }
public string VirtualPath { get; set; }
public IEnumerable<Refer... | bsd-3-clause | C# |
8c01ea24d1b4dee689c4bf2610c95b022ee8c621 | remove old codes | Mooophy/Sports-Store,Mooophy/Sports-Store,Mooophy/Sports-Store | SportsStore/SportsStore.WebUI/Controllers/ProductController.cs | SportsStore/SportsStore.WebUI/Controllers/ProductController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SportsStore.Domain.Abstract;
using SportsStore.Domain.Entities;
using SportsStore.WebUI.Models;
namespace SportsStore.WebUI.Controllers
{
public class ProductController : Controller
{
priva... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using SportsStore.Domain.Abstract;
using SportsStore.Domain.Entities;
using SportsStore.WebUI.Models;
namespace SportsStore.WebUI.Controllers
{
public class ProductController : Controller
{
priva... | mit | C# |
0c50931d2f072b36a1b0e4e4ff292e493dc549cd | change method of finding `incompatibleMod` | peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | osu.Game.Tests/Visual/Gameplay/TestSceneModValidity.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
namespace osu.Ga... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets.Mods;
na... | mit | C# |
0435201ba3d2e31ef52f767f542d17e5a8f5ccfa | Update SimpleXmlBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleXmlBondSerializer.cs | TIKSN.Core/Serialization/Bond/SimpleXmlBondSerializer.cs | using Bond.Protocols;
using System.IO;
using System.Xml;
namespace TIKSN.Serialization.Bond
{
public class SimpleXmlBondSerializer : SerializerBase<string>
{
protected override string SerializeInternal<T>(T obj)
{
using (var output = new StringWriter())
{
... | using Bond.Protocols;
using System.IO;
using System.Xml;
namespace TIKSN.Serialization.Bond
{
public class SimpleXmlBondSerializer : SerializerBase<string>
{
protected override string SerializeInternal(object obj)
{
using (var output = new StringWriter())
{
... | mit | C# |
55e6d63fd51306e7376b94e837face6630e4e11d | Fix iOS strings processor loading | LorenzCK/Pseudo-i18n | src/ProcessorFactory.cs | src/ProcessorFactory.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PseudoInternationalization {
class ProcessorFactory {
private static readonly Dictionary<string, Type> _extensionMap = new Dictionary<string, Type> {
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PseudoInternationalization {
class ProcessorFactory {
private static readonly Dictionary<string, Type> _extensionMap = new Dictionary<string, Type> {
... | mit | C# |
1265194cf38d553942817a943ba9c7c14aded385 | Update AppBuilderExtensionsTests.cs | ipjohnson/EasyRpc,ipjohnson/EasyRpc | tests/EasyRpc.Tests/Middleware/AppBuilderExtensionsTests.cs | tests/EasyRpc.Tests/Middleware/AppBuilderExtensionsTests.cs | using System;
using System.Collections.Generic;
using System.Text;
using EasyRpc.AspNetCore;
using Microsoft.Extensions.DependencyInjection;
using SimpleFixture;
using SimpleFixture.Attributes;
using SimpleFixture.xUnit;
using Xunit;
namespace EasyRpc.Tests.Middleware
{
public class AppBuilderExtensionsTests
... | using System;
using System.Collections.Generic;
using System.Text;
using EasyRpc.AspNetCore;
using Microsoft.Extensions.DependencyInjection;
using SimpleFixture;
using SimpleFixture.Attributes;
using SimpleFixture.xUnit;
using Xunit;
namespace EasyRpc.Tests.Middleware
{
public class AppBuilderExtensionsTests
... | mit | C# |
e123db183b6ec975fd2624f8824a5f3a4c79a153 | Remove redundant buffer free check. | DrabWeb/osu-framework,naoey/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,RedNesto/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Tom94/osu-framework,default0/osu-framework,DrabWeb/osu-framework,naoey/osu-framework,default0/osu... | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.cs | osu.Framework/Graphics/OpenGL/Textures/TextureUpload.cs | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | //Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Drawing;
using OpenTK.Graphics.ES20;
namespace osu.Framework.Graphics.OpenGL.Textures
{
public class TextureUpload : ID... | mit | C# |
75b26d0cdecd5335c4009009036e0b2c160bde63 | Add failing test cases | ppy/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu | osu.Game.Tests/Beatmaps/BeatmapDifficultyManagerTest.cs | osu.Game.Tests/Beatmaps/BeatmapDifficultyManagerTest.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.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Tests.Beatmaps
{
[TestFixture]
... | // 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.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Mods;
namespace osu.Game.Tests.Beatmaps
{
[TestFixture]
... | mit | C# |
8200028b3e02dffcfc6229efcfad512605b9e999 | Put class in a namespace | nunit/nunit-console,nunit/nunit-console,nunit/nunit-console | NUnitFramework/src/framework/Constraints/ToleranceMode.cs | NUnitFramework/src/framework/Constraints/ToleranceMode.cs | // ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... | // ***********************************************************************
// Copyright (c) 2008 Charlie Poole
//
// 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, inclu... | mit | C# |
513f7a7574fe4d15a5e026606845fdee20ca7065 | Fix issues in SDK | dhawalharsora/connectedcare-sdk,SnapMD/connectedcare-sdk | SnapMD.ConnectedCare.Sdk/Models/OnDemandRequest.cs | SnapMD.ConnectedCare.Sdk/Models/OnDemandRequest.cs | // Copyright 2015 SnapMD, 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 law or ag... | // Copyright 2015 SnapMD, 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 law or ag... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.