commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
014ffae7e1bbc1e74fd13ac6c3abff9046e19467
Update Transition to support all VectorEasing methods
jmeas/simple-tower
Assets/Scripts/Transition.cs
Assets/Scripts/Transition.cs
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class Transition : IEnumerator { // The GameObject being moved GameObject target; // The initial position of that game object Vector3 initial; // The Vector3 end destination Vector3 destination; // How...
using UnityEngine; using System; using System.Collections; using System.Collections.Generic; public class Transition : IEnumerator { // The GameObject being moved GameObject target; // The initial position of that game object Vector3 initial; // The Vector3 end destination Vector3 destination; // How...
mit
C#
a367464202e2b2b56d44b88d6b10f28365dbfba9
Update cargo monitor
cmdrmcdonald/EliteDangerousDataProvider
CargoMonitor/CargoMonitor.cs
CargoMonitor/CargoMonitor.cs
using Eddi; using EddiDataDefinitions; using EddiEvents; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Controls; using Utilities; namespace EddiCargoMonitor { /// <summary> /// A ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EddiCargoMonitor { /// <summary> /// A monitor that keeps track of cargo /// </summary> public class CargoMonitor { } }
apache-2.0
C#
222b379e879201cdedd3a3189d9a7ddf43c7f7fd
Indent with 4 spaces
msarchet/Bundler,msarchet/Bundler
BundlerMiddleware/BundlerMiddlewareBase.cs
BundlerMiddleware/BundlerMiddlewareBase.cs
using Microsoft.Owin; using System.Net; using System.Threading.Tasks; namespace BundlerMiddleware { public abstract class BundlerMiddlewareBase : OwinMiddleware { private readonly BundlerRouteTable routes; public BundlerMiddlewareBase(OwinMiddleware next, BundlerRouteTable routes) : base(next) ...
using Microsoft.Owin; using System.Net; using System.Threading.Tasks; namespace BundlerMiddleware { public abstract class BundlerMiddlewareBase : OwinMiddleware { private readonly BundlerRouteTable routes; public BundlerMiddlewareBase(OwinMiddleware next, BundlerRouteTable routes) : base(next) { ...
mit
C#
635e0bbe48b4530e3ab9bfcebfd777ab0ad119bf
Fix typo
mganss/ExcelMapper
ExcelMapper/ActionInvoker.cs
ExcelMapper/ActionInvoker.cs
using System; namespace Ganss.Excel { /// <summary> /// Abstract class action invoker /// </summary> public class ActionInvoker { /// <summary> /// Invoke from an unspecified <paramref name="obj"/> type /// </summary> /// <param name="obj">mapping instance class</pa...
using System; namespace Ganss.Excel { /// <summary> /// Abstract class action invoker /// </summary> public class ActionInvoker { /// <summary> /// Invoke from an unspecified <paramref name="obj"/> type /// </summary> /// <param name="obj">mapping instance class</pa...
mit
C#
f7c2d292ae1dcfe04b1dacaf24feea15f1f0304a
use completedtask
wes566/AsyncEventLib
AsyncEventLib/EventHandlerExtensions.cs
AsyncEventLib/EventHandlerExtensions.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncEventLib { public static class EventHandlerExtensions { /// <summary> /// Invokes the event handlers if there are any. Safe to call even if there aren't any /// handlers registered. If a handle...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace AsyncEventLib { public static class EventHandlerExtensions { /// <summary> /// Invokes the event handlers if there are any. Safe to call even if there aren't any /// handlers registered. If a handle...
mit
C#
b26ef29a23bb6bda0267f1088eab43332291347e
Update Concurrency.cs
BeardedManStudios/ForgeNetworkingRemastered,BeardedManStudios/ForgeNetworkingRemastered,BeardedManStudios/ForgeNetworkingRemastered
BeardedManStudios/Source/Concurrency.cs
BeardedManStudios/Source/Concurrency.cs
using System; using System.Collections.Generic; using System.Threading; namespace BeardedManStudios.Concurrency { // Locking for quick operations. No need to expensively block a thread. internal class SpinLock { private int @lock = 0; public void Enter(ref bool lockTaken) { ...
using System; using System.Collections.Generic; using System.Threading; namespace BeardedManStudios.Concurrency { // Locking for quick operations. No need to expensively block a thread. internal class SpinLock { private int @lock = 0; public void Enter(ref bool lockTaken) { ...
apache-2.0
C#
3a8dc1c836e8deb0257f0990e34e51d2c7477b23
Add passwords-in-version-control disclaimer to credentials file.
Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net,Learnosity/learnosity-sdk-asp.net
LearnositySDK/Credentials.cs
LearnositySDK/Credentials.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace LearnositySDK { public static class Credentials { // The consumerKey and consumerSecret are the public & private // security keys required to access Learnosity APIs and ...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace LearnositySDK { public static class Credentials { public static string ConsumerKey = "yis0TYCu7U9V4o7M"; public static string ConsumerSecret = "74c5fd430cf1242a527f6223ae...
apache-2.0
C#
b934a816b55070822cfbc2f708c9358f21f1d8d1
Update Razor EA API
wvdd007/roslyn,eriawan/roslyn,bartdesmet/roslyn,sharwell/roslyn,physhi/roslyn,AmadeusW/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,dotnet/roslyn,diryboy/roslyn,tmat/roslyn,wvdd007/roslyn,KevinRansom/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,tmat/roslyn,CyrusNajmabadi/roslyn,AmadeusW/roslyn,mavasani/roslyn,bar...
src/Tools/ExternalAccess/Razor/RazorCSharpProximityExpressionResolver.cs
src/Tools/ExternalAccess/Razor/RazorCSharpProximityExpressionResolver.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. #nullable enable using System.Collections.Generic; using System.Threading; using Microsoft.CodeAnalysis.CSharp.Deb...
// 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.Collections.Generic; using Microsoft.CodeAnalysis.CSharp.Debugging; namespace Micro...
mit
C#
e6f564c3af74930d7ba93d7b2d4068c52bbd2bc4
Add mouse and and touch control for full range motion.
dirty-casuals/LD38-A-Small-World
Assets/Scripts/Core/PlayerController.cs
Assets/Scripts/Core/PlayerController.cs
using System; using UnityEngine; public class PlayerController : MonoBehaviour { public enum ControlType { Keyboard, Mouse, Touch } [SerializeField] private PaddleController _paddleController; [SerializeField, Range( 0.1f, 10 )] private float _pointerResponsiveness =...
using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] private PaddleController _paddleController; private float halfScreenHeight; private void Start() { halfScreenHeight = Screen.height / 2; } private void Update() { float direction = 0.0f;...
mit
C#
c7b09e53495b9e492c1635fe2e0aef92e6b5bf6e
add Generic Version of Register and Get Method (#908)
graphql-dotnet/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,joemcbride/graphql-dotnet
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
src/GraphQL/Utilities/GraphTypeTypeRegistry.cs
using System; using System.Collections.Generic; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly Dictionary<Type, Type> _entries; static GraphTypeTypeRegistry() { _entries = new Dictionary<Type, Type> ...
using System; using System.Collections.Generic; using GraphQL.Types; namespace GraphQL.Utilities { public static class GraphTypeTypeRegistry { static readonly Dictionary<Type, Type> _entries; static GraphTypeTypeRegistry() { _entries = new Dictionary<Type, Type> ...
mit
C#
3256fd319c9a69429d5e7c7cc75c669eb90ec7f1
Fix issue where ratio was always returning "1"
janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent
Components/TemplateHelpers/Images/Ratio.cs
Components/TemplateHelpers/Images/Ratio.cs
using System; namespace Satrabel.OpenContent.Components.TemplateHelpers { public class Ratio { private readonly float _ratio; public int Width { get; private set; } public int Height { get; private set; } public float AsFloat { get { return (float)Width / (...
using System; namespace Satrabel.OpenContent.Components.TemplateHelpers { public class Ratio { private readonly float _ratio; public int Width { get; private set; } public int Height { get; private set; } public float AsFloat { get { return Width / Height; ...
mit
C#
67245440b661e95d8bb9ca2995e544f35e239569
add amount to create hub commitment
LykkeCity/bitcoinservice,LykkeCity/bitcoinservice
src/BitcoinApi/Models/Offchain/CreateHubCommitmentModel.cs
src/BitcoinApi/Models/Offchain/CreateHubCommitmentModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BitcoinApi.Models.Offchain { public class CreateHubCommitmentModel { public string ClientPubKey { get; set; } public string Asset { get; set; } public decimal Amount { g...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BitcoinApi.Models.Offchain { public class CreateHubCommitmentModel { public string ClientPubKey { get; set; } public string Asset { get; set; } public string SignedByCli...
mit
C#
0282046b216ed716ca576d9eb38482eb9515ec65
Fix nullable annotations
shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,dotnet/roslyn,mavasani/roslyn,KevinRansom/roslyn,diryboy/roslyn,sharwell/roslyn,sharwell/roslyn,bartde...
src/Compilers/CSharp/Portable/Syntax/ForStatementSyntax.cs
src/Compilers/CSharp/Portable/Syntax/ForStatementSyntax.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 Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAnalysis.CSharp.Syntax { public partial cl...
// 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 Microsoft.CodeAnalysis.CSharp.Syntax; namespace Microsoft.CodeAnalysis.CSharp.Syntax { public partial cl...
mit
C#
db9a27d64c2dbc38b82854c35d3f60d5822cbfbf
Allow empty semver components to be deserialised as this might be an archived component
Aqovia/OctopusPuppet
src/OctopusPuppet/DeploymentPlanner/SemVerJsonConverter.cs
src/OctopusPuppet/DeploymentPlanner/SemVerJsonConverter.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace OctopusPuppet.DeploymentPlanner { public class SemVerJsonConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { writer.WriteValue(value.ToStr...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace OctopusPuppet.DeploymentPlanner { public class SemVerJsonConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { writer.WriteValue(value.ToStr...
apache-2.0
C#
4862bfeef1847e51ee5ddd84aacab44b918fd065
set OpenFileDialog's Multiselect property to true to allow multiple archives to be selected
matortheeternal/mod-analyzer
ModAnalyzer/ViewModels/HomeViewModel.cs
ModAnalyzer/ViewModels/HomeViewModel.cs
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.CommandWpf; using ModAnalyzer.Messages; using System.Windows.Forms; using System.Windows.Input; namespace ModAnalyzer.ViewModels { public class HomeViewModel : ViewModelBase { public ICommand BrowseCommand { get; set; } public HomeViewModel()...
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.CommandWpf; using ModAnalyzer.Messages; using System.Windows.Forms; using System.Windows.Input; namespace ModAnalyzer.ViewModels { public class HomeViewModel : ViewModelBase { public ICommand BrowseCommand { get; set; } public HomeViewModel()...
mit
C#
576a0b5516d2ac255bb9a5bf1580bca620c757b3
Update ActionCollection.cs
wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactivity/ActionCollection.cs
src/Avalonia.Xaml.Interactivity/ActionCollection.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Specialized; using Avalonia.Collections; namespace Avalonia.Xaml.Interactivity { /// <summary> /// Represents a co...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Specialized; using Avalonia.Collections; namespace Avalonia.Xaml.Interactivity { /// <summary> /// Represents a co...
mit
C#
8cff6b31892d0b14a961bec0ff9b82e39a97d2e3
Remove using statement.
ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,naoey/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,default0/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,RedNesto/osu-framework,smoogipooo/osu-framework,Nabile-Rahmani/osu-framework,ppy/...
osu.Framework/Input/MouseState.cs
osu.Framework/Input/MouseState.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using OpenTK; using OpenTK.Input; using System.Linq; namespace osu.Framework.Input { public class MouseState : IMouseState { ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using System.Collections.Generic; using OpenTK; using OpenTK.Input; using System.Linq; namespace osu.Framework.Input { public cla...
mit
C#
397728668004b2875a12d4382e2ba910dbbe04af
Make use of result parser in API
anderslundsgard/sun-api,anderslundsgard/sun-api
SunApi/Controllers/SunriseController.cs
SunApi/Controllers/SunriseController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using SunLib; using SunLib.Models; using SunLib.Utils; namespace SunApi.Controllers { public class SunriseController : ApiController { // Sample request so far: http://sun...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using SunLib; using SunLib.Models; namespace SunApi.Controllers { public class SunriseController : ApiController { // Sample request so far: http://sunriseandfall.azureweb...
mit
C#
4b35ce84e60366ba15a972d9e2dc97cdc9fe85d2
Bump version
rucila/PushSharp,arleyandrada/PushSharp,18098924759/PushSharp,cafeburger/PushSharp,wanglj7525/PushSharp,bobqian1130/PushSharp,kouweizhong/PushSharp,ingljo/PushSharp,profporridge/PushSharp,fhchina/PushSharp,ZanoMano/PushSharp,wanglj7525/PushSharp,richardvaldivieso/PushSharp,18098924759/PushSharp,FragCoder/PushSharp,prof...
PushSharp.Common/AssemblyVersionInfo.cs
PushSharp.Common/AssemblyVersionInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can defa...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can defa...
apache-2.0
C#
57d79d8d4d87f2bb142da0b8cb2658f3779af462
Fix filename not being populated
michaKFromParis/octokit.net,thedillonb/octokit.net,shana/octokit.net,darrelmiller/octokit.net,M-Zuber/octokit.net,gdziadkiewicz/octokit.net,TattsGroup/octokit.net,SamTheDev/octokit.net,shiftkey/octokit.net,devkhan/octokit.net,Red-Folder/octokit.net,kolbasov/octokit.net,hahmed/octokit.net,rlugojr/octokit.net,fffej/octok...
Octokit/Models/Response/PullRequestFile.cs
Octokit/Models/Response/PullRequestFile.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using Octokit.Internal; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class PullRequestFile { public Pull...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Octokit { [DebuggerDisplay("{DebuggerDisplay,nq}")] public class PullRequestFile { public PullRequestFile() { } ...
mit
C#
2aa6af0bb71a534c7fe6dafa950b9513ee083c0c
Update UI display gate number
surrealist/ParkingSpace,surrealist/ParkingSpace,surrealist/ParkingSpace
ParkingSpace.Web/Views/GateIn/Index.cshtml
ParkingSpace.Web/Views/GateIn/Index.cshtml
@using ParkingSpace.Models @{ ViewBag.Title = "Index"; var ticket = (ParkingTicket)TempData["newTicket"]; } <h2>Gate In</h2> <div class="well well-sm"> <strong>Gate:</strong> @ViewBag.GateId </div> @using (Html.BeginForm("CreateTicket", "GateIn")) { <div> Plate No.:<br /> @Html.TextBox("plateNo...
@using ParkingSpace.Models @{ ViewBag.Title = "Index"; var ticket = (ParkingTicket)TempData["newTicket"]; } <h2>Gate In [@ViewBag.GateId]</h2> @using (Html.BeginForm("CreateTicket", "GateIn")) { <div> Plate No.:<br /> @Html.TextBox("plateNo")<br /> <br /> <button type="submit" class="btn ...
mit
C#
8c404ed74f5d19c52031e2e937695f00ffa13d6c
Update IShellCommandEngine.cs
tiksn/TIKSN-Framework
TIKSN.Core/Shell/IShellCommandEngine.cs
TIKSN.Core/Shell/IShellCommandEngine.cs
using System; using System.Reflection; using System.Threading.Tasks; namespace TIKSN.Shell { public interface IShellCommandEngine { void AddAssembly(Assembly assembly); void AddType(Type type); Task RunAsync(); } }
using System; using System.Reflection; using System.Threading.Tasks; namespace TIKSN.Shell { public interface IShellCommandEngine { void AddAssembly(Assembly assembly); void AddType(Type type); Task RunAsync(); } }
mit
C#
a23f669a0a5f1b284c86a4f340a6463a3535ce5d
Add documentation
c0nnex/SPAD.neXt,c0nnex/SPAD.neXt
SPAD.Interfaces/Callout/ICalloutManager.cs
SPAD.Interfaces/Callout/ICalloutManager.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SPAD.neXt.Interfaces.Callout { public interface ICallout : IDisposable { /// <summary> /// Unique id for this callout /// </summary> long CalloutID...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SPAD.neXt.Interfaces.Callout { public interface ICallout { long CalloutID { get; } DateTime When { get; } TimeSpan Delay { get; } bool Done { get; ...
mit
C#
ba00b83fe8a8016172d891fffeede68f3ebc5826
Allow creation of tiles from bitmaps.
clicketyclack/TileExchange
TileExchange/TileSet/Tile.cs
TileExchange/TileSet/Tile.cs
/* * Copyright (C) 2017 Erik Mossberg * * This file is part of TileExchanger. * * TileExchanger is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your o...
/* * Copyright (C) 2017 Erik Mossberg * * This file is part of TileExchanger. * * TileExchanger is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your o...
agpl-3.0
C#
930cae2e751debb01061fa8ec3a31ad9fa665e6d
Fix a ref to FinnAngelo.PomoFish
FinnAngelo/PomoFish
FinnAngelo.PomoFishTests/IconTests.cs
FinnAngelo.PomoFishTests/IconTests.cs
using Common.Logging; using FinnAngelo.PomoFish; using FinnAngelo.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics; namespace FinnAngelo.PomoFishTests { [TestClass] public class IconTests { [TestMethod] //[Ignore] public void GivenD...
using Common.Logging; using FinnAngelo.Utilities; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System.Diagnostics; namespace FinnAngelo.PomoFishTests { [TestClass] public class IconTests { [TestMethod] //[Ignore] public void GivenDestroyMethod_WhenGet10000Ic...
mit
C#
ef500361b355c1cacfb1b8100d7a4921d170cb55
support for range filter
janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent
Components/JPList/StatusDataDTO.cs
Components/JPList/StatusDataDTO.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Satrabel.OpenContent.Components.JPList { public class StatusDataDTO { #region "Common" /// <summary> /// jquery path or "default" /// </summary> public string path { get; se...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Satrabel.OpenContent.Components.JPList { public class StatusDataDTO { #region "Common" /// <summary> /// jquery path or "default" /// </summary> public string path { get; se...
mit
C#
c4ce4a7dcaafc346cea42416ee2636bf561a8563
Resolve conflict
jacobrossandersen/GitTest1
ConsoleApp1/ConsoleApp1/Program.cs
ConsoleApp1/ConsoleApp1/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in GitHub //Code was added in VS //Code to call F...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { static void Main(string[] args) { //Code was edited in GitHub //Code was added in VS //Code to call F...
mit
C#
18e04f3b449cb1e3e71fecb97bf9f4ad736e5df6
Change Check tests to restore default behaviour
yakimovim/verifier
Verifier.Tests/CheckTests.cs
Verifier.Tests/CheckTests.cs
using System; using EdlinSoftware.Verifier.Tests.Support; using Xunit; namespace EdlinSoftware.Verifier.Tests { public class CheckTests : IDisposable { private readonly StringVerifier _verifier; private static readonly Action<string> DefaultAssertionFailed = Verifier.AssertionFailed; ...
using System; using EdlinSoftware.Verifier.Tests.Support; using Xunit; namespace EdlinSoftware.Verifier.Tests { public class CheckTests : IDisposable { private readonly StringVerifier _verifier; private static readonly Action<string> DefaultAssertionFailed = Verifier.AssertionFailed; ...
mit
C#
c2ad2c7820ab5ada5e04d2a15e94d70321175f2d
Fix Pluralizer culture recognition. Fix #26.
diolive/cache,diolive/cache
DioLive.Cache/src/DioLive.Common.Localization/Pluralizer.cs
DioLive.Cache/src/DioLive.Common.Localization/Pluralizer.cs
using System.Collections.Generic; using System.Globalization; namespace DioLive.Common.Localization { public class Pluralizer { private string defaultLanguage; private Dictionary<string, ILanguagePluralizer> pluralizers; public Pluralizer(string defaultLanguage = "en-US") { ...
using System.Collections.Generic; using System.Globalization; namespace DioLive.Common.Localization { public class Pluralizer { private string defaultLanguage; private Dictionary<string, ILanguagePluralizer> pluralizers; public Pluralizer(string defaultLanguage = "en-US") { ...
mit
C#
71a2650d8739a3fa11c6a9b8e0dde4a6f45a3e8c
Use same approach as TestFonts
SixLabors/Fonts
tests/SixLabors.Fonts.Tests/TestEnvironment.cs
tests/SixLabors.Fonts.Tests/TestEnvironment.cs
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.IO; using System.Linq; using System.Reflection; namespace SixLabors.Fonts.Tests { internal static class TestEnvironment { private const string SixLaborsSolutionFileName = "SixLabors.Fonts.sln"; ...
// Copyright (c) Six Labors. // Licensed under the Apache License, Version 2.0. using System; using System.IO; using System.Linq; using System.Reflection; namespace SixLabors.Fonts.Tests { internal static class TestEnvironment { private const string SixLaborsSolutionFileName = "SixLabors.Fonts.sln"; ...
apache-2.0
C#
441c27e54ca64fa701b7e9e8cb498f8149452149
add policy
IdentityModel/IdentityModel.OidcClient.Samples,IdentityModel/IdentityModel.OidcClient.Samples
WpfWebView2/WpfWebView2/MainWindow.xaml.cs
WpfWebView2/WpfWebView2/MainWindow.xaml.cs
using IdentityModel.OidcClient; using System; using System.Windows; namespace WpfWebView2 { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } ...
using IdentityModel.OidcClient; using System; using System.Windows; namespace WpfWebView2 { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } ...
apache-2.0
C#
9e84f2a799668dcb03492466cf1a33fa0b217e2c
Implement property converter for XPath
zpqrtbnk/Zbu.Blocks,zpqrtbnk/Zbu.Blocks
Zbu.Blocks/DataType/StructuresConverter.cs
Zbu.Blocks/DataType/StructuresConverter.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core.Models; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Models.PublishedContent; using Zbu.Blocks.PropertyEditors; namespace Zbu.Blocks.DataType { // note: can cache the co...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Umbraco.Core.Models; using Umbraco.Core.PropertyEditors; using Umbraco.Core.Models.PublishedContent; using Zbu.Blocks.PropertyEditors; namespace Zbu.Blocks.DataType { // note: can cache the co...
mit
C#
be186a8cd8236d87faf0550d07f760811814740a
Update Startup.cs
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/IISSample/Startup.cs
samples/IISSample/Startup.cs
using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.Framework.Logging; namespace IISSample { public class Startup { public void Configure(IApplicationBuilder app, ILoggerFactory loggerfactory) { loggerfactory.AddConsole(LogLevel.Verbose); ...
using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.Framework.Logging; namespace IISSample { public class Startup { public void Configure(IApplicationBuilder app, ILoggerFactory loggerfactory) { loggerfactory.AddConsole(LogLevel.Verbose); ...
apache-2.0
C#
96fbb43f770bbd6b98a9b7fda9b7e0109d8738a6
Update joining_audio.cs (#1176)
RogueException/Discord.Net,AntiTcb/Discord.Net
docs/guides/voice/samples/joining_audio.cs
docs/guides/voice/samples/joining_audio.cs
// The command's Run Mode MUST be set to RunMode.Async, otherwise, being connected to a voice channel will block the gateway thread. [Command("join", RunMode = RunMode.Async)] public async Task JoinChannel(IVoiceChannel channel = null) { // Get the audio channel channel = channel ?? (msg.Author as IGuildUser)?...
[Command("join")] public async Task JoinChannel(IVoiceChannel channel = null) { // Get the audio channel channel = channel ?? (msg.Author as IGuildUser)?.VoiceChannel; if (channel == null) { await msg.Channel.SendMessageAsync("User must be in a voice channel, or a voice channel must be passed as an argument...
mit
C#
6e419fd6d7385915f0b194261b8fe5701e8cafd4
Update AssemblyInfo.cs
KerbaeAdAstra/KSPNameGen,KerbaeAdAstra/KSPNameGen
KSPNameGen/Properties/AssemblyInfo.cs
KSPNameGen/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("KSPNameGen")] [assembly: AssemblyDescription("Free (gratis and libre) name generator for Kerbal ...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("KSPNameGen")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembl...
mit
C#
20fe0d0ade03c7d06319353b3307f85c07852a32
Clean ups
kotorihq/kotori-core
KotoriCore/Commands/ICommandResult.cs
KotoriCore/Commands/ICommandResult.cs
using System; using System.Collections; namespace KotoriCore.Commands { /// <summary> /// Command result interface. /// </summary> public interface ICommandResult { /// <summary> /// Gets the type of the element. /// </summary> /// <value>The type of the ele...
using System; using System.Collections; namespace KotoriCore.Commands { public interface ICommandResult { Type ElementType { get; } IEnumerable Data { get; } string Message { get; } } }
mit
C#
f0758117bc73fd3c72bf2e028799c63b61bb047f
Update Android.Enums AutomatorSetting values (#476)
appium/appium-dotnet-driver
src/Appium.Net/Appium/Android/Enums/AutomatorSetting.cs
src/Appium.Net/Appium/Android/Enums/AutomatorSetting.cs
//Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //See the NOTICE file distributed with this work for additional //information regarding copyright ownership. //You may obtain a copy of the License at // // http://www.apache.org/licen...
//Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //See the NOTICE file distributed with this work for additional //information regarding copyright ownership. //You may obtain a copy of the License at // // http://www.apache.org/licen...
apache-2.0
C#
defd9dd3340f610153aecdc6c6c0f3e9416e376f
Set RxApp.DefaultExceptionHandler.
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs
src/GitHub.Exports.Reactive/ViewModels/ViewModelBase.cs
using System; using System.Reactive; using GitHub.Logging; using ReactiveUI; using Serilog; namespace GitHub.ViewModels { /// <summary> /// Base class for view models. /// </summary> /// <remarks> /// A view model must inherit from this class in order for a view to be automatically /// found b...
using System; using GitHub.UI; using ReactiveUI; namespace GitHub.ViewModels { /// <summary> /// Base class for view models. /// </summary> /// <remarks> /// A view model must inherit from this class in order for a view to be automatically /// found by the ViewLocator. /// </remarks> p...
mit
C#
c3ad7857c82b7b39cfd47fbbaf382d992b5afce2
Fix for github issue 419 : https://github.com/neo4j/neo4j-dotnet-driver/issues/419
neo4j/neo4j-dotnet-driver,neo4j/neo4j-dotnet-driver
Neo4j.Driver/Neo4j.Driver/Query.cs
Neo4j.Driver/Neo4j.Driver/Query.cs
// Copyright (c) 2002-2020 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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...
// Copyright (c) 2002-2020 "Neo4j," // Neo4j Sweden AB [http://neo4j.com] // // This file is part of Neo4j. // // 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...
apache-2.0
C#
d7427bd166ba5de639dd7171954e40b4e1cd0bd5
Fix error when substituting arguments
paf31/parsel
Parsel/ReplaceParametersVisitor.cs
Parsel/ReplaceParametersVisitor.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Parsel { internal static class ReplaceParameter { public static Expression Apply<S, T>(this Expression<Func<S, T>> f, Expression s) { return f.Body.Replace...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace Parsel { internal static class ReplaceParameter { public static Expression Apply<S, T>(this Expression<Func<S, T>> f, Expression s) { return f.Body.Replace...
bsd-3-clause
C#
fb89d3cac6de8aced82bf1effb4e36cbc190c7e1
Update location of env vars
codeforamerica/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api
Schedules.API.Tests/SystemTests.cs
Schedules.API.Tests/SystemTests.cs
using System; using NUnit.Framework; using Centroid; namespace Schedules.API.Tests { [TestFixture, Category("System")] public class SystemTests { [Test] public void CheckThatEnvironmentVariablesExist() { dynamic config = Config.FromFile("config.json"); foreach (var variable in config.all...
using System; using NUnit.Framework; using Centroid; namespace Schedules.API.Tests { [TestFixture, Category("System")] public class SystemTests { [Test] public void CheckThatEnvironmentVariablesExist() { dynamic config = Config.FromFile("config.json"); foreach (var variable in config.var...
mit
C#
8b94ecf5e288822933c365090b728500fc64ab71
Refactor to convert to Flurl's QueryParameter.
clement911/ShopifySharp,addsb/ShopifySharp,nozzlegear/ShopifySharp
ShopifySharp/Filters/ListFilter.cs
ShopifySharp/Filters/ListFilter.cs
using Flurl; using Newtonsoft.Json; using System.Collections.Generic; using System.Reflection; namespace ShopifySharp.Filters { /// <summary> /// A generic class for filtering the results of a .ListAsync command. /// </summary> public class ListFilter : CountFilter { /// <summary> ...
using Newtonsoft.Json; using RestSharp; using System.Collections.Generic; using System.Reflection; namespace ShopifySharp.Filters { /// <summary> /// A generic class for filtering the results of a .ListAsync command. /// </summary> public class ListFilter : CountFilter { /// <summary> ...
mit
C#
5ce908e88307c3cdfe28f034d20e63ef6c8e838f
Update Milestone.cs
tiksn/TIKSN-Framework
TIKSN.Core/Versioning/Milestone.cs
TIKSN.Core/Versioning/Milestone.cs
namespace TIKSN.Versioning { public enum Milestone { // Unstable Alpha = 1, Beta = 2, ReleaseCandidate = 3, // Stable Release = 4 } }
namespace TIKSN.Versioning { public enum Milestone { // Unstable Alpha = 1, Beta = 2, ReleaseCandidate = 3, // Stable Release = 4, } }
mit
C#
6d8af1b046684a787f773f316117bcf75df1f67f
Add MemBytesUsed property to CurrentState
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Web/Structures/CurrentState.cs
Server/Web/Structures/CurrentState.cs
using Server.Context; using Server.System; using System; using System.Collections.Generic; using System.Linq; namespace Server.Web.Structures { public class CurrentState { public DateTime StartTime { get; set; } public List<string> CurrentPlayers { get; } = new List<string>(); public L...
using Server.Context; using Server.System; using System; using System.Collections.Generic; using System.Linq; namespace Server.Web.Structures { public class CurrentState { public DateTime StartTime { get; set; } public List<string> CurrentPlayers { get; } = new List<string>(); public L...
mit
C#
908195adeed6d7cc7c9c3d06c0b2feb67464009d
Rename variable.
sharpjs/PSql,sharpjs/PSql
PSql.Core/_Commands/ExpandSqlCmdDirectivesCommand.cs
PSql.Core/_Commands/ExpandSqlCmdDirectivesCommand.cs
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsData.Expand, "SqlCmdDirectives")] [OutputType(typeof(string[]))] public class ExpandSqlCmdDirectivesCommand : Cmdlet { // -Sql...
using System; using System.Collections; using System.Collections.Generic; using System.Globalization; using System.Management.Automation; namespace PSql { [Cmdlet(VerbsData.Expand, "SqlCmdDirectives")] [OutputType(typeof(string[]))] public class ExpandSqlCmdDirectivesCommand : Cmdlet { // -Sql...
isc
C#
1ee9aa4e4ce85f1b6dfba88b4a92e3fa75d67930
make COM ReolutionRequestType compatible with API enum
s-rogonov/diadocsdk-csharp,halex2005/diadocsdk-csharp,asvyazin/diadocsdk-csharp,asvyazin/diadocsdk-csharp,diadoc/diadocsdk-csharp,s-rogonov/diadocsdk-csharp,ichaynikov/diadocsdk-csharp,ichaynikov/diadocsdk-csharp,halex2005/diadocsdk-csharp,basmus/diadocsdk-csharp,diadoc/diadocsdk-csharp,basmus/diadocsdk-csharp
src/Com/ResolutionRequestType.cs
src/Com/ResolutionRequestType.cs
using System.Runtime.InteropServices; using System.Xml.Serialization; namespace Diadoc.Api.Com { [ComVisible(true)] [Guid("8B280FD8-0E8E-4FCC-8586-288DD94A7437")] //NOTE: Это хотели, чтобы можно было использовать XML-сериализацию для классов [XmlType(TypeName = "ResolutionRequestType", Namespace = "https://diadoc-...
using System.Runtime.InteropServices; using System.Xml.Serialization; namespace Diadoc.Api.Com { [ComVisible(true)] [Guid("8B280FD8-0E8E-4FCC-8586-288DD94A7437")] //NOTE: Это хотели, чтобы можно было использовать XML-сериализацию для классов [XmlType(TypeName = "ResolutionRequestType", Namespace = "https://diadoc-...
mit
C#
7975bd12c6480362669a3c48811ca676551c8895
fix status details property. Change from authentication to authenticated
watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk,watson-developer-cloud/unity-sdk
Scripts/Services/Discovery/V1/Model/StatusDetails.cs
Scripts/Services/Discovery/V1/Model/StatusDetails.cs
/** * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/** * (C) Copyright IBM Corp. 2021. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
apache-2.0
C#
e157f28e2d38a27e076d2a0254132f904f1823a8
Disable parallel test execution for RhinoMock integration tests (#847)
AutoFixture/AutoFixture,zvirja/AutoFixture,Pvlerick/AutoFixture,sean-gilliam/AutoFixture
Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs
Src/AutoRhinoMockUnitTest/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using Xunit; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCulture("")] // Setting ComVisible...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyCulture("")] // Setting ComVisible to false mak...
mit
C#
11703d166f2c28cf5a1e2377def268fc2b853447
Update SharedAssemblyInfo.cs
SuperJMN/Avalonia,Perspex/Perspex,susloparovdenis/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,akrisiun/Perspex,MrDaedra/Avalonia,AvaloniaUI/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jazzay/Perspex,jkoritzinsky/Perspex,OronDF343/Avalonia,SuperJMN/Ava...
src/Shared/SharedAssemblyInfo.cs
src/Shared/SharedAssemblyInfo.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyright("Copy...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Reflection; using System.Resources; [assembly: AssemblyCompany("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCopyright("Copy...
mit
C#
0075384957720993bd4933401f45110ce188afed
Remove FillText in InvertedCanvas too
verybadcat/CSharpMath
CSharpMath.Rendering/FrontEnd/InvertedCanvas.cs
CSharpMath.Rendering/FrontEnd/InvertedCanvas.cs
using System; using CSharpMath.Structures; namespace CSharpMath.Rendering.FrontEnd { using FrontEnd; [Obsolete("Not ready", true)] public class InvertedCanvas : ICanvas { public InvertedCanvas(ICanvas canvas) => _canvas = canvas ?? throw new ArgumentNullException(nameof(canvas), "The supplied canvas ca...
using System; using CSharpMath.Structures; namespace CSharpMath.Rendering.FrontEnd { using FrontEnd; [Obsolete("Not ready", true)] public class InvertedCanvas : ICanvas { public InvertedCanvas(ICanvas canvas) => _canvas = canvas ?? throw new ArgumentNullException(nameof(canvas), "The supplied canvas ca...
mit
C#
5d3283d74670b4504fe92f02d2343a1c214ed5e1
Update StatsController.cs - implemented edit, create and delete methods
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.WebApp/Controllers/StatsController.cs
NinjaHive.WebApp/Controllers/StatsController.cs
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class StatsController : Controller { private readonly IQueryPro...
using System; using System.Web.Mvc; using NinjaHive.Contract.Commands; using NinjaHive.Contract.DTOs; using NinjaHive.Contract.Queries; using NinjaHive.Core; using NinjaHive.WebApp.Services; namespace NinjaHive.WebApp.Controllers { public class StatsController : Controller { private StatInfo[] example...
apache-2.0
C#
098c8e9dad1d76da2d048879b9605cd3b1a314ae
Add JsonFormater
senioroman4uk/PathFinder
PathFinder.EntryPoint/App_Start/WebApiConfig.cs
PathFinder.EntryPoint/App_Start/WebApiConfig.cs
using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; using Newtonsoft.Json.Serialization; namespace PathFinder.EntryPoint { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace PathFinder.EntryPoint { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API route...
mit
C#
6135298dc20ae7a10d01bc5f0270721c27168bf0
Use client code generator
ithoughtdk/SalamanderDemos
Ducklings/Ducklings.sdml.cs
Ducklings/Ducklings.sdml.cs
// This is a generated file using Salamander; namespace Ducklings { public sealed partial class PondOf : Relation { } public sealed partial class Pond : IdNode<long> { private Property<int> _ducklingCount; public int DucklingCount { get { return _ducklingCount...
// This is a generated file using Salamander; namespace Ducklings { public sealed partial class PondOf : Relation { } public sealed partial class Pond : IdNode<long> { private Property<int> _ducklingCount; public int DucklingCount { get { return _ducklingCount...
mit
C#
0e20c7d8e03e06216397bdb753ff506770aeb749
Update use agent for v2
IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
MultiMiner.Win/UserAgent.cs
MultiMiner.Win/UserAgent.cs
namespace MultiMiner.Win { public static class UserAgent { public const string AgentString = "MultiMiner/V2"; } }
namespace MultiMiner.Win { public static class UserAgent { public const string AgentString = "MultiMiner/V1"; } }
mit
C#
a1965682ec0f82dd4d8cbf554a39cbff9e6b1636
remove temp logs
Mazyod/PhoenixSharp
PhoenixTests/SocketTests.cs
PhoenixTests/SocketTests.cs
using System; using NUnit.Framework; using Phoenix; namespace PhoenixTests { [TestFixture()] public class SocketTests { [Test()] public void BuffersDataWhenNotConnectedTest() { var socket = new Socket("ws://localhost:1234", null, new MockWebsocketFactory()); socket.Connect(); var conn = socket.conn ...
using System; using NUnit.Framework; using Phoenix; namespace PhoenixTests { [TestFixture()] public class SocketTests { [Test()] public void BuffersDataWhenNotConnectedTest() { var socket = new Socket("ws://localhost:1234", null, new MockWebsocketFactory()); socket.Connect(); var conn = socket.conn ...
mit
C#
9f533334c34a79bff4784a592e25d4778ba3644b
Remove unneeded reference to PrismApplication base class.
ryanjfitz/SimpSim.NET
SimpSim.NET.WPF/App.xaml.cs
SimpSim.NET.WPF/App.xaml.cs
using System.Windows; using Prism.Ioc; using SimpSim.NET.WPF.ViewModels; using SimpSim.NET.WPF.Views; namespace SimpSim.NET.WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App { protected override Window CreateShell() { return ...
using System.Windows; using Prism.DryIoc; using Prism.Ioc; using SimpSim.NET.WPF.ViewModels; using SimpSim.NET.WPF.Views; namespace SimpSim.NET.WPF { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : PrismApplication { protected override Window Crea...
mit
C#
34fa0897fa7be865a8b5bcbe430530d101a92caf
add at loading labelMatrix characteristics
fredatgithub/Matrix
TheMatrixHasYou/FormMain.cs
TheMatrixHasYou/FormMain.cs
using System; using System.Drawing; using System.Windows.Forms; namespace TheMatrixHasYou { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private readonly string[] _texte = {"Knock knock Neo..","Wake up Neo....", "The Matrix has you....", "Follow the wh...
using System; using System.Windows.Forms; namespace TheMatrixHasYou { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private readonly string[] _texte = {"Knock knock Neo..","Wake up Neo....", "The Matrix has you....", "Follow the white rabbit...." }; ...
mit
C#
f70f5eef3c30fb6d852f7527126a9804e55b5f68
Change TODO comments to reference current issue on Sockets perf counters.
wtgodbe/corefx,cydhaselton/corefx,wtgodbe/corefx,fgreinacher/corefx,jlin177/corefx,dotnet-bot/corefx,ravimeda/corefx,tstringer/corefx,mazong1123/corefx,Petermarcu/corefx,dotnet-bot/corefx,Petermarcu/corefx,twsouthwick/corefx,fgreinacher/corefx,yizhang82/corefx,axelheer/corefx,stone-li/corefx,alexperovich/corefx,cydhase...
src/System.Net.Sockets/src/System/Net/SocketPerfCounters.cs
src/System.Net.Sockets/src/System/Net/SocketPerfCounters.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; namespace System.Net { internal enum SocketPerfCounterName { SocketConnecti...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Threading; namespace System.Net { internal enum SocketPerfCounterName { SocketConnecti...
mit
C#
11ad3fc0827488d42ddb62ca639183cea6005054
Bump version to 8.17.0
abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbrac...
src/SolutionInfo.cs
src/SolutionInfo.cs
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
using System.Reflection; using System.Resources; [assembly: AssemblyCompany("Umbraco")] [assembly: AssemblyCopyright("Copyright © Umbraco 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: NeutralResourcesLanguage("en-US")] // versions // read https://stackoverflow.com/questions/64...
mit
C#
1be97f01dfda47f2e67ec6c88295ea83057f1c89
Add console tracing
tomliversidge/protoactor-dotnet,tomliversidge/protoactor-dotnet,masteryee/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,raskolnikoov/protoactor-dotnet,AsynkronIT/protoactor-dotnet,masteryee/protoactor-dotnet,Bee-Htcpcp/protoactor-dotnet,raskolnikoov/protoactor-dotnet
examples/DependencyInjection/Startup.cs
examples/DependencyInjection/Startup.cs
using System; using System.Threading; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Proto; namespace DependencyInjection { public class Startup { public void ConfigureServices(IServiceCol...
using System; using System.Threading; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Proto; namespace DependencyInjection { public class Startup { public void ConfigureServices(IServiceCol...
apache-2.0
C#
a4974899f4e67336371786abda3e671ad29db717
add DefaultParametersFeature to v2
mvalipour/xbehave.net,hitesh97/xbehave.net,modulexcite/xbehave.net,hitesh97/xbehave.net,xbehave/xbehave.net,adamralph/xbehave.net,mvalipour/xbehave.net,modulexcite/xbehave.net
src/test/Xbehave.Features.Net40/DefaultParametersFeature.cs
src/test/Xbehave.Features.Net40/DefaultParametersFeature.cs
// <copyright file="DefaultParametersFeature.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Test.Acceptance { using System; using System.Linq; using FluentAssertions; using Xbehave.Features.Infrastruct...
// <copyright file="DefaultParametersFeature.cs" company="xBehave.net contributors"> // Copyright (c) xBehave.net contributors. All rights reserved. // </copyright> namespace Xbehave.Test.Acceptance { using System; using System.Linq; using FluentAssertions; using Xbehave.Features.Infrastruct...
mit
C#
4eefa7c6cd689ca6372eed7ec6c4d84eda8a1e76
Refactor UITestFixture
atata-framework/atata-sample-app-tests
test/AtataSampleApp.UITests/UITestFixture.cs
test/AtataSampleApp.UITests/UITestFixture.cs
using Atata; using NUnit.Framework; namespace AtataSampleApp.UITests { [TestFixture] public abstract class UITestFixture { public static AtataConfig Config => AtataConfig.Current; [SetUp] public void SetUp() { AtataContext.Configure().Build(); ...
using Atata; using NUnit.Framework; namespace AtataSampleApp.UITests { [TestFixture] public class UITestFixture { public AtataConfig Config { get { return AtataConfig.Current; } } [SetUp] public void SetUp() { AtataContext.Configure(...
apache-2.0
C#
35a4e80ddd138fe3a74514d300a55335880a70fd
Update JsonHelpers.cs
jordansjones/Cex.io-Api-Client
src/Cex.io/Helpers/JsonHelpers.cs
src/Cex.io/Helpers/JsonHelpers.cs
using System; using System.Globalization; using System.Linq; namespace Nextmethod.Cex { internal static class JsonHelpers { internal static bool ContainsProperty(dynamic This, string name) { if (This == null || string.IsNullOrEmpty(name)) return false; var jo = This as ...
using System; using System.Globalization; using System.Linq; namespace Nextmethod.Cex { internal static class JsonHelpers { internal static bool ContainsProperty(dynamic This, string name) { if (This == null || string.IsNullOrEmpty(name)) return false; var jo = This as ...
mit
C#
a6ba4f008671ae1ed07d50ea6048569f39130ae1
replace accidentally reverted fix
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Demo/NakedFunctions.Rest.App.Demo/NakedObjectsRunSettings.cs
Demo/NakedFunctions.Rest.App.Demo/NakedObjectsRunSettings.cs
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
apache-2.0
C#
23c8a1f61325f5de1a4c2741f7e12052cf2afb0c
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
9dbcb8e3eccc5f737d4ecee1a68aace3997c392d
Use && instead of & to perform AND operation
steven-r/Oberon0Compiler
oberon0/Expressions/Operations/OpRelOp2.cs
oberon0/Expressions/Operations/OpRelOp2.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Oberon0.Compiler.Expressions.Operations { using JetBrains.Annotations; using Oberon0.Compiler.Definitions; using Oberon0.Compiler.Expressions.Constant; using Oberon0.Compiler....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Oberon0.Compiler.Expressions.Operations { using JetBrains.Annotations; using Oberon0.Compiler.Definitions; using Oberon0.Compiler.Expressions.Constant; using Oberon0.Compiler....
mit
C#
1d59e422cdc1624adf347e3ca055b73b6a977c7b
include milliseconds at TimestampLoggerToken
lucas-miranda/Raccoon
Raccoon/Logger/Tokens/TimestampLoggerToken.cs
Raccoon/Logger/Tokens/TimestampLoggerToken.cs
namespace Raccoon.Log { public class TimestampLoggerToken : LoggerToken, System.IEquatable<TimestampLoggerToken> { public TimestampLoggerToken(System.DateTime dateTime) { DateTime = dateTime; Timestamp = dateTime.ToString("dd/MM/yyyy HH:mm:ss.fff", System.Globalization.CultureInfo.I...
namespace Raccoon.Log { public class TimestampLoggerToken : LoggerToken, System.IEquatable<TimestampLoggerToken> { public TimestampLoggerToken(System.DateTime dateTime) { DateTime = dateTime; Timestamp = dateTime.ToString("dd/MM/yyyy HH:mm:ss", System.Globalization.CultureInfo.Invar...
mit
C#
162ac9fecf4879cb0320244babcd64d8b7cf0a08
Fix incorrect matching for cases header matches
ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-fr...
osu.Framework/Graphics/Containers/SearchContainer.cs
osu.Framework/Graphics/Containers/SearchContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions.IEnumerableExtensions; namespace osu.Framework.Graphics.Containers { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions.IEnumerableExtensions; namespace osu.Framework.Graphics.Containers { ...
mit
C#
330dd458bd92228038a50a79c948662cffdea3d0
Trim whitespace.
EVAST9919/osu,nyaamara/osu,UselessToucan/osu,DrabWeb/osu,ppy/osu,Frontear/osuKyzer,2yangk23/osu,Drezi126/osu,Nabile-Rahmani/osu,UselessToucan/osu,naoey/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,Damnae/osu,ZLima12/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,ZLima12/osu,p...
osu.Game/Overlays/Options/Sections/MaintenanceSection.cs
osu.Game/Overlays/Options/Sections/MaintenanceSection.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Graphics; using OpenTK; namespace osu.Game.Overlays.Options.Sections { public class MaintenanceSection : Opti...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Graphics; using OpenTK; namespace osu.Game.Overlays.Options.Sections { public class MaintenanceSection : Opti...
mit
C#
2a8b9cf7939d54fed4a8eeaa61e7d555bcf2025f
bump version
mawax/InfoBridge.SuperLinq
src/InfoBridge.SuperLinq.Core/Properties/AssemblyInfo.cs
src/InfoBridge.SuperLinq.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("In...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("In...
mit
C#
b3f2913570d2119c824e1d2e4fb99b29f81220c0
Fix FileDateCondition edge cases for when file doesn't exist
synhershko/NAppUpdate,jinlook/NAppUpdate,halotron/NAppUpdate,lexruster/NAppUpdate,miguel-misstipsi/NAppUpdate2,group6tech/NAppUpdate2,vbjay/NAppUpdate,johnrossell/NAppUpdate
src/NAppUpdate.Framework/Conditions/FileDateCondition.cs
src/NAppUpdate.Framework/Conditions/FileDateCondition.cs
using System; using System.IO; using NAppUpdate.Framework.Common; namespace NAppUpdate.Framework.Conditions { [Serializable] public class FileDateCondition : IUpdateCondition { public FileDateCondition() { Timestamp = DateTime.MinValue; } [NauField("localPath", "The local path of the file to check. ...
using System; using System.IO; using NAppUpdate.Framework.Common; namespace NAppUpdate.Framework.Conditions { [Serializable] public class FileDateCondition : IUpdateCondition { public FileDateCondition() { Timestamp = DateTime.MinValue; } [NauField("localPath", "The local path of the file to check. ...
apache-2.0
C#
0cfdad401438245d4c2ffe681456cbfa99ef912a
return to default responsive view
wangkanai/Detection
sample/ResponsivePage/Startup.cs
sample/ResponsivePage/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.HttpsPolicy; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exten...
apache-2.0
C#
eaac162b2ce929eaeef90ae2868eb9f9304116dc
Create proper class destructor
admoexperience/admo-kinect,admoexperience/admo-kinect
Admo/Utilities/ShortCutHandler.cs
Admo/Utilities/ShortCutHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Class handles shortcuts and sending them using System.Windows; using System.Windows.Input; using Admo.classes; using NLog; namespace Admo.Utilities { public class ShortCutHandler { pri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Class handles shortcuts and sending them using System.Windows; using System.Windows.Input; using Admo.classes; using NLog; namespace Admo.Utilities { public class ShortCutHandler { pri...
mit
C#
a6f33bb3bd05d3bf1523914d589b17d22f565074
Fix plots can't edit bug
leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net
Joinrpg/Helpers/MarkDownHelper.cs
Joinrpg/Helpers/MarkDownHelper.cs
using System.Linq; using System.Web; using CommonMark; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers.Web; namespace JoinRpg.Web.Helpers { public static class MarkDownHelper { /// <summary> /// Converts markdown to HtmlString with all sanitization /// </summary> [CanBe...
using System.Linq; using System.Web; using CommonMark; using JetBrains.Annotations; using JoinRpg.DataModel; using JoinRpg.Helpers.Web; namespace JoinRpg.Web.Helpers { public static class MarkDownHelper { /// <summary> /// Converts markdown to HtmlString with all sanitization /// </summary> [CanBe...
mit
C#
5cbb0050abe01e861c4e934737101ea6454bfc8a
Refactor tests to have initialise method
Joey-Softwire/ELO,Joey-Softwire/ELO
src/EloWeb.Tests.UnitTests/PlayersTests.cs
src/EloWeb.Tests.UnitTests/PlayersTests.cs
using System; using System.Linq; using EloWeb.Models; using NUnit.Framework; using System.Collections.Generic; namespace EloWeb.Tests.UnitTests { class PlayersTests { [TestFixtureSetUp] public void TestSetup() { InitialiseTestPlayers(); InitialiseTestGames(); ...
using System; using System.Linq; using EloWeb.Models; using NUnit.Framework; using System.Collections.Generic; namespace EloWeb.Tests.UnitTests { class PlayersTests { [Test] public void CanParsePlayerDescriptionText() { InitialiseTestPlayers(); InitialiseTestGam...
unlicense
C#
cd40b1479d9c5015f1febb88e527021b2e6c43d8
bump pluton version
Notulp/Pluton,Notulp/Pluton
Pluton/Properties/AssemblyInfo.cs
Pluton/Properties/AssemblyInfo.cs
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Pluton")] [assembly: AssemblyDescription("A server mod for the active branch of the survival sandbox game Rust")] [assembly: AssemblyCon...
using System.Reflection; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("Pluton")] [assembly: AssemblyDescription("A server mod for the active branch of the survival sandbox game Rust")] [assembly: AssemblyCon...
mit
C#
6747a3956196f7cbe2bbbf05712a5d652143d3ea
test juan 20180414
DigitalPlatform/chord,DigitalPlatform/chord,DigitalPlatform/chord,renyh1013/chord,renyh1013/chord,renyh1013/chord
dp2Tools/Program.cs
dp2Tools/Program.cs
// 20180514 test2 //test juan //test juan 20180414 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace dp2Tools { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] ...
// 20180514 test2 //test juan using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace dp2Tools { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Ma...
apache-2.0
C#
e9196b81488c62947a241a513a8af2c42076f8d0
Copy list before iterating to prevent modifications during iteration
thomaslevesque/NHotkey
src/NHotkey.Wpf/WeakReferenceCollection.cs
src/NHotkey.Wpf/WeakReferenceCollection.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace NHotkey.Wpf { class WeakReferenceCollection<T> : IEnumerable<T> where T : class { private readonly List<WeakReference> _references = new List<WeakReference>(); public IEnumer...
using System; using System.Collections; using System.Collections.Generic; namespace NHotkey.Wpf { class WeakReferenceCollection<T> : IEnumerable<T> where T : class { private readonly List<WeakReference> _references = new List<WeakReference>(); public IEnumerator<T> GetEnumerat...
apache-2.0
C#
b5acdb7c9bd117339e8216339b12fee401061740
Update IPathSize.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Model/Path/IPathSize.cs
src/Core2D/Model/Path/IPathSize.cs
 namespace Core2D.Path { /// <summary> /// Defines path size contract. /// </summary> public interface IPathSize : IObservableObject, IStringExporter { /// <summary> /// Gets or sets width value. /// </summary> double Width { get; set; } /// <summary> ...
 namespace Core2D.Path { /// <summary> /// Defines path size contract. /// </summary> public interface IPathSize : IObservableObject { /// <summary> /// Gets or sets width value. /// </summary> double Width { get; set; } /// <summary> /// Gets or set...
mit
C#
e109436276938ed8ca7027685102d6354b0972bb
Bump to 2.0.0
exira/ges-runner
src/Properties/AssemblyInfo.cs
src/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ges-runner")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EventstoreWinServiceWrapper")] [assembly: ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Eve...
mit
C#
03498b3c616851e53ccbb785b63bba8e47f06186
Update comment about this Interface usage - maybe we can remove this later on
robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,robertjf/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,tcmorris/Umbraco-CMS,bjarnef/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,hfloyd/Umbraco-CMS,...
src/Umbraco.Web/UI/IAssignedApp.cs
src/Umbraco.Web/UI/IAssignedApp.cs
namespace Umbraco.Web.UI { /// <summary> /// This is used for anything that is assigned to an app /// </summary> /// <remarks> /// Currently things that need to be assigned to an app in order for user security to work are: /// LegacyDialogTask /// </remarks> public interface IAssignedAp...
namespace Umbraco.Web.UI { /// <summary> /// This is used for anything that is assigned to an app /// </summary> /// <remarks> /// Currently things that need to be assigned to an app in order for user security to work are: /// dialogs, ITasks, editors /// </remarks> public interface IAs...
mit
C#
281a2c1bda8ce8e2b0a8b0dba08e07b0ee121b97
Change processor logic
marska/wundercal
src/Wundercal/CalendarProcessor.cs
src/Wundercal/CalendarProcessor.cs
using System; using System.Configuration; using Wundercal.Services; namespace Wundercal { internal class CalendarProcessor : ICalendarProcessor { private readonly ICalendarService _calendarService; private readonly IWunderlistService _wunderlistService; public CalendarProcessor(ICalendarService cale...
using System; using System.Configuration; using Wundercal.Services; namespace Wundercal { internal class CalendarProcessor : ICalendarProcessor { private readonly ICalendarService _calendarService; private readonly IWunderlistService _wunderlistService; public CalendarProcessor(ICalendarService cale...
apache-2.0
C#
2fd6ea525c7763be2ce18592ad80eda06d4b7f67
Set campaign Content
shahriarhossain/MailChimp.Api.Net
MailChimp.Api.Net/Services/Campaigns/MCCampaignContent.cs
MailChimp.Api.Net/Services/Campaigns/MCCampaignContent.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Campaigns; using MailChimp.Api.Net.Enum; using MailChimp.Api.Net.Helper; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Campaigns { ...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using MailChimp.Api.Net.Domain.Campaigns; using MailChimp.Api.Net.Enum; using MailChimp.Api.Net.Helper; using Newtonsoft.Json; namespace MailChimp.Api.Net.Services.Campaigns { ...
mit
C#
009bcfd84202684bd0e01f866f00c5f51a2e7004
Update XRecordTests.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
tests/Core2D.UnitTests/Data/Database/XRecordTests.cs
tests/Core2D.UnitTests/Data/Database/XRecordTests.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Data.Database; using Xunit; namespace Core2D.UnitTests { public class XRecordTests { [Fact] [Trait("Core2D.Data", "Database")...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Core2D.Data.Database; using Xunit; namespace Core2D.UnitTests { public class XRecordTests { [Fact] [Trait("Core2D.Data", "Database")...
mit
C#
bf4ed2f6456076e56751066d6ec4e388ddbd9ffe
Remove unused using
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/IdentitySample.Mvc/Models/SampleData.cs
samples/IdentitySample.Mvc/Models/SampleData.cs
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.OptionsModel; namespace IdentitySample.Models { public static class SampleData { ...
using System; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Microsoft.Data.Entity.SqlServer; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.OptionsModel; namespace IdentitySample.Models { ...
apache-2.0
C#
af9d358a0ef4aeba658d4c26e63c4dfc1bd4e8e3
Revert Utils.cs
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Helpers/Utils.cs
WalletWasabi.Gui/Helpers/Utils.cs
using Avalonia.Threading; using System; using System.IO; using System.Threading.Tasks; namespace WalletWasabi.Gui.Helpers { public static class Utils { public static bool DetectLLVMPipeRasterizer() { try { var shellResult = ShellUtils.ExecuteShellCommand("glxinfo | grep renderer", ""); if (!string...
using Avalonia.Threading; using System; using System.IO; using System.Runtime.InteropServices; using System.Threading.Tasks; namespace WalletWasabi.Gui.Helpers { public static class Utils { public static bool DetectLLVMPipeRasterizer() { try { var shellResult = ShellUtils.ExecuteShellCommand("glxinfo |...
mit
C#
493670faba289e42b1e2bb37197dff87549b1aaa
Add reload
Tunsy/splatline-miami
splatlinemiami/Assets/Scripts/Weapons/Weapon.cs
splatlinemiami/Assets/Scripts/Weapons/Weapon.cs
using UnityEngine; using System.Collections; public class Weapon : MonoBehaviour { public Bullet bullet; public float fireCooldown; public AudioClip shootSound; public AudioClip reloadSound; public int maxBulletCount; public int reloadTime; private int currentBulletCount; ...
using UnityEngine; using System.Collections; public class Weapon : MonoBehaviour { public Bullet bullet; public float fireCooldown; public AudioClip shootSound; public int maxBulletCount; private int currentBulletCount; private bool isReloading; public void Start() { ...
mit
C#
811d8a2578661a5eb9596e3c3c6cb366192baa08
remove no longer needed supression
acple/ParsecSharp
ParsecSharp/GlobalSuppressions.cs
ParsecSharp/GlobalSuppressions.cs
using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Style", "IDE0071:Simplify interpolation", Justification = "IDE0071 considerably decreases the performance of string construction")]
using System.Diagnostics.CodeAnalysis; [assembly: SuppressMessage("Style", "IDE0071:Simplify interpolation", Justification = "IDE0071 considerably decreases the performance of string construction")] [assembly: SuppressMessage("Style", "IDE0071WithoutSuggestion")]
mit
C#
12f1c4f8615d742842b08f1ab8c552abdd5c91d2
Make case insensitive matching
mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy
src/Manos/Manos.Routing/StringMatchOperation.cs
src/Manos/Manos.Routing/StringMatchOperation.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use,...
mit
C#
8b884aed710fce0a5ba9a0dd13a67b65f48c0579
Refactor to allow for multiple rooms
Endure-Game/Endure
Assets/Scripts/RoomManager.cs
Assets/Scripts/RoomManager.cs
using UnityEngine; using System; using System.Collections.Generic; using Random = UnityEngine.Random; public class RoomManager : MonoBehaviour { [Serializable] public class Count { public int minimum; public int maximum; public Count (int min, int max) { minimum = min; maximum = max; } } public i...
using UnityEngine; using System; using System.Collections.Generic; using Random = UnityEngine.Random; public class RoomManager : MonoBehaviour { [Serializable] public class Count { public int minimum; public int maximum; public Count (int min, int max) { minimum = min; maximum = max; } } public i...
mit
C#
6e0aa5118b7c403021a8df5f3c3b0d5f0237b6a8
Add player start pos handling
Ludoratoire/LD39-133mhz
Assets/scripts/GameManager.cs
Assets/scripts/GameManager.cs
using AlpacaSound; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { private static GameManager _sInstance; public static GameManager Instance { get { return _sInstance; } private set { _sI...
using AlpacaSound; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { private static GameManager _sInstance; public static GameManager Instance { get { return _sInstance; } private set { _sI...
apache-2.0
C#
6772c9d2b6d05c985174f514aa8df2aacd33a201
Comment the asset deletion handler. It can be abused and is not currently needed.
TomDataworks/opensim,RavenB/opensim,TomDataworks/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,TomDataworks/opensim,TomDataworks/opensim,RavenB/opensim,RavenB/opensim,RavenB/opensim,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,RavenB/opensi...
OpenSim/Server/Handlers/Asset/AssetServerDeleteHandler.cs
OpenSim/Server/Handlers/Asset/AssetServerDeleteHandler.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
5a39439206af6a704200de2ff3f8d67bc449eb04
Add async methods
mwarger/ZendeskApi_v2,CKCobra/ZendeskApi_v2,mattnis/ZendeskApi_v2
ZendeskApi_v2/Requests/Targets.cs
ZendeskApi_v2/Requests/Targets.cs
using System.Collections.Generic; #if ASYNC using System.Threading.Tasks; #endif using ZendeskApi_v2.Models.Targets; namespace ZendeskApi_v2.Requests { public interface ITargets : ICore { #if SYNC GroupTargetResponse GetAllTargets(); IndividualTargetResponse GetTarget(long id); Individ...
using System.Collections.Generic; #if ASYNC using System.Threading.Tasks; #endif using ZendeskApi_v2.Models.Targets; namespace ZendeskApi_v2.Requests { public interface ITargets : ICore { #if SYNC GroupTargetResponse GetAllTargets(); IndividualTargetResponse GetTarget(long id); Individ...
apache-2.0
C#
fca92793228b4d9628510fbb5596ad4d7352f640
update languages icon to globe instead of flag
tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,madsoulswe/Umbraco-CMS,abjerner/Umbraco-CMS,leekelleher/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,robertjf/Umbraco-CMS,lars-erik/Umbraco-CMS,KevinJump/U...
src/Umbraco.Web/Trees/LanguageTreeController.cs
src/Umbraco.Web/Trees/LanguageTreeController.cs
using System.Net.Http.Formatting; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi.Filters; using Constants = Umbraco.Core.Constants; namespace Umbraco.Web.Trees { [UmbracoTreeAuthorize(Constants.Trees.Languages)] [Tree(Constants.Applications.Settings, Constants.Trees.Languages, ...
using System.Net.Http.Formatting; using Umbraco.Web.Models.Trees; using Umbraco.Web.Mvc; using Umbraco.Web.WebApi.Filters; using Constants = Umbraco.Core.Constants; namespace Umbraco.Web.Trees { [UmbracoTreeAuthorize(Constants.Trees.Languages)] [Tree(Constants.Applications.Settings, Constants.Trees.Languages, ...
mit
C#
2f1fa62b5f2e6e80f7bcb1c29b4ddde49b05f7be
Add command help attribute to AddConfigCommand
appharbor/appharbor-cli
src/AppHarbor/Commands/AddConfigCommand.cs
src/AppHarbor/Commands/AddConfigCommand.cs
namespace AppHarbor.Commands { [CommandHelp("Add configuration variable to application", options: "[KEY=VALUE]")] public class AddConfigCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; private readonly IAppHarborClient _appharborClient; public AddConfigCommand(IAppli...
namespace AppHarbor.Commands { public class AddConfigCommand : ICommand { private readonly IApplicationConfiguration _applicationConfiguration; private readonly IAppHarborClient _appharborClient; public AddConfigCommand(IApplicationConfiguration applicationConfiguration, IAppHarborClient appharborClient) { ...
mit
C#
27f259f3c574b777e4dea227c3506da4f2b69553
Fix AS path decoding
mstrother/BmpListener
src/BmpListener/Bgp/PathAttributeASPath.cs
src/BmpListener/Bgp/PathAttributeASPath.cs
using System; using System.Collections.Generic; using System.Linq; namespace BmpListener.Bgp { public class PathAttributeASPath : PathAttribute { public IList<ASPathSegment> ASPaths { get; } = new List<ASPathSegment>(); public override void Decode(ArraySegment<byte> data) { ...
using System; using System.Collections.Generic; using System.Linq; namespace BmpListener.Bgp { public class PathAttributeASPath : PathAttribute { public IList<ASPathSegment> ASPaths { get; } = new List<ASPathSegment>(); public override void Decode(ArraySegment<byte> data) { ...
mit
C#
bc14e845a7ac477b6303f4455ad5aee04410c139
Add simple test for Gst.Base.ByteReader to the buffer tests
freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,Forage/gstreamer-sharp,Forage/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-sharp,Forage/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstreamer-sharp/gstreamer-shar...
tests/BufferTest.cs
tests/BufferTest.cs
// // Authors // Khaled Mohammed (khaled.mohammed@gmail.com) // // (C) 2006 // using System; using NUnit.Framework; using Gst; [TestFixture] public class BufferTest { [TestFixtureSetUp] public void Init() { Application.Init(); } [Test] public void TestCaps() { Gst.Buffer buffer = new Gst.Buffer...
// // Authors // Khaled Mohammed (khaled.mohammed@gmail.com) // // (C) 2006 // using System; using NUnit.Framework; using Gst; [TestFixture] public class BufferTest { [TestFixtureSetUp] public void Init() { Application.Init(); } [Test] public void TestCaps() { Gst.Buffer buffer = new Gst.Buffer...
lgpl-2.1
C#
c18dcd0ab616e7bef853a76dc949eb10f78212e3
Adjust Index action
moodlenetcore/simple-elearning-rx-app,moodlenetcore/simple-elearning-rx-app,moodlenetcore/simple-elearning-rx-app
backend/SimpleELearning.Api/Controllers/HomeController.cs
backend/SimpleELearning.Api/Controllers/HomeController.cs
using Microsoft.AspNetCore.Mvc; namespace SimpleELearning.Api.Controllers { public class HomeController : BaseController { // GET swagger [HttpGet] public IActionResult Index() { return Redirect("./swagger"); } } }
using Microsoft.AspNetCore.Mvc; namespace SimpleELearning.Api.Controllers { public class HomeController : BaseController { // GET api/courses [HttpGet] public IActionResult Index() { return Redirect("./swagger"); } } }
mit
C#
e0cf0e92ae4134e83f51c05f7cb18ed19fc0780a
Fix issue where test writer was writing when nothing was listening.
FoundatioFx/Foundatio,Bartmax/Foundatio,vebin/Foundatio,wgraham17/Foundatio,exceptionless/Foundatio
src/Core/Tests/Utility/TestOutputWriter.cs
src/Core/Tests/Utility/TestOutputWriter.cs
using System; using System.Diagnostics; using System.IO; using System.Text; using Xunit.Abstractions; namespace Foundatio.Tests.Utility { public class TestOutputWriter : TextWriter { private readonly ITestOutputHelper _output; public TestOutputWriter(ITestOutputHelper output) { _outpu...
using System; using System.IO; using System.Text; using Xunit.Abstractions; namespace Foundatio.Tests.Utility { public class TestOutputWriter : TextWriter { private readonly ITestOutputHelper _output; public TestOutputWriter(ITestOutputHelper output) { _output = output; } ...
apache-2.0
C#
d5955b1e94fd89faf2c2a033e6eecc60a6b4888e
Use CloudConfigurationManager to access appSettings for Azure roles
LionLai/Elmah.AzureTableStorage,FreedomMercenary/Elmah.AzureTableStorage,MisinformedDNA/Elmah.AzureTableStorage
src/Elmah.AzureTableStorage/ElmahHelper.cs
src/Elmah.AzureTableStorage/ElmahHelper.cs
using Microsoft.WindowsAzure; using System; using System.Collections; using System.Configuration; namespace Elmah.AzureTableStorage { /// <summary> /// Includes methods that are internal to Elmah, but are useful. TODO: Investigate making these public in Elmah. /// </summary> public static class ElmahH...
using System; using System.Collections; using System.Configuration; namespace Elmah.AzureTableStorage { /// <summary> /// Includes methods that are internal to Elmah, but are useful. TODO: Investigate making these public in Elmah. /// </summary> public static class ElmahHelper { public sta...
apache-2.0
C#