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 |
|---|---|---|---|---|---|---|---|---|
a75401a8646b192ade7b690be1b43bf268379cd2 | move default target definition to the correct place | adamralph/liteguard,adamralph/liteguard | targets/Program.cs | targets/Program.cs | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo --verbosity quiet"))... | using System;
using System.Threading.Tasks;
using SimpleExec;
using static Bullseye.Targets;
using static SimpleExec.Command;
internal class Program
{
public static Task Main(string[] args)
{
Target("default", DependsOn("pack", "test"));
Target("build", () => RunAsync("dotnet", "bu... | mit | C# |
09aa0d57c49fd567a4ade1b945c9428cc67d1c9b | 优化性能。 | noear/uwp-imageLoader | ImageLoader.UWP/ImageLoader.UWP/HttpClientImageDownloader.cs | ImageLoader.UWP/ImageLoader.UWP/HttpClientImageDownloader.cs | using System;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.Web.Http;
namespace Noear.UWP.Loader {
public class HttpClientImageDownloader : IImageDownloader {
public async Task<IBuffer> download(string url, object extra) {
return await new HttpClient().GetB... | using System;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.Web.Http;
namespace Noear.UWP.Loader {
public class HttpClientImageDownloader : IImageDownloader {
public virtual Task<IBuffer> download(string url, object extra) {
return new HttpClient().GetBuffe... | apache-2.0 | C# |
59f2017a13672be09b527873470d528717d4ae70 | Move BindValueChanged subscriptions to LoadComplete | smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu | osu.Game/Screens/OnlinePlay/Multiplayer/CreateMultiplayerMatchButton.cs | osu.Game/Screens/OnlinePlay/Multiplayer/CreateMultiplayerMatchButton.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.OnlinePlay.Match.Components;
namespace osu.Game.... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Game.Online.Multiplayer;
using osu.Game.Screens.OnlinePlay.Match.Components;
namespace osu.Game.... | mit | C# |
fd894fb0c13f92fe88dae32585323f1cf6cef2e7 | Rename FoundStringCallbacks to LineActions | mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,u... | MatterControl.Printing/Communication/FoundStringCallBacks.cs | MatterControl.Printing/Communication/FoundStringCallBacks.cs | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | /*
Copyright (c) 2014, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the followi... | bsd-2-clause | C# |
cbe2c6738ffc1e8636e99608fcde454cb49005a1 | rename to invalidationUrls | signumsoftware/framework,signumsoftware/framework | Signum.Engine.Extensions/Cache/SimpleHttpCacheInvalidator.cs | Signum.Engine.Extensions/Cache/SimpleHttpCacheInvalidator.cs |
using Azure.Messaging.ServiceBus;
using Azure.Messaging.ServiceBus.Administration;
using Npgsql;
using Signum.Engine.Json;
using Signum.Entities.Cache;
using Signum.Services;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Json;
namespace Signum.Engine.Cache;
public class SimpleHttpCacheInval... |
using Azure.Messaging.ServiceBus;
using Azure.Messaging.ServiceBus.Administration;
using Npgsql;
using Signum.Engine.Json;
using Signum.Entities.Cache;
using Signum.Services;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Json;
namespace Signum.Engine.Cache;
public class SimpleHttpCacheInval... | mit | C# |
f39586a90117c831b4d5f71801949e0dccc0225e | check for null | ZHZG/PropertyTools,ZHZG/PropertyTools,Mitch-Connor/PropertyTools,jogibear9988/PropertyTools,jogibear9988/PropertyTools,punker76/PropertyTools,LavishSoftware/PropertyTools,johnsonlu/PropertyTools,objorke/PropertyTools | Source/PropertyEditor/Converters/EnumDescriptionConverter.cs | Source/PropertyEditor/Converters/EnumDescriptionConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Reflection;
using System.Windows.Data;
namespace PropertyEditorLibrary
{
/// <summary>
/// The EnumDescriptionConverter gets the Description attribute for Enum values.
/// </summary>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.Reflection;
using System.Windows.Data;
namespace PropertyEditorLibrary
{
/// <summary>
/// The EnumDescriptionConverter gets the Description attribute for Enum values.
/// </summary>
... | mit | C# |
bfdf87c4937b8043aab1d50407e1e049ede63bd8 | Fix unnecessarily-complex/wrong BackgroundGameHeadlessGameHost implementation | ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.cs | osu.Framework.Tests/IO/BackgroundGameHeadlessGameHost.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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.IO
{
/// <summary>
... | // 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.Threading;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Framework.Testing;
namespace osu.Framework.Tests.IO
{
/// <summary>
... | mit | C# |
04e4234e2aeb6830c38fe7a14b50586b6fa986d1 | disable lmdb in tests for now, it fails as transactiosn can't be used across threads | ArsenShnurkov/BitSharp | BitSharp.Core.Test.Storage/StorageProviderTest.cs | BitSharp.Core.Test.Storage/StorageProviderTest.cs | using BitSharp.Common.ExtensionMethods;
using BitSharp.Esent.Test;
using BitSharp.Lmdb.Test;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace BitSharp.Core.Test.Storage
{
[TestClass]
public class StorageProviderT... | using BitSharp.Common.ExtensionMethods;
using BitSharp.Esent.Test;
using BitSharp.Lmdb.Test;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace BitSharp.Core.Test.Storage
{
[TestClass]
public class StorageProviderT... | unlicense | C# |
a186c86d03f560ed9973e47519be2bcd8bc8e397 | Fix fail in RequireHigherRank | Yonom/CupCake | CupCake.DefaultCommands/Commands/CommandBase.cs | CupCake.DefaultCommands/Commands/CommandBase.cs | using System;
using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Messages.User;
using CupCake.Permissions;
using CupCake.Players;
namespace CupCake.DefaultCommands.Commands
{
public abstract class CommandBase<T> : Command<T>
{
protected virtual string CommandName
{
... | using System;
using CupCake.Command;
using CupCake.Command.Source;
using CupCake.Messages.User;
using CupCake.Permissions;
using CupCake.Players;
namespace CupCake.DefaultCommands.Commands
{
public abstract class CommandBase<T> : Command<T>
{
protected virtual string CommandName
{
... | mit | C# |
da1e8a518aa7d5762e1084eeacdc305f1a0a5f54 | Add new contructor for TextEdit class | daviwil/PSScriptAnalyzer,dlwyatt/PSScriptAnalyzer,PowerShell/PSScriptAnalyzer | Engine/TextEdit.cs | Engine/TextEdit.cs | using System;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
/// <summary>
/// Class to provide information about an edit
/// </summary>
public class TextEdit
{
public IScriptExtent ScriptExtent { get; private set; }
public int ... | using System;
using System.Management.Automation.Language;
namespace Microsoft.Windows.PowerShell.ScriptAnalyzer
{
/// <summary>
/// Class to provide information about an edit
/// </summary>
public class TextEdit
{
public IScriptExtent ScriptExtent { get; private set; }
public str... | mit | C# |
ba1aa680b0e991bae9d8a5cf13d5a504acbcd771 | change to Idictionary | danhaller/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,emashliles/SevenDigital.Api.Wrapper,gregsochanik/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.... | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | src/SevenDigital.Api.Wrapper/EndpointResolution/DictionaryExtensions.cs | using System.Collections.Generic;
using System.Net;
using System.Text;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this IDictionary<string,string> collection)
{
var sb = new StringBuilder();
f... | using System.Collections.Generic;
using System.Net;
using System.Text;
namespace SevenDigital.Api.Wrapper.EndpointResolution
{
public static class DictionaryExtensions
{
public static string ToQueryString(this Dictionary<string,string> collection)
{
var sb = new StringBuilder();
fo... | mit | C# |
31837ad049d0be83429f06ff7a976d5f6bb4b6d1 | Test Cases | jefking/King.Service | King.Service.Tests/Scalability/QueueSimplifiedScalerTests.cs | King.Service.Tests/Scalability/QueueSimplifiedScalerTests.cs | namespace King.Service.Tests.Scalability
{
using System;
using King.Azure.Data;
using King.Service.Data;
using NSubstitute;
using NUnit.Framework;
using Service.Scalability;
[TestFixture]
public class QueueSimplifiedScalerTests
{
public class MyQScaler : QueueSimplifiedScal... | namespace King.Service.Tests.Scalability
{
using King.Azure.Data;
using King.Service.Data;
using NSubstitute;
using NUnit.Framework;
using Service.Scalability;
[TestFixture]
public class QueueSimplifiedScalerTests
{
public class MyQScaler : QueueSimplifiedScaler
{
... | mit | C# |
28d7375b321c922e1e118645dc40b3d4552b1b2f | Change FloatPrecision value | bartlomiejwolk/AnimationPathAnimator | GlobalConstants.cs | GlobalConstants.cs | namespace ATP.AnimationPathTools {
public static class GlobalConstants {
public const float FloatPrecision = 0.0001f;
}
} | namespace ATP.AnimationPathTools {
public static class GlobalConstants {
public const float FloatPrecision = 0.001f;
}
} | mit | C# |
3d9262e3c20a627e61e2d389bcf71d8d1fc1a909 | Fix incorrect `DummyNativeTexture` implementation | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/Rendering/Dummy/DummyNativeTexture.cs | osu.Framework/Graphics/Rendering/Dummy/DummyNativeTexture.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.Textures;
namespace osu.Framework.Graphics.Rendering.Dummy
{
/// <summary>
/// An <see cref="INativeTexture"/> that does nothing. Ma... | // 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.Textures;
namespace osu.Framework.Graphics.Rendering.Dummy
{
/// <summary>
/// An <see cref="INativeTexture"/> that does nothing. Ma... | mit | C# |
fbf508d59a9a55f687716b4708df7f10628ce32c | change the controls for generating single buildings | AlexanderMazaletskiy/ProceduralBuildings,tkaretsos/ProceduralBuildings | Scripts/BuildingController.cs | Scripts/BuildingController.cs | using Thesis;
using UnityEngine;
public class BuildingController : MonoBehaviour
{
void Update ()
{
if (Input.GetKeyUp(KeyCode.F5))
{
BuildingManager.Instance.DestroyBuildings();
BuildingManager.Instance.CreateNeoclassical(BuildMode.Two);
}
if (Input.GetKeyUp(KeyCode.F6))
{
B... | using Thesis;
using UnityEngine;
public class BuildingController : MonoBehaviour
{
void Update ()
{
if (Input.GetKeyUp(KeyCode.Alpha2))
{
BuildingManager.Instance.DestroyBuildings();
BuildingManager.Instance.CreateNeoclassical(BuildMode.Two);
}
if (Input.GetKeyUp(KeyCode.Alpha3))
{... | mit | C# |
6f5a385b6d35eeec984a22fb726ab18cffecf3d4 | Fix typo in Adventure sample (#6496) | yevhen/orleans,hoopsomuah/orleans,amccool/orleans,ibondy/orleans,galvesribeiro/orleans,jason-bragg/orleans,waynemunro/orleans,dotnet/orleans,amccool/orleans,veikkoeeva/orleans,ElanHasson/orleans,ElanHasson/orleans,waynemunro/orleans,ibondy/orleans,yevhen/orleans,benjaminpetit/orleans,ReubenBond/orleans,hoopsomuah/orlea... | Samples/2.0/Adventure/AdventureGrainInterfaces/IRoomGrain.cs | Samples/2.0/Adventure/AdventureGrainInterfaces/IRoomGrain.cs | using Orleans;
using System.Threading.Tasks;
namespace AdventureGrainInterfaces
{
/// <summary>
/// A room is any location in a game, including outdoor locations and
/// spaces that are arguably better described as moist, cold, caverns.
/// </summary>
public interface IRoomGrain : IGrainWithInteger... | using Orleans;
using System.Threading.Tasks;
namespace AdventureGrainInterfaces
{
/// <summary>
/// A room is any location in a game, including outdoor locations and
/// spaces that are arguably better described as moist, cold, caverns.
/// </summary>
public interface IRoomGrain : IGrainWithInteger... | mit | C# |
3d2eb8dc1ee237de420aa680734e1ba3f6dc01b5 | Rename connection to client | kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt,kevinta893/NetworkIt | NetworkItUnity/Assets/NetworkIt/Scripts/NetworkItEvents.cs | NetworkItUnity/Assets/NetworkIt/Scripts/NetworkItEvents.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NetworkIt;
using System;
public class NetworkItEvents : MonoBehaviour {
public string urlAddress = "";
public int port = 8000;
public string username = "demo_test_username";
publ... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NetworkIt;
using System;
public class NetworkItEvents : MonoBehaviour {
public string urlAddress = "";
public int port = 8000;
public string username = "demo_test_username";
publ... | mit | C# |
4bd480deb42d6b13b39ac7076f28c230bc4307d6 | Add access to the RawProtobufValue converters (from/to). | r3c/Verse | Verse/src/Schemas/RawProtobuf/RawProtobufValue.cs | Verse/src/Schemas/RawProtobuf/RawProtobufValue.cs |
namespace Verse.Schemas.RawProtobuf
{
public readonly struct RawProtobufValue
{
public readonly long Number;
public readonly RawProtobufStorage Storage;
public readonly string String;
public RawProtobufValue(long number, RawProtobufStorage storage)
{
... |
namespace Verse.Schemas.RawProtobuf
{
public readonly struct RawProtobufValue
{
public readonly long Number;
public readonly RawProtobufStorage Storage;
public readonly string String;
public RawProtobufValue(long number, RawProtobufStorage storage)
{
... | mit | C# |
8c16d08a2a6346874443fc04e50782efa964276a | Fix name violation | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs | WalletWasabi.Gui/ManagedDialogs/ManagedFileChooserSources.cs | using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace WalletWasabi.Gui.ManagedDialogs
{
public class ManagedFileChooserSources
{
public Func<ManagedFileChooserNavigationItem[]> GetUserDirectories { get; set; }
= DefaultGetUserDirectories;
public Func<ManagedFileCho... | using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
namespace WalletWasabi.Gui.ManagedDialogs
{
public class ManagedFileChooserSources
{
public Func<ManagedFileChooserNavigationItem[]> GetUserDirectories { get; set; }
= DefaultGetUserDirectories;
public Func<ManagedFileCho... | mit | C# |
be76f9f7ddd13dac440d3130338315fe61a2df37 | Add ResolveByName attribute to StyledElement property | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Custom/RemoveClassAction.cs | src/Avalonia.Xaml.Interactions/Custom/RemoveClassAction.cs | using Avalonia.Controls;
using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Removes a specified <see cref="RemoveClassAction.ClassName"/> from <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class RemoveClassAction : AvaloniaObject, I... | using Avalonia.Xaml.Interactivity;
namespace Avalonia.Xaml.Interactions.Custom;
/// <summary>
/// Removes a specified <see cref="RemoveClassAction.ClassName"/> from <see cref="IStyledElement.Classes"/> collection when invoked.
/// </summary>
public class RemoveClassAction : AvaloniaObject, IAction
{
/// <summary... | mit | C# |
73685275c4000c939bb3ccb5fb656863b492cb66 | bump ver | AntonyCorbett/OnlyT,AntonyCorbett/OnlyT | SolutionInfo.cs | SolutionInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.27")] | using System.Reflection;
[assembly: AssemblyCompany("SoundBox")]
[assembly: AssemblyProduct("OnlyT")]
[assembly: AssemblyCopyright("Copyright © 2018 Antony Corbett")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: AssemblyVersion("1.1.0.26")] | mit | C# |
8c8f87b435b0b028fb07d4ec013fa3a0e2a99ed3 | Change Price type to double | kiyoaki/bitflyer-api-dotnet-client | src/BitFlyer.Apis/RequestData/SendChildOrderParameter.cs | src/BitFlyer.Apis/RequestData/SendChildOrderParameter.cs | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class SendChildOrderParameter
{
[JsonProperty("product_code")]
public ProductCode ProductCode { get; set; }
[JsonProperty("child_order_type")]
public ChildOrderType ChildOrderType { get; set; }
[JsonProperty("sid... | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class SendChildOrderParameter
{
[JsonProperty("product_code")]
public ProductCode ProductCode { get; set; }
[JsonProperty("child_order_type")]
public ChildOrderType ChildOrderType { get; set; }
[JsonProperty("sid... | mit | C# |
40afae605eac22b02f60ea082d5befbd00e535af | Clean up Normalization code (dotnet/coreclr#9941) | ericstj/corefx,shimingsg/corefx,ericstj/corefx,ericstj/corefx,zhenlan/corefx,BrennanConroy/corefx,ViktorHofer/corefx,Jiayili1/corefx,ravimeda/corefx,Jiayili1/corefx,zhenlan/corefx,mmitche/corefx,ericstj/corefx,ravimeda/corefx,ViktorHofer/corefx,Ermiar/corefx,ptoonen/corefx,shimingsg/corefx,Jiayili1/corefx,shimingsg/cor... | src/Common/src/CoreLib/Interop/Windows/Interop.Errors.cs | src/Common/src/CoreLib/Interop/Windows/Interop.Errors.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.
internal partial class Interop
{
internal partial class Errors
{
internal const int ERROR_SUCCESS = ... | // 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.
internal partial class Interop
{
internal partial class Errors
{
internal const int ERROR_SUCCESS = ... | mit | C# |
85d7fe3f160a144aa4430d4ad0fe14f00279d5fb | Fix setting color of text for ComboBoxCell | l8s/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto | Source/Eto.Platform.Wpf/Forms/Cells/ComboBoxCellHandler.cs | Source/Eto.Platform.Wpf/Forms/Cells/ComboBoxCellHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eto.Forms;
using swc = System.Windows.Controls;
using swd = System.Windows.Data;
using sw = System.Windows;
using System.Collections;
namespace Eto.Platform.Wpf.Forms.Controls
{
public class ComboBoxCellHandler : ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eto.Forms;
using swc = System.Windows.Controls;
using swd = System.Windows.Data;
using sw = System.Windows;
using System.Collections;
namespace Eto.Platform.Wpf.Forms.Controls
{
public class ComboBoxCellHandler : ... | bsd-3-clause | C# |
261f350eed6e5001bf3463a627600d66a8277279 | remove unnescessary visibility setting in click event | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio.UI/UI/Controls/InfoPanel.xaml.cs | src/GitHub.VisualStudio.UI/UI/Controls/InfoPanel.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
3039c163fd48e6bcb25a684b95bf1ca0f79a2998 | fix no Namespace cases in SignumControllerFactory | AlejandroCano/framework,AlejandroCano/framework,signumsoftware/framework,signumsoftware/framework,avifatal/framework,avifatal/framework | Signum.React/Facades/SignumControllerFactory.cs | Signum.React/Facades/SignumControllerFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Signum.React.Facades;
using Signum.Utilities;
using System.Web.Http.Dispatcher;
using System.Web.Http.Controllers;
using System.Net.Http;
using System.Web.Http;
using System.Reflection;
using Signum.React.ApiControlle... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Signum.React.Facades;
using Signum.Utilities;
using System.Web.Http.Dispatcher;
using System.Web.Http.Controllers;
using System.Net.Http;
using System.Web.Http;
using System.Reflection;
using Signum.React.ApiControlle... | mit | C# |
6593fea49839e1600892ce5fbf029382d0680ec0 | Disable login redirect to dbbrowser.aspx forbidding redirects altogether | afortaleza/sitecore-linqpad | Sitecore.Linqpad/Server/CookieAwareWebClient.cs | Sitecore.Linqpad/Server/CookieAwareWebClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Sitecore.Linqpad.Server
{
public class CookieAwareWebClient : WebClient
{
public CookieAwareWebClient(CookieContainer cookies = null)
{
th... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Sitecore.Linqpad.Server
{
public class CookieAwareWebClient : WebClient
{
public CookieAwareWebClient(CookieContainer cookies = null)
{
th... | mit | C# |
0f18050e79f623e8b8aa35cc70af1bd80915249a | add FromBody | smbc-digital/iag-contentapi | src/StockportContentApi/Controllers/RedirectsController.cs | src/StockportContentApi/Controllers/RedirectsController.cs | using StockportContentApi.Repositories;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using StockportContentApi.ContentfulModels;
namespace StockportContentApi.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class Redirect... | using StockportContentApi.Repositories;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using StockportContentApi.ContentfulModels;
namespace StockportContentApi.Controllers
{
[ApiExplorerSettings(IgnoreApi = true)]
public class Redirect... | mit | C# |
c5361ec54e309acfee206cca274cc6f5e4a35a37 | Improve crop coordinate calculations | dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,KevinJump/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbra... | src/Umbraco.Web.Common/ImageProcessors/CropWebProcessor.cs | src/Umbraco.Web.Common/ImageProcessors/CropWebProcessor.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Extensions.Logging;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Web;
using SixLabors.ImageSharp.Web.Commands;
using SixLabors.ImageSharp.Web.Processors;
namespace Umbraco.Cms.We... | using System;
using System.Collections.Generic;
using System.Globalization;
using Microsoft.Extensions.Logging;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Web;
using SixLabors.ImageSharp.Web.Commands;
using SixLabors.ImageSharp.Web.Processors;
namespace Umbraco.Cms.We... | mit | C# |
2d2e318d5df5f22714cb940a8539b8b860e8556a | Change Remoting Summary to show top 50 | Ampla/Ampla-Log-Reader | src/Ampla.LogReader/Reports/Pages/RemotingSummaryPage.cs | src/Ampla.LogReader/Reports/Pages/RemotingSummaryPage.cs | using System;
using System.Collections.Generic;
using Ampla.LogReader.Excel;
using Ampla.LogReader.Excel.Writer;
using Ampla.LogReader.Remoting;
using Ampla.LogReader.Statistics;
namespace Ampla.LogReader.Reports.Pages
{
public class RemotingSummaryPage : ReportPage<RemotingEntry>
{
private readonly R... | using System;
using System.Collections.Generic;
using Ampla.LogReader.Excel;
using Ampla.LogReader.Excel.Writer;
using Ampla.LogReader.Remoting;
using Ampla.LogReader.Statistics;
namespace Ampla.LogReader.Reports.Pages
{
public class RemotingSummaryPage : ReportPage<RemotingEntry>
{
private readonly R... | mit | C# |
2f4c37915e51cffa549ce45a0ddeddccd05ef4ee | Revert "clean code a bit" | hazzik/Humanizer,MehdiK/Humanizer | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | src/Humanizer/Localisation/NumberToWords/FrenchNumberToWordsConverter.cs | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | using System.Collections.Generic;
namespace Humanizer.Localisation.NumberToWords
{
internal class FrenchNumberToWordsConverter : FrenchNumberToWordsConverterBase
{
protected override void CollectPartsUnderAHundred(ICollection<string> parts, ref int number, GrammaticalGender gender, bool pluralize)
... | mit | C# |
13dd893446a674d4a01d6760f82bae3dd7e278ea | fix string localizer (#11838) | stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Templates/AdminTemplatesAdminMenu.cs | src/OrchardCore.Modules/OrchardCore.Templates/AdminTemplatesAdminMenu.cs | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Localization;
using OrchardCore.Navigation;
namespace OrchardCore.Templates
{
public class AdminTemplatesAdminMenu : INavigationProvider
{
private readonly IStringLocalizer S;
public AdminTemplatesAdminMenu(IStringLocalizer... | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Localization;
using OrchardCore.Navigation;
namespace OrchardCore.Templates
{
public class AdminTemplatesAdminMenu : INavigationProvider
{
private readonly IStringLocalizer S;
public AdminTemplatesAdminMenu(IStringLocalizer... | bsd-3-clause | C# |
acf38d9f393b5e0037235b72e78f6940029f2bb9 | Remove BOM from UTF8 encoder | RootAccessOrg/kynnaugh | kynnaugh/StringUtils.cs | kynnaugh/StringUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace kynnaugh
{
class StringUtils
{
// By Hans Passant
// http://stackoverflow.com/a/10773988
public static IntPtr NativeUtf8Fr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace kynnaugh
{
class StringUtils
{
// By Hans Passant
// http://stackoverflow.com/a/10773988
public static IntPtr NativeUtf8Fr... | apache-2.0 | C# |
fa837bcdb9273347564b2291c4aeea0b23f9f788 | Update API version to 1.4.0 | PyramidTechnologies/netPyramid-RS-232 | Apex7000_BillValidator/Properties/AssemblyInfo.cs | Apex7000_BillValidator/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("NE... | 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("NE... | mit | C# |
c1d31926a11fbe432b7f52b5c26039b894402328 | Add .AllRows to IUpdateWhereSyntax | modulexcite/fluentmigrator,istaheev/fluentmigrator,FabioNascimento/fluentmigrator,lcharlebois/fluentmigrator,lahma/fluentmigrator,swalters/fluentmigrator,jogibear9988/fluentmigrator,KaraokeStu/fluentmigrator,DefiSolutions/fluentmigrator,IRlyDontKnow/fluentmigrator,amroel/fluentmigrator,stsrki/fluentmigrator,KaraokeStu/... | src/FluentMigrator/Builders/Update/IUpdateWhereSyntax.cs | src/FluentMigrator/Builders/Update/IUpdateWhereSyntax.cs | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
... | #region License
//
// Copyright (c) 2007-2009, Sean Chambers <schambers80@gmail.com>
//
// 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
... | apache-2.0 | C# |
75dab51f91b9d2bd267124e4e874282eb927fb11 | add namespace | unity3d-jp/AngryChicken | Assets/Extra/TargetCount.cs | Assets/Extra/TargetCount.cs | using UnityEngine;
using System.Collections;
namespace AngryChicken2D
{
public class TargetCount : MonoBehaviour
{
public int count;
GameObject[] objects;
public float interval = 3;
float nextTime;
void Update()
{
if (Time.time > nextTime)
{
objects = GameObject.FindGameObjectsWithTag("Tar... | using UnityEngine;
using System.Collections;
public class TargetCount : MonoBehaviour
{
public int count;
GameObject[] objects;
public float interval = 3;
float nextTime;
void Update()
{
if (Time.time > nextTime)
{
objects = GameObject.FindGameObjectsWithTag("Target");
count = objects.Length;
ne... | apache-2.0 | C# |
3506a2081507fb66467680f95234a8373209c844 | Add GetStream to initial UploadedFile | mcintyre321/FormFactory,mcintyre321/FormFactory,mcintyre321/FormFactory | FormFactory/Mvc/UploadedFiles/AppDataFileStore.cs | FormFactory/Mvc/UploadedFiles/AppDataFileStore.cs | using System;
using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using FormFactory.ValueTypes;
namespace FormFactory.Mvc.UploadedFiles
{
public class AppDataFileStore : IFileStore
{
public UploadedFile Store(HttpPostedFileBase httpPostedFileBase, Controller... | using System;
using System.IO;
using System.Web;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using FormFactory.ValueTypes;
namespace FormFactory.Mvc.UploadedFiles
{
public class AppDataFileStore : IFileStore
{
public UploadedFile Store(HttpPostedFileBase httpPostedFileBase, Controller... | mit | C# |
970828b23a3128b11ae3206c19103f00001a4eed | Change Namespace | muhammedikinci/FuzzyCore | FuzzyCore/ConcreteCommands/GetPrograms_Command.cs | FuzzyCore/ConcreteCommands/GetPrograms_Command.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FuzzyCore.Server.Data;
namespace FuzzyCore.Server
{
public class GetPrograms_Command : Command
{
public GetPrograms_Command(JsonCommand comm) : base(comm)
{
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using fuzzyControl.Server.Data;
namespace fuzzyControl.Server
{
public class GetPrograms_Command : Command
{
public GetPrograms_Command(JsonCommand comm) : base(comm)
{
}... | mit | C# |
7e1a82f833193e4b17afaf9d3df38ad0d203a5ee | Move tool writing to the end so we can accumulate the rules. | eriawan/roslyn,diryboy/roslyn,mgoertz-msft/roslyn,shyamnamboodiripad/roslyn,KirillOsenkov/roslyn,genlu/roslyn,diryboy/roslyn,heejaechang/roslyn,ErikSchierboom/roslyn,ErikSchierboom/roslyn,aelij/roslyn,heejaechang/roslyn,genlu/roslyn,gafter/roslyn,agocke/roslyn,CyrusNajmabadi/roslyn,reaction1989/roslyn,AlekseyTs/roslyn,... | src/Compilers/Core/Portable/CommandLine/SarifV2ErrorLogger.cs | src/Compilers/Core/Portable/CommandLine/SarifV2ErrorLogger.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.Collections;
using System.Globalization;
using System.IO;
namespace Microsoft.CodeAnalysis
{
internal sealed class SarifV2Err... | // 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.Collections;
using System.Globalization;
using System.IO;
namespace Microsoft.CodeAnalysis
{
internal sealed class SarifV2Err... | mit | C# |
dae5d519addef57d33da0d8fdadeb4a60b790866 | Fix boolean operator. | harrison314/MassiveDynamicProxyGenerator,harrison314/MassiveDynamicProxyGenerator,harrison314/MassiveDynamicProxyGenerator | src/MassiveDynamicProxyGenerator.SimpleInjector/TypeHelper.cs | src/MassiveDynamicProxyGenerator.SimpleInjector/TypeHelper.cs | using System;
using System.Reflection;
namespace MassiveDynamicProxyGenerator.SimpleInjector
{
internal class TypeHelper
{
public static bool IsOpenGeneric(Type type)
{
return type.GetTypeInfo().IsGenericTypeDefinition;
}
public static bool IsGenericConstructedOf(T... | using System;
using System.Reflection;
namespace MassiveDynamicProxyGenerator.SimpleInjector
{
internal class TypeHelper
{
public static bool IsOpenGeneric(Type type)
{
return type.GetTypeInfo().IsGenericTypeDefinition;
}
public static bool IsGenericConstructedOf(T... | mit | C# |
eae83932009770f726e2ec7b8af6ccbe5ee0dffa | add outcommented code to use cube as floorPlane | accu-rate/SumoVizUnity,accu-rate/SumoVizUnity | Assets/Scripts/sim/Floor.cs | Assets/Scripts/sim/Floor.cs | using UnityEngine;
using System.Collections.Generic;
using System;
public class Floor {
private List<Wall> walls = new List<Wall>();
private List<WunderZone> wunderZones = new List<WunderZone>();
private string floorId;
private int level;
internal float elevation;
private float height;
in... | using UnityEngine;
using System.Collections.Generic;
using System;
public class Floor {
private List<Wall> walls = new List<Wall>();
private List<WunderZone> wunderZones = new List<WunderZone>();
private string floorId;
private int level;
internal float elevation;
private float height;
in... | mit | C# |
7fdafe3717f1dd3c49f00fa21e388fb11a41e965 | Allow redefining already defined symbols | escamilla/squirrel | squirrel/Environment.cs | squirrel/Environment.cs | using System.Collections.Generic;
using Squirrel.Nodes;
namespace Squirrel
{
public class Environment
{
private readonly Environment _parent;
private readonly Dictionary<string, INode> _definitions = new Dictionary<string, INode>();
public Environment(Environment parent)
{
... | using System.Collections.Generic;
using Squirrel.Nodes;
namespace Squirrel
{
public class Environment
{
private readonly Environment _parent;
private readonly Dictionary<string, INode> _definitions = new Dictionary<string, INode>();
public Environment(Environment parent)
{
... | mit | C# |
5d7455005e1179f8fccbf325edea78f15caaa9b7 | Add optional date field to RemoteMedia | dukemiller/anime-downloader | anime-downloader/Models/Abstract/RemoteMedia.cs | anime-downloader/Models/Abstract/RemoteMedia.cs | using System;
using System.Linq;
using System.Text.RegularExpressions;
using anime_downloader.Classes;
namespace anime_downloader.Models.Abstract
{
/// <summary>
/// A representation of something that can be initiated
/// in some way to retrieve a file.
/// </summary>
public abstract class... | using System.Linq;
using System.Text.RegularExpressions;
using anime_downloader.Classes;
namespace anime_downloader.Models.Abstract
{
/// <summary>
/// A representation of something that can be initiated
/// in some way to retrieve a file.
/// </summary>
public abstract class RemoteMedia
... | apache-2.0 | C# |
e0a4826e1d705eb14c782b6a9fffd2b9a1ac60ce | Correct argument validation | YeastFx/Yeast | src/Yeast.Multitenancy/Extensions/TenantContextExtensions.cs | src/Yeast.Multitenancy/Extensions/TenantContextExtensions.cs | using Microsoft.Extensions.DependencyInjection;
using Yeast.Core.Helpers;
namespace Yeast.Multitenancy
{
public static class TenantContextExtensions
{
/// <summary>
/// Extensions method to create service scope on <paramref name="tenantContext"/>.
/// </summary>
/// <param name... | using Microsoft.Extensions.DependencyInjection;
using Yeast.Core.Helpers;
namespace Yeast.Multitenancy
{
public static class TenantContextExtensions
{
/// <summary>
/// Extensions method to create service scope on <paramref name="tenantContext"/>.
/// </summary>
/// <param name... | mit | C# |
5b729321e59afe769553af4fccd9a23d170b7557 | Remove lazy loading of configuration | timclipsham/tfs-hipchat | TfsHipChat/Configuration/ConfigurationProvider.cs | TfsHipChat/Configuration/ConfigurationProvider.cs | using System.IO;
using Newtonsoft.Json;
using TfsHipChat.Properties;
namespace TfsHipChat.Configuration
{
public class ConfigurationProvider : IConfigurationProvider
{
public ConfigurationProvider()
{
using (var reader = new JsonTextReader(new StreamReader(Settings.Defaul... | using System.IO;
using Newtonsoft.Json;
namespace TfsHipChat.Configuration
{
public class ConfigurationProvider : IConfigurationProvider
{
private TfsHipChatConfig _tfsHipChatConfig;
public TfsHipChatConfig Config
{
get
{
if (_tfsHi... | mit | C# |
fb85020fe6231eefb50c21081576000d5c4a9876 | Fix failing test by setting the host object | rschiefer/templating,seancpeters/templating,danroth27/templating,lambdakris/templating,lambdakris/templating,mlorbetske/templating,rschiefer/templating,seancpeters/templating,danroth27/templating,rschiefer/templating,mlorbetske/templating,lambdakris/templating,danroth27/templating,seancpeters/templating,seancpeters/tem... | test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | test/Microsoft.TemplateEngine.Core.UnitTests/TestBase.cs | using System;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Core.Contracts;
using Microsoft.TemplateEngine.Utils;
using Xunit;
namespace Microsoft.TemplateEngine.Core.UnitTests
{
public abstract class TestBase
{
protected TestBase()
{
EngineEnvironmentSettings.... | using System;
using System.IO;
using System.Text;
using Microsoft.TemplateEngine.Core.Contracts;
using Xunit;
namespace Microsoft.TemplateEngine.Core.UnitTests
{
public abstract class TestBase
{
protected static void RunAndVerify(string originalValue, string expectedValue, IProcessor processor, int bu... | mit | C# |
1671f9477fcbe54dd2e59294982aaa677f9e760f | Add /GET for a single website resource | RockstarLabs/GeoToast,RockstarLabs/GeoToast,RockstarLabs/GeoToast | src/GeoToast/Controllers/WebsiteController.cs | src/GeoToast/Controllers/WebsiteController.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using GeoToast.Data;
using GeoToast.Data.Models;
using GeoToast.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace GeoToast.Controllers
{
... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using GeoToast.Data;
using GeoToast.Data.Models;
using GeoToast.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace GeoToast.Controllers
{
//[Authorize]
[Route("api/[cont... | mit | C# |
c45944f935fbb79799a05a193eabbc278d51e78e | Fix the scenarios | ludwigjossieaux/pickles,dirkrombauts/pickles,dirkrombauts/pickles,picklesdoc/pickles,picklesdoc/pickles,magicmonty/pickles,ludwigjossieaux/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,dirkrombauts/pickles,picklesdoc/pickles,magicmonty/pickles,dirkrombauts/pickles,magicmonty/pickles,magicmonty/pickles | src/Pickles/Pickles/StrikeMarkdownProvider.cs | src/Pickles/Pickles/StrikeMarkdownProvider.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrikeMarkdownProvider.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed unde... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="StrikeMarkdownProvider.cs" company="PicklesDoc">
// Copyright 2011 Jeffrey Cameron
// Copyright 2012-present PicklesDoc team and community contributors
//
//
// Licensed unde... | apache-2.0 | C# |
2139554cfbc06bab62c9d66a3968ae59563ddb33 | remove any extra double quotes from parsed string literals | damianh/fluent-command-line-parser,ghstahl/fluent-command-line-parser,EricSB/fluent-command-line-parser,spzSource/fluent-command-line-parser | FluentCommandLineParser/Internals/Parsers/StringCommandLineOptionParser.cs | FluentCommandLineParser/Internals/Parsers/StringCommandLineOptionParser.cs | #region License
// StringCommandLineOptionParser.cs
// Copyright (c) 2013, Simon Williams
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provide
// d that the following conditions are met:
//
// Redistributions of source code must retain th... | #region License
// StringCommandLineOptionParser.cs
// Copyright (c) 2013, Simon Williams
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provide
// d that the following conditions are met:
//
// Redistributions of source code must retain th... | bsd-2-clause | C# |
0c738b3d6ce4c9de8a2959431ed1e76e6a0fa3a2 | Fix test with better assert. | JohanLarsson/Gu.Localization | Gu.Localization.Analyzers.Tests/GULOC08DuplicateNeutralTests/Diagnostic.cs | Gu.Localization.Analyzers.Tests/GULOC08DuplicateNeutralTests/Diagnostic.cs | namespace Gu.Localization.Analyzers.Tests.GULOC08DuplicateNeutralTests
{
using System.IO;
using System.Linq;
using Gu.Localization.Analyzers.Tests.Helpers;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
internal class Diagnostic
{
priva... | namespace Gu.Localization.Analyzers.Tests.GULOC08DuplicateNeutralTests
{
using System.IO;
using System.Linq;
using Gu.Localization.Analyzers.Tests.Helpers;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.Diagnostics;
using NUnit.Framework;
internal class Diagnostic
{
priva... | mit | C# |
331a19b58605c78ada1c6b232f7d040d3a2e48d7 | Update SimpleBinaryBondSerializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/Bond/SimpleBinaryBondSerializer.cs | TIKSN.Core/Serialization/Bond/SimpleBinaryBondSerializer.cs | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal<T>(T obj)
{
var output = new OutputBuffer();
var writer = new SimpleBinaryWriter... | using Bond.IO.Safe;
using Bond.Protocols;
namespace TIKSN.Serialization.Bond
{
public class SimpleBinaryBondSerializer : SerializerBase<byte[]>
{
protected override byte[] SerializeInternal(object obj)
{
var output = new OutputBuffer();
var writer = new SimpleBinaryWrit... | mit | C# |
882ca1d2471fde5a6ec385f4ca5764705e8b81ec | Remove redundant Invoke. | dotless/dotless,rytmis/dotless,r2i-sitecore/dotless,rytmis/dotless,rytmis/dotless,modulexcite/dotless,NickCraver/dotless,modulexcite/dotless,dotless/dotless,rytmis/dotless,modulexcite/dotless,r2i-sitecore/dotless,NickCraver/dotless,NickCraver/dotless,r2i-sitecore/dotless,r2i-sitecore/dotless,modulexcite/dotless,modulex... | src/dotless.Core/engine/LessNodes/Selector.cs | src/dotless.Core/engine/LessNodes/Selector.cs | /* Copyright 2009 dotless project, http://www.dotlesscss.com
*
* 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 requ... | /* Copyright 2009 dotless project, http://www.dotlesscss.com
*
* 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 requ... | apache-2.0 | C# |
705f946de908f76adf5e157c142a697d87a88f21 | add param | EamonNerbonne/ExpressionToCode | ExpressionToCodeLib/ObjectToCode.cs | ExpressionToCodeLib/ObjectToCode.cs | namespace ExpressionToCodeLib;
/// <summary>
/// If you wish to override some formatting aspects of these methods, set
/// ExpressionToCodeConfiguration.GlobalCodeGetConfiguration.
/// </summary>
public static class ObjectToCode
{
public static string ComplexObjectToPseudoCode(object? val)
=> Objec... | namespace ExpressionToCodeLib;
/// <summary>
/// If you wish to override some formatting aspects of these methods, set
/// ExpressionToCodeConfiguration.GlobalCodeGetConfiguration.
/// </summary>
public static class ObjectToCode
{
public static string ComplexObjectToPseudoCode(object? val)
=> Objec... | apache-2.0 | C# |
151c3d073475d27ab4bffd7a3e3bd6e13fcaef7f | Build fix | mikescandy/BottomNavigationBarXF,thrive-now/BottomNavigationBarXF | example-xaml/BottomBarXFExampleXaml/App.xaml.cs | example-xaml/BottomBarXFExampleXaml/App.xaml.cs | using Xamarin.Forms;
namespace BottomBarXFExampleXaml
{
public partial class App : Application
{
public App ()
{
InitializeComponent ();
MainPage = new BarPage();
}
protected override void OnStart ()
{
// Handle when your app starts
}
protected override void OnSleep ()
{
// Ha... | using Xamarin.Forms;
namespace BottomBarXFExample
{
public partial class App : Application
{
public App ()
{
InitializeComponent ();
MainPage = new BarPage();
}
protected override void OnStart ()
{
// Handle when your app starts
}
protected override void OnSleep ()
{
// Handle... | mit | C# |
0e69e8aa1578be9af3b6dfa16346df2018faa944 | Fix code smell S3881. | rosolko/WebDriverManager.Net | IntegrationTests/DriverManagerTests/CustomServiceTests.cs | IntegrationTests/DriverManagerTests/CustomServiceTests.cs | using System;
using IntegrationTests.BrowserTests;
using OpenQA.Selenium;
using WebDriverManager;
using WebDriverManager.DriverConfigs.Impl;
using WebDriverManager.Services.Impl;
using Xunit;
namespace IntegrationTests.DriverManagerTests
{
public sealed class CustomServiceTests: IDisposable
{
private ... | using System;
using IntegrationTests.BrowserTests;
using OpenQA.Selenium;
using WebDriverManager;
using WebDriverManager.DriverConfigs.Impl;
using WebDriverManager.Services.Impl;
using Xunit;
namespace IntegrationTests.DriverManagerTests
{
public class CustomServiceTests: IDisposable
{
private IWebDri... | mit | C# |
ca4a9c3146e1d1430c036cb2e1e6b0331a52ef4b | Remove unused variable in SmsModel. | jeremycook/PickupMailViewer,jeremycook/PickupMailViewer | PickupMailViewer/Models/SmsModel.cs | PickupMailViewer/Models/SmsModel.cs | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace PickupMailViewer.Models
{
public class SmsModel : MessageModel
{
private class SmsData
{
public string To { get; set; }
public string F... | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
namespace PickupMailViewer.Models
{
public class SmsModel : MessageModel
{
private class SmsData
{
public string To { get; set; }
public string F... | mit | C# |
40a810565aa87aacf04ab5b8c4a96fddbbf1f600 | Add comment numbering | yskatsumata/resharper-workshop,yskatsumata/resharper-workshop,yskatsumata/resharper-workshop | CSharp/04-Refactoring/Refactoring/21-Pull_up_and_push_down.cs | CSharp/04-Refactoring/Refactoring/21-Pull_up_and_push_down.cs | using System;
namespace JetBrains.ReSharper.Koans.Refactoring
{
// Pull Members Up
//
// Pulls members up the inheritance chain from the current type to the base type.
// Moves members from a derived type to a base type
//
// No keyboard shortcut. Invoke via Refactor This menu
// Ctrl+Shif... | using System;
namespace JetBrains.ReSharper.Koans.Refactoring
{
// Pull Members Up
//
// Pulls members up the inheritance chain from the current type to the base type.
// Moves members from a derived type to a base type
//
// No keyboard shortcut. Invoke via Refactor This menu
// Ctrl+Shif... | apache-2.0 | C# |
608c38f5d3d00de005a859c5f7e112c7fe2120b1 | Add note for Not Compiled to indicate ignoring case | markaschell/SoftwareThresher | code/SoftwareThresher/SoftwareThresher/Tasks/NotCompiled.cs | code/SoftwareThresher/SoftwareThresher/Tasks/NotCompiled.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using SoftwareThresher.Configurations;
using SoftwareThresher.Observations;
using SoftwareThresher.Settings.Search;
namespace SoftwareThresher.Tasks {
[UsageNote("Ignores case when matching names")]
public class NotCompiled : Ta... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using SoftwareThresher.Observations;
using SoftwareThresher.Settings.Search;
namespace SoftwareThresher.Tasks {
// TODO - add note to a task
// Note: ignores case
// TODO - should we be ignoring case other places?
public ... | mit | C# |
4b1b73690ed2d0a52ed2f46b822e4a5835310ace | Remove curlies Case 176 (https://github.com/MehdiK/Humanizer/issues/176) | kikoanis/Humanizer,micdenny/Humanizer,aloisdg/Humanizer,MehdiK/Humanizer,schalpat/Humanizer,preetksingh80/Humanizer,preetksingh80/Humanizer,thunsaker/Humanizer,HalidCisse/Humanizer,mrchief/Humanizer,preetksingh80/Humanizer,hazzik/Humanizer,HalidCisse/Humanizer,llehouerou/Humanizer,CodeFromJordan/Humanizer,mrchief/Human... | src/Humanizer/Truncation/FixedNumberOfCharactersTruncator.cs | src/Humanizer/Truncation/FixedNumberOfCharactersTruncator.cs | using System;
using System.Linq;
namespace Humanizer
{
/// <summary>
/// Truncate a string to a fixed number of letters or digits
/// </summary>
class FixedNumberOfCharactersTruncator : ITruncator
{
public string Truncate(string value, int length, string truncationString, TruncateFrom trunc... | using System;
using System.Linq;
namespace Humanizer
{
/// <summary>
/// Truncate a string to a fixed number of letters or digits
/// </summary>
class FixedNumberOfCharactersTruncator : ITruncator
{
public string Truncate(string value, int length, string truncationString, TruncateFrom trunc... | mit | C# |
02f1a39b1cf6c2a953323660ce645d151688b2c1 | Include Sage | johnnyreilly/proverb-api-core | src/Proverb.Data.EntityFramework/CommandQuery/SayingQuery.cs | src/Proverb.Data.EntityFramework/CommandQuery/SayingQuery.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Proverb.Data.EntityFramework.Models;
namespace Proverb.Data.EntityFramework.CommandQuery
{
public interface ISayingQuery
{
Task<ICollection<Saying>> GetAllAsync();
Task... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Proverb.Data.EntityFramework.Models;
namespace Proverb.Data.EntityFramework.CommandQuery
{
public interface ISayingQuery
{
Task<ICollection<Saying>> GetAllAsync();
Task... | mit | C# |
a7ed0ae488305cbca13bed3475e46517e3dc89ef | add ConfigureMackineKeyForSessionTokens helper | jbn566/Thinktecture.IdentityModel.45,shashwatchandra/Thinktecture.IdentityModel.45,nguyenbanguyen/Thinktecture.IdentityModel.45,darraghoriordan/Thinktecture.IdentityModel.45,IdentityModel/Thinktecture.IdentityModel.45,rmorris8812/Thinktecture.IdentityModel.45,yonglehou/Thinktecture.IdentityModel.45 | IdentityModel/Thinktecture.IdentityModel/Web/PassiveSessionConfiguration.cs | IdentityModel/Thinktecture.IdentityModel/Web/PassiveSessionConfiguration.cs | using System;
using System.Collections.Generic;
using System.IdentityModel.Services;
using System.IdentityModel.Services.Tokens;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Thinktecture.IdentityModel.Web
{
public static class PassiveSessionConfi... | using System;
using System.Collections.Generic;
using System.IdentityModel.Services;
using System.IdentityModel.Tokens;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Thinktecture.IdentityModel.Web
{
public static class PassiveSessionConfiguration
{
public static void Co... | bsd-3-clause | C# |
91d7bbc60787989e4bfc82e3db01d6a5dd83f3c3 | Update ShapeStateFlags.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Model/Renderer/ShapeStateFlags.cs | src/Core2D/Model/Renderer/ShapeStateFlags.cs | using System;
namespace Core2D.Renderer
{
/// <summary>
/// Specifies shape state flags.
/// </summary>
[Flags]
public enum ShapeStateFlags
{
/// <summary>
/// Default shape state.
/// </summary>
Default = 0,
/// <summary>
/// Shape is visible.
... | using System;
namespace Core2D.Renderer
{
/// <summary>
/// Specifies shape state flags.
/// </summary>
[Flags]
public enum ShapeStateFlags
{
/// <summary>
/// Default shape state.
/// </summary>
Default = 0,
/// <summary>
/// Shape is visible.
... | mit | C# |
2594f15937f4cc81fc0cb5e073aa324a678cd7cc | Remove custom constructor from WheelOfFortune class. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Modules/Gambling/Common/WheelOfFortune/WheelOfFortune.cs | src/MitternachtBot/Modules/Gambling/Common/WheelOfFortune/WheelOfFortune.cs | using System.Collections.Immutable;
using Mitternacht.Common;
namespace Mitternacht.Modules.Gambling.Common.WheelOfFortune {
public class WheelOfFortune {
private static readonly NadekoRandom _rng = new NadekoRandom();
private static readonly ImmutableArray<string> _emojis = new string[] {
"⬆",
"↖",
"⬅"... | using System.Collections.Immutable;
using Mitternacht.Common;
namespace Mitternacht.Modules.Gambling.Common.WheelOfFortune {
public class WheelOfFortune {
private static readonly NadekoRandom _rng = new NadekoRandom();
private static readonly ImmutableArray<string> _emojis = new string[] {
"⬆",
"↖",
"⬅"... | mit | C# |
c856b3df05dc95a3cb563804e755eb0efdc37768 | Add comment noting tight-coupling of a-vs-an scanner and query | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | using System.Text.RegularExpressions;
using System.Linq;
using System;
using System.Collections.Generic;
namespace WikipediaAvsAnTrieExtractor {
public partial class RegexTextUtils {
//Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use... | apache-2.0 | C# |
ce80c8ff87f528f248e5d7d734b711bc788e44a1 | Allow statically bound Razor templates to be output cached | kamsar/Blade | Source/Blade/Views/RazorTemplate.cs | Source/Blade/Views/RazorTemplate.cs | using System.Web.UI;
using Sitecore.Web.UI;
using Blade.Razor;
using Blade.Utility;
using Sitecore.Diagnostics;
namespace Blade.Views
{
/// <summary>
/// Allows statically binding a Razor template as if it were a WebControl
/// </summary>
public class RazorTemplate : WebControl
{
/// <summary>
/// Virtual pa... | using System.Web.UI;
using Sitecore.Web.UI;
using Blade.Razor;
using Blade.Utility;
using Sitecore.Diagnostics;
namespace Blade.Views
{
/// <summary>
/// Allows statically binding a Razor template as if it were a WebControl
/// </summary>
public class RazorTemplate : WebControl
{
/// <summary>
/// Virtual pa... | mit | C# |
1f4ac958f423c76561667937fd5b52256558baa0 | Remove incorrect comment | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/StackAllocArrayCreationExpressionSyntaxExtensionsTests.cs | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Lightup;
usin... | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using Microsoft.CodeAnalysis.CSharp;
using StyleCop.Analyzers.Lightup;
usin... | mit | C# |
bd0a329912802376ed3426bf2b914a9890d14dcb | Simplify format logic | AntiTcb/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,LassieME/Discord.Net | src/Discord.Net.Core/CDN.cs | src/Discord.Net.Core/CDN.cs | namespace Discord
{
public static class CDN
{
public static string GetApplicationIconUrl(ulong appId, string iconId)
=> iconId != null ? $"{DiscordConfig.CDNUrl}app-icons/{appId}/{iconId}.jpg" : null;
public static string GetUserAvatarUrl(ulong userId, string avatarId, ushort size, ... | namespace Discord
{
public static class CDN
{
public static string GetApplicationIconUrl(ulong appId, string iconId)
=> iconId != null ? $"{DiscordConfig.CDNUrl}app-icons/{appId}/{iconId}.jpg" : null;
public static string GetUserAvatarUrl(ulong userId, string avatarId, ushort size, ... | mit | C# |
be08460bea4c10391dd980b2d437a5ee4364e248 | Fix formatting issues | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu | osu.Game/Users/Drawables/DrawableAvatar.cs | osu.Game/Users/Drawables/DrawableAvatar.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Online.API;
nam... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Game.Online.API;
nam... | mit | C# |
eda818710739ebb1a5a460d6793978b01d61d2e9 | Fix TesterDiagnosticProvider not actually providing any document diagnostics | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCopTester/TesterDiagnosticProvider.cs | StyleCop.Analyzers/StyleCopTester/TesterDiagnosticProvider.cs | namespace StyleCopTester
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
internal sealed class TesterDiagnosticProvider... | namespace StyleCopTester
{
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
internal sealed class TesterDiagnosticProvider... | mit | C# |
217554f587d40582ce51b2c5630c8a0e4402791d | Remove redundant interface | smoogipoo/osu,Frontear/osuKyzer,UselessToucan/osu,smoogipoo/osu,naoey/osu,johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,2yangk23/osu,ZLima12/osu,Drezi126/osu,johnneijzen/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,2yangk23/osu,Nabile-Rahmani/osu,DrabWeb/osu,naoey/... | osu.Game/Rulesets/Mods/ModPerfect.cs | osu.Game/Rulesets/Mods/ModPerfect.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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModPerfect : ModSuddenDeath
{
public override string ... | // 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.Game.Rulesets.Scoring;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModPerfect : ModSuddenDeath, IApplicableToScoreProcessor
{
... | mit | C# |
7649ff2cccbe06a44c6ee5ab5a77b658018adef1 | Remove unnecessary Console.WriteLine in C# library | john29917958/Cpp-Call-CSharp-Example,john29917958/Cpp-Call-CSharp-Example | CSharpLibrary/Calculator.cs | CSharpLibrary/Calculator.cs | using System;
namespace CSharpLibrary
{
public class Calculator : ICalculator
{
public int Add(int a, int b)
{
return a + b;
}
public int Subtract(int a, int b)
{
return a - b;
}
public int Multiply(int a, int b)
{
... | using System;
namespace CSharpLibrary
{
public class Calculator : ICalculator
{
public int Add(int a, int b)
{
return a + b;
}
public int Subtract(int a, int b)
{
return a - b;
}
public int Multiply(int a, int b)
{
... | mit | C# |
c5de2a7187d9f0912f541a22ab6c01eb13ea0c38 | Update Program.cs | informedcitizenry/6502.Net | 6502.Net/Program.cs | 6502.Net/Program.cs | //-----------------------------------------------------------------------------
// Copyright (c) 2017 Nate Burnett <informedcitizenry@gmail.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... | //-----------------------------------------------------------------------------
// Copyright (c) 2017 Nate Burnett <informedcitizenry@gmail.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 i... | mit | C# |
1e776561a1ee37e9dea88afce06117c53baaf0d0 | Update InclusionChecker.cs | Fody/Virtuosity | Virtuosity.Fody/InclusionChecker.cs | Virtuosity.Fody/InclusionChecker.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
public partial class ModuleWeaver
{
public Func<TypeDefinition, bool> ShouldIncludeType;
List<LineMatcher> lineMatchers;
public void ProcessIncludesExcludes()
{
if (ExcludeNamespaces.Any())
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
public partial class ModuleWeaver
{
public Func<TypeDefinition, bool> ShouldIncludeType;
List<LineMatcher> lineMatchers;
public void ProcessIncludesExcludes()
{
if (ExcludeNamespaces.Any())
{
... | mit | C# |
d4adf9fb30813ec4a02d70f024e0441d6778388e | add null check | TakeAsh/cs-WpfUtility | WpfUtility/BrushExtensionMethods.cs | WpfUtility/BrushExtensionMethods.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Windows.Media.Media3D;
namespace WpfUtility {
public static class BrushExtensionMethods {
public static Material ToMaterial(this Brush brush) {
return br... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media;
using System.Windows.Media.Media3D;
namespace WpfUtility {
public static class BrushExtensionMethods {
public static Material ToMaterial(this Brush brush) {
return ne... | mit | C# |
5328b096373bbfa215a2a026fc59fbbe7e0360f1 | Implement RunServerCompilation in portable build task | pdelvo/roslyn,pdelvo/roslyn,jamesqo/roslyn,AlekseyTs/roslyn,mattscheffer/roslyn,jhendrixMSFT/roslyn,natgla/roslyn,bbarry/roslyn,KevinRansom/roslyn,brettfo/roslyn,CaptainHayashi/roslyn,MichalStrehovsky/roslyn,MattWindsor91/roslyn,CyrusNajmabadi/roslyn,khellang/roslyn,weltkante/roslyn,drognanar/roslyn,KevinRansom/roslyn,... | src/Compilers/Core/MSBuildTask/Portable/BuildClientShim.cs | src/Compilers/Core/MSBuildTask/Portable/BuildClientShim.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Mi... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis.CommandLine;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Mi... | mit | C# |
9802d8ab1133d33e267afcb173efac0da82579e0 | Rename setting | EVAST9919/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,ppy/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,Z... | osu.Game.Rulesets.Osu/UI/OsuSettingsSubsection.cs | osu.Game.Rulesets.Osu/UI/OsuSettingsSubsection.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Osu.Configuration;
namespace osu.Game.Rulesets.O... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Osu.Configuration;
namespace osu.Game.Rulesets.O... | mit | C# |
c409b893f67780dbf0a85774094e26c9c6b53109 | Update comments for ServiceName property in ZipkinExporterOptions (#1539) | open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet,open-telemetry/opentelemetry-dotnet | src/OpenTelemetry.Exporter.Zipkin/ZipkinExporterOptions.cs | src/OpenTelemetry.Exporter.Zipkin/ZipkinExporterOptions.cs | // <copyright file="ZipkinExporterOptions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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.... | // <copyright file="ZipkinExporterOptions.cs" company="OpenTelemetry Authors">
// Copyright The OpenTelemetry Authors
//
// 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-2.0 | C# |
c130400cb502ec002c8919e8996e693eb505552e | Set PATH to influence DLL load path | boumenot/Wapiti.NET | src/Wapiti/Wapiti.cs | src/Wapiti/Wapiti.cs | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
namespace Wapiti
{
public class Wapiti
{
static Wapiti()
{
Wapiti.SetPathForNativeDllResolution();
}
private static string GetExecutingAssemblyPath()
... | using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace Wapiti
{
public class Wapiti
{
private Wapiti() {}
public string Label(WapitiModel model, string path)
{
using (var stream = File.OpenRead(path))
{
return this.L... | apache-2.0 | C# |
964ff36c2a3a4816b4bc78ebc5bf274ced9854e1 | Fix copy/paste bug related to changeset a06f6c6cd5ab | burningice2866/CompositeC1Contrib.Email,burningice2866/CompositeC1Contrib.Email | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | Email/C1Console/Workflows/EditConfigurableSystemNetMailClientQueueWorkflow.cs | using System;
using System.Collections.Generic;
using System.Net.Mail;
namespace CompositeC1Contrib.Email.C1Console.Workflows
{
public sealed class EditConfigurableSystemNetMailClientQueueWorkflow : EditMailQueueWorkflow
{
public EditConfigurableSystemNetMailClientQueueWorkflow() : base("\\Inst... | using System;
using System.Collections.Generic;
using System.Net.Mail;
using Composite.C1Console.Workflow;
namespace CompositeC1Contrib.Email.C1Console.Workflows
{
[AllowPersistingWorkflow(WorkflowPersistingType.Idle)]
public sealed class EditConfigurableSystemNetMailClientQueueWorkflow : EditMailQue... | mit | C# |
d7bf46072312dd0c6f270b11c29fd37134b0b134 | Update AbpCoreEf6SampleEntityFrameworkModule.cs | aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples | AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/AbpCoreEf6SampleEntityFrameworkModule.cs | AbpCoreEf6Sample/aspnet-core/src/AbpCoreEf6Sample.EntityFrameworkCore/EntityFrameworkCore/AbpCoreEf6SampleEntityFrameworkModule.cs | using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.EntityFramework;
using System.Data.Entity;
namespace AbpCoreEf6Sample.EntityFrameworkCore
{
[DependsOn(
typeof(AbpCoreEf6SampleCoreModule),
typeof(AbpZeroCoreEntityFrameworkModule))]
public class AbpCoreEf6SampleEntityFramewor... | using Abp.EntityFrameworkCore.Configuration;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Zero.EntityFramework;
using AbpCoreEf6Sample.EntityFrameworkCore.Seed;
namespace AbpCoreEf6Sample.EntityFrameworkCore
{
[DependsOn(
typeof(AbpCoreEf6SampleCoreModule),
typeof(AbpZeroCoreEnti... | mit | C# |
66112e6b391bf56d3d3e5bb398a3f392b20a09bf | Fix bug with test cases not working with different timezone | stranne/Vasttrafik.NET,stranne/Vasttrafik.NET | src/Stranne.VasttrafikNET.Tests/JsonParsing/HistoricalAvailabilityJsonTest.cs | src/Stranne.VasttrafikNET.Tests/JsonParsing/HistoricalAvailabilityJsonTest.cs | using System;
using System.Collections.Generic;
using Stranne.VasttrafikNET.ApiModels.CommuterParking;
using Stranne.VasttrafikNET.Tests.Json;
using Xunit;
namespace Stranne.VasttrafikNET.Tests.JsonParsing
{
public class HistoricalAvailabilityJsonTest : BaseJsonTest
{
protected override string Json =... | using System;
using System.Collections.Generic;
using Stranne.VasttrafikNET.ApiModels.CommuterParking;
using Stranne.VasttrafikNET.Tests.Json;
using Xunit;
namespace Stranne.VasttrafikNET.Tests.JsonParsing
{
public class HistoricalAvailabilityJsonTest : BaseJsonTest
{
protected override string Json =... | mit | C# |
8f6baad5c3bf9737447c41c20ff88beac274004f | Revert `IUniform` accessibility change | peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework | osu.Framework/Graphics/Shaders/IUniform.cs | osu.Framework/Graphics/Shaders/IUniform.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// Represents an updateable shader uniform.
/// </summary>
internal interfac... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
namespace osu.Framework.Graphics.Shaders
{
/// <summary>
/// Represents an updateable shader uniform.
/// </summary>
public interface ... | mit | C# |
f6cb97fa6a0bdea8f2e7c442733a3a8f5c92228f | Add missing content for the Nubbin | ethanmoffat/EndlessClient | EndlessClient/Rendering/Chat/ChatBubbleTextureProvider.cs | EndlessClient/Rendering/Chat/ChatBubbleTextureProvider.cs | // Original Work Copyright (c) Ethan Moffat 2014-2017
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using EndlessClient.Content;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace EndlessClient.Ren... | // Original Work Copyright (c) Ethan Moffat 2014-2017
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System.Collections.Generic;
using EndlessClient.Content;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
namespace EndlessClient.Ren... | mit | C# |
b6e464f873a2b8ff06b4c33630c55199e25f19f2 | Fix issue with skidmarks. | jongallant/CarSimulator | Assets/Scripts/Tire.cs | Assets/Scripts/Tire.cs | using UnityEngine;
public class Tire : MonoBehaviour {
public float RestingWeight { get; set; }
public float ActiveWeight { get; set; }
public float Grip { get; set; }
public float FrictionForce { get; set; }
public float AngularVelocity { get; set; }
public float Torque { get; set; }
public float Radius = 0... | using UnityEngine;
public class Tire : MonoBehaviour {
public float RestingWeight { get; set; }
public float ActiveWeight { get; set; }
public float Grip { get; set; }
public float FrictionForce { get; set; }
public float AngularVelocity { get; set; }
public float Torque { get; set; }
public float Radius = 0... | mit | C# |
5fb6ff6bd5b969ddb8cbb81997906564b1cd2ba9 | increase version | tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising | Nager.AmazonProductAdvertising/Properties/AssemblyInfo.cs | Nager.AmazonProductAdvertising/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("Nag... | 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("Nag... | mit | C# |
72a9b01e842cee71bc46bdf1ce761d7cb3833ad0 | Remove unused code | blaise-braye/my-accounts | Operations.Classification.WpfUi.Tests/Accounts/Wrapper.cs | Operations.Classification.WpfUi.Tests/Accounts/Wrapper.cs | namespace Operations.Classification.WpfUi.Tests.Accounts
{
/// <summary>
/// this wrapper is used as a trick to fool the test explorer.
/// Without this mecanism, some tests could be written with the autofixture style
/// </summary>
/// <typeparam name="T"></typeparam>
public class Wrapper<T>
... | namespace Operations.Classification.WpfUi.Tests.Accounts
{
public class Wrapper<T>
{
public T Value { get; }
public Wrapper(T value)
{
Value = value;
}
public override string ToString()
{
return typeof(T).ToString();
}
p... | mit | C# |
3aadcba27e92bc3714102bd0d5961cc34b9e0304 | Include isasync | FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,FlorianRappl/AngleSharp,AngleSharp/AngleSharp,AngleSharp/AngleSharp | AngleSharp/Html/LinkRels/ImportLinkRelation.cs | AngleSharp/Html/LinkRels/ImportLinkRelation.cs | namespace AngleSharp.Html.LinkRels
{
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using AngleSharp.Network;
using AngleSharp.Parser.Html;
using System;
using System.Threading;
using System.Threading.Tasks;
class ImportLinkRelation : BaseLinkRelation... | namespace AngleSharp.Html.LinkRels
{
using AngleSharp.Dom;
using AngleSharp.Dom.Html;
using AngleSharp.Extensions;
using AngleSharp.Network;
using AngleSharp.Parser.Html;
using System.Threading;
using System.Threading.Tasks;
class ImportLinkRelation : BaseLinkRelation
{
#re... | mit | C# |
2415201cb611745a8556c4410695289b0d517a8c | Rename vars | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University/Commands/UpdateEduProgramDivisionCommand.cs | R7.University/Commands/UpdateEduProgramDivisionCommand.cs | using System.Collections.Generic;
using R7.Dnn.Extensions.Models;
using R7.University.EditModels;
using R7.University.ModelExtensions;
using R7.University.Models;
namespace R7.University.Commands
{
public class UpdateEduProgramDivisionsCommand
{
protected readonly IModelContext ModelContext;
p... | //
// UpdateEduProgramDivisionsCommand.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2017-2018 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
// th... | agpl-3.0 | C# |
3a5813f0e305a7661b9daf388140585b7b162f30 | Update class that was missed in the last commit | peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.... | src/Glimpse.Agent.AspNet.Mvc/Messages/AfterActionMessage.cs | src/Glimpse.Agent.AspNet.Mvc/Messages/AfterActionMessage.cs |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class AfterActionMessage
{
public string ActionId { get; set; }
public Timing Timing { get; set; }
}
} |
namespace Glimpse.Agent.AspNet.Mvc.Messages
{
public class ActionInvokedMessage
{
public string ActionId { get; set; }
public Timing Timing { get; set; }
}
} | mit | C# |
72c01439185b3ec9e50a160920ee56df892189ef | Add check for BGA | fanoI/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,trivalik/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,trivalik/Cosmos,CosmosOS/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos | source/Cosmos.HAL/Drivers/VBEDriver.cs | source/Cosmos.HAL/Drivers/VBEDriver.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.HAL.Drivers
{
public class VBEDriver
{
private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE;
private void vbe_write(ushort index, ushort value)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.HAL.Drivers
{
public class VBEDriver
{
private Core.IOGroup.VBE IO = Core.Global.BaseIOGroups.VBE;
private void vbe_write(ushort index, ushort value)
... | bsd-3-clause | C# |
5038c6241efe904f65dcb0578bc704c1bc70ab24 | Fix the ugly checkbox | LodewijkSioen/ExitStrategy,LodewijkSioen/ExitStrategy | src/TestWebsite/Views/Shared/EditorTemplates/Boolean.cshtml | src/TestWebsite/Views/Shared/EditorTemplates/Boolean.cshtml | @model Boolean?
<div class="checkbox">
<label>
@Html.CheckBox("", @Model.GetValueOrDefault(false))
</label>
</div> | @model Boolean?
<label>
@Html.CheckBox("", @Model.GetValueOrDefault(false), new {@class="form-control check-box checkbox-inline"})
</label> | mit | C# |
45a6db2f799cf4e3909a33958e63be9858db517a | Bump version. | bchavez/SharpFlame,bchavez/SharpFlame | source/SharpFlame/Constants.cs | source/SharpFlame/Constants.cs | internal static class Constants
{
public const string ProgramName = "SharpFlame";
public const string ProgramVersionNumber = "0.24";
#if Mono
public const string ProgramPlatform = "Mono 0.24";
#else
public const string ProgramPlatform = "Windows";
#endif
public const int PlayerCountMax = 10... | internal static class Constants
{
public const string ProgramName = "SharpFlame";
public const string ProgramVersionNumber = "0.23";
#if Mono
public const string ProgramPlatform = "Mono 0.23";
#else
public const string ProgramPlatform = "Windows";
#endif
public const int PlayerCountMax = 10... | mit | C# |
fdcd03be21f8e6218cba43d34f633cf134c08c68 | Fix feature FootprintY having FootprintX value | MHeasell/Mappy,MHeasell/Mappy | Mappy/Data/FeatureRecord.cs | Mappy/Data/FeatureRecord.cs | namespace Mappy.Data
{
using Mappy.Util;
using TAUtil.Tdf;
public class FeatureRecord
{
public string Name { get; set; }
public string World { get; set; }
public string Category { get; set; }
public int FootprintX { get; set; }
public int Fo... | namespace Mappy.Data
{
using Mappy.Util;
using TAUtil.Tdf;
public class FeatureRecord
{
public string Name { get; set; }
public string World { get; set; }
public string Category { get; set; }
public int FootprintX { get; set; }
public int Fo... | mit | C# |
c193330a2d3fdffb5e0a3d760f8ddb8352366f51 | Add missing '.' to /// comment | martincostello/api,martincostello/api,martincostello/api | src/API/Controllers/ErrorController.cs | src/API/Controllers/ErrorController.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ErrorController.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// ErrorController.cs
// </summary>
// --------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ErrorController.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// ErrorController.cs
// </summary>
// --------------------... | mit | C# |
ec3ed56c700cf8a605426bd77b38543fa9420b47 | Set environment variable configuration to the passed in parameter | appharbor/appharbor-cli | src/AppHarbor/Commands/LoginCommand.cs | src/AppHarbor/Commands/LoginCommand.cs | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AppHarborApi appHarborApi, EnvironmentVariableConfiguration environmentVari... | using System;
namespace AppHarbor.Commands
{
public class LoginCommand : ICommand
{
private readonly AppHarborApi _appHarborApi;
private readonly EnvironmentVariableConfiguration _environmentVariableConfiguration;
public LoginCommand(AppHarborApi appHarborApi, EnvironmentVariableConfiguration environmentVari... | mit | C# |
6f5278f8cfb6907f2f2924a17392035b8f3a37d1 | Fix Registry Name | Tulpep/Network-AutoSwitch | Tulpep.NetworkAutoSwitch.ProxyService/ManageProxyState.cs | Tulpep.NetworkAutoSwitch.ProxyService/ManageProxyState.cs | using Microsoft.Win32;
using System;
using System.Management;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices;
using Tulpep.NetworkAutoSwitch.NetworkStateLibrary;
using Tulpep.NetworkAutoSwitch.UtilityLibrary;
namespace Tulpep.NetworkAutoSwitch.ProxyService
{
public class ManageProxyStat... | using Microsoft.Win32;
using System;
using System.Management;
using System.Net.NetworkInformation;
using System.Runtime.InteropServices;
using Tulpep.NetworkAutoSwitch.NetworkStateLibrary;
using Tulpep.NetworkAutoSwitch.UtilityLibrary;
namespace Tulpep.NetworkAutoSwitch.ProxyService
{
public class ManageProxyStat... | mit | C# |
c78821c6347f73b1015161b4dd205c5a89c04be4 | Fix CanvasCellViewBackend.QueueDraw() | sevoku/xwt | Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs | Xwt.WPF/Xwt.WPFBackend.CellViews/CanvasCellViewBackend.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Xwt.Backends;
namespace Xwt.WPFBackend
{
class CanvasCellViewBackend: CellViewBackend, ICanvasCellViewBackend
{
public void QueueDraw()
{
CurrentElement.InvalidateVisual ();
}... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using Xwt.Backends;
namespace Xwt.WPFBackend
{
class CanvasCellViewBackend: CellViewBackend, ICanvasCellViewBackend
{
public void QueueDraw()
{
}
}
}
| mit | C# |
eb6256f3f3c5f7a499e9f64d72e33c0fb08b544f | Fix fake client | MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net | Mindscape.Raygun4Net.NetCore.Tests/Model/FakeRaygunClient.cs | Mindscape.Raygun4Net.NetCore.Tests/Model/FakeRaygunClient.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework.Internal;
namespace Mindscape.Raygun4Net.NetCore.Tests
{
public class FakeRaygunClient : Raygu... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework.Internal;
namespace Mindscape.Raygun4Net.NetCore.Tests
{
public class FakeRaygunClient : Raygu... | mit | C# |
1baf30e5d2a95bc34862727419887d7b0591e5d1 | add implement yield keyword | jongfeel/OOP_Review_2017_1 | OOP_Review_2017_1/OOP_Review_2017_2/Program.cs | OOP_Review_2017_1/OOP_Review_2017_2/Program.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOP_Review_2017_2
{
class Program
{
// Declare delegate
public delegate void DelegateAction();
// Difference DelegateAction and Deleg... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OOP_Review_2017_2
{
class Program
{
// Declare delegate
public delegate void DelegateAction();
// Difference DelegateAction and DelegateActionMethod
pu... | mit | C# |
66d2d5ec55163ce5900f3b1195ef8688cc1b46af | test ocmmit | g0rdan/g0rdan.MvvmCross.Plugins | samples/MvvmCross.Plugins/MvvmCross.Plugins.Windows/Properties/AssemblyInfo.cs | samples/MvvmCross.Plugins/MvvmCross.Plugins.Windows/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("M... | 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("Mv... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.