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 |
|---|---|---|---|---|---|---|---|---|
31b8035a7365b7c7cfa52f47fa397b128151cf7e | Refactor DocumentDbUserRepository configuration | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Infrastructure/Data/DocumentDbUserRepository.cs | src/SFA.DAS.EmployerUsers.Infrastructure/Data/DocumentDbUserRepository.cs | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using SFA.DAS.Configuration;
using SFA.DAS.EmployerUsers.Domain.Data;
using SFA.DAS.EmployerUsers.Infrastructure.Configuration;
using User = SFA.DAS.EmployerUsers.Domain.User;
namespa... | using System;
using System.Net;
using System.Threading.Tasks;
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
using SFA.DAS.Configuration;
using SFA.DAS.EmployerUsers.Domain.Data;
using SFA.DAS.EmployerUsers.Infrastructure.Configuration;
using User = SFA.DAS.EmployerUsers.Domain.User;
namespa... | mit | C# |
2bf0c28c1b9874c09e589a9dea4c8535051dda58 | Add Customer filter when listing CreditNote | stripe/stripe-dotnet | src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs | src/Stripe.net/Services/CreditNotes/CreditNoteListOptions.cs | namespace Stripe
{
using Newtonsoft.Json;
public class CreditNoteListOptions : ListOptions
{
/// <summary>
/// ID of the customer.
/// </summary>
[JsonProperty("customer")]
public string CustomerId { get; set; }
/// <summary>
/// ID of the invoice.
... | namespace Stripe
{
using Newtonsoft.Json;
public class CreditNoteListOptions : ListOptions
{
/// <summary>
/// ID of the invoice.
/// </summary>
[JsonProperty("invoice")]
public string InvoiceId { get; set; }
}
}
| apache-2.0 | C# |
7de3161ba8371632f9be3da5483a6e4c571fdf85 | Fix IsOnce sprite option | ziggi/space-fly | game/Sprite.cs | game/Sprite.cs | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace game
{
class Sprite
{
private Image Image;
private Point Position;
private Point DrawPosition;
private Size Size;
private ... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace game
{
class Sprite
{
private Image Image;
private Point Position;
private Point DrawPosition;
private Size Size;
private ... | mit | C# |
4b348efa59bff76683804aa7399ed4ec52272557 | Make ServiceCollectionExtensions consistent | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Extensions.Localization/LocalizationServiceCollectionExtensions.cs | src/Microsoft.Extensions.Localization/LocalizationServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Localization;
namespace Microsoft.Extensions.Depe... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Localization;
namespace Microsoft.Extensions.Depe... | apache-2.0 | C# |
9af007591a271f176cc74f374d2c239908f1ac7d | Store task of handlers (#43198) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Security/Authorization/Core/src/DefaultAuthorizationHandlerProvider.cs | src/Security/Authorization/Core/src/DefaultAuthorizationHandlerProvider.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Authorization;
/// <summary>
/// The default implementation of a handle... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Authorization;
/// <summary>
/// The default implementation of a handle... | apache-2.0 | C# |
e0fb46b715ce39ccf580e67a880146e9de274a03 | Add Buffer and Format properties | rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSGL.Vulkan/BufferView.cs | CSGL.Vulkan/BufferView.cs | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class BufferViewCreateInfo {
public Buffer buffer;
public VkFormat format;
public ulong offset;
public ulong range;
}
public class BufferView : INative<VkBufferView>, IDisposable {
bool ... | using System;
using System.Collections.Generic;
namespace CSGL.Vulkan {
public class BufferViewCreateInfo {
public Buffer buffer;
public VkFormat format;
public ulong offset;
public ulong range;
}
public class BufferView : INative<VkBufferView>, IDisposable {
bool ... | mit | C# |
8815813be07707a76c43e3cae0b3b715c3a4169f | Update FirstReverse.cs | michaeljwebb/Algorithm-Practice | Coderbyte/FirstReverse.cs | Coderbyte/FirstReverse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Coderbyte
{
class FirstReverse
{
static void Main(string[] args)
{
Console.WriteLine(First_Reverse(Console.ReadLine()));
}
public s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Coderbyte
{
class FirstReverse
{
static void Main(string[] args)
{
Console.WriteLine(First_Reverse(Console.ReadLine()));
}
public static st... | mit | C# |
8270228c61c82075da927b5b7cc2617bcfafc0b6 | add list control | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | ConsoleTestApp/Program.cs | ConsoleTestApp/Program.cs | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Dashen;
using Dashen.Models;
namespace ConsoleTestApp
{
class Program
{
static void Main(string[] args)
{
var ui = new Dashboard(new Uri("http://localhost:8080"));
var model = new TextControlViewModel { Content =... | using System;
using System.Threading;
using System.Threading.Tasks;
using Dashen;
using Dashen.Models;
namespace ConsoleTestApp
{
class Program
{
static void Main(string[] args)
{
var ui = new Dashboard(new Uri("http://localhost:8080"));
var model = new TextControlViewModel { Content = "Test" };
//con... | lgpl-2.1 | C# |
14e4e0fbd0e388beb26c71094da19bd979e04ef7 | Increase assembly version | kant2002/Dub | Dub/CommonAssemblyInfo.cs | Dub/CommonAssemblyInfo.cs | // -----------------------------------------------------------------------
// <copyright file="CommonAssemblyInfo.cs" company="Andrey Kurdiumov">
// Copyright (c) Andrey Kurdiumov. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Reflection;
... | // -----------------------------------------------------------------------
// <copyright file="CommonAssemblyInfo.cs" company="Andrey Kurdiumov">
// Copyright (c) Andrey Kurdiumov. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System.Reflection;
... | apache-2.0 | C# |
4ba1f6fac3eb64e082adf56716cecfe4abf3dc80 | Add key array comment | KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption,KyleBanks/XOREncryption | C#/Main.cs | C#/Main.cs | using System;
class XOREncryption
{
private static string encryptDecrypt(string input) {
char[] key = {'K', 'C', 'Q'}; //Any chars will work, in an array of any size
char[] output = new char[input.Length];
for(int i = 0; i < input.Length; i++) {
output[i] = (char) (input[i] ^ key[i % key.Length]);
}
... | using System;
class XOREncryption
{
private static string encryptDecrypt(string input) {
char[] key = {'K', 'C', 'Q'};
char[] output = new char[input.Length];
for(int i = 0; i < input.Length; i++) {
output[i] = (char) (input[i] ^ key[i % key.Length]);
}
return new string(output);
}
public sta... | mit | C# |
5201412bdf2632abeffebfae27bff60928be539d | Fix Spelling Mistake | Mpdreamz/shellprogressbar | src/ShellProgressBar.Example/Examples/DeeplyNestedProgressBarTreeExample.cs | src/ShellProgressBar.Example/Examples/DeeplyNestedProgressBarTreeExample.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace ShellProgressBar.Example.Examples
{
public class DeeplyNestedProgressBarTreeExample : IProgressBarExample
{
public Task Start(CancellationToken token)
{
var random = new Random();
var numberOfSteps = 7;
var overProgressOpti... | using System;
using System.Threading;
using System.Threading.Tasks;
namespace ShellProgressBar.Example.Examples
{
public class DeeplyNestedProgressBarTreeExample : IProgressBarExample
{
public Task Start(CancellationToken token)
{
var random = new Random();
var numberOfSteps = 7;
var overProgressOpti... | mit | C# |
fc45ea7eaedf29462fa94d3412dba82c3b28038f | Implement direct-to-node deserialization (faster despite nasty array issues) | EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an | A-vs-An/A-vs-An-DotNet/Internals/Node.cs | A-vs-An/A-vs-An-DotNet/Internals/Node.cs | using System;
namespace AvsAnLib.Internals {
/// <summary>
/// A node the article lookup trie. Do not mutate after construction.
/// </summary>
public struct Node : IComparable<Node> {
public char c;
public Ratio ratio;
public Node[] SortedKids;
public int Com... | using System;
namespace AvsAnLib.Internals {
/// <summary>
/// A node the article lookup trie. Do not mutate after construction.
/// </summary>
public struct Node : IComparable<Node> {
public char c;
public Ratio ratio;
public Node[] SortedKids;
public int Com... | apache-2.0 | C# |
99436186c72160a1ce47527bed8995d3d0bd32b7 | make class abstract | xamarin/monotouch-samples,xamarin/monotouch-samples,xamarin/monotouch-samples | ios9/FilterDemoApp/FilterDemoFramework/DSPKernel.cs | ios9/FilterDemoApp/FilterDemoFramework/DSPKernel.cs | using System;
using AudioToolbox;
using AudioUnit;
namespace FilterDemoFramework {
public abstract class DSPKernel {
void HandleOneEvent (AURenderEvent theEvent)
{
switch (theEvent.Head.EventType) {
case AURenderEventType.Parameter:
case AURenderEventType.ParameterRamp:
AUParameterEvent paramEvent ... | using System;
using AudioToolbox;
using AudioUnit;
namespace FilterDemoFramework {
public class DSPKernel {
void HandleOneEvent (AURenderEvent theEvent)
{
switch (theEvent.Head.EventType) {
case AURenderEventType.Parameter:
case AURenderEventType.ParameterRamp:
AUParameterEvent paramEvent = theEven... | mit | C# |
33d57054d93575114acf3fa817157a45c8f59e80 | fix incorrect comment | JSONAPIdotNET/JSONAPI.NET,SphtKr/JSONAPI.NET | JSONAPI/Documents/IResourceLinkage.cs | JSONAPI/Documents/IResourceLinkage.cs | namespace JSONAPI.Documents
{
/// <summary>
/// Describes a relationship's linkage
/// </summary>
public interface IResourceLinkage
{
/// <summary>
/// Whether the linkage is to-many (true) or to-one (false).
/// </summary>
bool IsToMany { get; }
/// <summar... | namespace JSONAPI.Documents
{
/// <summary>
/// Describes a relationship's linkage
/// </summary>
public interface IResourceLinkage
{
/// <summary>
/// Whether the linkage is to-many (true) or to-one (false).
/// </summary>
bool IsToMany { get; }
/// <summar... | mit | C# |
9347c3f535e9820ed461ea5c11b62fd9d9a8d7a4 | Add trigger user change test | smoogipoo/osu,peppy/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,johnneijzen/osu | osu.Game.Tests/Visual/Online/TestSceneCommentsContainer.cs | osu.Game.Tests/Visual/Online/TestSceneCommentsContainer.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 NUnit.Framework;
using osu.Game.Online.API.Requests;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | // 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 NUnit.Framework;
using osu.Game.Online.API.Requests;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | mit | C# |
0907eadb55f59107489e3d59209cd57d6bb87778 | Make string format optional if no trace listener is attached | chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet | MQTTnet.Core/Diagnostics/MqttTrace.cs | MQTTnet.Core/Diagnostics/MqttTrace.cs | using System;
namespace MQTTnet.Core.Diagnostics
{
public static class MqttTrace
{
public static event EventHandler<MqttTraceMessagePublishedEventArgs> TraceMessagePublished;
public static void Verbose(string source, string message)
{
Publish(source, MqttTraceLevel.Verbose... | using System;
namespace MQTTnet.Core.Diagnostics
{
public static class MqttTrace
{
public static event EventHandler<MqttTraceMessagePublishedEventArgs> TraceMessagePublished;
public static void Verbose(string source, string message)
{
Publish(source, MqttTraceLevel.Verbose... | mit | C# |
f31cf1ba8bcf55c9bdf170ae8ed2ae4111980d1a | Write current user's role into claims identity. | enarod/enarod-web-api,enarod/enarod-web-api,enarod/enarod-web-api | Infopulse.EDemocracy.Web/Auth/Providers/SimpleAuthorizationServerProvider.cs | Infopulse.EDemocracy.Web/Auth/Providers/SimpleAuthorizationServerProvider.cs | using System.Data.Entity;
using System.Linq;
using Infopulse.EDemocracy.Data.Repositories;
using Microsoft.Owin.Security.OAuth;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Infopulse.EDemocracy.Web.Auth.Providers
{
public class SimpleAuthorizationServerProvider : OAuthAuthorizationServerProv... | using Infopulse.EDemocracy.Data.Repositories;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Owin.Security.OAuth;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Infopulse.EDemocracy.Web.Auth.Providers
{
public class SimpleAuthorizationServerProvider : OAuthAuthorizationServer... | cc0-1.0 | C# |
a375b4b70b88fd913a6c07e5dad092ef1fb7d4b5 | Update BinanceTransferHistory.cs (#636) | JKorf/Binance.Net | Binance.Net/Objects/Spot/MarginData/BinanceTransferHistory.cs | Binance.Net/Objects/Spot/MarginData/BinanceTransferHistory.cs | using System;
using Binance.Net.Converters;
using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Spot.MarginData
{
/// <summary>
/// Transfer history entry
/// </summary>
public class BinanceTransferHistory
{
/// <summary>
... | using Binance.Net.Converters;
using Binance.Net.Enums;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;
namespace Binance.Net.Objects.Spot.MarginData
{
/// <summary>
/// Transfer history entry
/// </summary>
public class BinanceTransferHistory
{
/// <summary>
/// Amount ... | mit | C# |
4cd39620629a1f9acdb8af4c0078775ad37837b3 | Make `Structure` class abstract | convertersystems/opc-ua-client | UaClient/ServiceModel/Ua/Structure.cs | UaClient/ServiceModel/Ua/Structure.cs | // Copyright (c) Converter Systems LLC. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Workstation.ServiceModel.Ua
{
/// <summary>
/// A base implementation of a Structure.
/// </summary>
[DataTypeId(DataTypeIds.Stru... | // Copyright (c) Converter Systems LLC. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Workstation.ServiceModel.Ua
{
/// <summary>
/// A base implementation of a Structure.
/// </summary>
[DataTypeId(DataTypeIds.Stru... | mit | C# |
2bf6323e3be39bfbb0b5e2c155144a452e45a2f8 | Update UsingCellName.cs | aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell... | Examples/CSharp/Data/Handling/AccessingCells/UsingCellName.cs | Examples/CSharp/Data/Handling/AccessingCells/UsingCellName.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellName
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspos... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.AccessingCells
{
public class UsingCellName
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.G... | mit | C# |
52327b830978353fe5a63996c5556e42d43b5481 | Use Specific Sources for nuget | ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
// Solution
var rootFolder = "./Ets.Mobile";
var solutionPath = rootFolder + "/Ets.Mobile.WindowsPhone.sln";
var allProjectsBinPath = rootFolder + "/**/bin";
// Te... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
// Solution
var rootFolder = "./Ets.Mobile";
var solutionPath = rootFolder + "/Ets.Mobile.WindowsPhone.sln";
var allProjectsBinPath = rootFolder + "/**/bin";
// Te... | apache-2.0 | C# |
55807307abb3fbf6923e9a8b2c73332a126901b2 | Change message and description | occar421/OpenTKAnalyzer | src/OpenTKAnalyzer/OpenTKAnalyzer/OpenTK/RotationValueOpenTKMathAnalyzer.cs | src/OpenTKAnalyzer/OpenTKAnalyzer/OpenTK/RotationValueOpenTKMathAnalyzer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Ope... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
namespace Ope... | mit | C# |
b7866c22a009299234d22823a4f048a209a48d11 | Use compund assignment | panopticoncentral/roslyn,heejaechang/roslyn,eriawan/roslyn,wvdd007/roslyn,shyamnamboodiripad/roslyn,mgoertz-msft/roslyn,physhi/roslyn,AmadeusW/roslyn,mgoertz-msft/roslyn,tmat/roslyn,panopticoncentral/roslyn,heejaechang/roslyn,aelij/roslyn,agocke/roslyn,dotnet/roslyn,wvdd007/roslyn,jasonmalinowski/roslyn,gafter/roslyn,s... | src/VisualStudio/Core/Def/Implementation/Extensions/VsTextSpanExtensions.cs | src/VisualStudio/Core/Def/Implementation/Extensions/VsTextSpanExtensions.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem;
using Microsoft.VisualStudio.LanguageServices.Imple... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.LanguageServices.Implementation.ProjectSystem;
using Microsoft.VisualStudio.LanguageServices.Imple... | mit | C# |
7265d89137b3c4c73af08e857ab5a9c739b7411f | Clarify installation of fonts on Linux | gmartin7/myBloomFork,andrew-polk/BloomDesktop,gmartin7/myBloomFork,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,andrew-polk/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,BloomBooks/BloomDesktop,J... | src/BloomExe/ToPalaso/FontInstaller.cs | src/BloomExe/ToPalaso/FontInstaller.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Amazon.CognitoSync;
using Palaso.IO;
namespace Bloom.ToPalaso
{
/// <summary>
/// Helper class for i... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Amazon.CognitoSync;
using Palaso.IO;
namespace Bloom.ToPalaso
{
/// <summary>
/// Helper class for i... | mit | C# |
abd6a0f4a5addf2692453df409e984ae25238047 | Add rationale for exit status codes to comments. | kgybels/git-tfs,TheoAndersen/git-tfs,bleissem/git-tfs,WolfVR/git-tfs,modulexcite/git-tfs,bleissem/git-tfs,hazzik/git-tfs,hazzik/git-tfs,timotei/git-tfs,pmiossec/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,bleissem/git-tfs,vzabavnov/git-tfs,irontoby/git-tfs,TheoAndersen/git-tfs,NathanLBCooper/git-tfs,allansson/git-tfs... | GitTfs/GitTfsExitCodes.cs | GitTfs/GitTfsExitCodes.cs | using System;
namespace Sep.Git.Tfs
{
/// <summary>
/// Collection of exit codes used by git-tfs.
/// </summary>
/// <remarks>
/// For consistency across all running environments, both various
/// Windows - shells (powershell.exe, cmd.exe) and UNIX - like environments
//... | using System;
namespace Sep.Git.Tfs
{
public static class GitTfsExitCodes
{
public const int OK = 0;
public const int Help = 1;
public const int InvalidArguments = 2;
public const int ForceRequired = 3;
public const int ExceptionThrown = Byte.MaxValue - 1;
}
}
| apache-2.0 | C# |
0c4c69c66d1a2dafb9d0bc6c5030a01a32370f6d | update in sample | p-org/PSharp | Samples/OperationsExample/Test.cs | Samples/OperationsExample/Test.cs | using System;
using Microsoft.PSharp;
namespace OperationsExample
{
public class Test
{
static void Main(string[] args)
{
var runtime = PSharpRuntime.Create();
Test.Execute(runtime);
Console.ReadLine();
}
[Microsoft.PSharp.Test]
publ... | using System;
using Microsoft.PSharp;
namespace OperationsExample
{
class Test
{
static void Main(string[] args)
{
Test.Execute();
Console.ReadLine();
}
[Microsoft.PSharp.Test]
public static void Execute()
{
PSharpRuntime.Cre... | mit | C# |
8d43275a54ea01aa65bb87e2d4d9260b8f98d2fe | Improve exception handling when function does not exist | croquet-australia/api.croquet-australia.com.au | source/CroquetAustralia.DownloadTournamentEntries/ReadModels/FunctionReadModel.cs | source/CroquetAustralia.DownloadTournamentEntries/ReadModels/FunctionReadModel.cs | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CroquetAustralia.Domain.Data;
using CroquetAustralia.Domain.Features.TournamentEntry.Commands;
namespace CroquetAustralia.DownloadTournamentEntries.ReadModels
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
publ... | using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CroquetAustralia.Domain.Data;
using CroquetAustralia.Domain.Features.TournamentEntry.Commands;
namespace CroquetAustralia.DownloadTournamentEntries.ReadModels
{
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
publ... | mit | C# |
32fccc394e4def82b87d1a9b97fcddc506eb2692 | Make SiteStatistics thread safe per content | lunet-io/lunet,lunet-io/lunet | src/Lunet/Statistics/SiteStatistics.cs | src/Lunet/Statistics/SiteStatistics.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Collections.Generic;
using Lunet.Core;
using Lunet.Plugins;
namespace Lunet.Statistics
{
public class S... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using System;
using System.Collections.Generic;
using Lunet.Core;
using Lunet.Plugins;
namespace Lunet.Statistics
{
public class S... | bsd-2-clause | C# |
ebed8a59477050b7b21d07465a444130d2b882bc | fix logging | igeligel/csharp-steamgaug-es-api | SteamGaugesApi.Example/Program.cs | SteamGaugesApi.Example/Program.cs | using System;
using SteamGaugesApi.Core;
namespace SteamGaugesApi.Example
{
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Press a key to fetch the API...");
Console.Read();
var client = new Client();
... | using System;
using SteamGaugesApi.Core;
namespace SteamGaugesApi.Example
{
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.Read();
Client client = new Client();
var result = cl... | mit | C# |
f9a02c759a6d9b13da9982e9e4c0871550636934 | update for pr | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit/Inspectors/Setup/ProjectPreferencesInspector.cs | Assets/MixedRealityToolkit/Inspectors/Setup/ProjectPreferencesInspector.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
[CustomEditor(typeof(ProjectPreferences))]
internal class ProjectPreferencesI... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEditor;
namespace Microsoft.MixedReality.Toolkit.Utilities.Editor
{
[CustomEditor(typeof(ProjectPreferences))]
public class ProjectPreferencesIns... | mit | C# |
a7695454722947075ae0dab9f7d386ce9ca96938 | Add helper Asserts for new ReactiveCommand behaviors | PKI-InVivo/reactive-domain | src/ReactiveDomain/ReactiveDomain.Tests/Helpers/Asserts.cs | src/ReactiveDomain/ReactiveDomain.Tests/Helpers/Asserts.cs | using System;
using System.Threading;
using ReactiveDomain.Bus;
using ReactiveDomain.Tests.Helpers;
using ReactiveUI;
// ReSharper disable once CheckNamespace - this is where it is supposed to be
namespace Xunit
{
public partial class Assert
{
public static void IsOrBecomesFalse(Func<bool> func, int? ... | using System;
using System.Threading;
using ReactiveDomain.Bus;
using ReactiveDomain.Tests.Helpers;
// ReSharper disable once CheckNamespace - this is where it is supposed to be
namespace Xunit
{
public partial class Assert
{
public static void IsOrBecomesFalse(Func<bool> func, int? timeout = null, st... | mit | C# |
7dd00faa10a4559b31351cc66f03205fc42c49fc | Update Ensure calls to use full path | dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,umbra... | src/Umbraco.Infrastructure/Runtime/CoreInitialComponent.cs | src/Umbraco.Infrastructure/Runtime/CoreInitialComponent.cs | using Microsoft.Extensions.Options;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.Models;
using Umbraco.Core.Hosting;
using Umbraco.Core.IO;
namespace Umbraco.Core.Runtime
{
public class CoreInitialComponent : IComponent
{
private readonly IIOHelper _ioHelper;
private readonly... | using Microsoft.Extensions.Options;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.Models;
using Umbraco.Core.IO;
namespace Umbraco.Core.Runtime
{
public class CoreInitialComponent : IComponent
{
private readonly IIOHelper _ioHelper;
private readonly GlobalSettings _globalSetti... | mit | C# |
086a7e7e9343c153dcca69bce26fe3c92620a00a | Update NotesRepository.cs | CarmelSoftware/MVCDataRepositoryXML | Models/NotesRepository.cs | Models/NotesRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
public class NotesRepository : INotesRepository
{
private List<Note> notes = new List<Note>();
private int iNumberOfEntries = 1;
private XDocument doc;
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Xml.Linq;
namespace IoCDependencyInjection.Models
{
| mit | C# |
1d0deb7e3e641be958964c484ccea00f7d717fd8 | Update ConfigurationRootSetup.cs | tiksn/TIKSN-Exchange | TIKSN.Exchange/ConfigurationRootSetup.cs | TIKSN.Exchange/ConfigurationRootSetup.cs | using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using TIKSN.Configuration;
namespace TIKSN.Exchange
{
public class ConfigurationRootSetup : ConfigurationRootSetupBase
{
protected override void SetupConfiguration(IConfigurationBuilder builder)
{
base.Setu... | using TIKSN.Configuration;
namespace TIKSN.Exchange
{
public class ConfigurationRootSetup : ConfigurationRootSetupBase
{
}
} | mit | C# |
299d528654f823689e14ffc6fb56c9f2db55ae5f | Simplify implementation | UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,ppy/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,EVAST9919/osu,ZLima12/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,2yangk23/osu,johnn... | osu.Game/Graphics/UserInterface/HoverClickSounds.cs | osu.Game/Graphics/UserInterface/HoverClickSounds.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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Framework.Input... | // 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.Linq;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Sample;
using osu.Framework.Extensions;
using osu.Framework.Input... | mit | C# |
a145453dec9525f52f76641c0e5248a297837c6c | Remove the last 32 bytes of GC allocation from PluginManager.GetPlugin() (#379) | PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator,PlayFab/SDKGenerator | targets/unity-v2/source/Shared/Public/PluginContractKey.cs | targets/unity-v2/source/Shared/Public/PluginContractKey.cs | using System.Collections.Generic;
namespace PlayFab
{
public struct PluginContractKey
{
public PluginContract _pluginContract;
public string _pluginName;
}
public class PluginContractKeyComparator : EqualityComparer<PluginContractKey>
{
public override bool Equals(PluginCon... | using System;
using System.Collections.Generic;
using PlayFab.Internal;
using PlayFab.Json;
namespace PlayFab
{
public class PluginContractKey
{
public PluginContract _pluginContract;
public string _pluginName;
}
public class PluginContractKeyComparator : EqualityComparer<PluginContrac... | apache-2.0 | C# |
761434b6036a8fec431e59cb00235fee740686aa | Update C#.cs | TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets,TobitSoftware/chayns-snippets | Backend/AddUserToUacGroup/C#.cs | Backend/AddUserToUacGroup/C#.cs | import RestSharp;
public string Server = "https://api.chayns.net/v2.0";
private const string Secret = "Your Tapp Secret";
[HttpPost]
[Route("UserPermitted")]
public IHttpActionResult UserPermitted(int locationId, int tappId, int userId, int groupId)
{
try
{
//Test if the user exists in the Group
... | mit | C# | |
81cc3603a59ebcdb4cd5b166dae18447ee31623d | Add DualQuaternion.FromRotation method | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/math/DualQuaternion.cs | Viewer/src/math/DualQuaternion.cs | using ProtoBuf;
using SharpDX;
[ProtoContract(UseProtoMembersOnly = true)]
public struct DualQuaternion {
[ProtoMember(1)]
private Quaternion real;
[ProtoMember(2)]
private Quaternion dual;
public Quaternion Real => real;
public Quaternion Dual => dual;
public DualQuaternion(Quaternion real, Quaternion dua... | using ProtoBuf;
using SharpDX;
[ProtoContract(UseProtoMembersOnly = true)]
public struct DualQuaternion {
[ProtoMember(1)]
private Quaternion real;
[ProtoMember(2)]
private Quaternion dual;
public Quaternion Real => real;
public Quaternion Dual => dual;
public DualQuaternion(Quaternion real, Quaternion dua... | mit | C# |
33bcef4c615f703616d82e3e223834b7c404a640 | Load script by lines | vejuhust/msft-scooter | ScooterController/ScooterController/InstructionInterrupter.cs | ScooterController/ScooterController/InstructionInterrupter.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
class InstructionInterrupter
{
private readonly List<string> instructionRawLines;
public InstructionInterrupter(string filename = ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ScooterController
{
class InstructionInterrupter
{
public InstructionInterrupter(string filename = "instruction.txt")
{
}
}
}
| mit | C# |
f7c2ce3c03ed85ef0f20d3c0f10f33f7cbb996d2 | Stop IrcCalc from calculating channel messages | IvionSauce/MeidoBot | IrcCalc/IrcCalc.cs | IrcCalc/IrcCalc.cs | using System.Collections.Generic;
using Calculation;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
[Export(typeof(IMeidoHook))]
public class Calc : IMeidoHook
{
public string Name
{
get { return "IrcCalc"; }
}
public string Version
{
... | using System.Collections.Generic;
using Calculation;
// Using directives for plugin use.
using MeidoCommon;
using System.ComponentModel.Composition;
[Export(typeof(IMeidoHook))]
public class Calc : IMeidoHook
{
public string Name
{
get { return "IrcCalc"; }
}
public string Version
{
... | bsd-2-clause | C# |
e39046536a7756c75689baa2acf289a28a034b58 | Remove outdated comment | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBase.cs | WalletWasabi.Fluent/ViewModels/Dialogs/DialogViewModelBase.cs | using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// CommonBase class.
/// </summary>
public abstract class DialogViewModelBase : ViewModelBase
{
private bool _isDialogOpen;
/// <summary>
/// Gets or sets if the dialog is opened/closed.
... | using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels.Dialogs
{
/// <summary>
/// CommonBase class.
/// </summary>
public abstract class DialogViewModelBase : ViewModelBase
{
private bool _isDialogOpen;
// Intended to be empty.
/// <summary>
/// Gets or sets if the... | mit | C# |
28342adceb2995f9074a289c0b82b580f5fb1fe9 | Fix ProjectN build breaks (dotnet/corert#7115) | cshung/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,mmitche/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,wtgodbe/coreclr,po... | src/System.Private.CoreLib/shared/System/Environment.WinRT.cs | src/System.Private.CoreLib/shared/System/Environment.WinRT.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.IO;
using Internal.Runtime.Augments;
namespace System
{
public static partial class Environment
... | // 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.IO;
namespace System
{
public static partial class Environment
{
public static string ... | mit | C# |
13c8701403d6de8cab6dd551c1b5a96765de3fea | resolve available content types | HarshPoint/HarshPoint,the-ress/HarshPoint,NaseUkolyCZ/HarshPoint | HarshPoint/Provisioning/Resolvers/ResolveContentTypeById.cs | HarshPoint/Provisioning/Resolvers/ResolveContentTypeById.cs | using HarshPoint.Provisioning.Implementation;
using Microsoft.SharePoint.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace HarshPoint.Provisioning.Resolvers
{
public sealed class ResolveContentTypeById :
Resolvable<ContentType, HarshContentTypeId, HarshProvisionerContext, R... | using HarshPoint.Provisioning.Implementation;
using Microsoft.SharePoint.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace HarshPoint.Provisioning.Resolvers
{
public sealed class ResolveContentTypeById :
Resolvable<ContentType, HarshContentTypeId, HarshProvisionerContext, R... | bsd-2-clause | C# |
c3a4eb2248d3b78256f9ccd70fe25cb32f40b780 | Change ChildOrderType to Enum type | kiyoaki/bitflyer-api-dotnet-client | src/BitFlyer.Apis/ResponseData/ChildOrder.cs | src/BitFlyer.Apis/ResponseData/ChildOrder.cs | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class ChildOrder
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("child_order_id")]
public string ChildOrderId { get; set; }
[JsonProperty("product_code")]
public ProductCode ProductCode ... | using Newtonsoft.Json;
namespace BitFlyer.Apis
{
public class ChildOrder
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("child_order_id")]
public string ChildOrderId { get; set; }
[JsonProperty("product_code")]
public ProductCode ProductCode ... | mit | C# |
7413b72c63d0191a496b1feeec55f1d2fa119b2f | simplify entity configuration registration | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Data/FilterListsDbContext.cs | src/FilterLists.Data/FilterListsDbContext.cs | using FilterLists.Data.Entities;
using FilterLists.Data.Entities.Junctions;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Data
{
public class FilterListsDbContext : DbContext
{
public FilterListsDbContext(DbContextOptions options) : base(options)
{
}
public DbSet<... | using FilterLists.Data.Entities;
using FilterLists.Data.Entities.Junctions;
using FilterLists.Data.EntityTypeConfigurations;
using FilterLists.Data.EntityTypeConfigurations.Junctions;
using Microsoft.EntityFrameworkCore;
namespace FilterLists.Data
{
public class FilterListsDbContext : DbContext
{
publ... | mit | C# |
8739acb6b9c17e1b2f804b68e36ded442677c505 | Tweak richtext control size | siege918/quest,textadventures/quest,textadventures/quest,F2Andy/quest,textadventures/quest,siege918/quest,F2Andy/quest,textadventures/quest,siege918/quest,siege918/quest,F2Andy/quest | WebEditor/WebEditor/Views/Edit/Controls/RichTextControl.cshtml | WebEditor/WebEditor/Views/Edit/Controls/RichTextControl.cshtml | @model WebEditor.Models.Controls.RichTextControl
<table>
<tr>
<td style="vertical-align: top">
@Html.TextArea(Model.Control.Attribute, Model.Value, 10, 80, new { @class = "richtext", style = "width: 640px; height: 350px; font-size: 12pt" })
</td>
@if (Model.TextProcessor... | @model WebEditor.Models.Controls.RichTextControl
<table>
<tr>
<td style="vertical-align: top">
@Html.TextArea(Model.Control.Attribute, Model.Value, 10, 80, new { @class = "richtext", style = "width: 40em; height: 25em; font-size: 12pt" })
</td>
@if (Model.TextProcessorCo... | mit | C# |
6899a0e3165d28e2bb682344acba89fa57ed7adb | Add BalancingOption documentation | David-Desmaisons/EasyActor | EasyActor/BalancingOption.cs | EasyActor/BalancingOption.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyActor
{
/// <summary>
/// Describe the strategy used by the <see cref="ILoadBalancerFactory"/> to create actors
/// </summary>
public enum BalancingOption
{
/// <summary>
/// <see cr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EasyActor
{
public enum BalancingOption
{
PreferParralelism,
MinizeObjectCreation
}
} | mit | C# |
97458ec0d0c175e7511fdc1a0118154403474283 | Remove Duplicate Path Parameters | bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework | src/Server/Bit.WebApi/Implementations/SwaggerDefaultValuesOperationFilter.cs | src/Server/Bit.WebApi/Implementations/SwaggerDefaultValuesOperationFilter.cs | using Swashbuckle.Swagger;
using System.Linq;
using System.Web.Http.Description;
namespace Bit.WebApi.Implementations
{
/// <summary>
/// Represents the Swagger/Swashbuckle operation filter used to provide default values.
/// </summary>
/// <remarks>This <see cref="IOperationFilter"/> is only required... | using Swashbuckle.Swagger;
using System.Linq;
using System.Web.Http.Description;
namespace Bit.WebApi.Implementations
{
/// <summary>
/// Represents the Swagger/Swashbuckle operation filter used to provide default values.
/// </summary>
/// <remarks>This <see cref="IOperationFilter"/> is only required... | mit | C# |
6a67e52d6c78b8879bbce2bff2ad198de99f8216 | Fix appveyor compiler issues | jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes | ConsoleApps/FunWithSpikes/FunWithCastles/Settings/Adapters/ReadOnlyAdapter.cs | ConsoleApps/FunWithSpikes/FunWithCastles/Settings/Adapters/ReadOnlyAdapter.cs | using System;
namespace FunWithCastles.Settings.Adapters
{
internal class ReadOnlyAdapter : ISettingsAdapter
{
private ISettingsAdapter _adaptee;
public ReadOnlyAdapter(ISettingsAdapter adaptee)
{
if (null == adaptee)
{
throw new ArgumentNullExc... | using System;
namespace FunWithCastles.Settings.Adapters
{
internal class ReadOnlyAdapter : ISettingsAdapter
{
private ISettingsAdapter _adaptee;
public ReadOnlyAdapter(ISettingsAdapter adaptee)
{
_adaptee = adaptee ?? throw new ArgumentNullException(nameof(adaptee));
... | mit | C# |
53c27a6a14a6ab01098ba9eb8d0148b751441f37 | Remove obserlete method | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/IoC_Example_Installers/AutofacRegistrar.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/IoC_Example_Installers/AutofacRegistrar.cs | using System;
using System.Data;
using Autofac;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.IoC_Example_Installers
{
public class AutofacRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.Reg... | using System;
using System.Data;
using Autofac;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.IoC_Example_Installers
{
public class AutofacRegistrar
{
public void Register(ContainerBuilder builder)
{
builder.Reg... | mit | C# |
a421ce5881269c0ec3c40d55ad47724de9789ad3 | Fix test, mine block with transaction | ajlopez/BlockchainSharp | Src/BlockchainSharp.Tests/Processors/MinerProcessorTests.cs | Src/BlockchainSharp.Tests/Processors/MinerProcessorTests.cs | namespace BlockchainSharp.Tests.Processors
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BlockchainSharp.Stores;
using BlockchainSharp.Processors;
using BlockchainSharp.Tests.TestUtils;
using BlockchainSharp.Core;
[TestClass]
public class MinerProc... | namespace BlockchainSharp.Tests.Processors
{
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BlockchainSharp.Stores;
using BlockchainSharp.Processors;
using BlockchainSharp.Tests.TestUtils;
using BlockchainSharp.Core;
[TestClass]
public class MinerProc... | mit | C# |
a0aa3c2baf01ad57c4a54bfae18768af707d8fc3 | Fix ambiguous reference to ILogger from Unity 5.3 upwards. | robotlegs-sharp/robotlegs-sharp-framework | src/robotlegs/bender/platforms/unity/extensions/contentView/ContextViewTransformExtension.cs | src/robotlegs/bender/platforms/unity/extensions/contentView/ContextViewTransformExtension.cs | //------------------------------------------------------------------------------
// Copyright (c) 2014-2015 the original author or authors. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//---... | //------------------------------------------------------------------------------
// Copyright (c) 2014-2015 the original author or authors. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//---... | mit | C# |
adb4810e09b952e3fb53dd0669310fbc6adb032e | Fix comments | helix-toolkit/helix-toolkit,JeremyAnsel/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,Iluvatar82/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/PostEffects/PostEffectMeshBorderHighlight.cs | Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/PostEffects/PostEffectMeshBorderHighlight.cs | using HelixToolkit.Wpf.SharpDX.Core;
namespace HelixToolkit.Wpf.SharpDX
{
/// <summary>
/// Highlight the border of meshes
/// </summary>
/// <seealso cref="HelixToolkit.Wpf.SharpDX.Element3D" />
public class PostEffectMeshBorderHighlight : PostEffectMeshOutlineBlur
{
public PostEffect... | namespace HelixToolkit.Wpf.SharpDX
{
/// <summary>
/// Highlight the border of meshes
/// </summary>
/// <seealso cref="HelixToolkit.Wpf.SharpDX.Element3D" />
public class PostEffectMeshBorderHighlight : PostEffectMeshOutlineBlur
{
public PostEffectMeshBorderHighlight()
{
... | mit | C# |
cdf9ee5f2df5117a92b4234a76823ff8247c0d43 | add ServiceUrl to private keys | colbylwilliams/XWeather,colbylwilliams/XWeather | XWeather/Shared/Constants/PrivateKeys.cs | XWeather/Shared/Constants/PrivateKeys.cs | namespace XWeather.Constants
{
public static class PrivateKeys
{
public const string WuApiKey = @""; // https://github.com/colbylwilliams/XWeather#weather-underground
public const string GoogleMapsApiKey = @""; // https://github.com/colbylwilliams/XWeather#google-maps-api-key-android
public... | namespace XWeather.Constants
{
public static class PrivateKeys
{
public const string WuApiKey = @""; // https://github.com/colbylwilliams/XWeather#weather-underground
public const string GoogleMapsApiKey = @""; // https://github.com/colbylwilliams/XWeather#google-maps-api-key-android
public... | mit | C# |
be14d1778061813f0b9ba783d03be3e92989b50a | Fix missing using | iainx/xwt,hwthomas/xwt,akrisiun/xwt,steffenWi/xwt,residuum/xwt,directhex/xwt,antmicro/xwt,mono/xwt,mminns/xwt,TheBrainTech/xwt,sevoku/xwt,mminns/xwt,lytico/xwt,hamekoz/xwt,cra0zy/xwt | Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs | Xwt.WPF/Xwt.WPFBackend/DropDownButton.cs | //
// DropDownButton.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 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 restrictio... | //
// DropDownButton.cs
//
// Author:
// Eric Maupin <ermau@xamarin.com>
//
// Copyright (c) 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 restrictio... | mit | C# |
2c0e8927d35331a7913abf249dec855bbe5bfb86 | Remove key. | Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex | backend/tests/Squidex.Infrastructure.Tests/Assets/AmazonS3AssetStoreFixture.cs | backend/tests/Squidex.Infrastructure.Tests/Assets/AmazonS3AssetStoreFixture.cs | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | // ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | mit | C# |
368fd4326721fdf39ee1d1e42ca1ce475bc911ea | Add a safety check for when Authors is null, which shouldn't happen in the first place. Work items: 1727, 1728 | mdavid/nuget,mdavid/nuget | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | src/DialogServices/PackageManagerUI/Converters/StringCollectionsToStringConverter.cs | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cultur... | using System;
using System.Collections.Generic;
using System.Windows.Data;
namespace NuGet.Dialog.PackageManagerUI
{
public class StringCollectionsToStringConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo cu... | apache-2.0 | C# |
00bb6a3eb7c2f83850b012367899a57ea08338ab | Fix - Cambiata chiave degli eventi da id richiesta a codice | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/GetListaEventiByCodiceRichiesta.cs | src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/GetListaEventiByCodiceRichiesta.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.API.Models.Classi.Soccorso.Eventi;
using SO115App.API.Models.Servizi.CQRS.Queries.ListaEventi;
using SO115App.Models.Servizi.Infrastruttura.GetListaEventi;
using System;
using System.Collections.Generic;
using Sy... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.API.Models.Classi.Soccorso;
using SO115App.API.Models.Classi.Soccorso.Eventi;
using SO115App.API.Models.Servizi.CQRS.Queries.ListaEventi;
using SO115App.Models.Servizi.Infrastruttura.GetListaEventi;
using System;
using System.Collections.Generic;
using Sy... | agpl-3.0 | C# |
e5814b6b3df47def9f38183d0322d0bc59fc8d29 | improve EGID structure | sebas77/Svelto.ECS,sebas77/Svelto-ECS | Svelto.ECS/EGID.cs | Svelto.ECS/EGID.cs | using System;
using System.Collections.Generic;
namespace Svelto.ECS
{
public struct EGID:IEquatable<long>,IEqualityComparer<long>
{
long _GID;
public long GID
{
get { return _GID; }
}
public int entityID
{
get { return (... | namespace Svelto.ECS
{
public struct EGID
{
long _GID;
public long GID
{
get { return _GID; }
}
public int entityID
{
get { return (int) (_GID & 0xFFFFFFFF); }
}
public int groupID
{
... | mit | C# |
ea050ca58bde82369f5568657a43db982e92595b | Make fields in MapPainter readonly | MHeasell/Mappy,MHeasell/Mappy | Mappy/UI/Painters/MapPainter.cs | Mappy/UI/Painters/MapPainter.cs | namespace Mappy.UI.Painters
{
using System.Collections.Generic;
using System.Drawing;
using Mappy.Collections;
public class MapPainter : IPainter
{
private readonly IGrid<Bitmap> map;
private readonly int tileSize;
public MapPainter(IGrid<Bitmap> map, int tile... | namespace Mappy.UI.Painters
{
using System.Collections.Generic;
using System.Drawing;
using Mappy.Collections;
public class MapPainter : IPainter
{
private IGrid<Bitmap> map;
private int tileSize;
public MapPainter(IGrid<Bitmap> map, int tileSize)
{
... | mit | C# |
a1dbce90652bb017b82b272d6cb2d20adbfbee20 | Rename AddEncoders -> AddWebEncoders | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.Framework.WebEncoders/EncoderServiceCollectionExtensions.cs | src/Microsoft.Framework.WebEncoders/EncoderServiceCollectionExtensions.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Internal;
using Microsoft.Framework.WebEncoders;... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.Internal;
using Microsoft.Framework.WebEncoders;... | apache-2.0 | C# |
08be6c11134b6874c706aa52d4b7f7c1421b0c7b | Fix MVVM code style. | GGG-KILLER/GUtils.NET | Tsu.MVVM/ViewModelBase.cs | Tsu.MVVM/ViewModelBase.cs | // Copyright © 2016 GGG KILLER <gggkiller2@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the “Software”), to deal in the Software without
// restriction, including without limitation the rights to use, copy, modify,... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Tsu.MVVM
{
/// <summary>
/// Implements a few utility functions for a ViewModel base
/// </summary>
public abstract class ViewModelBase : INotifyPropertyChanged
{
/... | mit | C# |
e821a7a1f0d3c24b192a68828e7099d91626514c | Move compilation for docs (#2833) | fassadlr/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,stratisproject/StratisBit... | src/Stratis.SmartContracts.IntegrationTests/TestChain/TestChainExample.cs | src/Stratis.SmartContracts.IntegrationTests/TestChain/TestChainExample.cs | using Stratis.Bitcoin.Features.SmartContracts.Models;
using Stratis.SmartContracts.Executor.Reflection.Compilation;
using Stratis.SmartContracts.Executor.Reflection.Local;
using Stratis.SmartContracts.Test;
using Xunit;
namespace Stratis.SmartContracts.IntegrationTests.TestChain
{
public class TestChainExample
... | using System;
using System.Collections.Generic;
using System.Text;
using Stratis.Bitcoin.Features.SmartContracts.Models;
using Stratis.SmartContracts.Executor.Reflection;
using Stratis.SmartContracts.Executor.Reflection.Compilation;
using Stratis.SmartContracts.Executor.Reflection.Local;
using Stratis.SmartContracts.T... | mit | C# |
5c8534015ecbadbb075a0ca0443d05a01230de54 | 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.5.1")]
[assembly: AssemblyFileVersion("0.5.1")]
| using System.Reflection;
[assembly: AssemblyTitle("With.Fody")]
[assembly: AssemblyProduct("With.Fody")]
[assembly: AssemblyVersion("0.5.0")]
[assembly: AssemblyFileVersion("0.5.0")]
| mit | C# |
ac0ec0f6db732cf0caa0ed7bcaf9a9c0cd3d12df | Revert "[DEVOPS-245] verify test failure" | sailthru/sailthru-net-client | Sailthru/Sailthru.Tests/Test.cs | Sailthru/Sailthru.Tests/Test.cs | using NUnit.Framework;
using System;
namespace Sailthru.Tests
{
[TestFixture()]
public class Test
{
[Test()]
public void TestCase()
{
}
}
}
| using NUnit.Framework;
using System;
namespace Sailthru.Tests
{
[TestFixture()]
public class Test
{
[Test()]
public void TestCase()
{
Assert.Fail();
}
}
}
| mit | C# |
ce9f69071e3a2e61e6e52f50224d39a2bb8cfeff | change `GetFontSizeByLevel` return value to actual font size | peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownHeading.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownHeading.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 Markdig.Syntax;
using osu.Framework.Allocation;
using osuTK;
namespace osu.Framework.Graphics.Containers.Markdown
{
/// <summary>
/// Visualises a heading... | // 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 Markdig.Syntax;
using osu.Framework.Allocation;
using osuTK;
namespace osu.Framework.Graphics.Containers.Markdown
{
/// <summary>
/// Visualises a heading... | mit | C# |
b2a2df31d645d65f3e4b8df3cadb435e5d6681ec | Enable NH-315 fixture since it works now | fredericDelaporte/nhibernate-core,hazzik/nhibernate-core,lnu/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,nhibernate/nhibernate-core,nkreipke/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,gliljas/nhibernate-core,alobakov/nhibernate-core,RogerKratz/nhibernat... | src/NHibernate.Test/NHSpecificTest/NH315/Fixture.cs | src/NHibernate.Test/NHSpecificTest/NH315/Fixture.cs | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH315
{
/// <summary>
/// Summary description for Fixture.
/// </summary>
[TestFixture]
public class Fixture : BugTestCase
{
public override string BugNumber
{
get { return "NH315"; }
}
[Test]
public void SaveClient()
... | using System;
using NUnit.Framework;
namespace NHibernate.Test.NHSpecificTest.NH315
{
/// <summary>
/// Summary description for Fixture.
/// </summary>
[TestFixture]
[Ignore("Not working, see http://jira.nhibernate.org/browse/NH-315")]
public class Fixture : TestCase
{
protected override string MappingsAssem... | lgpl-2.1 | C# |
d1cca24e99827591745f6b7fabb6cf2b2b23a825 | update to eventnoteslnk | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/EventNotesLnkDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/EventNotesLnkDto.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Dto.Event
{
[DataContract]
public class EventNotesLnkDto
{
[DataMember]
public Guid EventNotesGuid { get; set; }
[DataMember]
public Guid NotesGuid { get;... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace PS.Mothership.Core.Common.Dto.Event
{
[DataContract]
public class EventNotesLnkDto
{
[DataMember]
public Guid EventNotesGuid { get; set; }
[DataMember]
public Guid NotesGuid { get;... | mit | C# |
634864e77ea7f51b06ab587d509dbc5db9a3949f | Update Sqlserver | sunkaixuan/SqlSugar | Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerInsertBuilder.cs | Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerInsertBuilder.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class SqlServerInsertBuilder:InsertBuilder
{
public override string ToSqlString()
{
if (IsNoInsertNull)
{
DbCo... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar
{
public class SqlServerInsertBuilder:InsertBuilder
{
}
}
| apache-2.0 | C# |
1201fe23dffb6c2ac255f088d765e7d49aab5cf8 | Fix WpfWindowStarter crash leading to failed test | timotei/il-repack,gluck/il-repack | ILRepack.IntegrationTests/Scenarios/AnotherClassLibrary/WpfWindowStarter.cs | ILRepack.IntegrationTests/Scenarios/AnotherClassLibrary/WpfWindowStarter.cs | using System.Windows;
using System.Windows.Threading;
namespace AnotherClassLibrary
{
public class WpfWindowStarter
{
public static void ShowWindowWithControl()
{
Window window = new Window();
window.Content = new ADummyUserControl();
window.Show();
... | using System.Windows;
namespace AnotherClassLibrary
{
public class WpfWindowStarter
{
public static void ShowWindowWithControl()
{
Window window = new Window();
window.Content = new ADummyUserControl();
window.Show();
}
}
}
| apache-2.0 | C# |
67a6ee185ca79864a096ef6e87338be0694b166b | fix client side validation, too | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Web/Views/Shared/_ValidationScriptsPartial.cshtml | src/Tugberk.Web/Views/Shared/_ValidationScriptsPartial.cshtml | <script src="~/node_modules/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="~/node_modules/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.js"></script> | <script src="~/node_modules/jquery-validation/dist/jquery.validate.min.js"></script>
<script src="~/node_modules/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js"></script> | agpl-3.0 | C# |
bfc9a3a8d214ae83497b6b422e6e4abde51251e0 | Remove debug line | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/Spacecraft/RCSport.cs | Assets/Plugins/Voxelgon/Spacecraft/RCSport.cs | using UnityEngine;
using System.Collections;
public class RCSport : MonoBehaviour {
public GameObject particleSys;
public Animation animator;
public bool portEnabled;
public ShipManager.PortFunction function;
public ShipManager ship;
public void Start() {
particleSys = gameObject.GetComponentInChildren<Pa... | using UnityEngine;
using System.Collections;
public class RCSport : MonoBehaviour {
public GameObject particleSys;
public Animation animator;
public bool portEnabled;
public ShipManager.PortFunction function;
public ShipManager ship;
public void Start() {
particleSys = gameObject.GetComponentInChildren<Pa... | apache-2.0 | C# |
6ebeea7285d2aa094a4386837276f1aa3aadd3f9 | Update footer | GeorgDangl/WebDocu,GeorgDangl/WebDocu,GeorgDangl/WebDocu | src/Dangl.WebDocumentation/Views/Shared/_FooterPartial.cshtml | src/Dangl.WebDocumentation/Views/Shared/_FooterPartial.cshtml | @using Microsoft.Extensions.Options
@inject IOptions<AppSettings> AppSettings
<footer class="ms-footer">
<div class="container">
<p class="d-block d-sm-none">
<div class="row d-block d-sm-none">
<div class="col-md-6 d-block d-sm-none">
<span class="ms-logo">... | @using Microsoft.Extensions.Options
@inject IOptions<AppSettings> AppSettings
<footer class="ms-footer">
<div class="container">
<p class="d-block d-sm-none">
<div class="row d-block d-sm-none">
<div class="col-md-6 d-block d-sm-none">
<span class="ms-logo">... | mit | C# |
1aa41cb1d82be24b1fb0931273994ceb51360376 | add additional parameters for InputCommandParameter | LagoVista/DeviceAdmin | src/LagoVista.IoT.DeviceAdmin/Models/InputCommandParameter.cs | src/LagoVista.IoT.DeviceAdmin/Models/InputCommandParameter.cs | using LagoVista.Core.Attributes;
using LagoVista.Core.Models;
using LagoVista.IoT.DeviceAdmin.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryReso... | using LagoVista.Core.Attributes;
using LagoVista.Core.Models;
using LagoVista.IoT.DeviceAdmin.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LagoVista.IoT.DeviceAdmin.Models
{
[EntityDescription(DeviceAdminDomain.DeviceAdmin, DeviceLibraryReso... | mit | C# |
2b3c38d623ac8f4eb163bb6516eb64db34c54127 | Fix missed view model reference | aregaz/starcounterdemo,aregaz/starcounterdemo | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | src/RealEstateAgencyFranchise/Controllers/OfficeController.cs | using RealEstateAgencyFranchise.Database;
using RealEstateAgencyFranchise.ViewModels;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
... | using RealEstateAgencyFranchise.Database;
using Starcounter;
using System.Linq;
namespace RealEstateAgencyFranchise.Controllers
{
internal class OfficeController
{
public Json Get(ulong officeObjectNo)
{
return Db.Scope(() =>
{
var offices = Db.SQL<Offic... | mit | C# |
aaf6dbef3ee777c565ade30722d83ccefc1ae67e | Update post request helper | geeklearningio/Testavior | src/GeekLearning.Test.Integration/Helpers/PostRequestHelper.cs | src/GeekLearning.Test.Integration/Helpers/PostRequestHelper.cs | namespace System.Net.Http
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cookies/
... | namespace System.Net.Http
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Reflection;
// http://www.stefanhendriks.com/2016/05/11/integration-testing-your-asp-net-core-app-dealing-with-anti-request-forgery-csrf-formdata-and-cookies/
... | mit | C# |
5a73c2bf2b192291565a2b7cd8699b80096652ff | Update HtmlEntityInlineRenderer.cs | lunet-io/markdig | src/Markdig/Renderers/Html/Inlines/HtmlEntityInlineRenderer.cs | src/Markdig/Renderers/Html/Inlines/HtmlEntityInlineRenderer.cs | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.Html.Inlines
{
/// <summary>
/// A HTML renderer for a <see cref="Html... | // Copyright (c) Alexandre Mutel. All rights reserved.
// This file is licensed under the BSD-Clause 2 license.
// See the license.txt file in the project root for more information.
using Markdig.Syntax.Inlines;
namespace Markdig.Renderers.Html.Inlines
{
/// <summary>
/// A HTML renderer for a <see cref="Html... | bsd-2-clause | C# |
ba74cd0ebe44c75d74ed5505e4a7431944d7add9 | fix for issue #41 | RichiCoder1/omnisharp-roslyn,sriramgd/omnisharp-roslyn,hitesh97/omnisharp-roslyn,ChrisHel/omnisharp-roslyn,sreal/omnisharp-roslyn,khellang/omnisharp-roslyn,fishg/omnisharp-roslyn,haled/omnisharp-roslyn,hitesh97/omnisharp-roslyn,khellang/omnisharp-roslyn,hach-que/omnisharp-roslyn,jtbm37/omnisharp-roslyn,ianbattersby/omn... | src/OmniSharp/Api/Navigation/OmnisharpController.QuickFixes.cs | src/OmniSharp/Api/Navigation/OmnisharpController.QuickFixes.cs | using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
using System.Collections.Generic;
namespace OmniSharp
{
public partial class OmnisharpController
{
private async Task<QuickFix> GetQuickFix(Location location)
{
if (!location.IsInSourc... | using System;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using OmniSharp.Models;
using System.Collections.Generic;
namespace OmniSharp
{
public partial class OmnisharpController
{
private async Task<QuickFix> GetQuickFix(Location location)
{
if (!location.IsInSourc... | mit | C# |
b66087cc0718af4ef2f28e45ddf26657ae9ec04b | Change time type to long | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/GameApi/Messages/ServerTimeMessage.cs | Scripts/GameApi/Messages/ServerTimeMessage.cs | using System.Collections;
using System.Collections.Generic;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct ServerTimeMessage : INetSerializable
{
public long serverUnixTime;
public void Deserialize(NetDataReader reader)
{
serverUnixTime = reader.GetPac... | using System.Collections;
using System.Collections.Generic;
using LiteNetLib.Utils;
namespace LiteNetLibManager
{
public struct ServerTimeMessage : INetSerializable
{
public int serverUnixTime;
public void Deserialize(NetDataReader reader)
{
serverUnixTime = reader.GetPack... | mit | C# |
5bfdb3206882c0bd6af96c076ef54e2fdd305b36 | fix path | jdehlin/Twitta,jdehlin/Twitta | Source/Twitta.Website/Views/Home/Index.cshtml | Source/Twitta.Website/Views/Home/Index.cshtml | @{
Layout = "~/views/shared/_LayoutSite.cshtml";
ViewBag.Title = "Index";
}
| @{
Layout = "_LayoutSite";
ViewBag.Title = "Index";
}
| mit | C# |
f661841ba0adced529faaf0c0e3b0f7505c50f39 | Add documentation for SuppressGCTransition (#27368) | cshung/coreclr,poizan42/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SuppressGCTransitionAttribute.cs | src/System.Private.CoreLib/shared/System/Runtime/InteropServices/SuppressGCTransitionAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
/// <summary>
/// An attribute used to indicate a GC transition s... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime.InteropServices
{
/// <summary>
/// An attribute used to indicate a GC transition s... | mit | C# |
664cdcca390ad5229b42f8643c06e737ef68fe25 | Add methods to return DataTables from Attributes | jnwatts/cs320_project2_group11,jnwatts/cs320_project2_group11 | Model/partentry.cs | Model/partentry.cs | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public string Part_type { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttrib... | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public string Part_type { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttrib... | apache-2.0 | C# |
c18bd5083c9b1d0a88ac27ba9312ff055b9b4417 | Remove deprecated property Discovery.Parameters now that it is no longer used and now that Execution types can better provide parameter sources directly. | fixie/fixie | src/Fixie/Discovery.cs | src/Fixie/Discovery.cs | namespace Fixie
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
///
/// By default,
... | namespace Fixie
{
using Internal;
using Internal.Expressions;
/// <summary>
/// Subclass Discovery to customize test discovery rules.
///
/// The default discovery rules are applied to a test assembly whenever the test
/// assembly includes no such subclass.
///
/// By default,
... | mit | C# |
56459fb6d3db10e3a3e493b5d2046771a150fb96 | Fix `TemplateGame.iOS` failing to build | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework.Templates/templates/template-empty/TemplateGame.iOS/Application.cs | osu.Framework.Templates/templates/template-empty/TemplateGame.iOS/Application.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.iOS;
using UIKit;
namespace TemplateGame.iOS
{
public static class Application
{
public static void Main(string[] args)
{
... | // 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 UIKit;
namespace TemplateGame.iOS
{
public static class Application
{
public static void Main(string[] args)
{
UIApplication.M... | mit | C# |
da157fdc9b835301f103d02a10e706341f9dfd9b | Remove unnecessary using | Tom94/osu-framework,naoey/osu-framework,EVAST9919/osu-framework,default0/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework... | osu.Framework.Testing/GridTestCase.cs | osu.Framework.Testing/GridTestCase.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 OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Framework.Testing
{
/// <summary>
/// An... | // 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 OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using System.Linq;
namespace osu.Framework.Testing
{
/// <... | mit | C# |
3318f4e909bc663c2033dca88a5665635280bcbc | Remove an assert to allow NecessaryCanonicalEETypeNode for UniversalCanon. | tijoytom/corert,krytarowski/corert,yizhang82/corert,botaberg/corert,botaberg/corert,gregkalapos/corert,krytarowski/corert,krytarowski/corert,shrah/corert,yizhang82/corert,gregkalapos/corert,yizhang82/corert,tijoytom/corert,shrah/corert,tijoytom/corert,gregkalapos/corert,shrah/corert,botaberg/corert,botaberg/corert,shra... | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/NecessaryCanonicalEETypeNode.cs | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/NecessaryCanonicalEETypeNode.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Internal.TypeSystem;
namespace ILCompiler.DependencyAnalysis
{
//... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using Internal.TypeSystem;
namespace ILCompiler.DependencyAnalysis
{
//... | mit | C# |
703be2b86283a38efcd89fd96fc3d0bb6331085f | Add missing expansion test for EarlyFraudWarning (#1728) | stripe/stripe-dotnet | src/StripeTests/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarningTest.cs | src/StripeTests/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarningTest.cs | namespace StripeTests.Radar
{
using Newtonsoft.Json;
using Stripe;
using Stripe.Radar;
using Xunit;
public class EarlyFraudWarningTest : BaseStripeTest
{
public EarlyFraudWarningTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
... | namespace StripeTests.Radar
{
using Newtonsoft.Json;
using Stripe;
using Stripe.Radar;
using Xunit;
public class EarlyFraudWarningTest : BaseStripeTest
{
public EarlyFraudWarningTest(StripeMockFixture stripeMockFixture)
: base(stripeMockFixture)
{
}
... | apache-2.0 | C# |
62d8c867d8fce8ca1e03db191b67f93152467639 | Add description on get custom attribute. | AxeDotNet/AxePractice.CSharpViaTest | src/CSharpViaTest.OtherBCLs/HandleReflections/GetCustomAttributeOfEnumValue.cs | src/CSharpViaTest.OtherBCLs/HandleReflections/GetCustomAttributeOfEnumValue.cs | using System;
using System.Linq;
using System.Reflection;
using Xunit;
namespace CSharpViaTest.OtherBCLs.HandleReflections
{
/*
* Description
* ===========
*
* This test will try get metadata information on MemberInfo. The Attribute class
* can be used on different senarios, which is sp... | using System;
using System.Linq;
using System.Reflection;
using Xunit;
namespace CSharpViaTest.OtherBCLs.HandleReflections
{
static class EnumDescriptionExtension
{
public static string GetDescription<T>(this T value)
{
if (!(value is Enum))
{
throw new ... | mit | C# |
902ec4b7b5647cbb55ecfe9df907bb3d4be66838 | test compiles (does not fix test) | peacekeeper/indy-sdk,peacekeeper/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,anastasia-tarasova/indy-sdk,peacekeeper/indy-sdk,peacekeeper... | wrappers/dotnet/indy-sdk-dotnet-test/LedgerTests/PoolRestartRequestTest.cs | wrappers/dotnet/indy-sdk-dotnet-test/LedgerTests/PoolRestartRequestTest.cs | using Hyperledger.Indy.LedgerApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.LedgerTests
{
[TestClass]
class PoolRestartRequestTest : IndyIntegrationTestWithPoolAndSingleWallet
{
[TestMethod]
... | using Hyperledger.Indy.LedgerApi;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json.Linq;
using System.Threading.Tasks;
namespace Hyperledger.Indy.Test.LedgerTests
{
[TestClass]
class PoolRestartRequestTest : IndyIntegrationTestWithPoolAndSingleWallet
{
[TestMethod]
... | apache-2.0 | C# |
a9957c647cd3f4037dc151ae0118297e476c1bac | Fix build failure from the merge to master. | SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Perspex,AvaloniaUI/Avalonia,akrisiun/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,grokys/Perspex,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawso... | src/Avalonia.Base/Utilities/StyleClassParser.cs | src/Avalonia.Base/Utilities/StyleClassParser.cs | using System;
using System.Globalization;
namespace Avalonia.Utilities
{
#if !BUILDTASK
public
#endif
static class StyleClassParser
{
public static ReadOnlySpan<char> ParseStyleClass(this ref CharacterReader r)
{
if (IsValidIdentifierStart(r.PeekOneOrThrow))
{
... | using System;
using System.Globalization;
namespace Avalonia.Utilities
{
#if !BUILDTASK
public
#endif
static class StyleClassParser
{
public static ReadOnlySpan<char> ParseStyleClass(this ref CharacterReader r)
{
if (IsValidIdentifierStart(r.Peek))
{
... | mit | C# |
05e0b8f35cb83c167e1431a81590476302cf31ea | update AuthorizeAccountV1 to base64 encode id/key | NebulousConcept/b2-csharp-client | b2-csharp-client/B2.Client/Apis/AuthorizeAccountV1/AuthorizeAccountV1Request.cs | b2-csharp-client/B2.Client/Apis/AuthorizeAccountV1/AuthorizeAccountV1Request.cs | using System;
using System.Text;
using B2.Client.Rest.Request;
using B2.Client.Rest.Request.Param;
namespace B2.Client.Apis.AuthorizeAccountV1
{
/// <summary>
/// Request object for the 'b2_authorize_account' version 1 API.
/// </summary>
public class AuthorizeAccountV1Request : MultipartPostRestReq... | using B2.Client.Rest.Request;
using B2.Client.Rest.Request.Param;
namespace B2.Client.Apis.AuthorizeAccountV1
{
/// <summary>
/// Request object for the 'b2_authorize_account' version 1 API.
/// </summary>
public class AuthorizeAccountV1Request : MultipartPostRestRequest
{
/// <summary>
... | mit | C# |
bc56d4fd341abb70847e22aa5ad19a6bd978f6d2 | Mark CharEnumerator as [Serializable] (dotnet/coreclr#11124) | wtgodbe/corefx,ericstj/corefx,ViktorHofer/corefx,mmitche/corefx,ravimeda/corefx,ViktorHofer/corefx,ravimeda/corefx,ericstj/corefx,mmitche/corefx,BrennanConroy/corefx,Ermiar/corefx,zhenlan/corefx,ericstj/corefx,Jiayili1/corefx,ptoonen/corefx,zhenlan/corefx,ravimeda/corefx,wtgodbe/corefx,mmitche/corefx,ravimeda/corefx,er... | src/Common/src/CoreLib/System/CharEnumerator.cs | src/Common/src/CoreLib/System/CharEnumerator.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.
/*============================================================
**
**
**
** Purpose: Enumerates the characters on a s... | // 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.
/*============================================================
**
**
**
** Purpose: Enumerates the characters on a s... | mit | C# |
e7362f20a5a5522ebbef36559594e432e87ee234 | Update BaseShapeIconConverter.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Converters/BaseShapeIconConverter.cs | src/Core2D/Converters/BaseShapeIconConverter.cs | using System;
using System.Globalization;
using Avalonia;
using Avalonia.Data.Converters;
using Core2D.Shapes;
namespace Core2D.Converters
{
public class BaseShapeIconConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | using System;
using System.Globalization;
using Avalonia;
using Avalonia.Data.Converters;
using Core2D.Shapes;
namespace Core2D.Converters
{
public class BaseShapeIconConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... | mit | C# |
e9b2b3011cccc8df9f356ae6d9737c0dce80fec4 | Make LoggerFactory static. | z000z/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,z000z/couchbase-lite-net,mpapp/couchbase-lite-net,mpapp/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,couchbase/couchbase-lite-net,JiboStore/couchbase-lite-net,brettharrisonzya/couchbase-lite-net,JiboStore/couchbase-lite-net | src/Couchbase.Lite.Shared/Util/LoggerFactory.cs | src/Couchbase.Lite.Shared/Util/LoggerFactory.cs | //
// LoggerFactory.cs
//
// Author:
// Zachary Gramana <zack@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc
// Copyright (c) 2014 .NET Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to dea... | //
// LoggerFactory.cs
//
// Author:
// Zachary Gramana <zack@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc
// Copyright (c) 2014 .NET Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to dea... | apache-2.0 | C# |
553e08e721292dbe21a93fc6f32980ed3a15b3fe | Update assembly version | Ackara/Daterpillar | src/Daterpillar.Core/Properties/AssemblyInfo.cs | src/Daterpillar.Core/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an ... | using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an ... | mit | C# |
a3712439f1902f3709ef01296f49c800153df831 | Use RuntimeInfo.IsLinux to check for Linux | EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,Tom94/osu-framework,peppy/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,Nabi... | osu.Framework.Desktop/Platform/Architecture.cs | osu.Framework.Desktop/Platform/Architecture.cs | // Copyright (c) 2007-2016 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.Desktop.Platform
{
internal static class Architecture
{
... | // Copyright (c) 2007-2016 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.Desktop.Platform
{
internal static class Architecture
{
... | mit | C# |
5b8e35c98cec02b359eb2cf598713638538d349a | Make settings dropdown abstract | peppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Overlays/Settings/SettingsDropdown.cs | osu.Game/Overlays/Settings/SettingsDropdown.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.G... | mit | C# |
ac0d67f8e4ac33a1e68a4b58db753a44ce8c659e | fix test | SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers | src/SFA.DAS.EmployerUsers.Web.UnitTests/AuthenticationTests/UserServiceTests/UserServiceTestBase.cs | src/SFA.DAS.EmployerUsers.Web.UnitTests/AuthenticationTests/UserServiceTests/UserServiceTestBase.cs | using System.Collections.Generic;
using IdentityServer3.Core.Services;
using MediatR;
using Microsoft.Owin;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerUsers.Web.Authentication;
namespace SFA.DAS.EmployerUsers.Web.UnitTests.AuthenticationTests.UserServiceTests
{
public abstract class UserSer... | using System.Collections.Generic;
using IdentityServer3.Core.Services;
using MediatR;
using Microsoft.Owin;
using Moq;
using NUnit.Framework;
using SFA.DAS.EmployerUsers.Web.Authentication;
namespace SFA.DAS.EmployerUsers.Web.UnitTests.AuthenticationTests.UserServiceTests
{
public abstract class UserSer... | mit | C# |
098000573ab6e9baf31164d1e30c77956aacda12 | Change property name | dotnet-architecture/eShopOnContainers,skynode/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,TypeW/eShopOnContainers,albertodall/e... | src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStockNotConfirmedIntegrationEvent.cs | src/Services/Catalog/Catalog.API/IntegrationEvents/Events/OrderStockNotConfirmedIntegrationEvent.cs | namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events
{
using BuildingBlocks.EventBus.Events;
using System.Collections.Generic;
public class OrderStockNotConfirmedIntegrationEvent : IntegrationEvent
{
public int OrderId { get; }
public List<ConfirmedOrder... | namespace Microsoft.eShopOnContainers.Services.Catalog.API.IntegrationEvents.Events
{
using BuildingBlocks.EventBus.Events;
using System.Collections.Generic;
public class OrderStockNotConfirmedIntegrationEvent : IntegrationEvent
{
public int OrderId { get; }
public IEnumerable<Confirm... | mit | C# |
9ccdb2acc9e79ea3366fdd34fd97397fc353757e | Rename tests to match convention | 7digital/SevenDigital.Api.Schema,scooper91/SevenDigital.Api.Schema | src/Schema.Unit.Tests/Packages/DownloadTests.cs | src/Schema.Unit.Tests/Packages/DownloadTests.cs | using System.Collections.Generic;
using NUnit.Framework;
using SevenDigital.Api.Schema.Packages;
namespace SevenDigital.Api.Schema.Unit.Tests.Packages
{
[TestFixture]
public class PackagesTests
{
[Test]
public void Should_have_no_primary_package_when_there_are_no_packages()
{
var download = ne... | using System.Collections.Generic;
using NUnit.Framework;
using SevenDigital.Api.Schema.Packages;
namespace SevenDigital.Api.Schema.Unit.Tests.Packages
{
[TestFixture]
public class PackagesTests
{
[Test]
public void ShouldHaveNoPrimaryPackageWhenThereAreNoPackages()
{
var download = new Downloa... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.