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 |
|---|---|---|---|---|---|---|---|---|
15535b323a6ab2ddf39622eec0dde9b51da97707 | Use StaticCompositeResolver instead of CompositeResolver. | neuecc/MagicOnion | samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs | samples/ChatApp/ChatApp.Unity/Assets/Scripts/InitialSettings.cs | using MessagePack;
using MessagePack.Resolvers;
using UnityEngine;
namespace Assets.Scripts
{
class InitialSettings
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void RegisterResolvers()
{
// NOTE: Currently, CompositeResolver doesn't wo... | using MessagePack;
using MessagePack.Resolvers;
using UnityEngine;
namespace Assets.Scripts
{
class InitialSettings
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
static void RegisterResolvers()
{
MessagePackSerializer.DefaultOptions = MessageP... | mit | C# |
fc46f6188c4a4262231622e0560eeddf85a69b15 | Update EmailConnectionInfo.cs | chrisbrain/serilog-sinks-email,serilog/serilog-sinks-email,chrisbrain/serilog-sinks-email | src/Serilog.Sinks.Email/Sinks/Email/EmailConnectionInfo.cs | src/Serilog.Sinks.Email/Sinks/Email/EmailConnectionInfo.cs | // Copyright 2014 Serilog Contributors
//
// 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 a... | // Copyright 2014 Serilog Contributors
//
// 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 ... | apache-2.0 | C# |
1359235df373f22d92ea1d500180257266a9fd20 | remove build warning | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Commons.Collections/Collection/IndexedCollection.cs | src/Commons.Collections/Collection/IndexedCollection.cs | // Copyright CommonsForNET. Author: Gujun Yang. email: gujun.yang@gmail.com
// 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 ... | // Copyright CommonsForNET. Author: Gujun Yang. email: gujun.yang@gmail.com
// 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 ... | apache-2.0 | C# |
444b7ebfb9292eefc524456614f47d15033bfa70 | bump version number | mruhul/Bolt.Common.Extensions | src/Bolt.Common.Extensions/Properties/AssemblyInfo.cs | src/Bolt.Common.Extensions/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("Bo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Bo... | mit | C# |
cd5cd0cf64ce24f3e4b9328e4c9f5604641fd2fc | Replace Create factory methods with constructors - CCCallFuncO | hig-ag/CocosSharp,haithemaraissia/CocosSharp,mono/CocosSharp,TukekeSoft/CocosSharp,hig-ag/CocosSharp,netonjm/CocosSharp,haithemaraissia/CocosSharp,mono/cocos2d-xna,netonjm/CocosSharp,mono/CocosSharp,mono/cocos2d-xna,zmaruo/CocosSharp,MSylvia/CocosSharp,zmaruo/CocosSharp,MSylvia/CocosSharp,TukekeSoft/CocosSharp | cocos2d/actions/action_instants/callfunc/CCCallFuncO.cs | cocos2d/actions/action_instants/callfunc/CCCallFuncO.cs |
namespace cocos2d
{
public class CCCallFuncO : CCCallFunc
{
private SEL_CallFuncO m_pCallFuncO;
private object m_pObject;
public CCCallFuncO()
{
m_pObject = null;
m_pCallFuncO = null;
}
public CCCallFuncO (SEL_CallFuncO selector, object pObje... |
namespace cocos2d
{
public class CCCallFuncO : CCCallFunc
{
private SEL_CallFuncO m_pCallFuncO;
private object m_pObject;
public CCCallFuncO()
{
m_pObject = null;
m_pCallFuncO = null;
}
public static CCCallFuncO Create(SEL_CallFuncO sel... | mit | C# |
f8ac492699443cb0f3f4e6654d453000d9734fa5 | Test YoloMigrationRunner | rapidcore/rapidcore,rapidcore/rapidcore | src/postgresql/test-functional/YoloMigrationRunnerTests.cs | src/postgresql/test-functional/YoloMigrationRunnerTests.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using Dapper;
using functionaltests.Migrations;
using functionaltests.Migrations.TestMigrations;
using FakeItEasy;
using Microsoft.Extensions.DependencyInjection;
using RapidCore.Locking;
using Xunit;
using RapidCore.PostgreSql... | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
using RapidCore.PostgreSql;
namespace functionaltests
{
public class YoloMigrationRunnerTests
{
[Fact]
public async void RunMigrations_Works()
{
//var runner = new YoloMigrationRunner();
... | mit | C# |
d779d17238b986157d269147261d694ca4389279 | Set default for Beta channel to be false | adilmughal/OpenLiveWriter,randrey/OpenLiveWriter,Gordon-Beeming/OpenLiveWriter,Gordon-Beeming/OpenLiveWriter,hashhar/OpenLiveWriter,lisardggY/OpenLiveWriter,adilmughal/OpenLiveWriter,willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,willduff/OpenLiveWriter-1,randrey/OpenLiveWriter,Gordon-Beeming/OpenLiveWriter,lisard... | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateSettings.cs | src/managed/OpenLiveWriter.PostEditor/Updates/UpdateSettings.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.Text;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.PostEdi... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using System.Collections.Generic;
using System.Text;
using OpenLiveWriter.CoreServices;
using OpenLiveWriter.CoreServices.Settings;
namespace OpenLiveWriter.PostEdi... | mit | C# |
3caafd6529827bf4256e61b61b56c973ae584e50 | Change configurations to decimal value | takenet/blip-sdk-csharp | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | src/Take.Blip.Builder/Hosting/ConventionsConfiguration.cs | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | using System;
namespace Take.Blip.Builder.Hosting
{
public class ConventionsConfiguration : IConfiguration
{
public virtual TimeSpan InputProcessingTimeout => TimeSpan.FromMinutes(1);
public virtual string RedisStorageConfiguration => "localhost";
public virtual int RedisDatabase => ... | apache-2.0 | C# |
d2d6b7cbf2a22921c61ca520c25bf5e04598e592 | Fix small problem | aleksandra992/Team-work-Naga | Naga/FlappyBird/Obstacle.cs | Naga/FlappyBird/Obstacle.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlappyBird
{
class Obstacle
{
public int height;
public string[] upperPart = { " __________ ", "| |", "| |", " __________ " };
public int X, Y... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FlappyBird
{
class Obstacle//Andrey
{
public int height;
public string[] upperPart = { " __________ ", "| |", "| |", " __________ " };
public ... | mit | C# |
061c805ec1526513d8cf80342dce2ae253bc7a7e | Fix core live tests (#6175) | jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,stankovski/azure-sdk-for-net,hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,AsrOneSdk/azure-sdk-f... | sdk/core/Azure.Core/tests/samples/Sample1_HelloWorld.cs | sdk/core/Azure.Core/tests/samples/Sample1_HelloWorld.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using Azure.Core.Pipeline;
using NUnit.Framework;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Azure.Core.Samples
{
[Category("... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using Azure.Core.Pipeline;
using NUnit.Framework;
using System;
using System.IO;
using System.Threading.Tasks;
namespace Azure.Core.Samples
{
[Category("... | mit | C# |
5a2ae03f264e6ac26e670ca69195f27827a0fb33 | fix beatswitch observer | Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer | 140-speedrun-timer/GameObservers/BeatLayerSwitchObserver.cs | 140-speedrun-timer/GameObservers/BeatLayerSwitchObserver.cs | using System.Linq;
using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class BeatLayerSwitchObserver : MonoBehaviour
{
MenuSystem _menuSystem;
BossGate _bossGate;
ColorSphere[] _beatSwitchColorSpheres;
void Awake()
{
var levelsFolder = GameObject.Find("Levels");
if (levelsF... | using UnityEngine;
namespace SpeedrunTimerMod.GameObservers
{
[GameObserver]
class BeatLayerSwitchObserver : MonoBehaviour
{
GameObject _levelsFolder;
MenuSystem _menuSystem;
void Awake()
{
_levelsFolder = GameObject.Find("Levels");
if (_levelsFolder == null)
{
Debug.Log($"{nameof(BeatLayerSwi... | unlicense | C# |
ac998fe28bf41c3e9fa4d54a093f00638db2639e | Make server port configurable | ritnorthstar/Minimap-Control | Server/Hosting/WebAPIServer.cs | Server/Hosting/WebAPIServer.cs | using Microsoft.Owin.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Server.Hosting
{
public class WebAPIServer
{
private IDisposable instance;
public int Port
{
get
{
return Port;
... | using Microsoft.Owin.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Server.Hosting
{
public class WebAPIServer
{
private IDisposable instance;
public void Start(int port = 9000)
{
if (instance == null)
{
... | mit | C# |
8092d517c797a1102acda5ed58b0df5aba301d5c | Make monster mirror player's Y position | ianlav/EECS393IsaacGameThing,ianlav/EECS393IsaacGameThing,ianlav/EECS393IsaacGameThing | EECS393IsaacGameThing/Assets/Scripts/Characters/Enemy/Monster.cs | EECS393IsaacGameThing/Assets/Scripts/Characters/Enemy/Monster.cs | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Rigidbody2D))]
public class Monster : MonoBehaviour {
public int updatesToUpgrade;
private int updateClock;
public float maxVelocity; //Highest possible speed of monster. Increases as game progresses.
public float acceleration; //Ability for m... | using UnityEngine;
using System.Collections;
[RequireComponent(typeof(Rigidbody2D))]
public class Monster : MonoBehaviour {
public int updatesToUpgrade;
private int updateClock;
public float maxVelocity; //Highest possible speed of monster. Increases as game progresses.
public float acceleration; //Ability for m... | apache-2.0 | C# |
0e594dd5a156b748fbd9ae8b0bcad354daa533ea | Make sure compiler knows of access to threaded value. | rdodesigns/Esoma-Data-Processor | src/device/Device.cs | src/device/Device.cs | using System;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
namespace Device
{
public abstract class Device
{
protected string name;
protected SortedList data = new SortedList();
private DataRecord.DataRecordGenerator drg;
private bool stopped = false;
priv... | using System;
using System.Threading;
using System.Collections;
using System.Collections.Generic;
namespace Device
{
public abstract class Device
{
protected string name;
protected SortedList data = new SortedList();
private DataRecord.DataRecordGenerator drg;
private bool stopped = false;
priv... | bsd-3-clause | C# |
8e3036dd93780722e34da4cca333e13f08229662 | move inout inside label | MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014 | HackManchester2014/HackManchester2014/Home/Views/Register4.cshtml | HackManchester2014/HackManchester2014/Home/Views/Register4.cshtml | @{
Layout = "Shared/_Layout.cshtml";
}
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
<article>
<section class="container-block">
<div class="layout-constrained form-step">
<h2><span class="progress-step">3</span>Upload your proof</h2>
<div class="form-step__intr... | @{
Layout = "Shared/_Layout.cshtml";
}
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic>
<article>
<section class="container-block">
<div class="layout-constrained form-step">
<h2><span class="progress-step">3</span>Upload your proof</h2>
<div class="form-step__intr... | mit | C# |
29fb2c0dc5d68a585450e03ae4d3cd890e0d1f77 | Update Constants.cs | peejster/DormRoomMonitor | DormRoomMonitor/Constants.cs | DormRoomMonitor/Constants.cs | namespace DormRoomMonitor
{
/// <summary>
/// General constant variables
/// </summary>
public static class GeneralConstants
{
// With no GPU support, the Raspberry Pi cannot display the live camera feed so this variable should be set to true.
// However, if you are deploying to oth... | namespace DormRoomMonitor
{
/// <summary>
/// General constant variables
/// </summary>
public static class GeneralConstants
{
// With no GPU support, the Raspberry Pi cannot display the live camera feed so this variable should be set to true.
// However, if you are deploying to oth... | mit | C# |
18a03731ba5f935f5e4b8c5948030c186d7791e6 | Combine return with assignment. | jherby2k/AudioWorks | AudioWorks/AudioWorks.Commands/SaveAudioMetadataCommand.cs | AudioWorks/AudioWorks.Commands/SaveAudioMetadataCommand.cs | using AudioWorks.Api;
using AudioWorks.Common;
using JetBrains.Annotations;
using System.IO;
using System.Management.Automation;
namespace AudioWorks.Commands
{
/// <summary>
/// <para type="synopsis">Saves an audio file's metadata to disk.</para>
/// <para type="description">The Save-AudioMetadata cmdlet... | using AudioWorks.Api;
using AudioWorks.Common;
using JetBrains.Annotations;
using System.IO;
using System.Management.Automation;
namespace AudioWorks.Commands
{
/// <summary>
/// <para type="synopsis">Saves an audio file's metadata to disk.</para>
/// <para type="description">The Save-AudioMetadata cmdlet... | agpl-3.0 | C# |
0fa043123efffaa878e87cc24f17b10e0967efc0 | Fix doc comment cref being incorrect | terrafx/terrafx | sources/Audio/AudioDeviceType.cs | sources/Audio/AudioDeviceType.cs | // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
namespace TerraFX.Audio
{
/// <summary>Represents a type of <see cref="IAudioAdapter"/></summary>
public enum AudioDeviceType
{
/// <summary>Indicates th... | // Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
namespace TerraFX.Audio
{
/// <summary>Represents a type of <see cref="IAudioDeviceOptions"/></summary>
public enum AudioDeviceType
{
/// <summary>Indica... | mit | C# |
1fcf4c4bbc4bdda26c3c5f9d3ec39957938c7557 | Fix build breaks mirrored from Github | CloudLens/corefx,Petermarcu/corefx,oceanho/corefx,alexandrnikitin/corefx,Frank125/corefx,rjxby/corefx,wtgodbe/corefx,ViktorHofer/corefx,krk/corefx,the-dwyer/corefx,Petermarcu/corefx,mafiya69/corefx,nbarbettini/corefx,gkhanna79/corefx,rahku/corefx,adamralph/corefx,n1ghtmare/corefx,rahku/corefx,uhaciogullari/corefx,vs-te... | src/Common/src/Interop/Windows/mincore/WinRT/Interop.DeleteVolumeMountPoint.cs | src/Common/src/Interop/Windows/mincore/WinRT/Interop.DeleteVolumeMountPoint.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
internal partial class Interop
{
internal partial class mincore
{
internal static bool DeleteVolumeMountPoint(string mountPoint)
... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
internal partial class Interop
{
internal partial class mincore
{
internal static int DeleteVolumeMountPoint(string mountPoint)
... | mit | C# |
928682e8d4020b4ee58e14de6a910551dfd7c4a8 | Remove unused member | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/WebClients/PayJoin/PayjoinReceiverException.cs | WalletWasabi/WebClients/PayJoin/PayjoinReceiverException.cs | namespace WalletWasabi.WebClients.PayJoin
{
public class PayjoinReceiverException : PayjoinException
{
public PayjoinReceiverException(int httpCode, string errorCode, string message)
: base(message)
{
HttpCode = httpCode;
ErrorCode = errorCode;
ErrorMessage = message;
}
public int HttpCode { get;... | namespace WalletWasabi.WebClients.PayJoin
{
public class PayjoinReceiverException : PayjoinException
{
public PayjoinReceiverException(int httpCode, string errorCode, string message)
: base(message)
{
HttpCode = httpCode;
ErrorCode = errorCode;
ErrorMessage = message;
}
public int HttpCode { get;... | mit | C# |
fa56806ab1f4061e59e56614ca3c847733afd032 | Use using statement in WP samples | moljac/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,nexussays/Xamarin.Mobile,orand/Xamarin.Mobile,xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile | WindowsPhone/Samples/MediaPickerSample/MainPageViewModel.cs | WindowsPhone/Samples/MediaPickerSample/MainPageViewModel.cs | using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using Xamarin.Media;
namespace MediaPickerSample
{
public class MainPageViewModel
: INotifyPropertyChanged
{
public MainPageViewModel()
{
TakePhoto = new DelegatedCommand... | using System;
using System.ComponentModel;
using System.Threading.Tasks;
using System.Windows.Input;
using System.Windows.Media.Imaging;
using Xamarin.Media;
namespace MediaPickerSample
{
public class MainPageViewModel
: INotifyPropertyChanged
{
public MainPageViewModel()
{
TakePhoto = new DelegatedCommand... | apache-2.0 | C# |
1c72afe8c49bfbe8df6f7670bb21c8f45cbcd271 | Move fading test to top for convenience | EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneFailingLayer.cs | osu.Game.Tests/Visual/Gameplay/TestSceneFailingLayer.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Configuration;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Testing;
using osu.Game.Configuration;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens... | mit | C# |
e648aff6c78b176fc820e0c0895c9216e1a8d585 | Set IPAddress.None when hostname is set in machine inspect | mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker,mariotoffia/FluentDocker | Ductus.FluentDocker/Executors/Parsers/MachineInspectResponseParser.cs | Ductus.FluentDocker/Executors/Parsers/MachineInspectResponseParser.cs | using System.Net;
using Ductus.FluentDocker.Model.Containers;
using Ductus.FluentDocker.Model.Machines;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Ductus.FluentDocker.Executors.Parsers
{
public sealed class MachineInspectResponseParser : IProcessResponseParser<MachineConfiguration>
{
public ... | using System.Net;
using Ductus.FluentDocker.Model.Containers;
using Ductus.FluentDocker.Model.Machines;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Ductus.FluentDocker.Executors.Parsers
{
public sealed class MachineInspectResponseParser : IProcessResponseParser<MachineConfiguration>
{
public ... | apache-2.0 | C# |
e88e9ff77c088b4a8a0ebfff9294fb320b713a2b | Remove the function specific filter. | zacbrown/hiddentreasure-etw-demo | hiddentreasure-etw-demo/PowerShellMethodExecution.cs | hiddentreasure-etw-demo/PowerShellMethodExecution.cs | // Copyright (c) Zac Brown. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellMethodExecution
{
public static void Run()
... | // Copyright (c) Zac Brown. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using O365.Security.ETW;
namespace hiddentreasure_etw_demo
{
public static class PowerShellMethodExecution
{
public static void Run()
... | mit | C# |
e014b30915690e751cc91875db926fb4fb657db6 | Remove on code warning | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Plugins/Shopify/Models/ShopifySettings.cs | BTCPayServer/Plugins/Shopify/Models/ShopifySettings.cs | using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace BTCPayServer.Plugins.Shopify.Models
{
public class ShopifySettings
{
[Display(Name = "Shop Name")]
public string ShopName { get; set; }
public string ApiKey { get; set; }
public string Pa... | using System;
using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;
namespace BTCPayServer.Plugins.Shopify.Models
{
public class ShopifySettings
{
[Display(Name = "Shop Name")]
public string ShopName { get; set; }
public string ApiKey { get; set; }
public string Pa... | mit | C# |
9451c86bb65687b7098ed071acd7a3c3831d8724 | Fix unreachable code. | PixelWaffles/miniblocks-unity3d,ginsederp/miniblocks-unity3d | MiniblockRectangleTool.cs | MiniblockRectangleTool.cs | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace ginsederp.miniblocks
{
public class MiniblockRectangleTool : MonoBehaviour
{
protected enum eToolType {
add,
remove,
}
[SerializeField] protected eToolType[] toolType;
[SerializeFiel... | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace ginsederp.miniblocks
{
public class MiniblockRectangleTool : MonoBehaviour
{
protected enum eToolType {
add,
remove,
}
[SerializeField] protected eToolType[] toolType;
[SerializeFiel... | mit | C# |
d9aef6f813d9666e18dbe313498317fea200dbb4 | Change label of attribute | peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu | osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.cs | osu.Game.Rulesets.Osu/Mods/OsuModApproachCircle.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 osu.Framework.Bindables;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using ... | mit | C# |
47d55a0e71c0abed612d9134054d47f1217f70ac | Add xmldoc to MidiKeyInput | peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/StateChanges/MidiKeyInput.cs | osu.Framework/Input/StateChanges/MidiKeyInput.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.States;
namespace osu.Framework.Input.StateChanges
{
/// <summary>
/// Represents an input from a MID... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Input.States;
namespace osu.Framework.Input.StateChanges
{
public class MidiKeyInput : ButtonInput<MidiKey>
... | mit | C# |
5e98726b6fb3bb330e0edcbe9be782cf596111d6 | remove hardcode points spawnManager | hay-espacio-en-el-taco/Alerta-Minerva,lordzero0000/Alerta-Minerva | Assets/Scripts/monstruo/spawnManager.cs | Assets/Scripts/monstruo/spawnManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spawnManager : MonoBehaviour {
public float spawnTime = 3f; // How long between each spawn.
public int limitMonsters = 7; // Maximum of the monsters iin scene
public Transform[] spawnPoints; // An arr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class spawnManager : MonoBehaviour {
public float spawnTime = 3f; // How long between each spawn.
public int limitMonsters = 7; // Maximum of the monsters iin scene
public Transform[] spawnPoints; // An arr... | mit | C# |
f6e191252025a633208180fa11581a94cca2e411 | Fix format for ets timeline | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/Soldier.cs | Battery-Commander.Web/Models/Soldier.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Soldier
{
private const double DaysPerYear = 365.2425;
[Key, DatabaseGenerated(DatabaseGenerate... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BatteryCommander.Web.Models
{
public class Soldier
{
private const double DaysPerYear = 365.2425;
[Key, DatabaseGenerated(DatabaseGenerate... | mit | C# |
56c01c6ef83fa283ed53e34489605d5e370a258a | Bump version to 0.6.20 to match milestone | juoni/kudu,dev-enthusiast/kudu,juvchan/kudu,uQr/kudu,juoni/kudu,barnyp/kudu,bbauya/kudu,shanselman/kudu,sitereactor/kudu,badescuga/kudu,YOTOV-LIMITED/kudu,shibayan/kudu,oliver-feng/kudu,kenegozi/kudu,mauricionr/kudu,oliver-feng/kudu,EricSten-MSFT/kudu,uQr/kudu,bbauya/kudu,chrisrpatterson/kudu,kali786516/kudu,projectkud... | Common/CommonAssemblyInfo.cs | Common/CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyVersion("0.6.20.0")]
[assembly: AssemblyFileVersion("0.6.20.0")]
| using System.Reflection;
[assembly: AssemblyCompany("Outercurve Foundation")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyVersion("0.6.0.0")]
[assembly: AssemblyFileVersion("0.6.0.0")]
| apache-2.0 | C# |
38689df583bd233175e3a7843fafb52257b75409 | Fix axis value potentially getting stuck non-zero | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework | osu.Framework/Input/StateChanges/JoystickAxisInput.cs | osu.Framework/Input/StateChanges/JoystickAxisInput.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;
using osu.Framework.Input.StateChanges.Events;
us... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Input.StateChanges.Events;
us... | mit | C# |
d8ec9d71363bf5fc8c54bfd660cf7c069b918572 | Update RetryOptions.cs | tjscience/RoboSharp,tjscience/RoboSharp | RoboSharp/RetryOptions.cs | RoboSharp/RetryOptions.cs | using System.Text;
namespace RoboSharp
{
public class RetryOptions
{
internal const string RETRY_COUNT = "/R:{0} ";
internal const string RETRY_WAIT_TIME = "/W:{0} ";
internal const string SAVE_TO_REGISTRY = "/REG ";
internal const string WAIT_FOR_SHARENAMES = "/TBD ";
... | using System.Text;
namespace RoboSharp
{
public class RetryOptions
{
internal const string RETRY_COUNT = "/R:{0} ";
internal const string RETRY_WAIT_TIME = "/W:{0} ";
internal const string SAVE_TO_REGISTRY = "/REG ";
internal const string WAIT_FOR_SHARENAMES = "/TBD ";
... | mit | C# |
68b70c581b6a42d8a21a21dbd30cd279e0c22568 | increase version | tynor88/Topshelf.SimpleInjector | Source/AssemblyVersion.cs | Source/AssemblyVersion.cs | using System.Reflection;
[assembly: AssemblyVersion("0.1.3.1")]
[assembly: AssemblyFileVersion("0.1.3.1")] | using System.Reflection;
[assembly: AssemblyVersion("0.1.3.0")]
[assembly: AssemblyFileVersion("0.1.3.0")] | mit | C# |
f007b6c65df3e79c2a55f7d26a7196d862898453 | Use SetEquals instead. | mono/msbuild,mono/msbuild,mono/msbuild,mono/msbuild | src/Tasks/RoslynCodeTaskFactory/RoslynCodeTaskFactoryTaskInfo.cs | src/Tasks/RoslynCodeTaskFactory/RoslynCodeTaskFactoryTaskInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Build.Tasks
{
internal sealed class RoslynCodeTaskFactoryTaskInfo : IEquata... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace Microsoft.Build.Tasks
{
internal sealed class RoslynCodeTaskFactoryTaskInfo : IEquata... | mit | C# |
305dd58365cf44e4c74ebb998be95f5ba51b3cc8 | fix version cache key in msbuild task | asbjornu/GitVersion,GitTools/GitVersion,Philo/GitVersion,ParticularLabs/GitVersion,dpurge/GitVersion,FireHost/GitVersion,MarkZuber/GitVersion,RaphHaddad/GitVersion,dazinator/GitVersion,ermshiperete/GitVersion,dazinator/GitVersion,DanielRose/GitVersion,onovotny/GitVersion,asbjornu/GitVersion,JakeGinnivan/GitVersion,dist... | src/GitVersionTask/VersionAndBranchFinder.cs | src/GitVersionTask/VersionAndBranchFinder.cs | using System;
using System.Collections.Generic;
using GitVersion;
using GitVersion.Helpers;
public static class VersionAndBranchFinder
{
static Dictionary<string, CachedVersion> versionCacheVersions = new Dictionary<string, CachedVersion>();
public static bool TryGetVersion(string directory, out VersionVaria... | using System;
using System.Collections.Generic;
using GitVersion;
using GitVersion.Helpers;
public static class VersionAndBranchFinder
{
static Dictionary<string, CachedVersion> versionCacheVersions = new Dictionary<string, CachedVersion>();
public static bool TryGetVersion(string directory, out VersionVaria... | mit | C# |
3acded0db62ed35a7c0b5d81308b8d1cd9e18594 | move pretext to all lowercase | Inumedia/SlackAPI,vampireneo/SlackAPI,smanabat/SlackAPI,Jaykul/SlackAPI | Attachment.cs | Attachment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class Attachment
{
public string pretext;
public string text;
public string fallback;
public string color;
public Field[] fiel... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class Attachment
{
public string Pretext;
public string text;
public string fallback;
public string color;
public Field[] fiel... | mit | C# |
a300eb4ff6c1343ae591659143a25226b30234ec | Use recotd for FileMetadata | nikeee/HolzShots | src/HolzShots.Core/IO/Naming/FileMetadata.cs | src/HolzShots.Core/IO/Naming/FileMetadata.cs | using System;
using System.Drawing;
namespace HolzShots.IO.Naming
{
public record FileMetadata(DateTime Timestamp, MemSize FileSize, Size Dimensions)
{
public static FileMetadata DemoMetadata { get; } = new FileMetadata(new DateTime(2010, 6, 14, 21, 47, 33), new MemSize(2, MemSizeUnit.MibiByte), new Si... | using System;
using System.Drawing;
namespace HolzShots.IO.Naming
{
public struct FileMetadata : IEquatable<FileMetadata>
{
public static FileMetadata DemoMetadata { get; } = new FileMetadata(new DateTime(2010, 6, 14, 21, 47, 33), new MemSize(2, MemSizeUnit.MibiByte), new Size(800, 600));
publ... | agpl-3.0 | C# |
f7a451ed8221efa1ef2ad4f84b955edfca73ecec | Update test case. | 2yangk23/osu,naoey/osu,Frontear/osuKyzer,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,DrabWeb/osu,2yangk23/osu,ZLima12/osu,naoey/osu,johnneijzen/osu,Nabile-Rahmani/osu,NeoAdonis/osu,ZLi... | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.cs | osu.Desktop.VisualTests/Tests/TestCaseUserProfile.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 System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using osu.Framework.Graphics;
using osu.Fra... | mit | C# |
cfe7d2f184915ace483fd7c6ac30850d9e3fbd21 | Fix usings. | RedNesto/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,ZLima12/osu-framework,RedNesto/osu-framework,peppy/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,paparony03/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-fr... | osu.Framework/Graphics/Transforms/TransformColour.cs | osu.Framework/Graphics/Transforms/TransformColour.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.MathUtils;
using OpenTK.Graphics;
namespace osu.Framework.Graphics.Transforms
{
/// <summary>
/// Transforms colour value... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.MathUtils;
using OpenTK.Graphics;
using osu.Framework.Graphics.Colour;
namespace osu.Framework.Graphics.Transforms
{
/// <sum... | mit | C# |
e8218bc47a1f6d6efab03c040207d3bbcc190753 | Add empty type | DMagic1/Orbital-Science,Kerbas-ad-astra/Orbital-Science | Source/DMScienceContainer.cs | Source/DMScienceContainer.cs | #region license
/* DMagic Orbital Science - DMScienceContainer
* Object to store experiment properties
*
* Copyright (c) 2014, David Grandy <david.grandy@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the fol... | #region license
/* DMagic Orbital Science - DMScienceContainer
* Object to store experiment properties
*
* Copyright (c) 2014, David Grandy <david.grandy@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the fol... | bsd-3-clause | C# |
4ed65a6a16c431c58423ae7888933c133dd47528 | Switch to 2.6.1 | davidlee80/SharpDX-1,waltdestler/SharpDX,jwollen/SharpDX,TigerKO/SharpDX,fmarrabal/SharpDX,TigerKO/SharpDX,Ixonos-USA/SharpDX,dazerdude/SharpDX,davidlee80/SharpDX-1,waltdestler/SharpDX,TigerKO/SharpDX,VirusFree/SharpDX,waltdestler/SharpDX,dazerdude/SharpDX,weltkante/SharpDX,jwollen/SharpDX,manu-silicon/SharpDX,TigerKO/... | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, copy, modi... | // Copyright (c) 2010-2014 SharpDX - Alexandre Mutel
//
// 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, copy, modi... | mit | C# |
e5a42b54e1a1c815da10282e32f1cf58a5ac5141 | update version to v0.6.3 | 0x1mason/GribApi.NET | src/GribApi.NET/Grib.Api/Properties/AssemblyInfo.cs | src/GribApi.NET/Grib.Api/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("Gr... | 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("Gr... | apache-2.0 | C# |
3fbcf4eef92fd5fcc007dc4da4be7ed20b0a165d | Improve inline data for existing usecases | ardalis/GuardClauses | src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs | src/GuardClauses.UnitTests/GuardAgainsOutOfRange.cs | using Ardalis.GuardClauses;
using System;
using Xunit;
namespace GuardClauses.UnitTests
{
public class GuardAgainsOutOfRange
{
[Theory]
[InlineData(1, 1, 3)]
[InlineData(2, 1, 3)]
[InlineData(3, 1, 3)]
public void DoesNothingGivenInRangeValueUsingShortcutMethod(int inpu... | using Ardalis.GuardClauses;
using System;
using Xunit;
namespace GuardClauses.UnitTests
{
public class GuardAgainsOutOfRange
{
[Theory]
[InlineData(1, 1, 5)]
[InlineData(2, 1, 5)]
[InlineData(3, 1, 5)]
public void DoesNothingGivenInRangeValueUsingShortcutMethod(int inpu... | mit | C# |
860be98c65a0d3fa9cb5574c2e32a68a7aabc728 | fix spelling | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache/Controllers/ManageController.cs | NuCache/Controllers/ManageController.cs | using System.Net;
using System.Net.Http;
using System.Web.Http;
using NuCache.Infrastructure.Spark;
using NuCache.Models;
namespace NuCache.Controllers
{
public class ManageController : ApiController
{
private readonly SparkResponseFactory _responseFactory;
private readonly IPackageCache _packageCache;
publi... | using System.Net;
using System.Net.Http;
using System.Web.Http;
using NuCache.Infrastructure.Spark;
using NuCache.Models;
namespace NuCache.Controllers
{
public class ManageController : ApiController
{
private readonly SparkResponseFactory _responseFactory;
private readonly IPackageCache _packageCache;
publi... | lgpl-2.1 | C# |
7f2ee8fe457de32f96db7eada7c9aa3488a9414e | Fix employee achievements not displayed in EmployeeDirectory after AchievementTypes table was added | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.EmployeeDirectory/Queries/TeachersQuery.cs | R7.University.EmployeeDirectory/Queries/TeachersQuery.cs | //
// TeachersQuery.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program 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 Foundati... | //
// TeachersQuery.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program 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 Foundati... | agpl-3.0 | C# |
3d52ad7503b4f870d9fca703002c11f406e99611 | Allow ReleaseNotesDialog to handle raw HTML properly | gmartin7/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,glasseyes/libpalaso,gtryus/libpalaso,sillsdev/libpalaso,gmartin7/libpalaso,gtryus/libpalaso,ermshiperete/libpalaso,glasse... | SIL.Windows.Forms/ReleaseNotes/ShowReleaseNotesDialog.cs | SIL.Windows.Forms/ReleaseNotes/ShowReleaseNotesDialog.cs | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using MarkdownDeep;
using SIL.IO;
namespace SIL.Windows.Forms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
/// <remarks>
/// Despite the name, this dialog is generally u... | using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using MarkdownDeep;
using SIL.IO;
namespace SIL.Windows.Forms.ReleaseNotes
{
/// <summary>
/// Shows a dialog for release notes; accepts html and markdown
/// </summary>
public partial class ShowReleaseNotesDialog : Form
{
private... | mit | C# |
44e15d335e7c71fcdfaf4c8a52f0a12e694f2d47 | Add command-line args interpretation. | tf3604/SetMeUp | ThinkInSetsTestHarness/ThinkInSetsTestHarness/Program.cs | ThinkInSetsTestHarness/ThinkInSetsTestHarness/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using ThinkInSetsLib;
namespace ThinkInSetsTestHarness
{
class Program
{
static void Main(string[] args)
... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThinkInSetsLib;
namespace ThinkInSetsTestHarness
{
class Program
{
static void Main(string[] args)
{
try
{
... | mit | C# |
a0b62702a387b3184501821947d1f950b280ca14 | Add InvertUnsafe and ToSwTransform for Matrix4x4Extensions | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | SolidworksAddinFramework/Geometry/Matrix4x4Extensions.cs | using System;
using System.Diagnostics;
using System.DoubleNumerics;
using System.Text;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{... | using System.DoubleNumerics;
using System.Text;
namespace SolidworksAddinFramework.Geometry
{
public static class Matrix4x4Extensions
{
public static Matrix4x4 CreateFromAxisAngleOrigin(PointDirection3 p, double angle)
{
return
Matrix4x4.CreateTranslation(-p.Point)
... | mit | C# |
4bf8501d57bb9f8694f82c83823a543f52d9273f | Fix parameter name | manu-silicon/SharpDX,wyrover/SharpDX,mrvux/SharpDX,Ixonos-USA/SharpDX,wyrover/SharpDX,TigerKO/SharpDX,weltkante/SharpDX,dazerdude/SharpDX,andrewst/SharpDX,TigerKO/SharpDX,VirusFree/SharpDX,fmarrabal/SharpDX,RobyDX/SharpDX,TechPriest/SharpDX,andrewst/SharpDX,manu-silicon/SharpDX,TechPriest/SharpDX,dazerdude/SharpDX,Roby... | Source/SharpDX.Direct2D1/SimplifiedGeometrySinkNative.cs | Source/SharpDX.Direct2D1/SimplifiedGeometrySinkNative.cs | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, copy, modi... | // Copyright (c) 2010-2013 SharpDX - Alexandre Mutel
//
// 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, copy, modi... | mit | C# |
99b0b3355b003900f74e31d5ec532f4a8fb0a4c6 | Improve AutoFixture customisation | csf-dev/ZPT-Sharp,csf-dev/ZPT-Sharp | Test.CSF.Zpt/Util/Autofixture/DummyModelCustomisation.cs | Test.CSF.Zpt/Util/Autofixture/DummyModelCustomisation.cs | using System;
using Ploeh.AutoFixture;
using CSF.Zpt.Rendering;
using Moq;
namespace Test.CSF.Zpt.Util.Autofixture
{
public class DummyModelCustomisation : ICustomization
{
public void Customize(IFixture fixture)
{
fixture.Customize<DummyModel>(x => x.FromFactory(() => {
var output = new Moc... | using System;
using Ploeh.AutoFixture;
using CSF.Zpt.Rendering;
using Moq;
namespace Test.CSF.Zpt.Util.Autofixture
{
public class DummyModelCustomisation : ICustomization
{
public void Customize(IFixture fixture)
{
fixture.Customize<DummyModel>(x => x.FromFactory(() => {
return new Mock<Dumm... | mit | C# |
536deba6795f4bd12152563c9eed542feeb155fb | Refactor ErrorCode | rcskids/ScriptLinkStandard | ScriptLinkStandard/Objects/ErrorCode.cs | ScriptLinkStandard/Objects/ErrorCode.cs | namespace ScriptLinkStandard.Objects
{
public static class ErrorCode
{
/// <summary>
/// Returns provided message with an Ok button. Stops script processing.
/// </summary>
public const int Error = 1;
/// <summary>
/// Returns provided message with Ok and Cancel ... | using System;
using System.Collections.Generic;
using System.Text;
namespace ScriptLinkStandard.Objects
{
public static class ErrorCode
{
/// <summary>
/// Returns provided message with an Ok button. Stops script processing.
/// </summary>
public static int Error { get { return... | mit | C# |
f0b0c9ad62175abc71e8adb30175fda107879d8c | Fix path for Payments API | SnapMD/connectedcare-sdk,dhawalharsora/connectedcare-sdk,lorddev/connectedcare-sdk | SnapMD.ConnectedCare.Sdk/PaymentsApi.cs | SnapMD.ConnectedCare.Sdk/PaymentsApi.cs | using Newtonsoft.Json.Linq;
using SnapMD.ConnectedCare.Sdk.Models;
namespace SnapMD.ConnectedCare.Sdk
{
public class PaymentsApi : ApiCall
{
public PaymentsApi(string baseUrl, string bearerToken, int hospitalId, string developerId, string apiKey)
: base(baseUrl, bearerToken, developerId, a... | using Newtonsoft.Json.Linq;
using SnapMD.ConnectedCare.Sdk.Models;
namespace SnapMD.ConnectedCare.Sdk
{
public class PaymentsApi : ApiCall
{
public PaymentsApi(string baseUrl, string bearerToken, int hospitalId, string developerId, string apiKey)
: base(baseUrl, bearerToken, developerId, a... | apache-2.0 | C# |
532ff990e19dfcf6e3afa4891cc8ad512c76a1c4 | Switch Extensions to MS namespace for ease | HelloKitty/AspNet.Mvc.Formatters.Protobuf,HelloKitty/AspNet.Mvc.Formatters.Protobuf | src/AspNet.Mvc.Formatters.Protobuf/Extensions/ProtobufNetFormatterExtensions.cs | src/AspNet.Mvc.Formatters.Protobuf/Extensions/ProtobufNetFormatterExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Net.Http.Headers;
using AspNet.Mvc.Formatters.Protobuf;
//I know we shouldn't hijack Microsoft namespaces but it's so much easier for consumers
//to access t... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Net.Http.Headers;
using AspNet.Mvc.Formatters.Protobuf;
namespace AspNet.Mvc
{
/// <summary>
/// Extensions for Fluent MvcBuilder interfaces.
/// </summar... | mit | C# |
8b8be83a0cf310341d488dd821efc72576a3cbc2 | Fix warning on linux/mac by adding AutoGenerateBindingRedirects | ubisoftinc/Sharpmake,ubisoftinc/Sharpmake,ubisoftinc/Sharpmake | Sharpmake.Application/Sharpmake.Application.sharpmake.cs | Sharpmake.Application/Sharpmake.Application.sharpmake.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Sharpmake;
namespace SharpmakeGen
{
[Generate]
public class SharpmakeApplicationProject : Common.SharpmakeBaseProject
{
public SharpmakeApplicationProject()
: base(generateXmlDoc: false)
{
... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Sharpmake;
namespace SharpmakeGen
{
[Generate]
public class SharpmakeApplicationProject : Common.SharpmakeBaseProject
{
public SharpmakeApplicationProject()
: base(generateXmlDoc: false)
{
... | apache-2.0 | C# |
4afea39688925cd3953a35c5669f452d16a60ed8 | Fix formating | wojtpl2/ExtendedXmlSerializer,wojtpl2/ExtendedXmlSerializer | test/ExtendedXmlSerializer.Tests.Performance/LegacyExtendedXmlSerializerTest.cs | test/ExtendedXmlSerializer.Tests.Performance/LegacyExtendedXmlSerializerTest.cs | // MIT License
//
// Copyright (c) 2016-2018 Wojciech Nagórski
// Michael DeMond
//
// 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 witho... | // MIT License
//
// Copyright (c) 2016-2018 Wojciech Nagórski
// Michael DeMond
//
// 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 witho... | mit | C# |
6b6948081e5d02e2614b43e7b759c1b0a317174b | fix compiling error | sebas77/Svelto.ECS,sebas77/Svelto-ECS | Svelto.ECS.Components/Components/ExtensionMethodsUECS.cs | Svelto.ECS.Components/Components/ExtensionMethodsUECS.cs | #if UNITY_MATHEMATICS
using System.Runtime.CompilerServices;
using UnityEngine;
using Svelto.ECS.Components;
using Unity.Mathematics;
public static partial class ExtensionMethods
{
public static float3 ToFloat3(in this ECSVector3 vector)
{
return new float3(vector.x, vector.y, vector.z);
}
... | #if UNITY_MATHEMATICS
using Svelto.ECS.Components;
using Unity.Mathematics;
public static partial class ExtensionMethods
{
public static float3 ToFloat3(in this ECSVector3 vector)
{
return new float3(vector.x, vector.y, vector.z);
}
public static quaternion ToQuaternion(in this ECSVect... | mit | C# |
a14a4d2a207491e6daf53b5f13ea1d44146502f8 | Check for existence of gedit before trying to launch it | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Helpers/FileHelpers.cs | WalletWasabi.Gui/Helpers/FileHelpers.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Helpers
{
public static class FileHelpers
{
public static async Task OpenFileInTextEditorAsync(string fileP... | using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Gui.Helpers
{
public static class FileHelpers
{
public static async Task OpenFileInTextEditorAsync(string fileP... | mit | C# |
8a93af528bd88a7e320378d6530ac764b19f1a33 | fix #4090 | Faizan2304/cli,mlorbetske/cli,naamunds/cli,blackdwarf/cli,nguerrera/cli,svick/cli,livarcocc/cli-1,mlorbetske/cli,EdwardBlair/cli,nguerrera/cli,jonsequitur/cli,johnbeisner/cli,weshaggard/cli,weshaggard/cli,AbhitejJohn/cli,ravimeda/cli,mlorbetske/cli,harshjain2/cli,blackdwarf/cli,weshaggard/cli,jonsequitur/cli,jonsequitu... | src/dotnet/commands/dotnet-resgen/ResourcesFileGenerator.cs | src/dotnet/commands/dotnet-resgen/ResourcesFileGenerator.cs | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using System.Resources;
using System.Xml.Linq;
namespace Microsoft.DotNet.Tools.Resgen
{
i... | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
using System.Linq;
using System.Resources;
using System.Xml.Linq;
namespace Microsoft.DotNet.Tools.Resgen
{
i... | mit | C# |
eb1680f2620b4cd72ae206b3922aae0b817b4c55 | Add implementation for factory method in Autofac module. | lozanotek/mvcturbine,lozanotek/mvcturbine | src/Engine/MvcTurbine.Autofac/TurbineAutofacModule.cs | src/Engine/MvcTurbine.Autofac/TurbineAutofacModule.cs | namespace MvcTurbine.Autofac {
using System;
using System.Collections.Generic;
using ComponentModel;
using global::Autofac;
public class TurbineAutofacModule : Module, IServiceRegistrar {
private readonly IList<Action<ContainerBuilder>> batchedRegistrations;
public TurbineAutofacMo... | namespace MvcTurbine.Autofac {
using System;
using System.Collections.Generic;
using ComponentModel;
using global::Autofac;
public class TurbineAutofacModule : Module, IServiceRegistrar {
private readonly IList<Action<ContainerBuilder>> batchedRegistrations;
public TurbineAutofacMo... | apache-2.0 | C# |
b60237f7d47b62e8a8340c19da8bfb4c91ca1170 | Add license notice. | ForNeVeR/Pash,mrward/Pash,WimObiwan/Pash,ForNeVeR/Pash,sillvan/Pash,WimObiwan/Pash,sillvan/Pash,WimObiwan/Pash,sburnicki/Pash,sillvan/Pash,mrward/Pash,sburnicki/Pash,ForNeVeR/Pash,mrward/Pash,Jaykul/Pash,mrward/Pash,sburnicki/Pash,sillvan/Pash,sburnicki/Pash,Jaykul/Pash,Jaykul/Pash,WimObiwan/Pash,Jaykul/Pash,ForNeVeR/P... | Source/System.Management/Pash/Implementation/Native/Posix.cs | Source/System.Management/Pash/Implementation/Native/Posix.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using System;
using System.Reflection;
namespace Pash.Implementation.Native
{
/// <summary>
/// Uses reflection for dynamic loading of Mono.Posix assembly and invocation of native calls.
/// Reflection is used ... | using System;
using System.Reflection;
namespace Pash.Implementation.Native
{
/// <summary>
/// Uses reflection for dynamic loading of Mono.Posix assembly and invocation of native calls.
/// Reflection is used for cross-platform compatibility of current assembly. Methods of this
/// class should be ca... | bsd-3-clause | C# |
e8773f907e7ac252eab3068dff637ddc1f458c5a | Remove surplus code | MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site | src/HeadRaceTiming-Site/Controllers/HomeController.cs | src/HeadRaceTiming-Site/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace HeadRaceTiming_Site.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
p... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace HeadRaceTiming_Site.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
return View();
}
p... | mit | C# |
6c53ce6da4e46940c3b5bc63a2d502c8cd42cea3 | Update CompactBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/CompactBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal(object obj)
{
var output = new OutputBuffer();
var writer = new CompactBinaryWr... | using Bond.IO.Safe;
using Bond.Protocols;
using TIKSN.Analytics.Telemetry;
namespace TIKSN.Serialization.Bond
{
public class CompactBinaryBondSerializer : SerializerBase<byte[]>
{
public CompactBinaryBondSerializer(IExceptionTelemeter exceptionTelemeter) : base(exceptionTelemeter)
{
}
... | mit | C# |
d9ca8a441db95a38cf7ba89e98941699d638da44 | Fix and document the interface | shana/handy-things | TrackingCollection/TrackingCollection/ITrackingCollection.cs | TrackingCollection/TrackingCollection/ITrackingCollection.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
/// <summary>
/// TrackingCollection is a specialization of ObservableCollection that gets items from
/// an observable sequence and updates its contents in such a way that two updates to
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GitHub.Collections
{
public interface ITrackingCollection<T> : IDisposable, IList<T> where T : ICopyable<T>
{
IObservable<T> Listen(IObservable<T> obs);
IDisposable Subscribe();
IDisposable ... | mit | C# |
aea33f951f95a58d12de59120ff33ed3a982678c | Remove unused | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Converters/IsNotNullOrEmptyBoolConverter.cs | WalletWasabi.Gui/Converters/IsNotNullOrEmptyBoolConverter.cs | using Avalonia.Data.Converters;
using System;
using System.Globalization;
namespace WalletWasabi.Gui.Converters
{
internal class IsNotNullOrEmptyBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
if (value is null)
{
return fa... | using Avalonia.Data.Converters;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace WalletWasabi.Gui.Converters
{
internal class IsNotNullOrEmptyBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo ... | mit | C# |
7b604e17864493f71cfcf61af369db39b2aea7b3 | Improve comment about response formula | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs | using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
// secret scalars.
... | using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
{
// Each proof of a linear relation consists of multiple knowledge of
// representation equations, all sharing a single witness comprised of several
// secret scalars.
... | mit | C# |
982cbacc2e45d96f3640173d224ce7547c86cb88 | Use 'Thread.Sleep' instead of 'await'-less 'Task.Delay'. | Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization | src/Mirage.Urbanization.Simulation/NeverEndingTask.cs | src/Mirage.Urbanization.Simulation/NeverEndingTask.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Mirage.Urbanization.Simulation
{
public class NeverEndingTask
{
private readonly CancellationToken _token;
private readonly Task _task;
public NeverEndingTask(string description, Acti... | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace Mirage.Urbanization.Simulation
{
public class NeverEndingTask
{
private readonly CancellationToken _token;
private readonly Task _task;
public NeverEndingTask(string description, Acti... | mit | C# |
ad6cd9dbb1f7f3528c473ada591346cea8a45be6 | fix DefaultConfigReader.cs | Eskat0n/NArms | src/NArms.BunkerBuster/Readers/DefaultConfigReader.cs | src/NArms.BunkerBuster/Readers/DefaultConfigReader.cs | namespace NArms.BunkerBuster.Readers
{
using System.Configuration;
using System.Reflection;
using Annotations;
using Extensions;
public class DefaultConfigReader : IConfigReader
{
public void ReadTo(object configInstance)
{
var properties = configInstance.GetType()
... | namespace NArms.BunkerBuster.Readers
{
using System.Configuration;
using System.Reflection;
using Annotations;
using Extensions;
public class DefaultConfigReader : IConfigReader
{
public void ReadTo(object configInstance)
{
var properties = GetType()
... | mit | C# |
541596ee9d3b526f2f98a10c416a16511b931951 | allow GetValidationErrors to extend any object | ahanusa/facile.net,peasy/Peasy.NET,ahanusa/Peasy.NET | src/Peasy/Peasy/Extensions/IDomainObjectExtensions.cs | src/Peasy/Peasy/Extensions/IDomainObjectExtensions.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Peasy
{
public static class IDomainObjectExtensions
{
public static IEnumerable<ValidationResult> GetValidationErrors<T>(this T domainObject) where T : new()
{
var validationResults = new List<... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Peasy
{
public static class IDomainObjectExtensions
{
public static IEnumerable<ValidationResult> GetValidationErrors<T>(this T domainObject) where T : IDomainObject
{
var validationResults = n... | mit | C# |
68e9bb588ccd3ae1ca912270901b7bf4b0f9c059 | Handle content types with additional tokens | stormpath/stormpath-dotnet-owin-middleware | src/Stormpath.Owin.Middleware/Internal/ContentType.cs | src/Stormpath.Owin.Middleware/Internal/ContentType.cs | // <copyright file="AbstractMiddlewareController.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... | // <copyright file="AbstractMiddlewareController.cs" company="Stormpath, Inc.">
// Copyright (c) 2016 Stormpath, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://ww... | apache-2.0 | C# |
894282be242ffb4896c331130b2e4d6a4ad38bd1 | Fix warning. | Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x | src/unity/Runtime/Services/ServiceLocator.cs | src/unity/Runtime/Services/ServiceLocator.cs | using System;
using System.Collections.Generic;
namespace EE {
internal class ServiceLocatorImpl {
private readonly Dictionary<string, IService> _services = new Dictionary<string, IService>();
private readonly ServiceNameCache _nameCache = new ServiceNameCache();
public void Provide(IServi... | using System;
using System.Collections.Generic;
namespace EE {
internal class ServiceLocatorImpl {
private readonly Dictionary<string, IService> _services = new Dictionary<string, IService>();
private readonly ServiceNameCache _nameCache = new ServiceNameCache();
public void Provide(IServi... | mit | C# |
e52810e26c7eac9bb679b5584e3d369cce4e2e76 | Update ArcDrawNode.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/ArcDrawNode.cs | src/Core2D/Modules/Renderer/SkiaSharp/Nodes/ArcDrawNode.cs | #nullable enable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class ArcDrawNode : DrawNode, IArcDrawNode
{
public ArcShapeViewModel Arc { get; set; }
... | #nullable enable
using Core2D.Model.Renderer;
using Core2D.Model.Renderer.Nodes;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
using SkiaSharp;
namespace Core2D.Modules.Renderer.SkiaSharp.Nodes;
internal class ArcDrawNode : DrawNode, IArcDrawNode
{
public ArcShapeViewModel Arc { get; set; }
... | mit | C# |
5c10582864a199508285bea88b829a91a97cdb27 | Fix SQLLite-specific test to not rely on hardcoded year. | fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,ngbrown/nhibernate-core,nhibernate/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,ngbrown/nhibernate-core,ManufacturingIntelligence/nhibernate-core,livioc/nhibernate-core,nkreipke/nhibernate-core,gliljas/nhibernate-core,fredericDel... | src/NHibernate.Test/NHSpecificTest/NH2224/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH2224/Fixture.cs | using System;
using NHibernate.Cfg;
using NHibernate.Criterion;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2224
{
[TestFixture]
public class Fixture: BugTestCase
{
protected override bool AppliesTo(NHibernate.Dialect.Dialect dialect)
{
return dialect is NHibernate.Dialect.S... | using System;
using NHibernate.Cfg;
using NHibernate.Criterion;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH2224
{
[TestFixture]
public class Fixture: BugTestCase
{
protected override bool AppliesTo(NHibernate.Dialect.Dialect dialect)
{
return dialect is NHibernate.Dialect.S... | lgpl-2.1 | C# |
0a5b284e4b2e46731b6bf87f5d53371bbd8af186 | Remove workaround for xslt and use a XmlReader instead of a XPath navigator | Galad/tranquire,Galad/tranquire,Galad/tranquire | src/Tranquire/Reporting/XmlDocumentObserver.Net45.cs | src/Tranquire/Reporting/XmlDocumentObserver.Net45.cs | using System.Text;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace Tranquire.Reporting
{
partial class XmlDocumentObserver
{
/// <summary>
/// Returns a HTML document that contains the report.
/// </summary>
/// <returns></returns>
public strin... | using System.Text;
using System.Xml;
using System.Xml.XPath;
using System.Xml.Xsl;
namespace Tranquire.Reporting
{
partial class XmlDocumentObserver
{
/// <summary>
/// Returns a HTML document that contains the report.
/// </summary>
/// <returns></returns>
public strin... | mit | C# |
005b88c63bdea2d2e5f4deb2bcbf61aba23105d1 | delete recursively | Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache | NuCache.Tests/FileSystemTests/BaseFileSystemDirectoryTest.cs | NuCache.Tests/FileSystemTests/BaseFileSystemDirectoryTest.cs | using System;
using System.IO;
namespace NuCache.Tests.FileSystemTests
{
public class BaseFileSystemDirectoryTest : IDisposable
{
protected string DirectoryName;
protected FileSystem FileSystem;
public BaseFileSystemDirectoryTest()
{
FileSystem = new FileSystem();
DirectoryName = Guid.NewGuid().ToSt... | using System;
using System.IO;
namespace NuCache.Tests.FileSystemTests
{
public class BaseFileSystemDirectoryTest : IDisposable
{
protected string DirectoryName;
protected FileSystem FileSystem;
public BaseFileSystemDirectoryTest()
{
FileSystem = new FileSystem();
DirectoryName = Guid.NewGuid().ToSt... | lgpl-2.1 | C# |
0c81078570436a329c2ef45720ccadb666cf17fd | Update WireSerializer.cs | simonlaroche/akka.net,bruinbrown/akka.net,akoshelev/akka.net,trbngr/akka.net,nanderto/akka.net,alex-kondrashov/akka.net,dbolkensteyn/akka.net,eisendle/akka.net,eloraiby/akka.net,skotzko/akka.net,alexpantyukhin/akka.net,amichel/akka.net,alexvaluyskiy/akka.net,jordansjones/akka.net,amichel/akka.net,willieferguson/akka.ne... | src/contrib/serializers/Akka.Serialization.Wire/WireSerializer.cs | src/contrib/serializers/Akka.Serialization.Wire/WireSerializer.cs | //-----------------------------------------------------------------------
// <copyright file="WireSerializer.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | //-----------------------------------------------------------------------
// <copyright file="WireSerializer.cs" company="Akka.NET Project">
// Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>
// Copyright (C) 2013-2015 Akka.NET project <https://github.com/akkadotnet/akka.net>
// </copyright>
//... | apache-2.0 | C# |
37996413bec10c81d0f6a18d63241ffdb7835d18 | Fix ExternalCounter Serialize method | bretcope/BosunReporter.NET | BosunReporter/Metrics/ExternalCounter.cs | BosunReporter/Metrics/ExternalCounter.cs | using System;
using System.Collections.Generic;
using System.Threading;
using BosunReporter.Infrastructure;
namespace BosunReporter.Metrics
{
[ExcludeDefaultTags("host")]
public class ExternalCounter : BosunMetric
{
private int _count;
public int Count => _count;
public override s... | using System.Collections.Generic;
using System.Threading;
using BosunReporter.Infrastructure;
namespace BosunReporter.Metrics
{
[ExcludeDefaultTags("host")]
public class ExternalCounter : BosunMetric
{
private int _count;
public int Count => _count;
public override string MetricTy... | mit | C# |
773244b63628c5c1b937c4032b97d49cf4db4ef8 | Add tests for timeout of CommandLineRunner | ermshiperete/libpalaso,mccarthyrb/libpalaso,gtryus/libpalaso,glasseyes/libpalaso,hatton/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,tombogle/libpalaso,sillsdev/libpalaso,glasseyes/libpalaso,hatton/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalas... | Palaso.Tests/CommandLineProcessing/CommandLineRunnerTests.cs | Palaso.Tests/CommandLineProcessing/CommandLineRunnerTests.cs | using System;
using NUnit.Framework;
using Palaso.CommandLineProcessing;
using Palaso.Progress;
namespace Palaso.Tests.CommandLineProcessing
{
[TestFixture]
public class CommandLineRunnerTests
{
private const string App = "PalasoUIWindowsForms.TestApp.exe";
[Test]
public void CommandWith10Line_NoCallbackOpt... | using System;
using NUnit.Framework;
using Palaso.CommandLineProcessing;
using Palaso.Progress;
namespace Palaso.Tests.CommandLineProcessing
{
[TestFixture]
public class CommandLineRunnerTests
{
private const string App = "PalasoUIWindowsForms.TestApp.exe";
[Test]
public void CommandWith10Line_NoCallbackOpt... | mit | C# |
7c1e97c8a017d1a45fd6e7bdbfd2c856353014f6 | Add test for storageprovider attribute | mhertis/Orleankka,yevhen/Orleankka,pkese/Orleankka,mhertis/Orleankka,OrleansContrib/Orleankka,yevhen/Orleankka,OrleansContrib/Orleankka,pkese/Orleankka | Source/Orleankka.Tests/Features/Native_orleans_attributes.cs | Source/Orleankka.Tests/Features/Native_orleans_attributes.cs | using System;
using System.Reflection;
using NUnit.Framework;
using Orleans.CodeGeneration;
using Orleans.Concurrency;
using Orleans.Providers;
namespace Orleankka.Features
{
namespace Native_orleans_attributes
{
using Core;
using Testing;
[Version(22)]
public interface ITes... | using System.Reflection;
using NUnit.Framework;
using Orleans.CodeGeneration;
using Orleans.Concurrency;
namespace Orleankka.Features
{
namespace Native_orleans_attributes
{
using Core;
using Testing;
[Version(22)]
public interface ITestVersionActor : IActor {}
publi... | apache-2.0 | C# |
4fabcb7a62d9b05032cc27d0bc99c64232004ba1 | Use culture invariant version of float.TryParse | feliwir/openSage,feliwir/openSage | src/OpenSage.Game/Data/Utilities/ParseUtility.cs | src/OpenSage.Game/Data/Utilities/ParseUtility.cs | using System.Globalization;
namespace OpenSage.Data.Utilities
{
internal static class ParseUtility
{
public static float ParseFloat(string s)
{
return float.Parse(s, CultureInfo.InvariantCulture);
}
public static bool TryParseFloat(string s, out float result)
... | using System.Globalization;
namespace OpenSage.Data.Utilities
{
internal static class ParseUtility
{
public static float ParseFloat(string s)
{
return float.Parse(s, CultureInfo.InvariantCulture);
}
public static bool TryParseFloat(string s, out float result)
... | mit | C# |
e4b6cc5a1c8a523052ffac17e63078c23bdaa0ca | Order elements | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs | WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Fluent.ViewModels
{
public class Recove... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Reactive.Linq;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
using ReactiveUI;
using WalletWasabi.Gui.Validation;
using WalletWasabi.Models;
namespace WalletWasabi.Fluent.ViewModels
{
public class Recove... | mit | C# |
0e2a7203237bdc20c60ee83d292813536eb357ae | Make case insensitive matching | jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,mdavid/manos-spdy,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,mdavid/manos-spdy,jacksonh... | 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# |
443a6353853891bc477ba36ad2d8a6fbdfef52ff | Return null public key token if public key is null | jorik041/dnlib,picrap/dnlib,yck1509/dnlib,modulexcite/dnlib,ilkerhalil/dnlib,Arthur2e5/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,0xd4d/dnlib | src/DotNet/PublicKey.cs | src/DotNet/PublicKey.cs | namespace dot10.DotNet {
/// <summary>
/// Represents a public key
/// </summary>
public sealed class PublicKey : PublicKeyBase {
const AssemblyHashAlgorithm DEFAULT_ALGORITHM = AssemblyHashAlgorithm.SHA1;
AssemblyHashAlgorithm hashAlgo;
PublicKeyToken publicKeyToken;
/// <summary>
/// Gets the <see cre... | namespace dot10.DotNet {
/// <summary>
/// Represents a public key
/// </summary>
public sealed class PublicKey : PublicKeyBase {
const AssemblyHashAlgorithm DEFAULT_ALGORITHM = AssemblyHashAlgorithm.SHA1;
AssemblyHashAlgorithm hashAlgo;
PublicKeyToken publicKeyToken;
/// <summary>
/// Gets the <see cre... | mit | C# |
7a43f61e1777bfdb1c7ba24ce6db5e75f9b81182 | Correct Covalence provider name | Visagalis/Oxide,Visagalis/Oxide,LaserHydra/Oxide,LaserHydra/Oxide | Games/Unity/Oxide.Game.TheForest/Libraries/Covalence/TheForestCovalenceProvider.cs | Games/Unity/Oxide.Game.TheForest/Libraries/Covalence/TheForestCovalenceProvider.cs | using Oxide.Core.Libraries.Covalence;
namespace Oxide.Game.TheForest.Libraries.Covalence
{
/// <summary>
/// Provides Covalence functionality for the game "The Forest"
/// </summary>
public class TheForestCovalenceProvider : ICovalenceProvider
{
/// <summary>
/// Gets the name of t... | using Oxide.Core.Libraries.Covalence;
namespace Oxide.Game.TheForest.Libraries.Covalence
{
/// <summary>
/// Provides Covalence functionality for the game "The Forest"
/// </summary>
public class TheForestCovalenceProvider : ICovalenceProvider
{
/// <summary>
/// Gets the name of t... | mit | C# |
b0b0278f54010e70d9077fd25c893797fd324760 | Fix cache update exception typo | opentable/hobknob-client-net,opentable/hobknob-client-net | HobknobClientNet/HobknobClientFactory.cs | HobknobClientNet/HobknobClientFactory.cs | using System;
namespace HobknobClientNet
{
public interface IHobknobClientFactory
{
IHobknobClient Create(string etcdHost, int etcdPort, string applicationName, TimeSpan cacheUpdateInterval, EventHandler<CacheUpdateFailedArgs> cacheUpdateFailed);
}
public class HobknobClientFactory : IHobkno... | using System;
namespace HobknobClientNet
{
public interface IHobknobClientFactory
{
IHobknobClient Create(string etcdHost, int etcdPort, string applicationName, TimeSpan cacheUpdateInterval, EventHandler<CacheUpdateFailedArgs> cacheUpdateFailed);
}
public class HobknobClientFactory : IHobkno... | mit | C# |
ea2044e9a0d3fb441dfe8d8c28276bffec4e0d67 | Fix version. | OlegAxenow/Method.Injection | Method.Inject/Properties/AssemblyInfo.cs | Method.Inject/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("1.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyInformationalVersion("1.1.0.0")]
[assembly: AssemblyTitle("Method.Inject")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0.0")]
[assembly: AssemblyTitle("Method.Inject")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[as... | mit | C# |
753bdf3250585e25fdd264a85522af539351a283 | Make HttpActorSustem public | OrleansContrib/Orleankka,OrleansContrib/Orleankka | Source/Orleankka/Http/HttpActorSystem.cs | Source/Orleankka/Http/HttpActorSystem.cs | using System;
using System.Net.Http;
using System.Text.Json;
namespace Orleankka.Http
{
public class HttpActorSystem : IActorSystem
{
readonly ActorRouteMapper mapper;
readonly HttpClient client;
readonly JsonSerializerOptions serializer;
readonly IActorRefMiddleware middleware... | using System;
using System.Net.Http;
using System.Text.Json;
namespace Orleankka.Http
{
class HttpActorSystem : IActorSystem
{
readonly ActorRouteMapper mapper;
readonly HttpClient client;
readonly JsonSerializerOptions serializer;
readonly IActorRefMiddleware middleware;
... | apache-2.0 | C# |
1c6afee8d82e04470c2c572240e39db1b0bb69b7 | fix for testcase predicate | tudway/Qart,avao/Qart,mcraveiro/Qart | Src/Qart.Testing/Framework/TestSystem.cs | Src/Qart.Testing/Framework/TestSystem.cs | using Qart.Core.DataStore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Qart.Testing.Framework
{
public class TestSystem : ITestSystem
{
public IDataStore DataStorage { get; private set; }
public IContentProcessor ContentProcessor { get; privat... | using Qart.Core.DataStore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Qart.Testing.Framework
{
public class TestSystem : ITestSystem
{
public IDataStore DataStorage { get; private set; }
public IContentProcessor ContentProcessor { get; privat... | apache-2.0 | C# |
1a89733ca6a94050f8892f5ba255e015241775fc | Fix NullReferenceException when RemoteIpAddress is null | MiniProfiler/dotnet,MiniProfiler/dotnet | src/MiniProfiler.AspNetCore/MiniProfilerOptions.cs | src/MiniProfiler.AspNetCore/MiniProfilerOptions.cs | using System;
using Microsoft.AspNetCore.Http;
using StackExchange.Profiling.Internal;
namespace StackExchange.Profiling
{
/// <summary>
/// Options for configuring MiniProfiler
/// </summary>
public class MiniProfilerOptions : MiniProfilerBaseOptions
{
/// <summary>
/// The path u... | using System;
using Microsoft.AspNetCore.Http;
using StackExchange.Profiling.Internal;
namespace StackExchange.Profiling
{
/// <summary>
/// Options for configuring MiniProfiler
/// </summary>
public class MiniProfilerOptions : MiniProfilerBaseOptions
{
/// <summary>
/// The path u... | mit | C# |
ac6b8cfbb96a40948d4d9d18b44cc982e9a219f9 | clean up | asipe/Nucs,asipe/Nucs | src/Nucs.UnitTests/Serialization/SerializerTest.cs | src/Nucs.UnitTests/Serialization/SerializerTest.cs | using NUnit.Framework;
using Nucs.Core.Model.External;
using Nucs.Core.Serialization;
namespace Nucs.UnitTests.Serialization {
[TestFixture]
public class SerializerTest : NucsBaseTestCase {
[Test]
public void TestBasicSerialization() {
var serializer = new Serializer();
var expected ... | using NUnit.Framework;
using Nucs.Core.Model;
using Nucs.Core.Model.External;
using Nucs.Core.Serialization;
namespace Nucs.UnitTests.Serialization {
[TestFixture]
public class SerializerTest : NucsBaseTestCase {
[Test]
public void TestBasicSerialization() {
var serializer = new Serializer... | mit | C# |
b2fade0d7286817139363bf4b62d99cc22577422 | Add XML doc to Verbosity | AMDL/amdl2maml | amdl2maml/Converter.Console/Verbosity.cs | amdl2maml/Converter.Console/Verbosity.cs | using System.ComponentModel;
namespace Amdl.Maml.Converter.Console
{
/// <summary>
/// Verbosity.
/// </summary>
enum Verbosity
{
/// <summary>
/// No output.
/// </summary>
[Description("No output")]
Silent,
/// <summary>
/// Minimal output... | using System.ComponentModel;
namespace Amdl.Maml.Converter.Console
{
enum Verbosity
{
[Description("No output")]
Silent,
[Description("Minimal output")]
Minimal,
[Description("Normal output")]
Normal,
[Description("Detailed output")]
Detailed,... | apache-2.0 | C# |
4f90e5d04e241368aa4158c955d87d25a8fdf288 | exclude cases when classifier is null | strotz/pustota,strotz/pustota,strotz/pustota | src/Pustota.Maven/Actions/ApplyClassifierAction.cs | src/Pustota.Maven/Actions/ApplyClassifierAction.cs | using System.Linq;
using Pustota.Maven.Models;
namespace Pustota.Maven.Actions
{
public class ApplyClassifierAction
{
private readonly IProjectsRepository _projects;
private readonly string _classifierName;
private readonly string _classifierValue;
public ApplyClassifierAction(IProjectsRepository... | using System.Linq;
using Pustota.Maven.Models;
namespace Pustota.Maven.Actions
{
public class ApplyClassifierAction
{
private readonly IProjectsRepository _projects;
private readonly string _classifierName;
private readonly string _classifierValue;
public ApplyClassifierAction(IProjectsRepository... | mit | C# |
8913e277fda21727032fe2d8292c97aa53bf9dd4 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
b23682c1268d9c9e78c053a4a3e9a31e0d56b0ad | Add failing test case for setting colour at creation | ZLima12/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework | osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.cs | osu.Framework.Tests/Visual/UserInterface/TestSceneColourPicker.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.UserInterface;
namespace osu.Framework.Tests.Visual.UserInterface
{
public class Te... | // 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.UserInterface;
using osu.Framework.Testing;
namespace osu.Framework.Tests.Visual.UserInterface
{
public cl... | mit | C# |
adae810b3860d3adcd241aedf30fc03f2778ac10 | remove Home/About and Home/Contact from tests | jittuu/AzureLog,jittuu/AzureLog,jittuu/AzureLog | AzureLog.Web.Tests/Controllers/HomeControllerTest.cs | AzureLog.Web.Tests/Controllers/HomeControllerTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AzureLog.Web;
using AzureLog.Web.Controllers;
namespace AzureLog.Web.Tests.Controllers
{
[TestClass]
public class HomeControllerTest
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AzureLog.Web;
using AzureLog.Web.Controllers;
namespace AzureLog.Web.Tests.Controllers
{
[TestClass]
public class HomeControllerTest
{
... | mit | C# |
573a75a955a0eb52e6c1f7cb6916a0e2cb5c2c9e | Fix compile null ref | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Models/VehicleListViewModel.cs | Battery-Commander.Web/Models/VehicleListViewModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class VehicleListViewModel
{
public IEnumerable<SelectListItem> Soldiers { get; set; } = Enumerable.Empty<SelectListItem>();
public Array... | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BatteryCommander.Web.Models
{
public class VehicleListViewModel
{
public IEnumerable<SelectListItem> Soldiers { get; set; } = Enumerable.Empty<SelectListItem>();
public Array... | mit | C# |
63adac9937afd03f4bf0addde58dcfc3a589dc97 | Fix symmetric algorithms benchmarks | sergezhigunov/OpenGost | benchmarks/OpenGost.Security.Cryptography.Benchmarks/SymmetricAlgorithmBenchmark.cs | benchmarks/OpenGost.Security.Cryptography.Benchmarks/SymmetricAlgorithmBenchmark.cs | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using BenchmarkDotNet.Attributes;
namespace OpenGost.Security.Cryptography.Benchmarks
{
public abstract class SymmetricAlgorithmBenchmark<T> : IDisposable
where T : SymmetricAlgorithm, new()
{
private static ... | using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using BenchmarkDotNet.Attributes;
namespace OpenGost.Security.Cryptography.Benchmarks
{
public abstract class SymmetricAlgorithmBenchmark<T> : IDisposable
where T : SymmetricAlgorithm, new()
{
private static ... | mit | C# |
c765b222f13548aea8bee32112b519fb1bb1ae50 | Make plots more informationail | joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net | Joinrpg/Views/Shared/_PlotForCharacterPartial.cshtml | Joinrpg/Views/Shared/_PlotForCharacterPartial.cshtml | @using JoinRpg.Web.Models.Plot
@model IEnumerable<PlotElementViewModel>
@if (Model != null && Model.Any())
{
<div class="panel panel-default">
<div class="panel-heading" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#collapseOne" aria-e... | @using JoinRpg.Web.Models.Plot
@model IEnumerable<PlotElementViewModel>
@if (Model != null && Model.Any())
{
<div class="panel panel-default">
<div class="panel-heading" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#collapseOne" aria-e... | mit | C# |
70a1497d20fade7bce1375cd58915aaffc4c48a1 | Fix comments | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | LmpClient/Systems/VesselFairingsSys/VesselFairing.cs | LmpClient/Systems/VesselFairingsSys/VesselFairing.cs | using LmpClient.VesselUtilities;
using System;
namespace LmpClient.Systems.VesselFairingsSys
{
/// <summary>
/// Class that maps a message class to a system class. This way we avoid the message caching issues
/// </summary>
public class VesselFairing
{
#region Fields and Properties
... | using System;
using LmpClient.Extensions;
using LmpClient.VesselUtilities;
namespace LmpClient.Systems.VesselFairingsSys
{
/// <summary>
/// Class that maps a message class to a system class. This way we avoid the message caching issues
/// </summary>
public class VesselFairing
{
#region F... | mit | C# |
04297f0030701575741cf4923812708976717a45 | Update ParserLanguage.cs | taotsetung/guild-translation-tool | GTT.Common/ParserLanguage.cs | GTT.Common/ParserLanguage.cs | namespace GTT.Common
{
public enum ParserLanguage
{
English = 2,
French = 3,
Russian = 4,
Italian = 5,
Spanish = 6,
Dutch = 7,
Korean = 8,
Japanese = 9,
Chinese = 10,
Portuguese = 11,
Czech = 12,
}
}
| namespace GTT.Common
{
public enum ParserLanguage
{
English = 2,
French = 3,
Russian = 4,
Italian = 5,
Spanish = 6,
Dutch = 7,
Korean = 8,
Japanese = 9,
Chinese = 10,
Portuguese = 11,
}
} | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.