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 |
|---|---|---|---|---|---|---|---|---|
af7214c0c1b6c652d2a8da30c6a172a0ae1ee89a | Use AssemblyHelper for MainWindow title version | CalebChalmers/KAGTools | KAGTools/Windows/MainWindow.xaml.cs | KAGTools/Windows/MainWindow.xaml.cs | using GalaSoft.MvvmLight.Messaging;
using KAGTools.Helpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
u... | using GalaSoft.MvvmLight.Messaging;
using KAGTools.Helpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
u... | mit | C# |
703f64ac573843565f5ea744f65705cc5e8ad752 | Fix test | tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools | src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerTest.cs | src/dotnet/Azure.ClientSdk.Analyzers/Azure.ClientSdk.Analyzers.Tests/AzureAnalyzerTest.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Diagnostics;
using Microso... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Testing;
using Microsoft.CodeAnalysis.Diagnostics;
using... | mit | C# |
2bcfc5375d338a9e06ed422f0ada27f9f6c269fa | remove blank lines. | Aaron-Liu/enode,tangxuehua/enode | src/BankTransferSample/CommandHandlers/BankAccountCommandHandlers.cs | src/BankTransferSample/CommandHandlers/BankAccountCommandHandlers.cs | using System.Threading.Tasks;
using BankTransferSample.ApplicationMessages;
using BankTransferSample.Commands;
using BankTransferSample.Domain;
using ECommon.Components;
using ENode.Commanding;
using ENode.Infrastructure;
namespace BankTransferSample.CommandHandlers
{
/// <summary>银行账户相关命令处理
/// </summary>
... | using System.Threading.Tasks;
using BankTransferSample.ApplicationMessages;
using BankTransferSample.Commands;
using BankTransferSample.Domain;
using ECommon.Components;
using ENode.Commanding;
using ENode.Infrastructure;
namespace BankTransferSample.CommandHandlers
{
/// <summary>银行账户相关命令处理
/// </summary>
... | mit | C# |
94bc774be5ee581d970a8c22f79181eb37d8748a | fix error in ShorContentHelper | csyntax/BlogSystem | src/BlogSystem.Web.Infrastructure/Helpers/Html/ShortContentHelper.cs | src/BlogSystem.Web.Infrastructure/Helpers/Html/ShortContentHelper.cs | namespace BlogSystem.Web.Infrastructure.Helpers.Html
{
using System.Web;
using System.Web.Mvc;
using AngleSharp.Parser.Html;
public static class ShortContentHelper
{
public static IHtmlString Truncate(this HtmlHelper helper, string text)
{
var htmlParser = new HtmlParse... | namespace BlogSystem.Web.Infrastructure.Helpers.Html
{
using System.Web;
using System.Web.Mvc;
using AngleSharp.Parser.Html;
public static class ShortContentHelper
{
public static IHtmlString Truncate(this HtmlHelper helper, string text)
{
var htmlParser = new HtmlParse... | mit | C# |
181056b56ede7e784a9bd74cbcfd87726e97ec6e | Add ProfileMatches to CustomerRegistration response | TSEVOLLC/GIDX.SDK-csharp | src/GIDX.SDK/Models/CustomerIdentity/CustomerRegistrationResponse.cs | src/GIDX.SDK/Models/CustomerIdentity/CustomerRegistrationResponse.cs | using System;
using System.Collections.Generic;
namespace GIDX.SDK.Models.CustomerIdentity
{
public class CustomerRegistrationResponse : ResponseBase, IReasonCodes
{
public string MerchantCustomerID { get; set; }
public decimal IdentityConfidenceScore { get; set; }
public decimal Fraud... | using System;
using System.Collections.Generic;
namespace GIDX.SDK.Models.CustomerIdentity
{
public class CustomerRegistrationResponse : ResponseBase, IReasonCodes
{
public string MerchantCustomerID { get; set; }
public decimal IdentityConfidenceScore { get; set; }
public decimal Fraud... | mit | C# |
8859210fbf28e8d95f7ecb8f30786dbd92886166 | remove array | Appleseed/base,Appleseed/base | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | Applications/Appleseed.Base.Alerts.Console/Appleseed.Base.Alerts/Model/SolrResponseItem.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Appleseed.Base.Alerts.Model
{
class SolrResponseItem
{
public string id { get; set; }
public string item_type { get; set; }
public string address_1 { get; set;... | apache-2.0 | C# |
033eefd955e2f2aeb1364fedb01ca26b9aaa65b4 | Fix header names used in EmailMessageDecryptor | carbon/Amazon | src/Amazon.Ses.Extensions/EmailMessageDecryptor.cs | src/Amazon.Ses.Extensions/EmailMessageDecryptor.cs | using System.Security.Cryptography;
using System.Text.Json;
using Amazon.Kms;
using Amazon.S3;
namespace Amazon.Ses;
public sealed class EmailMessageDecryptor
{
private readonly KmsClient _kms;
public EmailMessageDecryptor(KmsClient kms)
{
_kms = kms;
}
public async Task<byte[]> Decryp... | using System.Security.Cryptography;
using System.Text.Json;
using Amazon.Kms;
using Amazon.S3;
namespace Amazon.Ses;
public sealed class EmailMessageDecryptor
{
private readonly KmsClient _kms;
public EmailMessageDecryptor(KmsClient kms)
{
_kms = kms;
}
public async Task<byte[]> Decryp... | mit | C# |
63a959292990a287ab5aa336ce911386177db65b | Validate of MailConfiguration. | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton | src/CK.Glouton.Server/Senders/MailConfiguration.cs | src/CK.Glouton.Server/Senders/MailConfiguration.cs | using CK.Glouton.Model.Server;
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.Glouton.Server.Senders
{
public class MailConfiguration : IMailConfiguration
{
public string Name { get; set; }
public string Email { get; set; }
public string SmtpUsername { ... | using CK.Glouton.Model.Server;
using System;
using System.Collections.Generic;
using System.Text;
namespace CK.Glouton.Server.Senders
{
public class MailConfiguration : IMailConfiguration
{
public string Name { get; set; }
public string Email { get; set; }
public string SmtpUsername { ... | mit | C# |
44416fc4a4aec5535e5751bda5ec1a6fb010101b | improve logging in test user profile service | IdentityServer/IdentityServer4,chrisowhite/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4,jbijlsma/IdentityServer4,siyo-wang/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,chrisowhite/IdentityServer4,siyo-wang/IdentityServer4... | src/IdentityServer4/Test/TestUserProfileService.cs | src/IdentityServer4/Test/TestUserProfileService.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.Extensions.Logging;
using Sys... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using IdentityServer4.Extensions;
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.Extensions.Logging;
using Sys... | apache-2.0 | C# |
0a04f87b4b73dec646aea79f3b1726578cc71fae | Use IntPtr.Zero instead of new IntPtr(0) | vbfox/pinvoke,AArnott/pinvoke,jmelosegui/pinvoke | src/Kernel32.Desktop/Kernel32+SafeLibraryHandle.cs | src/Kernel32.Desktop/Kernel32+SafeLibraryHandle.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
using System.Runtime.InteropServices;
/// <cont... | mit | C# |
c16b95fe9f1fd5a847e3919426982c053c3f48e4 | Add new overload to DatabaseBuilder TryCreateDatabase method | Ackara/Daterpillar | src/Tests.Daterpillar/Utilities/DatabaseBuilder.cs | src/Tests.Daterpillar/Utilities/DatabaseBuilder.cs | using Gigobyte.Daterpillar.Transformation;
using Gigobyte.Daterpillar.Transformation.Template;
using System;
using System.Data;
namespace Tests.Daterpillar.Utilities
{
public static class DatabaseBuilder
{
public static bool TryResetDatabase(string connectionName, ITemplate template)
{
... | using Gigobyte.Daterpillar.Transformation;
using Gigobyte.Daterpillar.Transformation.Template;
using System.Data;
namespace Tests.Daterpillar.Utilities
{
public static class DatabaseBuilder
{
public static bool TryResetDatabase(IDbConnection connection, ITemplate template)
{
var sc... | mit | C# |
fbb7de82c81bd23429b29c9f8d0135fb666671c3 | Remove argument check. | kienct89/roslyn,dotnet/roslyn,jcouv/roslyn,3F/roslyn,srivatsn/roslyn,nguerrera/roslyn,bkoelman/roslyn,KevinH-MS/roslyn,devharis/roslyn,MihaMarkic/roslyn-prank,YOTOV-LIMITED/roslyn,wvdd007/roslyn,MattWindsor91/roslyn,CyrusNajmabadi/roslyn,jonatassaraiva/roslyn,orthoxerox/roslyn,GuilhermeSa/roslyn,MattWindsor91/roslyn,he... | src/EditorFeatures/Core/Tagging/AsynchronousTaggerContext.cs | src/EditorFeatures/Core/Tagging/AsynchronousTaggerContext.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnalysis.Editor.Tagging
{
internal c... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Tagging;
namespace Microsoft.CodeAnalysis.Editor.Tagging
{
internal c... | mit | C# |
b2e82cbcfb1fbf31c2037aafc382b33d03f2d2d6 | Reduce collision velocity from ship-to-asteroid | iridinite/shiftdrive | Client/Asteroid.cs | Client/Asteroid.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
public Asteroid() {
type =... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using Microsoft.Xna.Framework;
namespace ShiftDrive {
/// <summary>
/// A <seealso cref="GameObject"/> representing a single asteroid.
/// </summary>
internal sealed class Asteroid : GameObject {
public Asteroid() {
type =... | bsd-3-clause | C# |
e5f81d2ca394a154082ae8290ab37379116a93ec | Revert "Changed contact email" | PoLaKoSz/CodeHub,aalok05/CodeHub | CodeHub/Views/Settings/AboutSettingsView.xaml.cs | CodeHub/Views/Settings/AboutSettingsView.xaml.cs | using CodeHub.ViewModels;
using System;
using Windows.ApplicationModel;
using Windows.System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace CodeHub.Views
{
public sealed partial class AboutSettingsView : SettingsDetailPageBase
{
private SettingsViewModel ViewModel;
public Ab... | using CodeHub.ViewModels;
using System;
using Windows.ApplicationModel;
using Windows.System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace CodeHub.Views
{
public sealed partial class AboutSettingsView : SettingsDetailPageBase
{
private SettingsViewModel ViewModel;
public Ab... | mit | C# |
553133b59b0079b8bcb84320316b9a56ea94e0cb | Fix is-type function typo | yeaicc/ConfuserEx,Desolath/ConfuserEx3,timnboys/ConfuserEx,engdata/ConfuserEx,Desolath/Confuserex | Confuser.Core/Project/Patterns/IsTypeFunction.cs | Confuser.Core/Project/Patterns/IsTypeFunction.cs | using System;
using System.Text;
using System.Text.RegularExpressions;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that indicate the type of type(?).
/// </summary>
public class IsTypeFunction : PatternFunction {
internal const string FnName = "is-type";
//... | using System;
using System.Text;
using System.Text.RegularExpressions;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that indicate the type of type(?).
/// </summary>
public class IsTypeFunction : PatternFunction {
internal const string FnName = "is-type";
//... | mit | C# |
1735a68369a4e79fa26e6b77d4a75013c1490360 | Update Delegacja.cs | organizacjaJM/rezerwacjaKawa | Delegacja.cs | Delegacja.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegacjeGeneryczne
{
class Program
{
delegate void Delegacja(string s);
static void Main(string[] args)
{
// delegacje void z max 16 argumentami t... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegacjeGeneryczne
{
class Program
{
delegate void Delegacja(string s);
static void Main(string[] args)
{
// delegacje void z max 16 argumentami t... | mit | C# |
b737872521c908fb6c99caf5a8b8a71619eb3847 | Add DoNotAwait for WinRT style tasks | pingzing/digi-transit-10 | DigiTransit10/ExtensionMethods/TaskExtensions.cs | DigiTransit10/ExtensionMethods/TaskExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Foundation;
namespace DigiTransit10.ExtensionMethods
{
public static class TaskExtensions
{
public static void DoNotAwait(this Task task) { }
public static void Do... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DigiTransit10.ExtensionMethods
{
public static class TaskExtensions
{
public static void DoNotAwait(this Task task) { }
public static void DoNotAwait<T>(this Task<T> t... | mit | C# |
7ddcae8f9646162e10ef5fad9b76505a5b3a2570 | Fix in CosmosDbGremlinServer, should really fit into the common style of handling configuration. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.CosmosDb/CosmosDbGremlinServer.cs | ExRam.Gremlinq.CosmosDb/CosmosDbGremlinServer.cs | using Gremlin.Net.Driver;
using Microsoft.Extensions.Options;
namespace ExRam.Gremlinq.CosmosDb
{
public class CosmosDbGremlinServer : GremlinServer
{
public CosmosDbGremlinServer(IOptions<CosmosDbGraphConfiguration> configuration) : this(configuration.Value)
{
}
private Cosm... | using Gremlin.Net.Driver;
namespace ExRam.Gremlinq.CosmosDb
{
public class CosmosDbGremlinServer : GremlinServer
{
public CosmosDbGremlinServer(CosmosDbGraphConfiguration configuration) : base(
configuration.Hostname,
configuration.Port,
configuration.EnableSsl,
... | mit | C# |
5e7f8e7157ca278cc029fe66080cbffb2ce380fd | Add test for non invariant default locale and test for locale with collation | pgavlin/corefx,ravimeda/corefx,benpye/corefx,mmitche/corefx,wtgodbe/corefx,Yanjing123/corefx,shahid-pk/corefx,parjong/corefx,twsouthwick/corefx,mokchhya/corefx,ViktorHofer/corefx,dotnet-bot/corefx,n1ghtmare/corefx,wtgodbe/corefx,weltkante/corefx,alexperovich/corefx,Petermarcu/corefx,marksmeltzer/corefx,jcme/corefx,mell... | src/System.Globalization/tests/CultureInfo/CurrentCulture.cs | src/System.Globalization/tests/CultureInfo/CurrentCulture.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class Test
{
[Fact]
public void TestCurren... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Globalization;
using Xunit;
namespace System.Globalization.Tests
{
public class Test
{
[Fact]
public void TestCurren... | mit | C# |
949144af8268c4989af21e7f813555664f63106e | add comment. | Codeer-Software/Selenium.StandardControls,Codeer-Software/Selenium.StandardControls,Codeer-Software/Selenium.StandardControls | Project/Selenium.StandardControls/ElementInfo.cs | Project/Selenium.StandardControls/ElementInfo.cs | using OpenQA.Selenium;
using System;
namespace Selenium.StandardControls
{
//TODO need test.
/// <summary>
/// JavaScript Element Driver
/// </summary>
public class ElementInfo
{
private IWebElement Core { get; }
public string Id => GetAttribute<string>("id");
public s... | using OpenQA.Selenium;
using System;
namespace Selenium.StandardControls
{
/// <summary>
/// JavaScript Element Driver
/// </summary>
public class ElementInfo
{
private IWebElement Core { get; }
public string Id => GetAttribute<string>("id");
public string InnerHtml => Get... | apache-2.0 | C# |
a792284d85945ab378813fbfeeea217031ed6f18 | Use completion | OmniSharp/omnisharp-vscode,OmniSharp/omnisharp-vscode,gregg-miskelly/omnisharp-vscode,OmniSharp/omnisharp-vscode,gregg-miskelly/omnisharp-vscode,gregg-miskelly/omnisharp-vscode,gregg-miskelly/omnisharp-vscode,OmniSharp/omnisharp-vscode,OmniSharp/omnisharp-vscode | test/integrationTests/testAssets/slnWithCsproj/src/app/completion.cs | test/integrationTests/testAssets/slnWithCsproj/src/app/completion.cs | using System;
namespace singleCsproj
{
class Completion
{
static void shouldHaveCompletions(string[] args)
{
Completion a = new Completion();
}
}
}
| using System;
namespace singleCsproj
{
class Completion
{
static void shouldHaveCompletions(string[] args)
{
int[] a = new int[5];
}
}
}
| mit | C# |
d1f39ff2b2f50294ecc203f1f9c8d8683b167718 | Add public Children property to TreeNode (#2633) | AntShares/AntShares | src/neo/IO/Caching/TreeNode.cs | src/neo/IO/Caching/TreeNode.cs | // Copyright (C) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... | // Copyright (C) 2015-2021 The Neo Project.
//
// The neo is free software distributed under the MIT software license,
// see the accompanying file LICENSE in the main directory of the
// project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution and use in source and bi... | mit | C# |
25245aeed503e7eab6de941693c869615694b3a7 | add TrySetupStructure | NDark/ndinfrastructure,NDark/ndinfrastructure | Unity/NGUIUtil/NGUIMessageQueueControllerBase.cs | Unity/NGUIUtil/NGUIMessageQueueControllerBase.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NGUIMessageQueueControllerBase : MonoBehaviour
{
public virtual string CurrentText
{
get{ return string.Empty;}
set{ }
}
public virtual Vector3 CurrentTextPosition
{
get{ return Vector3.zero;}
set{ }
}
publi... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NGUIMessageQueueControllerBase : MonoBehaviour
{
public virtual string CurrentText
{
get{ return string.Empty;}
set{ }
}
public virtual Vector3 CurrentTextPosition
{
get{ return Vector3.zero;}
set{ }
}
publi... | mit | C# |
5b2cbf8f26da584dbc045e2132c04312a7e53fff | Disable test parallelization due to shared state problems | DotNetAnalyzers/StyleCopAnalyzers | StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs | StyleCop.Analyzers/StyleCop.Analyzers.Test/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("StyleCop.Analyz... | using System;
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("StyleCop.Analyzers.Test")]
[... | mit | C# |
facccc22784b5c04f4e1b5d95841c3a4e446561a | Disable test to get clean build | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/test/src/Feature/Services/CodeCompletion/UnityEventFunctionCompletionListTest.cs | resharper/test/src/Feature/Services/CodeCompletion/UnityEventFunctionCompletionListTest.cs | using JetBrains.ReSharper.FeaturesTestFramework.Completion;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.Feature.Services.CodeCompletion
{
// TODO: This doesn't test automatic completion
// The AutomaticCodeCompletionTestBase class is not in the SDK
[TestUnity]
public class... | using JetBrains.ReSharper.FeaturesTestFramework.Completion;
using NUnit.Framework;
namespace JetBrains.ReSharper.Plugins.Unity.Tests.Feature.Services.CodeCompletion
{
// TODO: This doesn't test automatic completion
// The AutomaticCodeCompletionTestBase class is not in the SDK
[TestUnity]
public class... | apache-2.0 | C# |
9d042be254de8652dd1b3d82da4fa95f3e28d0b6 | Improve GetAssociatedFiber | David-Desmaisons/EasyActor | EasyActor/ActorExtension.cs | EasyActor/ActorExtension.cs | using EasyActor.Factories;
namespace EasyActor
{
public static class ActorExtension
{
public static IFiber GetAssociatedFiber(this object rawimplementation)
{
var fiberProvider = rawimplementation as IFiberProvider;
if (fiberProvider != null)
return fibe... | using EasyActor.Factories;
namespace EasyActor
{
public static class ActorExtension
{
public static IFiber GetAssociatedFiber(this object rawimplementation)
{
var description = ActorFactoryBase.GetCachedActor(rawimplementation);
return description?.Fiber;
}
... | mit | C# |
f7c3f64e8756dc7542065bbd1ca3e46fd332d34e | Add macros | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Extensions/TypeExtensions.cs | Assets/MixedRealityToolkit/Extensions/TypeExtensions.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Microsoft.MixedReality.Toolkit
{
public static class TypeExtensions
{
#if... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Microsoft.MixedReality.Toolkit
{
public static class TypeExtensions
{
... | mit | C# |
dbd6704fefd2f36c5cad66de0dbf5cfea18b65ec | Remove unnecessary attenuation set. | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Client/Kitchen/EntitySystems/MicrowaveSystem.cs | Content.Client/Kitchen/EntitySystems/MicrowaveSystem.cs | using System;
using Content.Client.Kitchen.Components;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Player;
namespace Content.Client.Kitchen.EntitySystems
{
public class MicrowaveSystem : EntitySystem
{
public void StartSoundLoop(MicrowaveComponent microwave)
... | using System;
using Content.Client.Kitchen.Components;
using Robust.Shared.Audio;
using Robust.Shared.GameObjects;
using Robust.Shared.Player;
namespace Content.Client.Kitchen.EntitySystems
{
public class MicrowaveSystem : EntitySystem
{
public void StartSoundLoop(MicrowaveComponent microwave)
... | mit | C# |
c635c81672b33be9d2c84d500b233f6c86877bf0 | bump version to 1.7.3 | Franiac/TwitchLeecher | TwitchLeecher/GlobalAssemblyInfo.cs | TwitchLeecher/GlobalAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Twitch Leecher")]
[assembly: AssemblyDescription("Twitch Broadcast Downloader")]
[assembly: AssemblyCompany("Franiac")]
[assembly: AssemblyCopyright("Copyright 2018 Dominik Rebitzer")]
[assembly: AssemblyVersion("1.0.0.0")]
[as... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Twitch Leecher")]
[assembly: AssemblyDescription("Twitch Broadcast Downloader")]
[assembly: AssemblyCompany("Franiac")]
[assembly: AssemblyCopyright("Copyright 2018 Dominik Rebitzer")]
[assembly: AssemblyVersion("1.0.0.0")]
[as... | mit | C# |
38725222cadb6b2e7938f0943d17d25f09509b80 | Add TOC to PERSTAT | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | Battery-Commander.Web/Jobs/PERSTATReportJob.cs | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using Serilog;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private s... | using BatteryCommander.Web.Models;
using BatteryCommander.Web.Services;
using FluentEmail.Core;
using FluentEmail.Core.Models;
using FluentScheduler;
using Serilog;
using System.Collections.Generic;
using System.IO;
namespace BatteryCommander.Web.Jobs
{
public class PERSTATReportJob : IJob
{
private s... | mit | C# |
dee08e4360b444fefb9d36f00c0457b0e39cc43f | Initialize to default values. | wasabii/Cogito,wasabii/Cogito | Cogito.Core/Reflection/MethodInfoExtensions.cs | Cogito.Core/Reflection/MethodInfoExtensions.cs | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Cogito.Reflection
{
public static class MethodInfoExtensions
{
/// <summary>
/// Invokes the <see cref="M... | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Cogito.Reflection
{
public static class MethodInfoExtensions
{
/// <summary>
/// Invokes the <see cref="M... | mit | C# |
d5b2ce4d7b5bb864ae3856c975387d0964398987 | Update version number | axomic/openasset-rest-cs | OpenAsset.RestClient.Library/Properties/AssemblyInfo.cs | OpenAsset.RestClient.Library/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("Op... | 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("Op... | mit | C# |
a46a437142613a9b1fc1079f0f921bef667c921a | Change view | Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife | PhotoLife/PhotoLife.Web/Views/Shared/_ShortPostPartial.cshtml | PhotoLife/PhotoLife.Web/Views/Shared/_ShortPostPartial.cshtml | @model PhotoLife.ViewModels.Post.ShortPostViewModel
<div class="well">
<h2 class="media-heading">
@Html.ActionLink(Model.Title, "Details", new { controller = "Post", id = Model.Id })
</h2>
<ul class="list-inline list-unstyled">
<li><span><i class="glyphicon glyphicon-calendar"></i> @string... | @model PhotoLife.ViewModels.Post.ShortPostViewModel
<div class="well">
<h2 class="media-heading">
@Html.ActionLink(Model.Title, "Details", new { controller = "Post", id = Model.Id })
</h2>
<ul class="list-inline list-unstyled">
<li><span><i class="glyphicon glyphicon-calendar"></i> @string... | mit | C# |
6150747d78ab9cc308e95f27a592556a0d09c307 | Update AssemblyInfo.cs | afuzzyllama/ProceduralVoxelMesh,PixelsForGlory/ProceduralVoxelMesh | ProceduralVoxelMesh/Properties/AssemblyInfo.cs | ProceduralVoxelMesh/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: AssemblyTi... | 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# |
4ed2d15e592054ad5264f3391d34b90375a45bbe | fix Html.Submit | dpesheva/QuizFactory,dpesheva/QuizFactory | QuizFactory/HelperExtentions/HtmlExtentions.cs | QuizFactory/HelperExtentions/HtmlExtentions.cs | namespace HelperExtentions
{
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Routing;
public static class HtmlExtentions
{
public static MvcHtmlString RawActionLink(this AjaxHelper ajaxHelper, string linkText, string... | namespace HelperExtentions
{
using System;
using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using System.Web.Routing;
public static class HtmlExtentions
{
public static MvcHtmlString RawActionLink(this AjaxHelper ajaxHelper, string linkText, string... | mit | C# |
ffebc18949bf38ba1e93876d4c30344b27fc522e | Add comments | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter.Core/Models/Th075/SpellCardInfo.cs | ThScoreFileConverter.Core/Models/Th075/SpellCardInfo.cs | //-----------------------------------------------------------------------
// <copyright file="SpellCardInfo.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//----------------------... | //-----------------------------------------------------------------------
// <copyright file="SpellCardInfo.cs" company="None">
// Copyright (c) IIHOSHI Yoshinori.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//----------------------... | bsd-2-clause | C# |
057a21907b1a1bf35a308f606d36d208e8934c67 | Bump assembly version to 4.0.321. | rubyu/CreviceApp,rubyu/CreviceApp | CreviceApp/Properties/AssemblyInfo.cs | CreviceApp/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Crevice4")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfigurati... | mit | C# |
da15e89cddba7a0d63d463ce5f713dbd8a64eb57 | Bump version to 2.0 | SonarSource-DotNet/sonarqube-roslyn-sdk,SonarSource-VisualStudio/sonarqube-roslyn-sdk | AssemblyInfo.Shared.cs | AssemblyInfo.Shared.cs | /*
* SonarQube Roslyn SDK
* Copyright (C) 2015-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of th... | /*
* SonarQube Roslyn SDK
* Copyright (C) 2015-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of th... | mit | C# |
77f5ec3a4ec24dcc6b5df8b7b7fd2dd1a8657dd4 | use checkbox label instead of tooltip | ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorHiddenToggle.cs | osu.Game/Graphics/UserInterfaceV2/OsuDirectorySelectorHiddenToggle.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.Graphics.UserInterface;
using osu.Game.Overlays;
using osuTK;
using osuTK.Graphics;
namespac... | // 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.Cursor;
using osu.Framework.Localisation;
using osu.Game.Graphics.UserInterface... | mit | C# |
dcb1f347502b49af3791b5e8ab14af61c3273d1d | Use log/HEAD instead of HEAD to listen for updates | awaescher/RepoZ,awaescher/RepoZ | RepoZ.Api.Win/Git/DefaultRepositoryObserver.cs | RepoZ.Api.Win/Git/DefaultRepositoryObserver.cs | using RepoZ.Api.Git;
using System;
using System.IO;
using System.Threading.Tasks;
namespace RepoZ.Api.Win.Git
{
public class DefaultRepositoryObserver : IRepositoryObserver
{
private const string HEAD_LOG_FILE = @".git\logs\HEAD";
private string _path;
private FileSystemWatcher _watcher;
private IRepository... | using RepoZ.Api.Git;
using System;
using System.IO;
using System.Threading.Tasks;
namespace RepoZ.Api.Win.Git
{
public class DefaultRepositoryObserver : IRepositoryObserver
{
private const string HEAD_FILE = @".git\HEAD";
private string _path;
private FileSystemWatcher _watcher;
private IRepositoryReader _r... | mit | C# |
bbedc3be60261d1e8ec01dc5cb39d2db36b633ab | Comment clarification | bogosoft/Collections.Async | Bogosoft.Collections.Async/ICursor.cs | Bogosoft.Collections.Async/ICursor.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Bogosoft.Collections.Async
{
/// <summary>
/// Represents a forward-only, iterable data structure.
/// </summary>
/// <typeparam name="T">The type of the object being traversed.</typeparam>
public interface ICu... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Bogosoft.Collections.Async
{
/// <summary>
/// Represents a forward-only, iterable data structure.
/// </summary>
/// <typeparam name="T">The type of the object being traversed.</typeparam>
public interface ICu... | mit | C# |
3b059dee2b01732a7050b5e97fd8b4cef982af0a | Fix SoundBlock names | Yonom/CupCake | CupCake.Messages/Blocks/SoundBlock.cs | CupCake.Messages/Blocks/SoundBlock.cs | using System;
namespace CupCake.Messages.Blocks
{
public enum SoundBlock
{
[Obsolete("Use SoundBlock.MusicPiano instead.")]
BlockMusicPiano = Block.MusicPiano,
[Obsolete("Use SoundBlock.MusicDrum instead.")]
BlockMusicDrum = Block.MusicDrum,
MusicPiano = Block.MusicPian... | namespace CupCake.Messages.Blocks
{
public enum SoundBlock
{
BlockMusicPiano = Block.MusicPiano,
BlockMusicDrum = Block.MusicDrum
}
} | mit | C# |
38dd5d447dc1182f5f1240f23269521b4d773626 | Add quotes to paths for Windows | awaescher/RepoZ,awaescher/RepoZ | grr/Messages/OpenDirectoryMessage.cs | grr/Messages/OpenDirectoryMessage.cs | using System.Diagnostics;
using System.IO;
using System.Linq;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class OpenDirectoryMessage : DirectoryMessage
{
public OpenDirectoryMessage(RepositoryFilterOptions filter)
: base(filter)
{
}
protected override vo... | using System.Diagnostics;
using System.IO;
using System.Linq;
namespace grr.Messages
{
[System.Diagnostics.DebuggerDisplay("{GetRemoteCommand()}")]
public class OpenDirectoryMessage : DirectoryMessage
{
public OpenDirectoryMessage(RepositoryFilterOptions filter)
: base(filter)
{
}
protected override vo... | mit | C# |
3d1cda4161fd3c6c37a4d4f35197a4b6cee49e64 | enable back data factory initialization during application start | AzureDay/2017-WebSite,AzureDay/2017-WebSite | TeamSpark.AzureDay.WebSite.Host/Global.asax.cs | TeamSpark.AzureDay.WebSite.Host/Global.asax.cs | using System;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.ApplicationInsights.Extensibility;
using TeamSpark.AzureDay.WebSite.Config;
using TeamSpark.AzureDay.WebSite.Host.Controllers;
using TeamSpark.Az... | using System;
using System.Threading;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using Microsoft.ApplicationInsights.Extensibility;
using TeamSpark.AzureDay.WebSite.Config;
using TeamSpark.AzureDay.WebSite.Host.Controllers;
//using TeamSpark.... | mit | C# |
c178a6e57fa5455417a97125fc6fe3213df54ea2 | add ctor overloads for HttpSigningMessageHandler | claq2/IdentityModel.HttpSigning,IdentityModel/IdentityModel.HttpSigning | src/IdentityModel.HttpSigning/HttpClient/HttpSigningMessageHandler.cs | src/IdentityModel.HttpSigning/HttpClient/HttpSigningMessageHandler.cs | using IdentityModel.HttpSigning.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.HttpSigning
{
public class HttpSigningMessageHandler : ... | using IdentityModel.HttpSigning.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace IdentityModel.HttpSigning
{
public class HttpSigningMessageHandler : ... | apache-2.0 | C# |
f60eb55fbb5cbb33c64dfd49148d43205a5c481a | Implement "enable" event to reenable after "stop". | j-be/vj-servo-controller,j-be/vj-servo-controller,j-be/vj-servo-controller,j-be/vj-servo-controller,j-be/vj-servo-controller | Unity/ServoController/ServoControllerClient.cs | Unity/ServoController/ServoControllerClient.cs | using UnityEngine;
using SocketIOClient;
public class ServoControllerClient : AbstractSocketioClient {
private static readonly string SOCKETIO_SERVER = "http://192.168.1.51:5000";
private static readonly string SOCKETIO_NAMESPACE = "/servo";
public ServoControllerClient()
: base(SOCKETIO_SERVER, SOCKETI... | using UnityEngine;
using SocketIOClient;
public class ServoControllerClient : AbstractSocketioClient {
private static readonly string SOCKETIO_SERVER = "http://192.168.1.51:5000";
private static readonly string SOCKETIO_NAMESPACE = "/servo";
public ServoControllerClient()
: base(SOCKETIO_SERVER, SOCKETI... | mit | C# |
31ef6185088579df1307aacd32e63c74ca3b2141 | remove adding to ruleset singleton on build | chrismckelt/WebMinder,chrismckelt/WebMinder,chrismckelt/WebMinder | Core/Runners/Create.cs | Core/Runners/Create.cs | using System;
using WebMinder.Core.Handlers;
using WebMinder.Core.Rules;
namespace WebMinder.Core.Runners
{
public class Create<TRuleSetHandler, TRuleRequest>
where TRuleSetHandler : IRuleSetHandler<TRuleRequest>
where TRuleRequest : IRuleRequest, new()
{
private static TRuleSetHandle... | using System;
using WebMinder.Core.Handlers;
using WebMinder.Core.Rules;
namespace WebMinder.Core.Runners
{
public class Create<TRuleSetHandler, TRuleRequest>
where TRuleSetHandler : IRuleSetHandler<TRuleRequest>
where TRuleRequest : IRuleRequest, new()
{
private static TRuleSetHandle... | apache-2.0 | C# |
d44cfb6b4d7a8a82ef3fbb15f41ca0323a3cf627 | Remove unused call | BenPhegan/NuGet.Extensions | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierTester.cs | NuGet.Extensions.Tests/ReferenceAnalysers/ReferenceNugetifierTester.cs | using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Common;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.ReferenceAnalysers;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ReferenceNugetifierTester {
private const stri... | using System.Collections.Generic;
using System.IO;
using Moq;
using NuGet.Common;
using NuGet.Extensions.MSBuild;
using NuGet.Extensions.ReferenceAnalysers;
using NuGet.Extensions.Tests.Mocks;
namespace NuGet.Extensions.Tests.ReferenceAnalysers
{
public class ReferenceNugetifierTester {
private const stri... | mit | C# |
be062b0cae79f08ebd009abc20eb4c3c868244af | Include date in booked in fact | tvjames/eventstore-bnosql-sample,tvjames/eventstore-bnosql-sample | EventStorePlayConsole/BookedInFact.cs | EventStorePlayConsole/BookedInFact.cs | using System;
using EventStore.ClientAPI;
using System.Net;
namespace EventStorePlayConsole
{
public class BookedInFact:Fact
{
public BookedInFact(string atValue, string someValue)
{
this.OccurredAt = DateTime.UtcNow;
this.BookedInAtValue = atValue;
this.Prev... | using System;
using EventStore.ClientAPI;
using System.Net;
namespace EventStorePlayConsole
{
public class BookedInFact:Fact
{
public BookedInFact(string atValue, string someValue)
{
this.BookedInAtValue = atValue;
this.PreviousBookingValue = someValue;
}
... | mit | C# |
4009805617bf5c322efd92abadf483fcc9cf15b8 | Make stats_only_admins a nullable bool, we're seeing this cause json deserialization exceptions when calling SlackClient.ConnectAsync() | Inumedia/SlackAPI | SlackAPI/TeamPreferences.cs | SlackAPI/TeamPreferences.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class TeamPreferences
{
public AuthMode auth_mode;
public string[] default_channels;
public bool display_real_names;
public bool gatew... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
public class TeamPreferences
{
public AuthMode auth_mode;
public string[] default_channels;
public bool display_real_names;
public bool gatew... | mit | C# |
876c65b883fab255f658ce38b3d1d71ea17ca8e6 | Fix a migration | ekyoung/contact-repository,ekyoung/contact-repository | Source/Core/Bootstrapping/Migrations/Migration201312141425_CreateContactEmailAddressesTable.cs | Source/Core/Bootstrapping/Migrations/Migration201312141425_CreateContactEmailAddressesTable.cs | using FluentMigrator;
namespace EthanYoung.ContactRepository.Bootstrapping.Migrations
{
[Migration(201312141425)]
public class Migration201312141425_CreateContactEmailAddressesTable : Migration
{
public override void Up()
{
Create.Table("ContactEmailAddresses")
... | using FluentMigrator;
namespace EthanYoung.ContactRepository.Bootstrapping.Migrations
{
[Migration(201312141425)]
public class Migration201312141425_CreateContactEmailAddressesTable : Migration
{
public override void Up()
{
Create.Table("ContactEmailAddresses")
... | mit | C# |
fdf6bb76f56c2a6229cb64bff63cb70edb569dc1 | fix broken build | joeaudette/cloudscribe.SimpleContent,joeaudette/cloudscribe.SimpleContent | src/cloudscribe.Core.SimpleContent.Integration/ViewModels/ProjectViewModel.cs | src/cloudscribe.Core.SimpleContent.Integration/ViewModels/ProjectViewModel.cs |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cloudscribe.Core.SimpleContent.Integration.ViewModels
{
public class ProjectViewModel
{
public string Title { get; set; } = "Blog";
public bool ShowTitle { get; set; } = fal... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cloudscribe.Core.SimpleContent.Integration.ViewModels
{
public class ProjectViewModel
{
#region Blog Settings
public string Title { get; set; } = "Blog";
public bool ShowTitl... | apache-2.0 | C# |
d3b4ed3a437d6b5649ef8032b39fdbbb5bfbfd71 | Fix failing Navigation test. | modulexcite/DartVS,DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartAnalysis.Tests/Tests.cs | DanTup.DartAnalysis.Tests/Tests.cs | namespace DanTup.DartAnalysis.Tests
{
public abstract class Tests
{
protected const string SdkFolder = @"M:\Apps\Dart\sdk";
protected const string ServerScript = @"M:\Coding\Applications\DanTup.DartVS\Dart\AnalysisServer.dart";
protected const string SampleDartProject = @"M:\Coding\Applications\DanTup.DartVS\D... | namespace DanTup.DartAnalysis.Tests
{
public abstract class Tests
{
protected const string SdkFolder = @"M:\Apps\Dart\SDK";
protected const string ServerScript = @"M:\Coding\Applications\DanTup.DartVS\Dart\AnalysisServer.dart";
protected const string SampleDartProject = @"M:\Coding\Applications\DanTup.DartVS\D... | mit | C# |
04de92ab43027aa37526ad1ed9826d1bf367c833 | Update WalletWasabi/Services/Terminate/TerminateService.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/Terminate/TerminateService.cs | WalletWasabi/Services/Terminate/TerminateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | mit | C# |
52fd386d6d21efd377708f67daa59f0725902a81 | Support LocalRedirectResult (#8112) | xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2 | src/OrchardCore.Modules/OrchardCore.Forms/Filters/ExportModelStateAttribute.cs | src/OrchardCore.Modules/OrchardCore.Forms/Filters/ExportModelStateAttribute.cs | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OrchardCore.Forms.Helpers;
namespace OrchardCore.Forms.Filters
{
public class ExportModelStateAttribute : ModelStateTransferAttribute
{
public override void OnActionExecuted(ActionExecutedContext context)
... | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using OrchardCore.Forms.Helpers;
namespace OrchardCore.Forms.Filters
{
public class ExportModelStateAttribute : ModelStateTransferAttribute
{
public override void OnActionExecuted(ActionExecutedContext context)
... | bsd-3-clause | C# |
c3c47140d2e3d6671953042a03ef321f36ac7f29 | Fix schedule stops not being ordered. | betrakiss/Tramline-5,betrakiss/Tramline-5 | src/TramlineFive/TramlineFive/ViewModels/StopsViewModel.cs | src/TramlineFive/TramlineFive/ViewModels/StopsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.ViewModels.Wrappers;
namespace TramlineFive.ViewModels
{
public class StopsViewModel
{
public IList<StopViewModel> LineStops { ge... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TramlineFive.ViewModels.Wrappers;
namespace TramlineFive.ViewModels
{
public class StopsViewModel
{
public IList<StopViewModel> LineStops { ge... | apache-2.0 | C# |
79711c50e2b06ddb07450d3a0cb852942db219d9 | fix up debugger display so that the string format is around the right way | devkhan/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,rlugojr/octokit.net,alfhenrik/octokit.net,TattsGroup/octokit.net,gabrielweyer/octokit.net,octokit/octokit.net,devkhan/octokit.net,daukantas/octokit.net,thedillonb/octokit.net,dlsteuer/octokit.net,adamralph/octokit.net,shana/octokit.net,editor-tools/octokit.n... | Octokit/Models/Response/Repository.cs | Octokit/Models/Response/Repository.cs | using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Repository
{
public string Url { get; set; }
public string HtmlUrl { get; set; }
public string CloneUrl { get; set; }
public string ... | using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Repository
{
public string Url { get; set; }
public string HtmlUrl { get; set; }
public string CloneUrl { get; set; }
public string ... | mit | C# |
05e6f17f6e0daf80c852807f5f3103f67414b7a5 | Set matrix pos | MrJaqbq/Unity3DFramework | Utils/Extensions/Vector3Extensions.cs | Utils/Extensions/Vector3Extensions.cs | using UnityEngine;
public static class Vector3Extensions
{
public static Vector3 Multiply(Vector3 a, Vector3 b)
{
return new Vector3(a.x * b.x, a.y * b.y, a.z * b.z);
}
public static Vector3 GetPos(this Matrix4x4 matrix)
{
return matrix.GetColumn(3);
}
public static Vecto... | using UnityEngine;
public static class Vector3Extensions
{
public static Vector3 Multiply(Vector3 a, Vector3 b)
{
return new Vector3(a.x * b.x, a.y * b.y, a.z * b.z);
}
public static Vector3 GetPos(this Matrix4x4 matrix)
{
return matrix.GetColumn(3);
}
public static Vecto... | mit | C# |
f491f893cfed74c690f4758fdd6a6ce259940648 | Use CurrentUICulture for EditorConfig UI | shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,weltkante/roslyn,diryboy/roslyn,CyrusNajmabadi/roslyn,eriawan/roslyn,KevinRansom/roslyn,shyamnamboodiripad/roslyn,eriawan/roslyn,sharwell/roslyn,sharwell/roslyn,eriawan/roslyn,KevinRansom/roslyn,diryboy/roslyn,KevinRansom/roslyn,mavasa... | src/EditorFeatures/Core/EditorConfigSettings/Data/AnalyzerSetting.cs | src/EditorFeatures/Core/EditorConfigSettings/Data/AnalyzerSetting.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Globalization;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Globalization;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft... | mit | C# |
bf90119b542f043213f1330459b1766acdeed495 | Clean up unnecessary usings for #3736 | rgani/roslyn,khellang/roslyn,jamesqo/roslyn,AlekseyTs/roslyn,shyamnamboodiripad/roslyn,tmeschter/roslyn,SeriaWei/roslyn,jaredpar/roslyn,jasonmalinowski/roslyn,michalhosala/roslyn,khyperia/roslyn,cston/roslyn,davkean/roslyn,jmarolf/roslyn,KevinH-MS/roslyn,wvdd007/roslyn,ljw1004/roslyn,nguerrera/roslyn,reaction1989/rosly... | src/VisualStudio/Core/SolutionExplorerShim/BrowseObjectAttributes.cs | src/VisualStudio/Core/SolutionExplorerShim/BrowseObjectAttributes.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.VisualStudio.LanguageServices.SolutionExplorer;
using System;
using System.ComponentModel;
using System.Globalization;
namespace Microsoft.V... | // 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.VisualStudio.LanguageServices.SolutionExplorer;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Glo... | mit | C# |
52e6ab9b95da41a479e517c63bad04ed29402c54 | Fix Strong Personnality | sebavan/Bololens | Bounity/Assets/Bololens/Scripts/Personality/BuiltIn/StrongPersonality.cs | Bounity/Assets/Bololens/Scripts/Personality/BuiltIn/StrongPersonality.cs | using System;
using System.Collections;
using System.Collections.Generic;
using Bololens.Core;
using UnityEngine;
namespace Bololens.Personality.BuiltIn
{
/// <summary>
/// Default Strong personality of the bot.
///
/// The last feelings in win.
/// </summary>
/// <seealso cref="Bololens.Pers... | using System;
using System.Collections;
using System.Collections.Generic;
using Bololens.Core;
using UnityEngine;
namespace Bololens.Personality.BuiltIn
{
/// <summary>
/// Default Strong personality of the bot.
///
/// All feelings are rated the same but the bot will not stay neutral.
/// </summ... | mit | C# |
1c2240e12d0f968a2afc80289179fa02978a9853 | remove AssemblyInformationalVersion | chsword/ResizingServer | source/ResizingClient/Properties/AssemblyInfo.cs | source/ResizingClient/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ResizingClient")]
[assembly: AssemblyDescription("Client for ResizingServer https://github.com/chsword/ResizingServer")]
[assembly: AssemblyCo... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ResizingClient")]
[assembly: AssemblyDescription("Client for ResizingServer https://github.com/chsword/ResizingServer")]
[assembly: AssemblyCo... | apache-2.0 | C# |
3d84c5b843ccacf6214c13a386ff4c8e7e0caee5 | Clean analyzer warnings on test projects | clariuslabs/clide,clariuslabs/clide,clariuslabs/clide | src/Clide.IntegrationTests/GlobalSuppressions.cs | src/Clide.IntegrationTests/GlobalSuppressions.cs |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "... |
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Style", "... | mit | C# |
4dddcc468b4800ed9f5ba3b16943d48ffd659a2f | fix title case command | andy-kohne/VSElixir | VSElixir/Commands/TitleCaseCommand.cs | VSElixir/Commands/TitleCaseCommand.cs | using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using System;
using System.ComponentModel.Design;
using System.Globalization;
namespace VSElixir.Commands
{
internal sealed class TitleCaseCommand
{
public const int CommandId = 2;
private readonly Package _package;
priv... | using EnvDTE;
using EnvDTE80;
using Microsoft.VisualStudio.Shell;
using System;
using System.ComponentModel.Design;
using System.Globalization;
namespace VSElixir.Commands
{
internal sealed class TitleCaseCommand
{
public const int CommandId = 2;
private readonly Package _package;
priv... | mit | C# |
4831134151e808b8fae256ac5ecf0b90c4df43fb | Make MajorName Required | CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site,CS297Sp16/LCC_Co-op_Site | Coop_Listing_Site/Coop_Listing_Site/Models/ViewModels/MajorViewModel.cs | Coop_Listing_Site/Coop_Listing_Site/Models/ViewModels/MajorViewModel.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Coop_Listing_Site.Models.ViewModels
{
public class MajorViewModel
{
public MajorViewModel()
{
Opportunities = new List<Opportunity>();
}
public MajorViewModel(Major major)
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Coop_Listing_Site.Models.ViewModels
{
public class MajorViewModel
{
public MajorViewModel()
{
Opportunities = new List<Opportunity>();
}
public MajorViewModel(Major major)
... | mit | C# |
600c66fa83b8f790f39c8a961f26570cd584ed27 | Add more tests for puzzle 14 | martincostello/project-euler | src/ProjectEuler.Tests/Puzzles/Puzzle014Tests.cs | src/ProjectEuler.Tests/Puzzles/Puzzle014Tests.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Puzzle01... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Puzzle01... | apache-2.0 | C# |
39bdfdb6bd1b44096d7d5b7815c2ef624e735f04 | Add consumer BIC and failure reason properties to bancontact response (#238) | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | Mollie.Api/Models/Payment/Response/Specific/BancontactPaymentResponse.cs | using System;
namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the ... | using System;
namespace Mollie.Api.Models.Payment.Response.Specific {
public class BancontactPaymentResponse : PaymentResponse {
public BancontactPaymentResponseDetails Details { get; set; }
}
public class BancontactPaymentResponseDetails {
/// <summary>
/// Only available if the ... | mit | C# |
d3646865fb8b7b379baf771a7dac389c603e5789 | Remove tests task from CI | olsh/todoist-net | build.cake | build.cake | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.1.4");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | #tool "nuget:?package=OpenCover"
#addin "Cake.Incubator"
var target = Argument("target", "Default");
var extensionsVersion = Argument("version", "1.1.4");
var buildConfiguration = "Release";
var projectName = "Todoist.Net";
var testProjectName = "Todoist.Net.Tests";
var projectFolder = string.Format("./src/{0}/", pr... | mit | C# |
620b6a462452789e59a2f7f6358fdc13796674d7 | Make all NodeSemverTests go through SemVersionRange.ParseNpm | maxhauser/semver | Semver.Test/TestCases/NpmRangeContainsTestCase.cs | Semver.Test/TestCases/NpmRangeContainsTestCase.cs | using Semver.Ranges;
namespace Semver.Test.TestCases
{
/// <summary>
/// An individual test case for whether an npm range contains a version
/// </summary>
public class NpmRangeContainsTestCase
{
public static NpmRangeContainsTestCase NpmIncludes(string range, string version, bool... | using Semver.Ranges;
namespace Semver.Test.TestCases
{
/// <summary>
/// An individual test case for whether an npm range contains a version
/// </summary>
public class NpmRangeContainsTestCase
{
public static NpmRangeContainsTestCase NpmIncludes(string range, string version, bool... | mit | C# |
d06fd299cd6395ce7237adc52b2ed8a0764e9add | Fix bracket editor crash when no round description is present (#5107) | ppy/osu,EVAST9919/osu,ZLima12/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu,EVAST9919/osu,johnneijzen/osu,ppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,peppy/osu-new,johnneijzen/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,Useless... | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentRound.cs | osu.Game.Tournament/Screens/Ladder/Components/DrawableTournamentRound.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 JetBrains.Annotations;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using 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 JetBrains.Annotations;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osu.Game... | mit | C# |
d74d0dc6ffe33b491bb1ea4188748fe605232265 | Remove usage of CFBoolean.[True|False]Object in monomac | mono/maccore,jorik041/maccore,cwensley/maccore | src/QuickLook/Thumbnail.cs | src/QuickLook/Thumbnail.cs | //
// MacOS Quicklook Thumbnail support
//
// Authors:
// Miguel de Icaza
//
// Copyright 2012, Xamarin Inc
//
// 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, includ... | //
// MacOS Quicklook Thumbnail support
//
// Authors:
// Miguel de Icaza
//
// Copyright 2012, Xamarin Inc
//
// 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, includ... | apache-2.0 | C# |
90b46fb13e388d92e81550564b9e187eadfbf1ab | Update Class1.cs | Zetozz/Tymczasowe | Dzien37/DokumentyPacjenci/Class1.cs | Dzien37/DokumentyPacjenci/Class1.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DokumentyPacjenci
{
public class Class1
{
void a()
{
static int i = 0;
string Imie;
// dodaelm komentaz
//aaaa
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DokumentyPacjenci
{
public class Class1
{
void a()
{
static int i = 0;
string Imie;
// dodaelm komentaz
//aaaa
... | mit | C# |
cb9ea11a98cd47d989c07732e21656021105586b | Fix crashing due to missing history in LFR | ROMaster2/LiveSplit,LiveSplit/LiveSplit,ROMaster2/LiveSplit,ROMaster2/LiveSplit,kugelrund/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,kugelrund/LiveSplit,Glurmo/LiveSplit,Glurmo/LiveSplit | LiveSplit/LiveSplit.Core/Model/Comparisons/LastFinishedRunComparisonGenerator.cs | LiveSplit/LiveSplit.Core/Model/Comparisons/LastFinishedRunComparisonGenerator.cs | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastFinishedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Finished Run";
public const string ShortCo... | using LiveSplit.Options;
using System;
using System.Linq;
namespace LiveSplit.Model.Comparisons
{
public class LastFinishedRunComparisonGenerator : IComparisonGenerator
{
public IRun Run { get; set; }
public const string ComparisonName = "Last Finished Run";
public const string ShortCo... | mit | C# |
f275e764449e05ed3b5d3568702b25ffb4f76d41 | configure tokenhandle to own the TokenHandleClaim table data | yfann/AuthorizationServer,IdentityModel/AuthorizationServer,IdentityModel/AuthorizationServer,yfann/AuthorizationServer,s093294/Thinktecture.AuthorizationServer,s093294/Thinktecture.AuthorizationServer | source/Thinktecture.AuthorizationServer.EF/AuthorizationServerContext.cs | source/Thinktecture.AuthorizationServer.EF/AuthorizationServerContext.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.AuthorizationServer.Models;
namespace Thinktecture.AuthorizationServer.EF
{
public class AuthorizationServerContext : DbContext
{
public Auth... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thinktecture.AuthorizationServer.Models;
namespace Thinktecture.AuthorizationServer.EF
{
public class AuthorizationServerContext : DbContext
{
public Auth... | bsd-3-clause | C# |
9f3de48a3fe5e8a1be9d52f3fb98331c7fc2dbc9 | Fix typo in last fix | HelloKitty/Booma.Proxy | src/Booma.Proxy.Client.Unity.Ship/Factory/LobbyLocalPlayerWorldObjectFactory.cs | src/Booma.Proxy.Client.Unity.Ship/Factory/LobbyLocalPlayerWorldObjectFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Guardians;
using UnityEngine;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IFactoryCreatable<GameObject, LocalPlayerWorldRepresentationCreationContext>))]
[SceneTypeCreate(GameScene... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Guardians;
using UnityEngine;
namespace Booma.Proxy
{
[AdditionalRegisterationAs(typeof(IFactoryCreatable<GameObject, LocalPlayerWorldRepresentationCreationContext))]
[SceneTypeCreate(GameSceneT... | agpl-3.0 | C# |
fe359ce47335595369810203725ecddc977e62cd | Update Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapCoreAssetsDetector.cs | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapCoreAssetsDetector.cs | Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapCoreAssetsDetector.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using UnityEngine.UI;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
/// <summary>
/// Detects if the Leap Motion Data Provider can be used given the current unity project configuration and displays a me... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine;
using UnityEngine.UI;
namespace Microsoft.MixedReality.Toolkit.Examples.Demos
{
/// <summary>
/// Detects if the Leap Motion Data Provider can be used given the current unity project configuration and displays a me... | mit | C# |
c72a4adb2b68e6b6c10745584aa42347926e6a44 | Change implementation of SlowMemoryStream to fix hanging test | smatsson/tusdotnet,tusdotnet/tusdotnet,tusdotnet/tusdotnet,tusdotnet/tusdotnet,tusdotnet/tusdotnet,smatsson/tusdotnet | Source/tusdotnet.test/Helpers/SlowMemoryStream.cs | Source/tusdotnet.test/Helpers/SlowMemoryStream.cs | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace tusdotnet.test.Helpers
{
/// <summary>
/// The SlowMemoryStream adds a 100 ms delay on every ReadAsync.
/// </summary>
public class SlowMemoryStream : Stream
{
private readonly MemoryStream _stre... | using System.IO;
using System.Threading;
namespace tusdotnet.test.Helpers
{
/// <summary>
/// The SlowMemoryStream adds a 100 ms delay on every read.
/// </summary>
public class SlowMemoryStream : MemoryStream
{
/// <summary>
/// Default constructor.
/// </summary>
/// <param name="buffer">The buffer to ... | mit | C# |
9a319e3f96c6a6c6b7fea7c733b7e3450fdbf610 | Add missing space | smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,EVAST9919/osu,Z... | osu.Game.Tournament/Screens/Editors/IModelBacked.cs | osu.Game.Tournament/Screens/Editors/IModelBacked.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.
namespace osu.Game.Tournament.Screens.Editors
{
/// <summary>
/// Provides a mechanism to access a related model from a representing class.
/// </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.
namespace osu.Game.Tournament.Screens.Editors
{
/// <summary>
/// Provides a mechanism to access a related model from a representing class.
/// </summary>
... | mit | C# |
9cfe2496cd3c28fef89d7cb8f9f4558c461a1e4a | Add new entities to context | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.DataLayer/DiplomContext.cs | src/Diploms.DataLayer/DiplomContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Institute> Institutes { get; set; }
public DbSet<Departme... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Institute> Institutes { get; set; }
public DbSet<Departme... | mit | C# |
6f951551db443441cb60e41b2d475e4e8115b237 | Fix ArgumentNullException | zbrad/nuproj,ericstj/nuproj,AArnott/nuproj,DavidAnson/nuproj,kovalikp/nuproj,oliver-feng/nuproj,DavidAnson/nuproj,nuproj/nuproj,faustoscardovi/nuproj,PedroLamas/nuproj,NN---/nuproj | src/NuProj.Tasks/ReadPackagesConfig.cs | src/NuProj.Tasks/ReadPackagesConfig.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace NuProj.Tasks
{
public class ReadPackagesConfig : Task
{
[Required]
public string Packa... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using System.Xml.XPath;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace NuProj.Tasks
{
public class ReadPackagesConfig : Task
{
[Required]
public string Packa... | mit | C# |
2538d219a61d43ef6b8fb1b6035180f1c63f02b5 | remove wait for service stopped | gigya/microdot | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs | tests/Gigya.Microdot.Orleans.Hosting.UnitTests/Microservice/WarmupTestService/WarmupTestServiceHostWithSiloHostFake.cs | using System.Threading;
using System.Threading.Tasks;
using Gigya.Microdot.Fakes;
using Gigya.Microdot.Hosting.HttpService;
using Gigya.Microdot.Hosting.Validators;
using Gigya.Microdot.Interfaces;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
u... | using System.Threading;
using System.Threading.Tasks;
using Gigya.Microdot.Fakes;
using Gigya.Microdot.Hosting.HttpService;
using Gigya.Microdot.Hosting.Validators;
using Gigya.Microdot.Interfaces;
using Gigya.Microdot.Interfaces.Logging;
using Gigya.Microdot.Orleans.Hosting.UnitTests.Microservice.CalculatorService;
u... | apache-2.0 | C# |
c33f6c39213ff186a91a4a18e4c8dd15ec40b990 | update namespace post merge of #3242 | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Tests/Reproduce/GithubIssue3231.cs | src/Tests/Reproduce/GithubIssue3231.cs | using Elasticsearch.Net;
using FluentAssertions;
using System;
using Elastic.Xunit.XunitPlumbing;
using Tests.Framework;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Reproduce
{
public class GithubIssue3231 : IClusterFixture<ReadOnlyCluster>
{
private readonly ReadOnlyCluster ... | using Elasticsearch.Net;
using FluentAssertions;
using System;
using Tests.Framework;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Xunit;
namespace Tests.Reproduce
{
public class GithubIssue3231 : IClusterFixture<ReadOnlyCluster>
{
private readonly ReadOnlyCluster _cluster;
public GithubIssue3231... | apache-2.0 | C# |
2c01a8142baf521eb9955ed97c18cede0e623407 | fix typo | rohmano/azure-powershell,dulems/azure-powershell,AzureRT/azure-powershell,zhencui/azure-powershell,hungmai-msft/azure-powershell,devigned/azure-powershell,naveedaz/azure-powershell,arcadiahlyy/azure-powershell,pankajsn/azure-powershell,shuagarw/azure-powershell,zhencui/azure-powershell,shuagarw/azure-powershell,yantang... | src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Authorization/AzureExpressRouteCircuitAuthorizationBase.cs | src/ResourceManager/Network/Commands.Network/ExpressRouteCircuit/Authorization/AzureExpressRouteCircuitAuthorizationBase.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | apache-2.0 | C# |
47cd92fc8cd9a29be28eda952ff68b6e283cddda | rename parameter | acple/ParsecSharp | ParsecSharp/Core/ParsecException.cs | ParsecSharp/Core/ParsecException.cs | using System;
namespace ParsecSharp
{
public class ParsecException : Exception
{
public ParsecException(string message) : base(message)
{ }
public ParsecException(string message, Exception innerException) : base(message, innerException)
{ }
}
}
| using System;
namespace ParsecSharp
{
public class ParsecException : Exception
{
public ParsecException(string message) : base(message)
{ }
public ParsecException(string message, Exception exception) : base(message, exception)
{ }
}
}
| mit | C# |
693b00459ad26946336afd304d5d3e20c629de62 | Fix ghost orbit not syncing to other clients | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Shared/Follower/Components/OrbitVisualsComponent.cs | Content.Shared/Follower/Components/OrbitVisualsComponent.cs | using Robust.Shared.Animations;
using Robust.Shared.GameStates;
namespace Content.Shared.Follower.Components;
[RegisterComponent]
[NetworkedComponent]
public sealed class OrbitVisualsComponent : Component
{
/// <summary>
/// How long should the orbit animation last in seconds, before being randomized?
... | using Robust.Shared.Animations;
namespace Content.Shared.Follower.Components;
[RegisterComponent]
public sealed class OrbitVisualsComponent : Component
{
/// <summary>
/// How long should the orbit animation last in seconds, before being randomized?
/// </summary>
public float OrbitLength = 2.0f;... | mit | C# |
1abb00ca4e60b3123526243f2ffe52d51a1dd36b | Remove cast | mstrother/BmpListener | src/BmpListener/Bmp/RouteMonitoring.cs | src/BmpListener/Bmp/RouteMonitoring.cs | using BmpListener.Bgp;
namespace BmpListener.Bmp
{
public class RouteMonitoring : BmpMessage
{
public RouteMonitoring(byte[] data)
: base(data)
{
var offset = Constants.BmpCommonHeaderLength + Constants.BmpPerPeerHeaderLength;
Decode(data, offset);
}... | using BmpListener.Bgp;
namespace BmpListener.Bmp
{
public class RouteMonitoring : BmpMessage
{
public RouteMonitoring(byte[] data)
: base(data)
{
var offset = Constants.BmpCommonHeaderLength + Constants.BmpPerPeerHeaderLength;
Decode(data, offset);
}... | mit | C# |
cfa47905fb7dcc3dd7f49a7bbbd7e0480e594ea7 | Add PsiFeaturesImplZone for parent settings key. | JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity,JetBrains/resharper-cyclomatic-complexity | src/CyclomaticComplexity/ZoneMarker.cs | src/CyclomaticComplexity/ZoneMarker.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.Resources.Shell;
namespace JetBrains.ReSharper.Plugins.CyclomaticComplexity
{
[ZoneMarker]
public class ZoneMarker : IRequire<PsiFeaturesImplZone>
{
}
} | using JetBrains.Application.BuildScript.Application.Zones;
namespace JetBrains.ReSharper.Plugins.CyclomaticComplexity
{
[ZoneMarker]
public class ZoneMarker
{
}
} | apache-2.0 | C# |
397294554e0d94bec3825515fb195d5d6826ad15 | Add data_frozen node role (#5322) (#5324) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Cluster/NodesInfo/NodeRole.cs | src/Nest/Cluster/NodesInfo/NodeRole.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
// TODO: Make a string in 8.0
[St... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Runtime.Serialization;
using Elasticsearch.Net;
namespace Nest
{
// TODO: Make a string in 8.0
[St... | apache-2.0 | C# |
8cef8983730650cdd70658f8117ea861f42a1733 | Use same channel throughout Subscribe | pardahlman/RawRabbit,northspb/RawRabbit | src/RawRabbit/Operations/Subscriber.cs | src/RawRabbit/Operations/Subscriber.cs | using System;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.Configuration.Subscribe;
using RawRabbit.Consumer.Abstraction;
using RawRabbit.Context;
using RawRabbit.Context.Enhancer;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.Operations.Abstraction;
using RawRabbi... | using System;
using System.Threading.Tasks;
using RawRabbit.Common;
using RawRabbit.Configuration.Subscribe;
using RawRabbit.Consumer.Abstraction;
using RawRabbit.Context;
using RawRabbit.Context.Enhancer;
using RawRabbit.Context.Provider;
using RawRabbit.Logging;
using RawRabbit.Operations.Abstraction;
using RawRabbi... | mit | C# |
1e651595caeed545510aeb65a067283996b02034 | bump version | ParticularLabs/SetStartupProjects | src/SetStartupProjects/AssemblyInfo.cs | src/SetStartupProjects/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("0.2.0")]
[assembly: AssemblyFileVersion("0.2.0")]
[assembly: Intern... | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("SetStartupProjects")]
[assembly: AssemblyProduct("SetStartupProjects")]
[assembly: AssemblyCopyright("Copyright © NServiceBus Ltd")]
[assembly: AssemblyVersion("0.1.1")]
[assembly: AssemblyFileVersion("0.1.1")]
[assembly: Intern... | mit | C# |
792d59e6a6f3edf2a2bae75d22ab30ac88599074 | increment minor version | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
8b93e4ebcb2f69c35c6d81657030907244085890 | Bump version to 2.0.0-alpha1 | HangfireIO/Hangfire.Dashboard.Authorization | Hangfire.Dashboard.Authorization/Properties/AssemblyInfo.cs | Hangfire.Dashboard.Authorization/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("Hangfire.Dashboard.Authorization")]
[asse... | 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("Hangfire.Dashboard.Authorization")]
[asse... | mit | C# |
8b6cff2ebfcf2487906b8951260b43d563640b88 | Update AzureTableStorageExtensions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/AzureStorage/AzureTableStorageExtensions.cs | TIKSN.Core/Data/AzureStorage/AzureTableStorageExtensions.cs | using Microsoft.Azure.Cosmos.Table;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.AzureStorage
{
public static class AzureTableStorageExtensions
{
public static Task<IEnumerable<T>> RetrieveAllAsync<T>(this IAzureTableStorageQueryRepositor... | using Microsoft.WindowsAzure.Storage.Table;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data.AzureStorage
{
public static class AzureTableStorageExtensions
{
public static Task<IEnumerable<T>> RetrieveAllAsync<T>(this IAzureTableStorageQueryR... | mit | C# |
e927b549803ee4de869814568e178289156ca934 | Add Orleans Cake & Docker tests | ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates | Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs | Tests/Boxed.Templates.FunctionalTest/OrleansTemplateTest.cs | namespace Boxed.Templates.FunctionalTest
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Boxed.DotnetNewTest;
using Xunit;
using Xunit.Abstractions;
public class OrleansTemplateTest
{
private const string TemplateName = "orleans";
private const str... | namespace Boxed.Templates.FunctionalTest
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Boxed.DotnetNewTest;
using Xunit;
using Xunit.Abstractions;
public class OrleansTemplateTest
{
private const string TemplateName = "orleans";
private const str... | mit | C# |
89cfdbe700d28cedf4acb6e9db705cae0b77aa11 | Add Kick Message Capability | Luke-Wolf/wolfybot | WolfyBot.BotCommands/ProxyDetectionCommand/ProxyDetector.cs | WolfyBot.BotCommands/ProxyDetectionCommand/ProxyDetector.cs | //
// Copyright 2014 luke
//
// 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... | //
// Copyright 2014 luke
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | apache-2.0 | C# |
913f12d544b9ebaaa7f12bbd4cb806fa3e97eda0 | Make user lookup case-insensitive | RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast,RightpointLabs/Pourcast | RightpointLabs.Pourcast.Infrastructure/Persistence/Repositories/UserRepository.cs | RightpointLabs.Pourcast.Infrastructure/Persistence/Repositories/UserRepository.cs | using System;
namespace RightpointLabs.Pourcast.Infrastructure.Persistence.Repositories
{
using System.Collections.Generic;
using System.Linq;
using RightpointLabs.Pourcast.Domain.Models;
using RightpointLabs.Pourcast.Domain.Repositories;
using RightpointLabs.Pourcast.Infrastructure.Persistence.C... | namespace RightpointLabs.Pourcast.Infrastructure.Persistence.Repositories
{
using System.Collections.Generic;
using System.Linq;
using RightpointLabs.Pourcast.Domain.Models;
using RightpointLabs.Pourcast.Domain.Repositories;
using RightpointLabs.Pourcast.Infrastructure.Persistence.Collections;
... | mit | C# |
fed954d950c5f20cefc06c2e118a6d660b996558 | Replace Boolean with bool so we can remove System | leoshaw/exercism-solutions | csharp/leap/Year.cs | csharp/leap/Year.cs | public class Year
{
public static bool IsLeap(int i)
{
if (i % 4 != 0)
{
return false;
}
if (i % 100 == 0)
{
if (i % 400 != 0)
{
return false;
}
}
return true;
}
} | using System;
public class Year
{
public static Boolean IsLeap(int i)
{
if (i % 4 != 0)
{
return false;
}
if (i % 100 == 0)
{
if (i % 400 != 0)
{
return false;
}
}
return true;
}
} | mit | C# |
89fd2c219ff8792ee2d6a551f540ae65d93f0f11 | fix bug for api key | mspjp/201612hackathonyokohama,mspjp/201612hackathonyokohama,mspjp/201612hackathonyokohama | csharp/SampleBot/BotLibrary/ApiKey.cs | csharp/SampleBot/BotLibrary/ApiKey.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BotLibrary
{
public class ApiKey
{
public Dictionary<string, string> Keys { get; set; }
private ApiK... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BotLibrary
{
public class ApiKey
{
public Dictionary<string, string> Keys { get; set; }
private ApiK... | mit | C# |
2493a9536bf9e8bf2bf9429131e768c5384df86d | Update Promise.cs | drew-r/Maverick | Promise.cs | Promise.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Maverick
{
public class Promise
{
public Promise(Func<object> asyncOp)
{
Scheduler.Request();
task = new Task(() =>
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Maverick
{
public class Promise
{
public Promise(Func<object> asyncOp)
{
Scheduler.Request();
task = new Task(() =>
... | mit | C# |
267bef959fd7049dcf80557196cd211e3f81686f | Remove unnecessary cache type specification | NeoAdonis/osu,NeoAdonis/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu | osu.Game/Beatmaps/IBeatSyncProvider.cs | osu.Game/Beatmaps/IBeatSyncProvider.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 enable
using osu.Framework.Allocation;
using osu.Framework.Audio.Track;
using osu.Framework.Timing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graph... | // 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 enable
using osu.Framework.Allocation;
using osu.Framework.Audio.Track;
using osu.Framework.Timing;
using osu.Game.Beatmaps.ControlPoints;
using osu.Game.Graph... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.