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 |
|---|---|---|---|---|---|---|---|---|
acb88edc64cf0551373aadb4412feb938d926311 | Update Ideas3.cs | willrawls/xlg,willrawls/xlg | MetX/MetX.QuickScripts/Walker/Ideas3.cs | MetX/MetX.QuickScripts/Walker/Ideas3.cs | using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetX.Standard.Primary.Metadata;
namespace XLG.QuickScripts.Walker
{
public partial class Ideas3 : Form
{... | using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MetX.Standard.Primary.Metadata;
namespace XLG.QuickScripts.Walker
{
public partial class Ideas3 : Form
{... | mit | C# |
954bc756b20aa739412fe3cb890fbe086ce88116 | Test IsKeyboardFocused when changing tab. | toroso/ruibarbo | tungsten.sampletest/Features/IsKeyboardFocusedTest.cs | tungsten.sampletest/Features/IsKeyboardFocusedTest.cs | using NUnit.Framework;
using tungsten.core.Wpf.Base;
using tungsten.nunit;
using tungsten.sampletest.AutomationLayer;
namespace tungsten.sampletest.Features
{
[TestFixture]
public class IsKeyboardFocusedTest : TestBase
{
[Test]
public void TextBoxKeyboardFocus()
{
... | using NUnit.Framework;
using tungsten.core.Wpf.Base;
using tungsten.nunit;
using tungsten.sampletest.AutomationLayer;
namespace tungsten.sampletest.Features
{
[TestFixture]
public class IsKeyboardFocusedTest : TestBase
{
[Test]
public void TextBoxKeyboardFocus()
{
... | apache-2.0 | C# |
6e0c939167d5e6c7d6a013c7bfa7afff87662cb2 | Fix the failing test case. | lijunle/Nancy.AttributeRouting,lijunle/Nancy.AttributeRouting | Nancy.AttributeRouting/ViewAttribute.cs | Nancy.AttributeRouting/ViewAttribute.cs | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The View attribute indicates the view path to render from request.
/// </summary>
/// <example>
/// The following code will render <c>View/index.html</c> with routing instance.
/// <code>
//... | namespace Nancy.AttributeRouting
{
using System;
using System.Reflection;
/// <summary>
/// The View attribute indicates the view path to render from request.
/// </summary>
/// <example>
/// The following code will render <c>View/index.html</c> with routing instance.
/// <code>
//... | mit | C# |
33dba5ac69bd290849202c1ae418e952c9f12f64 | Fix Configuration | dorisol1019/SNS_Bot | SNS_Bot/Migrations/Configuration.cs | SNS_Bot/Migrations/Configuration.cs | namespace tweetBot.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<tweetBot.Context.SerifDataContext>
{
public Configuration()
{
AutomaticMigr... | namespace tweetBot.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<tweetBot.Context.SerifDataContext>
{
public Configuration()
{
AutomaticMigr... | mit | C# |
c2d755a5ad40589d57bc8e6da5bffdd85a5c2a0c | Simplify tutorial 3 (table layout) | bbqchickenrobot/Eto-1,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1 | Samples/Tutorials/Tutorial3/Main.cs | Samples/Tutorials/Tutorial3/Main.cs | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Tutorial3
{
public class MyForm : Form
{
public MyForm()
{
ClientSize = new Size(600, 400);
Title = "Table Layout";
// The main layout mechanism for Eto.Forms is a TableLayout.
// This is recommended to allow controls to keep their natural ... | using System;
using Eto.Forms;
using Eto.Drawing;
namespace Tutorial3
{
public class MyForm : Form
{
public MyForm()
{
ClientSize = new Size(600, 400);
Title = "Table Layout";
// The main layout mechanism for Eto.Forms is a TableLayout.
// This is recommended to allow controls to keep their natural ... | bsd-3-clause | C# |
ae6ee01ad4d126e64369f274aa292e836a674a5c | Add right click by a short cut key comination | camphortree/mouse-capability-extender,camphortree/target-clicker | target-clicker/MainWindow.xaml.cs | target-clicker/MainWindow.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# |
6b3f9f411850079be7cb28259f8630d497dd1e3f | Add doc | bartlomiejwolk/LoadLevel | LoadLevel.cs | LoadLevel.cs | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the LoadLevel extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
namespace LoadLevelEx {
public sealed class LoadLevel : MonoBehaviour {
#re... | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the LoadLevel extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
namespace LoadLevelEx {
public sealed class LoadLevel : MonoBehaviour {
#re... | mit | C# |
005d3a7dd2168d1fa6ae3782a8816686308a7ae5 | Update Usage.cs | WojcikMike/docs.particular.net | Snippets/Snippets_6/Forwarding/Usage.cs | Snippets/Snippets_6/Forwarding/Usage.cs | namespace Snippets6.Forwarding
{
using NServiceBus;
public class Usage
{
public Usage()
{
#region ForwardingWithCode
EndpointConfiguration endpointConfiguration = new EndpointConfiguration();
endpointConfiguration.ForwardReceivedMessagesTo("destinationQue... | namespace Snippets6.Forwarding
{
using NServiceBus;
public class Usage
{
public Usage()
{
#region ForwardingWithCode
EndpointConfiguration configuration = new EndpointConfiguration();
configuration.ForwardReceivedMessagesTo("destinationQueue@machine");
... | apache-2.0 | C# |
c8d32e06a1111fd5e85f5d7a8ba57d98ea542e8d | Revert "Remove all awaits in the MessageBusConnection" | exceptionless/Exceptionless,exceptionless/Exceptionless,adamzolotarev/Exceptionless,adamzolotarev/Exceptionless,adamzolotarev/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless | Source/Api/Hubs/MessageBusConnection.cs | Source/Api/Hubs/MessageBusConnection.cs | using System;
using System.Linq;
using System.Threading.Tasks;
using Exceptionless.Core.Component;
using Exceptionless.Core.Extensions;
using Foundatio.Logging;
using Microsoft.AspNet.SignalR;
namespace Exceptionless.Api.Hubs {
public class MessageBusConnection : PersistentConnection {
private readonly Co... | using System;
using System.Threading.Tasks;
using Exceptionless.Core.Component;
using Exceptionless.Core.Extensions;
using Microsoft.AspNet.SignalR;
namespace Exceptionless.Api.Hubs {
public class MessageBusConnection : PersistentConnection {
private readonly ConnectionMapping _userIdConnections;
... | apache-2.0 | C# |
4ea31961fea5e0a802b1e1077cf0cc720c237e8b | Fix test launcher to not use Drivers directory. | eylvisaker/AgateLib | Tests/Launcher.cs | Tests/Launcher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AgateLib;
namespace Tests
{
class Launcher
{
[STAThread]
public static void Main(string[] args)
{
AgateFileProvider.Images.AddPath("Data");
Application.EnableVisualSty... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using AgateLib;
namespace Tests
{
class Launcher
{
[STAThread]
public static void Main(string[] args)
{
AgateFileProvider.Assemblies.AddPath("../Drivers");
AgateFileProvider.I... | mit | C# |
d06b9dc424af75d19b5bf17da775f1c4fa862c2f | Implement utlity for requesting JSON as string | Zalodu/Schedutalk,Zalodu/Schedutalk | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | Schedutalk/Schedutalk/Schedutalk/Logic/HttpRequestor.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Schedutalk.Logic
{
class HttpRequestor
{
public async Task<string> getHttpRequestAsString(Func<string, HttpRequestMessage> requestTask, string input)
... | mit | C# |
c613381623f6b4c0f4744803b0e1cf032ab1d7a4 | update default skipper threshold to 15ms | holance/helix-toolkit,JeremyAnsel/helix-toolkit,chrkon/helix-toolkit,helix-toolkit/helix-toolkit,smischke/helix-toolkit,Iluvatar82/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Helpers/EventSkipper.cs | Source/HelixToolkit.Wpf.SharpDX/Helpers/EventSkipper.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelixToolkit.Wpf.SharpDX.Helpers
{
/// <summary>
/// Use to skip event if event frequency is too high.
/// </summary>
public sealed class EventSkipper... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HelixToolkit.Wpf.SharpDX.Helpers
{
/// <summary>
/// Use to skip event if event frequency is too high.
/// </summary>
public sealed class EventSkipper... | mit | C# |
ee61846b94dcd8e58f62a070a15831bc5b9f3347 | Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.15 | 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# |
c8fead292cf1bb6dca43bb4f90fefc66855b9de8 | Return 0 as HighestBid when Auction does not have History yet | mersocarlin/auction-service,mersocarlin/auction-service | AuctionService/AuctionService.Domain/Models/Auction.cs | AuctionService/AuctionService.Domain/Models/Auction.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace AuctionService.Domain.Models
{
public class Auction
{
#region ctor
public Auction()
{
this.History = new List<AuctionHistory>();
}
#endregion
#region Properties
pub... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AuctionService.Domain.Models
{
public class Auction
{
#region ctor
public Auction()
{
this.History = new List<AuctionHistory>();
}
#endregion
#region Properties
pub... | mit | C# |
a6c0ef52accf1ed8f2c8a67d30e0a3550c1d2aec | Test AbstractCondition | JohanLarsson/Gu.Reactive | Gu.Reactive.Tests/Conditions/AbstractConditionTests.cs | Gu.Reactive.Tests/Conditions/AbstractConditionTests.cs | namespace Gu.Reactive.Tests.Conditions
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
using Gu.Reactive.Tests.Helpers;
using NUnit.Framework;
public class AbstractConditionTests
{
[Test]
... | namespace Gu.Reactive.Tests.Conditions
{
using System;
using Gu.Reactive.Tests.Helpers;
using NUnit.Framework;
public class AbstractConditionTests
{
[Test]
public void Naming()
{
var fake = new Fake { IsTrue = false };
var condition = new ConditionE... | mit | C# |
4a491ca6f02122e9dc4dcff568134e0660ff767d | Fix XML docs containing an ampersand | ptoonen/corefx,yizhang82/corefx,shimingsg/corefx,rjxby/corefx,pallavit/corefx,elijah6/corefx,twsouthwick/corefx,twsouthwick/corefx,mmitche/corefx,Jiayili1/corefx,mokchhya/corefx,cydhaselton/corefx,jlin177/corefx,kkurni/corefx,akivafr123/corefx,twsouthwick/corefx,twsouthwick/corefx,benpye/corefx,josguil/corefx,zhenlan/c... | src/Common/src/System/Net/Http/HttpHandlerDefaults.cs | src/Common/src/System/Net/Http/HttpHandlerDefaults.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Net.Http
{
/// <summary>
/// Defines default values for http handler properties which is meant to be re-used across WinHttp and UnixHttp Handle... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace System.Net.Http
{
/// <summary>
/// Defines default values for http handler properties which is meant to be re-used across WinHttp & UnixHttp Handlers... | mit | C# |
30cfb69d28e9b61ab576e428711f97b799ae482d | Add ShowQueueData method | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | QueueDataGraphic/QueueDataGraphic/CSharpFiles/Debug.cs | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | /********************************************************************
* Develop by Jimmy Hu *
* This program is licensed under the Apache License 2.0. *
* Debug.cs *
* 本檔案用於宣告偵錯相關工具物件 *
********************************************************************
*/
using System;
using... | apache-2.0 | C# |
79640cdfe53358ebd26d99c94e3cc2e13d964eed | Change internal parameter order | charlenni/Mapsui,charlenni/Mapsui | Samples/Mapsui.Samples.Common/Helpers/MbTilesHelper.cs | Samples/Mapsui.Samples.Common/Helpers/MbTilesHelper.cs | using System;
using System.IO;
using System.Reflection;
using Mapsui.Samples.Common.Maps;
namespace Mapsui.Samples.Common.Helpers
{
public static class MbTilesHelper
{
/// <summary>
/// Copies a number of embedded resources to the local file system.
/// </summary>
public stati... | using System;
using System.IO;
using System.Reflection;
using Mapsui.Samples.Common.Maps;
namespace Mapsui.Samples.Common.Helpers
{
public static class MbTilesHelper
{
/// <summary>
/// Copies a number of embedded resources to the local file system.
/// </summary>
/// <param n... | mit | C# |
c5665a1d165adad0ae36723fa0871ea019f97273 | Make GenderId Nullable | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Models/DTO/NewParentDto.cs | SignInCheckIn/SignInCheckIn/Models/DTO/NewParentDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SignInCheckIn.Models.DTO
{
public class NewParentDto
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
public int Co... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SignInCheckIn.Models.DTO
{
public class NewParentDto
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string PhoneNumber { get; set; }
public int Co... | bsd-2-clause | C# |
2d7921396ec49950d1a8042a43bde4bb7db1135f | Remove configfile prefix from settings file and let tablename drive naming. | GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA | Source/Libraries/openXDA.Model/SystemCenter/Setting.cs | Source/Libraries/openXDA.Model/SystemCenter/Setting.cs | //******************************************************************************************************
// Setting.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | //******************************************************************************************************
// Setting.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOT... | mit | C# |
2606f9a17d6f2b3f81b5de2541b348aa2ff5ee76 | Test fix | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation | UnityProject/Assets/Tests/Asset/NetworkManagerTests.cs | UnityProject/Assets/Tests/Asset/NetworkManagerTests.cs | using System.Linq;
using System.Text;
using Mirror;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace Tests.Asset
{
public class NetworkManagerTests
{
[Test]
public void SpawnableListTest()
{
var scenesGUIDs = AssetDatabase.FindAssets("OnlineScene t:S... | using System.Linq;
using Mirror;
using NUnit.Framework;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
namespace Tests.Asset
{
public class NetworkManagerTests
{
[Test]
public void SpawnableListTest()
{
var scenesGUIDs = AssetDatabase.FindAssets("OnlineScene t:Scene");
var scen... | agpl-3.0 | C# |
2a695a476948e40f15784a3cdc3f4a4dc116fc6a | Fix net45 / NET45 compilation flag casing (#2977) | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/client/Microsoft.Identity.Client/Utils/CollectionHelpers.cs | src/client/Microsoft.Identity.Client/Utils/CollectionHelpers.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
#if HAVE_METHOD_IMPL_ATTRIBUTE
using System.Runtime.CompilerServices;
#endif
namespace Microsoft.Identity.Client.Utils
{
internal static class CollectionHelpers
{
#i... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
#if HAVE_METHOD_IMPL_ATTRIBUTE
using System.Runtime.CompilerServices;
#endif
namespace Microsoft.Identity.Client.Utils
{
internal static class CollectionHelpers
{
#i... | mit | C# |
36b750783e5de17be250ef639692909cd2b2bbe5 | Check for Mono bug 11923 | JayBazuzi/Pash,WimObiwan/Pash,ForNeVeR/Pash,WimObiwan/Pash,sillvan/Pash,sillvan/Pash,WimObiwan/Pash,ForNeVeR/Pash,Jaykul/Pash,sillvan/Pash,sillvan/Pash,Jaykul/Pash,sburnicki/Pash,ForNeVeR/Pash,JayBazuzi/Pash,WimObiwan/Pash,ForNeVeR/Pash,mrward/Pash,sburnicki/Pash,mrward/Pash,Jaykul/Pash,sburnicki/Pash,JayBazuzi/Pash,Ja... | Libraries/Libraries.Tests/MonoTests.cs | Libraries/Libraries.Tests/MonoTests.cs | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Tests to confirm our external dependencies are working properly. Make sure
// th... | // Copyright (C) Pash Contributors. License: GPL/BSD. See https://github.com/Pash-Project/Pash/
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Tests to confirm our external dependencies are working properly. Make sure
// th... | bsd-3-clause | C# |
68668ded4e9bba0cccf4e6898a3091771ad17861 | fix menu (sort & make hierarchy) | fabianwilliams/xamarin-forms-samples,teefresh/xamarin-forms-samples-1,conceptdev/xamarin-forms-samples,teefresh/xamarin-forms-samples-1,KiranKumarAlugonda/xamarin-forms-samples,biste5/xamarin-forms-samples-1,JakeShanley/xamarin-forms-samples,reverence12389/xamarin-forms-samples-1,fabianwilliams/xamarin-forms-samples,Ki... | OxyPlotDemo/OxyPlotDemo/ExampleList.cs | OxyPlotDemo/OxyPlotDemo/ExampleList.cs | using System;
using Xamarin.Forms;
using System.Collections.Generic;
using ExampleLibrary;
using System.Linq;
namespace OxyPlotDemo
{
public class ExampleList : ContentPage
{
List<ExampleInfo> exampleInfoList;
public ExampleList ()
{
exampleInfoList = ExampleLibrary.Examples.GetList();
var tableView =... | using System;
using Xamarin.Forms;
using System.Collections.Generic;
using ExampleLibrary;
namespace OxyPlotDemo
{
public class ExampleList : ContentPage
{
List<ExampleInfo> exampleInfoList;
public ExampleList ()
{
// TODO: maybe i'll, you know, sort and group this a bit...
exampleInfoList = ExampleLib... | mit | C# |
d76b12d308296693c5f302acab4833596bb12d20 | Document MultiCoroutine.cs | orbitalgames/unity-utilities | MultiCoroutine.cs | MultiCoroutine.cs | /*
The MIT License (MIT)
Copyright (c) 2015 Orbital Games, LLC.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | // MultiCoroutine.cs
// Copyright (c) 2015 Orbital Games, LLC.
using System.Collections.Generic;
using System.Collections;
using UnityEngine;
namespace OrbitalGames.UnityUtilities
{
public class MultiCoroutine
{
private ICollection<IEnumerator> _coroutines;
private MonoBehaviour _host;
private int _remaining... | mit | C# |
7d3befc88dabc68390580d96690c9a8c5094d5a3 | Fix build break | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | testapps/ApplicationWithConfigureMvc/RazorRewriter.cs | testapps/ApplicationWithConfigureMvc/RazorRewriter.cs | using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ApplicationWithConfigureStartup
{
public class RazorRewriter : CSharpSyntaxRewriter
{
public override SyntaxNode VisitLiteralExpression(LiteralExpressionSyntax node)
... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace ApplicationWithConfigureStartup
{
public class RazorRewriter : CSharpSyntaxRewriter
{
public override SyntaxNode VisitLiteralExpression(LiteralExpressionSyntax node)
{
... | apache-2.0 | C# |
a3a0f4c4b9ab7540a7c02464832f8d2d12792d68 | Remove unit test that JsonErrorInfo constructor throws on a null value for the message parameter, which is going to be removed. | PenguinF/sandra-three | SysExtensions/Tests/JsonErrorInfoTests.cs | SysExtensions/Tests/JsonErrorInfoTests.cs | #region License
/*********************************************************************************
* JsonErrorInfoTests.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | #region License
/*********************************************************************************
* JsonErrorInfoTests.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | apache-2.0 | C# |
f719b9bef58da1e82dce0d702c8f498446dd5865 | Fix mania scroll direction not being read from database | EVAST9919/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,naoey/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,naoey/osu,peppy/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,DrabWeb/osu,naoey/osu,Use... | osu.Game.Rulesets.Mania/UI/ManiaScrollingInfo.cs | osu.Game.Rulesets.Mania/UI/ManiaScrollingInfo.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.Configuration;
using osu.Game.Rulesets.Mania.Configuration;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.UI
{
public ... | // 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.Configuration;
using osu.Game.Rulesets.Mania.Configuration;
using osu.Game.Rulesets.UI.Scrolling;
namespace osu.Game.Rulesets.Mania.UI
{
public ... | mit | C# |
e7da5b0400e3d388529c9eaa1c9b1dd3423c7971 | Add the [200 .. 300] bpm speed bonus | EVAST9919/osu,johnneijzen/osu,DrabWeb/osu,DrabWeb/osu,NeoAdonis/osu,naoey/osu,naoey/osu,smoogipoo/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,smoogipooo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,ZLima12/osu,naoey/osu,UselessTouc... | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.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 System;
using osu.Game.Rulesets.Osu.Difficulty.Preprocessing;
namespace osu.Game.Rulesets.Osu.Difficulty.Skills
{
/// <summary>
/// Represents the skill ... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using osu.Game.Rulesets.Osu.Difficulty.Preprocessing;
namespace osu.Game.Rulesets.Osu.Difficulty.Skills
{
/// <summary>
/// Represents the skill ... | mit | C# |
7d984867a9e4c2fd20768df1582449be5cae5d52 | Update documentation introduction | cake-build/website,cake-build/website,cake-build/website | input/docs/index.cshtml | input/docs/index.cshtml | Title: Documentation
---
<p>
Cake (C# Make) is a cross-platform build automation system with a C# DSL for tasks such as compiling code, copying files and folders, running unit tests, compressing files and building NuGet packages.
</p>
<p>
It ships both as a <a href="/docs/running-builds/runners/dotnet-core-too... | Title: Documentation
---
<p>This user guide, like Cake itself, is under very active development. Some parts of Cake aren't
documented as completely as they need to be, but we gladly accept your contributions.</p>
<p>We need your help to improve the documentation for Cake, so if there is something that you
would like ... | mit | C# |
a360048b6a58ce61e23b8cd7cb325745dddfc40f | Add IDeserializer to RestClient | jzebedee/lcapi | LCAPI/LCAPI/REST/RestClient.cs | LCAPI/LCAPI/REST/RestClient.cs | using System;
using System.Diagnostics;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using LCAPI.JSON;
namespace LCAPI.REST
{
public class RestClient
{
protected HttpClient Client { get; } = new HttpClient();
protected IDeserializer Deserializer { get; }
publ... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace LCAPI.REST
{
public class RestClient
{
protected HttpClient Client = new HttpClient();
public RestCl... | agpl-3.0 | C# |
e3933929438b40528f219a937ee65c71edaeb27c | Update GetExternalContactInfoBatchResult.cs | mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs | src/Senparc.Weixin.Work/Senparc.Weixin.Work/AdvancedAPIs/External/ExternalJson/GetExternalContactInfoBatchResult.cs | /*----------------------------------------------------------------
Copyright (C) 2021 Senparc
文件名:GetExternalContactInfoBatchResult.cs
文件功能描述:批量获取客户详情 返回结果
创建标识:gokeiyou - 20201013
----------------------------------------------------------------*/
using System;
using System.Collect... | /*----------------------------------------------------------------
Copyright (C) 2021 Senparc
文件名:GetExternalContactInfoBatchResult.cs
文件功能描述:批量获取客户详情 返回结果
创建标识:gokeiyou - 20201013
----------------------------------------------------------------*/
using System;
using System.Collect... | apache-2.0 | C# |
e6c3788a5a9b94a0ff38a677cb67b02589b788a1 | Add automatic retrieval of GitRepositoryAttribute.Branch from build server instances. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Git/GitRepositoryAttribute.cs | source/Nuke.Common/Git/GitRepositoryAttribute.cs | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core;
using Nuke.Core.BuildServers;
using Nuke.Core.Execution;
namespace Nuke.Common.Git
{
/... | // Copyright Matthias Koch, Sebastian Karasek 2018.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
using Nuke.Core;
using Nuke.Core.Execution;
namespace Nuke.Common.Git
{
/// <inheritdoc/>
/// <summ... | mit | C# |
37f634167986f7648a2ab9fa687cdde7cb932264 | Fix XML support to be non-blocking & based on observables | weblinq/WebLinq,atifaziz/WebLinq,atifaziz/WebLinq,weblinq/WebLinq | src/Core/Xml/XmlQuery.cs | src/Core/Xml/XmlQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | apache-2.0 | C# |
3874044c5a979cf6661a38a13bf8ee91e99b1e39 | Revert "CharCreate Labels" | Klackon/MMM | Assets/Scripts/CharCreateScreen.cs | Assets/Scripts/CharCreateScreen.cs | using UnityEngine;
using System.Collections;
public class CharCreateScreen : MonoBehaviour {
public string name = "name";
public string race = "race";
public string wizard = "Select wizard";
public string portrait = "Select Portrait";
public string spellPick = "spellPick";
public string specialAbility = "speica... | using UnityEngine;
using System.Collections;
public class CharCreateScreen : MonoBehaviour {
public string name = "name";
public string race = "race";
public string wizard = "Select wizard";
public string portrait = "Select Portrait";
public string spellPick = "spellPick";
public string specialAbility = "speica... | mpl-2.0 | C# |
8f3512360c92136d52cfda018ab3954dc425615b | Add missing deserialization fields to UnclaimedDraft (fixes #40) | HelloFax/hellosign-dotnet-sdk | HelloSign/Models/UnclaimedDraft.cs | HelloSign/Models/UnclaimedDraft.cs | namespace HelloSign
{
/// <summary>
/// </summary>
public class UnclaimedDraft
{
public enum Type
{
SendDocument,
RequestSignature
}
public string ClaimUrl { get; set; }
public string SigningRedirectUrl { get; set; }
publi... | namespace HelloSign
{
/// <summary>
/// </summary>
public class UnclaimedDraft
{
public enum Type
{
SendDocument,
RequestSignature
}
public string ClaimUrl { get; set; }
public string SigningRedirectUrl { get; set; }
publi... | mit | C# |
4d0a8d7a0e750e2458a28e3d516bacf7430b25b7 | update outdated variable name | NickLargen/Junctionizer | Junctionizer/UI/MainWindow.xaml.cs | Junctionizer/UI/MainWindow.xaml.cs | using System;
using System.Collections;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using Junctionizer.ViewModels;
using MaterialDesignThemes.Wpf;
using Prism.Commands;
using WpfBindingErrors;
[assembly: CLSCompliant(false)]
namespace Junctionizer.UI
{... | using System;
using System.Collections;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using Junctionizer.ViewModels;
using MaterialDesignThemes.Wpf;
using Prism.Commands;
using WpfBindingErrors;
[assembly: CLSCompliant(false)]
namespace Junctionizer.UI
{... | mit | C# |
3f083cf9070113ec71f0721e94c5016dc13bce3a | Fix landing on the ground not working occasionally | harjup/ChillTreasureTime | src/ChillTeasureTime/Assets/src/scripts/GroundCheck.cs | src/ChillTeasureTime/Assets/src/scripts/GroundCheck.cs | using System;
using UnityEngine;
using System.Collections;
public class GroundCheck : MonoBehaviour
{
public bool IsOnGround { get; private set; }
public void OnTriggerStay(Collider other)
{
var geometry = other.gameObject.GetComponent<LevelGeometry>();
if (geometry != null)
{
... | using System;
using UnityEngine;
using System.Collections;
public class GroundCheck : MonoBehaviour
{
public bool IsOnGround { get; private set; }
public void OnTriggerEnter(Collider other)
{
var geometry = other.gameObject.GetComponent<LevelGeometry>();
if (geometry != null)
{
... | mit | C# |
5567c9d06a9bb32b0468bee1cda98df854b9042d | Fix #667: Plot window does not appear if plotting for the first time in a VS session | AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSh... | src/Package/Impl/Plots/PlotHistory.cs | src/Package/Impl/Plots/PlotHistory.cs | using System;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Microsoft.VisualStudio.R.Package.Plots.Definitions;
using Microsoft.VisualStudio.R.Package.Shell;
using Microsoft.VisualStudio.R.Package.Utilities;
namespace Microsoft.VisualStudio.R.Package.Plots {
[Export(typeof(IPlotHist... | using System;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Microsoft.VisualStudio.R.Package.Plots.Definitions;
using Microsoft.VisualStudio.R.Package.Shell;
namespace Microsoft.VisualStudio.R.Package.Plots {
[Export(typeof(IPlotHistory))]
internal sealed class PlotHistory : IPl... | mit | C# |
52948b850ac99fcc11cd6eed6b73183bfae08540 | Fix documentation for windows message constants. | WolfspiritM/Colore,Sharparam/Colore,CoraleStudios/Colore,danpierce1/Colore | Colore/Razer/Constants.cs | Colore/Razer/Constants.cs | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | // ---------------------------------------------------------------------------------------
// <copyright file="Constants.cs" company="">
// Copyright © 2015 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associ... | mit | C# |
ac1bfd1ab173762626ea06c5a02383e8189ebf25 | Update comment | Kentico/Deliver-.NET-SDK,Kentico/delivery-sdk-net | Kentico.Kontent.Delivery/DeliveryClientFactory.cs | Kentico.Kontent.Delivery/DeliveryClientFactory.cs | using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kentico.Ko... | using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kentico.Ko... | mit | C# |
2e1b30ae5ec22a2fb1b6499f1f7d02d366583e5b | Correct animation sequence | zeh/unity-tidbits | objects/SimpleButton.cs | objects/SimpleButton.cs | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleButton:MonoBehaviour {
/*
A button with simple actions; syntax sugar
*/
// Properties
private bool _isPointerOver;
private bool _isPressed;
// =====================================================... | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SimpleButton:MonoBehaviour {
/*
A button with simple actions; syntax sugar
*/
// Properties
private bool _isPointerOver;
private bool _isPressed;
// =====================================================... | mit | C# |
b9744134365f0dc9b9f459f6f9c79bafc925824e | Work around for code contract failure on AppVeyor build server. | Zoltu/Zoltu.Versioning | Zoltu.Versioning/VersionTag.cs | Zoltu.Versioning/VersionTag.cs | using System;
using System.Diagnostics.Contracts;
using System.Text.RegularExpressions;
namespace Zoltu.Versioning
{
public class VersionTag : Tag
{
private static Regex tagMatcher = new Regex(@"^v(?<Major>\d+).(?<Minor>\d+)(?:-(?<Suffix>.+))?$", RegexOptions.Compiled | RegexOptions.ExplicitCapture);
public In... | using System;
using System.Diagnostics.Contracts;
using System.Text.RegularExpressions;
namespace Zoltu.Versioning
{
public class VersionTag : Tag
{
private static Regex tagMatcher = new Regex(@"^v(?<Major>\d+).(?<Minor>\d+)(?:-(?<Suffix>.+))?$", RegexOptions.Compiled | RegexOptions.ExplicitCapture);
public In... | cc0-1.0 | C# |
4f0e60db9ab1b670306fca71fff4863f79f3a8d3 | Add exception logger. | Jimver/jimsbackgroundchanger | JimsBackgroundChanger/Program.cs | JimsBackgroundChanger/Program.cs | using System;
using System.IO;
using System.Windows.Forms;
using Microsoft.Win32;
namespace JimsBackgroundChanger
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
App... | using System;
using System.Windows.Forms;
using Microsoft.Win32;
namespace JimsBackgroundChanger
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
SystemEvents.Display... | mit | C# |
6ee1d665584d6200dd2053f3f7db26c9d180156e | deploy again | nzkelvin/vocabulary | vocab/vocab.web/Views/Home/Index.cshtml | vocab/vocab.web/Views/Home/Index.cshtml |
@{
ViewBag.Title = "Index";
}
<h2>Hi, Erica :-)</h2>
<p>Azure deployment is awesome!</p>
|
@{
ViewBag.Title = "Index";
}
<h2>Hi, Erica :-)</h2>
<p>Azure deployment is awesome!</p>
| mit | C# |
c2df50564f3a8ddb85c8ddc8d2b30ebb7f3005b8 | Add callback function. | naoey/osu-framework,default0/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,paparony03/osu-... | osu.Framework/Graphics/Containers/AsyncLoadContainer.cs | osu.Framework/Graphics/Containers/AsyncLoadContainer.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Threading.Tasks;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System.Threading.Tasks;
using osu.Framework.Allocation;
namespace osu.Framework.Graphics.Containers
{
/// <summary>
/// A container whi... | mit | C# |
bb9951bc9257e547e49b97f60e2cdd7a38377edc | Update AdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/AdUnitBundle.cs | TIKSN.Core/Advertising/AdUnitBundle.cs | using System;
namespace TIKSN.Advertising
{
public class AdUnitBundle
{
public AdUnitBundle(AdUnit designTime, AdUnit production)
{
DesignTime = designTime ?? throw new ArgumentNullException(nameof(designTime));
Production = production ?? throw new ArgumentNullException... | using System;
namespace TIKSN.Advertising
{
public class AdUnitBundle
{
public AdUnitBundle(AdUnit designTime, AdUnit tablet, AdUnit mobile)
{
Tablet = tablet;
DesignTime = designTime;
Mobile = mobile;
if (designTime == null)
thr... | mit | C# |
01a65799c25018014575ccc57decb7848def41ba | Update NeutralLanguage | velddev/Cleverbot.Net | Cleverbot.Net/Properties/AssemblyInfo.cs | Cleverbot.Net/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associada a um assembly.
[assembly: A... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// As informações gerais sobre um assembly são controladas por
// conjunto de atributos. Altere estes valores de atributo para modificar as informações
// associada a um assembly.
[assembly: A... | mit | C# |
5aeb88ff31294c3b07a285130f9734f41efec2f3 | Update Program.cs | derosea7/DataStructures | DataStructures/DataStructures/Program.cs | DataStructures/DataStructures/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructures
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello Test Edited from GitHub");
Console.ReadLine();
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataStructures
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello Test");
Console.ReadLine();
}
}
}
| apache-2.0 | C# |
c17f7919e89f3f00eb72f5feea4400849f091784 | Fix test | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter.Tests/FixReturnValueToTaskTests.cs | AsyncConverter.Tests/FixReturnValueToTaskTests.cs | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
namespace AsyncConverter.Tests
{
[TestFixture]
public class FixReturnValueToTaskTests : CSharpQuickFixTestBase<FixReturnValueToTask>
{
protected override string RelativeTestD... | using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using NUnit.Framework;
namespace AsyncConverter.Tests
{
[TestFixture]
public class FixReturnValueToTaskTests : CSharpQuickFixTestBase<FixReturnValueToTask>
{
protected override string RelativeTestDataPath => @"FixReturnValueToTaskTests";
... | mit | C# |
457b8e25c4b34926b09cbfeb3d4489d6befa26d0 | add failing integration test | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ConsoleVerification/TaskLinkTest.cs | ForgetTheMilk/ConsoleVerification/TaskLinkTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class TaskLinkTest : AssertionHelper
{
[Test]
public void CreateTask_DescriptionWithALink_SetLink()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class TaskLinkTest : AssertionHelper
{
[Test]
public void CreateTask_DescriptionWithALink_SetLink()
{
... | apache-2.0 | C# |
c0a838369100113ae9d5a4f248d2323dad41ccfe | Bump Version | dangershony/NStratis,stratisproject/NStratis | nStratis/Properties/AssemblyInfo.cs | nStratis/Properties/AssemblyInfo.cs | using System;
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: Ass... | using System;
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: Ass... | mit | C# |
3d747835dc7ef94c825ad8154c99ffacdc10b234 | Fix CI issues | peppy/osu-new,smoogipoo/osu,2yangk23/osu,UselessToucan/osu,ppy/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Online/Placeholders/LoginPlaceholder.cs | osu.Game/Online/Placeholders/LoginPlaceholder.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.Input.Events;
using osu.Game.Overlays;
namespace... | using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osu.Game.Overlays;
namespace osu.Game.Online.Placeholders
{
public sealed class LoginPlaceholder : Placeholder
{
[Resolved]
private LoginOverlay login { g... | mit | C# |
492d51b1d1e64ec7289043be1187289cf286bbb2 | Update to error page | KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite,KryptPad/KryptPadWebsite | KryptPadWebApp/Views/Shared/Error.cshtml | KryptPadWebApp/Views/Shared/Error.cshtml | @model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<div class="container">
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
</div>
| @model System.Web.Mvc.HandleErrorInfo
@{
ViewBag.Title = "Error";
}
<h1 class="text-danger">Error.</h1>
<h2 class="text-danger">An error occurred while processing your request.</h2>
| mit | C# |
79be7deec91b3e0c1bef5db5f624016e1d3138a6 | Fix redefine usage of CircleType | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone | Rocket_Safezone/Model/Safezone/Type/CircleType.cs | Rocket_Safezone/Model/Safezone/Type/CircleType.cs | using System;
using Rocket.Unturned;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Player;
using UnityEngine;
namespace Safezone.Model.Safezone.Type
{
public class CircleType : SafeZoneType
{
public int? Radius;
public SerializablePosition Center;
public override SafeZone OnCr... | using System;
using Rocket.Unturned;
using Rocket.Unturned.Commands;
using Rocket.Unturned.Player;
using UnityEngine;
namespace Safezone.Model.Safezone.Type
{
public class CircleType : SafeZoneType
{
public int? Radius;
public SerializablePosition Center;
public override SafeZone OnCr... | agpl-3.0 | C# |
1cff3200d8a03cc88165f96aa8a55cc2824172c2 | monitor new documents for roots | darrenkopp/SassyStudio | SassyStudio.2012/Editor/RootLevelDocumentCache.cs | SassyStudio.2012/Editor/RootLevelDocumentCache.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassyStudio.Editor
{
interface IRootLevelDocumentCache
{
void Initialize();
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SassyStudio.Editor
{
interface IRootLevelDocumentCache
{
void Initialize();
... | mit | C# |
39a9481932a1d3e375c96ab791c1e22f3bf89515 | Update version to 1.1.0 for release | markashleybell/MAB.DotIgnore,markashleybell/MAB.DotIgnore | MAB.DotIgnore/Properties/AssemblyInfo.cs | MAB.DotIgnore/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("MAB.DotIgnore")]
[assembly: AssemblyDescr... | 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("MAB.DotIgnore")]
[assembly: AssemblyDescr... | mit | C# |
ba761b0389bf315f47de83a7ea1e3ea59e0ec5d9 | Add optional name string to RegisterTypeForNavigation | ali-hk/Prism,dersia/Prism,allanrsmith/Prism,ethedy/Prism,frogger3d/Prism,hardcodet/Prism,ederbond/Prism | Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs | Source/Wpf/Prism.Ninject.Wpf/NinjectExtensions.cs | using System;
using Ninject;
using Ninject.Modules;
using Ninject.Parameters;
namespace Prism.Ninject
{
public static class NinjectExtensions
{
public static bool IsRegistered<TService>(this IKernel kernel)
{
return kernel.IsRegistered(typeof(TService));
}
public s... | using System;
using Ninject;
using Ninject.Modules;
using Ninject.Parameters;
namespace Prism.Ninject
{
public static class NinjectExtensions
{
public static bool IsRegistered<TService>(this IKernel kernel)
{
return kernel.IsRegistered(typeof(TService));
}
public s... | apache-2.0 | C# |
643f5f025dfe98d65d6c414b4dc8b1b670dcbf41 | Replace space with underscore in sender | JonCanning/SimpleSyslog | src/SimpleSyslog/Logger.cs | src/SimpleSyslog/Logger.cs | using System;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SimpleSyslog
{
public static class Logger
{
static readonly AutoResetEvent AutoResetEvent = new AutoResetEvent(true);
static UdpClient udpC... | using System;
using System.Diagnostics;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SimpleSyslog
{
public static class Logger
{
static readonly AutoResetEvent AutoResetEvent = new AutoResetEvent(true);
static UdpClient udpC... | mit | C# |
669c9df832d81dc9db135264afc2070ccc74dd7c | Remove _ProtectKey/_UnprotectKey | tabrath/libsodium-core | src/Sodium.Core/KeyPair.cs | src/Sodium.Core/KeyPair.cs | using System;
using Sodium.Exceptions;
namespace Sodium
{
/// <summary>A public / private key pair.</summary>
public class KeyPair : IDisposable
{
private readonly byte[] _publicKey;
private readonly byte[] _privateKey;
/// <summary>Initializes a new instance of the <see cref="KeyP... | using System;
using Sodium.Exceptions;
namespace Sodium
{
/// <summary>A public / private key pair.</summary>
public class KeyPair : IDisposable
{
private readonly byte[] _publicKey;
private readonly byte[] _privateKey;
/// <summary>Initializes a new instance of the <see cref="KeyP... | mit | C# |
1008678152b8a3ad40e2418120add133df9784a4 | Use lowercase variables for linux library loading flags, ignore casing. | ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,Tom94/osu-framework,peppy/osu-framew... | osu.Framework/Platform/Linux/Native/Library.cs | osu.Framework/Platform/Linux/Native/Library.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.Native
{
public static class Library
{
[DllImport("l... | mit | C# |
2cd0e2ac85d5801b532f6124e718aa32b9783090 | Update DotNetXmlDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/DotNetXmlDeserializer.cs | TIKSN.Core/Serialization/DotNetXmlDeserializer.cs | using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace TIKSN.Serialization
{
public class DotNetXmlDeserializer : DeserializerBase<string>
{
protected override T DeserializeInternal<T>(string serial)
{
if (string.IsNullOrEmpty(serial))
{
... | using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace TIKSN.Serialization
{
public class DotNetXmlDeserializer : DeserializerBase<string>
{
protected override T DeserializeInternal<T>(string serial)
{
if (string.IsNullOrEmpty(serial))
{
... | mit | C# |
c5ae2786363d712e12cca674170b687ff34cc270 | Add actual recycling to ConfirmRecycleDialog | andrew-polk/libpalaso,andrew-polk/libpalaso,hatton/libpalaso,sillsdev/libpalaso,hatton/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,mccarthyrb/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,chrisvire/libpalaso,hatton/libpalaso,gmartin7/libpal... | PalasoUIWindowsForms/FileSystem/ConfirmRecycleDialog.cs | PalasoUIWindowsForms/FileSystem/ConfirmRecycleDialog.cs | using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.FileSystem
{
public partial class ConfirmRecycleDialog : Form
{
/// <summary>
///
/// </summary>
/// <param name="labelForThingBeingDeleted">e.g. "This book"</param>
publi... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace Palaso.UI.WindowsForms.FileSystem
{
public partial class ConfirmRecycleDialog : Form
{
/// <summary>
///
/// </summary>
/// <param name="labelForThingBeingDeleted">e.g. "This book"</param>
public ConfirmRecycleDialog(string labelFor... | mit | C# |
0d147b4ad9f7a7bc308eef9508034b45b499add5 | Return null IPC response for archive imports | ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game/IPC/ArchiveImportIPCChannel.cs | osu.Game/IPC/ArchiveImportIPCChannel.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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | // 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.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using osu.Framework.Platform;
using osu.Game.Database;
namespace osu.Game.IP... | mit | C# |
64fc116d673500e6b4e55639e7e7daf7d7fad640 | use two decimal points for ModRateAdjust format | peppy/osu-new,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,EVAST9919/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu | osu.Game/Rulesets/Mods/ModRateAdjust.cs | osu.Game/Rulesets/Mods/ModRateAdjust.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.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModRateAdjust : M... | // 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.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModRateAdjust : M... | mit | C# |
87dd7bcf6b2d31d7338c153c96b998f0bc70b37d | Fix one more test regression | DrabWeb/osu,naoey/osu,ppy/osu,UselessToucan/osu,peppy/osu,ZLima12/osu,peppy/osu-new,smoogipooo/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,DrabWeb/osu,EVAST9919/osu,EVAST9919/osu,naoey/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu,naoey/osu,smoogi... | osu.Game/Tests/Visual/EditorTestCase.cs | osu.Game/Tests/Visual/EditorTestCase.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Rulesets;
using osu.Game.Screens.Edit;
using osu.Game.Tests.Beatmaps;
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 System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Game.Rulesets;
using osu.Game.Screens.Edit;
using osu.Game.Tests.Beatmaps;
nam... | mit | C# |
4bcbe12c9eb9e81cfd2fdd4d0e95baacdc9886a1 | Add some documentation to the Application class and fix definition of AddModule. | jammycakes/dolstagis.web,jammycakes/dolstagis.web,jammycakes/dolstagis.web | src/Dolstagis.Web/Application.cs | src/Dolstagis.Web/Application.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dolstagis.Web.Http;
using StructureMap;
namespace Dolstagis.Web
{
/// <summary>
/// The Application object is the singleton instance at the root of our
/// application wh... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dolstagis.Web.Http;
using StructureMap;
namespace Dolstagis.Web
{
public class Application : IDisposable
{
public void Init()
{
}
public vo... | mit | C# |
94ae5c59eec2f86c5e95ccf2e1cf77ab85742ae7 | Bump nuget version | mikhailshilkov/With.Fody | With.Fody/AssemblyInfo.cs | With.Fody/AssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("With.Fody")]
[assembly: AssemblyProduct("With.Fody")]
[assembly: AssemblyVersion("0.6.0")]
[assembly: AssemblyFileVersion("0.6.0")]
| using System.Reflection;
[assembly: AssemblyTitle("With.Fody")]
[assembly: AssemblyProduct("With.Fody")]
[assembly: AssemblyVersion("0.5.1")]
[assembly: AssemblyFileVersion("0.5.1")]
| mit | C# |
c4f97673a875ddf1f689d3217a400ee6e8ae7a80 | Fix broken link | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Web/Areas/Admin/Views/User/Create.cshtml | SupportManager.Web/Areas/Admin/Views/User/Create.cshtml | @model SupportManager.Web.Features.Admin.User.Create.Command
@using SupportManager.Web.Areas.Admin.Controllers
@using SupportManager.Web.Infrastructure
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>User<... | @model SupportManager.Web.Features.Admin.User.Create.Command
@using SupportManager.Web.Areas.Admin.Controllers
@using SupportManager.Web.Infrastructure
@{
ViewBag.Title = "Create";
}
<h2>Create</h2>
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>User<... | mit | C# |
4c86b29c9da8644be39aec41192df805342dc867 | Change for to foreach in endpoints list | wangkanai/Detection | src/Hosting/PageMatcherPolicy.cs | src/Hosting/PageMatcherPolicy.cs | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Matc... | // Copyright (c) 2014-2020 Sarin Na Wangkanai, All Rights Reserved.
// The Apache v2. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Matc... | apache-2.0 | C# |
8a094357ff5713d950fbee6c7ad3d3aad52476a8 | add ungzip to netfile | aloneguid/support | src/NetBox/Extensions/NetFile.cs | src/NetBox/Extensions/NetFile.cs | namespace System.IO
{
/// <summary>
/// <see cref="File"/> extensions. Due to the fact <see cref="File"/> is a static class and cannot be extended
/// with extension methods this is implemented a new static class.
/// </summary>
public static class NetFile
{
/// <summary>
/// Gzips the fi... | namespace System.IO
{
/// <summary>
/// <see cref="File"/> extensions. Due to the fact <see cref="File"/> is a static class and cannot be extended
/// with extension methods this is implemented a new static class.
/// </summary>
public static class NetFile
{
/// <summary>
/// Gzips the fi... | mit | C# |
0a40f6d188e30a55e033c4e1ec805f86cfd09c89 | Update Hack.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Rest/NakedObjects.Rest.Test.Data/Hack.cs | Rest/NakedObjects.Rest.Test.Data/Hack.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
// Unless requi... | using System;
using System.Collections.Generic;
using System.Text;
namespace Microsoft.VisualStudio.TestPlatform
{
public class TestSDKAutoGeneratedCodeAttribute : Attribute
{
}
}
| apache-2.0 | C# |
185f51ee6f6bc33ec93581cbed0e8db884fb7032 | Remove unused todo | Krusen/ErgastApi.Net | src/ErgastiApi/Client/Attributes/UrlSegmentAttribute.cs | src/ErgastiApi/Client/Attributes/UrlSegmentAttribute.cs | using System;
namespace ErgastApi.Client.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class UrlSegmentAttribute : Attribute
{
public int Order { get; set; }
public string SegmentName { get; set; }
public UrlSegmentAttribute()
{
}
public... | using System;
namespace ErgastApi.Client.Attributes
{
// TODO: Implement QueryDependency attribute in UrlBuilder
[AttributeUsage(AttributeTargets.Property)]
public class UrlSegmentAttribute : Attribute
{
public int Order { get; set; }
public string SegmentName { get; set; }
p... | unlicense | C# |
41f4eb6c4c46dddb858a9d424e04674833690016 | Add back missing post attribute to controller | HelloKitty/GladNet.ASP.Server,HelloKitty/GladNet.ASP.Server | src/GladNet.ASP.Server/Controllers/RequestController.cs | src/GladNet.ASP.Server/Controllers/RequestController.cs | using GladNet.Message;
using GladNet.Payload;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GladNet.ASP.Server
{
/// <summary>
/// Base controller for GladNet message controllers
/// </summary>
/// <typeparam name="TPaylo... | using GladNet.Message;
using GladNet.Payload;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GladNet.ASP.Server
{
/// <summary>
/// Base controller for GladNet message controllers
/// </summary>
/// <typeparam name="TPaylo... | bsd-3-clause | C# |
ada87216dd1b3103cbd3ff3d2f85cf11e9afa175 | Remove override | ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework | osu.Framework.Android/AndroidGameWindow.cs | osu.Framework.Android/AndroidGameWindow.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Platform;
using osuTK;
using osuTK.Graphics;
namespace osu.Framew... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Platform;
using osuTK;
using osuTK.Graphics;
namespace osu.Framew... | mit | C# |
d20e19b8607c7b489194e0b46f8ac930c2a427e7 | Add generic constraint on IBindableNumber. 'Min' and 'Max' are only meaningful when comparable. | peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework | osu.Framework/Bindables/IBindableNumber.cs | osu.Framework/Bindables/IBindableNumber.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;
namespace osu.Framework.Bindables
{
public interface IBindableNumber<T> : IBindable<T>
where T : struct, IComparable<T>, IEquatable<T>
{
... | // 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;
namespace osu.Framework.Bindables
{
public interface IBindableNumber<T> : IBindable<T>
{
/// <summary>
/// An event which is raised... | mit | C# |
1ed9876afd6a1357145bcfc7bb6611f82974e4d3 | Set root url to be swagger | amweiss/WeatherLink | src/WeatherLink/Startup.cs | src/WeatherLink/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
using WeatherLink.Models;
using WeatherLink.Services;
namespace WeatherLink
{
int... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Swashbuckle.AspNetCore.Swagger;
using WeatherLink.Models;
using WeatherLink.Services;
namespace WeatherLink
{
int... | mit | C# |
febda71c221dfb56d36b29c331c2becf2939bbbc | Increment version code | akorb/SteamShutdown | SteamShutdown/Properties/AssemblyInfo.cs | SteamShutdown/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("SteamShutdown")]
[assembly: Assemb... | 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("SteamShutdown")]
[assembly: Assemb... | mit | C# |
454da67cea7cb338e9d6997f75e145fb34f5017f | check for null in converter | qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox | Wox/Converters/MultilineTextConverter.cs | Wox/Converters/MultilineTextConverter.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Wox.Converters
{
class MultilineTextConverter: IValueConverter
{
/// <inheritdoc />
public object Convert(object ... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace Wox.Converters
{
class MultilineTextConverter: IValueConverter
{
/// <inheritdoc />
public object Convert(object ... | mit | C# |
ff568211528b63442f858dc459497cb4142c87c2 | Change `SkinnableHUDComponentTestScene` to show new HUD twice | ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.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.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual.Gamep... | // 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.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual.Gamep... | mit | C# |
891b4458ebabc869df8300081ff4771f631d6d7f | fix reflection usage | Citavi/C6-Add-Ons-and-Online-Sources | src/ScrollSpeedInPdfPreview/Core/MainFormEx.cs | src/ScrollSpeedInPdfPreview/Core/MainFormEx.cs | using pdftron.PDF;
using SwissAcademic.Citavi.Shell;
using System.Reflection;
namespace SwissAcademic.Addons.ScrollSpeedInPdfPreview
{
internal static class MainFormEx
{
public static PDFViewWPF GetViewControl(this MainForm mainForm)
{
var pdfViewControl = mainForm.PreviewControl.G... | using pdftron.PDF;
using SwissAcademic.Citavi.Shell;
using System.Reflection;
namespace SwissAcademic.Addons.ScrollSpeedInPdfPreview
{
internal static class MainFormEx
{
public static PDFViewWPF GetViewControl(this MainForm mainForm)
{
var pdfViewControl = mainForm.PreviewControl.G... | mit | C# |
64b44770d9e701b89981a1aa9b5c5dd57fbda038 | clean up | jonnii/SpeakEasy | src/SpeakEasy/Contents/MultipartMimeContent.cs | src/SpeakEasy/Contents/MultipartMimeContent.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SpeakEasy.Contents
{
internal class MultipartMimeContent : IContent
{
private readonly Resource ... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace SpeakEasy.Contents
{
internal class MultipartMimeContent : IContent
{
private readonly Resource ... | apache-2.0 | C# |
282be784b04c2d190edcbcbe731f2d451b3cb4c7 | Add TODOs | OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania,OvidiuCaba/StatisticsRomania | src/StatisticsRomania/StatisticsRomania/App.cs | src/StatisticsRomania/StatisticsRomania/App.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StatisticsRomania.Views;
using Xamarin.Forms;
using SQLite.Net.Async;
namespace StatisticsRomania
{
// TODO: new functionalities:
// - export data
// - fix issues on rotating
public class App : Application
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StatisticsRomania.Views;
using Xamarin.Forms;
using SQLite.Net.Async;
namespace StatisticsRomania
{
public class App : Application
{
public static string SqliteFilename = "database.db3";
public static S... | mit | C# |
b90cdfbfd166aeb8fc26ad1bf8f51ff8d1c9b3d1 | Remove unused variable | peppy/osu,DrabWeb/osu,peppy/osu-new,naoey/osu,NeoAdonis/osu,smoogipooo/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,ppy/osu,EVAST9919/osu,peppy/osu,DrabWeb/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,... | osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.cs | osu.Game.Tests/Visual/TestCaseEditorComposeTimeline.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 System;
using System.Collections.Generic;
using NUnit.Framework;
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using NUnit.Framework;
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Gam... | mit | C# |
2283b7521c846ca99487e5ba6929f2f9f5f9e50a | Update annotations for types implementing IAliasSymbol | panopticoncentral/roslyn,tannergooding/roslyn,CyrusNajmabadi/roslyn,wvdd007/roslyn,reaction1989/roslyn,AmadeusW/roslyn,gafter/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,stephentoub/roslyn,tannergooding/roslyn,jmarolf/roslyn,mgoertz-msft/roslyn,heejaechang/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,wvdd007/rosl... | src/Compilers/CSharp/Portable/Symbols/PublicModel/AliasSymbol.cs | src/Compilers/CSharp/Portable/Symbols/PublicModel/AliasSymbol.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.
#nullable enable
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel
{
interna... | // 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.Diagnostics;
namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel
{
internal sealed class AliasSymbol : Symbol, IAliasSymbol
{
... | mit | C# |
a822e82810982d2afd9b86c75a047b6c79d32ca9 | Extend KeyManager to have distinct S3 credentials for dev/release 'users' of S3, who have permissions for different buckets | BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,JohnThomson/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,Ste... | src/BloomExe/WebLibraryIntegration/KeyManager.cs | src/BloomExe/WebLibraryIntegration/KeyManager.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Palaso.Extensions;
using Palaso.IO;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// This class is responsible for the key bits of information that are needed to access our ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Palaso.Extensions;
using Palaso.IO;
namespace Bloom.WebLibraryIntegration
{
/// <summary>
/// This class is responsible for the key bits of information that are needed to access our ... | mit | C# |
73b60371bcbed75a9568c02d050f0fc1062cf2bf | Update PathSegment.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/ViewModels/Shapes/Path/PathSegment.cs | src/Core2D/ViewModels/Shapes/Path/PathSegment.cs | using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path
{
/// <summary>
/// <see cref="PathFigure"/> segment base class.
/// </summary>
public abstract class PathSegment : ObservableObject, IPathSegment
{
private bool _isStroked;
private bool _isSmoothJoin;
... | using System.Collections.Generic;
using Core2D.Shapes;
namespace Core2D.Path
{
/// <summary>
/// <see cref="PathFigure"/> segment base class.
/// </summary>
public abstract class PathSegment : ObservableObject, IPathSegment
{
private bool _isStroked;
private bool _isSmoothJoin;
... | mit | C# |
5c16c60ad5bacae3d2f01fd6ff5f24061d8ae4d1 | Fix typo in exception message | canton7/StateMechanic,canton7/StateMechanic | src/StateMechanic/InvalidEventTransitionException.cs | src/StateMechanic/InvalidEventTransitionException.cs | using System;
namespace StateMechanic
{
/// <summary>
/// Exception thrown when a transition could not be created from a state on an event, because the state and event do not belong to the same state machine
/// </summary>
public class InvalidEventTransitionException : Exception
{
/// <sum... | using System;
namespace StateMechanic
{
/// <summary>
/// Exception thrown when a transition could not be created from a state on an event, because the state and event do not belong to the same state machine
/// </summary>
public class InvalidEventTransitionException : Exception
{
/// <sum... | mit | C# |
f4dde0ca1f6cecd44a7d3bcdb60e134daaa0c4ed | Improve AprilFoolsService. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/NadekoBot/Services/Impl/AprilFoolsService.cs | src/NadekoBot/Services/Impl/AprilFoolsService.cs | using System;
using System.Threading.Tasks;
using Discord.WebSocket;
using Mitternacht.Extensions;
namespace Mitternacht.Services.Impl {
public class AprilFoolsService : IMService {
private readonly DbService _db;
private readonly Random _rnd = new Random();
public AprilFoolsService(CommandHandler commandHand... | using System;
using System.Threading.Tasks;
using Discord.WebSocket;
using Mitternacht.Extensions;
namespace Mitternacht.Services.Impl
{
public class AprilFoolsService : IMService {
private readonly DbService _db;
private readonly Random _rnd = new Random();
public AprilFoolsService(CommandHandler commandHan... | mit | C# |
068929e9d3e2274de9ba28e86b1d9aff41a83d5f | Purge credential | carbon/Amazon | src/Amazon.CloudWatch.Tests/CloudWatchTests.cs | src/Amazon.CloudWatch.Tests/CloudWatchTests.cs | using System;
using System.Threading.Tasks;
using Xunit;
namespace Amazon.CloudWatch.Tests
{
public class CloudWatchTests
{
private readonly AwsCredential credential = new AwsCredential("x", "x");
// [Fact]
public async Task PostMetric()
{
// var cli... | using System;
using System.Threading.Tasks;
using Xunit;
namespace Amazon.CloudWatch.Tests
{
public class CloudWatchTests
{
private readonly AwsCredential credential = new AwsCredential("AKIAJE3JFQRRF5VXXBMQ", "9zsX+lXxXUMJrMeupK6DqqLHCQ5MYeVxUg2vNA/v"); // cmmonitoring
[Fact]
... | mit | C# |
83626bfb8b2091f5dffbff9ba87011fab79465cb | set PersistentItemManager to use Hermes results | smeehan82/Hermes,smeehan82/Hermes,smeehan82/Hermes | src/Hermes/DataAccess/PersistentItemManager.cs | src/Hermes/DataAccess/PersistentItemManager.cs | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
namespace Hermes.DataAccess
{
public abstract class PersistentItemManager<TItem, TKey> : IPersistentItemManager<TItem, TKey>
... | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
namespace Hermes.DataAccess
{
public abstract class PersistentItemManager<TItem, TKey> : IPersistentItemManager<TItem, TKey>
... | mit | C# |
98d02108c0468c6fd14c1a1b7222342398e45cb0 | Make OperationBase IDisposable | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Common/Operations/OperatorBase.cs | src/RawRabbit/Common/Operations/OperatorBase.cs | using System;
using System.Threading.Tasks;
using RawRabbit.Core.Configuration.Exchange;
using RawRabbit.Core.Configuration.Queue;
namespace RawRabbit.Common.Operations
{
public abstract class OperatorBase : IDisposable
{
private readonly IChannelFactory _channelFactory;
protected OperatorBase(IChannelFactory ... | using System.Threading.Tasks;
using RawRabbit.Core.Configuration.Exchange;
using RawRabbit.Core.Configuration.Queue;
namespace RawRabbit.Common.Operations
{
public abstract class OperatorBase
{
private readonly IChannelFactory _channelFactory;
protected OperatorBase(IChannelFactory channelFactory)
{
_chan... | mit | C# |
7a35a197927e7d5e28bd59e1ee64c103d03d49ef | update package version and publish | lfreneda/SimpleAmazonSQS | src/SimpleAmazonSQS/Properties/AssemblyInfo.cs | src/SimpleAmazonSQS/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("Si... | 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("Si... | mit | C# |
d71316fd607537a322a8a9bfa794c4746dc0d67f | Improve SQL Data Types. Work Item #2006 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/DBSchemaInfo/Properties/AssemblyInfo.cs | trunk/Solutions/DBSchemaInfo/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("DBSchemaInfo.MsSQL")]
[assembly: A... | 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: AssemblyTi... | mit | C# |
39f800b2ffca073e92d1ef1ba04aced2b3e914ca | Adjust timeouts for recent Travis build failures. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | tests/SideBySide/AppConfig.cs | tests/SideBySide/AppConfig.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using Microsoft.Extensions.Configuration;
using MySql.Data.MySqlClient;
namespace SideBySide
{
public static class AppConfig
{
private static IReadOnlyDictionary<string, string> DefaultConfig { get; ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using Microsoft.Extensions.Configuration;
using MySql.Data.MySqlClient;
namespace SideBySide
{
public static class AppConfig
{
private static IReadOnlyDictionary<string, string> DefaultConfig { get; ... | mit | C# |
42ebae137623df04286c0a68c1e4cf9dabe59413 | Remove unneeded stub | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Spells/DirectDamageSpell.cs | Assets/Scripts/HarryPotterUnity/Cards/Spells/DirectDamageSpell.cs | using System.Collections.Generic;
namespace HarryPotterUnity.Cards.Spells
{
public class DirectDamageSpell : GenericSpell {
public int DamageAmount;
public override void OnPlayAction()
{
Player.OppositePlayer.TakeDamage(DamageAmount);
}
}
}
| using System.Collections.Generic;
namespace HarryPotterUnity.Cards.Spells
{
public class DirectDamageSpell : GenericSpell {
public int DamageAmount;
public override void OnPlayAction()
{
Player.OppositePlayer.TakeDamage(DamageAmount);
}
public override bool M... | mit | C# |
2224b3de53516dbddc998e5d77589d5efca37158 | 修正在高DPI情況下,遊戲畫面大小不正確的問題 | stu43005/KanColleViewer | Grabacr07.KanColleViewer/Views/Behaviors/SetStyleSheetBehavior.cs | Grabacr07.KanColleViewer/Views/Behaviors/SetStyleSheetBehavior.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
using System.Windows.Navigation;
using Grabacr07.Desktop.Metro;
using Grabacr07.KanColleViewer.Properties;
using MetroRadia... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
using System.Windows.Navigation;
using Grabacr07.Desktop.Metro;
using Grabacr07.KanColleViewer.Properties;
using MetroRadia... | mit | C# |
e6726a3e3421ff88aa0459b6c263cf9a80738d88 | Remove async keyword and ToString call | jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl | MatterControlLib/Library/Widgets/StorePage/UpgradeToProTabPage.cs | MatterControlLib/Library/Widgets/StorePage/UpgradeToProTabPage.cs | /*
Copyright (c) 2020, Lars Brubaker, John Lewin
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... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
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... | bsd-2-clause | C# |
6bb8938e90101af377cfdb75bc3e6802090741eb | switch version to latest | googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity,googleanalytics/google-analytics-plugin-for-unity | source/GoogleAnalytics/Editor/AnalyticsDependencies.cs | source/GoogleAnalytics/Editor/AnalyticsDependencies.cs | // Copyright (C) 2016 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | // Copyright (C) 2016 Google, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | apache-2.0 | C# |
b9db4924c45d9dd86279e38fbb2e9927bd5f6153 | Add internal ctor so that only Elasticsearch.Net can instantiate it #2350 | CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net | src/Elasticsearch.Net/Transport/Sniff/SniffResponse.cs | src/Elasticsearch.Net/Transport/Sniff/SniffResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Elasticsearch.Net
{
public class SniffResponse
{
//internal ctor - so that only Elasticsearch.Net can instantiate it
internal SniffResponse()
{
}
public static Regex AddressRegex { get; } =... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Elasticsearch.Net
{
public class SniffResponse
{
public static Regex AddressRegex { get; } = new Regex(@"^((?<fqdn>[^/]+)/)?(?<ip>[^:]+|\[[\da-fA-F:\.]+\]):(?<port>\d+)$");
public string cluster_n... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.