commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
58e535ead38d00cf32154b020d3da4572d856e12 | OpenStardriveServer/Domain/Systems/Propulsion/Engines/EnginesState.cs | OpenStardriveServer/Domain/Systems/Propulsion/Engines/EnginesState.cs | using System;
using OpenStardriveServer.Domain.Systems.Standard;
namespace OpenStardriveServer.Domain.Systems.Propulsion.Engines;
public record EnginesState : StandardSystemBaseState
{
public int CurrentSpeed { get; init; }
public EngineSpeedConfig SpeedConfig { get; init; }
public int CurrentHeat { get; ... | using System;
using OpenStardriveServer.Domain.Systems.Standard;
namespace OpenStardriveServer.Domain.Systems.Propulsion.Engines;
public record EnginesState : StandardSystemBaseState
{
public int CurrentSpeed { get; init; }
public EngineSpeedConfig SpeedConfig { get; init; }
public int CurrentHeat { get; ... | Fix bug where prop was not serialized | Fix bug where prop was not serialized
| C# | apache-2.0 | openstardrive/server,openstardrive/server,openstardrive/server |
c84d05076a30141278c23d99f9286c2c8e7c4b53 | src/Locking/DistributedAppLockException.cs | src/Locking/DistributedAppLockException.cs | using System;
namespace RapidCore.Locking
{
public class DistributedAppLockException : Exception
{
public DistributedAppLockException()
{
}
public DistributedAppLockException(string message)
: base(message)
{
}
public DistributedAppLockExcep... | using System;
namespace RapidCore.Locking
{
public class DistributedAppLockException : Exception
{
public DistributedAppLockException()
{
}
public DistributedAppLockException(string message)
: base(message)
{
}
public DistributedAppLockExcep... | Add overloads to exception to take in the Reason | Add overloads to exception to take in the Reason
| C# | mit | rapidcore/rapidcore,rapidcore/rapidcore |
afd4740c609eafd48ab4cd6a539db47a3ba3778e | Assets/HoloToolkit/Utilities/Scripts/Extensions/CameraExtensions.cs | Assets/HoloToolkit/Utilities/Scripts/Extensions/CameraExtensions.cs | using UnityEngine;
namespace HoloToolkit.Unity
{
public static class CameraExtensions
{
/// <summary>
/// Get the horizontal FOV from the stereo camera
/// </summary>
/// <returns></returns>
public static float GetHorizontalFieldOfViewRadians(this Camera camera)
... | using UnityEngine;
namespace HoloToolkit.Unity
{
public static class CameraExtensions
{
/// <summary>
/// Get the horizontal FOV from the stereo camera
/// </summary>
/// <returns></returns>
public static float GetHorizontalFieldOfViewRadians(this Camera camera)
... | Use floats across the camera calculations /2 > 0.5f | Use floats across the camera calculations
/2 > 0.5f
| C# | mit | paseb/HoloToolkit-Unity,HoloFan/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,out-of-pixel/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,willcong/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,dbastienMS/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity |
10c9b3d971757d12f265e18fcf6c86c4c9d959e4 | compiler/middleend/ir/ParseResult.cs | compiler/middleend/ir/ParseResult.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace compiler.middleend.ir
{
class ParseResult
{
public Operand Operand { get; set; }
public List<Instruction> Instructions { get; set; }
public Dictionary<SsaVaria... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace compiler.middleend.ir
{
class ParseResult
{
public Operand Operand { get; set; }
public List<Instruction> Instructions { get; set; }
public Dictionary<int, Ssa... | Fix Dictionary type to be more useful | Fix Dictionary type to be more useful
| C# | mit | ilovepi/Compiler,ilovepi/Compiler |
abffd8293bec00982d72d40cd986a950d13122fe | CSharp/SimpleOrderRouting.Journey1/ExecutionState.cs | CSharp/SimpleOrderRouting.Journey1/ExecutionState.cs | namespace SimpleOrderRouting.Journey1
{
public class ExecutionState
{
public ExecutionState(InvestorInstruction investorInstruction)
{
this.Quantity = investorInstruction.Quantity;
this.Price = investorInstruction.Price;
this.Way = investorInstruction.Way;
... | namespace SimpleOrderRouting.Journey1
{
public class ExecutionState
{
public ExecutionState(InvestorInstruction investorInstruction)
{
this.Quantity = investorInstruction.Quantity;
this.Price = investorInstruction.Price;
this.Way = investorInstruction.Way;
... | Fix fat-finger made before the previous commit | Fix fat-finger made before the previous commit
| C# | apache-2.0 | Lunch-box/SimpleOrderRouting |
984f9a550bdbcc5e6c293fa62244b22dc605582f | Assets/Scripts/SpecialPowers/PowerRandom.cs | Assets/Scripts/SpecialPowers/PowerRandom.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PowerRandom : BaseSpecialPower {
[SerializeField] private List<BaseSpecialPower> powers;
private BaseSpecialPower activePower = null;
protected override void Start() {
base.Start();
activePower = ... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PowerRandom : BaseSpecialPower {
[SerializeField] private List<BaseSpecialPower> powers;
private BaseSpecialPower activePower = null;
protected override void Start() {
base.Start();
activePower = ... | Fix random power use when cooldown | Fix random power use when cooldown
| C# | mit | solfen/Rogue_Cadet |
afb15950afb313a4f26bfdbb39d0666f6500485d | Dasher.Schemata/Schema.cs | Dasher.Schemata/Schema.cs | using System.Collections.Generic;
using System.Xml.Linq;
using JetBrains.Annotations;
namespace Dasher.Schemata
{
public interface IWriteSchema
{
/// <summary>
/// Creates a deep copy of this schema within <paramref name="collection"/>.
/// </summary>
/// <param name="collection... | using System.Collections.Generic;
using System.Xml.Linq;
using JetBrains.Annotations;
namespace Dasher.Schemata
{
public interface IWriteSchema
{
/// <summary>
/// Creates a deep copy of this schema within <paramref name="collection"/>.
/// </summary>
/// <param name="collection... | Improve ToString when Id is null | Improve ToString when Id is null
| C# | apache-2.0 | drewnoakes/dasher |
740a6d9bb52fd9ea8894de60df87f585a91db7d8 | MobileDeviceDetector/Rules/Conditions/UserAgentCondition.cs | MobileDeviceDetector/Rules/Conditions/UserAgentCondition.cs | namespace Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions
{
using System;
using System.Web;
using Sitecore.Diagnostics;
using Sitecore.Rules;
using Sitecore.Rules.Conditions;
/// <summary>
/// UserAgentCondition
/// </summary>
/// <typeparam name="T"></typeparam>
public class UserAgent... | namespace Sitecore.SharedSource.MobileDeviceDetector.Rules.Conditions
{
using System;
using System.Web;
using Sitecore.Diagnostics;
using Sitecore.Rules;
using Sitecore.Rules.Conditions;
/// <summary>
/// UserAgentCondition
/// </summary>
/// <typeparam name="T"></typeparam>
public class UserAgent... | Support full range of comparison operators instead of IndexOf | Support full range of comparison operators instead of IndexOf
| C# | mit | adoprog/Sitecore-Mobile-Device-Detector |
57b0821e19d6d54ca7c83e7ffb74f43605846e8b | Core/Utils/WindowsUtils.cs | Core/Utils/WindowsUtils.cs | using System.Diagnostics;
using System.IO;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
AuthorizationRuleCollec... | using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security.AccessControl;
using System.Security.Principal;
namespace TweetDck.Core.Utils{
static class WindowsUtils{
public static bool CheckFolderPermission(string path, FileSystemRights right){
try{
Auth... | Revert "Rewrite folder write permission check to hopefully make it more reliable" | Revert "Rewrite folder write permission check to hopefully make it more reliable"
This reverts commit 1f9db3bda6a457f019c301208e9fa3bf4f5197fb.
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
39cfe75b9c2857f54b67fbb2aee1971bdece8cd3 | Mollie.Api/Models/Connect/AppPermissions.cs | Mollie.Api/Models/Connect/AppPermissions.cs | namespace Mollie.Api.Models.Connect {
public static class AppPermissions {
public const string PaymentsRead = "payments.read";
public const string PaymentsWrite = "payments.write";
public const string RefundsRead = "refunds.read";
public const string RefundsWrite = "refunds.write";
... | namespace Mollie.Api.Models.Connect {
public static class AppPermissions {
public const string PaymentsRead = "payments.read";
public const string PaymentsWrite = "payments.write";
public const string RefundsRead = "refunds.read";
public const string RefundsWrite = "refunds.write";
... | Fix typo in OnboardingRead and add SettlementsRead | Fix typo in OnboardingRead and add SettlementsRead
| C# | mit | Viincenttt/MollieApi,Viincenttt/MollieApi |
c420f373a5ddc8050a2d3f419282feb2c41326fa | Solutions/Endjin.Cancelable.Demo/Program.cs | Solutions/Endjin.Cancelable.Demo/Program.cs | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | namespace Endjin.Cancelable.Demo
{
#region Using Directives
using System;
using System.Threading;
using System.Threading.Tasks;
using Endjin.Contracts;
using Endjin.Core.Composition;
using Endjin.Core.Container;
#endregion
public class Program
{
public static void Ma... | Add warning message to ensure user is running the Azure Emulator | Add warning message to ensure user is running the Azure Emulator
| C# | mit | endjin/Endjin.Cancelable,endjin/Endjin.Cancelable |
d131cf24f0be5eb9c79c7eaa7e390b78a9303b7c | ExtensionSample/Program.cs | ExtensionSample/Program.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Diagnostics;
using System.IO;
using System.Net.Mail;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions;
using Microsof... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.IO;
using Microsoft.Azure.WebJobs;
using OutgoingHttpRequestWebJobsExtension;
namespace ExtensionsSample
{
public s... | Add input param. logger and get test string from cmd line | Add input param. logger and get test string from cmd line
| C# | apache-2.0 | davidebbo/OutgoingHttpRequestWebJobsExtension |
a772ca5acffd65cb216aa4078f3eb4152f025830 | Client/Skybox.cs | Client/Skybox.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Contains static utilities to render a skybox.
/// </summary>
internal static class Skybox {
private static float rotation;... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace ShiftDrive {
/// <summary>
/// Contains static utilities to render a skybox.
/// </summary>
internal static class Skybox {
private static float rotation;... | Tweak skybox rotation direction and speed | Tweak skybox rotation direction and speed
| C# | bsd-3-clause | iridinite/shiftdrive |
574ca1f4824549b5542985f873d231a80392beba | src/Workspaces/Core/Portable/Experiments/IExperimentationService.cs | src/Workspaces/Core/Portable/Experiments/IExperimentationService.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;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
... | // 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.
#nullable enable
using System;
using System.Composition;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAn... | Update nullable annotations in Experiments folder | Update nullable annotations in Experiments folder
| C# | mit | wvdd007/roslyn,KirillOsenkov/roslyn,mavasani/roslyn,jmarolf/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,genlu/roslyn,weltkante/roslyn,KevinRansom/roslyn,tmat/roslyn,genlu/roslyn,panopticoncentral/roslyn,brettfo/roslyn,diryboy/roslyn,dotnet/roslyn,dotnet/roslyn,KirillOsenkov/roslyn,dotnet/roslyn,AmadeusW/roslyn,jmarolf/... |
d3058c5cd2ca1820178e6ac61c7121f1b8f7ecbb | src/AppHarbor/Commands/AddHostnameCommand.cs | src/AppHarbor/Commands/AddHostnameCommand.cs | using System;
namespace AppHarbor.Commands
{
public class AddHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public AddHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient ap... | using System;
namespace AppHarbor.Commands
{
public class AddHostnameCommand : ICommand
{
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHarborClient _appharborClient;
public AddHostnameCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient ap... | Throw a CommandException if no hostname is specified | Throw a CommandException if no hostname is specified
| C# | mit | appharbor/appharbor-cli |
f09a4e9c5b0e5507d9d3a22b92682a2190030832 | osu.Game/Configuration/DevelopmentOsuConfigManager.cs | osu.Game/Configuration/DevelopmentOsuConfigManager.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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | // 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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available | Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available
| C# | mit | peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu |
b2059f29b97037e509186cc378297890d60327d4 | src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs | src/Winium.Desktop.Driver/CommandExecutors/SendKeysToElementExecutor.cs | namespace Winium.Desktop.Driver.CommandExecutors
{
internal class SendKeysToElementExecutor : CommandExecutorBase
{
#region Methods
protected override string DoImpl()
{
var registeredKey = this.ExecutedCommand.Parameters["ID"].ToString();
var text = this.Execute... | namespace Winium.Desktop.Driver.CommandExecutors
{
internal class SendKeysToElementExecutor : CommandExecutorBase
{
#region Methods
protected override string DoImpl()
{
var registeredKey = this.ExecutedCommand.Parameters["ID"].ToString();
var text = string.Join(... | Fix for wrong keys when using python binding | Fix for wrong keys when using python binding
| C# | mpl-2.0 | zebraxxl/Winium.Desktop,2gis/Winium.Desktop,jorik041/Winium.Desktop |
16f9dd44521306d464aa7f6b65b28025ba77e865 | exercises/robot-name/RobotNameTest.cs | exercises/robot-name/RobotNameTest.cs | using Xunit;
public class RobotNameTest
{
private readonly Robot robot = new Robot();
[Fact]
public void Robot_has_a_name()
{
Assert.Matches(@"[A-Z]{2}\d{3}", robot.Name);
}
[Fact(Skip = "Remove to run test")]
public void Name_is_the_same_each_time()
{
Assert.Equal(rob... | using Xunit;
public class RobotNameTest
{
private readonly Robot robot = new Robot();
[Fact]
public void Robot_has_a_name()
{
Assert.Matches(@"^[A-Z]{2}\d{3}$", robot.Name);
}
[Fact(Skip = "Remove to run test")]
public void Name_is_the_same_each_time()
{
Assert.Equal(r... | Update RobotName name test to be more restrictive | Update RobotName name test to be more restrictive
Previously the tests would not catch invalid robot names such as AB1234, or ABC123 because the regex did not have start or end anchors specified. This commit updates the regex so that those names are no longer accepted by the tests. | C# | mit | robkeim/xcsharp,exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp |
233caa379d180d18093c1ce69ae968d15eb5014c | NReplayGain/AlbumGain.cs | NReplayGain/AlbumGain.cs | using System;
using System.Linq;
namespace NReplayGain
{
/// <summary>
/// Contains ReplayGain data for an album.
/// </summary>
public class AlbumGain
{
private GainData albumData;
public AlbumGain()
{
this.albumData = new GainData();
}
/// <s... | using System;
using System.Linq;
namespace NReplayGain
{
/// <summary>
/// Contains ReplayGain data for an album.
/// </summary>
public class AlbumGain
{
private GainData albumData;
public AlbumGain()
{
this.albumData = new GainData();
}
/// <s... | Fix bug in album gain calculation. | Fix bug in album gain calculation.
| C# | lgpl-2.1 | karamanolev/NReplayGain |
5d4aa97f00d2fff23cdd18a5b75f297c07b39f52 | src/web/Extensions/SitePageRouteConstraint.cs | src/web/Extensions/SitePageRouteConstraint.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Routing;
namespace wwwplatform.Extensions
{
public class SitePageRouteConstraint : IRouteConstraint
{
public bool Match(HttpCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Routing;
namespace wwwplatform.Extensions
{
public class SitePageRouteConstraint : IRouteConstraint
{
public bool Match(HttpCo... | Fix route matching for typed-in urls | Fix route matching for typed-in urls
| C# | apache-2.0 | brondavies/wwwplatform.net,brondavies/wwwplatform.net,brondavies/wwwplatform.net |
9cfa83ad5bdaa43722b1931463688f0cfd6bd67f | src/Qowaiv.ComponentModel/Result_T.cs | src/Qowaiv.ComponentModel/Result_T.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Qowaiv.ComponentModel
{
/// <summary>Represents a result of a validation, executed command, etcetera.</summary>
public class Result<T> : Result
{
/// <summary>Creates a new ins... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace Qowaiv.ComponentModel
{
/// <summary>Represents a result of a validation, executed command, etcetera.</summary>
public class Result<T> : Result
{
/// <summary>Creates a new instance of a <se... | Add a constructor that only requires messages. | Add a constructor that only requires messages.
| C# | mit | Qowaiv/Qowaiv |
bf5af3310aa1d643e08a0135531fff7b9aff9416 | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/BreakPart.cs | osu.Game/Screens/Edit/Components/Timelines/Summary/Parts/BreakPart.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.Game.Beatmaps.Timing;
using osu.Game.Graphics;
using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
namespa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Game.Beatmaps.Timing;
using osu.Game.Graphics;
using osu.Game.Screens.Edit.Components.Timelines.Summary.Visualisations;
namespa... | Update break colour to not look like kiai time | Update break colour to not look like kiai time
| C# | mit | NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu |
a02a9634a72e6afddc54ffd3fe8f2b66ed38ddbf | Cqrs/Framework/Cqrs.Ninject/Configuration/NinjectDependencyResolver.cs | Cqrs/Framework/Cqrs.Ninject/Configuration/NinjectDependencyResolver.cs | using System;
using System.Linq;
using Cqrs.Configuration;
using Ninject;
using Ninject.Parameters;
namespace Cqrs.Ninject.Configuration
{
public class NinjectDependencyResolver : IServiceLocator
{
public static IServiceLocator Current { get; private set; }
static NinjectDependencyResolver()
{
... | using System;
using System.Linq;
using Cqrs.Configuration;
using Ninject;
using Ninject.Parameters;
namespace Cqrs.Ninject.Configuration
{
public class NinjectDependencyResolver : IServiceLocator
{
public static IServiceLocator Current { get; protected set; }
static NinjectDependencyResolver()
{... | Allow the static property to be protected | Allow the static property to be protected
git-svn-id: d0def854dd7af056e86ca9c2262ea22710193966@122 72444466-9f5c-4d9b-9c6f-db583910f96c
| C# | lgpl-2.1 | cdmdotnet/CQRS,Chinchilla-Software-Com/CQRS |
d68b3004f093cdf67a787b8068a21a7e76193a59 | src/LondonTravel.Site/Views/Shared/Error.cshtml | src/LondonTravel.Site/Views/Shared/Error.cshtml | @model int?
@{
ViewBag.Title = "Error";
ViewBag.Message = ViewBag.Message ?? "An error occurred while processing your request.";
}
<h1 class="text-danger">Error (HTTP @(Model ?? 500))</h1>
<h2 class="text-danger">@ViewBag.Message</h2>
| @model int?
@{
ViewBag.MetaDescription = string.Empty;
ViewBag.MetaRobots = "NOINDEX";
ViewBag.Title = "Error";
ViewBag.Message = ViewBag.Message ?? "An error occurred while processing your request.";
}
<h1 class="text-danger">Error (HTTP @(Model ?? 500))</h1>
<h2 class="text-danger">@ViewBag.Message</... | Add NOINDEX to error pages | Add NOINDEX to error pages
Add NOINDEX for robots to error pages.
| C# | apache-2.0 | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site |
2ba88923b624d012c69c99d40b834beab47e407e | osu.Game/Overlays/OverlayRulesetSelector.cs | osu.Game/Overlays/OverlayRulesetSelector.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.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Rulesets;
using osuTK;
namespace osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Online.... | Select user preferred ruleset on overlay ruleset selectors initially | Select user preferred ruleset on overlay ruleset selectors initially
| C# | mit | smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu |
ce735eef51106ebf750c414eab2357409879ea19 | osu.Framework/Graphics/Shaders/UniformMapping.cs | osu.Framework/Graphics/Shaders/UniformMapping.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// A mapping of a global uniform to many shaders which ne... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Collections.Generic;
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// A mapping of a global uniform to many shaders which ne... | Remove no longer necessary comment | Remove no longer necessary comment
| C# | mit | ppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZL... |
19aae9aebc64c681bd3ae140e82e76baa0701cd0 | PalasoUIWindowsForms/HtmlBrowser/IWebBrowser.cs | PalasoUIWindowsForms/HtmlBrowser/IWebBrowser.cs | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.HtmlBrowser
{
public interface IWebBrowser
{
bool CanGoBack { get; }
bool CanGoForward { get; }
string Docu... | // Copyright (c) 2014 SIL International
// This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
using System;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.HtmlBrowser
{
public interface IWebBrowser
{
bool CanGoBack { get; }
bool CanGoForward { get; }
/// <summar... | Document a promise to reintroduce the DocumentText get | Document a promise to reintroduce the DocumentText get
| C# | mit | darcywong00/libpalaso,gmartin7/libpalaso,ddaspit/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,chrisvire/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,JohnThomson/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,gtryus/libp... |
85b413c519267c75c130cecee2a5175a52bf0070 | AgileMapper.UnitTests/WhenViewingMappingPlans.cs | AgileMapper.UnitTests/WhenViewingMappingPlans.cs | namespace AgileObjects.AgileMapper.UnitTests
{
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenViewingMappingPlans
{
[Fact]
public void ShouldIncludeASimpleTypeMemberMapping()
{
var plan = Mapper
... | namespace AgileObjects.AgileMapper.UnitTests
{
using System;
using System.Collections.Generic;
using Shouldly;
using TestClasses;
using Xunit;
public class WhenViewingMappingPlans
{
[Fact]
public void ShouldIncludeASimpleTypeMemberMapping()
{
var plan = ... | Test coverage for viewing a simple type member conversion in a mapping plan | Test coverage for viewing a simple type member conversion in a mapping plan
| C# | mit | agileobjects/AgileMapper |
88aea3d6e55a4d3cd468c71e8522ac1d55f9fbee | BitCommitment/BitCommitmentProvider.cs | BitCommitment/BitCommitmentProvider.cs | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's one-way
/// function method for committing bits
/// </summary>
public cl... | using System;
namespace BitCommitment
{
/// <summary>
/// A class to perform bit commitment. It does not care what the input is; it's just a
/// facility for exchanging bit commitment messages. Based on Bruce Schneier's RandBytes1-way
/// function method for committing bits
/// </summary>
pu... | Refactor to make steps of protocol clearer | Refactor to make steps of protocol clearer
| C# | mit | 0culus/ElectronicCash |
e8fb6859789491e76e2fd8abf0a1e0fde7d4ee66 | BobTheBuilder/Syntax/DynamicBuilder.cs | BobTheBuilder/Syntax/DynamicBuilder.cs | using System.Dynamic;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class DynamicBuilder<T> : DynamicBuilderBase<T> where T: class
{
public DynamicBuilder(IArgumentStore argumentStore) : base(argumentStore) { }
public override bool InvokeBuilderMethod(InvokeMember... | using System.Dynamic;
using BobTheBuilder.ArgumentStore;
namespace BobTheBuilder.Syntax
{
public class DynamicBuilder<T> : DynamicBuilderBase<T>, IParser where T: class
{
public DynamicBuilder(IArgumentStore argumentStore) : base(argumentStore) { }
public override bool InvokeBuilderMethod(Inv... | Implement IParser on method syntax builder. | Implement IParser on method syntax builder.
| C# | apache-2.0 | fffej/BobTheBuilder,alastairs/BobTheBuilder |
f8245bc6347829be36b3b28bfe275d8ccad72ed4 | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | src/Abc.Zebus/Transport/ZmqSocketOptions.cs | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions : IZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 1000.Milliseconds();
Se... | using System;
using Abc.Zebus.Util;
namespace Abc.Zebus.Transport
{
public class ZmqSocketOptions : IZmqSocketOptions
{
public ZmqSocketOptions()
{
ReadTimeout = 300.Milliseconds();
SendHighWaterMark = 20000;
SendTimeout = 100.Milliseconds();
Sen... | Make send try policy more aggressive | Make send try policy more aggressive
A slow consumer would block the sending thread for 6s
(1+5 retries * 1000ms) before being marked as down, which prevents other
peers from receiving messages, the new setting is more aggressive
(300ms).
| C# | mit | Abc-Arbitrage/Zebus,biarne-a/Zebus |
d97dc22e79021f94249a99cae827d1d25003bac7 | osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenBehaviour.cs | osu.Game.Tests/Visual/UserInterface/TestSceneFirstRunScreenBehaviour.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.Screens;
using osu.Game.Overlays.FirstRunSetup;
namespace osu.Game.Tests.Visual.UserInterface
{
public class TestSceneFirstRunScreenBehaviour : O... | // 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.Screens;
using osu.Game.Overlays;
using osu.Game.Overlays.FirstRunSetup;
namespace osu.Game.Tests.Visual.UserInterfac... | Add missing dependencies for behaviour screen test | Add missing dependencies for behaviour screen test
| C# | mit | ppy/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu |
115428ec50d27915b36250e0b17dacca05b95926 | Browser/Handling/General/CustomLifeSpanHandler.cs | Browser/Handling/General/CustomLifeSpanHandler.cs | using CefSharp;
using CefSharp.Handler;
using TweetDuck.Controls;
using TweetDuck.Utils;
namespace TweetDuck.Browser.Handling.General {
sealed class CustomLifeSpanHandler : LifeSpanHandler {
private static bool IsPopupAllowed(string url) {
return url.StartsWith("https://twitter.com/teams/authorize?");
}
pu... | using System;
using CefSharp;
using CefSharp.Handler;
using TweetDuck.Controls;
using TweetDuck.Utils;
namespace TweetDuck.Browser.Handling.General {
sealed class CustomLifeSpanHandler : LifeSpanHandler {
private static bool IsPopupAllowed(string url) {
return url.StartsWith("https://twitter.com/teams/authorize... | Fix popups for Google & Apple sign-in | Fix popups for Google & Apple sign-in
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
1fce0da33189907d8c14588af5b35dd8b5efb13a | osu.Game/Rulesets/Edit/IPositionSnapProvider.cs | osu.Game/Rulesets/Edit/IPositionSnapProvider.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 osuTK;
namespace osu.Game.Rulesets.Edit
{
/// <summary>
/// A snap provider which given the position of a hit object, offers a more correct position and ti... | // 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 osuTK;
namespace osu.Game.Rulesets.Edit
{
/// <summary>
/// A snap provider which given a proposed position for a hit object, potentially offers a more cor... | Reword slightly, to allow better conformity with `IDistanceSnapProvider` | Reword slightly, to allow better conformity with `IDistanceSnapProvider`
| C# | mit | NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
6e07b46ac1931e5d2a27326daf58bb248ba7b185 | tools/Build/Build.cs | tools/Build/Build.cs | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"),
DocsSettings = new DotNetDocsSettings
... | using System;
using Faithlife.Build;
internal static class Build
{
public static int Main(string[] args) => BuildRunner.Execute(args, build =>
{
build.AddDotNetTargets(
new DotNetBuildSettings
{
NuGetApiKey = Environment.GetEnvironmentVariable("NUGET_API_KEY"),
DocsSettings = new DotNetDocsSettings
... | Remove use of obsolete property. | Remove use of obsolete property.
| C# | mit | Faithlife/FaithlifeUtility,ejball/ArgsReading,Faithlife/System.Data.SQLite,Faithlife/Parsing,Faithlife/System.Data.SQLite,ejball/XmlDocMarkdown |
64a50ee4a489c169e93794913849fa1c57753217 | CallMeMaybe/Properties/AssemblyInfo.cs | CallMeMaybe/Properties/AssemblyInfo.cs | using System.Resources;
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 assembl... | using System.Resources;
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 assembl... | Set auto-incrementing file version, starting with 0.1, since we're at alpha stage | Set auto-incrementing file version, starting with 0.1, since we're at alpha stage
| C# | mit | j2jensen/CallMeMaybe |
2bbdd920b7af637884c97cb57001dc3fa950e929 | src/Booma.Proxy.Packets.BlockServer/Attributes/SubCommand60ServerAttribute.cs | src/Booma.Proxy.Packets.BlockServer/Attributes/SubCommand60ServerAttribute.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
using JetBrains.Annotations;
namespace Booma.Proxy
{
/// <summary>
/// Marks the 0x60 command server payload with the associated operation ... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreecraftCore.Serializer;
using JetBrains.Annotations;
namespace Booma.Proxy
{
/// <summary>
/// Marks the 0x60 command server payload with the associated operation ... | Fix fault with subcommand server attribute | Fix fault with subcommand server attribute
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
a47ebca8ce63ff32b42dcb59b7f26f812825cd6b | src/Diploms.DataLayer/DiplomContextExtensions.cs | src/Diploms.DataLayer/DiplomContextExtensions.cs | using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(this DiplomContext context)
{
... | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
using System.Collections.Generic;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(... | Add administrator user by default | Add administrator user by default
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
68d6e8c138c5d0b81f3d592dc6f335d2485fc40e | WAWSDeploy/WebDeployHelper.cs | WAWSDeploy/WebDeployHelper.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Microsoft.Web.Deployment;
namespace WAWSDeploy
{
public class WebDeployHelper
{
public DeploymentChangeSummary DeployContentToOneSite(string contentPath, string publishSettingsFile)
{
... | using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Microsoft.Web.Deployment;
namespace WAWSDeploy
{
public class WebDeployHelper
{
public DeploymentChangeSummary DeployContentToOneSite(string contentPath, string publishSettingsFile)
{
... | Use full path to source folder | Use full path to source folder
| C# | apache-2.0 | davidebbo/WAWSDeploy,davidebbo/WAWSDeploy |
cdb721b79d2cdb1f454a9db53f2df3ec7c897373 | LightBlue/Standalone/StandaloneAzureStorage.cs | LightBlue/Standalone/StandaloneAzureStorage.cs | using System;
using System.IO;
using System.Linq;
namespace LightBlue.Standalone
{
public class StandaloneAzureStorage : IAzureStorage
{
public const string DevelopmentAccountName = "dev";
private readonly string _storageAccountDirectory;
public StandaloneAzureStorage(string connecti... | using System;
using System.IO;
using System.Linq;
namespace LightBlue.Standalone
{
public class StandaloneAzureStorage : IAzureStorage
{
public const string DevelopmentAccountName = "dev";
private readonly string _storageAccountDirectory;
public StandaloneAzureStorage(string connecti... | Allow access to standalone queue storage | Allow access to standalone queue storage
| C# | apache-2.0 | Drewan/LightBlue,Drewan/LightBlue,Drewan/LightBlue,LightBlueProject/LightBlue,wangdoubleyan/LightBlue,LightBlueProject/LightBlue,LightBlueProject/LightBlue,ColinScott/LightBlue,ColinScott/LightBlue,wangdoubleyan/LightBlue,wangdoubleyan/LightBlue,ColinScott/LightBlue |
ff1b1549eb83df817e3b068018cb94f0ceecf3ba | src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs | src/QuartzNET-DynamoDB.Tests/Integration/JobStore/TriggerGroupGetTests.cs | using System;
using Quartz.Simpl;
using Quartz.Spi;
namespace Quartz.DynamoDB.Tests
{
public class TriggerGroupGetTests
{
IJobStore _sut;
public TriggerGroupGetTests()
{
_sut = new JobStore();
var signaler = new Quartz.DynamoDB.Tests.Integration.RamJobStoreTest... | using System;
using Quartz.Simpl;
using Quartz.Spi;
using Xunit;
namespace Quartz.DynamoDB.Tests
{
public class TriggerGroupGetTests
{
IJobStore _sut;
public TriggerGroupGetTests()
{
_sut = new JobStore();
var signaler = new Quartz.DynamoDB.Tests.Integration.Ra... | Add failing test for get paused trigger groups | Add failing test for get paused trigger groups
| C# | apache-2.0 | lukeryannetnz/quartznet-dynamodb,lukeryannetnz/quartznet-dynamodb |
7994581ebaabac78d7132b45e821256623d651c1 | vuwall-motion/vuwall-motion/TransparentForm.cs | vuwall-motion/vuwall-motion/TransparentForm.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
}
private void TransparentForm_Load(object sender, Event... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | Hide the form in the taskbar | Hide the form in the taskbar
| C# | mit | DanH91/vuwall-motion,VuWall/VuWall-Motion |
591c5312593f19ca0be8d59e233cdadb78d6a9b3 | src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs | src/Novell.Directory.Ldap.NETStandard/ILdapConnection.ExtensionMethods.cs | namespace Novell.Directory.Ldap
{
/// <summary>
/// Extension Methods for <see cref="ILdapConnection"/> to
/// avoid bloating that interface.
/// </summary>
public static class LdapConnectionExtensionMethods
{
/// <summary>
/// Get some common Attributes from the Root DSE.
... | namespace Novell.Directory.Ldap
{
/// <summary>
/// Extension Methods for <see cref="ILdapConnection"/> to
/// avoid bloating that interface.
/// </summary>
public static class LdapConnectionExtensionMethods
{
/// <summary>
/// Get some common Attributes from the Root DSE.
... | Add "+" to attributes to fetch since ApacheDS doesn't return all on * and AD doesn't return anything on + | GetRootDseInfo: Add "+" to attributes to fetch since ApacheDS doesn't return all on * and AD doesn't return anything on +
| C# | mit | dsbenghe/Novell.Directory.Ldap.NETStandard,dsbenghe/Novell.Directory.Ldap.NETStandard |
63a5a1d02aa9bdf8dfc0c6111146c6f75fc6e20b | Eco/Elements/variable.cs | Eco/Elements/variable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eco
{
/// <summary>
/// Eco configuration library supports string varibales.
/// You can enable variables in your configuration file by adding 'public variable[] variables;'
/... | Update the 'name' field description | Update the 'name' field description
| C# | apache-2.0 | lukyad/Eco |
7528a5fa1bd0a072cae97185bec05d54fcac11ad | src/Adaptive.Aeron/ActiveSubscriptions.cs | src/Adaptive.Aeron/ActiveSubscriptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Adaptive.Aeron
{
internal class ActiveSubscriptions : IDisposable
{
private readonly Dictionary<int, List<Subscription>> _subscriptionsByStreamIdMap = new Dictionary<int, List<Subscription>>();
public void ForEach(in... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Adaptive.Aeron
{
internal class ActiveSubscriptions : IDisposable
{
private readonly Dictionary<int, List<Subscription>> _subscriptionsByStreamIdMap = new Dictionary<int, List<Subscription>>();
public void ForEach(in... | Deal with case of removing a Subscription that has been previously removed (06624d) | Deal with case of removing a Subscription that has been previously removed (06624d)
| C# | apache-2.0 | AdaptiveConsulting/Aeron.NET,AdaptiveConsulting/Aeron.NET |
28239c4a513ded1dfcc5c9a4845c171ef35b70e1 | Wox.Infrastructure/UserSettings/PluginSettings.cs | Wox.Infrastructure/UserSettings/PluginSettings.cs | using System.Collections.Generic;
using Wox.Plugin;
namespace Wox.Infrastructure.UserSettings
{
public class PluginsSettings : BaseModel
{
public string PythonDirectory { get; set; }
public Dictionary<string, Plugin> Plugins { get; set; } = new Dictionary<string, Plugin>();
public voi... | using System.Collections.Generic;
using Wox.Plugin;
namespace Wox.Infrastructure.UserSettings
{
public class PluginsSettings : BaseModel
{
public string PythonDirectory { get; set; }
public Dictionary<string, Plugin> Plugins { get; set; } = new Dictionary<string, Plugin>();
public voi... | Fix to allow plugin to start up disabled as default | Fix to allow plugin to start up disabled as default
| C# | mit | qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox |
1d832a62eecc306869f58b2d68ab0c7ba707c003 | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | src/Services/Ordering/Ordering.Infrastructure/Repositories/OrderRepository.cs | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Services.Ordering.Infrastructure.Reposi... | using Microsoft.EntityFrameworkCore;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate;
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
using Ordering.Domain.Exceptions;
using System;
using System.Threading.Tasks;
namespace Microsoft.eShopOnContainers.Servi... | Add OrderingDomainException when the order doesn't exist with id orderId | Add OrderingDomainException when the order doesn't exist with id orderId
| C# | mit | productinfo/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,dotnet-architecture/eShopOnContainers,albertodall/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnCon... |
d4151f302570c9c2ea2cd3e6d143cb99cdd24efe | LeetCode/simmetric_tree.cs | LeetCode/simmetric_tree.cs | using System;
class Node {
public Node(int val, Node left, Node right) {
Value = val; Left = left; Right = right;
}
public int Value { get; private set; }
public Node Left { get; private set; }
public Node Right { get; private set; }
}
class Program{
static bool IsMirror(Node left, No... | using System;
class Node {
public Node(int val, Node left, Node right) {
Value = val; Left = left; Right = right;
}
public int Value { get; private set; }
public Node Left { get; private set; }
public Node Right { get; private set; }
}
class Program{
static bool IsMirror(Node left, No... | Check if tree is mirror. Improved logics. | Check if tree is mirror. Improved logics.
| C# | mit | Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews,Gerula/interviews |
aa672cd59d284c7a757ccfa2327f50df0fd306fd | CSharpMath.Xaml.Tests.NuGet/Test.cs | CSharpMath.Xaml.Tests.NuGet/Test.cs | namespace CSharpMath.Xaml.Tests.NuGet {
using Avalonia;
using SkiaSharp;
using Forms;
public class Program {
static string File(string platform, [System.Runtime.CompilerServices.CallerFilePath] string thisDir = "") =>
System.IO.Path.Combine(thisDir, "..", $"Test.{platform}.png");
[Xunit.Fact]... | namespace CSharpMath.Xaml.Tests.NuGet {
using Avalonia;
using SkiaSharp;
using Forms;
public class Program {
static string File(string platform, [System.Runtime.CompilerServices.CallerFilePath] string thisDir = "") =>
System.IO.Path.Combine(thisDir, "..", $"Test.{platform}.png");
[Xunit.Fa... | Update test for possible sizes | Update test for possible sizes | C# | mit | verybadcat/CSharpMath |
c935dbae44fd1f4f80faf03a8322b7502ccc0e31 | src/Workspaces/Core/Portable/SolutionCrawler/IIncrementalAnalyzerExtensions.cs | src/Workspaces/Core/Portable/SolutionCrawler/IIncrementalAnalyzerExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ExternalAccess.UnitTesting;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
intern... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.ExternalAccess.UnitTesting;
using Microsoft.CodeAnalysis.Options;
namespace Microsoft.CodeAnalysis.SolutionCrawler
{
intern... | Revert the hard coded name check for SBD incremental analyzer as unit test team has moved to IUnitTestingIncrementalAnalyzer | Revert the hard coded name check for SBD incremental analyzer as unit test team has moved to IUnitTestingIncrementalAnalyzer
| C# | mit | stephentoub/roslyn,aelij/roslyn,aelij/roslyn,physhi/roslyn,agocke/roslyn,gafter/roslyn,heejaechang/roslyn,wvdd007/roslyn,jmarolf/roslyn,diryboy/roslyn,weltkante/roslyn,panopticoncentral/roslyn,KevinRansom/roslyn,stephentoub/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,mavasani/roslyn,panopticoncentral/roslyn,shyamnamboo... |
635b283d05d1df14588259da6b6a1ae05a9d4639 | FTAnalyser/SharedAssemblyVersion.cs | FTAnalyser/SharedAssemblyVersion.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | Update Messages to correct location | Update Messages to correct location
| C# | apache-2.0 | ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer,ShammyLevva/FTAnalyzer |
65112348041cffc6df4c625c65c914bc03a669f7 | osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.cs | osu.Game/Rulesets/Objects/Legacy/Catch/ConvertSpinner.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Objects.Legacy.Catch
{
/// <summary>
/// Legacy osu!catch Spinner-type, used for parsing Beat... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Rulesets.Objects.Types;
namespace osu.Game.Rulesets.Objects.Legacy.Catch
{
/// <summary>
/// Legacy osu!catch Spinner-type, used for parsing Beat... | Fix catch spinners not being allowed for conversion | Fix catch spinners not being allowed for conversion
| C# | mit | peppy/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,ZLima12/osu,DrabWeb/osu,ZLima12/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,ppy/osu,peppy/osu,EVAST9919/osu,EVAST9919/osu,DrabWeb/... |
ea9cb0e3c89582dc6ec06496ef27418b26fa2167 | Query/Internal/InfoCarrierQueryContext.cs | Query/Internal/InfoCarrierQueryContext.cs | namespace InfoCarrier.Core.Client.Query.Internal
{
using System;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
public class InfoCarrierQue... | namespace InfoCarrier.Core.Client.Query.Internal
{
using System;
using Common;
using Microsoft.EntityFrameworkCore.ChangeTracking.Internal;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
public cl... | Disable unwanted lazy loading during query execution | Disable unwanted lazy loading during query execution
| C# | mit | azabluda/InfoCarrier.Core |
cf0b63ccddde23e7ab98f37cff12dee63f30d958 | SQLite.CodeFirst/SqliteInitializerBase.cs | SQLite.CodeFirst/SqliteInitializerBase.cs | using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
namespace SQLite.CodeFirst
{
public abstract class SqliteInitializerBase<TContext> : IDatabaseInitializer<TContext>
where TContext : DbContext
{
protected readonly DbModelBuilder ModelBuilder;
... | using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using SQLite.CodeFirst.Convention;
namespace SQLite.CodeFirst
{
public abstract class SqliteInitializerBase<TContext> : IDatabaseInitializer<TContext>
where TContext : DbContext
{
protected readon... | Apply SqliteForeignKeyIndexConvention right after the ForeignKeyIndexConvetion. | Issue_21: Apply SqliteForeignKeyIndexConvention right after the ForeignKeyIndexConvetion.
| C# | apache-2.0 | liujunhua/SQLiteCodeFirst,msallin/SQLiteCodeFirst |
99ba598b2b3a8b66d1a2230b3361d0e2abc0aa6b | resharper/resharper-unity/src/Unity/Yaml/ProjectModel/MetaProjectFileType.cs | resharper/resharper-unity/src/Unity/Yaml/ProjectModel/MetaProjectFileType.cs | using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
#nullable enable
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.ProjectModel
{
[ProjectFileTypeDefinition(Name)]
public class MetaPr... | using JetBrains.Annotations;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Plugins.Unity.UnityEditorIntegration;
using JetBrains.ReSharper.Plugins.Yaml.ProjectModel;
#nullable enable
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.ProjectModel
{
[ProjectFileTypeDefinition(Name)]
public class MetaPr... | Fix incorrect project file type description | Fix incorrect project file type description
| C# | apache-2.0 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity |
258a19fdf5b1ff6ced2ca2e59c0ddc8fd217ca0c | BTCPayServer/Views/Home/SwaggerDocs.cshtml | BTCPayServer/Views/Home/SwaggerDocs.cshtml | @inject BTCPayServer.Security.ContentSecurityPolicies csp
@{
Layout = null;
csp.Add("script-src", "https://cdn.jsdelivr.net");
csp.Add("worker-src", "blob:");
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
<!-- needed for adaptive design -->
<meta charset="utf-8" />
... | @inject BTCPayServer.Security.ContentSecurityPolicies csp
@{
Layout = null;
csp.Add("script-src", "https://cdn.jsdelivr.net");
csp.Add("worker-src", "blob: self");
}
<!DOCTYPE html>
<html>
<head>
<title>BTCPay Server Greenfield API</title>
<!-- needed for adaptive design -->
<meta charset="utf-8... | Make CSP more specific for docs | Make CSP more specific for docs
| C# | mit | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver |
6ca099ff17bb6734de780021a7c1c507341e2ac9 | Database.Migrations/Migrations/2-TodaysTestResultsView.cs | Database.Migrations/Migrations/2-TodaysTestResultsView.cs | using BroadbandSpeedStats.Database.Schema;
using FluentMigrator;
namespace BroadbandSpeedTests.Database.Migrations.Migrations
{
[Migration(20170228)]
public class TodaysTestResultsView : Migration
{
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.TodaysTestResul... | using BroadbandSpeedStats.Database.Schema;
using FluentMigrator;
namespace BroadbandSpeedTests.Database.Migrations.Migrations
{
[Migration(20170228)]
public class TodaysTestResultsView : Migration
{
public override void Up()
{
Execute.Sql($@"
CREATE VIEW [{Views.TodaysTestResul... | Fix a typo in a view | Fix a typo in a view
| C# | mit | adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats,adrianbanks/BroadbandSpeedStats |
e86834b74060d5fc7e2e9314142316b74ccf821b | osu.Game/Screens/Edit/Verify/VisibilitySection.cs | osu.Game/Screens/Edit/Verify/VisibilitySection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Edit.Checks.Components;
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Edit.Checks.Components;
... | Use local bound copy for `HiddenIssueTypes` | Use local bound copy for `HiddenIssueTypes`
| C# | mit | smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu |
44578c2d43db3cea223f7dee543b34500d70f6f4 | src/Effects/IBaseEffect.cs | src/Effects/IBaseEffect.cs | namespace SoxSharp.Effects
{
public interface IBaseEffect
{
string Name { get; }
bool IsValid();
string ToString();
}
}
| namespace SoxSharp.Effects
{
public interface IBaseEffect
{
string Name { get; }
string ToString();
}
}
| Revert "Added method to perform validity check for effect parameters" | Revert "Added method to perform validity check for effect parameters"
This reverts commit 819b807fb9e789bc2e47f8463735b2c745ca0361.
| C# | apache-2.0 | igece/SoxSharp |
5efe7f8dad174336165b96dbda2707a083ca4c9f | plugins/PlaysReplacements/PlaysReplacements.cs | plugins/PlaysReplacements/PlaysReplacements.cs | using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces;
using StreamCompanionTypes.Interfaces.Sources;
namespace PlaysReplacements
{
public class PlaysReplacements : IPlugin, ITokensSource
{
private int Plays, Retrys;
private Tokens.TokenS... | using StreamCompanionTypes.DataTypes;
using StreamCompanionTypes.Enums;
using StreamCompanionTypes.Interfaces;
using StreamCompanionTypes.Interfaces.Sources;
namespace PlaysReplacements
{
public class PlaysReplacements : IPlugin, ITokensSource
{
private int Plays, Retrys;
private Tokens.TokenS... | Refactor plays/retries counting using osu events | Misc: Refactor plays/retries counting using osu events
| C# | mit | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion |
22a5df6309aad3ab7f075c38e7617eee64c4c12c | osu.Game.Rulesets.Catch/UI/CatcherTrailSprite.cs | osu.Game.Rulesets.Catch/UI/CatcherTrailSprite.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.Graphics;
using osu.Framework.Graphics.Pooling;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osuTK;
namespace o... | // 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.Framework.Graphics.Pooling;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osuTK;
namespace o... | Clear all transforms of catcher trail sprite before returned to pool | Clear all transforms of catcher trail sprite before returned to pool
| C# | mit | smoogipooo/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu |
01e5ca24e916f8506f386e86ea99239977a9be0e | src/Unity.Interception.Serilog.Tests/NullTests.cs | src/Unity.Interception.Serilog.Tests/NullTests.cs | using System;
using FluentAssertions;
using Microsoft.Practices.Unity;
using Unity.Interception.Serilog.Tests.Support;
using Xunit;
namespace Unity.Interception.Serilog.Tests
{
public class NullTests
{
[Fact]
public void NullMembersShouldThrow()
{
var container = new UnityCo... | using System;
using FluentAssertions;
using Microsoft.Practices.Unity;
using Unity.Interception.Serilog.Tests.Support;
using Xunit;
namespace Unity.Interception.Serilog.Tests
{
public class NullTests
{
[Fact]
public void NullMembersShouldThrow()
{
var container = new UnityCo... | Remove test on argument null exception message | Remove test on argument null exception message
| C# | mit | johanclasson/Unity.Interception.Serilog |
afdfeb578966593681699c423ed970da01cebad3 | src/SIM.Client/Commands/InstallCommandFacade.cs | src/SIM.Client/Commands/InstallCommandFacade.cs | namespace SIM.Client.Commands
{
using CommandLine;
using JetBrains.Annotations;
using SIM.Core.Commands;
public class InstallCommandFacade : InstallCommand
{
[UsedImplicitly]
public InstallCommandFacade()
{
}
[Option('n', "name", Required = true)]
public override string Name { get; ... | namespace SIM.Client.Commands
{
using CommandLine;
using JetBrains.Annotations;
using SIM.Core.Commands;
public class InstallCommandFacade : InstallCommand
{
[UsedImplicitly]
public InstallCommandFacade()
{
}
[Option('n', "name", Required = true)]
public override string Name { get; ... | Add option to install command | Add option to install command
| C# | mit | Brad-Christie/Sitecore-Instance-Manager,Sitecore/Sitecore-Instance-Manager,sergeyshushlyapin/Sitecore-Instance-Manager |
6ddab5650f1f87f64c8674e39d15d91a3ca4dcf4 | src/Marten/Services/ConcurrentUpdateException.cs | src/Marten/Services/ConcurrentUpdateException.cs | using System;
namespace Marten.Services
{
public class ConcurrentUpdateException : Exception
{
public ConcurrentUpdateException(Exception innerException) : base("Write collission detected while commiting the transaction.", innerException)
{
}
}
} | using System;
namespace Marten.Services
{
public class ConcurrentUpdateException : Exception
{
public ConcurrentUpdateException(Exception innerException) : base("Write collision detected while commiting the transaction.", innerException)
{
}
}
}
| Fix spelling mistake, 'collission' => 'collision' | Fix spelling mistake, 'collission' => 'collision' | C# | mit | mysticmind/marten,ericgreenmix/marten,ericgreenmix/marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten,JasperFx/Marten,mysticmind/marten,mysticmind/marten,mdissel/Marten,ericgreenmix/marten,mdissel/Marten,JasperFx/Marten |
a7044a27b344bb2b978757894ad2dcc76378314d | src/THNETII.DependencyInjection.Nesting/NestedServicesServiceCollectionExtensions.cs | src/THNETII.DependencyInjection.Nesting/NestedServicesServiceCollectionExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using System;
namespace THNETII.DependencyInjection.Nesting
{
public static class NestedServicesServiceCollectionExtensions
{
public static IServiceCollection AddNestedServices(
this IServiceCollection rootServices,
string key,
... | using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
namespace THNETII.DependencyInjection.Nesting
{
public static class NestedServicesServiceCollectionExtensions
{
public static IServiceCollection AddNestedServices(
this IServiceCollection rootSe... | Add Nesting ServiceCollection Extension method overloads | Add Nesting ServiceCollection Extension method overloads
| C# | mit | thnetii/dotnet-common |
bd16be64689be0632a7fab4fb058afb9be1e4eb0 | Ext.NET/IntegerExtension.cs | Ext.NET/IntegerExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ext.NET
{
class IntegerExtension
{
public static void Times(this int n, Action<int> action)
{
for (int i = 0; i < n; ++i)
{
action(i);
}
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ext.NET
{
class IntegerExtension
{
public static void Times(this int n, Action<int> action)
{
for (int i = 0; i < n; ++i)
{
action(i);
}
}... | Add Int.To(Int) Method, which allow to generate a sequence between two numbers. | Add Int.To(Int) Method, which allow to generate a sequence between two numbers.
| C# | mit | garlab/Ext.NET |
19c925517b59a9fd25b2f51eb5daaa676a1f5dbf | Portal.CMS.Web/Areas/Admin/Views/Copy/_Copy.cshtml | Portal.CMS.Web/Areas/Admin/Views/Copy/_Copy.cshtml | @model Portal.CMS.Entities.Entities.Copy.Copy
@using Portal.CMS.Web.Areas.Admin.Helpers;
@{
Layout = "";
var isAdmin = UserHelper.IsAdmin;
}
<script type="text/javascript">
$(document).ready(function () {
tinymce.init({
selector: '#copy-@(Model.CopyId).admin', inline: true, plugins: [... | @model Portal.CMS.Entities.Entities.Copy.Copy
@using Portal.CMS.Web.Areas.Admin.Helpers;
@{
Layout = "";
var isAdmin = UserHelper.IsAdmin;
}
<script type="text/javascript">
$(document).ready(function () {
tinymce.init({
selector: '.copy-@(Model.CopyId).admin', inline: true, plugins: [... | Copy Updates Other Copy elements of the Same Type on the Same Page When Saving | Copy Updates Other Copy elements of the Same Type on the Same Page When Saving
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
0a5ffb934229fdbd71eddcd9a6371d473fa29e16 | build.cake | build.cake | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var outputDir = "./bin";
Task("Default")
.IsDependentOn("Xunit")
.Does(() =>
{
});
Task("Xunit")
.IsDependentOn("Build")
.Does(()=>
{
DotNetCoreTest("./src/FibonacciHeap.Tests/FibonacciHeap.Tests.csproj");
});
Ta... | #tool "nuget:?package=xunit.runner.console"
var target = Argument("target", "Default");
var outputDir = "./bin";
Task("Default")
.IsDependentOn("Xunit")
.Does(() =>
{
});
Task("Xunit")
.IsDependentOn("Build")
.Does(()=>
{
DotNetCoreTest("./src/FibonacciHeap.Tests/FibonacciHeap.Tests.csproj");
});
Ta... | Fix output path for nuget package. | Fix output path for nuget package.
| C# | mit | sqeezy/FibonacciHeap,sqeezy/FibonacciHeap |
7e47c72f4240c871c47e7fc9c09904d1e6fcee0a | src/Serilog.Sinks.Graylog/LoggerConfigurationGrayLogExtensions.cs | src/Serilog.Sinks.Graylog/LoggerConfigurationGrayLogExtensions.cs | using Serilog.Configuration;
using Serilog.Core;
using Serilog.Events;
using Serilog.Sinks.Graylog.Helpers;
using Serilog.Sinks.Graylog.Transport;
namespace Serilog.Sinks.Graylog
{
public static class LoggerConfigurationGrayLogExtensions
{
public static LoggerConfiguration Graylog(this LoggerSinkConfi... | using Serilog.Configuration;
using Serilog.Core;
using Serilog.Events;
using Serilog.Sinks.Graylog.Helpers;
using Serilog.Sinks.Graylog.Transport;
namespace Serilog.Sinks.Graylog
{
public static class LoggerConfigurationGrayLogExtensions
{
public static LoggerConfiguration Graylog(this LoggerSinkConfi... | Change extension method default parameters to use constants | Change extension method default parameters to use constants
| C# | mit | whir1/serilog-sinks-graylog |
16829b929c4ca3d98deb0ddc13a404c44774f40c | Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteLiteral.cs | Src/Veil/Compiler/VeilTemplateCompiler.EmitWriteLiteral.cs | using Veil.Parser;
namespace Veil.Compiler
{
internal partial class VeilTemplateCompiler<T>
{
private void EmitWriteLiteral(SyntaxTreeNode.WriteLiteralNode node)
{
LoadWriterToStack();
emitter.LoadConstant(node.LiteralContent);
CallWriteFor(typeof(string));
... | using Veil.Parser;
namespace Veil.Compiler
{
internal partial class VeilTemplateCompiler<T>
{
private void EmitWriteLiteral(SyntaxTreeNode.WriteLiteralNode node)
{
if (string.IsNullOrEmpty(node.LiteralContent)) return;
LoadWriterToStack();
emitter.LoadConst... | Optimize away empty string literals. | Optimize away empty string literals.
| C# | mit | csainty/Veil,csainty/Veil |
26271971172d2c6d20e5a0aadd89f40b5bcabdbd | ArduinoWindowsRemoteControl/UI/EditCommandForm.cs | ArduinoWindowsRemoteControl/UI/EditCommandForm.cs | using ArduinoWindowsRemoteControl.Helpers;
using ArduinoWindowsRemoteControl.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ardui... | using ArduinoWindowsRemoteControl.Helpers;
using ArduinoWindowsRemoteControl.Interfaces;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ardui... | Add ability to enter commands | Add ability to enter commands
| C# | mit | StanislavUshakov/ArduinoWindowsRemoteControl |
74b3797b9f72722d406fe47307d2652ffe093814 | ExRam.Gremlinq/Gremlin/Steps/ValuesGremlinStep.cs | ExRam.Gremlinq/Gremlin/Steps/ValuesGremlinStep.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Linq.Expressions;
namespace ExRam.Gremlinq
{
public sealed class ValuesGremlinStep<TSource, TTarget> : NonTerminalGremlinStep
{
private readonly Expression<Func<TSource, TTarget>>[] _proj... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Linq.Expressions;
namespace ExRam.Gremlinq
{
public sealed class ValuesGremlinStep<TSource, TTarget> : NonTerminalGremlinStep
{
private readonly Expression<Func<TSource, TTarget>>[] _proj... | Make one of two red tests green by implementing basic support for the Values-method with Id-Property. | Make one of two red tests green by implementing basic support for the Values-method with Id-Property.
| C# | mit | ExRam/ExRam.Gremlinq |
ecb7537dc978de646d3ff3ccb27b73ba18794c9f | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | IPOCS_Programmer/ObjectTypes/PointsMotor_Pulse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOutput { get; ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class PointsMotor_Pulse : PointsMotor
{
public override byte motorTypeId { get { return 1; } }
public byte ThrowLeftOutput { get; ... | Make it configurable if high or low throws. | Make it configurable if high or low throws.
Resolves #7
| C# | mit | GMJS/gmjs_ocs_dpt |
e70c3be7b963085d661ae4d4dd0a0bbf4f19f355 | Assets/Resources/Scripts/game/view/StatusText.cs | Assets/Resources/Scripts/game/view/StatusText.cs | using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Attach this to the status text game object
/// </summary>
public class StatusText : MonoBehaviour
{
Text text;
GlobalGame game;
public GlobalGame Game
{
get
{ return game; }
set
{
if (game != null)
... | using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Attach this to the status text game object
/// </summary>
public class StatusText : MonoBehaviour
{
Text text;
GlobalGame game;
public GlobalGame Game
{
get
{ return game; }
set
{
if (game != null)
... | Fix status text not updating upon reset | Fix status text not updating upon reset
| C# | mit | Curdflappers/UltimateTicTacToe |
7157f43938b6787ae9d63bf79f904d8e36da7b9c | Assets/Resources/Scripts/game/view/StatusText.cs | Assets/Resources/Scripts/game/view/StatusText.cs | using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Attach this to the status text game object
/// </summary>
public class StatusText : MonoBehaviour
{
Text text;
GlobalGame game;
public GlobalGame Game
{
get
{ return game; }
set
{
if (game != null)
... | using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Attach this to the status text game object
/// </summary>
public class StatusText : MonoBehaviour
{
GlobalGame game;
public GlobalGame Game
{
get
{ return game; }
set
{
if (game != null)
{
... | Fix null error on status text initialization | Fix null error on status text initialization
| C# | mit | Curdflappers/UltimateTicTacToe |
7528b4e178e7028fdd8b301d3a4cb0f2df27fbe8 | CorvallisBus.Core/WebClients/ServiceAlertsClient.cs | CorvallisBus.Core/WebClients/ServiceAlertsClient.cs | using System;
using System.Linq;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using CorvallisBus.Core.Models;
using HtmlAgilityPack;
namespace CorvallisBus.Core.WebClients
{
public static class ServiceAlertsClient
{
static readonly Uri FEED_URL = new Uri("http... | using System;
using System.Linq;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using CorvallisBus.Core.Models;
using HtmlAgilityPack;
namespace CorvallisBus.Core.WebClients
{
public static class ServiceAlertsClient
{
static readonly Uri FEED_URL = new Uri("http... | Add service alert for app update notice | Add service alert for app update notice
| C# | mit | RikkiGibson/Corvallis-Bus-Server,RikkiGibson/Corvallis-Bus-Server |
d577e7d388d8dd40ffd63b701654eef54089d04a | DesktopWidgets/Helpers/DoubleHelper.cs | DesktopWidgets/Helpers/DoubleHelper.cs | using System;
using DesktopWidgets.Properties;
namespace DesktopWidgets.Helpers
{
public static class DoubleHelper
{
public static bool IsEqual(this double val1, double val2) =>
double.IsNaN(val1) || double.IsNaN(val1) ||
(Math.Abs(val1 - val2) > Settings.Default.DoubleComparis... | using System;
using DesktopWidgets.Properties;
namespace DesktopWidgets.Helpers
{
public static class DoubleHelper
{
public static bool IsEqual(this double val1, double val2) =>
double.IsNaN(val1) || double.IsNaN(val2) ||
(Math.Abs(val1 - val2) > Settings.Default.DoubleComparis... | Fix NaN floating point comparison | Fix NaN floating point comparison
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
18f8d5b2690186c73caace681b32011917a75f5b | Core/Other/Analytics/AnalyticsReport.cs | Core/Other/Analytics/AnalyticsReport.cs | using System.Collections;
using System.Collections.Specialized;
using System.Text;
namespace TweetDuck.Core.Other.Analytics{
sealed class AnalyticsReport : IEnumerable{
private OrderedDictionary data = new OrderedDictionary(32);
private int separators;
public void Add(int ignored){ // add... | using System.Collections;
using System.Collections.Specialized;
using System.Text;
namespace TweetDuck.Core.Other.Analytics{
sealed class AnalyticsReport : IEnumerable{
private OrderedDictionary data = new OrderedDictionary(32);
private int separators;
public void Add(int ignored){ // add... | Tweak key format in analytics request | Tweak key format in analytics request
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
52c8cea27dc8e0400fd125b80e262378b8a79153 | osu.Game/Online/ProductionEndpointConfiguration.cs | osu.Game/Online/ProductionEndpointConfiguration.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.
namespace osu.Game.Online
{
public class ProductionEndpointConfiguration : EndpointConfiguration
{
public ProductionEndpointConfiguration()
{
... | // 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.
namespace osu.Game.Online
{
public class ProductionEndpointConfiguration : EndpointConfiguration
{
public ProductionEndpointConfiguration()
{
... | Update spectator/multiplayer endpoint in line with new deployment | Update spectator/multiplayer endpoint in line with new deployment
| C# | mit | peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu |
09fc566e9536b98ee259f46a3af5ad0372f8777e | Joinrpg/Views/Character/Details.cshtml | Joinrpg/Views/Character/Details.cshtml | @using JoinRpg.Web.Models
@model CharacterDetailsViewModel
<div>
@Html.Partial("CharacterNavigation", Model.Navigation)
@* TODO: Жесточайше причесать эту страницу*@
<dl class="dl-horizontal">
<dt>Игрок</dt>
<dd>@Html.DisplayFor(model => model, "IPlayerCharacter")</dd>
<dt>@Html.Dis... | @using JoinRpg.Web.Models
@model CharacterDetailsViewModel
<div>
@Html.Partial("CharacterNavigation", Model.Navigation)
@* TODO: Жесточайше причесать эту страницу*@
<dl class="dl-horizontal">
<dt>Игрок</dt>
<dd>@Html.DisplayFor(model => model, "IPlayerCharacter")</dd>
<dt>@Html.Dis... | Hide character fields header if no fields | Hide character fields header if no fields
| C# | mit | leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net |
b44d326439509174dcba3f0bf46376821aa0d46d | CIV/Program.cs | CIV/Program.cs | using static System.Console;
using CIV.Ccs;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["Prison"], 450);
... | using static System.Console;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["... | Add CIV.Interfaces reference in Main | Add CIV.Interfaces reference in Main
| C# | mit | lou1306/CIV,lou1306/CIV |
8f34c75a8742a1754246f2d3383b2fcab48dddcf | ReSharperTnT/Bootstrapper.cs | ReSharperTnT/Bootstrapper.cs | using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
namespace ReSharperTnT
{
public class Bootstrapper
{
static Bootstrapper()
{
Init();
}
public static void Init()
{
var bootstrapper = new Bootstrapper();
var con... | using System.Reflection;
using System.Web.Http;
using Autofac;
using Autofac.Integration.WebApi;
namespace ReSharperTnT
{
public class Bootstrapper
{
public static void Init()
{
var bootstrapper = new Bootstrapper();
var container = bootstrapper.CreateContainer();
... | Revert "Revert "registration of api controllers fixed"" | Revert "Revert "registration of api controllers fixed""
This reverts commit 5d659b38601b2620054b286c941a5d53f1da20ae.
| C# | apache-2.0 | borismod/ReSharperTnT,borismod/ReSharperTnT |
056f8d0c23426f0822bc02690cbb9d5ee46dfb4b | RecurringDates/Extensions.cs | RecurringDates/Extensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RecurringDates
{
public static class Extensions
{
public static SetUnionRule Or(this IRule first, params IRule[] otherRules)
{
return new SetUnionRule {Rule... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RecurringDates
{
public static class Extensions
{
public static SetUnionRule Or(this IRule first, params IRule[] otherRules)
{
return new SetUnionRule {Rule... | Add new fluent syntax: DayOfWeek.Monday.EveryWeek() | Add new fluent syntax: DayOfWeek.Monday.EveryWeek()
| C# | bsd-2-clause | diaconesq/RecurringDates |
0cf7eca272c079b90d15e8ab335725be898dd1be | src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs | src/Arkivverket.Arkade/Util/ArkadeAutofacModule.cs | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Noark5;
using Arkivverket.Arkade.Identify;
using Arkivverket.Arkade.Logging;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using Autofac;
namespace Arkivverket.Arkade.Util
{
public class ArkadeAutofacModule : Module
{
... | using Arkivverket.Arkade.Core;
using Arkivverket.Arkade.Core.Addml;
using Arkivverket.Arkade.Core.Noark5;
using Arkivverket.Arkade.Identify;
using Arkivverket.Arkade.Logging;
using Arkivverket.Arkade.Tests;
using Arkivverket.Arkade.Tests.Noark5;
using Autofac;
namespace Arkivverket.Arkade.Util
{
public class Arkad... | Add missing dependencies to autofac module | Add missing dependencies to autofac module
| C# | agpl-3.0 | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 |
ce413bba03ffca04c458096306579ff6e4dc0318 | Google.Solutions.IapDesktop.Application.Test/FixtureBase.cs | Google.Solutions.IapDesktop.Application.Test/FixtureBase.cs | //
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | //
// Copyright 2019 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Ver... | Enable tracing for IAP code | Enable tracing for IAP code
Change-Id: I34c2c3c3c5110b9b894a59a81910f02667aefe52
| C# | apache-2.0 | GoogleCloudPlatform/iap-desktop,GoogleCloudPlatform/iap-desktop |
9d31efd24cfd819abaafa057e17d501f89a168f5 | src/Blogifier.Core/Services/Social/SocialService.cs | src/Blogifier.Core/Services/Social/SocialService.cs | using Blogifier.Core.Common;
using Blogifier.Core.Data.Domain;
using Blogifier.Core.Data.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blogifier.Core.Services.Social
{
public class SocialService : ISocialService
{
IUnitOfWork _db;
pub... | using Blogifier.Core.Common;
using Blogifier.Core.Data.Domain;
using Blogifier.Core.Data.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Blogifier.Core.Services.Social
{
public class SocialService : ISocialService
{
IUnitOfWork _db;
pub... | Fix social buttons not copying setting valus | Fix social buttons not copying setting valus
| C# | mit | murst/Blogifier.Core,blogifierdotnet/Blogifier.Core,murst/Blogifier.Core,murst/Blogifier.Core,blogifierdotnet/Blogifier.Core |
19cd07a473e5d39e069bd2376cfaf37fce8f0ee6 | src/SampSharp.Entities/SAMP/Dialogs/DialogSystem.cs | src/SampSharp.Entities/SAMP/Dialogs/DialogSystem.cs | // SampSharp
// Copyright 2022 Tim Potze
//
// 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 o... | // SampSharp
// Copyright 2022 Tim Potze
//
// 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 o... | Fix issues related to open dialogs when a player disconnects | [ecs] Fix issues related to open dialogs when a player disconnects
| C# | apache-2.0 | ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp |
a10c0a835dcd53ac1a510c927624c887f03f75c0 | AlexTouch.PSPDFKit/PSPDFKit.linkwith.cs | AlexTouch.PSPDFKit/PSPDFKit.linkwith.cs | using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("PSPDFKit.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator, ForceLoad = true, IsCxx = true, Frameworks = "MediaPlayer CoreText QuartzCore MessageUI ImageIO CoreMedia CoreGraphics AVFoundation", LinkerFlags = "-lz -ObjC")]
| using System;
using MonoTouch.ObjCRuntime;
[assembly: LinkWith ("PSPDFKit.a", LinkTarget.ArmV7s | LinkTarget.ArmV7 | LinkTarget.Simulator, ForceLoad = true, IsCxx = true, Frameworks = "MediaPlayer CoreText QuartzCore MessageUI ImageIO CoreMedia CoreGraphics AVFoundation", LinkerFlags = "-lz -ObjC -fobjc-arc")]
| Add missing ARC runtime linker flag | Add missing ARC runtime linker flag | C# | mit | gururajios/XamarinBindings,gururajios/XamarinBindings,hanoibanhcuon/XamarinBindings,hanoibanhcuon/XamarinBindings,kushal2905/XamarinBindings-1,andnsx/XamarinBindings,theonlylawislove/XamarinBindings,andnsx/XamarinBindings,kushal2905/XamarinBindings-1 |
d64c15bea4cb31f903663660dcfd15059e11c81b | SimpleEventMonitor.Web/AppHostSimpleEventMonitor.cs | SimpleEventMonitor.Web/AppHostSimpleEventMonitor.cs | using System.Reflection;
using Funq;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
using SimpleEventMonitor.Core;
namespace SimpleEventMonitor.Web
{
public class AppHostSimpleEventMonitor : AppHostBase
{
public AppHostSimp... | using System.Reflection;
using Funq;
using ServiceStack.Common.Web;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
using ServiceStack.WebHost.Endpoints;
using SimpleEventMonitor.Core;
namespace SimpleEventMonitor.Web
{
public class AppHostSimpleEventMonitor : AppHostBase
{
public AppHostSimp... | Debug mode only enabled for Debug Build configuration | Debug mode only enabled for Debug Build configuration
| C# | mit | Jeern/SimpleEventMonitor,Jeern/SimpleEventMonitor,Jeern/SimpleEventMonitor |
c063f5fd28d31c5c791ded98eb73c3b4a9f67feb | Selenium.WebDriver.Equip/TestCapture.cs | Selenium.WebDriver.Equip/TestCapture.cs | using System;
using System.Drawing.Imaging;
using System.IO;
using OpenQA.Selenium;
namespace Selenium.WebDriver.Equip
{
public class TestCapture
{
private IWebDriver _browser = null;
private string fileName;
public TestCapture(IWebDriver iWebDriver, string type = "Failed")
{
... | using OpenQA.Selenium;
using System;
using System.IO;
using System.Reflection;
namespace Selenium.WebDriver.Equip
{
public class TestCapture
{
private IWebDriver _browser = null;
private string fileName;
public TestCapture(IWebDriver iWebDriver, string type = "Failed")
{
... | Fix screen capture durring test failure | Fix screen capture durring test failure
| C# | mit | rcasady616/Selenium.WeDriver.Equip,rcasady616/Selenium.WeDriver.Equip |
b5ac5c46ec4e330cac2e8c9dbbc8594ed0571dd3 | Src/Options.cs | Src/Options.cs | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Efficient;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
public ArrayDiffMode ArrayDiff
{ get; set; }
public TextDiffMode TextDiff
{ get; set; }
... | namespace JsonDiffPatchDotNet
{
public sealed class Options
{
public Options()
{
ArrayDiff = ArrayDiffMode.Simple;
TextDiff = TextDiffMode.Efficient;
MinEfficientTextDiffLength = 50;
}
public ArrayDiffMode ArrayDiff { get; set; }
public TextDiffMode TextDiff { get; set; }
publi... | Switch simple array diff to default until Efficient array diffing is implemented | Switch simple array diff to default until Efficient array diffing is implemented
| C# | mit | wbish/jsondiffpatch.net,arbitertl/jsondiffpatch.net |
9074cdf3401b3fb891d09b2079ab07976e84435e | video/TweetDuck.Video/Controls/SeekBar.cs | video/TweetDuck.Video/Controls/SeekBar.cs | using System.Drawing;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class SeekBar : ProgressBar{
private readonly SolidBrush brush;
public SeekBar(){
brush = new SolidBrush(Color.White);
SetStyle(ControlStyles.UserPaint, true);
SetStyl... | using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace TweetDuck.Video.Controls{
sealed class SeekBar : ProgressBar{
private readonly SolidBrush brushFore;
private readonly SolidBrush brushHover;
private readonly SolidBrush brushOverlap;
... | Add a hover effect to video player seek bar | Add a hover effect to video player seek bar
| C# | mit | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck |
76a4cee31a651f0a4be824b9db3102efa2e6707f | tests/NServiceKit.Logging.Tests/Support/TestBase.cs | tests/NServiceKit.Logging.Tests/Support/TestBase.cs | using System;
using System.Diagnostics;
using NUnit.Framework;
using Rhino.Mocks;
namespace NServiceKit.Logging.Tests.Support
{
public class TestBase
{
private MockRepository mocks;
protected virtual MockRepository Mocks
{
get { return mocks; }
}
[SetUp]
... | using System;
using System.Diagnostics;
using NUnit.Framework;
using Rhino.Mocks;
namespace NServiceKit.Logging.Tests.Support
{
public class TestBase
{
private MockRepository mocks;
protected virtual MockRepository Mocks
{
get { return mocks; }
}
[SetUp]
... | Reset the mocks before disposing | Reset the mocks before disposing
| C# | bsd-3-clause | NServiceKit/NServiceKit.Logging,NServiceKit/NServiceKit.Logging |
cca58f3ec06b40bb8273ab3f7c84768850d2e10d | Samples/Mapsui.Samples.Common/Maps/MbTilesSample.cs | Samples/Mapsui.Samples.Common/Maps/MbTilesSample.cs | using System.IO;
using BruTile.MbTiles;
using Mapsui.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation { get; set; } = @"." + Path.Directory... | using System.IO;
using BruTile.MbTiles;
using Mapsui.Layers;
using Mapsui.UI;
using SQLite;
namespace Mapsui.Samples.Common.Maps
{
public class MbTilesSample : ISample
{
// This is a hack used for iOS/Android deployment
public static string MbTilesLocation { get; set; } = @"." + Path.Directory... | Replace SQLite path for MBTiles files with full path, so that doesn't throw an exception on UWP | Replace SQLite path for MBTiles files with full path, so that doesn't throw an exception on UWP
| C# | mit | charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui |
d98640a0249aab8edbbe8cfec49594a6358d9da5 | apis/Google.Cloud.Redis.V1Beta1/Google.Cloud.Redis.V1Beta1.SmokeTests/CloudRedisClientSmokeTest.cs | apis/Google.Cloud.Redis.V1Beta1/Google.Cloud.Redis.V1Beta1.SmokeTests/CloudRedisClientSmokeTest.cs | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Fix smoke test to use common LocationName | Fix smoke test to use common LocationName
| C# | apache-2.0 | googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet |
1dd0b71505938752b2e2ba01574e6dbb4870bf7c | src/Booma.Proxy.Client.Unity.Common/Engine/Initializables/NetworkClientConnectionOnInitInitializable.cs | src/Booma.Proxy.Client.Unity.Common/Engine/Initializables/NetworkClientConnectionOnInitInitializable.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.ServerSelectionScreen)]
[SceneTypeCreate(GameSceneType.PreShipSelectionScene)]
[SceneTypeCreate(GameSceneTy... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Logging;
using GladNet;
namespace Booma.Proxy
{
[SceneTypeCreate(GameSceneType.PreBlockBurstingScene)]
[SceneTypeCreate(GameSceneType.ServerSelectionScreen)]
[SceneTypeCreate(GameSceneTy... | Enable auto-connection on pre-block bursting screen | Enable auto-connection on pre-block bursting screen
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
cf29a0502bcf95210319e5fea86d03fb97a6d04f | Assets/Editor/MicrogameCollectionEditor.cs | Assets/Editor/MicrogameCollectionEditor.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(MicrogameCollection))]
public class MicrogameCollectionEditor : Editor
{
public override void OnInspectorGUI()
{
MicrogameCollection collection = (MicrogameCollection)target;
if (GUILayout.Butt... | Set MicrogameCollection dirty in editor update | Set MicrogameCollection dirty in editor update
| C# | mit | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare |
0f9c1a4686d5b1101cb44effdd3ef636e49f47ca | CRP.Mvc/Views/Payments/Confirmation.cshtml | CRP.Mvc/Views/Payments/Confirmation.cshtml | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | @using Microsoft.Web.Mvc
@model CRP.Controllers.ViewModels.PaymentConfirmationViewModel
@{
ViewBag.Title = "Confirmation";
}
<div class="boundary">
<h2>Registration Confirmation</h2>
<p>You have successfully registered for the following event:</p>
<div>
<label>Item: </label>
@Model.Tr... | Add a link on Credit card registrations that have not paid | Add a link on Credit card registrations that have not paid
| C# | mit | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP |
76325ff54e72b5ff28595f5d4d836e24ca8b7f2d | Source/Reaper.SharpBattleNet.Framework.DiabloIIRealmServer/Details/DiabloIIRealmServer.cs | Source/Reaper.SharpBattleNet.Framework.DiabloIIRealmServer/Details/DiabloIIRealmServer.cs | namespace Reaper.SharpBattleNet.Framework.DiabloIIRealmServer.Details
{
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Nini;
using Nini.Config;
using Nin... | namespace Reaper.SharpBattleNet.Framework.DiabloIIRealmServer.Details
{
using System;
using System.Linq;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Nini;
using Nini.Config;
using Nin... | Update D2RS to handle new networking infrastructure. | Update D2RS to handle new networking infrastructure.
| C# | mit | wynandpieterse/SharpBattleNet |
7adbd75d41de363b9be151d573fff4f78c4e6b0e | src/Orchard.Web/Modules/LETS/Views/NoticesAdmin/List.cshtml | src/Orchard.Web/Modules/LETS/Views/NoticesAdmin/List.cshtml | @model LETS.ViewModels.MemberNoticesViewModel
<h1>@string.Format("{0}'s {1}", @Model.Member.FirstLastName, T("notices"))</h1>
@if (Model.Notices.Count().Equals(0))
{
<p>@T("This member doesn't have any active notices")</p>
}
@foreach (var notice in Model.Notices)
{
@Display(notice)
}
@{
<div id="archivedN... | @using LETS.Helpers;
@model LETS.ViewModels.MemberNoticesViewModel
<h1>@string.Format("{0}'s {1}", @Model.Member.FirstLastName, T("notices"))</h1>
@if (Model.Notices.Count().Equals(0))
{
<p>@T("This member doesn't have any active notices")</p>
}
@foreach (var notice in Model.Notices)
{
var id = notice.Content... | Add edit links to noitces admin | Add edit links to noitces admin
| C# | bsd-3-clause | planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS,planetClaire/Orchard-LETS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.