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
5ef10adb860f63673feaf138b0f2dd283fa39133
Enable FileSystemWatcher test to actually validate internal buffer size changes
CloudLens/corefx,marksmeltzer/corefx,stone-li/corefx,kyulee1/corefx,PatrickMcDonald/corefx,zmaruo/corefx,alphonsekurian/corefx,popolan1986/corefx,krk/corefx,EverlessDrop41/corefx,seanshpark/corefx,seanshpark/corefx,parjong/corefx,oceanho/corefx,rahku/corefx,seanshpark/corefx,twsouthwick/corefx,andyhebear/corefx,alexand...
src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs
src/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Threading; using Xunit; public partial class FileSystemWatcher_4000_Tests { [Fact] public static void FileSystemWat...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using System.Threading; using Xunit; public partial class FileSystemWatcher_4000_Tests { [Fact] public static void FileSystemWat...
mit
C#
e604c18d9299f111d5305b696b7babf5e9368cd8
Resolve compiler warnings from BenchmarkDotNet upgrade
AArnott/Nerdbank.FullDuplexStream
src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs
src/Nerdbank.Streams.Benchmark/BenchmarkConfig.cs
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Nerdbank.Streams.Benchmark { using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Jobs; internal class...
// Copyright (c) Andrew Arnott. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Nerdbank.Streams.Benchmark { using BenchmarkDotNet.Configs; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Jobs; internal class...
mit
C#
6f42b16095756ba461982ddb693ad98817dad41a
Add comment
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
VisualStudioProjects/ArrayDataGraphic/ArrayDataGraphic/CSharpFiles/DataArray.cs
VisualStudioProjects/ArrayDataGraphic/ArrayDataGraphic/CSharpFiles/DataArray.cs
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * DataArray.cs * * 本檔案建立繪圖資料佇列單元物件 * ******************************************************************** */ using System; us...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArrayDataGraphic.CSharpFiles { // namespace start, 進入命名空間 class DataArray { } } ...
apache-2.0
C#
15c3f50628228a04453e930c52da89058ae620a2
Implement PlayerPrefs for mission storage
00christian00/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,00christian00/unity3d-levelup,vedi/unity3d-levelup,vedi/unity3d-levelup
Soomla/Assets/Plugins/Soomla/Levelup/data/MissionStorage.cs
Soomla/Assets/Plugins/Soomla/Levelup/data/MissionStorage.cs
/// Copyright (C) 2012-2014 Soomla Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable l...
/// Copyright (C) 2012-2014 Soomla Inc. /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except in compliance with the License. /// You may obtain a copy of the License at /// /// http://www.apache.org/licenses/LICENSE-2.0 /// /// Unless required by applicable l...
apache-2.0
C#
17e243b7be8b433710abf80c800e9c711110b3b1
Update Source/Libraries/openXDA.Configuration/DataPusherSection.cs
GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA
Source/Libraries/openXDA.Configuration/DataPusherSection.cs
Source/Libraries/openXDA.Configuration/DataPusherSection.cs
//****************************************************************************************************** // DataPusherSection.cs - Gbtc // // Copyright © 2021, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
//****************************************************************************************************** // FilePrunerSection.cs - Gbtc // // Copyright © 2021, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See /...
mit
C#
146ac92a63b4228cb0d345c636aa58b4e5b9dcf8
Rename refactoring.
gimlichael/CuemonCore,gimlichael/Cuemon,gimlichael/Cuemon
src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs
src/Cuemon.Extensions.AspNetCore.Authentication/ApplicationBuilderExtensions.cs
using System; using Cuemon.AspNetCore.Authentication.Basic; using Cuemon.AspNetCore.Authentication.Digest; using Cuemon.AspNetCore.Authentication.Hmac; using Cuemon.AspNetCore.Builder; using Microsoft.AspNetCore.Builder; namespace Cuemon.Extensions.AspNetCore.Authentication { /// <summary> /// Extension metho...
using System; using Cuemon.AspNetCore.Authentication; using Cuemon.AspNetCore.Builder; using Microsoft.AspNetCore.Builder; namespace Cuemon.Extensions.AspNetCore.Authentication { /// <summary> /// Extension methods for the <see cref="IApplicationBuilder"/> interface. /// </summary> public static class...
mit
C#
5373c3066ffc070476c1402b7032aa3e8f3846c6
Use `OsuAnimatedButton` as base for `ControlItemClose`
peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu
osu.Game/Overlays/Chat/ChannelControl/ControlItemClose.cs
osu.Game/Overlays/Chat/ChannelControl/ControlItemClose.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Game.Graphics; using osu.Game.Graphics.Us...
// 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 enable using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Input.Events; using osu.Game.Gr...
mit
C#
af62e04123ef3c3e5975038ba17f804553424993
Use HostConstants in the extensions.
shiftkey/SignalR,shiftkey/SignalR
SignalR/Abstractions/HostContextExtensions.cs
SignalR/Abstractions/HostContextExtensions.cs
namespace SignalR.Abstractions { public static class HostContextExtensions { public static T GetValue<T>(this HostContext context, string key) { object value; if (context.Items.TryGetValue(key, out value)) { return (T)value; } ...
namespace SignalR.Abstractions { public static class HostContextExtensions { public static T GetValue<T>(this HostContext context, string key) { object value; if (context.Items.TryGetValue(key, out value)) { return (T)value; } ...
mit
C#
dce301019512040585e0f8e8a29107a60c63be7f
Fix error in build
nunit/nunit-console,nunit/nunit-console,nunit/nunit-console
src/direct-runner/TestEventListener.cs
src/direct-runner/TestEventListener.cs
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
// *********************************************************************** // Copyright (c) 2009 Charlie Poole // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, incl...
mit
C#
a9430c1d3bf2129e4543dd8f66178994451deedd
Update Version
takuya-takeuchi/RedArmory
source/RedArmory/AssemblyProperty.cs
source/RedArmory/AssemblyProperty.cs
namespace Ouranos.RedArmory { internal static class AssemblyProperty { /// <summary> /// アセンブリ マニフェストに含める、製品名に関するカスタム属性を定義します。 /// </summary> public const string Product = "Red Armory"; /// <summary> /// RedArmory.exe の説明を指定します。 /// </summary> public const ...
namespace Ouranos.RedArmory { internal static class AssemblyProperty { /// <summary> /// アセンブリ マニフェストに含める、製品名に関するカスタム属性を定義します。 /// </summary> public const string Product = "Red Armory"; /// <summary> /// RedArmory.exe の説明を指定します。 /// </summary> public const ...
mit
C#
c0adb8b02924d2d9c79aad4531cd62fce81809ef
Update feed uri, blog platform transition
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/JoshKing.cs
src/Firehose.Web/Authors/JoshKing.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class JoshKing : IAmACommunityMember { public string FirstName => "Josh"; public string LastName...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class JoshKing : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "Josh"; pu...
mit
C#
57dec365e41cec0f9104dd2d13e134c66a59832b
Allow escaped percentage
feliwir/openSage,feliwir/openSage
src/OpenSage.Core/StringConverter.cs
src/OpenSage.Core/StringConverter.cs
namespace OpenSage.Core { /// <summary> /// Convert a printf formatted string to a C# formatted string /// </summary> public class StringConverter { //TODO: implement this properly public static string FromPrintf(string printf) { string result = ""; i...
namespace OpenSage.Core { /// <summary> /// Convert a printf formatted string to a C# formatted string /// </summary> public class StringConverter { //TODO: implement this properly public static string FromPrintf(string printf) { string result = ""; i...
mit
C#
8bbc4ae93807db5cd1ec1a49c62cfb28cdc60e8d
add TODO
StefanoFiumara/Harry-Potter-Unity
Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/PhilosophersStone.cs
Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Items/PhilosophersStone.cs
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Enums; namespace HarryPotterUnity.Cards.Transfiguration.Items { public class PhilosophersStone : BaseItem { public override bool CanPerformInPlayAction() { return Player.CanUseActions(2) && Player.IsLocalPl...
using System.Collections.Generic; using System.Linq; using HarryPotterUnity.Enums; namespace HarryPotterUnity.Cards.Transfiguration.Items { public class PhilosophersStone : BaseItem { public override bool CanPerformInPlayAction() { return Player.CanUseActions(2) && Player.IsLocalPl...
mit
C#
ab3b70f1aa708dde92f97ba5410aa70bfc873130
fix log file on linux
TravisTX/TfsSlackFactory
src/TfsSlackFactory/Program.cs
src/TfsSlackFactory/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Serilog; usin...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Serilog; usin...
mit
C#
07c40e45fc82e459a93a37af1c3ffcf0c73e35de
Refactor `UITestFixture`
atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras
test/Atata.WebDriverExtras.Tests/UITestFixture.cs
test/Atata.WebDriverExtras.Tests/UITestFixture.cs
using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; namespace Atata.WebDriverExtras.Tests { [TestFixture] public abstract class UITestFixture { public const string BaseUrl = "http://localhost:57440/"; protected IWebDriver Driver { get; private set; } [SetU...
using NUnit.Framework; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Remote; namespace Atata.WebDriverExtras.Tests { [TestFixture] public abstract class UITestFixture { public const string BaseUrl = "http://localhost:57440/"; protected RemoteWebDriver Driver { get; private set; } ...
apache-2.0
C#
8430e0fa86cb4c19ae1061729bac2e4a15411b62
Switch the LIcenseDialog to be optionally WebView2
gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,gmartin7/myBloomFork,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,StephenMcConn...
src/BloomExe/Registration/LicenseDialog.cs
src/BloomExe/Registration/LicenseDialog.cs
using System; using System.Drawing; using System.Globalization; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using SIL.IO; namespace Bloom.Registration { public partial class LicenseDialog : Form { private Browser _licenseBrowser; /// <summary> /// Initialize a new...
using System; using System.Drawing; using System.Globalization; using System.IO; using System.Reflection; using System.Text; using System.Windows.Forms; using SIL.IO; namespace Bloom.Registration { public partial class LicenseDialog : Form { private GeckoFxBrowser _licenseBrowser; /// <summary> /// Initializ...
mit
C#
b6bc268cb2ba55af7ffc61489a45b31e675e5ced
Allow inline <script> tags and don't wrap them in another script tag - allows syntax highlighting and intellisense on AddInlineScript: Bundles.AddInlineScript(@<script type="text/javascript"> var i = 1;</script>);
BluewireTechnologies/cassette,andrewdavey/cassette,damiensawyer/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,BluewireTechnologies/cassette
src/Cassette/Scripts/InlineScriptBundle.cs
src/Cassette/Scripts/InlineScriptBundle.cs
using System; using System.Text.RegularExpressions; using Cassette.Configuration; namespace Cassette.Scripts { internal class InlineScriptBundle : ScriptBundle { readonly string scriptContent; public InlineScriptBundle(string scriptContent) { this.scriptContent ...
using System; using Cassette.Configuration; namespace Cassette.Scripts { class InlineScriptBundle : ScriptBundle { readonly string scriptContent; public InlineScriptBundle(string scriptContent) { this.scriptContent = scriptContent; } protecte...
mit
C#
a050412a043b714062e903bae39be3fd7b8cca95
Add helptext
unosquare/sshdeploy
Unosquare.Labs.SshDeploy/Options/CliOptions.cs
Unosquare.Labs.SshDeploy/Options/CliOptions.cs
using System; using System.Collections.Generic; using System.Text; using Unosquare.Swan.Attributes; namespace Unosquare.Labs.SshDeploy.Options { public class CliOptions { [VerbOption("push", HelpText = "Transfers the files and folders from a source path in the local machine to a target path i...
using System; using System.Collections.Generic; using System.Text; using Unosquare.Swan.Attributes; namespace Unosquare.Labs.SshDeploy.Options { public class CliOptions { [VerbOption("push")] public PushVerbOptions PushVerbOptions { get; set; } [VerbOption("monitor")] ...
mit
C#
c616e25c1c3e5d61651a9a6f3bfcb715c072fe64
Check for forum notifications more often.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Common/TimeConstants.cs
src/MitternachtBot/Common/TimeConstants.cs
namespace Mitternacht.Common { public class TimeConstants { public const int WaitForForum = 500; public const int TeamUpdate = 3 * 60 * 1000; public const int Birthday = 60 * 1000; public const int ForumNotification = 30 * 1000; } }
namespace Mitternacht.Common { public class TimeConstants { public const int WaitForForum = 500; public const int TeamUpdate = 3 * 60 * 1000; public const int Birthday = 60 * 1000; public const int ForumNotification = 1 * 60 * 1000; } }
mit
C#
ea8f6fe514d9ae63f76cefd752f6f3ef066b7ace
Update doc
jasonmalinowski/roslyn,bartdesmet/roslyn,dotnet/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,mavasani/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,weltkante/roslyn,shyamnamboo...
src/Workspaces/Core/Portable/Remote/PinnedSolutionInfo.cs
src/Workspaces/Core/Portable/Remote/PinnedSolutionInfo.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.Serialization; namespace Microsoft.CodeAnalysis.Remote { /// <summary> /// Informatio...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.Serialization; namespace Microsoft.CodeAnalysis.Remote { /// <summary> /// Informatio...
mit
C#
2b8170a1f1f5ab8ddd708189edaf2feacd93d273
Fix NPM warnings as errors (#550)
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Tools/Npm/NpmTasks.cs
source/Nuke.Common/Tools/Npm/NpmTasks.cs
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Npm { public static partial class NpmTasks { public static void CustomLogger(OutputType type, string output) ...
// Copyright 2020 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using Nuke.Common.Tooling; namespace Nuke.Common.Tools.Npm { public static partial class NpmTasks { public static void CustomLogger(OutputType type, string output) ...
mit
C#
d7ce1efdd09c3390a906f846f54c7516b036272c
Update the test runner to use the new parser interface.
SonyaSa/CppSharp,xistoso/CppSharp,zillemarco/CppSharp,mohtamohit/CppSharp,ktopouzi/CppSharp,inordertotest/CppSharp,imazen/CppSharp,txdv/CppSharp,Samana/CppSharp,mohtamohit/CppSharp,inordertotest/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,KonajuGames/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,mydogisbox/CppSha...
src/Generator.Tests/HeaderTestFixture.cs
src/Generator.Tests/HeaderTestFixture.cs
using System; using System.IO; using Cxxi; using Cxxi.Types; namespace Generator.Tests { public class HeaderTestFixture { protected Library library; protected TypeMapDatabase database; private const string TestsDirectory = @"..\..\..\tests\Native"; protected void ParseLibrary...
using System; using System.IO; using Cxxi; using Cxxi.Types; namespace Generator.Tests { public class HeaderTestFixture { protected Library library; protected TypeMapDatabase database; private const string TestsDirectory = @"..\..\..\tests\Native"; protected void ParseLibrary...
mit
C#
69d65f6c95715934ff295780c05fe846d22052b7
Revert unwanted change.
AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia
samples/ControlCatalog.Android/Resources/Resource.Designer.cs
samples/ControlCatalog.Android/Resources/Resource.Designer.cs
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
mit
C#
28e001fe319065c857467d3523ca2732d6fbe2c8
Add xml documentation to the CellStatus class to pass all default StyleCop rules.
HQC-Team-Minesweeper-5/Minesweeper
src/Minesweeper/Core/Field/CellStatus.cs
src/Minesweeper/Core/Field/CellStatus.cs
//----------------------------------------------------------------------- // <copyright file="CellStatus.cs" company="Team Minesweeper 5"> // No copyright here. You can use whatever you want! // </copyright> // <summary>This enumeration lists the different states of the cells in the minesweeper board.</summary> //...
namespace Minesweeper.Core.Field { public enum CellStatus { Closed, Opened, Flagged } }
mit
C#
59f151ff0a5a67175d54bb120f2239846c5a929b
Create in range method validator
rmterra/NesZord
src/NesZord.Core/Memory/MemoryAddress.cs
src/NesZord.Core/Memory/MemoryAddress.cs
using NesZord.Core.Extensions; using System; namespace NesZord.Core.Memory { public class MemoryAddress : IComparable<int>, IComparable<MemoryAddress> { public MemoryAddress(byte page, byte offset) { this.Page = page; this.Offset = offset; } public byte Offset { get; private set; } public byte Pag...
using NesZord.Core.Extensions; using System; namespace NesZord.Core.Memory { public class MemoryAddress : IComparable<int>, IComparable<MemoryAddress> { public MemoryAddress(byte page, byte offset) { this.Page = page; this.Offset = offset; } public byte Offset { get; private set; } public byte Pag...
apache-2.0
C#
cc5b85a33aee1ae47ffb733a5a783fae8197e899
Implement non-generic ParserWriter
smbecker/Eto.Parse,picoe/Eto.Parse,ArsenShnurkov/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse,ArsenShnurkov/Eto.Parse
Eto.Parse/ParserWriter.cs
Eto.Parse/ParserWriter.cs
using System; using Eto.Parse.Parsers; using System.Collections.Generic; using System.IO; namespace Eto.Parse { public interface IParserWriter { string WriteParser(ParserWriterArgs args, Parser parser); } public class ParserWriter : ParserWriter<ParserWriterArgs> { public ParserWriter(IDictionary<Type, IPars...
using System; using Eto.Parse.Parsers; using System.Collections.Generic; using System.IO; namespace Eto.Parse { public interface IParserWriter { string WriteParser(ParserWriterArgs args, Parser parser); } public class ParserWriter<T_Args> : IParserWriter where T_Args: ParserWriterArgs { public IDictionary<...
mit
C#
4841cce08f04dfff25c168936d6c6f2cc0bdc783
test commit
exKAZUu/XMutator
XMutator/Program.cs
XMutator/Program.cs
using System; using Mono.Options; using Paraiba.Linq; namespace XMutator { internal class Program { private static void Main(string[] args) { var csv = false; var help = false; var p = new OptionSet { { "c|csv", v => csv = v != null }, { ...
using System; using Mono.Options; using Paraiba.Linq; namespace XMutator { internal class Program { private static void Main(string[] args) { var csv = false; var help = false; var p = new OptionSet { { "c|csv", v => csv = v != null }, { ...
apache-2.0
C#
ed758350014aa501617829b8e95c4a533059ba5c
fix tests build
bards/Epic.NET,bards/Epic.NET,Shamar/Epic.NET,Shamar/Epic.NET
Code/UnitTests/Epic.Query.Object.UnitTests/SearchableQA.cs
Code/UnitTests/Epic.Query.Object.UnitTests/SearchableQA.cs
// // SearchableQA.cs // // Author: // Giacomo Tesio <giacomo@tesio.it> // // Copyright (c) 2010-2012 Giacomo Tesio // // This file is part of Epic.NET. // // Epic.NET is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as ...
// // SearchableQA.cs // // Author: // Giacomo Tesio <giacomo@tesio.it> // // Copyright (c) 2010-2012 Giacomo Tesio // // This file is part of Epic.NET. // // Epic.NET is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as ...
agpl-3.0
C#
47c3258861e645f2429ec135629ce537e8f68b2d
Update Content.Server/GameObjects/EntitySystems/RoundEndSystem.cs
space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameObjects/EntitySystems/RoundEndSystem.cs
Content.Server/GameObjects/EntitySystems/RoundEndSystem.cs
using System; using System.Threading; using Content.Server.Interfaces.GameTicking; using Robust.Shared.GameObjects.Systems; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; using Timer = Robust.Shared.Timers.Timer; namespace Content.Server.GameObjects.EntitySystems { public class RoundEndSystem : En...
using System; using System.Threading; using Content.Server.Interfaces.GameTicking; using Robust.Shared.GameObjects.Systems; using Robust.Shared.Interfaces.Timing; using Robust.Shared.IoC; using Timer = Robust.Shared.Timers.Timer; namespace Content.Server.GameObjects.EntitySystems { public class RoundEndSystem : En...
mit
C#
35da9ad72806b9e72bf1ffb92e4e870562faba3f
Fix comment
Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module
Drivers/ManagePersonsPermissionCheckerTaskDisplayDriver.cs
Drivers/ManagePersonsPermissionCheckerTaskDisplayDriver.cs
using Lombiq.TrainingDemo.Activities; using Lombiq.TrainingDemo.ViewModels; using OrchardCore.Workflows.Display; using OrchardCore.Workflows.Models; namespace Lombiq.TrainingDemo.Drivers; // ActivityDisplayDriver is specifically for implementing Workflow Activity Tasks. // Don't forget to register this class with the...
using Lombiq.TrainingDemo.Activities; using Lombiq.TrainingDemo.ViewModels; using OrchardCore.Workflows.Display; using OrchardCore.Workflows.Models; namespace Lombiq.TrainingDemo.Drivers; // ActivityDisplayDrivers are specifically for implementing Workflow Activity Tasks. // Don't forget to register this class with t...
bsd-3-clause
C#
c986fd936a79bff311fc62977a9ec29bf493e172
Fix LogTime for OpenGroupViewModel.
ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton
src/CK.Glouton.Model/Logs/OpenGroupViewModel.cs
src/CK.Glouton.Model/Logs/OpenGroupViewModel.cs
using CK.Glouton.Model.Lucene; using Lucene.Net.Documents; namespace CK.Glouton.Model.Logs { public class OpenGroupViewModel : ILogViewModel { public ELogType LogType => ELogType.OpenGroup; public string LogLevel { get; set; } public string LogTime { get; set; } public string T...
using CK.Glouton.Model.Lucene; using Lucene.Net.Documents; namespace CK.Glouton.Model.Logs { public class OpenGroupViewModel : ILogViewModel { public ELogType LogType => ELogType.OpenGroup; public string LogLevel { get; set; } public string LogTime { get; set; } public string T...
mit
C#
5e5864586f1ec2610865de24ff989c27e07a2532
Add missing unit tests for Range equality.
DavidLievrouw/FindRandomNumber
src/FindRandomNumber.Tests/Common/RangeTests.cs
src/FindRandomNumber.Tests/Common/RangeTests.cs
using System; using NUnit.Framework; namespace FindRandomNumber.Common { [TestFixture] public class RangeTests { [TestFixture] public class Construction : RangeTests { [Test] public void GivenMaximumLessThanMinimum_Throws() { Assert.Throws<ArgumentOutOfRangeException>(() => new Range(1...
using System; using NUnit.Framework; namespace FindRandomNumber.Common { [TestFixture] public class RangeTests { [TestFixture] public class Construction : RangeTests { [Test] public void GivenMaximumLessThanMinimum_Throws() { Assert.Throws<ArgumentOutOfRangeException>(() => new Range(1...
mit
C#
1e5c27c1446305a781f17761fca2cbbb6dd7e044
make indentaion relative. Add bottom margin to split results from each other.
leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/Views/Shared/DisplayTemplates/ISearchResult.cshtml
Joinrpg/Views/Shared/DisplayTemplates/ISearchResult.cshtml
@using System.Text.RegularExpressions @using Joinrpg.Markdown @using JoinRpg.Web.Helpers @using JoinRpg.Web.Models @model TargetedSearchResultViewModel <style type="text/css"> <!-- .searchResultDetails { margin-left: 2em; margin-bottom: 1.5em; } --> </style> <div> <h4> @{ ...
@using System.Text.RegularExpressions @using Joinrpg.Markdown @using JoinRpg.Web.Helpers @using JoinRpg.Web.Models @model TargetedSearchResultViewModel <style type="text/css"> <!-- .searchResultDetails { margin-left: 20px; } --> </style> <div> <h4> @{ var gameObjectLin...
mit
C#
aec9ea986b9c4b4f6dcd4683fd237bfde81b31e0
Comment the security check so it's obvious what its for.
projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,mtian/SiteExtensionGallery,ScottShingler/NuGetGallery,mtian/SiteExtensionGallery,projectkudu/SiteExtensionGallery,skbkontur/NuGetGallery,JetBrains/ReSharperGallery,JetBrains/ReSharperGallery,grenade/NuGetGallery_download-count-...
src/NuGetGallery/Controllers/PagesController.cs
src/NuGetGallery/Controllers/PagesController.cs
using System; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; namespace NuGetGallery { public partial class PagesController : Controller { public IContentService ContentService { get; protected set; } protected PagesController() { } public PagesController(IConte...
using System; using System.Linq; using System.Threading.Tasks; using System.Web.Mvc; namespace NuGetGallery { public partial class PagesController : Controller { public IContentService ContentService { get; protected set; } protected PagesController() { } public PagesController(IConte...
apache-2.0
C#
f0b51bae1efbdf87472c4e68491d52d4545858e5
Split a really long WriteLine into a Write & WriteLine.
NewEvolution/Cheers
Cheers/Cheers/Program.cs
Cheers/Cheers/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cheers { class Program { static void Main(string[] args) { Console.WriteLine("Hello there! What's your name?"); string name = Console.ReadLine()...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cheers { class Program { static void Main(string[] args) { Console.WriteLine("Hello there! What's your name?"); string name = Console.ReadLine()...
mit
C#
4c3701885bf019e8066c0fd01a078a473aa8d1de
Improve documentation around HandlerMappings
Workshop2/noobot,noobot/noobot
src/Noobot.Core/MessagingPipeline/Middleware/HandlerMapping.cs
src/Noobot.Core/MessagingPipeline/Middleware/HandlerMapping.cs
using System; using System.Collections.Generic; using Noobot.Core.MessagingPipeline.Middleware.ValidHandles; using Noobot.Core.MessagingPipeline.Request; using Noobot.Core.MessagingPipeline.Response; namespace Noobot.Core.MessagingPipeline.Middleware { public class HandlerMapping { /// <summary> ...
using System; using System.Collections.Generic; using Noobot.Core.MessagingPipeline.Middleware.ValidHandles; using Noobot.Core.MessagingPipeline.Request; using Noobot.Core.MessagingPipeline.Response; namespace Noobot.Core.MessagingPipeline.Middleware { public class HandlerMapping { public HandlerMappi...
mit
C#
8f7f9979082d48786472beb9500f294e048ae944
Fix header
conekta/conekta-xamarin
ConektaSDK/Connection.cs
ConektaSDK/Connection.cs
using System; using System.Text; using System.Net.Http; using System.Threading.Tasks; using System.Net.Http.Headers; namespace ConektaSDK { public class Connection { public string Platform { get; set; } public Connection (string platform) { Platform = platform; } public async Task<string> request(stri...
using System; using System.Text; using System.Net.Http; using System.Threading.Tasks; using System.Net.Http.Headers; namespace ConektaSDK { public class Connection { public string Platform { get; set; } public Connection (string platform) { Platform = platform; } public async Task<string> request(stri...
mit
C#
86720b6d35a58fe459ec5efd546b36f47975d6d9
remove Beta 1 note
ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7,ProfessionalCSharp/ProfessionalCSharp7
API/BooksODataService/BooksODataService/Startup.cs
API/BooksODataService/BooksODataService/Startup.cs
using BooksODataService.Models; using BooksODataService.Services; using Microsoft.AspNet.OData.Builder; using Microsoft.AspNet.OData.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Config...
using BooksODataService.Models; using BooksODataService.Services; using Microsoft.AspNet.OData.Builder; using Microsoft.AspNet.OData.Extensions; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Config...
mit
C#
9e9ea1d14adfb8f58371ca0d30beb33b44ce2992
Add spaces.
scott-fleischman/algorithms-csharp
src/Algorithms.Collections/SquareMatrix.cs
src/Algorithms.Collections/SquareMatrix.cs
using System; namespace Algorithms.Collections { public static class SquareMatrix { public static T[,] Multiply<T>(T[,] A, T[,] B, Func<T, T, T> add, Func<T, T, T> multiply) { ValidateAreEqualSquare(A, B); int length = A.GetLength(0); var C = new T[length, length]; for (int i = 0; i <...
using System; namespace Algorithms.Collections { public static class SquareMatrix { public static T[,] Multiply<T>(T[,] A, T[,] B, Func<T, T, T> add, Func<T, T, T> multiply) { ValidateAreEqualSquare(A, B); int length = A.GetLength(0); var C = new T[length,length]; for (int i = 0; i < ...
mit
C#
759cf7d52e07aee26c1502ea37d774eebc408976
Update IContentItemSystemAttributes.cs
Kentico/Deliver-.NET-SDK,Kentico/delivery-sdk-net
Kentico.Kontent.Delivery.Abstractions/ContentItems/IContentItemSystemAttributes.cs
Kentico.Kontent.Delivery.Abstractions/ContentItems/IContentItemSystemAttributes.cs
using System.Collections.Generic; namespace Kentico.Kontent.Delivery.Abstractions { /// <summary> /// Represents system attributes of a content item. /// </summary> public interface IContentItemSystemAttributes : ISystemAttributes { /// <summary> /// Gets the language of the conten...
using System.Collections.Generic; namespace Kentico.Kontent.Delivery.Abstractions { /// <summary> /// Represents system attributes of a content item. /// </summary> public interface IContentItemSystemAttributes : ISystemAttributes { /// <summary> /// Gets the language of the conten...
mit
C#
f35deea9ae970a79c0084bcc2730a281531cecb5
Change Postgres docker container version from "latest" to "10.6"
eposgmbh/Epos.Foundation
src/Epos.TestUtilities/Docker/DockerContainer.Postgres.cs
src/Epos.TestUtilities/Docker/DockerContainer.Postgres.cs
namespace Epos.TestUtilities.Docker { public partial class DockerContainer { /// <summary> Represents a Postgres Docker container (with admin/admin auth). </summary> public static class Postgres { /// <summary> Starts a Postgres Docker container. </summary> /// <r...
namespace Epos.TestUtilities.Docker { public partial class DockerContainer { /// <summary> Represents a Postgres Docker container (with admin/admin auth). </summary> public static class Postgres { /// <summary> Starts a Postgres Docker container. </summary> /// <r...
mit
C#
debe5b9ee28db4cbfaa63d2df153d343a840d393
Add support for second instruction
Curdflappers/UltimateTicTacToe
Assets/Resources/Scripts/instructions/InstructionController.cs
Assets/Resources/Scripts/instructions/InstructionController.cs
using UnityEngine; using UnityEngine.UI; public class InstructionController : GameController { Instruction[] instructions; int instructionIndex; Instruction currentInstruction; Text infoText; int index; // for miscellaneous cycles private void Start() { DisableAllButtons(); ...
using UnityEngine; using UnityEngine.UI; public class InstructionController : GameController { Instruction[] instructions; int index; Instruction currentInstruction; Text infoText; private void Start() { DisableAllButtons(); InitializeInstructions(); index = 0; ...
mit
C#
e4b5f95e14162a207a65643ce0d6706fc77fac4b
fix whitespace
nerai/CMenu
src/ConsoleMenu/Properties/AssemblyInfo.cs
src/ConsoleMenu/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: AssemblyTit...
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: AssemblyTit...
mit
C#
8edbf7c424cbc5658cf0766cf61fc4eac148a557
Fix Now messages sent from a server without clients are recycled
jbruening/lidgren-network-gen3,RainsSoft/lidgren-network-gen3,lidgren/lidgren-network-gen3,forestrf/lidgren-network-gen3
Lidgren.Network/NetServer.cs
Lidgren.Network/NetServer.cs
using System; using System.Collections.Generic; namespace Lidgren.Network { /// <summary> /// Specialized version of NetPeer used for "server" peers /// </summary> public class NetServer : NetPeer { /// <summary> /// NetServer constructor /// </summary> public NetServer(NetPeerConfiguration ...
using System; using System.Collections.Generic; namespace Lidgren.Network { /// <summary> /// Specialized version of NetPeer used for "server" peers /// </summary> public class NetServer : NetPeer { /// <summary> /// NetServer constructor /// </summary> public NetServer(NetPeerConfiguration ...
mit
C#
b95f468d30c0338ea328e2b158c0fdeb19bd87d6
Update MichaelRidland.cs
MabroukENG/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin...
src/Firehose.Web/Authors/MichaelRidland.cs
src/Firehose.Web/Authors/MichaelRidland.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MichaelRidland : IAmAXamarinMVP { public string FirstName => "Michael"; public string LastName => "Ridland"; public string StateOrRegion => "Sydney, Austra...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MichaelRidland : IAmAXamarinMVP { public string FirstName => "Michael"; public string LastName => "Ridland"; public string StateOrRegion => "Sydney, Austra...
mit
C#
7140c4d8987e456bb82710d85982d0955bcaae18
Fix infinite object recursion
JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,tpkelly/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,stevenhillcox/voting-applicati...
VotingApplication/VotingApplication.Web.Api/Global.asax.cs
VotingApplication/VotingApplication.Web.Api/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Newtonsoft.Json; namespace VotingApplication.Web.Api { public class WebApiApplication : System.Web.HttpApplication { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace VotingApplication.Web.Api { public class WebApiApplication : System.Web.HttpApplication { protected void ...
apache-2.0
C#
5163d0b66135d620005f3117dbe1928e64a25c5d
Use DoubleTappedEvent event
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs
WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs
using Avalonia.Controls; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Behaviors { public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control> { private CompositeDisposable Disposables { get; set; } protected override void OnAttached() { Disposables = new CompositeDisposable(...
using Avalonia.Controls; using System.Reactive.Disposables; namespace WalletWasabi.Gui.Behaviors { public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control> { private CompositeDisposable Disposables { get; set; } protected override void OnAttached() { Disposables = new CompositeDisposable(...
mit
C#
a2d881d0a0cb89474b9eb6e61b6b0b9798b9a52c
Use already created client
UKParliData/bptweets
src/UKParliData.BPTweets/Program.cs
src/UKParliData.BPTweets/Program.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UKParliData.BPTweets { public class Program { static void Main(string[] args) { var client = new TwitterClient(); i...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace UKParliData.BPTweets { public class Program { static void Main(string[] args) { var client = new TwitterClient(); i...
mit
C#
9f30a4cff04ba42e0cda222445fe2c9239d787d1
update #build2018
dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua
src/WebSite/Views/Content/Build2018.cshtml
src/WebSite/Views/Content/Build2018.cshtml
@{ Layout = "_GeneralLayout"; } <h1>@ViewData["Title"]</h1> <div class="row"> <div class="col-md-6"> <h2>#video</h2> <iframe width="100%" height="315" src="https://www.youtube.com/embed/rd0Rd8w3FZ0" frameborder="0" allow="autoplay; en...
@{ Layout = "_GeneralLayout"; } <h1>@ViewData["Title"]</h1> <div class="row"> <div class="col-md-6"> <h2>#video</h2> <iframe width="100%" height="315" src="https://www.youtube.com/embed/rd0Rd8w3FZ0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> </div> <div...
mit
C#
2e767a529253a6c99ec3d1c6a2dc50b07da21689
Fix incorrect acronym
NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipooo/osu,naoey/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,2yangk23/osu,ZLima12/osu,ppy/osu,peppy/osu,johnneijzen/osu,naoey/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,DrabWeb...
osu.Game/Rulesets/Mods/IMod.cs
osu.Game/Rulesets/Mods/IMod.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using Newtonsoft.Json; namespace osu.Game.Rulesets.Mods { public interface IMod { /// <summary> /// The shortened name of this mod. ///...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using Newtonsoft.Json; namespace osu.Game.Rulesets.Mods { public interface IMod { /// <summary> /// The shortened name of this mod. ///...
mit
C#
b003e22a6963ae884e547a6a4ee5a2edc241caf5
use simple syntax
the-ress/HarshPoint,NaseUkolyCZ/HarshPoint,HarshPoint/HarshPoint
HarshPoint/Provisioning/HarshProvisionerContext.cs
HarshPoint/Provisioning/HarshProvisionerContext.cs
using Microsoft.SharePoint.Client; namespace HarshPoint.Provisioning { public sealed class HarshProvisionerContext : Implementation.HarshProvisionerContextBase<HarshProvisionerContext> { public HarshProvisionerContext(ClientContext clientContext) { if (clientContext == nul...
using Microsoft.SharePoint.Client; namespace HarshPoint.Provisioning { public sealed class HarshProvisionerContext : Implementation.HarshProvisionerContextBase<HarshProvisionerContext> { public HarshProvisionerContext(ClientContext clientContext) { if (clientContext == nul...
bsd-2-clause
C#
bf4b91cd0e07ad45cc84054c64e55de0ef8f633a
Add ProjectTypeKey property on Project entity
dapplo/Dapplo.Jira
src/Dapplo.Jira/Entities/Project.cs
src/Dapplo.Jira/Entities/Project.cs
// Dapplo - building blocks for .NET applications // Copyright (C) 2017-2019 Dapplo // // For more information see: http://dapplo.net/ // Dapplo repositories are hosted on GitHub: https://github.com/dapplo // // This file is part of Dapplo.Jira // // Dapplo.Jira is free software: you can redistribute it and/or modi...
// Dapplo - building blocks for .NET applications // Copyright (C) 2017-2019 Dapplo // // For more information see: http://dapplo.net/ // Dapplo repositories are hosted on GitHub: https://github.com/dapplo // // This file is part of Dapplo.Jira // // Dapplo.Jira is free software: you can redistribute it and/or modi...
mit
C#
646f3d77c93ddd67d1e537f0334a65961aaeea79
update Pages
jackeiw/NFTW,jackeiw/NFTW
src/Web/Web/Views/Home/Index.cshtml
src/Web/Web/Views/Home/Index.cshtml
@{ ViewBag.Title = "Index"; } <h2>Index</h2> <div>Hello World!</div>
@{ ViewBag.Title = "Index"; } <h2>Index</h2>
mit
C#
ce1044e406c0d20d23465b3b9ffbb1f8697bbb85
Hide comment form if user not signed in.
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
src/CompetitionPlatform/Views/Project/CommentsPartial.cshtml
src/CompetitionPlatform/Views/Project/CommentsPartial.cshtml
@using System.Threading.Tasks @using CompetitionPlatform.Helpers @model CompetitionPlatform.Models.ProjectViewModels.ProjectCommentPartialViewModel <form asp-controller="ProjectDetails" asp-action="AddComment" enctype="multipart/form-data"> @if (ClaimsHelper.GetUser(User.Identity).Email != null) { <div...
@model CompetitionPlatform.Models.ProjectViewModels.ProjectCommentPartialViewModel <form asp-controller="ProjectDetails" asp-action="AddComment" enctype="multipart/form-data"> <div class="form-group"> @Html.Hidden("projectId", Model.ProjectId) <input asp-for="@Model.ProjectId" type="hidden" /> ...
mit
C#
466951290f4e12134cc59f49b23c5af5979893d8
Clean up
alvivar/Hasten
TeaTime/Tools/Easef.cs
TeaTime/Tools/Easef.cs
// Easing functions <3 // 2016/06/18 01:17 AM using UnityEngine; public static class Easef { public static float Smoothstep(float t) { return t * t * (3f - 2f * t); } public static float Smootherstep(float t) { return t * t * t * (t * (6f * t - 15f) + 10f); } public stat...
// Easing functions <3 // @matnesis // 2016/06/18 01:17 AM using UnityEngine; public static class Easef { public static float Smoothstep(float t) { return t * t * (3f - 2f * t); } public static float Smootherstep(float t) { return t * t * t * (t * (6f * t - 15f) + 10f); } ...
mit
C#
5214d9fa9196f1f22108a7329436593fdc776f32
comment handler settings method.
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
uSync.BackOffice/Configuration/uSyncHandlerSetSettings.cs
uSync.BackOffice/Configuration/uSyncHandlerSetSettings.cs
using System; using System.Collections.Generic; namespace uSync.BackOffice.Configuration { public class uSyncHandlerSetSettings { public bool Enabled { get; set; } = true; public string[] HandlerGroups { get; set; } = Array.Empty<string>(); public string[] DisabledHandlers { get; set...
using System; using System.Collections.Generic; namespace uSync.BackOffice.Configuration { public class uSyncHandlerSetSettings { public bool Enabled { get; set; } = true; public string[] HandlerGroups { get; set; } = Array.Empty<string>(); public string[] DisabledHandlers { get; set...
mpl-2.0
C#
9fa3a96a1bcb9a3d0cb58f820741096761da7c51
Rename the test class and method
versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla,versionone/VersionOne.Integration.Bugzilla
VersionOne.Bugzilla.BugzillaAPI.Testss/BugTests.cs
VersionOne.Bugzilla.BugzillaAPI.Testss/BugTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace VersionOne.Bugzilla.BugzillaAPI.Testss { [TestClass()] public class Given_A_Bug { private IBug _bug; private string _expectedReassignToPayload; [TestInitialize()] public void SetContext() { _...
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace VersionOne.Bugzilla.BugzillaAPI.Testss { [TestClass()] public class given_a_Bug { private IBug _bug; private string _expectedReassignToPayload; [TestInitialize()] public void SetContext() { _...
bsd-3-clause
C#
0692bc90f88ac27f5ddc7c60e14749ff761b7b6e
adjust assembly info
boyko-ant/ASP.NET-CORS
BoykoAnt.CORS/BoykoAnt.CORS.Module/Properties/AssemblyInfo.cs
BoykoAnt.CORS/BoykoAnt.CORS.Module/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; 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. [ass...
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("Bo...
mit
C#
9c165a42293b61f07624855d5d5a3938a17870a0
secure file password handling. Closes #12
0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload,0xFireball/PenguinUpload
PenguinUpload/src/PenguinUpload/DataModels/Files/PublicFile.cs
PenguinUpload/src/PenguinUpload/DataModels/Files/PublicFile.cs
using Newtonsoft.Json; using PenguinUpload.DataModels.Auth; using PenguinUpload.Services.Authentication; using System; using System.Collections; namespace PenguinUpload.DataModels.Files { public class PublicFile { [JsonProperty("fileId")] public string Identifier { get; set; } [JsonPr...
using Newtonsoft.Json; using PenguinUpload.DataModels.Auth; using PenguinUpload.Services.Authentication; using System; namespace PenguinUpload.DataModels.Files { public class PublicFile { [JsonProperty("fileId")] public string Identifier { get; set; } [JsonProperty("name")] pu...
apache-2.0
C#
720652340654ebbfc3099cc520e410f390e8909e
exclude test clas from code coverage
Olorin71/RetreatCode,Olorin71/RetreatCode
c#/TexasHoldEmSolution/TexasHoldEmTest/BestPossibleHandTest.cs
c#/TexasHoldEmSolution/TexasHoldEmTest/BestPossibleHandTest.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TexasHoldEm; using TexasHoldEm.Interfaces; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace TexasHoldEmTest { [TestClass] [ExcludeFromCodeCoverage] public class BestPossibleHandTest { priv...
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using TexasHoldEm; using TexasHoldEm.Interfaces; using System.Collections.Generic; namespace TexasHoldEmTest { [TestClass] public class BestPossibleHandTest { private BestPossibleHand best; [TestInitialize] public v...
mit
C#
17d48c82f6f4d8ed22981b2ed4e749012709db55
Use switch statement instead of an array
ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,UselessToucan/osu
osu.Game.Rulesets.Catch/Skinning/Legacy/LegacyFruitPiece.cs
osu.Game.Rulesets.Catch/Skinning/Legacy/LegacyFruitPiece.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Game.Rulesets.Catch.Objects.Drawables; namespace osu.Game.Rulesets.Catch.Skinning.Legacy { internal class LegacyFruitPiece :...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics.Textures; using osu.Game.Rulesets.Catch.Objects.Drawables; namespace osu.Game.Rulesets.Catch.Skinning.Legacy ...
mit
C#
07e8e7943a3feff8332b4b396a8691de105eb767
bump version
Fody/Virtuosity
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Virtuosity")] [assembly: AssemblyProduct("Virtuosity")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("1.13.0.0")] [assembly: AssemblyFileVersion("1.13.0.0")]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Virtuosity")] [assembly: AssemblyProduct("Virtuosity")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("1.12.0.0")] [assembly: AssemblyFileVersion("1.12.0.0")]
mit
C#
284705cbb731a7a8d635bcc1e35e0cd17fa21823
Bump version to 2.4.5
RazorGenerator/RazorGenerator,RazorGenerator/RazorGenerator
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System; using System.Reflection; [assembly: AssemblyVersion("2.0.0")] [assembly: AssemblyProduct("RazorGenerator")] [assembly: AssemblyCompany("RazorGenerator contributors")] [assembly: AssemblyInformationalVersion("2.4.5")]
using System; using System.Reflection; [assembly: AssemblyVersion("2.0.0")] [assembly: AssemblyProduct("RazorGenerator")] [assembly: AssemblyCompany("RazorGenerator contributors")] [assembly: AssemblyInformationalVersion("2.4.4")]
apache-2.0
C#
6e1d32dc6ddc7f8a037c898974b84f218972ff20
Update tests
peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.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 NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu...
mit
C#
4523020e65a773b15eab677b388c580ba04896bb
fix bug (regression)
mjedrzejek/nunit,nunit/nunit,mjedrzejek/nunit,nunit/nunit
src/NUnitFramework/framework/Internal/Commands/ConstructFixturePerTestCaseCommand.cs
src/NUnitFramework/framework/Internal/Commands/ConstructFixturePerTestCaseCommand.cs
// *********************************************************************** // Copyright (c) 2017 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
// *********************************************************************** // Copyright (c) 2017 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
mit
C#
067e9e216eeca45f0157eeb8865cae8b325816f4
fix type mistake
JohnTheGr8/YifySharp
src/YifySharp/Models/UserDetails.cs
src/YifySharp/Models/UserDetails.cs
using System; namespace YifySharp.Models { public class UserDetails { /// <summary> /// User identification number /// </summary> public int Id { get; set; } /// <summary> /// User's username /// </summary> public string Username { get; set; } ...
using System; namespace YifySharp.Models { public class UserDetails { /// <summary> /// User identification number /// </summary> public int Id { get; set; } /// <summary> /// User's username /// </summary> public string Username { get; set; } ...
mit
C#
0d60fe7cfc5829a4434756baa0c9fd86ed3eaf8e
Change Error class to internal
pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet
src/TelemetryChannels/ServerTelemetryChannel/Shared/Implementation/BackendResponse.cs
src/TelemetryChannels/ServerTelemetryChannel/Shared/Implementation/BackendResponse.cs
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation { using System.Runtime.Serialization; [DataContract] internal class BackendResponse { [DataMember(Name = "itemsReceived")] public int ItemsReceived { get; set; } [DataMember(Name = "itemsAcce...
namespace Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel.Implementation { using System.Runtime.Serialization; [DataContract] internal class BackendResponse { [DataMember(Name = "itemsReceived")] public int ItemsReceived { get; set; } [DataMember(Name = "itemsAcce...
mit
C#
7c400036f364a1ecc5b04e0e4f7aeded067e11b1
adjust test code.
Codeer-Software/Friendly.Windows,Codeer-Software/Friendly.Windows,Codeer-Software/Friendly.Windows
Project/UnitTest/Test.cs
Project/UnitTest/Test.cs
using System; using System.Diagnostics; using System.Windows.Forms; using Codeer.Friendly.Dynamic; using Codeer.Friendly.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class Test { [TestMethod] public void Check() { } ...
using System; using System.Diagnostics; using System.Windows.Forms; using Codeer.Friendly.Dynamic; using Codeer.Friendly.Windows; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTest { [TestClass] public class Test { [TestMethod] public void Check() { ...
apache-2.0
C#
5ff3de7e50fe33ebb9d2735a1cf30268d1abb492
add table init to bootstrap
colbylwilliams/XWeather,colbylwilliams/XWeather
XWeather/Shared/Bootstrap.cs
XWeather/Shared/Bootstrap.cs
using System.Threading.Tasks; using Microsoft.Azure.Mobile; using Microsoft.Azure.Mobile.Crashes; using ModernHttpClient; using Plugin.VersionTracking; using ServiceStack; using SettingsStudio; using NomadCode.Azure; using XWeather.Constants; using XWeather.Domain; #if __IOS__ using PclExportClient = Service...
using Microsoft.Azure.Mobile; using Microsoft.Azure.Mobile.Crashes; using ModernHttpClient; using Plugin.VersionTracking; using ServiceStack; using SettingsStudio; using XWeather.Constants; #if __IOS__ using PclExportClient = ServiceStack.IosPclExportClient; #elif __ANDROID__ using PclExportClient = ServiceS...
mit
C#
217e72b9a269874e4fa73eb0e6ebf7ce346411df
Allow line breaks
DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework
DragonSpark.Application/Components/Validation/Expressions/StandardCharactersPattern.cs
DragonSpark.Application/Components/Validation/Expressions/StandardCharactersPattern.cs
namespace DragonSpark.Application.Components.Validation.Expressions; public sealed class StandardCharactersPattern : Expression { public static StandardCharactersPattern Default { get; } = new StandardCharactersPattern(); StandardCharactersPattern() : base(@"([a-zA-Z0-9- _.;'"":!+*&%$#^@=[\]()~`<>\\/,?{}\|]|\n|\u0...
namespace DragonSpark.Application.Components.Validation.Expressions; public sealed class StandardCharactersPattern : Expression { public static StandardCharactersPattern Default { get; } = new StandardCharactersPattern(); StandardCharactersPattern() : base(@"([a-zA-Z0-9- _.;'"":!+*&%$#^@=[\]()~`<>\\/,?{}\|]|\u00a9...
mit
C#
a63f4e8ef01d7cc97109e5e5c4226c4528fedb75
Fix cast
VictorTomaili/Randomizer
Randomizer/Randomizer.cs
Randomizer/Randomizer.cs
using System.Linq; namespace System.Collections.Generic { public class Randomizer<TItem> : IEnumerable<TItem> { #region Implementation of IEnumerable public TItem[] Items { get; set; } public Randomizer(IEnumerable<TItem> items) { Items = items.ToArray(...
namespace System.Collections.Generic { public class Randomizer<TItem> : IEnumerable<TItem> { #region Implementation of IEnumerable public TItem[] Items { get; set; } public Randomizer(IEnumerable items) { Items = items as TItem[]; } IE...
mit
C#
50dc40c06a71b01b98952298cfce984cd3463faf
Fix Guid not mapped correctly to IdGraphyType when AutoGenerating Object Graph (#918)
graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
using System; using System.Collections.Generic; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly Dictionary<Type, Type> _entries; static GraphTypeTypeRegistry() { _entries = new Dictionary<Type, Type> ...
using System; using System.Collections.Generic; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly Dictionary<Type, Type> _entries; static GraphTypeTypeRegistry() { _entries = new Dictionary<Type, Type> ...
mit
C#
a2c77352ac3eede16a8cf85e81245ed66e074c44
Change version to 1.1
marska/habitrpg-api-dotnet-client
src/HabitRPG.Client/Properties/AssemblyInfo.cs
src/HabitRPG.Client/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("Ha...
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("Ha...
apache-2.0
C#
d5334787d23f7a4dfc6b05756317f4b325aee2cf
change IRealServiceProvider to IServiceProvider
AspectCore/Lite,AspectCore/AspectCore-Framework,AspectCore/Abstractions,AspectCore/AspectCore-Framework
src/AspectCore.Extensions.DependencyInjection/ActivatorUtilitieInterceptorActivator.cs
src/AspectCore.Extensions.DependencyInjection/ActivatorUtilitieInterceptorActivator.cs
using System; using AspectCore.Abstractions; using AspectCore.Core; using Microsoft.Extensions.DependencyInjection; namespace AspectCore.Extensions.DependencyInjection { internal sealed class ActivatorUtilitieInterceptorActivator : ITypedInterceptorActivator { private readonly IServiceProvider _servic...
using System; using AspectCore.Abstractions; using AspectCore.Core; using Microsoft.Extensions.DependencyInjection; namespace AspectCore.Extensions.DependencyInjection { internal sealed class ActivatorUtilitieInterceptorActivator : ITypedInterceptorActivator { private readonly IRealServiceProvider _se...
mit
C#
6134c3b147b19f105d8f6d5eaa37dd03c61ee47c
change should method method call to use generics to define return object
takenet/lime-csharp
src/Lime.Protocol.UnitTests/Serialization/TypeUtilTests.cs
src/Lime.Protocol.UnitTests/Serialization/TypeUtilTests.cs
using System.Globalization; using Lime.Protocol.Serialization; using NUnit.Framework; using Shouldly; namespace Lime.Protocol.UnitTests.Serialization { [TestFixture] public class TypeUtilTests { [Test] public void GetGenericFormatterParseFunc_DoubleInvariantCulture_ReturnValidParser() ...
using System.Globalization; using Lime.Protocol.Serialization; using NUnit.Framework; using Shouldly; namespace Lime.Protocol.UnitTests.Serialization { [TestFixture] public class TypeUtilTests { [Test] public void GetGenericFormatterParseFunc_DoubleInvariantCulture_ReturnValidParser() ...
apache-2.0
C#
6a294ef8ddca3a8066b8b8dcb766198fef9e33c4
make encoding private
lvermeulen/Nanophone
src/Nanophone.RegistryHost.InMemoryRegistry/Base64Codec.cs
src/Nanophone.RegistryHost.InMemoryRegistry/Base64Codec.cs
using System; using System.Text; namespace Nanophone.RegistryHost.InMemoryRegistry { public class Base64Codec { private readonly Encoding _encoding; public Base64Codec(Encoding encoding) { _encoding = encoding; } public Base64Codec() : this(En...
using System; using System.Text; namespace Nanophone.RegistryHost.InMemoryRegistry { public class Base64Codec { public Encoding Encoding { get; set; } public Base64Codec() { Encoding = Encoding.UTF8; } public string Encode(string s) { ...
mit
C#
c3a522f5cbde587bf0573665661e2378799c36a2
Improve error message on EmptyConstraint
appel1/nunit,JustinRChou/nunit,mikkelbu/nunit,mikkelbu/nunit,mjedrzejek/nunit,nunit/nunit,OmicronPersei/nunit,JustinRChou/nunit,nunit/nunit,mjedrzejek/nunit,OmicronPersei/nunit,appel1/nunit
src/NUnitFramework/framework/Constraints/EmptyConstraint.cs
src/NUnitFramework/framework/Constraints/EmptyConstraint.cs
// *********************************************************************** // Copyright (c) 2007 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
// *********************************************************************** // Copyright (c) 2007 Charlie Poole, Rob Prouse // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restri...
mit
C#
e33ab018f81d8b81fb56041cbe4791e011e83367
Update SolidColorBrushImpl.cs
SuperJMN/Avalonia,susloparovdenis/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,punker76/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,Perspex/Perspex,jkoritzinsky/Perspex,jazzay/Perspex,jkoritzinsky/Avalonia,ncarrillo/Perspex,Perspex/Perspex,jkoritzinsky/Avalonia,tshcherb...
src/Windows/Perspex.Direct2D1/Media/SolidColorBrushImpl.cs
src/Windows/Perspex.Direct2D1/Media/SolidColorBrushImpl.cs
// ----------------------------------------------------------------------- // <copyright file="SolidColorBrushImpl.cs" company="Steven Kirk"> // Copyright 2015 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex...
// ----------------------------------------------------------------------- // <copyright file="SolidColorBrushImpl.cs" company="Steven Kirk"> // Copyright 2015 MIT Licence. See licence.md for more information. // </copyright> // ----------------------------------------------------------------------- namespace Perspex...
mit
C#
2821227448fb442bccda5e8b2351eb36cab32855
Add additional xml doc and untabify
yoder/CefSharp,ITGlobal/CefSharp,Livit/CefSharp,joshvera/CefSharp,jamespearce2006/CefSharp,zhangjingpu/CefSharp,jamespearce2006/CefSharp,battewr/CefSharp,yoder/CefSharp,NumbersInternational/CefSharp,NumbersInternational/CefSharp,jamespearce2006/CefSharp,Haraguroicha/CefSharp,illfang/CefSharp,rlmcneary2/CefSharp,dga711/...
CefSharp/ILifeSpanHandler.cs
CefSharp/ILifeSpanHandler.cs
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { public interface ILifeSpanHandler { /// <summary> /// Called before a popup window is created. ...
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp { public interface ILifeSpanHandler { /// <summary> /// Called before a popup window is created. /// </s...
bsd-3-clause
C#
9ff20a69c512060bc8102c438edeafaf1356585d
Fix Code analysis issues
jkonecki/T4MVC,T4MVC/T4MVC,T4MVC/T4MVC,scott-xu/T4MVC,M1chaelTran/T4MVC,jkonecki/T4MVC,payini/T4MVC,scott-xu/T4MVC,M1chaelTran/T4MVC,payini/T4MVC
T4MVCHostMvcApp/Controllers/SomeAsyncController.cs
T4MVCHostMvcApp/Controllers/SomeAsyncController.cs
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Web.Mvc; using T4MVCHostMvcApp.Misc; namespace T4MVCHostMvcApp.Controllers { [HandleError] public partial class SomeAsyncController : AsyncController { public virtual ActionResult SomeAction() ...
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Web.Mvc; using T4MVCHostMvcApp.Misc; namespace T4MVCHostMvcApp.Controllers { [HandleError] public partial class SomeAsyncController : AsyncController { public virtual ActionResult SomeAction() ...
apache-2.0
C#
fb98f8a18e8a42426fdd2cad4c12bf21c1204175
Change into properties for easier debugging.
mcneel/RhinoCycles
RenderEngine.Settings.cs
RenderEngine.Settings.cs
/** Copyright 2014-2017 Robert McNeel and Associates 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 agreed to in w...
/** Copyright 2014-2017 Robert McNeel and Associates 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 agreed to in w...
apache-2.0
C#
4f2d30b961402d355a12b6a49bc63e35f2fd79b8
Update CalculatingFormulas.cs
aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-sh...
Examples/CSharp/Formulas/CalculatingFormulas.cs
Examples/CSharp/Formulas/CalculatingFormulas.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formulas { public class CalculatingFormulas { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDa...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Formulas { public class CalculatingFormulas { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection....
mit
C#
060b4fa5266a9cd1e334111d968036141e379cd8
Fix failing multiplayer player test
smoogipooo/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerPlayer.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.Screens; using osu.Framework.Testing; using osu.Game.Online.Multiplayer; using osu.Game.Rulesets.Osu; 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.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Rulesets.Osu; using osu.Game.Screens.OnlinePlay.Multiplayer; namespace osu.Game.Tes...
mit
C#
8b67da6207a492309c0e34ba330410d8eea47eb9
Add IsNullToVisibility converter
SaberSnail/GoldenAnvil.Utility
GoldenAnvil.Utility.Windows/CommonConverters.cs
GoldenAnvil.Utility.Windows/CommonConverters.cs
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace GoldenAnvil.Utility.Windows { public static class CommonConverters { public static readonly IValueConverter BooleanNot = new BooleanNotConverter(); public static readonly IValueConverter BooleanToVisibility = n...
using System; using System.Globalization; using System.Windows; using System.Windows.Data; namespace GoldenAnvil.Utility.Windows { public static class CommonConverters { public static readonly IValueConverter BooleanNot = new BooleanNotConverter(); public static readonly IValueConverter BooleanToVisibility = n...
mit
C#
d8d0bbfeb9e0ee27e2603d51c29b64fa1755d814
Implement repo method for changing user password.
enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api
Infopulse.EDemocracy.Web/Auth/AuthRepository.cs
Infopulse.EDemocracy.Web/Auth/AuthRepository.cs
using Infopulse.EDemocracy.Common.Extensions; using Infopulse.EDemocracy.Web.Auth; using Infopulse.EDemocracy.Web.Auth.Models; using Infopulse.EDemocracy.Web.Models; using Microsoft.AspNet.Identity; using System; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using Infopulse.EDemocracy.Mode...
using Infopulse.EDemocracy.Common.Extensions; using Infopulse.EDemocracy.Web.Auth; using Infopulse.EDemocracy.Web.Auth.Models; using Infopulse.EDemocracy.Web.Models; using Microsoft.AspNet.Identity; using System; using System.Data.Entity; using System.Linq; using System.Threading.Tasks; using Infopulse.EDemocracy.Mode...
cc0-1.0
C#
f83a6c49ba7ea17c34de5020b928959036f18c94
Remove IEnableLogger
ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms
Ets.Mobile/Ets.Mobile.ViewModel/Pages/Main/MainViewModel.cs
Ets.Mobile/Ets.Mobile.ViewModel/Pages/Main/MainViewModel.cs
using System; using System.Runtime.Serialization; using Ets.Mobile.ViewModel.Bases; using Ets.Mobile.ViewModel.Contracts.Main; using ReactiveUI; using Splat; namespace Ets.Mobile.ViewModel.Pages.Main { [DataContract] public partial class MainViewModel : ViewModelBase, IMainViewModel, IDisposable ...
using System; using System.Runtime.Serialization; using Ets.Mobile.ViewModel.Bases; using Ets.Mobile.ViewModel.Contracts.Main; using ReactiveUI; using Splat; namespace Ets.Mobile.ViewModel.Pages.Main { [DataContract] public partial class MainViewModel : ViewModelBase, IMainViewModel, IEnableLogger, ...
apache-2.0
C#
703dcb1b4d524126fe5d81d24787e94f99ea9cd4
Fix NullReference
erebuswolf/LockstepFramework,yanyiyun/LockstepFramework,SnpM/Lockstep-Framework
Core/Simulation/Grid/Influence/LSInfluencer.cs
Core/Simulation/Grid/Influence/LSInfluencer.cs
using System; using UnityEngine; using System.Collections.Generic; namespace Lockstep { public class LSInfluencer { #region Static Helpers static LSAgent tempAgent; static GridNode tempNode; #endregion #region Collection Helper [NonSerialized] public int bucketIndex = -1; #endregion #regio...
using System; using UnityEngine; using System.Collections.Generic; namespace Lockstep { public class LSInfluencer { #region Static Helpers static LSAgent tempAgent; static GridNode tempNode; #endregion #region Collection Helper [NonSerialized] public int bucketIndex = -1; #endregion #regio...
mit
C#
df2fc0e4e9ae9555dc2247184d212e98dd6e768f
Update ExchangeRatesContext.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRatesContext.cs
TIKSN.Framework.Core/Finance/ForeignExchange/EntityFrameworkCore/ExchangeRatesContext.cs
using Microsoft.EntityFrameworkCore; namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore { public class ExchangeRatesContext : DbContext { public ExchangeRatesContext(DbContextOptions<ExchangeRatesContext> dbContextOptions) : base(dbContextOptions) { } public virt...
using Microsoft.EntityFrameworkCore; namespace TIKSN.Finance.ForeignExchange.Data.EntityFrameworkCore { public class ExchangeRatesContext : DbContext { public virtual DbSet<ExchangeRateEntity> ExchangeRates { get; set; } public virtual DbSet<ForeignExchangeEntity> ForeignExchanges { get; set; ...
mit
C#
5b456a94a59cccb7cf00bb078442c4a83a0b64d7
check for null against classification target
jdermody/brightwire
BrightWire.Source/TabularData/Analysis/FrequencyCollector.cs
BrightWire.Source/TabularData/Analysis/FrequencyCollector.cs
using System.Collections.Generic; using System.Linq; namespace BrightWire.TabularData.Analysis { /// <summary> /// A collector that collects the frequency from a single column of a data table /// </summary> class FrequencyCollector : IRowProcessor, IFrequencyColumnInfo, IDataTableColumnFrequency {...
using System.Collections.Generic; using System.Linq; namespace BrightWire.TabularData.Analysis { /// <summary> /// A collector that collects the frequency from a single column of a data table /// </summary> class FrequencyCollector : IRowProcessor, IFrequencyColumnInfo, IDataTableColumnFrequency {...
mit
C#
e040d87f250ee5bd8823a5f86c69eb02c463dd77
Reorder routes
vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool,vasilvalkov/LanguageSchool
LanguageSchoolApp/LanguageSchoolApp/App_Start/RouteConfig.cs
LanguageSchoolApp/LanguageSchoolApp/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace LanguageSchoolApp { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace LanguageSchoolApp { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute(...
mit
C#
504f6658bb49c8a39e742d40183c263fecc04afd
Remove unused attribute
mstrother/BmpListener
BmpListener/Bmp/BmpHeader.cs
BmpListener/Bmp/BmpHeader.cs
using Newtonsoft.Json; namespace BmpListener.Bmp { public class BmpHeader { public BmpHeader(byte[] data) { ParseBytes(data); } public byte Version { get; private set; } [JsonIgnore] public uint Length { get; private set; } public MessageT...
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace BmpListener.Bmp { public class BmpHeader { public BmpHeader(byte[] data) { ParseBytes(data); } public byte Version { get; private set; } [JsonIgnore] public uint Length { get; priva...
mit
C#
4612c3021165ca56b78a3baf9f7ccb8367b8bdda
Fix GatewayRateLimiter not waiting long enough
BundledSticksInkorperated/Discore
src/Discore/WebSocket/Net/GatewayRateLimiter.cs
src/Discore/WebSocket/Net/GatewayRateLimiter.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Discore.WebSocket.Net { class GatewayRateLimiter { public int ResetTimeSeconds => resetTime.Seconds; readonly TimeSpan resetTime; readonly int maxInvokes; DateTime resetAt; int invokesLeft; ...
using System; using System.Threading; using System.Threading.Tasks; namespace Discore.WebSocket.Net { class GatewayRateLimiter { public int ResetTimeSeconds => resetTime.Seconds; readonly TimeSpan resetTime; readonly int maxInvokes; DateTime resetAt; int invokesLeft; ...
mit
C#
4a97cafa417ac4e7aedd445f3ca8943331861310
Set instance name correctly for tests.
lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb
src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs
src/QuartzNET-DynamoDB.Tests/Integration/DynamoClientFactory.cs
using System; using Amazon.DynamoDBv2; namespace Quartz.DynamoDB.Tests { public class DynamoClientFactory { private static JobStore _store; private static string InstanceName = Guid.NewGuid().ToString(); public static DynamoDB.JobStore CreateTestJobStore() { _store...
using System; using Amazon.DynamoDBv2; namespace Quartz.DynamoDB.Tests { public class DynamoClientFactory { private static JobStore _store; private static string InstanceName; public static DynamoDB.JobStore CreateTestJobStore() { _store = new JobStore(); ...
apache-2.0
C#
3c5ac417d01c3292868a4ae5f3be637c9094e545
Fix the registration of IConfiguration<>
quartz-software/kephas,quartz-software/kephas
src/Kephas.Core/Configuration/IConfiguration.cs
src/Kephas.Core/Configuration/IConfiguration.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IConfiguration.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Declares the IConfiguration interf...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IConfiguration.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Declares the IConfiguration interf...
mit
C#
6c16aa2725ed577552652d62e1cd366dac513552
switch to evaluate == first
yoder/CefSharp,gregmartinhtc/CefSharp,illfang/CefSharp,NumbersInternational/CefSharp,VioletLife/CefSharp,VioletLife/CefSharp,battewr/CefSharp,NumbersInternational/CefSharp,twxstar/CefSharp,AJDev77/CefSharp,twxstar/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,rlmcneary2/CefSharp,yoder/CefSharp,zhangjingpu/CefSh...
CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
CefSharp.Wpf/Rendering/InteropBitmapInfo.cs
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { ...
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Windows.Interop; using System.Windows.Media; using System.Windows.Media.Imaging; namespace CefSharp.Wpf.Rendering { ...
bsd-3-clause
C#
2b12663ffcec569cb67c1f4bf53b39c2ba324fb2
Remove one remaining reference to OsuTKWindow in xmldoc
ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/Containers/SafeAreaDefiningContainer.cs
osu.Framework/Graphics/Containers/SafeAreaDefiningContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics.Primitives; using osu.Framework.Platform; namespace osu.Framework.Graphics.C...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Bindables; using osu.Framework.Graphics.Primitives; using osu.Framework.Platform; namespace osu.Framework.Graphics.C...
mit
C#
d823c77a63e315207bbe7f282ef07ef3eeb8bf1f
Implement swell tick application
NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.cs
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableSwellTick.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 osu.Framework.Graphics; using osu.Game.Rulesets.Taiko.Skinning.Default; using osu.Game.Skinning; namespace osu.Game.Rulesets.Taiko.Obj...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Graphics; using osu.Game.Rulesets.Taiko.Skinning.Default; using osu.Game.Skinning; namespace osu.Game.Rulesets.Taiko.Objects.Drawables { public c...
mit
C#
8a4a0484cf964441c7fd4167fc7a68012127f277
Fix HelixToolkit.Wpf.SharpDX.Tests
JeremyAnsel/helix-toolkit,holance/helix-toolkit,helix-toolkit/helix-toolkit,smischke/helix-toolkit,Iluvatar82/helix-toolkit,jotschgl/helix-toolkit,CobraCalle/helix-toolkit,chrkon/helix-toolkit
Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs
Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CanvasMock.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // -----------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="CanvasMock.cs" company="Helix Toolkit"> // Copyright (c) 2014 Helix Toolkit contributors // </copyright> // -----------------------------------------------------------------...
mit
C#
1b9375b7c6e36c371eaf88e00a847696df97e881
Update Global.asax.cs
ellern/champs-room,ellern/champs-room
src/Global.asax.cs
src/Global.asax.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace ChampsRoom { public class MvcApplication : System.Web.HttpApplication { protected void Application_Start(...
mit
C#
acf6cd1d0af1c4f848b033af7220e5a2c7a8ad64
Remove the namespace
rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rabbitmq-tutorials,rabbitmq/rab...
dotnet/RPCClient/RPCClient.cs
dotnet/RPCClient/RPCClient.cs
using System; using System.Collections.Concurrent; using System.Text; using RabbitMQ.Client; using RabbitMQ.Client.Events; public class RpcClient { private readonly IConnection connection; private readonly IModel channel; private readonly string replyQueueName; private readonly EventingBasicConsumer co...
using System; using System.Collections.Concurrent; using System.Text; using RabbitMQ.Client; using RabbitMQ.Client.Events; namespace RpcClient { public class RpcClient { private readonly IConnection connection; private readonly IModel channel; private readonly string replyQueueName; ...
apache-2.0
C#