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 |
|---|---|---|---|---|---|---|---|---|
56f4ed46274e59205c4ab156a3336593f6083774 | Remove dependency to render the fixed path | BlythMeister/Ensconce,BlythMeister/Ensconce,15below/Ensconce,15below/Ensconce | src/Ensconce/TextRendering.cs | src/Ensconce/TextRendering.cs | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5)));
... | using System;
using System.Collections.Generic;
using System.IO;
using FifteenBelow.Deployment.Update;
namespace Ensconce
{
internal static class TextRendering
{
private static readonly Lazy<TagDictionary> LazyTags = new Lazy<TagDictionary>(() => Retry.Do(BuildTagDictionary, TimeSpan.FromSeconds(5)));
... | mit | C# |
429de3f1d757510ca738382b2b4ac172f26d8f55 | Add docs. | jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/... | src/Manos/Manos/IManosPipe.cs | src/Manos/Manos/IManosPipe.cs | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | //
// Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use,... | mit | C# |
b76e5757e17100c171df813235dc43d104e52c04 | Fix `InSelectedCollection` not being applied to newly imported beatmaps | ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/Overlays/Music/Playlist.cs | osu.Game/Overlays/Music/Playlist.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Beatmaps;
using osu... | // 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.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.... | mit | C# |
824699d0dfa124bad457b3389e28f823c465ce4d | Update StaticCoroutine.cs | proyecto26/RestClient | src/Proyecto26.RestClient/Utils/StaticCoroutine.cs | src/Proyecto26.RestClient/Utils/StaticCoroutine.cs | using UnityEngine;
using System.Collections;
namespace Proyecto26
{
public static class StaticCoroutine
{
private class CoroutineHolder : MonoBehaviour { }
private static CoroutineHolder _runner;
private static CoroutineHolder runner
{
get
{
... | using UnityEngine;
using System.Collections;
namespace Proyecto26
{
public static class StaticCoroutine
{
private class CoroutineHolder : MonoBehaviour { }
private static CoroutineHolder _runner;
private static CoroutineHolder runner
{
get
{
... | mit | C# |
bdc46b2c370cc823c218c1ac7d35aa5d703dfa09 | Revert "unit test bug fix" | OBeautifulCode/OBeautifulCode.Serialization | OBeautifulCode.Serialization.Test/SerializationDummyFactory.cs | OBeautifulCode.Serialization.Test/SerializationDummyFactory.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationDummyFactory.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet pac... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationDummyFactory.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// <auto-generated>
// Sourced from NuGet pac... | mit | C# |
1217a44bc3c477d96657e6a6850c5c1833ad106a | use StringTokenizer to parse PointsList | SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,akrisiun/Perspex,grokys/Perspex,grokys/Perspex,SuperJMN/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI... | src/Markup/Avalonia.Markup.Xaml/Converters/PointsListTypeConverter.cs | src/Markup/Avalonia.Markup.Xaml/Converters/PointsListTypeConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Avalonia.Markup.Xaml.Converters
{
using System.ComponentModel;
using Avalonia.Utilities;
public class PointsListTypeConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext conte... | using System;
using System.Collections.Generic;
using System.Globalization;
namespace Avalonia.Markup.Xaml.Converters
{
using System.ComponentModel;
public class PointsListTypeConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{... | mit | C# |
596c59b42ad5a1f9ff60d776310921a6f490e8d4 | Fix TitlePart hints and improve wording. (#7610) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2 | src/OrchardCore.Modules/OrchardCore.Title/Views/TitlePart.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.Title/Views/TitlePart.Edit.cshtml | @model TitlePartViewModel
@using OrchardCore.ContentLocalization
@using OrchardCore.Localization
@using OrchardCore.Title.Models
@using OrchardCore.Title.ViewModels;
@{
var culture = await Orchard.GetContentCultureAsync(Model.TitlePart.ContentItem);
}
@if (Model.Settings?.Options != TitlePartOptions.GeneratedHidde... | @model TitlePartViewModel
@using OrchardCore.ContentLocalization
@using OrchardCore.Localization
@using OrchardCore.Title.Models
@using OrchardCore.Title.ViewModels;
@{
var culture = await Orchard.GetContentCultureAsync(Model.TitlePart.ContentItem);
}
@if (Model.Settings?.Options != TitlePartOptions.GeneratedHidde... | bsd-3-clause | C# |
646ddb2134f118877e486c523cf6fd76b55f0fe2 | Remove method that has moved to AppConfig. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | tests/SideBySide/TestUtilities.cs | tests/SideBySide/TestUtilities.cs | using System.Diagnostics;
using Xunit;
namespace SideBySide
{
public class TestUtilities
{
/// <summary>
/// Asserts that two byte arrays are equal. This method is much faster than xUnit's <code>Assert.Equal</code>.
/// </summary>
/// <param name="expected">The expected byte array.</param>
/// <param name... | using System;
using System.Diagnostics;
using System.Globalization;
using Xunit;
namespace SideBySide
{
public class TestUtilities
{
/// <summary>
/// Asserts that two byte arrays are equal. This method is much faster than xUnit's <code>Assert.Equal</code>.
/// </summary>
/// <param name="expected">The expe... | mit | C# |
cd087e86d4c62f10ca6375cf1a820ef7c80113ce | Add empty constructor for files that don't have a comment yet. | archrival/taglib-sharp,punker76/taglib-sharp,hwahrmann/taglib-sharp,Clancey/taglib-sharp,CamargoR/taglib-sharp,mono/taglib-sharp,punker76/taglib-sharp,Clancey/taglib-sharp,archrival/taglib-sharp,CamargoR/taglib-sharp,hwahrmann/taglib-sharp,Clancey/taglib-sharp | tests/fixtures/TagLib.Tests.Images/Validators/CommentModificationValidator.cs | tests/fixtures/TagLib.Tests.Images/Validators/CommentModificationValidator.cs | using System;
using NUnit.Framework;
namespace TagLib.Tests.Images.Validators
{
/// <summary>
/// This class tests the modification of the Comment field,
/// regardless of which metadata format is used.
/// </summary>
public class CommentModificationValidator : IMetadataModificationValidator
{
string ori... | using NUnit.Framework;
namespace TagLib.Tests.Images.Validators
{
/// <summary>
/// This class tests the modification of the Comment field,
/// regardless of which metadata format is used.
/// </summary>
public class CommentModificationValidator : IMetadataModificationValidator
{
string orig_comment;
r... | lgpl-2.1 | C# |
6325b2d185e9e9b7ca0ad0950057d466dbfab18b | Update AssemblyInfo.cs | ogaudefroy/Microsoft.AnalysisServices.AdomdClient.Abstractions | Microsoft.AnalysisServices.AdomdClient.Abstractions/Properties/AssemblyInfo.cs | Microsoft.AnalysisServices.AdomdClient.Abstractions/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft.AnalysisServices.AdomdClient.Abstractions")]
[assembly: AssemblyDescription("Set of abstraction classes for AdomdClient")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Olivier GAUDEFROY, Arnau... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Microsoft.AnalysisServices.AdomdClient.Abstractions")]
[assembly: AssemblyDescription("Set of abstraction classes for AdomdClient")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Olivier GAUDEFROY, Arnau... | mit | C# |
ba1884aacb313393ea6eb48c6700b2c4582da599 | Make wait service not timeout without yelling, and making the timeout longer | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | test/WebSites/RazorWebSite/Services/WaitService.cs | test/WebSites/RazorWebSite/Services/WaitService.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
namespace RazorWebSite
{
public class WaitService
{
private static readonly Tim... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading;
namespace RazorWebSite
{
public class WaitService
{
private static readonly Tim... | apache-2.0 | C# |
a69ad2cb53b6c099e8baca375e76157a55417e2f | Fix sim.exe url | Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager,dsolovay/Sitecore-Instance-Manager | src/SIM.Tool.Windows/MainWindowComponents/CommandLineButton.cs | src/SIM.Tool.Windows/MainWindowComponents/CommandLineButton.cs | namespace SIM.Tool.Windows.MainWindowComponents
{
using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using SIM.Tool.Base;
using Sitecore.Diagnostics.Base.Annotations;
using SIM.Core.Common;
using SIM.Instances;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public clas... | namespace SIM.Tool.Windows.MainWindowComponents
{
using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using SIM.Tool.Base;
using Sitecore.Diagnostics.Base.Annotations;
using SIM.Core.Common;
using SIM.Instances;
using SIM.Tool.Base.Plugins;
[UsedImplicitly]
public clas... | mit | C# |
6814e5cce328866a3cb6e3ed427b2e37b1798c0a | Enable TLS 1.2 support | datalust/seq-forwarder | src/Seq.Forwarder/ServiceProcess/SeqForwarderWindowsService.cs | src/Seq.Forwarder/ServiceProcess/SeqForwarderWindowsService.cs | // Copyright 2016-2017 Datalust Pty Ltd
//
// 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 2016-2017 Datalust Pty Ltd
//
// 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# |
3e5b1f2da78b4b1ef92ad170cae50a35759a7183 | Update Parse for ReadOnly FileAccess (#876) | cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber,cucumber/cucumber | gherkin/dotnet/Gherkin/Parser.Extensions.cs | gherkin/dotnet/Gherkin/Parser.Extensions.cs | using System.IO;
using Gherkin.Ast;
namespace Gherkin
{
public class Parser : Parser<GherkinDocument>
{
public Parser()
{
}
public Parser(IAstBuilder<GherkinDocument> astBuilder)
: base(astBuilder)
{
}
public GherkinDocument... | using System.IO;
using Gherkin.Ast;
namespace Gherkin
{
public class Parser : Parser<GherkinDocument>
{
public Parser()
{
}
public Parser(IAstBuilder<GherkinDocument> astBuilder)
: base(astBuilder)
{
}
public GherkinDocument... | mit | C# |
2dfb9258adffe6e655078a5c43b5084616aab76f | add missing initialiser for Errors property in UnauthorizedException | seekasia-oss/jobstreet-ad-posting-api-client | src/SEEK.AdPostingApi.Client/UnauthorizedException.cs | src/SEEK.AdPostingApi.Client/UnauthorizedException.cs | using System;
using System.Runtime.Serialization;
using SEEK.AdPostingApi.Client.Models;
namespace SEEK.AdPostingApi.Client
{
[Serializable]
public class UnauthorizedException : RequestException
{
public UnauthorizedException(string requestId, int httpStatusCode, string message) : base(requestId, ... | using System;
using System.Runtime.Serialization;
using SEEK.AdPostingApi.Client.Models;
namespace SEEK.AdPostingApi.Client
{
[Serializable]
public class UnauthorizedException : RequestException
{
public UnauthorizedException(string requestId, int httpStatusCode, string message) : base(requestId, ... | mit | C# |
2157e076548f2e0de26df0233ad662f1da73b30a | Support for special characters and new line in C# comments. | frhagn/Typewriter | src/Typewriter/CodeModel/Implementation/DocComment.cs | src/Typewriter/CodeModel/Implementation/DocComment.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Typewriter.CodeModel.Collections;
namespace Typewriter.CodeModel.Implementation
{
public class DocCommentImpl : DocComment
{
private readonly XElement _root;
private DocCommentImpl(XElement root, Item parent)
... | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Typewriter.CodeModel.Collections;
namespace Typewriter.CodeModel.Implementation
{
public class DocCommentImpl : DocComment
{
private readonly XElement _root;
private DocCommentImpl(XElement root, Item parent)
... | apache-2.0 | C# |
acad1fefc18948dd7fb267a1d1b62b83f64395f5 | Fix typo | drussilla/HomeMetrics | HomeMetrics.Collector/src/HomeMetrics.Collector.API/Controllers/SensorController.cs | HomeMetrics.Collector/src/HomeMetrics.Collector.API/Controllers/SensorController.cs | using HomeMetrics.Collector.DAL.Models;
using HomeMetrics.Collector.DAL.Repositories;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging;
namespace HomeMetrics.Collector.API.Controllers
{
[Route("api/sensor")]
public class SensorController : APIController
{
private readonly ILogger<Sen... | using HomeMetrics.Collector.DAL.Models;
using HomeMetrics.Collector.DAL.Repositories;
using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging;
namespace HomeMetrics.Collector.API.Controllers
{
[Route("api/sensor")]
public class SensorController : APIController
{
private readonly ILogger<Rea... | mit | C# |
77791f606e571ebe112ca891d3d8ac69c1d0c238 | Fix caption of Python Environments window. | fjxhkj/PTVS,crwilcox/PTVS,fivejjs/PTVS,int19h/PTVS,mlorbetske/PTVS,msunardi/PTVS,modulexcite/PTVS,MetSystem/PTVS,Habatchii/PTVS,gomiero/PTVS,jkorell/PTVS,Microsoft/PTVS,Habatchii/PTVS,huguesv/PTVS,DEVSENSE/PTVS,alanch-ms/PTVS,denfromufa/PTVS,jkorell/PTVS,alanch-ms/PTVS,gilbertw/PTVS,modulexcite/PTVS,juanyaw/PTVS,Micros... | Python/Product/PythonTools/PythonTools/InterpreterList/InterpreterListToolWindow.cs | Python/Product/PythonTools/PythonTools/InterpreterList/InterpreterListToolWindow.cs | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... | apache-2.0 | C# |
5c1c5d1d71814f0abe533e705592b7ec36788b59 | fix for upsate-database in VS | sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp,sachatrauwaen/OpenApp | src/Satrabel.Starter.Web.Spa/EntityFramework/WebContentFolderHelper.cs | src/Satrabel.Starter.Web.Spa/EntityFramework/WebContentFolderHelper.cs | using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
using Satrabel.OpenApp;
using Satrabel.Starter.Web.Startup;
namespace Satrabel.Starter.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework ... | using System;
using System.IO;
using System.Linq;
using Abp.Reflection.Extensions;
using Satrabel.OpenApp;
namespace Satrabel.Starter.Web
{
/// <summary>
/// This class is used to find root path of the web project in;
/// unit tests (to find views) and entity framework core command line commands (to find ... | mit | C# |
62150e9b539a48fcc0d5e2055d8cdb11f297e6eb | Unwind some Linq in a relatively hot path | robinsedlaczek/roslyn,zooba/roslyn,jeffanders/roslyn,OmarTawfik/roslyn,ljw1004/roslyn,heejaechang/roslyn,mattscheffer/roslyn,KevinH-MS/roslyn,MattWindsor91/roslyn,DustinCampbell/roslyn,CaptainHayashi/roslyn,CaptainHayashi/roslyn,TyOverby/roslyn,davkean/roslyn,jamesqo/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,xasx/r... | src/Workspaces/Core/Portable/Shared/Extensions/SymbolInfoExtensions.cs | src/Workspaces/Core/Portable/Shared/Extensions/SymbolInfoExtensions.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.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Shared.Extension... | // 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.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.Shared.Extension... | apache-2.0 | C# |
d21eccf405481710b17638764f062cfe8117d278 | Use GetFileFromApplicationUriAsync to convert from a Uri to a system file path. | phongcao/image-pipeline-windows,phongcao/image-pipeline-windows,phongcao/image-pipeline-windows,phongcao/image-pipeline-windows | ImagePipeline/ImagePipeline/Producers/LocalFileFetchProducer.cs | ImagePipeline/ImagePipeline/Producers/LocalFileFetchProducer.cs | using FBCore.Concurrency;
using ImagePipeline.Image;
using ImagePipeline.Memory;
using ImagePipeline.Request;
using System;
using System.IO;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Storage;
namespace ImagePipeline.Producers
{
/// <summary>
/// Represents a local file fetch produc... | using FBCore.Concurrency;
using ImagePipeline.Image;
using ImagePipeline.Memory;
using ImagePipeline.Request;
using System.IO;
using System.Threading.Tasks;
namespace ImagePipeline.Producers
{
/// <summary>
/// Represents a local file fetch producer.
/// </summary>
public class LocalFileFetchProducer ... | mit | C# |
bf85907167fee1191755c110a7207e467b070fbc | Remove whitespace | pikkpoiss/ld36,pikkpoiss/ld36,pikkpoiss/ld36 | Assets/Scripts/Dialogue.cs | Assets/Scripts/Dialogue.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Yarn.Unity;
public class Dialogue : MonoBehaviour {
public DialogueStorage storage;
public DialogueUI ui;
private Dictionary<string, BitmaskPuzzle> puzzles_;
private void Awake() {
puzzles_ = new Dictionary<string, Bitm... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Yarn.Unity;
public class Dialogue : MonoBehaviour {
public DialogueStorage storage;
public DialogueUI ui;
private Dictionary<string, BitmaskPuzzle> puzzles_;
private void Awake() {
puzzles_ = new Dictionary<string, Bitm... | apache-2.0 | C# |
b60a2d70fc03a7c11d0b86391c6980588708f943 | Move event outside of lock | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Blockchain/Analysis/FeesEstimation/FeeProviders.cs | WalletWasabi/Blockchain/Analysis/FeesEstimation/FeeProviders.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace WalletWasabi.Blockchain.Analysis.FeesEstimation
{
public class FeeProviders : IFeeProvider, IDisposable
{
public FeeProviders(IEnumerable<IFeeProvider> feeProviders)
{
Providers = feeProviders;
Lock = new object();
SetAllFeeEs... | using System;
using System.Collections.Generic;
using System.Linq;
namespace WalletWasabi.Blockchain.Analysis.FeesEstimation
{
public class FeeProviders : IFeeProvider, IDisposable
{
private AllFeeEstimate _allFeeEstimate;
public FeeProviders(IEnumerable<IFeeProvider> feeProviders)
{
Providers = feeProvide... | mit | C# |
31d75a9b3ccc7285aea39c4d1d1814358e7ae532 | Fix intermittent tests | Ampla/Ampla-Log-Reader | src/Ampla.LogReader.Tests/EventLogs/EventLogReaderUnitTests.cs | src/Ampla.LogReader.Tests/EventLogs/EventLogReaderUnitTests.cs | using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
namespace Ampla.LogReader.EventLogs
{
[TestFixture]
public class EventLogReaderUnitTests : TestFixture
{
[Test]
public void ReadEntries()
{
ILocalEventLogSystem eventLogSystem = new LocalEventLogSystem(... | using System.Diagnostics;
using System.Linq;
using NUnit.Framework;
namespace Ampla.LogReader.EventLogs
{
[TestFixture]
public class EventLogReaderUnitTests : TestFixture
{
[Test]
public void ReadEntries()
{
ILocalEventLogSystem eventLogSystem = new LocalEventLogSystem(... | mit | C# |
9b62b50c2f09a36335eb4a431d2bcf9a112b338f | Update AlphaStreamsSlippageModel.cs | StefanoRaggi/Lean,QuantConnect/Lean,AlexCatarino/Lean,AlexCatarino/Lean,JKarathiya/Lean,QuantConnect/Lean,JKarathiya/Lean,StefanoRaggi/Lean,JKarathiya/Lean,StefanoRaggi/Lean,JKarathiya/Lean,jameschch/Lean,QuantConnect/Lean,QuantConnect/Lean,jameschch/Lean,jameschch/Lean,jameschch/Lean,StefanoRaggi/Lean,AlexCatarino/Lea... | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | Common/Orders/Slippage/AlphaStreamsSlippageModel.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... | apache-2.0 | C# |
8c64d6d0d85bf69c1ae479a9b2bce4bc28d5c3d3 | Change comment. | AeonLucid/CHIP-8_Emulator | CHIP-8_Emulator/Program.cs | CHIP-8_Emulator/Program.cs | using CHIP_8_Emulator.Chip;
namespace CHIP_8_Emulator
{
internal static class Program
{
private static void Main(string[] args)
{
using (var game = new ChipWindow())
{
game.Run(60); // 60 Hz
}
}
}
}
| using CHIP_8_Emulator.Chip;
namespace CHIP_8_Emulator
{
internal static class Program
{
private static void Main(string[] args)
{
using (var game = new ChipWindow())
{
game.Run(60); // 30 Hz
}
}
}
}
| mit | C# |
6d7a44c3621de6244822bfa915867979b77c8398 | Fix a bug taht causes the GetChildNode method to return null references. | nohros/must,nohros/must,nohros/must | src/base/common/configuration/common/provider/ProvidersNode.cs | src/base/common/configuration/common/provider/ProvidersNode.cs | using System;
using System.Collections;
using System.Collections.Generic;
namespace Nohros.Configuration
{
/// <summary>
/// A <see cref="ProvidersNode"/> is a collection of
/// <see cref="ProviderNode"/> objects.
/// </summary>
public partial class ProvidersNode : AbstractHierarchicalConfiguratio... | using System;
using System.Collections;
using System.Collections.Generic;
namespace Nohros.Configuration
{
/// <summary>
/// A <see cref="ProvidersNode"/> is a collection of
/// <see cref="ProviderNode"/> objects.
/// </summary>
public partial class ProvidersNode : AbstractHierarchicalConfiguratio... | mit | C# |
45e0e9e7890f68c864c6b54511265d3754c46605 | Correct title | damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,damianh/SqlStreamStore,SQLStreamStore/SQLStreamStore | src/SqlStreamStore/Properties/AssemblyInfo.cs | src/SqlStreamStore/Properties/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("SqlStreamStore")]
[assembly: AssemblyDescription("")]
| using System.Reflection;
[assembly: AssemblyTitle("StreamStore")]
[assembly: AssemblyDescription("")] | mit | C# |
98b25f126f1a0a10df3aa6556e1c24ff05402926 | fix mono build | rob-somerville/riak-dotnet-client,basho/riak-dotnet-client,rob-somerville/riak-dotnet-client,basho/riak-dotnet-client | src/Test/Integration/KV/FetchPreflistTests.cs | src/Test/Integration/KV/FetchPreflistTests.cs | // <copyright file="FetchPreflistTests.cs" company="Basho Technologies, Inc.">
// Copyright 2015 - Basho Technologies, Inc.
//
// This file is provided to you 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 Li... | // <copyright file="FetchPreflistTests.cs" company="Basho Technologies, Inc.">
// Copyright 2015 - Basho Technologies, Inc.
//
// This file is provided to you 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 Li... | apache-2.0 | C# |
26f9b88b1292e64e0bc09e3f2f14809c93b05132 | Refactor validator | mikemajesty/coolvalidator | CoolValidator/Validator.cs | CoolValidator/Validator.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace CoolValidator
{
public static class formValidator
{
public static List<TextBox> GetTextBoxInComponent<T>(this Form form, Func<TextBox, bool> predicate = null)
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace CoolValidator
{
public static class formValidator
{
public static List<TextBox> GetTextBoxInComponent<T>(this Form form, Func<TextBox, bool> predicate = null)
... | mit | C# |
cec143044d2626439569e9aad583515556114616 | Update NumberFormatting.cs | keith-hall/Extensions,keith-hall/Extensions | src/NumberFormatting.cs | src/NumberFormatting.cs | namespace HallLibrary.Extensions
{
public static class NumberFormatting
{
private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture
private static readonly Regex _thousands = new Regex(@"(?<=\d)(... | namespace HallLibrary.Extensions
{
public static class NumberFormatting
{
private static readonly Regex _number = new Regex(@"^-?\d+(?:" + _defaultDecimalSeparatorForRegex + @"\d+)?$"); // TODO: replace dot with decimal separator from current culture
private static readonly Regex _thousands = new Regex(@"(?<=\d)(... | apache-2.0 | C# |
e7cee3c63a97f7c1055040114b6b3faca1481bcf | Increment version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/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# |
458255e7176b0bb6094703314fdd5a60b4ac04bc | Add comment, why check was removed | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Rider/CodeInsights/AbstractUnityCodeInsightProvider.cs | resharper/resharper-unity/src/Rider/CodeInsights/AbstractUnityCodeInsightProvider.cs | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.GotoByName;
using JetBrains.Application.UI.PopupLayout;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CodeInsights;
using JetBrains.ReSharper.Host.Features.TextControls;
using JetBrains.ReSha... | using System.Collections.Generic;
using JetBrains.Application.UI.Controls.GotoByName;
using JetBrains.Application.UI.PopupLayout;
using JetBrains.Collections.Viewable;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon.CodeInsights;
using JetBrains.ReSharper.Host.Features.TextControls;
using JetBrains.ReSha... | apache-2.0 | C# |
84b2874e8c22bbf4bd944fa5d76408b8ecdda461 | Use RunClassConstructor to initialize templates | sebastienros/fluid | Fluid/BaseFluidTemplate.cs | Fluid/BaseFluidTemplate.cs | using System.Collections.Generic;
using System.IO;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Fluid.Ast;
namespace Fluid
{
public class BaseFluidTemplate<T> : IFluidTemplate where T : IFluidTemplate, new()
{
static BaseFluidTemplate()
{
// Necessary to for... | using System.Collections.Generic;
using System.IO;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Fluid.Ast;
namespace Fluid
{
public class BaseFluidTemplate<T> : IFluidTemplate where T : IFluidTemplate, new()
{
static BaseFluidTemplate()
{
// Necessary to for... | mit | C# |
eba668d14acb981156312c62f5beafe796f0409f | Make Greeter sample calls more obvious (#208) | grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet,grpc/grpc-dotnet | examples/Clients/Greeter/Program.cs | examples/Clients/Greeter/Program.cs | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | #region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... | apache-2.0 | C# |
ee974c25411677a20a78fb0e617a9a3dc84c31d9 | Improve git manipulator. | exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests | ParserTests/Git.cs | ParserTests/Git.cs | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | #region License
// Copyright (C) 2011-2014 Kazunori Sakamoto
//
// 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 require... | apache-2.0 | C# |
1c80e1db711b767c28c8a0a3a4ca636372b16324 | update client so that it can return unit-based leave categories | KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet | src/keypay-dotnet/Enums/LeaveAllowanceUnit.cs | src/keypay-dotnet/Enums/LeaveAllowanceUnit.cs | namespace KeyPay.Enums
{
public enum LeaveAllowanceUnit
{
Days = 1,
Weeks = 2,
HoursPerHourWorked = 3,
HoursPerPayRun = 4,
StandardDays = 5,
StandardWeeks = 6,
}
} | namespace KeyPay.Enums
{
public enum LeaveAllowanceUnit
{
Days = 1,
Weeks = 2,
HoursPerHourWorked = 3,
HoursPerPayRun = 4
}
} | mit | C# |
c92759f3ae2436a62986b2847e0e5907733d94cc | Update flags | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/SDK/Experimental/Dialog/Scripts/DialogButtonType.cs | Assets/MRTK/SDK/Experimental/Dialog/Scripts/DialogButtonType.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Experimental.Dialog
{
/// ... | //
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Experimental.Dialog
{
... | mit | C# |
e6e600ab4181ed6a78aa444de5cfafa8fc67eaa5 | Add optimizations to problem 10 | PlamenNeshkov/Advanced-CSharp | BasicDataStructures/10.PythagoreanNumbers/PythagoreanNumbers.cs | BasicDataStructures/10.PythagoreanNumbers/PythagoreanNumbers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.PythagoreanNumbers
{
class PythagoreanNumbers
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[] nums = new in... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.PythagoreanNumbers
{
class PythagoreanNumbers
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int[] nums = new in... | mit | C# |
6124aa232f587f5a0129b032c3b73da89b40b109 | Modify default TimestampPolicy. | ilya-chumakov/LoggingAdvanced | Bodrocode.LoggingAdvanced.Console/Timestamps/TimestampPolicy.cs | Bodrocode.LoggingAdvanced.Console/Timestamps/TimestampPolicy.cs | namespace Bodrocode.LoggingAdvanced.Console.Timestamps
{
public class TimestampPolicy
{
public TimestampPolicy()
{
Format = "yyyy.MM.dd HH:mm:ss";
TimeZone = "Local";
}
/// <summary>
/// Custom output format https://docs.microsoft.com/en-us/dotnet... | namespace Bodrocode.LoggingAdvanced.Console.Timestamps
{
public class TimestampPolicy
{
public TimestampPolicy()
{
Format = null;
TimeZone = "Local";
}
/// <summary>
/// Custom output format https://docs.microsoft.com/en-us/dotnet/standard/base-ty... | apache-2.0 | C# |
4d306ef837884ea75337a5ea80e68e50e8e1a6be | Add comments and clean up code. | peppy/osu,smoogipoo/osu,ppy/osu,naoey/osu,peppy/osu-new,johnneijzen/osu,peppy/osu,ppy/osu,naoey/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,naoey/osu,ZLima12/osu,smoogipooo/osu,NeoAdonis/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,... | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Osu.Objects;
using OpenTK;
namespace osu.Game.Rulesets.Osu.Mods
... | using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Objects.Drawables;
using osu.Game.Rulesets.Osu.Objects;
using OpenTK;
namespace osu.Game.Rulesets.Osu.Mods
... | mit | C# |
cfefea75ac9988771214be1ab18eeaf5589dac49 | Support Base64 (1) | codetuner/Arebis.Common | Arebis.Common/Arebis/Numerics/SymbolicNumeralSystem.cs | Arebis.Common/Arebis/Numerics/SymbolicNumeralSystem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Arebis.Numerics
{
/// <summary>
/// Base class for numeral systems that have symbols to represent unitary values.
/// </summary>
[DataContra... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Arebis.Numerics
{
/// <summary>
/// Base class for numeral systems that have symbols to represent unitary values.
/// </summary>
[DataContra... | mit | C# |
aefbbad423132dfa26c0264c4491acbd79c61a70 | Add missed paren in comment. | ViktorHofer/corefx,n1ghtmare/corefx,KrisLee/corefx,larsbj1988/corefx,rjxby/corefx,vidhya-bv/corefx-sorting,CherryCxldn/corefx,tijoytom/corefx,Frank125/corefx,cydhaselton/corefx,huanjie/corefx,DnlHarvey/corefx,parjong/corefx,PatrickMcDonald/corefx,fernando-rodriguez/corefx,n1ghtmare/corefx,benpye/corefx,the-dwyer/corefx... | src/System.Diagnostics.Process/tests/ProcessTest_ConsoleApp/ProcessTest_ConsoleApp.cs | src/System.Diagnostics.Process/tests/ProcessTest_ConsoleApp/ProcessTest_ConsoleApp.cs | using System;
using System.Threading;
namespace ProcessTest_ConsoleApp
{
class Program
{
static int Main(string[] args)
{
try
{
if (args.Length > 0)
{
if (args[0].Equals("infinite"))
{
... | using System;
using System.Threading;
namespace ProcessTest_ConsoleApp
{
class Program
{
static int Main(string[] args)
{
try
{
if (args.Length > 0)
{
if (args[0].Equals("infinite"))
{
... | mit | C# |
507e3182b011bf8ffded0e0d7d9546bff8cad4cf | Update the interfaces for authentication. | IvionSauce/MeidoBot | MeidoCommon/MeidoCommon.cs | MeidoCommon/MeidoCommon.cs | using System;
using System.Collections.Generic;
namespace MeidoCommon
{
public interface IMeidoHook
{
// Things the plugin provides us with.
string Name { get; }
string Version { get; }
Dictionary<string, string> Help { get; }
// Things we provide to the plugin.
... | using System;
using System.Collections.Generic;
namespace MeidoCommon
{
public interface IMeidoHook
{
// Things the plugin provides us with.
string Name { get; }
string Version { get; }
Dictionary<string, string> Help { get; }
// Things we provide to the plugin.
... | bsd-2-clause | C# |
6c6da8f11f5df72c22c844c224845db1d8970d57 | Remove whitespace | EightBitBoy/EcoRealms | Assets/Scripts/Map/GridRenderer.cs | Assets/Scripts/Map/GridRenderer.cs | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class GridRenderer : MonoBehaviour {
private const float WIDTH = 0.05f;
private const float HEIGHT = 0.05f;
private int linesX;
private int linesY;
private Material material;
public void Setup(int chunksX, int chunksY, int... | using UnityEngine;
using System.Collections;
namespace ecorealms.map {
public class GridRenderer : MonoBehaviour {
private const float WIDTH = 0.05f;
private const float HEIGHT = 0.05f;
private int linesX;
private int linesY;
private Material material;
public void Setup(int chunksX, int chunksY, int... | apache-2.0 | C# |
5f2f1b6a9a1c3c15d57e78591a4aa66c42a07fee | Use UpdateScheduler in MethodCommand | michaellperry/Assisticant | Assisticant/Metas/MethodCommand.cs | Assisticant/Metas/MethodCommand.cs | using Assisticant.Fields;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Assisticant.Metas
{
public class MethodCommand : ICommand
{
public readonly object Instance;
... | using Assisticant.Fields;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Assisticant.Metas
{
public class MethodCommand : ICommand
{
public readonly object Instance;
... | mit | C# |
2df0a19ad4a79e3da1c151ad702ca844b05e1cd5 | Update Version | AyrA/BinSend | BinSend/Properties/AssemblyInfo.cs | BinSend/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("BinSend")]
[assembly: AssemblyDescription... | 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("BinSend")]
[assembly: AssemblyDescription... | unlicense | C# |
09c25267add44dd31d6c04cd006044529021d95b | update solution version | gigya/microdot | SolutionVersion.cs | SolutionVersion.cs | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | #region Copyright
// Copyright 2017 Gigya Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// THIS... | apache-2.0 | C# |
22bfb7c262ea123f491b936e005df4f0bc114402 | Increase min version (#232) | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetworkProvider.Chaincoin.cs | NBXplorer.Client/NBXplorerNetworkProvider.Chaincoin.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitChaincoin(NetworkType networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Chaincoin.Instance, networkType)
{
MinRPCVersion = 1... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitChaincoin(NetworkType networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Chaincoin.Instance, networkType)
{
MinRPCVersion = 1... | mit | C# |
4dbebc4cda6ebda30432d00f180e2e396c30162e | Use array instead of switch statement | CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/AlphabetNumbersComponentSolver.cs | TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/AlphabetNumbersComponentSolver.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class AlphabetNumbersComponentSolver : ComponentSolver
{
public AlphabetNumbersComponentSolver(BombCommander bombCommander, BombComponent bombComponent)
: base (bombCommander, bombComponent)
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class AlphabetNumbersComponentSolver : ComponentSolver
{
public AlphabetNumbersComponentSolver(BombCommander bombCommander, BombComponent bombComponent)
: base (bombCommander, bombComponent)
{
... | mit | C# |
79405209985af59f0a9ac06e1284e3a7e26c7346 | fix #257 - writewitoutresponse shouldn't be swapping to write when unavailable. Stub comment IsReadyToWrite implementation for later date | aritchie/bluetoothle,aritchie/bluetoothle | Plugin.BluetoothLE/Platforms/iOS/GattCharacteristic.cs | Plugin.BluetoothLE/Platforms/iOS/GattCharacteristic.cs | using System;
using System.Reactive.Linq;
using CoreBluetooth;
using Foundation;
namespace Plugin.BluetoothLE
{
public partial class GattCharacteristic : AbstractGattCharacteristic
{
public override IObservable<CharacteristicGattResult> WriteWithoutResponse(byte[] value)
{
var dat... | using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Acr.Reactive;
using CoreBluetooth;
using Foundation;
using UIKit;
namespace Plugin.BluetoothLE
{
public partial class GattCharacteristic : AbstractGattCharacteristic
{
public override IObservable<CharacteristicGattResu... | mit | C# |
dccea72e30c4a719d0f7dd3705a4103e79a5cabd | Bump version to 0.3.4 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
// 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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Resources;
// 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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
541c66e2023d50dda5c8b6bfce391a9e68f5b6e2 | bump version to v1.2 | micdenny/PRTG-Redis-Sensor,cdemi/PRTG-Redis-Sensor | Properties/AssemblyInfo.cs | 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("PR... | 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("PR... | mit | C# |
00860fe1a64f58b7fd56babcad0fd3f18ea82dad | update copyright | jordanbtucker/NS84.Syndication.Atom,ArsenShnurkov/NS84.Syndication.Atom | Properties/AssemblyInfo.cs | 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("Ner... | 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("Ne... | mit | C# |
629ecdb9e770f55f6d5a1e81d4b41f191f96ddfa | improve RabbitEventSource to use single deserializing sequence | svtz/homeControl,svtz/homeControl,livingLegend/homeControl | src/homeControl.Interop.Rabbit/RabbitEventSource.cs | src/homeControl.Interop.Rabbit/RabbitEventSource.cs | using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using homeControl.Domain.Events;
using JetBrains.Annotations;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Serilog;
namespace homeControl.Interop.Rabbit
{
[UsedImplicitly]
internal sealed class RabbitEventSource : IEventSou... | using System;
using System.Reactive.Linq;
using homeControl.Domain.Events;
using JetBrains.Annotations;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Serilog;
namespace homeControl.Interop.Rabbit
{
[UsedImplicitly]
internal sealed class RabbitEventSource : IEventSource
{
private readon... | mit | C# |
feb52c0a6988cdc2426f2ea30ea078bc9b1ce85f | Implement client | SLdragon1989/octokit.net,eriawan/octokit.net,shana/octokit.net,gdziadkiewicz/octokit.net,octokit-net-test-org/octokit.net,shiftkey-tester/octokit.net,shiftkey/octokit.net,magoswiat/octokit.net,dampir/octokit.net,editor-tools/octokit.net,geek0r/octokit.net,rlugojr/octokit.net,M-Zuber/octokit.net,daukantas/octokit.net,sh... | Octokit/Clients/StatisticsClient.cs | Octokit/Clients/StatisticsClient.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
public class StatisticsClient : ApiClient, IStatisticsClient
{
/// <summary>
/// Instantiates a new GitHub Statistics API client.
/// </summary>
/// <param name="apiConnection">An ... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
public class StatisticsClient : ApiClient, IStatisticsClient
{
/// <summary>
/// Instantiates a new GitHub Statistics API client.
/// </summary>
/// <param name="apiConnection">An ... | mit | C# |
b8dd43f5a6df93eaacecad6b05d7285b5db7ae51 | Tweak min samples. | electricessence/Solve,electricessence/Solve,electricessence/Solve,electricessence/Solve | Problems/BlackBoxFunction/Runner.cs | Problems/BlackBoxFunction/Runner.cs | using Solve.Evaluation;
using Solve.Experiment.Console;
using Solve.ProcessingSchemes;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace BlackBoxFunction
{
[SuppressMessage("ReSharper", "UnusedMember.Local")]
internal class Runner : Runner... | using Solve.Evaluation;
using Solve.Experiment.Console;
using Solve.ProcessingSchemes;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
namespace BlackBoxFunction
{
[SuppressMessage("ReSharper", "UnusedMember.Local")]
internal class Runner : Runner... | apache-2.0 | C# |
e28c26bca436c8bf19baad5e4493666f393c89c0 | Update PBU-Main-Future.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/PBU-Main-Future.cs | ProcessBlockUtil/PBU-Main-Future.cs | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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... | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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... | apache-2.0 | C# |
c264a9cc74ad9b64026793a2c7ab9a7f1726ed84 | Fix mods not being populated | 2yangk23/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,ppy/osu,naoey/osu,EVAST9919/osu,johnneijzen/osu,peppy/osu-new,peppy/osu,ZLima12/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,peppy/osu,UselessToucan/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,Usel... | osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs | osu.Game.Rulesets.Taiko/Difficulty/TaikoDifficultyCalculator.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using ... | mit | C# |
c4ebc66b1836fd8aba31f87dad01510f46da94a8 | reduce default limit and order by event time | CityofSantaMonica/Orchard.ParkingData,RaghavAbboy/Orchard.ParkingData | Controllers/SensorEventsController.cs | Controllers/SensorEventsController.cs | using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
using CSM.ParkingData.Services;
using CSM.ParkingData.ViewModels;
using CSM.Security.Filters.Http;
using Orchard.Logging;
namespace CSM.ParkingData.Controllers
{
[EnableCors("*", null, "GET")]
public class SensorEv... | using System;
using System.Linq;
using System.Web.Http;
using System.Web.Http.Cors;
using CSM.ParkingData.Services;
using CSM.ParkingData.ViewModels;
using CSM.Security.Filters.Http;
using Orchard.Logging;
namespace CSM.ParkingData.Controllers
{
[EnableCors("*", null, "GET")]
public class SensorEv... | mit | C# |
6f8e03a61495b81924601e427bb3a189910a26ce | Optimize Gas Mint (#2038) | AntShares/AntShares | src/neo/SmartContract/Native/Tokens/GasToken.cs | src/neo/SmartContract/Native/Tokens/GasToken.cs | using Neo.Cryptography.ECC;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
namespace Neo.SmartContract.Native.Tokens
{
public sealed class GasToken : Nep5Token<AccountState>
{
public override int Id => -2;
public override string Name => "GAS";
public override string Symbol => "gas";
... | using Neo.Cryptography.ECC;
using Neo.Ledger;
using Neo.Network.P2P.Payloads;
using System.Linq;
namespace Neo.SmartContract.Native.Tokens
{
public sealed class GasToken : Nep5Token<AccountState>
{
public override int Id => -2;
public override string Name => "GAS";
public override strin... | mit | C# |
1b71760d2a6302aa1f33f204a6a39ecc5daaa873 | Update version number for next release | florinszilagyi/PnP-PowerShell,pschaeflein/PnP-PowerShell,PieterVeenstra/PnP-PowerShell,Segelfeldt/PnP-PowerShell,OfficeDev/PnP-PowerShell,comblox/PnP-PowerShell,kilasuit/PnP-PowerShell,Oaden/PnP-PowerShell,sps130/PnP-PowerShell,artokai/PnP-PowerShell,larray/PowerShell,iiunknown/PnP-PowerShell | Commands/Properties/AssemblyInfo.cs | Commands/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("OfficeDevPnP.PowerShell.Commands")]
[asse... | 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("OfficeDevPnP.PowerShell.Commands")]
[asse... | mit | C# |
b0a50208cab7c65d1bf1e562f57d1aabc1915a10 | Fix documentation | wrightg42/enigma-simulator,It423/enigma-simulator | Enigma/Enigma/MachineSetup.xaml.cs | Enigma/Enigma/MachineSetup.xaml.cs | // MachineSetup.xaml.cs
// <copyright file="MachineSetup.xaml.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Dat... | // MachineSetup.xaml.cs
// <copyright file="MachineSetup.xaml.cs"> This code is protected under the MIT License. </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Dat... | mit | C# |
48e85e5284f5a852c7ad2c95a42a181a83c20c1c | Comment fix | vvolkgang/XUTSample.Twitter | Evolve2016Twitter/TwitterUiTest.cs | Evolve2016Twitter/TwitterUiTest.cs | using NUnit.Framework;
using System;
using Xamarin.UITest.Android;
using System.Reflection;
using System.IO;
using Xamarin.UITest;
using Xamarin.UITest.Queries;
using System.Linq;
using Evolve2016Twitter;
namespace Evolve2016Twitter.UITest
{
[TestFixture]
public class TwitterUiTest : BaseTestFixture
{
... | using NUnit.Framework;
using System;
using Xamarin.UITest.Android;
using System.Reflection;
using System.IO;
using Xamarin.UITest;
using Xamarin.UITest.Queries;
using System.Linq;
using Evolve2016Twitter;
namespace Evolve2016Twitter.UITest
{
[TestFixture]
public class TwitterUiTest : BaseTestFixture
{
... | mit | C# |
1fdeb21012c8f474e83ded00001ac754c0c88c04 | Bump version to 1.5 | hudl/Mjolnir,courtneyklatt/Mjolnir | Hudl.Mjolnir/Properties/AssemblyInfo.cs | Hudl.Mjolnir/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("Hu... | 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("Hu... | apache-2.0 | C# |
167e225dda6cfc4251f5541238686b294cd2e159 | Increase version number | pratoservices/extjswebdriver,pratoservices/extjswebdriver,pratoservices/extjswebdriver | ExtjsWd/Properties/AssemblyInfo.cs | ExtjsWd/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("ExtjsWd")]
[assembly: AssemblyDescr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ex... | mit | C# |
a4c550fb05d1df8c3def51514169183f771461bb | add additional encoding providers through reflection | Scandit/barcodescanner-sdk-xamarin-samples,Scandit/barcodescanner-sdk-xamarin-samples | Unified/SimpleSample/SimpleSample/UWP/MainPage.xaml.cs | Unified/SimpleSample/SimpleSample/UWP/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primiti... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | apache-2.0 | C# |
02cc38f957e94973afe0c64f6e40a64bd2ccc624 | Add SetMethod & GetMethod Property | AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/Lite,AspectCore/AspectCore-Framework | src/AspectCore.Lite.Abstractions.Generator/PropertyGenerator.cs | src/AspectCore.Lite.Abstractions.Generator/PropertyGenerator.cs | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace AspectCore.Lite.Abstractions.Generator
{
public abstract class PropertyGenerator : AbstractGenerator<TypeBuilder, PropertyBuilder>
{
public abstract string PropertyName { get; }
public abstract PropertyAttributes P... | using System;
using System.Reflection;
using System.Reflection.Emit;
namespace AspectCore.Lite.Abstractions.Generator
{
public abstract class PropertyGenerator : AbstractGenerator<TypeBuilder, PropertyBuilder>
{
public abstract string PropertyName { get; }
public abstract PropertyAttributes P... | mit | C# |
8add79af05b86f9907b0d58273a4dccd0619e2d7 | increase version to match home | fredatgithub/DeleteLine | DeleteLine/Properties/AssemblyInfo.cs | DeleteLine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("DeleteLine")]
[assembly: Assem... | using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("DeleteLine")]
[assembly: Assem... | mit | C# |
b7ced1ff8db50b3a69ecf4e9ebe4e2508c7a9cd6 | Add PKIX key blob formats | ektrah/nsec | src/Cryptography/KeyBlobFormat.cs | src/Cryptography/KeyBlobFormat.cs | namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None = 0,
// --- Secret Key Formats ---
RawSymmetricKey = -1,
RawPrivateKey = -2,
NSecSymmetricKey = -101,
NSecPrivateKey = -102,
PkixPrivateKey = -202,
PkixPrivateKeyText = -203,
... | namespace NSec.Cryptography
{
public enum KeyBlobFormat
{
None = 0,
// --- Secret Key Formats ---
RawSymmetricKey = -1,
RawPrivateKey = -2,
NSecSymmetricKey = -101,
NSecPrivateKey = -102,
// --- Public Key Formats ---
RawPublicKey = 1,
... | mit | C# |
8b770b3e41f45d8d7ebc00e3994fcaf93d3be25d | Fix for randomBase64, it was filling a full internal array unnecessarily. | louthy/language-ext,StefanBertels/language-ext,StanJav/language-ext | LanguageExt.Core/Prelude_Random.cs | LanguageExt.Core/Prelude_Random.cs | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace LanguageExt
{
public static partial class Prelude
{
readonly static RNGCryptoServiceProvider rnd = new RNGCryptoServiceProvider();
readonly static byte[] inttarget = new byte[4];
/// <summary... | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
namespace LanguageExt
{
public static partial class Prelude
{
readonly static RNGCryptoServiceProvider rnd = new RNGCryptoServiceProvider();
readonly static byte[] target = new byte[4096];
/// <summary... | mit | C# |
1529de75d1af00fc5c57f8f08faff3361c6b8c3c | Bump version to 1.3.0 | mwilliamson/dotnet-mammoth | Mammoth/Properties/AssemblyInfo.cs | Mammoth/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Mammoth")]
[assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")]
[as... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Mammoth")]
[assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")]
[as... | bsd-2-clause | C# |
6f9181230b9ae86923f96d2cbcdc2896638f7ad3 | Use of IsDefaultCollapsed | JetBrains/Nitra,rsdn/nitra,rsdn/nitra,JetBrains/Nitra | N2.Visualizer/N2FoldingStrategy.cs | N2.Visualizer/N2FoldingStrategy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSharpCode.AvalonEdit.Folding;
using ICSharpCode.AvalonEdit.Document;
namespace N2.Visualizer
{
public sealed class N2FoldingStrategy : AbstractFoldingStrategy
{
public override IEnumerable<NewFolding> Crea... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ICSharpCode.AvalonEdit.Folding;
using ICSharpCode.AvalonEdit.Document;
namespace N2.Visualizer
{
public sealed class N2FoldingStrategy : AbstractFoldingStrategy
{
public override IEnumerable<NewFolding> Crea... | apache-2.0 | C# |
29be4a8e16cc985f1d0f7cb9d094066378f1f580 | Update fix | dimmpixeye/Unity3dTools | Editor/Helpers/HelperReturnClick.cs | Editor/Helpers/HelperReturnClick.cs | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 2/5/2018 2:42 PM
================================================================*/
using UnityEditor;
using UnityEngine;
names... | /*===============================================================
Product: Cryoshock
Developer: Dimitry Pixeye - pixeye@hbrew.store
Company: Homebrew - http://hbrew.store
Date: 2/5/2018 2:42 PM
================================================================*/
using UnityEditor;
using UnityEngine;
name... | mit | C# |
208ab9784651a4208b5f2c4e003363c0fe427431 | implement calcintegratedwatts | Surigoma/PVDataProcessor | PVDataProcessor/Tool/Processing.cs | PVDataProcessor/Tool/Processing.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PVDataProcessor.Tool
{
class Processing
{
public double CalcIntegratedWatts(PH[] PHdata, int interval)
{
double result=0.0;
for (int i = 0; i < PHdata.Length; i++)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PVDataProcessor.Tool
{
class Processing
{
public double CalcIntegratedWatts(PH[] PHdata, )
{
return 0.0;
}
}
}
| apache-2.0 | C# |
5de623dfb98410ae21e011484ed1488ddff95786 | Add test Notes.UpdateTest.WithTag | orodriguez/FTF,orodriguez/FTF,orodriguez/FTF | FTF.Tests.XUnit/Notes/UpdateTest.cs | FTF.Tests.XUnit/Notes/UpdateTest.cs | using System;
using System.Linq;
using FTF.Api.Exceptions;
using Xunit;
namespace FTF.Tests.XUnit.Notes
{
public class UpdateTest : UserAuthenticatedTest
{
[Fact]
public void SimpleTextUpdate()
{
CurrentTime = new DateTime(2016, 2, 20);
var noteId = App.Notes.C... | using System;
using FTF.Api.Exceptions;
using Xunit;
namespace FTF.Tests.XUnit.Notes
{
public class UpdateTest : UserAuthenticatedTest
{
[Fact]
public void SimpleTextUpdate()
{
CurrentTime = new DateTime(2016, 2, 20);
var noteId = App.Notes.Create("Buy cheese")... | mit | C# |
853ec5f823b50db3b63c314d22ea6bc007e0071a | Fix compile errors | mmkiwi/KwMusicTools,mmkiwi/KwMusicTools | SpotifyImporter/MainWindow.xaml.cs | SpotifyImporter/MainWindow.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | apache-2.0 | C# |
995e9de5a183a748bd0ab63ec465a2c750a249c2 | implement additional properties in FileAttributesTag | Alexx999/SwfSharp | SwfSharp/Tags/FileAttributesTag.cs | SwfSharp/Tags/FileAttributesTag.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class FileAttributesTag : SwfTag
{
public FileAttributesTag(int size)
: base(TagType.FileAttributes, size)
{
}
public bool U... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Tags
{
public class FileAttributesTag : SwfTag
{
public FileAttributesTag(int size)
: base(TagType.FileAttributes, size)
{
}
public bool U... | mit | C# |
1e57c679e648134f16bf1ef9d5efcc7539d3fbc3 | Make tests of converters possible | LordMike/TMDbLib | TMDbLib/Properties/AssemblyInfo.cs | TMDbLib/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: AssemblyConfigura... | 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: AssemblyConfiguration("")]
// Setting ComVisible to fal... | mit | C# |
83b919ff370254173550ff53c7107acc9be43f72 | Add a way to measure how long it took to read a binlog file. | KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog | src/StructuredLogger/BinaryLog.cs | src/StructuredLogger/BinaryLog.cs | using System.Diagnostics;
namespace Microsoft.Build.Logging.StructuredLogger
{
public class BinaryLog
{
public static Build ReadBuild(string filePath)
{
var eventSource = new BinaryLogReplayEventSource();
byte[] sourceArchive = null;
eventSourc... | namespace Microsoft.Build.Logging.StructuredLogger
{
public class BinaryLog
{
public static Build ReadBuild(string filePath)
{
var eventSource = new BinaryLogReplayEventSource();
byte[] sourceArchive = null;
eventSource.OnBlobRead += (kind, bytes)... | mit | C# |
8e30d300aaf59a4ff318aaa50fe56b6107f386e8 | Use ICustomAttributeProvider.IsDefined in `HasAttribute` to avoid allocations. | IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce | src/IntelliTect.Coalesce/TypeDefinition/Helpers/ReflectionExtensions.cs | src/IntelliTect.Coalesce/TypeDefinition/Helpers/ReflectionExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace IntelliTect.Coalesce.TypeDefinition
{
public static class ReflectionExtensions
{
/// <summary>
/// Returns the attributed requested if it exists or null if it doe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace IntelliTect.Coalesce.TypeDefinition
{
public static class ReflectionExtensions
{
/// <summary>
/// Returns the attributed requested if it exists or null if it doe... | apache-2.0 | C# |
c7bc6caf37063ed3c437d1cea650a1818c862f05 | Fix the build | tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs | tests/Tgstation.Server.Host.Tests/System/TestProcessFeatures.cs | using Castle.Core.Logging;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.IO;
namespace Tgstation.Server.Host.System.Tests
{
/// <summary>
/// Tests for <see cref="IProcessFeatures"/>.
/// </... | using Castle.Core.Logging;
using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using System;
using System.Threading.Tasks;
using Tgstation.Server.Host.IO;
namespace Tgstation.Server.Host.System.Tests
{
/// <summary>
/// Tests for <see cref="IProcessFeatures"/>.
/// </... | agpl-3.0 | C# |
c9b6e5be80c671637e1e4efb2394547a903d55ca | Add new Methods | MarinPetrov/CSharpGame2048-OnlineTeamRain,MarinPetrov/CSharpGame2048-OnlineTeamRain | GameTeamRain/GameTeamRain/GameCore.cs | GameTeamRain/GameTeamRain/GameCore.cs | namespace GameTeamRain
{
using System;
using System.Collections.Generic;
class GameCore
{
private ushort[,] coreMatrix;
private Random randomNumber = new Random();
public GameCore()
{
this.coreMatrix = new ushort[4, 4];
InitCoreMatrix();
}... | namespace GameTeamRain
{
using System;
using System.Collections.Generic;
class GameCore
{
private ushort[,] coreMatrix;
private Random randomNumber = new Random();
public GameCore()
{
this.coreMatrix = new ushort[4, 4];
InitCoreMatrix();
}... | mit | C# |
f9a32427325901ed97cd13dd5ed360cf2bdee9e1 | Correct unit test namespace. | imazen/libwebp-net,imazen/libwebp-net,imazen/libwebp-net | Imazen.Test.Webp/TestSimpleEncoder.cs | Imazen.Test.Webp/TestSimpleEncoder.cs | using System;
using Xunit;
using Imazen.WebP;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Drawing;
using Imazen.WebP.Extern;
namespace Imazen.Test.WebP
{
public class TestSimpleEncoder
{
[Fact]
public void TestVersion... | using System;
using Xunit;
using Imazen.WebP;
using System.IO;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Drawing;
using Imazen.WebP.Extern;
namespace UnitTestProject1
{
public class TestSimpleEncoder
{
[Fact]
public void TestVersion... | mit | C# |
3d139c24e769856fc3f6f851e0fdac741928507f | Update ArrayRingBuffer.cs | efruchter/UnityUtilities | MiscDataStructures/ArrayRingBuffer.cs | MiscDataStructures/ArrayRingBuffer.cs | using System.Collections.Generic;
/// <summary>
/// An array-based ring buffer. Faster random access than .NET Queue.
/// </summary>
public class ArrayRingBuffer<T> : IEnumerable<T>{
public readonly T[] array;
private int startingIndex = 0;
private int count;
public ArrayRingBuffer(int size, T default... | /// <summary>
/// An array-based ring buffer. The internal array can be accessed directly if needed.
/// </summary>
public class ArrayRingBuffer<T> : IEnumerable<T> {
public readonly T[] array;
private int startingIndex = 0;
private int count;
public ArrayRingBuffer(int size, T defaultValue) {
... | mit | C# |
f1a2fd484e91284a0ed0e0a3ddafa031a7df6695 | fix shareddata 2 | NaamloosDT/ModCore,NaamloosDT/ModCore | ModCore/Listeners/UnbanTimerRemove.cs | ModCore/Listeners/UnbanTimerRemove.cs | using DSharpPlus.EventArgs;
using ModCore.Entities;
using ModCore.Logic;
using System.Threading.Tasks;
namespace ModCore.Listeners
{
public class UnbanTimerRemove
{
[AsyncListener(EventTypes.GuildBanRemoved)]
public static async Task CommandError(ModCoreShard bot, GuildBanRemoveEventArgs e)
... | using DSharpPlus.EventArgs;
using ModCore.Entities;
using ModCore.Logic;
using System.Threading.Tasks;
namespace ModCore.Listeners
{
public class UnbanTimerRemove
{
[AsyncListener(EventTypes.GuildBanRemoved)]
public static async Task CommandError(ModCoreShard bot, GuildBanRemoveEventArgs e)
... | mit | C# |
1e515f9d1becd654c8436c4ee8cf3d707d0214c7 | Add more examples to Implicit test #453 | mbdavid/LiteDB,RytisLT/LiteDB,RytisLT/LiteDB,89sos98/LiteDB,falahati/LiteDB,falahati/LiteDB,masterdidoo/LiteDB,masterdidoo/LiteDB,89sos98/LiteDB | LiteDB.Tests/Document/ImplicitTest.cs | LiteDB.Tests/Document/ImplicitTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
[TestClass]
public class ImplicitTest
{
[TestMethod]
p... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace LiteDB.Tests
{
[TestClass]
public class ImplicitTest
{
[TestMethod]
p... | mit | C# |
5c8aa9437034819be1903dfffdfcdbb358b9ca00 | optimize version nummer | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Nager.Date/Properties/AssemblyInfo.cs | Nager.Date/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("Na... | 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("Na... | mit | C# |
204dcb636fb0b0a660c7e92767ba44f5b8a203bb | Add test TestMicrosoftNCSIAsync | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | MagicalCryptoWallet.Tests/TorTests.cs | MagicalCryptoWallet.Tests/TorTests.cs | using MagicalCryptoWallet.TorSocks5;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xunit;
namespace MagicalCryptoWallet.Tests
{
// Tor must be running
public class TorTests : IClassFixture<Shared... | using MagicalCryptoWallet.TorSocks5;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Xunit;
namespace MagicalCryptoWallet.Tests
{
// Tor must be running
public class TorTests : IClassFixture<Shared... | mit | C# |
4ed3b86793fd1a00736d5c50bf8bbdbfdca7af44 | Bump for v0.4.0 (#166) | jrick/Paymetheus,decred/Paymetheus | Paymetheus/Properties/AssemblyInfo.cs | Paymetheus/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 ... | isc | C# |
1a85d495451d356f6b5ae0ff186e39986b732409 | Move to cake-contrib | Redth/Cake.Yaml | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
titl... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
titl... | apache-2.0 | C# |
34e00d6e5a86386a97b6d6031ca836eceb583719 | Fix PaintBucketTool. | jakeclawson/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta,jakeclawson/Pinta,Mailaender/Pinta,Fenex/Pinta,Mailaender/Pinta,PintaProject/Pinta | Pinta.Core/Tools/PaintBucketTool.cs | Pinta.Core/Tools/PaintBucketTool.cs | //
// PaintBucketTool.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2010 Jonathan Pobst
//
// 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 r... | //
// PaintBucketTool.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2010 Jonathan Pobst
//
// 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 r... | mit | C# |
a3c2f3425af90601f3c3f881c50d00761e2aae1c | Update AdProviders.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdProviders.cs | TIKSN.Core/Advertising/AdProviders.cs | namespace TIKSN.Advertising
{
public static class AdProviders
{
public const string AdDuplex = "AdDuplex";
public const string Microsoft = "Microsoft";
}
}
| namespace TIKSN.Advertising
{
public static class AdProviders
{
public const string AdDuplex = "AdDuplex";
public const string Microsoft = "Microsoft";
}
} | mit | C# |
d2e0b7f3132f22744d28e2fd90d4f50616955b7a | Add test case for 69c97371 | yufeih/Nine.Storage,studio-nine/Nine.Storage | test/Client/PersistedStorageTest.cs | test/Client/PersistedStorageTest.cs | namespace Nine.Storage
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
public class PersistedStorageTest : StorageSpec<PersistedStorageTest>
{
public override IEnumerable<ITestFactory<IStorage<TestSto... | namespace Nine.Storage
{
using System;
using System.Collections.Generic;
using Xunit;
public class PersistedStorageTest : StorageSpec<PersistedStorageTest>
{
public override IEnumerable<ITestFactory<IStorage<TestStorageObject>>> GetData()
{
return new[]
{
... | mit | C# |
6d5227248a8ffd54446f02db528b1a3551c9cb0b | Change to view all link | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | BatteryCommander.Web/Views/Soldier/List.cshtml | BatteryCommander.Web/Views/Soldier/List.cshtml | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas... | @model IEnumerable<BatteryCommander.Common.Models.Soldier>
@{
ViewBag.Title = "Soldiers";
}
<h2>@ViewBag.Title</h2>
<div class="btn-group" role="group">
@Html.ActionLink("Add a Soldier", "New", null, new { @class = "btn btn-primary" })
@Html.ActionLink("Bulk Add/Edit Soldiers", "Bulk", null, new { @clas... | mit | C# |
07e5775ee4cb06fe26609a7f31a1e464c4d74032 | Remove filter inheritance, just move properties to the filter itself | nozzlegear/ShopifySharp,clement911/ShopifySharp | ShopifySharp/Filters/ArticleFilter.cs | ShopifySharp/Filters/ArticleFilter.cs | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace ShopifySharp.Filters
{
/// <summary>
/// Options for filtering the results of <see cref="ArticleService.ListAsync(long, ArticleFilter)"/>.
/// </summary>
public class ArticleFilter : Parameterizable
{
/// <sum... | using Newtonsoft.Json;
namespace ShopifySharp.Filters
{
/// <summary>
/// Options for filtering the results of <see cref="ArticleService.ListAsync(long, ArticleFilter)"/>.
/// </summary>
public class ArticleFilter : PublishableListFilter
{
/// <summary>
/// Filter the results to th... | mit | C# |
1c78ff9668f2716e607065cdc353e8d0fd27fafc | Revert "test public class" | CanadianBeaver/DataViewExtenders | Source/Forms/BitMaskCheckedListBox.cs | Source/Forms/BitMaskCheckedListBox.cs | using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace CBComponents.Forms
{
[ToolboxBitmap(typeof(CheckedListBox))]
internal sealed class BitMaskCheckedListBox : CheckedListBox
{
public BitMaskCheckedListBox()
{
this.CheckOnClick = true;
this.I... | using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace CBComponents.Forms
{
[ToolboxBitmap(typeof(CheckedListBox))]
public sealed class BitMaskCheckedListBox : CheckedListBox
{
public BitMaskCheckedListBox()
{
this.CheckOnClick = true;
this.Ite... | mit | C# |
c1b2034e231127fdccc7840892a0123ec259db5d | Fix of documentation of `VersionToleranceLevel`. | rogeralsing/Migrant,antmicro/Migrant,modulexcite/Migrant,rogeralsing/Migrant,antmicro/Migrant,modulexcite/Migrant | Migrant/Customization/VersionToleranceLevel.cs | Migrant/Customization/VersionToleranceLevel.cs | /*
Copyright (c) 2013-2015 Antmicro <www.antmicro.com>
Authors:
* Konrad Kruczynski (kkruczynski@antmicro.com)
* Mateusz Holenko (mholenko@antmicro.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to... | /*
Copyright (c) 2013-2015 Antmicro <www.antmicro.com>
Authors:
* Konrad Kruczynski (kkruczynski@antmicro.com)
* Mateusz Holenko (mholenko@antmicro.com)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to... | mit | C# |
39f8d5cb2ede4377e1f2c4b118e80499c8b2de3b | Stop loading dynamic modules from disk | jagrem/slang,jagrem/slang,jagrem/slang | tests/Compiler/Clr.Tests/Compilation/IL/AssemblyDefinitionExtensions.cs | tests/Compiler/Clr.Tests/Compilation/IL/AssemblyDefinitionExtensions.cs | using System;
using System.Reflection;
using slang.Compiler.Clr.Compilation.Definitions;
namespace slang.Tests.IL
{
static class AssemblyDefinitionExtensions
{
public static Type [] GetTypes (this AssemblyDefinition assemblyDefinition)
{
return assemblyDefinition.LoadAssembly ().G... | using System;
using System.Reflection;
using slang.Compiler.Clr.Compilation.Definitions;
namespace slang.Tests.IL
{
static class AssemblyDefinitionExtensions
{
public static Type [] GetTypes (this AssemblyDefinition assemblyDefinition)
{
return assemblyDefinition.LoadAssembly ().Ge... | mit | C# |
56907ff51bfac13e6508e783a091208a58a55458 | Remove stray import | ProtoTest/ProtoTest.Golem,ProtoTest/ProtoTest.Golem | ProtoTest.Golem/Tests/TestWebDriverTestBase.cs | ProtoTest.Golem/Tests/TestWebDriverTestBase.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MbUnit.Framework;
using OpenQA.Selenium.Firefox;
using ProtoTest.Golem.Tests.PageObjects.Google;
using ProtoTest.Golem.WebDriver;
namespace ProtoTest.Golem.Tests
{
class TestWebDriverTestBase ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MbUnit.Framework;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.Events;
using ProtoTest.Golem.Tests.PageObjects.Google;
using ProtoTest.Golem.WebDriver;
namespace ProtoTest.Golem.Te... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.