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 |
|---|---|---|---|---|---|---|---|---|
fb419b85135a346fcd0d54d5cd58b6a062762a82 | add data member | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsMetadataDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Application/ApplicationDetailsMetadataDto.cs | using System.Collections.Generic;
using System.Runtime.Serialization;
using PS.Mothership.Core.Common.Template.App;
using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Dto.Merchant;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class ApplicationDetailsMe... | using System.Collections.Generic;
using System.Runtime.Serialization;
using PS.Mothership.Core.Common.Template.App;
using PS.Mothership.Core.Common.Template.Gen;
using PS.Mothership.Core.Common.Dto.Merchant;
namespace PS.Mothership.Core.Common.Dto.Application
{
[DataContract]
public class ApplicationDetailsMe... | mit | C# |
8c180a11b5fe3876230c173385699a8b2df0f22f | Add FindCustomAttributes method. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/IHasCustomAttribute.cs | src/AsmResolver.DotNet/IHasCustomAttribute.cs | using System.Collections.Generic;
using System.Linq;
namespace AsmResolver.DotNet
{
/// <summary>
/// Represents a member that can be referenced by a HasCustomAttribute coded index,
/// </summary>
public interface IHasCustomAttribute : IMetadataMember
{
/// <summary>
/// ... | using System.Collections.Generic;
using System.Linq;
namespace AsmResolver.DotNet
{
/// <summary>
/// Represents a member that can be referenced by a HasCustomAttribute coded index,
/// </summary>
public interface IHasCustomAttribute : IMetadataMember
{
/// <summary>
/// ... | mit | C# |
bb478c62be8dbba59a420fc87dc4248bf58ce06a | Remove todo | Krusen/ErgastApi.Net | src/ErgastiApi/Ids/FinishingStatusIdParser.cs | src/ErgastiApi/Ids/FinishingStatusIdParser.cs | using System;
using System.Text.RegularExpressions;
namespace ErgastApi.Ids
{
public static class FinishingStatusIdParser
{
public static FinishingStatusId Parse(string value)
{
FinishingStatusId statusId;
var lapsMatch = Regex.Match(value, @"\+(\d+) Laps?", RegexOptio... | using System;
using System.Text.RegularExpressions;
namespace ErgastApi.Ids
{
// TODO: Maybe move
public static class FinishingStatusIdParser
{
public static FinishingStatusId Parse(string value)
{
FinishingStatusId statusId;
var lapsMatch = Regex.Match(value, @"\+... | unlicense | C# |
34833ad6b6ca1bf108aef4009b01da058c4edab4 | Update TransformExtensions.cs | SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,grokys/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia | src/Avalonia.Visuals/Media/TransformExtensions.cs | src/Avalonia.Visuals/Media/TransformExtensions.cs | using System;
using Avalonia.Media.Immutable;
namespace Avalonia.Media
{
/// <summary>
/// Extension methods for transform classes.
/// </summary>
public static class TransformExtensions
{
/// <summary>
/// Converts a transform to an immutable transform.
/// </summary>
... | using System;
using Avalonia.Media.Immutable;
namespace Avalonia.Media
{
/// <summary>
/// Extension methods for transform classes.
/// </summary>
public static class TransformExtensions
{
/// <summary>
/// Converts a transform to an immutable transform.
/// </summary>
... | mit | C# |
5f0787f3e05edd19bf51b850b3b77a7135050452 | Bump version number | Netuitive/netuitive-windows-agent | src/CollectdWinService/Properties/AssemblyInfo.cs | src/CollectdWinService/Properties/AssemblyInfo.cs | using System.Reflection;
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("CollectdWinService")]
[assembly: ... | using System.Reflection;
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("CollectdWinService")]
[assembly: ... | apache-2.0 | C# |
366a019e11253f45a9ed4186d83782fd6ac1d44e | Tidy up logger configuration | datalust/piggy,datalust/piggy,datalust/piggy | src/Datalust.Piggy/Cli/Features/LoggingFeature.cs | src/Datalust.Piggy/Cli/Features/LoggingFeature.cs | using System;
using Serilog;
using Serilog.Events;
namespace Datalust.Piggy.Cli.Features
{
class LoggingFeature : CommandFeature
{
string _serverUrl, _apiKey;
LogEventLevel _level = LogEventLevel.Information;
public override void Enable(OptionSet options)
{
options... | using System;
using Serilog;
using Serilog.Events;
namespace Datalust.Piggy.Cli.Features
{
class LoggingFeature : CommandFeature
{
string _serverUrl, _apiKey;
LogEventLevel _level = LogEventLevel.Information;
public override void Enable(OptionSet options)
{
options... | apache-2.0 | C# |
38bb4bf6bf176cc84bfb36fadc50b15ecb34d7f9 | Change test to map with allign with initial design and documentation | Seddryck/NBi,Seddryck/NBi | NBi.Testing/Unit/Core/Query/CommandBuilderTest.cs | NBi.Testing/Unit/Core/Query/CommandBuilderTest.cs | using NBi.Core.Query;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Query
{
[TestFixture]
public class CommandBuilderTest
{
[Test]
public void Build_TimeoutSpecified... | using NBi.Core.Query;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NBi.Testing.Unit.Core.Query
{
[TestFixture]
public class CommandBuilderTest
{
[Test]
public void Build_TimeoutSpecified... | apache-2.0 | C# |
6c3ba87cab3ffa9aedfffe6fedbbd8dc790443d2 | Revert "sandbox demo of shutdown cancel." | jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,Perspex/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,SuperJMN/Avaloni... | samples/Sandbox/App.axaml.cs | samples/Sandbox/App.axaml.cs | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
namespace Sandbox
{
public class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
public override void OnFrameworkInitializationComplete... | using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
namespace Sandbox
{
public class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
public override void OnFrameworkInitializationComplete... | mit | C# |
71a60bdaa3e3e686d196b4f81b1def6c3de2d4e3 | Fix compilation | monoman/PackageManagerAddin | NuPackAddin.Extensions/DotNetProjectExtensions.cs | NuPackAddin.Extensions/DotNetProjectExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoDevelop.Projects;
using NuPack;
namespace NuPackAddin.Extensions
{
public static class DotNetProjectExtensions
{
public static void AddPackage(this DotNetProject project, IPackage package)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoDevelop.Projects;
using NuPack;
namespace NuPackAddin.Extensions
{
public class DotNetProjectExtensions
{
public static void AddPackage(this DotNetProject project, IPackage package)
{
/... | apache-2.0 | C# |
ded764546bf1ea0cf1a816aee3ad99eec5b4e93d | fix typo | danielgerlag/workflow-core | src/WorkflowCore/Interface/IPersistenceProvider.cs | src/WorkflowCore/Interface/IPersistenceProvider.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WorkflowCore.Models;
namespace WorkflowCore.Interface
{
/// <remarks>
/// The implemention of this interface will be responsible for
/// persisting running workflow instances to a durable store
/// </remarks>
publi... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using WorkflowCore.Models;
namespace WorkflowCore.Interface
{
/// <remarks>
/// The implemention of this interface will be responsible for
/// persisiting running workflow instances to a durable store
/// </remarks>
publ... | mit | C# |
eb9cf47f82fbebb276377a974cd10074b4d82534 | Bump version to beta2 | kevinkuszyk/test-framework | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Kevin Kuszyk")]
[assembly: AssemblyCopyright("Copyright Kevin Kuszyk 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0... | using System.Reflection;
[assembly: AssemblyCompany("Kevin Kuszyk")]
[assembly: AssemblyCopyright("Copyright Kevin Kuszyk 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.0.0")]
[assembly: AssemblyFileVersion("1.0.0")]
[assembly: AssemblyInformationalVersion("1.0... | mit | C# |
7e55e1684e30c5cec047eca319c2e0c1cf214c36 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.39")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.38")] | mit | C# |
730eef70defedfd514d5f54373b82c048982d7a1 | exit after job complete | ucdavis/Namster,ucdavis/Namster,ucdavis/Namster | src/Namster.Jobs.ElasticSync/NamSearchUploader.cs | src/Namster.Jobs.ElasticSync/NamSearchUploader.cs | using System;
using Dapper;
using Microsoft.Extensions.Configuration;
using Namster.Jobs.ElasticSync.Helpers;
using Namster.Jobs.ElasticSync.Models;
using Namster.Jobs.ElasticSync.Services;
using Nest;
namespace Namster.Jobs.ElasticSync
{
public class NamSearchUploader
{
private readonly DbService _db... | using System;
using Dapper;
using Microsoft.Extensions.Configuration;
using Namster.Jobs.ElasticSync.Helpers;
using Namster.Jobs.ElasticSync.Models;
using Namster.Jobs.ElasticSync.Services;
using Nest;
namespace Namster.Jobs.ElasticSync
{
public class NamSearchUploader
{
private readonly DbService _db... | mit | C# |
f9df32afa75f67830dc93d4183fe8a80c2c5812e | fix ws | nataren/NServiceKit.Redis,NServiceKit/NServiceKit.Redis,MindTouch/NServiceKit.Redis | src/ServiceStack.Redis/Properties/AssemblyInfo.cs | src/ServiceStack.Redis/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("Se... | 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-3-clause | C# |
e8d08a5856d0a61050378e40472b358e838102cf | Add ProtocolNotSupported to OracleResponseCode (#2164) | AntShares/AntShares | src/neo/Network/P2P/Payloads/OracleResponseCode.cs | src/neo/Network/P2P/Payloads/OracleResponseCode.cs | namespace Neo.Network.P2P.Payloads
{
public enum OracleResponseCode : byte
{
Success = 0x00,
ProtocolNotSupported = 0x10,
ConsensusUnreachable = 0x12,
NotFound = 0x14,
Timeout = 0x16,
Forbidden = 0x18,
ResponseTooLarge = 0x1a,
InsufficientFunds = ... | namespace Neo.Network.P2P.Payloads
{
public enum OracleResponseCode : byte
{
Success = 0x00,
ConsensusUnreachable = 0x10,
NotFound = 0x12,
Timeout = 0x14,
Forbidden = 0x16,
ResponseTooLarge = 0x18,
InsufficientFunds = 0x1a,
Error = 0xff
}
}
| mit | C# |
283475c3c6dc6194207489c5e9950b17c0fd06e0 | Fix code formatting | Microsoft/ApplicationInsights-dotnet-logging | src/Adapters.Tests/Etw.Net451.Tests/TestProvider.cs | src/Adapters.Tests/Etw.Net451.Tests/TestProvider.cs | //-----------------------------------------------------------------------
// <copyright file="TestProvider.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Application... | //-----------------------------------------------------------------------
// <copyright file="TestProvider.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.Application... | mit | C# |
f0a73bbf8c373ea792974c7f1e3b18520ed50f47 | Set Obsolete ZPLBarCode128 | BinaryKits/ZPLUtility | src/BinaryKits.ZPLUtility/Elements/ZPLBarcode128.cs | src/BinaryKits.ZPLUtility/Elements/ZPLBarcode128.cs | using System;
using System.Collections.Generic;
namespace BinaryKits.Utility.ZPLUtility.Elements
{
/// <summary>
/// Code 128
/// </summary>
public class ZPLBarcode128 : ZPLBarcode
{
public ZPLBarcode128(string content, int positionX, int positionY, int height = 100, string orientation = "... | using System.Collections.Generic;
namespace BinaryKits.Utility.ZPLUtility.Elements
{
/// <summary>
/// Code 128
/// </summary>
public class ZPLBarcode128 : ZPLBarcode
{
public ZPLBarcode128(string content, int positionX, int positionY, int height = 100, string orientation = "N", bool print... | mit | C# |
3cbcf36a5a5c8836c415e411e8004729a5664391 | fix HistoricDeposit type | Domysee/BittrexSharp | BittrexSharp/Domain/HistoricDeposit.cs | BittrexSharp/Domain/HistoricDeposit.cs | using System;
namespace BittrexSharp.Domain
{
public class HistoricDeposit
{
public long Id { get; set; }
public decimal Amount { get; set; }
public string Currency { get; set; }
public int Confirmations { get; set; }
public DateTime LastUpdated { get; set; }
pu... | using System;
using System.Collections.Generic;
using System.Text;
namespace BittrexSharp.Domain
{
public class HistoricDeposit
{
public string PaymentUuid { get; set; }
public string Currency { get; set; }
public decimal Amount { get; set; }
public string Address { get; set; }... | mit | C# |
c351e35abedca3e71a2f918eff23ac65666660c1 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.37")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.36")] | mit | C# |
d5f617606f37a05b1b7b8ce4e40c0442c1ae2034 | initialise collections to empty | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Models/GraphControlViewModel.cs | Dashen/Models/GraphControlViewModel.cs | using System.Collections.Generic;
using System.Linq;
namespace Dashen.Models
{
public class GraphControlViewModel : ControlViewModel
{
public IEnumerable<KeyValuePair<int, int>> Points { get; set; }
public IEnumerable<KeyValuePair<int, string>> XTicks { get; set; }
public IEnumerable<KeyValuePair<int, string>... | using System.Collections.Generic;
namespace Dashen.Models
{
public class GraphControlViewModel : ControlViewModel
{
public IEnumerable<KeyValuePair<int, int>> Points { get; set; }
public IEnumerable<KeyValuePair<int, string>> XTicks { get; set; }
}
}
| lgpl-2.1 | C# |
dd160fdf585c737458d6c1d3fcc521ac3f02337f | Add Max Token Length to Whitespace Tokenizer (#3172) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Analysis/Tokenizers/WhitespaceTokenizer.cs | src/Nest/Analysis/Tokenizers/WhitespaceTokenizer.cs | using Newtonsoft.Json;
namespace Nest
{
/// <summary>
/// A tokenizer of type whitespace that divides text at whitespace.
/// </summary>
public interface IWhitespaceTokenizer : ITokenizer
{
/// <summary>
/// The maximum token length. If a token is seen that exceeds this length then it is split at
/// <see ... | namespace Nest
{
/// <summary>
/// A tokenizer of type whitespace that divides text at whitespace.
/// </summary>
public interface IWhitespaceTokenizer : ITokenizer { }
/// <inheritdoc/>
public class WhitespaceTokenizer : TokenizerBase, IWhitespaceTokenizer
{
public WhitespaceTokenizer() { Type = "whitespa... | apache-2.0 | C# |
e7e39df05463dfb19bd79cf96b15778736ab84ae | Update version to 1.0.0-prerelease03 | affecto/dotnet-Middleware.Monitoring.Owin | Source/Monitoring.Owin/Properties/AssemblyInfo.cs | Source/Monitoring.Owin/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("Affecto.Middleware.Monitoring.Owin")]
[assembly: AssemblyDescription("Monitoring... | using System.Reflection;
// 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("Affecto.Middleware.Monitoring.Owin")]
[assembly: AssemblyDescription("Monitoring... | mit | C# |
e27164d293e26f035c24e819c067f23ef3bb41da | Add Vector4/Matrix.FormatForMathematica | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/math/FormatForMathematicaExtensions.cs | Viewer/src/math/FormatForMathematicaExtensions.cs | using SharpDX;
public static class FormatForMathematicaExtensions {
public static string FormatForMathematica(this Vector3 v) {
return "{" + v.X + ", " + v.Y + ", " + v.Z + "}";
}
public static string FormatForMathematica(this Matrix3x3 m) {
return "{" + FormatForMathematica(m.Row1) + ", " + FormatForMathemati... | using SharpDX;
public static class FormatForMathematicaExtensions {
public static string FormatForMathematica(this Vector3 v) {
return "{" + v.X + ", " + v.Y + ", " + v.Z + "}";
}
public static string FormatForMathematica(this Matrix3x3 m) {
return "{" + FormatForMathematica(m.Row1) + ", " + FormatForMathemati... | mit | C# |
ada90aa4e048dc77ee990d6508aba9570b68a0f5 | refactor FindMemberExpression | RadicalFx/radical | src/Radical/Extensions/Linq/ExpressionExtensions.cs | src/Radical/Extensions/Linq/ExpressionExtensions.cs | using System;
using System.Linq.Expressions;
namespace Radical.Linq
{
/// <summary>
/// Extends the expression class.
/// </summary>
public static class ExpressionExtensions
{
/// <summary>
/// Gets the name of the member.
/// </summary>
/// <typeparam name="T">The ... | using System;
using System.Linq.Expressions;
namespace Radical.Linq
{
/// <summary>
/// Extends the expression class.
/// </summary>
public static class ExpressionExtensions
{
/// <summary>
/// Gets the name of the member.
/// </summary>
/// <typeparam name="T">The ... | mit | C# |
d31efbe4cf9de97e9893e467fd47564755b64e7f | Use weak reference in for Gesture last press. | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,MrDaedra/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,susloparovdenis/Avalonia,jkoritzinsky/Avalonia,wieslawsol... | src/Perspex.Input/Gestures.cs | src/Perspex.Input/Gestures.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Interactivity;
namespace Perspex.Input
{
public static class Gestures
{
public static readonly RoutedEvent<Ro... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using Perspex.Interactivity;
namespace Perspex.Input
{
public static class Gestures
{
public static readonly RoutedEvent<Ro... | mit | C# |
553ae4781f0eb3dc6ca26c3def0ce1c43dd87d01 | Remove unnecessary local implementation in `TestScenePlaybackControl` | peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game.Tests/Visual/Editing/TestScenePlaybackControl.cs | osu.Game.Tests/Visual/Editing/TestScenePlaybackControl.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.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Components;
using osuTK;
namespace osu.Game.Tests.Visual... | // 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 NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
using osu.Game.Screens.Edit;
using osu.Ga... | mit | C# |
cc6041d0642bcbdc4e1ea3b76e5eacb4735a0120 | Remove unused | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierTester.cs | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierTester.cs | using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Common;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.ReferenceAnalysers;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ReferenceNugetifierTester {
public static List... | using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Common;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.ReferenceAnalysers;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ReferenceNugetifierTester {
private const stri... | mit | C# |
f49a26acc351d91b27f6715195b983e0268be10c | Remove unused code | mysticfall/Alensia | Assets/Alensia/Demo/MainMenuHandler.cs | Assets/Alensia/Demo/MainMenuHandler.cs | using System;
using Alensia.Core.Control;
using Alensia.Core.UI;
using UniRx;
using UnityEngine;
using Zenject;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler
{
[Inject, NonSerialized] public IPlayerController Controller;
public Bu... | using System;
using Alensia.Core.Control;
using Alensia.Core.UI;
using UniRx;
using UnityEngine;
using Zenject;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Alensia.Demo
{
public class MainMenuHandler : UIHandler
{
[Inject, NonSerialized] public IPlayerController Controller;
public Bu... | apache-2.0 | C# |
d397eb74b3a12483e137e86448fb85ab6031210e | Fix external fonts loading example (use folders to seek fonts) | asposeslides/Aspose_Slides_NET,aspose-slides/Aspose.Slides-for-.NET | Examples/CSharp/Text/UseCustomFonts.cs | Examples/CSharp/Text/UseCustomFonts.cs | using System;
using Aspose.Slides.Export;
using Aspose.Slides.Charts;
using Aspose.Slides;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference
when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
If you do ... | using System;
using Aspose.Slides.Export;
using Aspose.Slides.Charts;
using Aspose.Slides;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Slides for .NET API reference
when the project is build. Please check https://docs.nuget.org/consume/nuget-faq for more information.
If you do ... | mit | C# |
718a3b1201630c6aabdc1fcea529c26c30521e87 | Make all doubles explicit in all parameters. | ZLima12/osu-framework,naoey/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,paparony03/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,RedNesto/osu-framework,ppy/osu-framework,ZLima12/osu-framework,naoey/osu-framework,Tom94/osu-framework,ppy/osu-framework,Nabile-Rahmani/osu-fram... | osu.Framework/Configuration/FrameworkConfigManager.cs | osu.Framework/Configuration/FrameworkConfigManager.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.Platform;
namespace osu.Framework.Configuration
{
public class FrameworkConfigManager : ConfigManager<FrameworkConfig>
{
... | // 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.Platform;
namespace osu.Framework.Configuration
{
public class FrameworkConfigManager : ConfigManager<FrameworkConfig>
{
... | mit | C# |
9d43afacba2c02e9e6e7372c5b24216b6c291eef | Add timestamp method | fredatgithub/UsefulFunctions | ConsoleAppPrimesByHundred/Program.cs | ConsoleAppPrimesByHundred/Program.cs | using FonctionsUtiles.Fred.Csharp;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Numerics;
using System.Runtime.InteropServices;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
priv... | using System;
using System.Collections.Generic;
using System.Numerics;
using FonctionsUtiles.Fred.Csharp;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine;
display("Prime numbers by hundred:");
foreach... | mit | C# |
8b3b87bf4b137ef1317f0f3f1f04b2f3f151ffb9 | simplify some code, remove asynchrony | Pvlerick/roslyn,mgoertz-msft/roslyn,panopticoncentral/roslyn,abock/roslyn,kelltrick/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,OmarTawfik/roslyn,swaroop-sridhar/roslyn,weltkante/roslyn,mattscheffer/roslyn,AArnott/roslyn,a-ctor/roslyn,KirillOsenkov/roslyn,jeffanders/roslyn,akrisiun/roslyn,khyperia/roslyn,srivatsn/roslyn,j... | src/Features/Core/Portable/CodeFixes/PreferFrameworkType/PreferFrameworkTypeCodeFixProvider.cs | src/Features/Core/Portable/CodeFixes/PreferFrameworkType/PreferFrameworkTypeCodeFixProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysi... | mit | C# |
333b7fbb52cbc823e3efc6195940e15b4ffd6edb | Fix for #3235 | IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense | wrappers/csharp/Intel.RealSense/Types/CameraInfo.cs | wrappers/csharp/Intel.RealSense/Types/CameraInfo.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Intel.RealSense
{
public enum CameraInfo
{
Name = 0,
SerialNumber = 1,
FirmwareVersion = 2,
RecommendedFirmwareVersion = 3,
PhysicalPort = 4,
DebugOpCode = 5,
... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Intel.RealSense
{
public enum CameraInfo
{
Name = 0,
SerialNumber = 1,
RecommendedFirmwareVersion = 2,
FirmwareVersion = 3,
PhysicalPort = 4,
DebugOpCode = 5,
... | apache-2.0 | C# |
984fe7b5b90ddf7626889089f844e24af9a4d0db | Fix TeamCityOutputSink to not report errors as build problems | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/OutputSinks/TeamCityOutputSink.cs | source/Nuke.Common/OutputSinks/TeamCityOutputSink.cs | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Utilities;
namespace Nuke.Commo... | // Copyright 2018 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Common.BuildServers;
using Nuke.Common.Utilities;
namespace Nuke.Commo... | mit | C# |
5dc5f6e9b9e8a38405be3b7435d721c2dc6152a7 | rebase fix | RoomFinder/Connector,RoomFinder/Connector | ExchangeConnector/ExchangeConnector.cs | ExchangeConnector/ExchangeConnector.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using FindFreeRoom.ExchangeConnector.Base;
using Microsoft.Exchange.WebServices.Data;
namespace FindFreeRoom.ExchangeConnector
{
public class ExchangeConnector
{
private readonly ExchangeService _se... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using FindFreeRoom.ExchangeConnector.Base;
using Microsoft.Exchange.WebServices.Data;
namespace FindFreeRoom.ExchangeConnector
{
public class ExchangeConnector
{
private readonly ExchangeService _se... | mit | C# |
a2d17ab1477a1e2270b9e992fa02312d42cfee71 | Update RequestPostProcessorBehavior.cs | jbogard/MediatR | src/MediatR/Pipeline/RequestPostProcessorBehavior.cs | src/MediatR/Pipeline/RequestPostProcessorBehavior.cs | .namespace MediatR.Pipeline
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Behavior for executing all <see cref="IRequestPostProcessor{TRequest,TResponse}"/> instances after handling the request
/// </summary>
/// <typeparam name="TRe... | namespace MediatR.Pipeline
{
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
/// <summary>
/// Behavior for executing all <see cref="IRequestPostProcessor{TRequest,TResponse}"/> instances after handling the request
/// </summary>
/// <typeparam name="TReq... | apache-2.0 | C# |
30f462cd4179b08fcc9cc2ce5be2e8f0423d79ec | Fix GUI alpha blending | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Graphics/Effects/SpriteMaterial.cs | src/OpenSage.Game/Graphics/Effects/SpriteMaterial.cs | using System.Numerics;
using System.Runtime.InteropServices;
using OpenSage.Content;
using Veldrid;
namespace OpenSage.Graphics.Effects
{
public sealed class SpriteMaterial : EffectMaterial
{
public SpriteMaterial(ContentManager contentManager, Effect effect, in OutputDescription outputDescription)
... | using System.Numerics;
using System.Runtime.InteropServices;
using OpenSage.Content;
using Veldrid;
namespace OpenSage.Graphics.Effects
{
public sealed class SpriteMaterial : EffectMaterial
{
public SpriteMaterial(ContentManager contentManager, Effect effect, in OutputDescription outputDescription)
... | mit | C# |
5fd09b43f371aec3a5a78540aa3f09bb95c1e450 | Set property type group default level to 1 | KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,KevinJump/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbra... | src/Umbraco.Core/Persistence/Dtos/PropertyTypeGroupDto.cs | src/Umbraco.Core/Persistence/Dtos/PropertyTypeGroupDto.cs | using System;
using System.Collections.Generic;
using NPoco;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Core.Persistence.Dtos
{
[TableName(TableName)]
[PrimaryKey("id", AutoIncrement = true)]
[ExplicitColumns]
internal... | using System;
using System.Collections.Generic;
using NPoco;
using Umbraco.Core.Persistence.DatabaseAnnotations;
using Umbraco.Core.Persistence.DatabaseModelDefinitions;
namespace Umbraco.Core.Persistence.Dtos
{
[TableName(TableName)]
[PrimaryKey("id", AutoIncrement = true)]
[ExplicitColumns]
internal... | mit | C# |
c9fbdb6caaf41a69a5cf5883fcd07a000cdca5af | Fix #1359 by not locking content files when reading | skbkontur/NuGetGallery,skbkontur/NuGetGallery,JetBrains/ReSharperGallery,KuduApps/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count-patch,skbkontur/NuGetGallery,mtian/SiteExtensionGallery,KuduApps/NuGetGallery,projectkudu/SiteExtensionGallery,projectkudu/SiteExtensionGallery,KuduApps/NuG... | Website/Services/LocalFileReference.cs | Website/Services/LocalFileReference.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
namespace NuGetGallery
{
public class LocalFileReference : IFileReference
{
private FileInfo _file;
public string ContentId
{
get { return _fil... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Web;
namespace NuGetGallery
{
public class LocalFileReference : IFileReference
{
private FileInfo _file;
public string ContentId
{
get { return _fil... | apache-2.0 | C# |
20a397f669711c2378bccc91191681211c1cbd37 | Fix compilation error | fairycode/sharp-blueprint,fairycode/sharp-blueprint | test/SharpBlueprint.Client.Tests/SimpleHttpClientTests.cs | test/SharpBlueprint.Client.Tests/SimpleHttpClientTests.cs | using System;
using SharpBlueprint.Client;
#if NET35
using NUnit.Framework;
#else
using Xunit;
#endif
namespace SharpBlueprint.Core.Tests
{
#if NET35
[TestFixture]
#endif
public class SimpleHttpClientTests
{
#if NET35
[Test]
public void GetDotNetCountTest()
{
var client... | using System;
#if NET35
using NUnit.Framework;
#else
using Xunit;
#endif
namespace SharpBlueprint.Core.Tests
{
#if NET35
[TestFixture]
#endif
public class SimpleHttpClientTests
{
#if NET35
[Test]
public void GetDotNetCountTest()
{
var client = new SimpleHttpClient();
... | mit | C# |
e4ef47573b3e63a6638cc8522276ce99d91e8b9a | optimize unit test | RenePeuser/DynamicMockCreator | MockCreator/MockCreator/TestDynamicTestExecution.cs | MockCreator/MockCreator/TestDynamicTestExecution.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestExtension;
namespace MockCreator
{
[TestClass]
public class TestDynamicTestExecution
{
private... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestExtension;
namespace MockCreator
{
[TestClass]
public class TestDynamicTestExecution
{
private... | mit | C# |
7b6e53680c6035f6b7843f3ac5bd65b90e41128d | Add coverage for the unordered case | smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game.Tests/Mods/SettingsSourceAttributeTest.cs | osu.Game.Tests/Mods/SettingsSourceAttributeTest.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Bindables;
using osu.Game.Configuration;
namespace osu.Game.Tests.Mods
{
[TestFixture]
public class... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using NUnit.Framework;
using osu.Framework.Bindables;
using osu.Game.Configuration;
namespace osu.Game.Tests.Mods
{
[TestFixture]
public class... | mit | C# |
e75d21507c238ff6a6f5b374a301a7ccbe1f7a9d | Fix `GetDisplayTitleRomanisable()` relying on `ToString()` implementation | ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu | osu.Game/Beatmaps/BeatmapMetadataInfoExtensions.cs | osu.Game/Beatmaps/BeatmapMetadataInfoExtensions.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.Framework.Localisation;
namespace osu.Game.Beatmaps
{
public static class BeatmapMetadataInfoExtensions
{
/// <summary>
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Linq;
using osu.Framework.Localisation;
namespace osu.Game.Beatmaps
{
public static class BeatmapMetadataInfoExtensions
{
/// <summary>
... | mit | C# |
448c58c35d0aec96e9a3c91323f69564ddcb8c89 | Remove unnecessary variable discard | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs | osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Legacy
{
public... | // 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 JetBrains.Annotations;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Beatmaps.ControlPoints;
namespace osu.Game.Beatmaps.Legacy
{
public... | mit | C# |
5d3afd828bd44f9d95b6b3535b622a58384ea89f | Update IQueryableBatchExtensions.cs | borisdj/EFCore.BulkExtensions | EFCore.BulkExtensions/IQueryableBatchExtensions.cs | EFCore.BulkExtensions/IQueryableBatchExtensions.cs | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace EFCore.BulkExtensions
{
public static class IQueryableBatchExtensions
{
public static int BatchDele... | using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace EFCore.BulkExtensions
{
public static class IQueryableBatchExtensions
{
public static int BatchDelete<T>(this IQueryable<T> query) where T : cl... | mit | C# |
e8db9f0bc875cabe1893edd5f40a607ea8b9b477 | Use InvariantCulture in MathConverter | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,DingpingZhang/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,tipunch74/MaterialDesignInXamlToolkit | MaterialDesignThemes.Wpf/Converters/MathConverter.cs | MaterialDesignThemes.Wpf/Converters/MathConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace MaterialDesignThemes.Wpf.Converters
{
public enum MathOperation
{
Add,
Subtract,
Multiply,
Divide... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace MaterialDesignThemes.Wpf.Converters
{
public enum MathOperation
{
Add,
Subtract,
Multiply,
Divide... | mit | C# |
189f037fbd1de3578df664dfafc886c0ca60d646 | Add new employment fields for change employer (Portable) | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/CreateChangeOfPartyRequestRequest.cs | src/CommitmentsV2/SFA.DAS.CommitmentsV2.Api.Types/Requests/CreateChangeOfPartyRequestRequest.cs | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class CreateChangeOfPartyRequestRequest : SaveDataRequest
{
public ChangeOfPartyRequestType ChangeOfPartyRequestType { get; set; }
public long NewPartyId { get; set; }
public int... | using System;
using SFA.DAS.CommitmentsV2.Types;
namespace SFA.DAS.CommitmentsV2.Api.Types.Requests
{
public class CreateChangeOfPartyRequestRequest : SaveDataRequest
{
public ChangeOfPartyRequestType ChangeOfPartyRequestType { get; set; }
public long NewPartyId { get; set; }
public int... | mit | C# |
971d690c18628c0e42f04c8b64ae2cb1cebf78a3 | Bump UpdateManager version to latest | Glurmo/LiveSplit,Glurmo/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | mit | C# |
48244d80de4d2db610745bcf024e8ad342953e15 | Change the UpdateManager's version to 2.0.1 | Fluzzarn/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,ROMaster2/LiveSplit,Dalet/LiveSplit,LiveSplit/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,Fluzzarn/LiveSplit,Glurmo/LiveSplit,ROMaster2/LiveSplit,Fluzzarn/LiveSplit,Dalet/LiveSplit | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | LiveSplit/UpdateManager/UpdateManagerUpdateable.cs | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | using System;
namespace UpdateManager
{
public class UpdateManagerUpdateable : IUpdateable
{
private UpdateManagerUpdateable() { }
private static UpdateManagerUpdateable _Instance { get; set; }
public static UpdateManagerUpdateable Instance
{
get
{
... | mit | C# |
f722dcf98dbcb94283be8f67bdaae81ff3f8d900 | Fix PrerenderResult in Webpack sample | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/misc/Webpack/ActionResults/PrerenderResult.cs | samples/misc/Webpack/ActionResults/PrerenderResult.cs | using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.NodeServices;
using Microsoft.AspNetCore.SpaServices.Prerendering;
using Microsoft.Extensions.DependencyInjection;
na... | using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.NodeServices;
using Microsoft.AspNetCore.SpaServices.Prerendering;
using Microsoft.Extensions.DependencyInjection;
na... | apache-2.0 | C# |
9304ff4c0541adc79d43c91070d4a1b807c7cfc8 | Update WalletWasabi/Services/Terminate/TerminateService.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/Terminate/TerminateService.cs | WalletWasabi/Services/Terminate/TerminateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | mit | C# |
8a62194acb0aef9462abc671aedc28e851ba16ef | Use autoproperties | arnovb-github/CmcLibNet | CmcLibNet.Database/CommencePreferences.cs | CmcLibNet.Database/CommencePreferences.cs | namespace Vovin.CmcLibNet.Database
{
/// <summary>
/// Class exposing some of Commence's preferences settings
/// </summary>
internal class Preferences
{
/// <summary>
/// Gets (-Me-) item.
/// </summary>
/// <remarks>Does NOT set this preference in Commence.</remar... | namespace Vovin.CmcLibNet.Database
{
/// <summary>
/// Class exposing some of Commence's preferences settings
/// </summary>
internal class Preferences
{
string _me = "(-Me-) item not set.";
string _mecat = "(-Me-) category not set.";
string _letterlogdir = "Letter Log Direc... | mit | C# |
949267fe88fd11440184d92a113cd88245453a4c | update assembly info | RapidScada/scada,RapidScada/scada,RapidScada/scada,RapidScada/scada | ScadaWeb/ScadaWebShell5/Properties/AssemblyInfo.cs | ScadaWeb/ScadaWebShell5/Properties/AssemblyInfo.cs | using Scada.Web;
using System.Reflection;
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("ScadaWebShell5")]
[assem... | using Scada.Web;
using System.Reflection;
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("ScadaWebShell5Beta")]
[a... | apache-2.0 | C# |
c458758b8c209d931b4a45ec4f970e581ae1474f | Remove unused methods | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade.Core/Base/TestRun.cs | src/Arkivverket.Arkade.Core/Base/TestRun.cs | using System;
using Arkivverket.Arkade.Core.Testing;
using System.Collections.Generic;
using System.Linq;
using Arkivverket.Arkade.Core.Util;
namespace Arkivverket.Arkade.Core.Base
{
public class TestRun : IComparable
{
private readonly IArkadeTest _test;
public TestId TestId => _test.GetId();
... | using System;
using Arkivverket.Arkade.Core.Testing;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arkivverket.Arkade.Core.Util;
namespace Arkivverket.Arkade.Core.Base
{
public class TestRun : IComparable
{
private readonly IArkadeTest _test;
public TestId TestId... | agpl-3.0 | C# |
57801767917c272f7d989f3e59aafc2691a8ac38 | mark props as virtual for EF | nexbit/IdentityManager.MembershipReboot | source/Host/MembershipRebootIdentityManagerFactory.cs | source/Host/MembershipRebootIdentityManagerFactory.cs | using BrockAllen.MembershipReboot;
using BrockAllen.MembershipReboot.Ef;
using BrockAllen.MembershipReboot.Relational;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Thinktecture.IdentityManager;
using Thinktecture.IdentityManager... | using BrockAllen.MembershipReboot;
using BrockAllen.MembershipReboot.Ef;
using BrockAllen.MembershipReboot.Relational;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using Thinktecture.IdentityManager;
using Thinktecture.IdentityManager... | apache-2.0 | C# |
6ea3c4c7c611344f540fe9e7e27fd67f6d5b16f9 | Change test strings | lpatalas/ExpressRunner | ExpressRunner.TestProject/ExampleTests.cs | ExpressRunner.TestProject/ExampleTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
Assert.Equal(... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using Xunit.Extensions;
namespace ExpressRunner.TestProject
{
public class ExampleTests
{
[Fact]
public void Should_fail_always()
{
Assert.Equal(... | mit | C# |
88281f6a90ee98f4e373d0c3c5d5c70d1428d1c8 | Fix build error | mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy | Sriracha.Deploy.Data/Deployment/DeploymentImpl/DeployComponentRunner.cs | Sriracha.Deploy.Data/Deployment/DeploymentImpl/DeployComponentRunner.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMDB.Shared;
using Sriracha.Deploy.Data.Dto;
using Sriracha.Deploy.Data.Tasks;
using Sriracha.Deploy.Data.Credentials;
namespace Sriracha.Deploy.Data.Deployment.DeploymentImpl
{
public class DeployComponentRunner : IDeploy... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMDB.Shared;
using Sriracha.Deploy.Data.Dto;
using Sriracha.Deploy.Data.Tasks;
using Sriracha.Deploy.Data.Credentials;
namespace Sriracha.Deploy.Data.Deployment.DeploymentImpl
{
public class DeployComponentRunner : IDeploy... | mit | C# |
1d9354970ca9397253736e96cd3f546935250e46 | Update ServiceCollectionExtensions.cs | tiksn/TIKSN-Framework | TIKSN.Framework.Core/DependencyInjection/ServiceCollectionExtensions.cs | TIKSN.Framework.Core/DependencyInjection/ServiceCollectionExtensions.cs | using System;
using System.Collections.Generic;
using AutoMapper;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using TIKSN.Data;
using TIKSN.FileSystem;
namespace TIKSN.DependencyInjection
{
public static class ServiceCollectionExtensions
{
... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using TIKSN.FileSystem;
namespace TIKSN.DependencyInjection
{
public static class ServiceCollectionExtensions
{
public static IServiceCollection AddFrameworkPlatform(this IServiceCollection servic... | mit | C# |
8155eb24e540bed48169c8f88b49be85c88464da | add marginally less crappy resolution | anurse/ILspect,anurse/ILspect | src/ILspect.Core/DefaultAssemblyResolver.cs | src/ILspect.Core/DefaultAssemblyResolver.cs | using System;
using System.Collections.Generic;
using System.IO;
using Mono.Cecil;
namespace ILspect
{
public class DefaultAssemblyResolver : IAssemblyResolver
{
private readonly Dictionary<string, AssemblyDefinition> _cache = new Dictionary<string, AssemblyDefinition>();
public AssemblyDefin... | using System;
using System.Collections.Generic;
using Mono.Cecil;
namespace ILspect
{
public class DefaultAssemblyResolver : IAssemblyResolver
{
private readonly Dictionary<string, AssemblyDefinition> _cache = new Dictionary<string, AssemblyDefinition>();
public AssemblyDefinition Resolve(Ass... | apache-2.0 | C# |
ed50c8a94209e54eb7d3fb2de85d60eaf567ff20 | fix RIDER-71376, RIDER-71377, RIDER-71375 (#2224) | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/UnitTesting/UnityRiderUnitTestCoverageAvailabilityChecker.cs | resharper/resharper-unity/src/Rider/UnitTesting/UnityRiderUnitTestCoverageAvailabilityChecker.cs | using System;
using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.RdBackend.Common.Features;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.UnitTestFramework.Elements;
using JetBrains.ReSharper.UnitTestFramework.Execution.Hosting;
using JetBrains.Rider.B... | using System;
using JetBrains.Application;
using JetBrains.Application.Components;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.RdBackend.Common.Features;
using JetBrains.ReSharper.Plugins.Unity.ProjectModel;
using JetBrains.ReSharper.UnitTestFramework.Elements;
using JetBrains.Re... | apache-2.0 | C# |
eef059fb4113b5db1495678c0b71f64dc295e160 | Repair famfamfam-flags | aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template,aspnetboilerplate/module-zero-template | src/AbpCompanyName.AbpProjectName.EntityFramework/Migrations/SeedData/DefaultLanguagesCreator.cs | src/AbpCompanyName.AbpProjectName.EntityFramework/Migrations/SeedData/DefaultLanguagesCreator.cs | using System.Collections.Generic;
using System.Linq;
using Abp.Localization;
using AbpCompanyName.AbpProjectName.EntityFramework;
namespace AbpCompanyName.AbpProjectName.Migrations.SeedData
{
public class DefaultLanguagesCreator
{
public static List<ApplicationLanguage> InitialLanguages { get; private... | using System.Collections.Generic;
using System.Linq;
using Abp.Localization;
using AbpCompanyName.AbpProjectName.EntityFramework;
namespace AbpCompanyName.AbpProjectName.Migrations.SeedData
{
public class DefaultLanguagesCreator
{
public static List<ApplicationLanguage> InitialLanguages { get; private... | mit | C# |
21e40835e1de662ae0f36aa632632206d231c884 | Update AssemblyInfo.cs | BenVlodgi/VMFParser | VMFParser/Properties/AssemblyInfo.cs | VMFParser/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("VM... | 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("VM... | mit | C# |
0615015c1145af59539bd136d269500f7a914184 | Set obsolete | FlorianRappl/AngleSharp,Livven/AngleSharp,Livven/AngleSharp,FlorianRappl/AngleSharp,zedr0n/AngleSharp.Local,zedr0n/AngleSharp.Local,AngleSharp/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,Livven/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp,zedr0n/AngleSharp.Local,FlorianRappl... | AngleSharp/DOM/Html/Head/HTMLBgsoundElement.cs | AngleSharp/DOM/Html/Head/HTMLBgsoundElement.cs | namespace AngleSharp.DOM.Html
{
using System;
/// <summary>
/// Represents the HTML bgsound element.
/// </summary>
[DomHistorical]
sealed class HTMLBgsoundElement : HTMLElement
{
internal HTMLBgsoundElement()
{
_name = Tags.Bgsound;
}
/// <summ... | namespace AngleSharp.DOM.Html
{
using System;
/// <summary>
/// Represents the HTML bgsound element.
/// </summary>
sealed class HTMLBgsoundElement : HTMLElement
{
internal HTMLBgsoundElement()
{
_name = Tags.Bgsound;
}
/// <summary>
/// Get... | mit | C# |
5a0ae0f4ad899aafa281a1e0e0d26824b9ad2b7b | Fix typo in test message. | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Tests/Noark5/NumberOfArchives.cs | src/Arkivverket.Arkade/Tests/Noark5/NumberOfArchives.cs | using System;
using System.Xml;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Tests.Noark5
{
public class NumberOfArchives : BaseTest
{
public const string AnalysisKeyArchives = "Archives";
public NumberOfArchives(IArchiveContentReader archiveReader) : base(TestType.Content, arch... | using System;
using System.Xml;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Tests.Noark5
{
public class NumberOfArchives : BaseTest
{
public const string AnalysisKeyArchives = "Archives";
public NumberOfArchives(IArchiveContentReader archiveReader) : base(TestType.Content, arch... | agpl-3.0 | C# |
10865457dd21fb95393ff617299b05b37484897c | Use guard statements to reduce deep nesting. | fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,ManufacturingIntelligence/nhibernate-core,lnu/nhibernate-core,ngbrown/nhibernate-core,nkreipke/nhibernate-core,alobakov/nhibernate-core,ManufacturingInt... | src/NHibernate/Linq/Visitors/VisitorUtil.cs | src/NHibernate/Linq/Visitors/VisitorUtil.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Collections;
using NHibernate.Metadata;
using NHibernate.Type;
using System.Reflection;
using System.Collections.ObjectModel;
namespace NHibernate.Linq.Visitors
{
public clas... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Collections;
using NHibernate.Metadata;
using NHibernate.Type;
using System.Reflection;
using System.Collections.ObjectModel;
namespace NHibernate.Linq.Visitors
{
public clas... | lgpl-2.1 | C# |
e7c1f4d738811976d76f8391877a135b906e4b36 | Use UIThreadNormalPriority with logging | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.InlineReviews/PullRequestStatusBarPackage.cs | src/GitHub.InlineReviews/PullRequestStatusBarPackage.cs | using System;
using System.Threading;
using System.Runtime.InteropServices;
using GitHub.Logging;
using GitHub.Services;
using GitHub.VisualStudio;
using GitHub.InlineReviews.Services;
using Microsoft.VisualStudio.Shell;
using Serilog;
using Task = System.Threading.Tasks.Task;
namespace GitHub.InlineReviews
{
[Gu... | using System;
using System.Threading;
using System.Runtime.InteropServices;
using GitHub.Helpers;
using GitHub.Services;
using GitHub.VisualStudio;
using GitHub.InlineReviews.Services;
using Microsoft.VisualStudio.Shell;
using Task = System.Threading.Tasks.Task;
namespace GitHub.InlineReviews
{
[Guid(Guids.PullRe... | mit | C# |
1ef601f57bb65846bd6051e1e28b2e318526a820 | Store sender link name | ehelse/Helsenorge.Messaging | src/Helsenorge.Messaging/ServiceBus/ServiceBusSender.cs | src/Helsenorge.Messaging/ServiceBus/ServiceBusSender.cs | /*
* Copyright (c) 2020, Norsk Helsenett SF and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the MIT license
* available at https://raw.githubusercontent.com/helsenorge/Helsenorge.Messaging/master/LICENSE
*/
using System;
using System.Diagnostics.CodeAnalysis;
using Sy... | /*
* Copyright (c) 2020, Norsk Helsenett SF and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the MIT license
* available at https://raw.githubusercontent.com/helsenorge/Helsenorge.Messaging/master/LICENSE
*/
using System;
using System.Diagnostics.CodeAnalysis;
using Sy... | mit | C# |
99d7572b8882d37785ae5f5b5375051b656c210e | remove saving of assembly | glenndierckx/RequestHandlers,Smartasses/RequestHandlers | src/RequestHandlers.WebApi.Core/ControllersBuilder.cs | src/RequestHandlers.WebApi.Core/ControllersBuilder.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace RequestHandlers.WebApi.Core
{
public class ControllersBuilder
{
public Assembly CreateControllers(Type webApiRequestProcessor, RequestHandlerDefinition[] requestHandlers, WebApiTypes webApiTypes)
{
... | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace RequestHandlers.WebApi.Core
{
public class ControllersBuilder
{
public Assembly CreateControllers(Type webApiRequestProcessor, RequestHandlerDefinition[] requestHandlers, WebApiTypes webApiTypes)
{
... | mit | C# |
0914f05be3d6aa4a4752c8c6c8ef343edde8af9e | Update version info | pveller/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,sergeyshushlyapin/Sitecore.FakeDb | src/Sitecore.FakeDb/Properties/AssemblyVersionInfo.cs | src/Sitecore.FakeDb/Properties/AssemblyVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("0.29.0.0")]
[assembly: AssemblyFileVersion("0.29.0.0")]
[assembly: AssemblyInformationalVersion("0.29.0")] | using System.Reflection;
[assembly: AssemblyVersion("0.28.1.0")]
[assembly: AssemblyFileVersion("0.28.1.0")]
[assembly: AssemblyInformationalVersion("0.28.1")] | mit | C# |
02a8871c8b9f83b5260f127a7a5aac515f188b59 | Fix identifier bug | occar421/OpenTKAnalyzer | src/OpenTKAnalyzer/OpenTKAnalyzer/Utility/Identifier.cs | src/OpenTKAnalyzer/OpenTKAnalyzer/Utility/Identifier.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenTKAnalyzer.Utility
{
static public class Identifier
{
/// <summary>
///... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenTKAnalyzer.Utility
{
static public class Identifier
{
/// <summary>
///... | mit | C# |
b487e00d8da5e2bb7d07697e039dd6c15f89968d | Update CreatedOn or MmodifiedOn properties of tracked entities when saving changes. | vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool | LanguageSchoolApp/LanguageSchoolApp.Data/MsSqlDbContext.cs | LanguageSchoolApp/LanguageSchoolApp.Data/MsSqlDbContext.cs | using LanguageSchoolApp.Data.Model;
using LanguageSchoolApp.Data.Model.Contracts;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LanguageSchoolApp.Data
{... | using LanguageSchoolApp.Data.Model;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LanguageSchoolApp.Data
{
public class MsSqlDbContext : IdentityDbC... | mit | C# |
6553d35620e2f7e12fc627ba49e02deb46c75782 | add short description to store app details data model | babelshift/Steam.Models | src/Steam.Models/SteamStore/StoreAppDetailsDataModel.cs | src/Steam.Models/SteamStore/StoreAppDetailsDataModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Steam.Models.SteamStore
{
public class StoreAppDetailsDataModel
{
public string Type { get; set; }
public string Name { get; set; }
public uin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Steam.Models.SteamStore
{
public class StoreAppDetailsDataModel
{
public string Type { get; set; }
public string Name { get; set; }
public uin... | mit | C# |
d792fb9948cb99a3a0341fac769c2b1cb488eda7 | add comment on removing app_config_detection | BrainCrumbz/NSpec.NetCore,BrainCrumbz/NSpec.NetCore | NSpec/test/Samples/SampleSpecs/Bug/app_config_detection.cs | NSpec/test/Samples/SampleSpecs/Bug/app_config_detection.cs | #if false
// TODO NETCORE appsettings - Probably we could remove this one
// together with appsettings.json: it seems a little bit out of scope
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSpec;
using System.Configuration;
namespace SampleSpecs.Bug
{
class app_con... | #if false
// TODO NETCORE appsettings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NSpec;
using System.Configuration;
namespace SampleSpecs.Bug
{
class app_config_detection : nspec
{
void it_finds_app_config()
{
ConfigurationManager.... | mit | C# |
80f1fcbd7e7fd811a2cd089a24a4470641a6256c | Update LeControllerOpcode.cs | huysentruitw/win-beacon | src/WinBeacon.Stack/Hci/Opcodes/LeControllerOpcode.cs | src/WinBeacon.Stack/Hci/Opcodes/LeControllerOpcode.cs | /*
* Copyright 2015-2016 Huysentruit Wouter
*
* 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... | /*
* Copyright 2015-2016 Huysentruit Wouter
*
* 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... | mit | C# |
e6fe7d81406dfcebe37d748480b69b8d588f9d5d | Update version | Yonom/MultiplayerNom | MultiplayerNom/Properties/AssemblyInfo.cs | MultiplayerNom/Properties/AssemblyInfo.cs | using System.Reflection;
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("MultiplayerNom")]
[assembly: AssemblyDes... | using System.Reflection;
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("MultiplayerNom")]
[assembly: AssemblyDes... | mit | C# |
1c2d213db4741dcfe50d62dbfc39ad17bb867411 | fix unit test | punker76/Markdown-Edit,dsuess/Markdown-Edit,chris84948/Markdown-Edit,mike-ward/Markdown-Edit,Tdue21/Markdown-Edit | src/UnitTests/Models/UtilityTests.cs | src/UnitTests/Models/UtilityTests.cs | using System;
using FluentAssertions;
using MarkdownEdit.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.Models
{
[TestClass]
public class UtilityTests
{
[TestMethod]
public void MemoizeShouldReturnFunction()
{
Func<int, int> func = i => ... | using System;
using FluentAssertions;
using MarkdownEdit.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTests.Models
{
[TestClass]
public class UtilityTests
{
[TestMethod]
public void MemoizeShouldReturnFunction()
{
Func<int, int> func = i => ... | mit | C# |
0470f38fcbf39f532d3b8958b895a620c33055e3 | Update FieldGroupDescriptor.cs | CanadianBeaver/DataViewExtenders | Source/DataDescriptors/FieldGroupDescriptor.cs | Source/DataDescriptors/FieldGroupDescriptor.cs | using System;
using System.Data;
namespace CBComponents.DataDescriptors
{
/// <summary>
/// Width size of column or field
/// </summary>
public enum DataDescriptorSizeWidth : int
{
Smaller = 45,
Small = 90,
Medium = 135,
Normal = 225,
Large = 320,
Larger = 360
}
/// <summary>
... | using System;
using System.Data;
namespace CBComponents.DataDescriptors
{
/// <summary>
/// Width size of column or field
/// </summary>
public enum DataDescriptorSizeWidth : int
{
Smaller = 45,
Small = 90,
Medium = 135,
Normal = 225,
Large = 320,
Larger = 360
}
/// <summary>
... | mit | C# |
1861c69d0c77a8a16672af63bf1cc80da7a0982e | Update index.cshtml | Aleksandrovskaya/apmathclouddif | site/index.cshtml | site/index.cshtml | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | @{
double t_0 = 0;
double t_end = 150;
double step = 0.1;
int N = Convert.ToInt32((t_end-t_0)/step) + 1;
String data = "";
bool show_chart = false;
if (IsPost){
show_chart = true;
var number = Request["text1"];
double xd = number.AsInt();
double t = 0;
double x1 = 0;
double x2 = 0;
d... | mit | C# |
35669b0853b7585fbcda040490f5b40be490abeb | Update TypeCachingKey.cs (#426) | elastacloud/parquet-dotnet | src/Parquet/Serialization/Values/TypeCachingKey.cs | src/Parquet/Serialization/Values/TypeCachingKey.cs | using System;
using System.Collections.Generic;
using System.Text;
using Parquet.Data;
namespace Parquet.Serialization.Values
{
class TypeCachingKey : IEquatable<TypeCachingKey>
{
public TypeCachingKey(Type classType, DataField field)
{
ClassType = classType ?? throw new ArgumentNullExcepti... | using System;
using System.Collections.Generic;
using System.Text;
using Parquet.Data;
namespace Parquet.Serialization.Values
{
class TypeCachingKey : IEquatable<TypeCachingKey>
{
public TypeCachingKey(Type classType, DataField field)
{
ClassType = classType ?? throw new ArgumentNullExcepti... | mit | C# |
3c0da09d0aff36a7047375fa50a6318226bb4139 | Add another subdir | genlu/roslyn,genlu/roslyn,bartdesmet/roslyn,weltkante/roslyn,brettfo/roslyn,agocke/roslyn,stephentoub/roslyn,weltkante/roslyn,stephentoub/roslyn,AlekseyTs/roslyn,tmat/roslyn,diryboy/roslyn,KirillOsenkov/roslyn,tmat/roslyn,jasonmalinowski/roslyn,mavasani/roslyn,dotnet/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,Aleks... | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.cs | src/Workspaces/Core/Portable/Workspace/Host/PersistentStorage/IPersistentStorageLocationService.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.
#nullable enable
using System;
using System.Composition;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.Cod... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#nullable enable
using System;
using System.Composition;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis.Host.Mef;
namespace Microsoft.Cod... | mit | C# |
eb1a149d4027aa4f37a7c0f0dd5feccc6e1ff4dd | Revert "Removed Guid from iOS project" | cschwarz/AppShell,cschwarz/AppShell | src/AppShell.Mobile.iOS/Properties/AssemblyInfo.cs | src/AppShell.Mobile.iOS/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("Ap... | 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("Ap... | mit | C# |
f7079974c45d1abdd64b6b3be8b865abb4f8acb1 | update TotpHelperTest | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | test/WeihanLi.Common.Test/HelpersTest/TotpHelperTest.cs | test/WeihanLi.Common.Test/HelpersTest/TotpHelperTest.cs | using System.Threading;
using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class TotpHelperTest
{
private readonly object _lock = new object();
[Fact]
public void Test()
{
lock (_lock)
{
TotpH... | using System.Threading;
using WeihanLi.Common.Helpers;
using Xunit;
namespace WeihanLi.Common.Test.HelpersTest
{
public class TotpHelperTest
{
[Fact]
public void Test()
{
lock (TotpHelper.ConfigureTotpOptions(options =>
{
options.Salt = null;
... | mit | C# |
77915c933a58e28f1f7029c8a362683324f58261 | Remove not used code | jeffijoe/messageformat.net | src/Jeffijoe.MessageFormat/Formatting/Formatters/PluralRulesMetadata.cs | src/Jeffijoe.MessageFormat/Formatting/Formatters/PluralRulesMetadata.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Jeffijoe.MessageFormat.Formatting.Formatters
{
public static partial class PluralRulesMetadata
{
public static partial bool TryGetRuleByLocale(string locale, out Pluralizer pluralizer);
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace Jeffijoe.MessageFormat.Formatting.Formatters
{
public static partial class PluralRulesMetadata
{
public static string DefaultPluralRule(double number)
{
if(number == 0)
{
return... | mit | C# |
02307143cae118cab71eec07899327caa8161e85 | Remove + cleanup warnings. Refactor pass. | drawcode/game-lib-engine | Engine/BaseEngine.cs | Engine/BaseEngine.cs | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Engine {
public class BaseEngine : BaseEngineObject {
public BaseEngine() {
}
public virtual void Tick(float deltaTime) {
}
}
} | using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
namespace Engine {
public class BaseEngine : BaseEngineObject {
public BaseEngine() {
}
public virtual void Tick(float deltaTime) {
}
}
} | mit | C# |
7e1c2f3d430779851bbdb9e719f39b52d269d5af | Add ToPlanetUpdate method to Planet class | andrii1812/galcon-server,andrii1812/galcon-server,andrii1812/galcon-server,andrii1812/galcon-server | src/Core/Planet.cs | src/Core/Planet.cs | using System;
namespace GalconServer.Core
{
public class Planet
{
public int ID { get; set; }
public Size Size { get; set; }
public double Population { get; set; }
public double X { get; set; }
public double Y { get; set; }
public int Owner { get; set; }
... | using System;
namespace GalconServer.Core
{
public class Planet
{
public int ID { get; set; }
public Size Size { get; set; }
public double Population { get; set; }
public double X { get; set; }
public double Y { get; set; }
public int Owner { get; set; }
... | apache-2.0 | C# |
2f2ee85cdd366f64377835d3bcdd1b89b952996e | Update Maybe functionality | beardgame/utilities | src/Core/Maybe.cs | src/Core/Maybe.cs | using System;
namespace Bearded.Utilities
{
public struct Maybe<T>
{
private readonly bool hasValue;
private readonly T value;
private Maybe(T value)
{
hasValue = true;
this.value = value;
}
public static Maybe<T> Nothing() => new Maybe<... | using System;
namespace Bearded.Utilities
{
public struct Maybe<T>
{
private bool hasValue;
private T value;
private Maybe(T value)
{
hasValue = true;
this.value = value;
}
public static Maybe<T> Nothing() => new Maybe<T>();
pub... | mit | C# |
41b0d13d4ad2dbe5db0140f4753d40bea995f453 | Remove unnecessary call to Trim | magicmonty/pickles,dirkrombauts/pickles,blorgbeard/pickles,magicmonty/pickles,picklesdoc/pickles,picklesdoc/pickles,dirkrombauts/pickles,magicmonty/pickles,blorgbeard/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,blorgbeard/pickles,ludwigjossieaux/pickles,magicmonty/pickles,picklesdoc/pickles,di... | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | src/Pickles/Pickles/ObjectModel/KeywordResolver.cs | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | using System;
using System.Linq;
using AutoMapper;
namespace PicklesDoc.Pickles.ObjectModel
{
public class KeywordResolver : ITypeConverter<string, Keyword>
{
private readonly string language;
public KeywordResolver(string language)
{
this.language = language;
}
... | apache-2.0 | C# |
11a56e9e40770cc282f1ba4161cd11512e0a3745 | Make repository disposable | wilcommerce/Wilcommerce.Core | src/Wilcommerce.Core.Infrastructure/IRepository.cs | src/Wilcommerce.Core.Infrastructure/IRepository.cs | using System;
using System.Threading.Tasks;
namespace Wilcommerce.Core.Infrastructure
{
/// <summary>
/// Represents a generic repository for the aggregate's persistence
/// </summary>
public interface IRepository : IDisposable
{
/// <summary>
/// Add an aggregate to the repository... | using System;
using System.Threading.Tasks;
namespace Wilcommerce.Core.Infrastructure
{
/// <summary>
/// Represents a generic repository for the aggregate's persistence
/// </summary>
public interface IRepository
{
/// <summary>
/// Add an aggregate to the repository
/// <... | mit | C# |
c84a6b436f0c6c5496977b51cc33c1ca269830dc | Stop using context.Configuration. | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/IdentitySample.Mvc/Models/SampleData.cs | samples/IdentitySample.Mvc/Models/SampleData.cs | using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.Data.Entity.SqlServer;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel;
namespace IdentitySample.Models
{
public static class SampleData
{
pu... | using System;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.Data.Entity.SqlServer;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel;
namespace IdentitySample.Models
{
public static class SampleData
{
pu... | apache-2.0 | C# |
7bd29e8de67ff1f973cbd372a8b7f76123b7b9f1 | Refactor ExceptionExtension wrap method | hossmi/qtfk | QTFK.Core/Extensions/Exceptions/ExceptionExtension.cs | QTFK.Core/Extensions/Exceptions/ExceptionExtension.cs | using System;
namespace QTFK.Extensions.Exceptions
{
public static class ExceptionExtension
{
//public static T wrap<T>(this Exception exception, Func<Exception, T> wrapperDelegate) where T : Exception
//{
// T wrappedException;
// Asserts.isNotNull(wrapperDelegate);
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QTFK.Extensions.Exceptions
{
public static class ExceptionExtension
{
public static T wrap<T>(this Exception exception, Func<Exception, T> wrapperDelegate) where T : Exception
... | mit | C# |
9ac14d6757af0a6b08fc30f69e82a6e384538e07 | Add company name to copyright in AssemblyInfo | GlobeBMG/GBMG.Monitoring | source/GBMG.Monitoring/Properties/AssemblyInfo.cs | source/GBMG.Monitoring/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("GB... | 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("GB... | mit | C# |
9b593eeaf51136920863e2340d99000ad223b93f | Remove the 'IgnoreHidden' parameter from ITorrentFileSource | dipeshc/BTDeploy | src/MonoTorrent/MonoTorrent.Common/IFileSource.cs | src/MonoTorrent/MonoTorrent.Common/IFileSource.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Common
{
public interface ITorrentFileSource
{
IEnumerable<FileMapping> Files { get; }
string TorrentName { get; }
}
}
| using System;
using System.Collections.Generic;
using System.Text;
namespace MonoTorrent.Common
{
public interface ITorrentFileSource
{
IEnumerable<FileMapping> Files { get; }
bool IgnoreHidden { get; }
string TorrentName { get; }
}
}
| mit | C# |
584568bceb1439e23b1a328f240a9e6c0b6ec850 | Change Remove function | CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos,zarlo/Cosmos | source/Cosmos.System2/Network/Config/DNSConfig.cs | source/Cosmos.System2/Network/Config/DNSConfig.cs | using Cosmos.System.Network.IPv4;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.System.Network.Config
{
/// <summary>
/// Contains DNS configuration
/// </summary>
public class DNSConfig
{
/// <summary>
/// DNS Addresses list.
/// </sum... | using Cosmos.System.Network.IPv4;
using System;
using System.Collections.Generic;
using System.Text;
namespace Cosmos.System.Network.Config
{
/// <summary>
/// Contains DNS configuration
/// </summary>
public class DNSConfig
{
/// <summary>
/// DNS Addresses list.
/// </sum... | bsd-3-clause | C# |
26a1ea95f45107dd0b1902d652ca5dc64449b9ea | add more integration test for authors endpoint | hirohito-protagonist/dotnet-core-rest | test/BooksLibrary/Tests/Integration/AuthorsTest.cs | test/BooksLibrary/Tests/Integration/AuthorsTest.cs | using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using System.Text;
using Xunit;
using BooksLibrary.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Te... | using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using System.Text;
using Xunit;
using BooksLibrary.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Te... | unlicense | C# |
35f0c13b28367d344f547c60947c5029fd5794b8 | Fix infinity loop bug. | XJINE/Unity3D_ObjectController | Assets/ObjectController/Walker/RandomWalkerInBounds.cs | Assets/ObjectController/Walker/RandomWalkerInBounds.cs | using UnityEngine;
namespace ObjectController
{
/// <summary>
/// Bounds の中を移動する Walker.
/// </summary>
public class RandomWalkerInBounds : Walker
{
#region Field
/// <summary>
/// 移動できる Bounds.
/// </summary>
public BoundsBehaviour[] boundsBehaviours;
... | using UnityEngine;
namespace ObjectController
{
/// <summary>
///
/// </summary>
public class RandomWalkerInBounds : Walker
{
#region Field
/// <summary>
/// 移動する Bounds.
/// </summary>
public BoundsBehaviour[] boundsBehaviours;
/// <summary>
... | bsd-3-clause | C# |
f9a8f568225747be12cdd8eb3c830661a80fbfc7 | Add revenue deduplication test in iOS app | adjust/xamarin_sdk,adjust/xamarin_sdk | iOS/Example/ViewController.cs | iOS/Example/ViewController.cs | using UIKit;
using System;
using AdjustBindingsiOS;
namespace Example
{
public partial class ViewController : UIViewController
{
partial void BtnTrackSimpleEvent_TouchUpInside(UIButton sender)
{
var adjustEvent = ADJEvent.EventWithEventToken("g3mfiw");
Adjust.TrackEvent(adjustEvent);
}
partial void... | using UIKit;
using System;
using AdjustBindingsiOS;
namespace Example
{
public partial class ViewController : UIViewController
{
partial void BtnTrackSimpleEvent_TouchUpInside(UIButton sender)
{
var adjustEvent = ADJEvent.EventWithEventToken("g3mfiw");
Adjust.TrackEvent(adjustEvent);
}
partial void... | mit | C# |
9ce60218c1e9ccc8f138241740396746c46a3221 | Make 'SessionDefaults' fields as Constants | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Session/SessionDefaults.cs | src/Microsoft.AspNet.Session/SessionDefaults.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 System;
namespace Microsoft.AspNet.Session
{
public static class SessionDefaults
{
public static readonly string CookieName = ".A... | // 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 System;
namespace Microsoft.AspNet.Session
{
public static class SessionDefaults
{
public static string CookieName = ".AspNet.Ses... | apache-2.0 | C# |
f9effecf77d942c38a5fd2eb3cdd8f4e1e13ca2e | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | mit | C# |
55752de18c731f0d9ff2ec1e8d7048835d23f629 | Remove an unused using | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server | src/Tgstation.Server.Host/Core/RestartRegistration.cs | src/Tgstation.Server.Host/Core/RestartRegistration.cs | using System;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class RestartRegistration : IRestartRegistration
{
/// <summary>
/// The <see cref="Dispose"/> <see cref="Action"/>
/// </summary>
readonly Action onDispose;
/// <summary>
/// Construct a <see cref="RestartRegistration"/>
... | using System;
using Tgstation.Server.Host.Core;
namespace Tgstation.Server.Host.Core
{
/// <inheritdoc />
sealed class RestartRegistration : IRestartRegistration
{
/// <summary>
/// The <see cref="Dispose"/> <see cref="Action"/>
/// </summary>
readonly Action onDispose;
/// <summary>
/// Construct a <... | agpl-3.0 | C# |
815180c7653a342214bfa644c6ad03bc8b1da8b4 | Add base64 SYSCALLs (#1717) | AntShares/AntShares | src/neo/SmartContract/ApplicationEngine.Binary.cs | src/neo/SmartContract/ApplicationEngine.Binary.cs | using Neo.VM.Types;
using static System.Convert;
namespace Neo.SmartContract
{
partial class ApplicationEngine
{
public static readonly InteropDescriptor System_Binary_Serialize = Register("System.Binary.Serialize", nameof(BinarySerialize), 0_00100000, TriggerType.All, CallFlags.None, true);
pu... | using Neo.VM.Types;
namespace Neo.SmartContract
{
partial class ApplicationEngine
{
public static readonly InteropDescriptor System_Binary_Serialize = Register("System.Binary.Serialize", nameof(BinarySerialize), 0_00100000, TriggerType.All, CallFlags.None, true);
public static readonly InteropD... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.