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 |
|---|---|---|---|---|---|---|---|---|
180d33d2c54d959d619b97e9b0c648a6a407bcd0 | Make a graphics device available to the content manager. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLib.MonoGame/ContentManager.cs | ChamberLib.MonoGame/ContentManager.cs | using System;
using XContentManager = Microsoft.Xna.Framework.Content.ContentManager;
using XTexture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
using XModel = Microsoft.Xna.Framework.Graphics.Model;
using XDevice = Microsoft.Xna.Framework.Graphics.GraphicsDevice;
namespace ChamberLib
{
public class ContentMa... | using System;
using XContentManager = Microsoft.Xna.Framework.Content.ContentManager;
using XTexture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
using XModel = Microsoft.Xna.Framework.Graphics.Model;
namespace ChamberLib
{
public class ContentManager : IContentManager
{
public ContentManager(XCont... | lgpl-2.1 | C# |
c9383fc467e94b4125e0b5e2ab76942e05e017cb | bump version | alecgorge/adzerk-dot-net | Adzerk.Api/Properties/AssemblyInfo.cs | Adzerk.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("Ad... | 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("Ad... | mit | C# |
4f7bfbf4510ed3694383fd5d2b1e476e4b5b1f0a | fix typo | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Server/_Nav.cshtml | BTCPayServer/Views/Server/_Nav.cshtml | <div class="nav flex-column nav-pills">
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Users)" asp-action="Users">Users</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Rates)" asp-action="Rates">Rates</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Emails)" asp-action="E... | <div class="nav flex-column nav-pills">
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Users)" asp-action="Users">Users</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Rates)" asp-action="Rates">Rates</a>
<a class="nav-link @ViewData.IsActivePage(ServerNavPages.Emails)" asp-action="E... | mit | C# |
13a2eb2ae7b2bb6f7fed3c6b78331b2dc8362e3b | Update DefaultDocumentTextDifferencingService.cs | weltkante/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,weltkante/roslyn,KevinRansom/roslyn,diryboy/roslyn,dotnet/roslyn,eriawan/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,AmadeusW/roslyn,mavasani/roslyn,AmadeusW/roslyn,physh... | src/Workspaces/Core/Portable/LinkedFileDiffMerging/DefaultDocumentTextDifferencingService.cs | src/Workspaces/Core/Portable/LinkedFileDiffMerging/DefaultDocumentTextDifferencingService.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics.CodeAnalysis;
... | // 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 disable
using System.Collections.Immutable;
using System.Composition;
using System.Diagnostics.CodeAnaly... | mit | C# |
de5f2d627f3ba9c882af5f80e6a5b6e40cc85242 | Fix test | bartdesmet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,CyrusNajmabadi/roslyn,weltkante/roslyn,dotnet/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,weltkante/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,KevinRanso... | src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/DocumentationCommentTests.cs | src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/DocumentationCommentTests.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.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Rosl... | // 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.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Rosl... | mit | C# |
ffed349838fcd0a2574f973052c9729396511353 | Build unsigned by default | inthehand/charming | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
#if ... | mit | C# |
bda83335596c162a9f95c605fb8e7de7dc2676a0 | Make AddConfigCommand implement ICommand | appharbor/appharbor-cli | src/AppHarbor.Tests/Commands/AddConfigCommand.cs | src/AppHarbor.Tests/Commands/AddConfigCommand.cs | using System;
namespace AppHarbor.Tests.Commands
{
public class AddConfigCommand : ICommand
{
public void Execute(string[] arguments)
{
throw new NotImplementedException();
}
}
}
| namespace AppHarbor.Tests.Commands
{
public class AddConfigCommand
{
}
}
| mit | C# |
f1e66cc420ce69e133f08068fdc2c1affd3e02cd | Adjust test namespace | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,peppy/osu-new | osu.Game.Tests/Visual/Editing/TestSceneEditorClock.cs | osu.Game.Tests/Visual/Editing/TestSceneEditorClock.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.Containers;
using osu.Game.Screens.Edit.Components;
using osuTK;
namespace osu.Game.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Screens.Edit.Components;
using osuTK;
namespace osu.Game.Te... | mit | C# |
40d823bf693da2a1af210b7b0e5f3d3218f7b717 | Use localised string for guest participation beatmaps header | peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Localisation;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
using osu.Game.Resources.Localisation.Web;
name... | // 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.Localisation;
using osu.Game.Online.API.Requests;
using osu.Game.Overlays.Profile.Sections.Beatmaps;
using osu.Game.Resources.Localisation.Web;
name... | mit | C# |
1852311be73bcae3fd8bfba8078bbcded4497b1c | comment out debug info for fade manager | Magneseus/3x-eh | Assets/Scripts/Global/LoadingSceneManager.cs | Assets/Scripts/Global/LoadingSceneManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoadingSceneManager : MonoBehaviour {
public Image loadingPic;
public AudioSource audioPlayer;
private bool isInTrans = false;
private float transition;
private bool ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LoadingSceneManager : MonoBehaviour {
public Image loadingPic;
public AudioSource audioPlayer;
private bool isInTrans = false;
private float transition;
private bool ... | mit | C# |
957fa89a9b86df9ed1a503c3a35f79457512ae5c | Update assembly version. | bestmike007/Beanstalkd.Client | Beanstalkd.Client/Properties/AssemblyInfo.cs | Beanstalkd.Client/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("B... | 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("B... | mit | C# |
544402e13218991ae54810cd47a332334ec3c47b | Add a timer and log to sms sending | mattgwagner/CertiPay.Common | CertiPay.Common/Notifications/ISMSService.cs | CertiPay.Common/Notifications/ISMSService.cs | using CertiPay.Common.Logging;
using System;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background processing.
/// </remarks... | using CertiPay.Common.Logging;
using System;
using System.Threading.Tasks;
using Twilio;
namespace CertiPay.Common.Notifications
{
/// <summary>
/// Send an SMS message to the given recipient.
/// </summary>
/// <remarks>
/// Implementation may be sent into background processing.
/// </remarks... | mit | C# |
923f8d104c8cae108927a50e3e42a0165920bd90 | fix bug in ClipActionRecordStruct | Alexx999/SwfSharp | SwfSharp/Structs/ClipActionRecordStruct.cs | SwfSharp/Structs/ClipActionRecordStruct.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Structs
{
public class ClipActionRecordStruct
{
public ClipEventFlagsStruct EventFlags { get; set; }
public uint ActionRecordSize { get; set; }
public byte Key... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SwfSharp.Utils;
namespace SwfSharp.Structs
{
public class ClipActionRecordStruct
{
public ClipEventFlagsStruct EventFlags { get; set; }
public uint ActionRecordSize { get; set; }
public byte Key... | mit | C# |
3034b9cfdc9e7b6ec54f21de11d3b444bc8b396d | Fix support for input and fix some bugs | GMJS/gmjs_ocs_dpt | IPOCS_Programmer/ObjectTypes/GenericInput.cs | IPOCS_Programmer/ObjectTypes/GenericInput.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class GenericInput : BasicObject
{
public override byte objectTypeId { get { return 11; } }
public byte inputPin { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IPOCS_Programmer.ObjectTypes
{
public class GenericInput : BasicObject
{
public override byte objectTypeId { get { return 11; } }
public byte inputPin { get; set; }
... | mit | C# |
c27b9b6185b548cdd38eb0f31bef8168710609ce | Handle case where smart indent provider is null for willow | mjbvz/nodejstools,AustinHull/nodejstools,kant2002/nodejstools,avitalb/nodejstools,mousetraps/nodejstools,avitalb/nodejstools,Microsoft/nodejstools,lukedgr/nodejstools,AustinHull/nodejstools,lukedgr/nodejstools,paulvanbrenk/nodejstools,mousetraps/nodejstools,mousetraps/nodejstools,AustinHull/nodejstools,kant2002/nodejst... | Nodejs/Product/Nodejs/SmartIndentProvider.cs | Nodejs/Product/Nodejs/SmartIndentProvider.cs | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... | //*********************************************************//
// Copyright (c) Microsoft. All rights reserved.
//
// Apache 2.0 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 writing,... | apache-2.0 | C# |
d97df64c171b2cd82a4da95bfa735f62df82474f | Comment out the sample tests | surrealist/ParkingSpace,surrealist/ParkingSpace,surrealist/ParkingSpace | ParkingSpace.Facts/Sample/SampleFileFacts.cs | ParkingSpace.Facts/Sample/SampleFileFacts.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using System.IO;
namespace ParkingSpace.Facts.Sample {
public class SampleFileFacts {
public static IEnumerable<object[]> getFilesFromCurrentFolder() {
var di = new DirectoryI... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using System.IO;
namespace ParkingSpace.Facts.Sample {
public class SampleFileFacts {
public static IEnumerable<object[]> getFilesFromCurrentFolder() {
var di = new DirectoryI... | mit | C# |
bd3bb6e47e8d7a8c61430a6aeeffa1489649ad60 | Check if BindingValue actually has a value | SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia | src/Avalonia.Base/Reactive/TypedBindingAdapter.cs | src/Avalonia.Base/Reactive/TypedBindingAdapter.cs | using System;
using Avalonia.Data;
using Avalonia.Logging;
namespace Avalonia.Reactive
{
internal class TypedBindingAdapter<T> : SingleSubscriberObservableBase<BindingValue<T>>,
IObserver<BindingValue<object?>>
{
private readonly IAvaloniaObject _target;
private readonly AvaloniaProper... | using System;
using Avalonia.Data;
using Avalonia.Logging;
namespace Avalonia.Reactive
{
internal class TypedBindingAdapter<T> : SingleSubscriberObservableBase<BindingValue<T>>,
IObserver<BindingValue<object?>>
{
private readonly IAvaloniaObject _target;
private readonly AvaloniaProper... | mit | C# |
1811b4d7bf34ab9618717b0c62cb5ebeb06838b9 | fix Checkmate.cs | sonth3vn/DFTChess,sonth3vn/DFTChess,sonth3vn/DFTChess,sonth3vn/DFTChess | Assets/Scripts/Models/Checkmate.cs | Assets/Scripts/Models/Checkmate.cs | using UnityEngine;
using System.Collections;
public class Checkmate : MonoBehaviour {
public Point currentPos = new Point();
// void Start(){
// Rect rect = GetComponent<RectTransform> ().rect;
// rect = new Rect (rect.position.x, rect.position.y, 100, 100);
// }
public void Pressed(){
GameController gc = Gam... | using UnityEngine;
using System.Collections;
public class Checkmate : MonoBehaviour {
public Point currentPos = new Point();
void Start(){
Rect rect = GetComponent<RectTransform> ().rect;
rect = new Rect (rect.position.x, rect.position.y, 100, 100);
}
public void Pressed(){
GameController gc = GameObject.... | mit | C# |
e8e7157b0ad00c9cdb59421ccf0118199ba255fc | Save all the lines of code! | punker76/Espera,flagbug/Espera | Espera/Espera.Core/ReactiveHelpers.cs | Espera/Espera.Core/ReactiveHelpers.cs | using ReactiveMarrow;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
namespace Espera.Core
{
internal static class ReactiveHelpers
{
/// <summary>
/// Takes the left observable and combines it with the latest value of the right observable.
/// This method ... | using ReactiveMarrow;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
namespace Espera.Core
{
internal static class ReactiveHelpers
{
/// <summary>
/// Takes the left observable and combines it with the latest value of the right observable.
/// This method ... | mit | C# |
4d3435ee391e61d240e21c1bfc31c427b9703bd3 | Use the console role instaed | KodamaSakuno/Library | Sakuno.SystemInterop/VolumeManager.cs | Sakuno.SystemInterop/VolumeManager.cs | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Sakuno.SystemInterop
{
public class VolumeManager : NativeInterfaces.IAudioSessionNotification
{
public static VolumeManager Instance { get; } = new VolumeManager();
NativeInterfaces.IAudioSessionM... | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Sakuno.SystemInterop
{
public class VolumeManager : NativeInterfaces.IAudioSessionNotification
{
public static VolumeManager Instance { get; } = new VolumeManager();
NativeInterfaces.IAudioSessionM... | mit | C# |
87db1ba48703d07371f12f822d4d2eb765c1adfb | Remove unused text transform helpers | ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu | osu.Game/Graphics/Sprites/OsuSpriteText.cs | osu.Game/Graphics/Sprites/OsuSpriteText.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
namespace osu.Game.Graphics.Sprites
{
public class OsuSpriteText : SpriteText
{
public OsuSpriteText()
{
... | // 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.Sprites;
using osu.Framework.Graphics.Transforms;
namespace osu.Game.Graphics.Sprites
{
public class OsuS... | mit | C# |
81131773bbdfef8f317fdc55015054760480d477 | add TODO | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Locations/DumbledoresOffice.cs | Assets/Scripts/HarryPotterUnity/Cards/Transfiguration/Locations/DumbledoresOffice.cs | using System.Linq;
using HarryPotterUnity.Cards.PlayRequirements;
using HarryPotterUnity.Enums;
using HarryPotterUnity.Game;
namespace HarryPotterUnity.Cards.Transfiguration.Locations
{
public class DumbledoresOffice : BaseLocation
{
//TODO: Test this
public override void OnEnterInPlayAction()... | using System.Linq;
using HarryPotterUnity.Cards.PlayRequirements;
using HarryPotterUnity.Enums;
using HarryPotterUnity.Game;
namespace HarryPotterUnity.Cards.Transfiguration.Locations
{
public class DumbledoresOffice : BaseLocation
{
public override void OnEnterInPlayAction()
{
bas... | mit | C# |
207d37568893bc7fca12834344123ba3d187becc | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRespository
{
private readonly TrappistDbContext _dbContex... | mit | C# |
21c89ed10ba8ba1869d95487bff39f741798bd3e | Add more test | aloisdg/PlaylistSharp | PlaylistSharpTest/Program.cs | PlaylistSharpTest/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlaylistSharpLib;
namespace PlaylistSharpTest
{
class Program
{
static void Main(string[] args)
{
var playlist = new Playlist
{
Trac... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PlaylistSharpLib;
namespace PlaylistSharpTest
{
class Program
{
static void Main(string[] args)
{
var playlist = new Playlist
{
Trac... | mit | C# |
c807bdbc64055d622625f8c9a9021aa3bd89296c | Fix build warning. | jthelin/ServerHost,jthelin/ServerHost | Tests/ServerTestHostTests.cs | Tests/ServerTestHostTests.cs | // Copyright (c) Jorgen Thelin. All rights reserved.
using System;
using FluentAssertions;
using log4net;
using log4net.Config;
using Xunit;
using Xunit.Abstractions;
using ServerHost;
namespace Tests
{
public class ServerTestHostTests : IClassFixture<ServerTestHostFixture>, IDisposable
{
//private ... | // Copyright (c) Jorgen Thelin. All rights reserved.
using System;
using FluentAssertions;
using log4net;
using log4net.Config;
using Xunit;
using Xunit.Abstractions;
using ServerHost;
namespace Tests
{
public class ServerTestHostTests : IClassFixture<ServerTestHostFixture>, IDisposable
{
private st... | apache-2.0 | C# |
6f786ea1ec4ccdc7cc764fcbdd205508d4327a7d | Update Program.cs | jeetendraprasad/building-blocks-demo | DemoConsoleApp/DemoConsoleApp/Program.cs | DemoConsoleApp/DemoConsoleApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DemoConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World! - Changed on Server.");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DemoConsoleApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
}
}
}
| mit | C# |
0dfabe864ae22797523058c27ec500ee70603209 | Clean up usings | prescottadam/ConsoleWritePrettyOneDay | ConsoleWritePrettyOneDay.App/Program.cs | ConsoleWritePrettyOneDay.App/Program.cs | using System.Threading;
using System.Threading.Tasks;
using Console = System.Console;
namespace ConsoleWritePrettyOneDay.App
{
class Program
{
static void Main(string[] args)
{
Spinner.Wait(() => Thread.Sleep(5000), "waiting for sleep");
var task = Task.Run... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ConsoleWritePrettyOneDay;
using Console = System.Console;
namespace ConsoleWritePrettyOneDay.App
{
class Program
{
static void Main(string[] ar... | mit | C# |
9e5ccbff70938a16c5f4c2558730b17607ea6aa3 | Update version # to 4.0.0 | Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview | Eve-O-Preview/Properties/AssemblyInfo.cs | Eve-O-Preview/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("EVE-O Preview")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("EVE-O Preview")]
[assembly: AssemblyCopyright("")]
[as... | mit | C# |
df9c57117a6b2de5ec1dee7926f929bc4d24693f | Fix error when launching missing files | danielchalmers/DesktopWidgets | DesktopWidgets/Helpers/ProcessHelper.cs | DesktopWidgets/Helpers/ProcessHelper.cs | #region
using System.Diagnostics;
using System.IO;
using DesktopWidgets.Classes;
#endregion
namespace DesktopWidgets.Helpers
{
internal static class ProcessHelper
{
public static void Launch(string path, string args = "", string startIn = "",
ProcessWindowStyle style = ProcessWindowStyle... | #region
using System.Diagnostics;
using System.IO;
using DesktopWidgets.Classes;
#endregion
namespace DesktopWidgets.Helpers
{
internal static class ProcessHelper
{
public static void Launch(string path, string args = "", string startIn = "",
ProcessWindowStyle style = ProcessWindowStyle... | apache-2.0 | C# |
3129c2cc75fd82e2a324aaf29d8e7f0d6cb771fe | Fix slider circle masks blocking input for now | ppy/osu,smoogipoo/osu,EVAST9919/osu,DrabWeb/osu,UselessToucan/osu,UselessToucan/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,smoogipooo/osu,UselessToucan/osu,naoey/osu,ppy/osu,DrabWeb/osu,ppy/osu,johnneijzen/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,ZLima12/osu,johnneijzen/osu,Nabile-Ra... | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleMask.cs | osu.Game.Rulesets.Osu/Edit/Layers/Selection/Overlays/SliderCircleMask.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Game.Graphics;
using... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Osu.Objects;
using ... | mit | C# |
b6ed7f9550c420b9c28dc96782ac02860c063e8b | change according to http://skylines-modding-docs.readthedocs.org/en/latest/modding/Getting-Started/Setting-Up-Visual-Studio.html | ccpz/cities-skylines-Mod_Lang_CHT | Mod_Lang_CHT/Properties/AssemblyInfo.cs | Mod_Lang_CHT/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("Mod_Lang_CHT")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 組件的一般資訊是由下列的屬性集控制。
// 變更這些屬性的值即可修改組件的相關
// 資訊。
[assembly: AssemblyTitle("Mod_Lang_CHT")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assembl... | apache-2.0 | C# |
ed94660acc095d9dea0c17f2335b209508f2232c | Remove unnecessary parameter in network message | jacobdufault/forge,jacobdufault/forge | Networking/Lobby/LobbyLaunchedHandler.cs | Networking/Lobby/LobbyLaunchedHandler.cs | // The MIT License (MIT)
//
// Copyright (c) 2013 Jacob Dufault
//
// 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, cop... | // The MIT License (MIT)
//
// Copyright (c) 2013 Jacob Dufault
//
// 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, cop... | mit | C# |
d3ca15cf4a3a8b2481970ade41598ceaadcc62f0 | bump version to 1.5.12 | martin2250/OpenCNCPilot | OpenCNCPilot/Properties/AssemblyInfo.cs | OpenCNCPilot/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenCNCPilot")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OpenCNCPilot")]
[as... | mit | C# |
be34d4a82ae6920bc8ecb1cf2c9a525009f6619e | fix issue causing packager to use wrong video access arguments | IUMDPI/IUMediaHelperApps | Packager/Utilities/VideoFFMPEGRunner.cs | Packager/Utilities/VideoFFMPEGRunner.cs | using Packager.Models;
using Packager.Observers;
using Packager.Providers;
namespace Packager.Utilities
{
public class VideoFFMPEGRunner : AbstractFFMPEGRunner
{
public VideoFFMPEGRunner(IProgramSettings programSettings, IProcessRunner processRunner, IObserverCollection observers, IFileProvider filePr... | using Packager.Models;
using Packager.Observers;
using Packager.Providers;
namespace Packager.Utilities
{
public class VideoFFMPEGRunner : AbstractFFMPEGRunner
{
public VideoFFMPEGRunner(IProgramSettings programSettings, IProcessRunner processRunner, IObserverCollection observers, IFileProvider filePr... | apache-2.0 | C# |
313c8783bcb306294c70fa478fc536e73f7f190b | 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# |
2b4af457bf590cba4a2660a2f662d57d4a1e0a01 | Add RuntimeFeature.IsDynamicCodeSupported/IsDynamicCodeCompiled | ViktorHofer/corefx,ptoonen/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ptoonen/corefx,ptoonen/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,ericstj/corefx,shimingsg/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ptoonen/corefx,shimingsg/corefx,wtgodbe/corefx,ptoonen/corefx,shimi... | src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.cs | src/Common/src/CoreLib/System/Runtime/CompilerServices/RuntimeFeature.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.
namespace System.Runtime.CompilerServices
{
public static partial class RuntimeFeature
{
/// <summar... | // 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.
namespace System.Runtime.CompilerServices
{
public static class RuntimeFeature
{
/// <summary>
... | mit | C# |
c183242ae219012102aaa23a8895a97b10efdb98 | Update ExampleCommand.cs | DarkIrata/WinCommandPalette | Plugins/ExamplePlugin/ExampleCommand.cs | Plugins/ExamplePlugin/ExampleCommand.cs | using System;
using System.Windows.Forms;
using WinCommandPalette.PluginSystem;
namespace ExamplePlugin
{
public class ExampleCommand : ICommand
{
public string Name { get; set; }
public string Description => "Anyone there?";
public bool RunInUIThread => false;
... | using System;
using System.Windows.Forms;
using WinCommandPalette.PluginSystem;
namespace ExamplePlugin
{
public class ExampleCommand : ICommand
{
public string Name { get; set; }
public string Description => "Anyone there?";
public bool RunInUIThread => false;
... | mit | C# |
63923acbe67fbb81fd486731fca407baf0581638 | Fix Issue with Scenario Outline Data Containing Parenthesis | picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,magicmonty/pickles,picklesdoc/pickles,dirkrombauts/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,magicmonty/pickles,magicmonty/pickles,dirkrombauts/pickles,picklesdoc/pickles | src/Pickles/Pickles.TestFrameworks/NUnit/NUnitExampleSignatureBuilder.cs | src/Pickles/Pickles.TestFrameworks/NUnit/NUnitExampleSignatureBuilder.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NUnitExampleSignatureBuilder.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// License... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="NUnitExampleSignatureBuilder.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// License... | apache-2.0 | C# |
49cab0696bbb2a1b8d8ebe252cacedd0d95c7dd4 | Update XmlExtension.cs | yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples | Simple.Common/Extensions/XmlExtension.cs | Simple.Common/Extensions/XmlExtension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;
namespace Simple.Common.Extensions
{
public static class XmlExtension
{
public static string GetNodeText(this XmlNode node, string xpath)
{
var singleNode ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
namespace Simple.Common.Extensions
{
public static class XmlExtension
{
public static string GetNodeText(this XmlNode node, string xpath)
{
var singleNode = node.SelectSingleNode... | apache-2.0 | C# |
cbc6d82a85ee412a85088324287ce5da365814c7 | Add setter to Proxy property. | GetTabster/Tabster | Tabster.Core/Searching/ISearchService.cs | Tabster.Core/Searching/ISearchService.cs | #region
using System.Net;
using Tabster.Core.Data.Processing;
using Tabster.Core.Types;
#endregion
namespace Tabster.Core.Searching
{
/// <summary>
/// Tab service which enables searching.
/// </summary>
public interface ISearchService
{
/// <summary>
/// Serv... | #region
using System.Net;
using Tabster.Core.Data.Processing;
using Tabster.Core.Types;
#endregion
namespace Tabster.Core.Searching
{
/// <summary>
/// Tab service which enables searching.
/// </summary>
public interface ISearchService
{
/// <summary>
/// Serv... | apache-2.0 | C# |
58a11ff27a790bb834483128188d5bbea25b686c | test number 3 | llthelinkll/PowYingChub,llthelinkll/opencv_project_1,llthelinkll/opencv_project_1,llthelinkll/opencv_project_1,llthelinkll/PowYingChub,llthelinkll/PowYingChub,llthelinkll/opencv_project_1,llthelinkll/PowYingChub | Unity/PowYingChub/Assets/SocketClient.cs | Unity/PowYingChub/Assets/SocketClient.cs | using UnityEngine;
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public class SocketClient : MonoBehaviour {
// Use this for initialization
//private const int listenPort = 5005;
public GameObject hero;
private float xPos = 10.0f;
... | using UnityEngine;
using System;
using System.Collections;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
public class SocketClient : MonoBehaviour {
// Use this for initialization
//private const int listenPort = 5005;
public GameObject hero;
private float xPos = 10.0f;
... | mit | C# |
a9bf79e08b64e0eab5721a4422deddbfec146705 | bump version | poma/HotsStats | StatsDisplay/Properties/AssemblyInfo.cs | StatsDisplay/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | mit | C# |
d559e9978db765162e37db0f296440e57577e9a8 | Update constant name. | Lombiq/Helpful-Extensions,Lombiq/Helpful-Extensions | Extensions/Widgets/Drivers/PortalMenuWidgetDisplayDriver.cs | Extensions/Widgets/Drivers/PortalMenuWidgetDisplayDriver.cs | using Lombiq.HelpfulExtensions.Extensions.Widgets.ViewModels;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.... | using Lombiq.HelpfulExtensions.Extensions.Widgets.ViewModels;
using Microsoft.AspNetCore.Mvc.Infrastructure;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.DisplayManagement.Handlers;
using OrchardCore.DisplayManagement.Views;
using OrchardCore.... | bsd-3-clause | C# |
f5946c0e07b7aa39dd7fb14e62a29c7cc77f3f71 | Fix wrong license header | peppy/osu,naoey/osu,2yangk23/osu,UselessToucan/osu,smoogipooo/osu,Drezi126/osu,ZLima12/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,Nabile-Rahmani/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,ZLima12/osu,naoey/osu,peppy/osu,D... | osu.Game/Overlays/Settings/SettingsButton.cs | osu.Game/Overlays/Settings/SettingsButton.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.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsButton : OsuButton
{
... | // 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.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings
{
public class SettingsButton : OsuButt... | mit | C# |
bc89764a7235f80a24a28eb9064a100be33076a1 | Fix test assertion for hostname to ip resolver | rapidcore/rapidcore,rapidcore/rapidcore | test/unit/Network/HostnameToIpResolverTest.cs | test/unit/Network/HostnameToIpResolverTest.cs | using System.Net.Sockets;
using System.Threading.Tasks;
using RapidCore.Network;
using Xunit;
namespace RapidCore.UnitTests.Network
{
public class HostnameToIpResolverTest
{
[Fact]
public async Task HostnameToIpResolver_can_resolveAsync()
{
var resolver = new HostnameToIpRe... | using System.Net.Sockets;
using System.Threading.Tasks;
using RapidCore.Network;
using Xunit;
namespace RapidCore.UnitTests.Network
{
public class HostnameToIpResolverTest
{
[Fact]
public async Task HostnameToIpResolver_can_resolveAsync()
{
var resolver = new HostnameToIpRe... | mit | C# |
3980f84a540a341924408d03b1fb9af40422882a | Add bundle optimization on release | laedit/Borderlands2-Golden-Keys,laedit/Borderlands2-Golden-Keys | Borderlands2GoldendKeys/Borderlands2GoldendKeys/App_Start/BundleConfig.cs | Borderlands2GoldendKeys/Borderlands2GoldendKeys/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace Borderlands2GoldendKeys
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.A... | using System.Web;
using System.Web.Optimization;
namespace Borderlands2GoldendKeys
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.A... | apache-2.0 | C# |
377a94a26be59be0ca73756a53b6b52bf7f25a27 | update contansts to include csomtimeout | 8v060htwyc/PnP,OneBitSoftware/PnP,PaoloPia/PnP,zrahui/PnP,yagoto/PnP,PaoloPia/PnP,OneBitSoftware/PnP,vman/PnP,IvanTheBearable/PnP,OzMakka/PnP,PaoloPia/PnP,brennaman/PnP,vman/PnP,jlsfernandez/PnP,russgove/PnP,OzMakka/PnP,russgove/PnP,zrahui/PnP,jlsfernandez/PnP,8v060htwyc/PnP,OzMakka/PnP,vman/PnP,IvanTheBearable/PnP,Off... | Solutions/Provisioning.UX.App/Provisioning.Common/Data/SPDataConstants.cs | Solutions/Provisioning.UX.App/Provisioning.Common/Data/SPDataConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Provisioning.Common.Data
{
internal static class SPDataConstants
{
#region SharePoint Metadata Repository
public const string LIST_URL_SITECLASSIFICATION = "Lists/SiteC... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Provisioning.Common.Data
{
internal static class SPDataConstants
{
#region SharePoint Metadata Repository
public const string LIST_URL_SITECLASSIFICATION = "Lists/SiteC... | mit | C# |
6a9681b955e3b26ea7d2fc89b5b5de4105434df9 | Add CanManagePlots on project creation | leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.DataModel/ProjectAcl.cs | JoinRpg.DataModel/ProjectAcl.cs | using System;
namespace JoinRpg.DataModel
{
// ReSharper disable once ClassWithVirtualMembersNeverInherited.Global (required by LINQ)
public class ProjectAcl
{
public int ProjectAclId { get; set; }
public int ProjectId { get; set; }
public virtual Project Project { get; set; }
public int User... | using System;
namespace JoinRpg.DataModel
{
// ReSharper disable once ClassWithVirtualMembersNeverInherited.Global (required by LINQ)
public class ProjectAcl
{
public int ProjectAclId { get; set; }
public int ProjectId { get; set; }
public virtual Project Project { get; set; }
public int User... | mit | C# |
8320cebd7ab98835cca855fb01789ed6696c6d43 | fix classical plugin failing to start when use=shell | stakira/OpenUtau,stakira/OpenUtau | OpenUtau.Core/Classic/Plugin.cs | OpenUtau.Core/Classic/Plugin.cs | using System.Diagnostics;
using System.IO;
namespace OpenUtau.Classic {
public class Plugin {
public string Name;
public string Executable;
public bool AllNotes;
public bool UseShell;
public void Run(string tempFile) {
if (!File.Exists(Executable)) {... | using System.Diagnostics;
using System.IO;
namespace OpenUtau.Classic {
public class Plugin {
public string Name;
public string Executable;
public bool AllNotes;
public bool UseShell;
public void Run(string tempFile) {
if (!File.Exists(Executable)) {
... | mit | C# |
80783f66bc6c241e3206b358d7bfec81f20f075f | Change raycast provider tests to use PlaymodeTestUtilities instead of TestUtilities | killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Tests/PlayModeTests/InputSystem/DefaultRaycastProviderTest.cs | Assets/MixedRealityToolkit.Tests/PlayModeTests/InputSystem/DefaultRaycastProviderTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Physics;
using NUnit.Framework;
using System.Collections;
using Uni... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if !WINDOWS_UWP
using Microsoft.MixedReality.Toolkit.Input;
using Microsoft.MixedReality.Toolkit.Physics;
using NUnit.Framework;
using System.Collections;
using Uni... | mit | C# |
68cd02d07a4b882bfe2e781c68dda2e2e9fceb79 | Fix add cookie throwing because of the empty domain | restsharp/RestSharp | src/RestSharp/RestClientExtensions.Config.cs | src/RestSharp/RestClientExtensions.Config.cs | // Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community
//
// 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... | // Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community
//
// 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... | apache-2.0 | C# |
b669d6ed960a5077edd2ed3375cf6f5bcedd5b4f | Fix build error after merge | AMVSoftware/NSaga | src/Tests.Benchmarking/FastSagaRepository.cs | src/Tests.Benchmarking/FastSagaRepository.cs | using System;
using System.Collections.Generic;
using NSaga;
namespace Benchmarking
{
/// <summary>
/// Saga repository only for benchmarking.
/// Does not really store anything
/// </summary>
internal class FastSagaRepository : ISagaRepository
{
private readonly ISagaFactory sagaFact... | using System;
using System.Collections.Generic;
using NSaga;
namespace Benchmarking
{
/// <summary>
/// Saga repository only for benchmarking.
/// Does not really store anything
/// </summary>
internal class FastSagaRepository : ISagaRepository
{
private readonly ISagaFactory sagaFact... | mit | C# |
9a36b21c307641d238327336b7970b3b60695aaf | Remove Leg option from PlayOptions | pragmatrix/NEventSocket,pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket | src/NEventSocket/FreeSwitch/PlayOptions.cs | src/NEventSocket/FreeSwitch/PlayOptions.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlayOptions.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// -------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PlayOptions.cs" company="Dan Barua">
// (C) Dan Barua and contributors. Licensed under the Mozilla Public License.
// </copyright>
// -------------------------------------------... | mpl-2.0 | C# |
bf78f8512b16bae16f7c2f3a7363b7004be6678a | Fix warning | SaladLab/TrackableData,SaladLab/TrackableData,SaladbowlCreative/TrackableData,SaladbowlCreative/TrackableData | plugins/TrackableData.Redis.Tests/Redis.cs | plugins/TrackableData.Redis.Tests/Redis.cs | using System;
using System.Configuration;
using StackExchange.Redis;
namespace TrackableData.Redis.Tests
{
public sealed class Redis : IDisposable
{
public ConnectionMultiplexer Connection { get; private set; }
public IDatabase Db
{
get { return Connection.GetDatabase(0); ... | using System;
using System.Configuration;
using StackExchange.Redis;
namespace TrackableData.Redis.Tests
{
public class Redis : IDisposable
{
public ConnectionMultiplexer Connection { get; private set; }
public IDatabase Db
{
get { return Connection.GetDatabase(0); }
... | mit | C# |
365e92a71d95d34619e6277aae7614edbc814916 | return data from request only when it is populated | AnthonySteele/TeamCityChangeNotifier | TeamCityChangeNotifier/Http/TeamCityAuth.cs | TeamCityChangeNotifier/Http/TeamCityAuth.cs | using System;
using System.Text;
using TeamCityChangeNotifier.Args;
using TeamCityChangeNotifier.Helpers;
using TeamCityChangeNotifier.XmlParsers;
namespace TeamCityChangeNotifier.Http
{
public class TeamCityAuth
{
private readonly ConfigSettings _settings = new ConfigSettings();
private readonly Req... | using System;
using System.Text;
using TeamCityChangeNotifier.Args;
using TeamCityChangeNotifier.Helpers;
using TeamCityChangeNotifier.XmlParsers;
namespace TeamCityChangeNotifier.Http
{
public class TeamCityAuth
{
private readonly ConfigSettings _settings = new ConfigSettings();
private readonly Req... | mit | C# |
d6068dac670c8c772176418a1ea9a7934b0bf2b8 | Fix tests. | n-develop/tickettimer | TicketTimer.Core.Tests/StartCommandTests.cs | TicketTimer.Core.Tests/StartCommandTests.cs | using System;
using System.IO;
using TicketTimer.Core.Commands;
using TicketTimer.Core.Infrastructure;
using TicketTimer.Core.Services;
using TicketTimer.Core.Tests.Mocks;
using Xunit;
namespace TicketTimer.Core.Tests
{
public class StartCommandTests
{
[Fact(Skip = "This test is not usefull, yet...")]... | using System;
using System.IO;
using TicketTimer.Core.Commands;
using Xunit;
namespace TicketTimer.Core.Tests
{
public class StartCommandTests
{
[Fact(Skip = "This test is not usefull, yet...")]
public void NoParameters_PrintsHelpText()
{
using (StringWriter consoleOutput =... | mit | C# |
29d3ee0ba0694b4c97448cf9cb34dab43aada626 | Set defaults for ScriptInclude should prevent NullReference exceptions on trying to sort imported scripts Closes #2. | will-hart/AnvilEditor,will-hart/AnvilEditor | AnvilEditor/Models/ScriptInclude.cs | AnvilEditor/Models/ScriptInclude.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnvilEditor.Models
{
/// <summary>
/// Contains information about a script that should be included in the mission
/// </summary>
public class ScriptInclude
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnvilEditor.Models
{
/// <summary>
/// Contains information about a script that should be included in the mission
/// </summary>
public class ScriptInclude
{
/// <s... | mit | C# |
278947a43ee6ab4a63042e25d1bcf7bb5b4e05f7 | Introduce a variable to workaround an issue with the RAZR code generation which was generating an invalid lambda statement found while updating to MVC4. | mtian/SiteExtensionGallery,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,KuduApps/NuGetGallery,projectkudu/SiteExtensionGallery,ScottShingler/NuGetGallery,grenade/NuGetGallery_download-count-patch,ScottShingler/NuGetGallery,KuduApps/NuGetGallery,JetBrains/ReSharperGallery,grenade/NuGetGallery_download-count-pat... | Website/Views/Packages/ContactOwners.cshtml | Website/Views/Packages/ContactOwners.cshtml | @model ContactOwnersViewModel
@{
ViewBag.Tab = "Packages";
var owners = Model.Owners.Flatten(@<text>@item.Username</text>);
}
<h1 class="page-heading">Contact the Owners of "@Model.PackageId"</h1>
@if (Model.Owners.Any())
{
<p class="message">
By submitting this form, you agree to <em>disclose you... | @model ContactOwnersViewModel
@{
ViewBag.Tab = "Packages";
}
<h1 class="page-heading">Contact the Owners of "@Model.PackageId"</h1>
@if (Model.Owners.Any())
{
<p class="message">
By submitting this form, you agree to <em>disclose your email address</em>
to the package owners listed below so t... | apache-2.0 | C# |
75f78ac8dfbcfa76bf4bde82948761d0fd1372db | Add check for strStatus=null to TestBridgeClient | anupam128/reef,afchung/reef,anupam128/reef,apache/reef,apache/reef,markusweimer/reef,nachocano/incubator-reef,tcNickolas/incubator-reef,dongjoon-hyun/reef,tcNickolas/reef,markusweimer/incubator-reef,nachocano/incubator-reef,markusweimer/reef,tcNickolas/reef,markusweimer/incubator-reef,nachocano/incubator-reef,motus/ree... | lang/cs/Org.Apache.REEF.Tests/Functional/Bridge/TestBridgeClient.cs | lang/cs/Org.Apache.REEF.Tests/Functional/Bridge/TestBridgeClient.cs | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you ma... | apache-2.0 | C# |
142935a73488b860ccd1527a684313cfe96f481d | Update WeeklyXamarin.cs | beraybentesen/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin... | src/Firehose.Web/Authors/WeeklyXamarin.cs | src/Firehose.Web/Authors/WeeklyXamarin.cs | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class WeeklyXamarin : IAmACommunityMember
{
public string FirstName => "Weekly";
public string LastName => "Xamarin";
public string StateOrRegion => "Internet";
... | using Firehose.Web.Infrastructure;
using System;
using System.Collections.Generic;
namespace Firehose.Web.Authors
{
public class WeeklyXamarin : IAmACommunityMember
{
public string FirstName => "Weekly";
public string LastName => "Xamarin";
public string StateOrRegion => "Internet";
... | mit | C# |
4cf52c7d6e81590f000904997404afa203de08b2 | Add action "Show Error" option | danielchalmers/DesktopWidgets | DesktopWidgets/Actions/ActionBase.cs | DesktopWidgets/Actions/ActionBase.cs | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
[DisplayName("Show Errors")]
... | using System;
using System.ComponentModel;
using System.Windows;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Actions
{
public abstract class ActionBase
{
[DisplayName("Delay")]
public TimeSpan Delay { get; set; } = TimeSpan.FromSeconds(0);
public void Execute()
{
... | apache-2.0 | C# |
48de9293544ef62a364f040672df3beb6df5c486 | Add TimeSpan methods | tjb042/Establishment | Establishment/TimeSpanEstablisher.cs | Establishment/TimeSpanEstablisher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
public class TimeSpanEstablisher : BaseStructEstablisher<TimeSpan> {
public bool IsZero(TimeSpan baseline) {
if (baseline.Ticks != TimeSpan.Zero.Ticks... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
public class TimeSpanEstablisher : BaseStructEstablisher<TimeSpan> {
}
}
| mit | C# |
3f9d3253740eca3863064f10f0cdc5a3ab72b018 | Add Employee Data Annotations. | TeamYAGNI/LibrarySystem | LibrarySystem/LibrarySystem.Models/Employee.cs | LibrarySystem/LibrarySystem.Models/Employee.cs | // <copyright file="Employee.cs" company="YAGNI">
// All rights reserved.
// </copyright>
// <summary>Holds implementation of Book model.</summary>
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using LibrarySystem.Models.Enumerations;
namespace LibrarySystem.Models... | using System.ComponentModel.DataAnnotations;
using LibrarySystem.Models.Enumerations;
namespace LibrarySystem.Models
{
public class Employee
{
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Name { get; set; }
public int JobTitleId { get; set; }
... | mit | C# |
322097700e855a6ae50ce4bc6841657d839a7d66 | Fix a trivial style bug in RoutePrefixAttribute prefix. | lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting | Nancy.AttributeRouting/RoutePrefixAttribute.cs | Nancy.AttributeRouting/RoutePrefixAttribute.cs | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The RoutePrefix attribute. It decorates on class, indicates the path from route attribute on
/// the class and child class will be prefixed.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
... | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The RoutePrefix attribute. It decorates on class, indicates the path from route attribute on
/// the class and child class will be prefixed.
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
... | mit | C# |
b5f6285f34cd9deae2739c205c115e43767b2c86 | Save newly created csproj files without BOM | Zylann/godot,akien-mga/godot,pkowal1982/godot,Paulloz/godot,honix/godot,akien-mga/godot,sanikoyes/godot,Faless/godot,akien-mga/godot,godotengine/godot,DmitriySalnikov/godot,Paulloz/godot,MarianoGnu/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,Valentactive/godot,akien-mga/godot,Faless/godot,ZuBsPaCe/godot,josempans/god... | modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectGenerator.cs | modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectGenerator.cs | using System;
using System.IO;
using System.Text;
using Microsoft.Build.Construction;
using Microsoft.Build.Evaluation;
namespace GodotTools.ProjectEditor
{
public static class ProjectGenerator
{
public const string GodotSdkVersionToUse = "4.0.0-dev2";
public static string GodotSdkAttrValue =>... | using System;
using System.IO;
using Microsoft.Build.Construction;
using Microsoft.Build.Evaluation;
namespace GodotTools.ProjectEditor
{
public static class ProjectGenerator
{
public const string GodotSdkVersionToUse = "4.0.0-dev2";
public static string GodotSdkAttrValue => $"Godot.NET.Sdk/{G... | mit | C# |
8dd08cab3d5a407c0a6c52857d786845981a4754 | Hide command internal properties in inspector | RonanPearce/Fungus,kdoore/Fungus,tapiralec/Fungus,inarizushi/Fungus,snozbot/fungus,lealeelu/Fungus,Nilihum/fungus,FungusGames/Fungus | Assets/Fungus/FungusScript/Scripts/Command.cs | Assets/Fungus/FungusScript/Scripts/Command.cs | #if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class CommandInfoAttribute : Attribute
{
public CommandInfoAttribute(string category, string commandName, string helpText)
{
this.Category = categ... | #if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace Fungus
{
public class CommandInfoAttribute : Attribute
{
public CommandInfoAttribute(string category, string commandName, string helpText)
{
this.Category = categ... | mit | C# |
37ef64db5f16c4d12d723e74423c5ccdb65cb03b | teste 2 no vs | marcelogomesrp/pim3 | AdmCondominio/AdmCondominio/model/Flavio.cs | AdmCondominio/AdmCondominio/model/Flavio.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdmCondominio.model
{
public class Flavio
{
public string Nome { get; set; }
public string RA { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdmCondominio.model
{
public class Flavio
{
public string Nome { get; set; }
//teste
//teste2
//teste3
}
}
| apache-2.0 | C# |
14f020c8ac946e36a3be2ecf3d4fc3215ee0cc30 | Clean up some use of Approval tests. | Minions/Fools.net,arlobelshee/Fools.net,JayBazuzi/Fools.net | src/Core/Gibberish.Tests/RecognizeBlockSyntax/InterpretWholeFile.cs | src/Core/Gibberish.Tests/RecognizeBlockSyntax/InterpretWholeFile.cs | using ApprovalTests.Reporters;
using Gibberish.AST._1_Bare;
using Gibberish.Parsing;
using Gibberish.Tests.ZzTestHelpers;
using NUnit.Framework;
namespace Gibberish.Tests.RecognizeBlockSyntax
{
[TestFixture]
public class InterpretWholeFile
{
[Test]
public void should_accept_multiple_language_constructs()
{
... | using ApprovalTests.Reporters;
using Gibberish.AST._1_Bare;
using Gibberish.Parsing;
using Gibberish.Tests.ZzTestHelpers;
using NUnit.Framework;
namespace Gibberish.Tests.RecognizeBlockSyntax
{
[TestFixture]
public class InterpretWholeFile
{
[Test, UseReporter(typeof(QuietReporter))]
public void should_accept_... | bsd-3-clause | C# |
a9a1a90efb62f6871e04b7173e5efa2d2536b666 | add more case | autumn009/TanoCSharpSamples | Chap35/RangeAndIndex/RangeAndIndex/Program.cs | Chap35/RangeAndIndex/RangeAndIndex/Program.cs | using System;
class Program
{
private static char[] ar = { 'P', 'E', 'N', 'D', 'U', 'L', 'U', 'M' };
private static void sub(string label, Range range)
{
Console.Write($"{label}: ");
var r1 = ar[range];
foreach (var item in r1) Console.Write(item);
Console.WriteLine();
... | using System;
class Program
{
private static char[] ar = { 'P', 'E', 'N', 'D', 'U', 'L', 'U', 'M' };
private static void sub(string label, Range range)
{
Console.Write($"{label}: ");
var r1 = ar[range];
foreach (var item in r1) Console.Write(item);
Console.WriteLine();
... | mit | C# |
88997dae9ec79bb21b9c20f9356b7db5353d2e6f | Remove unused code from SwaggerApplicationConvention | domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy,domaindrivendev/Ahoy,c3-ls/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,oconics/Ahoy,oconics/Ahoy,c3-ls/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Ahoy | src/Swashbuckle.Swagger/Application/SwaggerApplicationConvention.cs | src/Swashbuckle.Swagger/Application/SwaggerApplicationConvention.cs | using Microsoft.AspNet.Mvc.ApplicationModels;
namespace Swashbuckle.Application
{
public class SwaggerApplicationConvention : IApplicationModelConvention
{
public void Apply(ApplicationModel application)
{
application.ApiExplorer.IsVisible = true;
foreach (var controlle... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Mvc.ApplicationModels;
namespace Swashbuckle.Application
{
public class SwaggerApplicationConvention : IApplicationModelConvention
{
public void Apply(ApplicationModel application)
{
applicati... | mit | C# |
06f069e76d9aead8429e5cb99abffa3e43e00959 | Tweak to #2879 - remove compiler directives (#3081) | xkproject/Orchard2,petedavis/Orchard2,petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,petedavis/Orchard2,OrchardCMS/Brochard,OrchardCMS/Brochard,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Br... | src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Startup.cs | src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Startup.cs | using System;
using GraphQL;
using GraphQL.Http;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using OrchardCore.Apis.GraphQL.Services;
using OrchardCore.Modules;
using... | using System;
using GraphQL;
using GraphQL.Http;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using OrchardCore.Apis.GraphQL.Services;
using OrchardCore.Modules;
using OrchardCore.Navigation;
using Orcha... | bsd-3-clause | C# |
401429feeccbcb92818cfd31f5020ffdf3070abe | Revert changes to ScrenTestScene | 2yangk23/osu,ppy/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,ppy/osu,UselessToucan/osu,peppy/osu-new | osu.Game/Tests/Visual/ScreenTestScene.cs | osu.Game/Tests/Visual/ScreenTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <s... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Testing;
using osu.Game.Screens;
namespace osu.Game.Tests.Visual
{
/// <s... | mit | C# |
858bce5c7900d5f6d0688d7ea762efb3629af386 | Enable fat test. | CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,trivalik/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,fanoI/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,zarlo/Cosmos | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
////yield return typeof(Cosmos.Compiler.Tests.E... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
////yield return typeof(Cosmos.Compiler.Tests.E... | bsd-3-clause | C# |
17efa80b054e3642d690f3b23beeb1680093343d | add supported algorithms to utils | Aimeast/FxSsh | FxSsh/KeyUtils.cs | FxSsh/KeyUtils.cs | using System;
using System.Diagnostics.Contracts;
using System.Security.Cryptography;
namespace FxSsh
{
public static class KeyUtils
{
public static string GetFingerprint(string sshkey)
{
Contract.Requires(sshkey != null);
using (var md5 = new MD5CryptoServiceProvider(... | using System;
using System.Diagnostics.Contracts;
using System.Security.Cryptography;
namespace FxSsh
{
public static class KeyUtils
{
public static string GetFingerprint(string sshkey)
{
Contract.Requires(sshkey != null);
using (var md5 = new MD5CryptoServiceProvider(... | mit | C# |
947b3f4762237702f6f9092ec07c9efe9652d80f | Set the background of the results view controller to white to avoid any black patches. | xamarin/ModernHttpClient,kensykora/ModernHttpClient,paulcbetts/ModernHttpClient,pacificIT/ModernHttpClient,nachocove/ModernHttpClient-demo,djlewisxactware/ModernHttpClient,tomgilder/OkHttpClient,nachocove/ModernHttpClient,scoodah/ModernHttpClient,leonardors/ModernHttpClient,tomgilder/OkHttpClient,tpurtell/ModernHttpCli... | samples/HttpClient.iOS/Main.cs | samples/HttpClient.iOS/Main.cs | //
// This sample shows how to use the two Http stacks in MonoTouch:
// The System.Net.WebRequest.
// The MonoTouch.Foundation.NSMutableUrlRequest
//
using System;
using System.IO;
using System.Linq;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Net.Http;
using System.Xml;
usin... | //
// This sample shows how to use the two Http stacks in MonoTouch:
// The System.Net.WebRequest.
// The MonoTouch.Foundation.NSMutableUrlRequest
//
using System;
using System.IO;
using System.Linq;
using System.Drawing;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Net.Http;
using System.Xml;
usin... | mit | C# |
6f7458684af61379b617b29b09c34d4aaeab6414 | Update Index.cshtml | kappy/DynamicMvcApplication,kappy/DynamicMvcApplication | DynamicMvcApplication/Views/Home/Index.cshtml | DynamicMvcApplication/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<p>
This is my home
</p>
<a href="http://www.google.pt" id="tstButton">
| @{
ViewBag.Title = "Home Page";
}
<p>
This is my home
</p>
| apache-2.0 | C# |
e6743dbd364cf637bf696c7491c7277a8063e1d7 | Add partialView '_carousel' into home/index | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos | Fatec.Treinamento.Web/Views/Home/Index.cshtml | Fatec.Treinamento.Web/Views/Home/Index.cshtml | @{
ViewBag.Title = "Treinamentos AOXO";
}
<div id="banner-inicio" class="jumbotron full-width-div">
@*<div class="container">*@
<div class="carouse-div">
@Html.Partial("_Carousel")
@*<h1>Domine sua carreira</h1>
<p class="lead">
Bem vindo ao <b>AOXO<... | @{
ViewBag.Title = "Treinamentos AOXO";
}
<div id="banner-inicio" class="jumbotron full-width-div">
<div class="container">
<h1>Domine sua carreira</h1>
<p class="lead">
Bem vindo ao <b>AOXO</b>. A plataforma de tecnologia de aprendizado on-demand para você se manter capacitado
... | apache-2.0 | C# |
9d221376e1946e70b2ea6ab5a2c399e015aeb24c | Fix syntax error | jamesqo/roslyn,AnthonyDGreen/roslyn,drognanar/roslyn,MattWindsor91/roslyn,jcouv/roslyn,mattscheffer/roslyn,kelltrick/roslyn,eriawan/roslyn,jasonmalinowski/roslyn,panopticoncentral/roslyn,abock/roslyn,Hosch250/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,AnthonyDGreen/roslyn,srivatsn/roslyn,bkoelman/roslyn,brettfo/rosl... | src/VisualStudio/Core/SolutionExplorerShim/DiagnosticItem/LegacyDiagnosticItemProvider.cs | src/VisualStudio/Core/SolutionExplorerShim/DiagnosticItem/LegacyDiagnosticItemProvider.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Micro... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.Internal.VisualStudio.PlatformUI;
using Micro... | apache-2.0 | C# |
771349362bbd5b3e3a59bda8885cf02b80ab6d7f | Implement Alpha node. | modulexcite/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,rytmis/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,modulexcite/dotless,dotless/dotless,NickCraver/dotless,r2i-sitecore/dotless,NickCraver/dotless,NickCraver/dotless,modulexcite/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,r2i-sit... | dotlessjs.Core/Tree/Alpha.cs | dotlessjs.Core/Tree/Alpha.cs | using dotless.Infrastructure;
namespace dotless.Tree
{
public class Alpha : Node
{
public Node Value { get; set; }
public Alpha(Node value)
{
Value = value;
}
public override string ToCSS(Env env)
{
return string.Format("alpha(opacity={0})", Value.ToCSS(env));
}
}
} | using System;
using dotless.Infrastructure;
namespace dotless.Tree
{
public class Alpha : Node
{
public Alpha(Node value)
{
throw new NotImplementedException();
}
}
} | apache-2.0 | C# |
4e29bd2caf0edf3b440bbcfa27e34fb05407a75e | Update demo | sunkaixuan/SqlSugar | Src/Asp.Net/SqlServerTest/Config.cs | Src/Asp.Net/SqlServerTest/Config.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
/// <summary>
/// Setting up the database name does not require you to create the database
/// 设置好数据库名不需要你去手动建库
/// </summary>
public class Config
{
/... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class Config
{
public static string ConnectionString = "server=.;uid=sa;pwd=haosql;database=SQLSUGAR4XTEST";
public static string ConnectionString2 = "... | apache-2.0 | C# |
daff8d07d3242cbd00ab7fe48b28500cbd800d40 | Update move method. | TammiLion/TacoTinder | TacoTinder/Assets/Scripts/Player.cs | TacoTinder/Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public int playerID;
public float baseFireCooldown;
public float baseRotationSpeed;
public God god;
// public Weapon weapon;
public Vector2 direction; // Maybe this should be private?
public Vector2 targetDirection; // This too.... | using UnityEngine;
using System.Collections;
public class Player : MonoBehaviour {
public int playerID;
public float baseFireCooldown;
public float baseRotationSpeed;
public God god;
// public Weapon weapon;
public Vector2 direction; // Maybe this should be private?
public Vector2 targetDirection; // This too.... | apache-2.0 | C# |
a5a92fee7c584843ef1561e74c300ee9ecd22af2 | 修复源集合处理键为空的异常。 :minidisc: | Zongsoft/Zongsoft.Data | src/Common/Expressions/SourceCollection.cs | src/Common/Expressions/SourceCollection.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | lgpl-2.1 | C# |
a684470af53446e0547bac89b524825c66533abf | change value of one enumeration | fredatgithub/UsefulFunctions | FonctionsUtiles.Fred.Csharp/Enumerations.cs | FonctionsUtiles.Fred.Csharp/Enumerations.cs | namespace FonctionsUtiles.Fred.Csharp
{
public enum TimeSpanElement
{
Millisecond,
Second,
Minute,
Hour,
Day
}
public enum LetterCasingSequence
{
LowerUpperDigit,
UpperLowerDigit,
DigitLowerUpper,
DigitUpperLower,
LowerDigitUpper,
UpperDigitLower
}
public enu... | namespace FonctionsUtiles.Fred.Csharp
{
public enum TimeSpanElement
{
Millisecond,
Second,
Minute,
Hour,
Day
}
public enum LetterCasingSequence
{
LowerUpperDigit,
UpperLowerDigit,
DigitLowerUpper,
DigitUpperLower,
LowerDigitUpper,
UpperDigitLower
}
public enu... | mit | C# |
7d216fa9228ebd86e01a4ba7f3837592564a99ed | Fix #40 | lucasdavid/Gamedalf,lucasdavid/Gamedalf | Gamedalf/Controllers/Api/TermsController.cs | Gamedalf/Controllers/Api/TermsController.cs | using Gamedalf.Core.Models;
using Gamedalf.Services;
using Gamedalf.ViewModels;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
namespace Gamedalf.Controllers.Api
{
public class TermsController : ApiController
{
private readonly TermsService _terms;
... | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Gamedalf.Core.Data;
... | mit | C# |
af6f715366ea657ef0b63113f6a4283eea384e6f | Fix to Facebook Url | fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog | src/FujiyBlog.Web/App_Code/Facebook.cshtml | src/FujiyBlog.Web/App_Code/Facebook.cshtml | @using System.Collections.Specialized
@helper Like(string url){
<iframe src="//www.facebook.com/plugins/like.php?href=@HttpUtility.UrlEncode(url)&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder=... | @using System.Collections.Specialized
@helper Like(string url){
<iframe src="//www.facebook.com/plugins/like.php?href=@HttpUtility.UrlEncode(url)%2F&send=false&layout=button_count&width=450&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" framebord... | mit | C# |
b98d02743b778915251bd23314275c5691c4775d | remove unnecessary case | hecomi/UWO,hecomi/UWO | Assets/UWO/Example/Scripts/AnimationSync.cs | Assets/UWO/Example/Scripts/AnimationSync.cs | using UnityEngine;
using System.Collections;
using UWO;
public class AnimationSync : SynchronizedComponent
{
private Animator animator_;
public Animator animator
{
get { return animator_ ?? (animator_ = GetComponent<Animator>()); }
}
protected override void OnSend()
{
var data = new MultiValue();
foreac... | using UnityEngine;
using System.Collections;
using UWO;
public class AnimationSync : SynchronizedComponent
{
private Animator animator_;
public Animator animator
{
get { return animator_ ?? (animator_ = GetComponent<Animator>()); }
}
protected override void OnSend()
{
var data = new MultiValue();
foreac... | mit | C# |
ef88086fe07538792d7b172f7a7ef53c0998dc18 | Update MicrosoftInterstitialAdUnitBundleTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Advertising/MicrosoftInterstitialAdUnitBundleTests.cs | TIKSN.UnitTests.Shared/Advertising/MicrosoftInterstitialAdUnitBundleTests.cs | using FluentAssertions;
using Xunit;
namespace TIKSN.Advertising.Tests
{
public class MicrosoftInterstitialAdUnitBundleTests
{
[Fact]
public void CreateMicrosoftInterstitialAdUnitBundle()
{
string applicationId = "b008491d-9b9b-4b78-9d5c-28e08b573268";
string ad... | using FluentAssertions;
using Xunit;
namespace TIKSN.Advertising.Tests
{
public class MicrosoftInterstitialAdUnitBundleTests
{
[Fact]
public void CreateMicrosoftInterstitialAdUnitBundle()
{
string tabletApplicationId = "b008491d-9b9b-4b78-9d5c-28e08b573268";
str... | mit | C# |
e51d3833780498e01aabdd67c53ac1a595e53ea1 | add toolbar to the tool window | yysun/git-tools | VSIXProject2019/GitChangesWindow.cs | VSIXProject2019/GitChangesWindow.cs | namespace VSIXProject2019
{
using System;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
/// <summary>
/// This class implements the tool window exposed by this package and hosts a user control.
/// </summary>
/// <remarks>... | namespace VSIXProject2019
{
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
/// <summary>
/// This class implements the tool window exposed by this package and hosts a user control.
/// </summary>
/// <remarks>
/// In Visual Studio tool windows a... | mit | C# |
2b3c3e65d97871eb134365d693afd7fa8b843093 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.9 | AdamsLair/winforms | WinForms/Properties/AssemblyInfo.cs | WinForms/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | mit | C# |
e79b76bc7195a0fba5dee318339870ed9da3fc08 | Add examples to ZermeloAuthenticator | arthurrump/Zermelo.API | Zermelo.API/ZermeloAuthenticator.cs | Zermelo.API/ZermeloAuthenticator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zermelo.API.Factories;
using Zermelo.API.Helpers;
using Zermelo.API.Services.Interfaces;
namespace Zermelo.API
{
/// <summary>
/// This class gives an object that can be used to generate a... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zermelo.API.Factories;
using Zermelo.API.Helpers;
using Zermelo.API.Services.Interfaces;
namespace Zermelo.API
{
/// <summary>
/// This class gives an object that can be used to generate a... | mit | C# |
00e7d624c41b80cfb8be91afe74a52b74ecb5cf0 | Fix orientation's value type stored in metadata | jamesmontemagno/MediaPlugin,jamesmontemagno/MediaPlugin | src/Media.Plugin.iOS/PhotoLibraryAccess.cs | src/Media.Plugin.iOS/PhotoLibraryAccess.cs | using System;
using CoreImage;
using Foundation;
using Photos;
namespace Plugin.Media
{
/// <summary>
/// Accesst library
/// </summary>
public static class PhotoLibraryAccess
{
/// <summary>
///
/// </summary>
/// <param name="url"></param>
/// <returns></returns>
public static NSDictionary GetPhot... | using System;
using CoreImage;
using Foundation;
using Photos;
namespace Plugin.Media
{
/// <summary>
/// Accesst library
/// </summary>
public static class PhotoLibraryAccess
{
/// <summary>
///
/// </summary>
/// <param name="url"></param>
/// <returns></returns>
public static NSDictionary GetPhot... | mit | C# |
dbca758504410e8595b6e07f57717ecd4205b18a | allow for more in-depth customization | NaamloosDT/ModCore,NaamloosDT/ModCore | ModCore/Commands/Base/SimpleConfigModule.cs | ModCore/Commands/Base/SimpleConfigModule.cs | using System.Reflection;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using ModCore.Entities;
using ModCore.Logic;
namespace ModCore.Commands.Base
{
public abstract class SimpleConfigModule : BaseCommandModule
{
protected virtual string Current... | using System.Reflection;
using System.Threading.Tasks;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using ModCore.Entities;
using ModCore.Logic;
namespace ModCore.Commands.Base
{
public abstract class SimpleConfigModule : BaseCommandModule
{
private string CurrentModuleName... | mit | C# |
4ae50b36ded2520818f3e5127752ca5ad2281a1e | Validate assumption that twist axis is primary during import | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Importer/src/dumping/SystemDumper.cs | Importer/src/dumping/SystemDumper.cs | using SharpDX;
using System;
using System.IO;
public class SystemDumper {
private Figure figure;
private bool[] channelsToInclude;
private DirectoryInfo targetDirectory;
public SystemDumper(Figure figure, bool[] channelsToInclude) {
this.figure = figure;
this.channelsToInclude = channelsToInclude;
this.ta... | using System;
using System.IO;
public class SystemDumper {
private Figure figure;
private bool[] channelsToInclude;
private DirectoryInfo targetDirectory;
public SystemDumper(Figure figure, bool[] channelsToInclude) {
this.figure = figure;
this.channelsToInclude = channelsToInclude;
this.targetDirectory =... | mit | C# |
327604fb4c67c12f656c6a27cd4211931cb0ac83 | Add CommandDate so it is deserialized from the JSON response | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.MobileMiner.Api/RemoteCommand.cs | MultiMiner.MobileMiner.Api/RemoteCommand.cs | using System;
namespace MultiMiner.MobileMiner.Api
{
public class RemoteCommand
{
public int Id { get; set; }
public string CommandText { get; set; }
public DateTime CommandDate { get; set; }
}
}
| namespace MultiMiner.MobileMiner.Api
{
public class RemoteCommand
{
public int Id { get; set; }
public string CommandText { get; set; }
}
}
| mit | C# |
eedf83ae2e1d4e0fe7d4b6befc02cebe9b11781c | update version | bijakatlykkex/NBitcoin.Indexer,MetacoSA/NBitcoin.Indexer,NicolasDorier/NBitcoin.Indexer | NBitcoin.Indexer/Properties/AssemblyInfo.cs | NBitcoin.Indexer/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("NB... | 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("NB... | mit | C# |
49be0a09dd431963aee4f472fc17cf23c4c39c32 | Remove dupe check | erikvanbrakel/Cake.Terraform,erikvanbrakel/Cake.Terraform,mikhail-denisenko/Cake.Terraform | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cak... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "Cak... | mit | C# |
c1330c8ee69d79fd3569face721c6f89e0dc7fb5 | Update /Home/Index.cshtml | aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET,aliencube/ReCaptcha.NET | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | SourceCodes/02_Apps/ReCaptcha.Wrapper.WebApp/Views/Home/Index.cshtml | @{
ViewBag.Title = "Index";
}
<div class="row" style="margin-top: 10px;">
<div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
<div class="jumbotron text-center">
<p>@Html.ActionLink("Basic", MVC.Home.ActionNames.Basic)</p>
</div>
</div>
<div class="col-xs-4 col-sm-4 col-md-4 ... | @{
ViewBag.Title = "Index";
}
<h2>@ViewBag.Title</h2>
<ul>
<li>@Html.ActionLink("Basic", MVC.Home.ActionNames.Basic)</li>
<li>@Html.ActionLink("Advanced", MVC.Home.ActionNames.Advanced)</li>
<li>@Html.ActionLink("Callback", MVC.Home.ActionNames.Callback)</li>
</ul>
| mit | C# |
4bdf86020dfeb6065e3bc46d2cfbbcce7d02a6ce | Fix build (#6193) | hyonholee/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,stankovski/azure-sdk-for-net,markcowl/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,hyonholee/azure-sdk-f... | sdk/core/Azure.Core/src/Pipeline/HttpHeader.cs | sdk/core/Azure.Core/src/Pipeline/HttpHeader.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Runtime.InteropServices;
namespace Azure.Core.Pipeline
{
public readonly struct HttpHeader : IEquatable<HttpHeader>
{
public HttpHeader(string name, string value)
{
... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Runtime.InteropServices;
namespace Azure.Core.Pipeline
{
public readonly struct HttpHeader : IEquatable<HttpHeader>
{
public HttpHeader(string name, string value)
{
... | mit | C# |
dba86467ceb0fbe29763ac64403398b02f58eb05 | Test discovery skips over abstract base classes. | AArnott/pcltesting,dsplaisted/pcltesting | PCLTesting/Infrastructure/TestDiscoverer.cs | PCLTesting/Infrastructure/TestDiscoverer.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace PCLTesting.Infrastructure
{
public class TestDiscoverer
{
public IEnumerable<Test> DiscoverTests(Assembly assembly)
{
List<Test> ret = new List<Test>();
foreach (Type type in assembly... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace PCLTesting.Infrastructure
{
public class TestDiscoverer
{
public IEnumerable<Test> DiscoverTests(Assembly assembly)
{
List<Test> ret = new List<Test>();
foreach (Type type in assembly... | mit | C# |
8b8de12a339bf67a3deba7d80c5e566dec198552 | Update triangulator to accept point if at certain distance from reporters | RocketHax/Web,RocketHax/Web,RocketHax/Web | RocketGPSMath/GPSMath/RegionTriangulator.cs | RocketGPSMath/GPSMath/RegionTriangulator.cs | using RocketGPS.GPSMath;
using RocketGPS.Model;
using RocketGPSMath.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RocketGPSMath.GPSMath
{
public class RegionTriangulator
{
public List<GPSCoordinateBearing> reports;
... | using RocketGPS.GPSMath;
using RocketGPS.Model;
using RocketGPSMath.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RocketGPSMath.GPSMath
{
public class RegionTriangulator
{
public List<GPSCoordinateBearing> reports;
... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.