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 |
|---|---|---|---|---|---|---|---|---|
4531e79db69e1a348a2dacb23e58e91800aa0661 | Add exception handling. | Pliner/EasyGelf | Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs | Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs | using System;
using System.Net.Sockets;
using EasyGelf.Core.Encoders;
namespace EasyGelf.Core.Transports.Udp
{
public sealed class UdpTransport : ITransport
{
private readonly UdpTransportConfiguration configuration;
private readonly ITransportEncoder encoder;
private readonly IGelfMes... | using System;
using System.Net.Sockets;
using EasyGelf.Core.Encoders;
namespace EasyGelf.Core.Transports.Udp
{
public sealed class UdpTransport : ITransport, IDisposable
{
private readonly UdpTransportConfiguration configuration;
private readonly ITransportEncoder encoder;
private read... | mit | C# |
75687902e82e56c9029a3a208f22995cbe58c5de | Add original constructor signature as there is Inception code which looks for it | east-sussex-county-council/Escc.Umbraco.Inception | Umbraco.Inception/Attributes/UmbracoTabAttribute.cs | Umbraco.Inception/Attributes/UmbracoTabAttribute.cs | using System;
namespace Umbraco.Inception.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class UmbracoTabAttribute : Attribute
{
public string Name { get; set; }
public int SortOrder { get; set; }
public UmbracoTabAttribute(string name)
{
Name ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Umbraco.Inception.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class UmbracoTabAttribute : Attribute
{
public string Name { get; set; }
public in... | mit | C# |
81be2a231629c3e7af8f333bdfa89268eaeb3b59 | Test commit | chefarbeiter/QuickIEnumerableToExcelExporter | src/QuickIEnumerableToExcelExporter/Extension.cs | src/QuickIEnumerableToExcelExporter/Extension.cs | using System.Collections.Generic;
namespace QuickIEnumerableToExcelExporter
{
public static class Extension
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="enumerable"></param>
/// <param name="target"></param>
pu... | using System.Collections.Generic;
namespace QuickIEnumerableToExcelExporter
{
public static class Extension
{
/// <summary>
///
/// </summary>
/// <typeparam name="T"></typeparam>
/// <param name="enumerable"></param>
/// <param name="target"></param>
pu... | mit | C# |
b7c0280cc90debe55f0b79f03ca34bf7b73e4dcf | fix interface for last commit | collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists | src/FilterLists.Data/Models/Contracts/IFilterList.cs | src/FilterLists.Data/Models/Contracts/IFilterList.cs | using System;
namespace FilterLists.Data.Models.Contracts
{
public interface IFilterList
{
string Author { get; set; }
string Description { get; set; }
string DescriptionSourceUrl { get; set; }
string DonateUrl { get; set; }
string Email { get; set; }
string For... | using System;
namespace FilterLists.Data.Models.Contracts
{
public interface IFilterList
{
string Author { get; set; }
string Description { get; set; }
string DescriptionSourceUrl { get; set; }
string DonateUrl { get; set; }
string Email { get; set; }
string For... | mit | C# |
9a3ddfd2773d7bdac0dc35364dfd3029e024aff0 | enable MetadataFacts for CSX | OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn | tests/OmniSharp.Roslyn.CSharp.Tests/MetadataFacts.cs | tests/OmniSharp.Roslyn.CSharp.Tests/MetadataFacts.cs | using System.Threading.Tasks;
using OmniSharp.Models.Metadata;
using OmniSharp.Roslyn.CSharp.Services.Navigation;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class MetadataFacts : AbstractSingleRequestHandlerTestFixture<MetadataService>
{
p... | using System.Threading.Tasks;
using OmniSharp.Models.Metadata;
using OmniSharp.Roslyn.CSharp.Services.Navigation;
using TestUtility;
using Xunit;
using Xunit.Abstractions;
namespace OmniSharp.Roslyn.CSharp.Tests
{
public class MetadataFacts : AbstractSingleRequestHandlerTestFixture<MetadataService>
{
p... | mit | C# |
ff50c44609b0d0938683e1e2f90ac86946ccf0c1 | change parameters name of method | ivayloivanof/Libbon_Tank_Game | TankGame/Wall.cs | TankGame/Wall.cs | namespace TankGame
{
using System.Text;
public class Wall
{
private int vertical;
private int horizontal;
public Wall(int horizontal, int vertical)
{
this.Horizontal = horizontal;
this.Vertical = vertical;
}
// Property for ... | namespace TankGame
{
using System.Text;
public class Wall
{
private int vertical;
private int horizontal;
public Wall(int h, int v)
{
this.Horizontal = h;
this.Vertical = v;
}
// Property for vertical position
public... | cc0-1.0 | C# |
dc31524912c1162612ae6fcb9325bd98368ec0c2 | Revert "Revert "Added "final door count" comment at return value."" | n1ghtmare/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementations,kennyledet/Algorithm-Implementations,n1ghtmare/Algorithm-Implementations,kennyledet/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementations,pravsingh/Algorithm-Implementa... | 100_Doors_Problem/C#/Davipb/HundredDoors.cs | 100_Doors_Problem/C#/Davipb/HundredDoors.cs | using System.Linq;
namespace HundredDoors
{
public static class HundredDoors
{
/// <summary>
/// Solves the 100 Doors problem
/// </summary>
/// <returns>An array with 101 values, each representing a door (except 0). True = open</returns>
public static bool[] Solve()
{
// Create our array with 101 va... | using System.Linq;
namespace HundredDoors
{
public static class HundredDoors
{
/// <summary>
/// Solves the 100 Doors problem
/// </summary>
/// <returns>An array with 101 values, each representing a door (except 0). True = open</returns>
public static bool[] Solve()
{
// Create our array with 101 va... | mit | C# |
df9e0dbd1339636969bc572a8aeb6880bddf164e | Fix log command and return log lines | MihaMarkic/Cake.Docker | src/Cake.Docker/Container/Logs/Docker.Aliases.Logs.cs | src/Cake.Docker/Container/Logs/Docker.Aliases.Logs.cs | using Cake.Core;
using Cake.Core.Annotations;
using System;
using System.Linq;
using System.Collections.Generic;
namespace Cake.Docker
{
partial class DockerAliases
{
/// <summary>
/// Logs <paramref name="container"/> using default settings.
/// </summary>
/// <param name="con... | using Cake.Core;
using Cake.Core.Annotations;
using System;
namespace Cake.Docker
{
partial class DockerAliases
{
/// <summary>
/// Logs <paramref name="container"/> using default settings.
/// </summary>
/// <param name="context">The context.</param>
/// <param name="c... | mit | C# |
7410c156ec5609be94813db6a4a4f4f73866041a | Change equality comparison code | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/Mac.cs | WalletWasabi/Crypto/Mac.cs | using System;
using System.Text;
using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto
{
public class MAC : IEquatable<MAC>
{
private MAC(Scalar t, GroupElement v)
{
T = CryptoGuard.NotZero(nameof(t), t);
V = CryptoGuard.NotNullOrInfinity(name... | using System;
using System.Text;
using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto
{
public class MAC : IEquatable<MAC>
{
private MAC(Scalar t, GroupElement v)
{
T = CryptoGuard.NotZero(nameof(t), t);
V = CryptoGuard.NotNullOrInfinity(name... | mit | C# |
739c118cef2350e0395a58b04aa385c2a20f57af | Bump version. | JohanLarsson/Gu.Wpf.DataGrid2D,mennowo/Gu.Wpf.DataGrid2D | Gu.Wpf.DataGrid2D/Properties/AssemblyInfo.cs | Gu.Wpf.DataGrid2D/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.DataGrid2D")]
[assembly: AssemblyDescription("Attached properties for DataGrid to enable binding to 2D sources.")]
[assembly: Assem... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
[assembly: AssemblyTitle("Gu.Wpf.DataGrid2D")]
[assembly: AssemblyDescription("Attached properties for DataGrid to enable binding to 2D sources.")]
[assembly: Assem... | mit | C# |
cd71a4dd743bc35f42cded119f7a2263afb07eb2 | remove --hft from instructions docs | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/Scripts/Editor/HFTInstructionsEditor.cs | Assets/HappyFunTimes/Scripts/Editor/HFTInstructionsEditor.cs | using UnityEditor;
using UnityEngine;
using System.Collections;
[CustomEditor(typeof(HappyFunTimes.HFTInstructions))]
[CanEditMultipleObjects]
public class HFTInstructionsEditor : Editor {
public override void OnInspectorGUI() {
string help =
@"You can set these from the command line with
--instructions=... | using UnityEditor;
using UnityEngine;
using System.Collections;
[CustomEditor(typeof(HappyFunTimes.HFTInstructions))]
[CanEditMultipleObjects]
public class HFTInstructionsEditor : Editor {
public override void OnInspectorGUI() {
string help =
@"You can set these from the command line with
--hft-instructi... | bsd-3-clause | C# |
a0eb631d488448480fb75fcc9b6edb0242637320 | Update missed file | abdulapopoola/matasanoChallenges,abdulapopoola/matasanoChallenges,abdulapopoola/matasanoChallenges | Matasano/Matasano/Properties/AssemblyInfo.cs | Matasano/Matasano/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("Ma... | 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("Ma... | mit | C# |
34f59cde9b07e142596eb255173260a243694e44 | Make DropdDownNavigationWorks more reliable and use new test methods. | larshg/Bonobo-Git-Server,crowar/Bonobo-Git-Server,gencer/Bonobo-Git-Server,padremortius/Bonobo-Git-Server,RedX2501/Bonobo-Git-Server,willdean/Bonobo-Git-Server,gencer/Bonobo-Git-Server,crowar/Bonobo-Git-Server,anyeloamt1/Bonobo-Git-Server,larshg/Bonobo-Git-Server,braegelno5/Bonobo-Git-Server,larshg/Bonobo-Git-Server,ge... | Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs | Bonobo.Git.Server.Test/IntegrationTests/SharedLayoutTests.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bonobo.Git.Server.Controllers;
using Bonobo.Git.Server.Test.Integration.Web;
using Bonobo.Git.Server.Test.IntegrationTests.Helpers;
using SpecsFor.Mvc;
namespace Bonobo.Git.Server.Test.IntegrationTests
{
using OpenQA.Selenium.Support.UI;
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bonobo.Git.Server.Controllers;
using Bonobo.Git.Server.Test.Integration.Web;
using Bonobo.Git.Server.Test.IntegrationTests.Helpers;
using SpecsFor.Mvc;
namespace Bonobo.Git.Server.Test.IntegrationTests
{
using OpenQA.Selenium.Support.UI;
... | mit | C# |
50c1838d31ad748b700403bfd9e3fb56e5a25716 | Use getter setter | DerTieran/MyQuizAdmin | MyQuizAdmin/MyQuizAdmin/Models/GroupModel.cs | MyQuizAdmin/MyQuizAdmin/Models/GroupModel.cs | namespace MyQuizAdmin.Models
{
public class Group
{
public int id { get; set; }
public string title { get; set; }
}
} | namespace MyQuizAdmin.Models
{
public class Group
{
public int id;
public string title;
}
} | mit | C# |
3727696c0114199ff688c0faf2f347d83c605da3 | Fix vow of silence popup spam (#8974) | 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.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs | Content.Server/Chat/TypingIndicator/TypingIndicatorSystem.cs | using Content.Shared.ActionBlocker;
using Content.Shared.Chat.TypingIndicator;
using Robust.Server.GameObjects;
namespace Content.Server.Chat.TypingIndicator;
// Server-side typing system
// It receives networked typing events from clients
// And sync typing indicator using appearance component
public sealed class Ty... | using Content.Shared.ActionBlocker;
using Content.Shared.Chat.TypingIndicator;
using Robust.Server.GameObjects;
namespace Content.Server.Chat.TypingIndicator;
// Server-side typing system
// It receives networked typing events from clients
// And sync typing indicator using appearance component
public sealed class T... | mit | C# |
220f890eed25833c695059f9dc96a814ac9e09f5 | Rework exception asserts to improve failure messages. | sharpjs/PSql,sharpjs/PSql | PSql.Tests/Tests.Support/StringExtensions.cs | PSql.Tests/Tests.Support/StringExtensions.cs | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
namespace PSql.Tests
{
using static ScriptExecutor;
internal static class StringExtensions
{
internal static void
ShouldOutput(
this string script,
params object[... | using System;
using System.Linq;
using System.Linq.Expressions;
using FluentAssertions;
namespace PSql.Tests
{
using static ScriptExecutor;
internal static class StringExtensions
{
internal static void
ShouldOutput(
this string script,
params object[... | isc | C# |
117e0790111c0b250c46cba360270a45552cf80f | Fix build when targeting .NET Framework 3.5 as Func only supports covariance on .NET Framework 4.0 and higher. | GenericHero/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET,Bloomcredit/SSH.NET | Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs | Renci.SshClient/Renci.SshNet.Tests/Classes/CipherInfoTest.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Holds information about key size and cipher to use
/// </summary>
[TestClass]
public clas... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Renci.SshNet.Security.Cryptography;
using Renci.SshNet.Tests.Common;
using System;
namespace Renci.SshNet.Tests.Classes
{
/// <summary>
/// Holds information about key size and cipher to use
/// </summary>
[TestClass]
public clas... | mit | C# |
cfc1fcafdf2cf758705aa5e9051507d475cb61ab | Remove useless region. | ketiko/rhino-esb,hibernating-rhinos/rhino-esb | Rhino.ServiceBus/Msmq/QueueCreationModule.cs | Rhino.ServiceBus/Msmq/QueueCreationModule.cs | using System;
using Rhino.ServiceBus.Exceptions;
namespace Rhino.ServiceBus.Msmq
{
public class QueueCreationModule : IServiceBusAware
{
private readonly IQueueStrategy queueStrategy;
public QueueCreationModule(IQueueStrategy queueStrategy)
{
this.queueStrategy = queueStrategy;
}
publ... | using System;
using Rhino.ServiceBus.Exceptions;
namespace Rhino.ServiceBus.Msmq
{
public class QueueCreationModule : IServiceBusAware
{
private readonly IQueueStrategy queueStrategy;
public QueueCreationModule(IQueueStrategy queueStrategy)
{
this.queueStrategy = queueStrategy;
}
#region... | bsd-3-clause | C# |
3631b183c1ee8cf7971664656bafa26bb991bacc | Correct RenderSprite terminology. | LipkeGu/OpenRPG | Traits/RenderSprite.cs | Traits/RenderSprite.cs | using System;
using Microsoft.Xna.Framework;
using OpenRPG.Graphics;
namespace OpenRPG.Traits
{
public class RenderSpriteInfo : ITraitInfo
{
public readonly string Animation = null;
public object CreateTrait(Actor actor) { return new RenderSprite(actor, this); }
}
public class RenderSprite : ITrait, ITickRe... | using System;
using Microsoft.Xna.Framework;
using OpenRPG.Graphics;
namespace OpenRPG.Traits
{
public class RenderSpriteInfo : ITraitInfo
{
public readonly string Image = null;
public object CreateTrait(Actor actor) { return new RenderSprite(actor, this); }
}
public class RenderSprite : ITrait, ITickRender... | isc | C# |
901c93ef0c226baba6a7438d05519532b15424ea | Fix a warning about a cref in an XML doc comment. | KamalRathnayake/roslyn,dotnet/roslyn,aelij/roslyn,nguerrera/roslyn,russpowers/roslyn,danielcweber/roslyn,paladique/roslyn,panopticoncentral/roslyn,marksantos/roslyn,AmadeusW/roslyn,khellang/roslyn,ahmedshuhel/roslyn,weltkante/roslyn,AlekseyTs/roslyn,BugraC/roslyn,AlexisArce/roslyn,mavasani/roslyn,stebet/roslyn,akrisiun... | Src/Compilers/Core/Source/Diagnostic/IMessageSerializable.cs | Src/Compilers/Core/Source/Diagnostic/IMessageSerializable.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.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Indicates that the implementing type can be serialized via <see cref="obj... | // 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.
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// Indicates that the implementing type can be serialized via <see cref="ToS... | mit | C# |
eaf1e45cd3acaa8bf3d07a5461198ede2f21e598 | Update version due to previous bugfix | Baltasarq/Colorado | Core/AppInfo.cs | Core/AppInfo.cs |
namespace Colorado.Core {
public class AppInfo {
public const string Name = "Colorado";
public const string Version = "v1.0.2 20150831";
public const string Author = "baltasarq@gmail.com";
public const string Website = "http://baltasarq.info/dev/";
public const string Comments = "A simple tool to view... |
namespace Colorado.Core {
public class AppInfo {
public const string Name = "Colorado";
public const string Version = "v1.0.1 20150831";
public const string Author = "baltasarq@gmail.com";
public const string Website = "http://baltasarq.info/dev/";
public const string Comments = "A simple tool to view... | mit | C# |
dd2bbce3f9c42935b6e3d10faa88b62dd6fc46b9 | Update MobSpawnControlScript.cs | fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation | UnityProject/Assets/Scripts/Gateway/MobSpawnControlScript.cs | UnityProject/Assets/Scripts/Gateway/MobSpawnControlScript.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class MobSpawnControlScript : NetworkBehaviour
{
public List<GameObject> MobSpawners;
public bool DetectViaMatrix;
private bool SpawnedMobs;
private float timeElapsedServer = 0;
private const float PlayerCheck... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
public class MobSpawnControlScript : NetworkBehaviour
{
public List<GameObject> MobSpawners;
public bool DetectViaMatrix;
private bool SpawnedMobs;
private float timeElapsedServer = 0;
[Server]
public void SpawnMobs... | agpl-3.0 | C# |
15ed762e91f0b69dc6557914ea48572869938e49 | Increase Version Number | BYteWareGmbH/XAF.ElasticSearch | BYteWare.XAF.ElasticSearch/Properties/AssemblyInfo.cs | BYteWare.XAF.ElasticSearch/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
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 a... | using System;
using System.Reflection;
using System.Resources;
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 a... | mpl-2.0 | C# |
f7581e42f3688388a77f0b5cad9ef9bbe8a6f4dc | Fix duplicated logs | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode | tests/AdventOfCode.Tests/Api/HttpLambdaTestServer.cs | tests/AdventOfCode.Tests/Api/HttpLambdaTestServer.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.
using MartinCostello.Logging.XUnit;
using MartinCostello.Testing.AwsLambdaTestServer;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet... | // 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.
using MartinCostello.Logging.XUnit;
using MartinCostello.Testing.AwsLambdaTestServer;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet... | apache-2.0 | C# |
31cfce5d3dca5071208367f9954fbf7ebe278dc9 | Update HeaderUtilities.cs | hfurubotten/Heine.Mvc.ActionFilters | Heine.Mvc.ActionFilters/Extensions/HeaderUtilities.cs | Heine.Mvc.ActionFilters/Extensions/HeaderUtilities.cs | using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Text;
namespace Heine.Mvc.ActionFilters.Extensions
{
public static class HeaderUtilities
{
public static ICollection<string> ObfuscatedHeaders { get; set; } = new List<string>
{
"Authorization"
};... | using System.Collections.Generic;
using System.Net.Http.Headers;
using System.Text;
namespace Heine.Mvc.ActionFilters.Extensions
{
public static class HeaderUtilities
{
public static ICollection<string> ObfuscatedHeaders { get; set; } = new List<string>
{
"Authorization"
};... | mit | C# |
c72922d57d0fa2f21d9fa477849ad34bd541bae9 | Update AgreementTemplateExtensions.cs | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts.Web/Extensions/AgreementTemplateExtensions.cs | src/SFA.DAS.EmployerAccounts.Web/Extensions/AgreementTemplateExtensions.cs | using SFA.DAS.EmployerAccounts.Web.ViewModels;
using System.Collections.Generic;
using System.Linq;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class AgreementTemplateExtensions
{
public static readonly int[] VariationsOfv3Agreement = {3, 4, 5};
public static string Inse... | using SFA.DAS.EmployerAccounts.Web.ViewModels;
using System.Collections.Generic;
namespace SFA.DAS.EmployerAccounts.Web.Extensions
{
public static class AgreementTemplateExtensions
{
public const int AgreementVersionV3 = 3;
public const int AgreementVersionV4 = 4;
public static string... | mit | C# |
6ee7ae781f371420ec16fd62c971f22af3d53d7a | Use default credentials when getting feed items. | indsoft/NuGet2,rikoe/nuget,oliver-feng/nuget,chocolatey/nuget-chocolatey,mrward/nuget,oliver-feng/nuget,mrward/NuGet.V2,xoofx/NuGet,OneGet/nuget,rikoe/nuget,GearedToWar/NuGet2,pratikkagda/nuget,ctaggart/nuget,jholovacs/NuGet,xoofx/NuGet,zskullz/nuget,GearedToWar/NuGet2,jholovacs/NuGet,alluran/node.net,atheken/nuget,kum... | NuPack.Core/Repositories/AtomFeedPackageRepository.cs | NuPack.Core/Repositories/AtomFeedPackageRepository.cs | namespace NuPack {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel.Syndication;
using System.Xml;
using NuPack.Resources;
public class AtomFeedPackageRepository : PackageRepositoryBase {
private Uri _feedU... | namespace NuPack {
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.ServiceModel.Syndication;
using System.Xml;
using NuPack.Resources;
public class AtomFeedPackageRepository : PackageRepositoryBase {
private Uri _feedU... | apache-2.0 | C# |
5e781873f239f5351324f95971586d83154b9d3c | remove required from SoundField | IUMDPI/IUMediaHelperApps | Packager/Models/PodMetadataModels/AudioPodMetadata.cs | Packager/Models/PodMetadataModels/AudioPodMetadata.cs | using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Packager.Factories;
namespace Packager.Models.PodMetadataModels
{
public class AudioPodMetadata : AbstractPodMetadata
{
public string Brand { get; set; }
public string DirectionsRecorded { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Packager.Exceptions;
using Packager.Extensions;
using Packager.Factories;
using Packager.Validators.Attributes;
namespace Packager.Models.PodMetadataModels
{
public class AudioPodMetadata : AbstractPodMetadata
{
... | apache-2.0 | C# |
60ea1705d7d8e31eb1292e5bf785f818b9cbd0a2 | Add printDiff in DisassemblyDiagnoserAttribute (#949) | alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Ky7m/BenchmarkDotNet,alinasmirno... | src/BenchmarkDotNet/Attributes/DisassemblyDiagnoserAttribute.cs | src/BenchmarkDotNet/Attributes/DisassemblyDiagnoserAttribute.cs | using System;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
namespace BenchmarkDotNet.Attributes
{
public class DisassemblyDiagnoserAttribute : Attribute, IConfigSource
{
/// <param name="printIL">IL will be printed. False by default.</param>
/// <param name="printAsm">ASM wi... | using System;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
namespace BenchmarkDotNet.Attributes
{
public class DisassemblyDiagnoserAttribute : Attribute, IConfigSource
{
/// <param name="printIL">IL will be printed. False by default.</param>
/// <param name="printAsm">ASM wi... | mit | C# |
91ff5bb1376ee112513b63bb6a374b992cc088f1 | Change get method and add the new getter | generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs | src/Smooth.IoC.Dapper.Repository.UnitOfWork/Repo/IRepository.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public interface IRepository<TEntity, TPk>
where TEntity : class, IEntity<TPk>
{
TEntity GetKey(TPk key, ISession session... | using System.Collections.Generic;
using System.Threading.Tasks;
using Smooth.IoC.Dapper.Repository.UnitOfWork.Data;
namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Repo
{
public interface IRepository<TEntity, TPk>
where TEntity : class, IEntity<TPk>
{
TEntity Get(TPk key, ISession session = ... | mit | C# |
86a190bce08547d9aabe111d7425929595806053 | Update Shipping.cs | pagseguro/dotnet | source/Uol.PagSeguro/Domain/Shipping.cs | source/Uol.PagSeguro/Domain/Shipping.cs | // Copyright [2011] [PagSeguro Internet Ltda.]
//
// 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 app... | // Copyright [2011] [PagSeguro Internet Ltda.]
//
// 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 app... | apache-2.0 | C# |
927f066cd7012abcaf56e0b7092dcd90fd545d7c | remove links for contact and about | jittuu/AzureLog,jittuu/AzureLog,jittuu/AzureLog | AzureLog.Web/Views/Shared/_Layout.cshtml | AzureLog.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - AzureLog</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-default navbar-... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - AzureLog</title>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="navbar navbar-default navbar-... | mit | C# |
de42f3b31f19249802c594adf0f96b21b79f73ed | Fix issue #351. Resize Window event was not triggered when GameWindow.AllowUserResizing=true | tomba/Toolkit,sharpdx/Toolkit,sharpdx/Toolkit | Source/Toolkit/SharpDX.Toolkit.Game/GameWindowForm.cs | Source/Toolkit/SharpDX.Toolkit.Game/GameWindowForm.cs | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// 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, modi... | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// 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, modi... | mit | C# |
86632a9d8ea57714dd1198982a0d078c1577a756 | Fix typo. | modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS | DanTup.DartAnalysis/Events/AnalysisErrorsEvent.cs | DanTup.DartAnalysis/Events/AnalysisErrorsEvent.cs | using System;
using System.Linq;
namespace DanTup.DartAnalysis
{
#region JSON deserialisation objects
class AnalysisErrorsEventJson
{
public string file = null;
public AnalysisErrorJson[] errors = null;
}
class AnalysisErrorJson
{
public string errorCode = null;
public string severity = null;
public... | using System;
using System.Linq;
namespace DanTup.DartAnalysis
{
#region JSON deserialisation objects
class AnalysisErrorsEventJson
{
public string file = null;
public AnalysisErrorJson[] errors = null;
}
class AnalysisErrorJson
{
public string errorCode = null;
public string severity = null;
public... | mit | C# |
ccf599e545f2c9476a229c318ecefcf0e6b49895 | Use enum for magic numbers in the BCRYPT_RSAKEY_BLOB struct | jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/BCrypt/BCrypt+BCRYPT_RSAKEY_BLOB.cs | src/BCrypt/BCrypt+BCRYPT_RSAKEY_BLOB.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
{
/// <content>
/// Contains the <see cref="BCRYPT_RSAKEY_BLOB"/> ne... | // 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
{
/// <content>
/// Contains the <see cref="BCRYPT_RSAKEY_BLOB"/> ne... | mit | C# |
869ef40b2c95b48707abec944497feb81d57bdd9 | Remove use of <Nodes>. | JornWildt/Grapholizer,JornWildt/Grapholizer | Grapholizer.Core/Configuration/GraphDefinition.cs | Grapholizer.Core/Configuration/GraphDefinition.cs | using System.Xml.Serialization;
namespace Grapholizer.Core.Configuration
{
[XmlRoot("Graph", Namespace = Constants.Namespace)]
public class GraphDefinition
{
[XmlAttribute]
public string Title { get; set; }
[XmlElement("Node")]
public NodeDefinition[] Nodes { get; set; }
}
}
| using System.Xml.Serialization;
namespace Grapholizer.Core.Configuration
{
[XmlRoot("Graph", Namespace = Constants.Namespace)]
public class GraphDefinition
{
[XmlAttribute]
public string Title { get; set; }
[XmlArray("Nodes")]
[XmlArrayItem("Node")]
public NodeDefinition[] Nod... | mit | C# |
ee5c8e6c63551bf44dd87434834717a7b35897bf | 重构rpc session | qifun/CSharpBcpRpc | RpcException.cs | RpcException.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rpc
{
public abstract class RpcException : Exception
{
public RpcException(string message, Exception cause) : base(message, cause)
{
}
}
public class I... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rpc
{
public abstract class RpcException : Exception
{
public RpcException(string message, Exception cause)
{
this.message = message;
this.cause... | apache-2.0 | C# |
cf2bd40567bce9bd301e5e4b6607a0a8e3f21274 | fix DataReaderExtensions (not working with sqllite datatypes. these changes should better support all databases though. | AlonAmsalem/quartznet,sean-gilliam/quartznet,quartznet/quartznet,huoxudong125/quartznet,sean-gilliam/quartznet,xlgwr/quartznet,sean-gilliam/quartznet,sean-gilliam/quartznet,zhangjunhao/quartznet,RafalSladek/quartznet,andyshao/quartznet,AndreGleichner/quartznet,quartznet/quartznet,quartznet/quartznet,quartznet/quartznet... | src/Quartz/Util/DataReaderExtensions.cs | src/Quartz/Util/DataReaderExtensions.cs | using System;
using System.Data;
using System.Globalization;
namespace Quartz.Util
{
public static class DataReaderExtensions
{
public static string GetString(this IDataReader reader, string columnName)
{
object columnValue = reader[columnName];
if (columnValue == DBNull... | using System;
using System.Data;
using System.Globalization;
namespace Quartz.Util
{
public static class DataReaderExtensions
{
public static string GetString(this IDataReader reader, string columnName)
{
object columnValue = reader[columnName];
if (columnValue == DBNull... | apache-2.0 | C# |
0051c89e79815da1eafeb913d7deb3fb10e1bd42 | Move null check | rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSGL.Vulkan/ShaderModule.cs | CSGL.Vulkan/ShaderModule.cs | using System;
using System.Collections.Generic;
using System.IO;
using CSGL.Vulkan.Unmanaged;
namespace CSGL.Vulkan {
public class ShaderModuleCreateInfo {
public IList<byte> data;
}
public class ShaderModule : IDisposable, INative<VkShaderModule> {
VkShaderModule shaderModule;
b... | using System;
using System.Collections.Generic;
using System.IO;
using CSGL.Vulkan.Unmanaged;
namespace CSGL.Vulkan {
public class ShaderModuleCreateInfo {
public IList<byte> data;
}
public class ShaderModule : IDisposable, INative<VkShaderModule> {
VkShaderModule shaderModule;
b... | mit | C# |
77e80c082c00114bdaac30e6be0879c040a9a946 | Update HidingDisplayOfZeroValues.cs | maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,as... | Examples/CSharp/Articles/HidingDisplayOfZeroValues.cs | Examples/CSharp/Articles/HidingDisplayOfZeroValues.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class HidingDisplayOfZeroValues
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(S... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class HidingDisplayOfZeroValues
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodB... | mit | C# |
e3012b7c2941d6f28ac096e4011c78d0d9f89c5f | Revert "Exclude the first word" | BinaryTENSHi/mountain-thoughts | mountain-thoughts/Program.cs | mountain-thoughts/Program.cs | using System;
using System.Diagnostics;
namespace mountain_thoughts
{
public class Program
{
public static void Main(string[] args)
{
Process mountainProcess = NativeMethods.GetMountainProcess();
if (mountainProcess == null)
{
Console.WriteLi... | using System;
using System.Diagnostics;
using System.Linq;
namespace mountain_thoughts
{
public class Program
{
public static void Main(string[] args)
{
Process mountainProcess = NativeMethods.GetMountainProcess();
if (mountainProcess == null)
{
... | mit | C# |
1c53cb63630e0889b2f0353bdd6d33630b5d1349 | Upgrade version to 1.4.4 | tangxuehua/ecommon,Aaron-Liu/ecommon | src/ECommon/Properties/AssemblyInfo.cs | src/ECommon/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ECommon")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPr... | mit | C# |
52594f8d221d19a54b75367aea614dc8df00c636 | Fix to #88 - Add zero-padding (for Edge) | csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay | CSF.Screenplay.Web/Tasks/EnterTheDateIntoAnHtml5InputTypeDate.cs | CSF.Screenplay.Web/Tasks/EnterTheDateIntoAnHtml5InputTypeDate.cs | using System;
using System.Text.RegularExpressions;
using CSF.Screenplay.Actors;
using CSF.Screenplay.Performables;
using CSF.Screenplay.Web.Builders;
using CSF.Screenplay.Web.Models;
namespace CSF.Screenplay.Web.Tasks
{
/// <summary>
/// A task which manages the inputting of a date value into an HTML 5 <c><in... | using System;
using System.Text.RegularExpressions;
using CSF.Screenplay.Actors;
using CSF.Screenplay.Performables;
using CSF.Screenplay.Web.Builders;
using CSF.Screenplay.Web.Models;
namespace CSF.Screenplay.Web.Tasks
{
/// <summary>
/// A task which manages the inputting of a date value into an HTML 5 <c><in... | mit | C# |
d23bb93919057a9bffe96582214aa7e8797a04c6 | Increment version to 2.0.1 | rmwatson5/Unicorn,GuitarRich/Unicorn,PetersonDave/Unicorn,PetersonDave/Unicorn,kamsar/Unicorn,rmwatson5/Unicorn,MacDennis76/Unicorn,bllue78/Unicorn,bllue78/Unicorn,GuitarRich/Unicorn,kamsar/Unicorn,MacDennis76/Unicorn | src/Unicorn/Properties/AssemblyInfo.cs | src/Unicorn/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("Unicorn")]
[assembly: AssemblyDescription... | 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("Unicorn")]
[assembly: AssemblyDescription... | mit | C# |
b58e65061199ed1df8d4315daadda6636dd712a5 | Fix namespace | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | NakedLegacy/NakedLegacy.Rest.Test.Data/AppLib/LegacyAttribute.cs | NakedLegacy/NakedLegacy.Rest.Test.Data/AppLib/LegacyAttribute.cs | using System;
using NakedLegacy;
namespace NakedLegacy.Rest.Test.Data.AppLib;
public class LegacyAttribute : Attribute, IMemberOrderAttribute, IMaxLengthAttribute {
public int Order { get; set; }
public int MaxLength { get; set; }
} | using System;
using NakedLegacy.Types.Attributes;
namespace NakedLegacy.Rest.Test.Data.AppLib;
public class LegacyAttribute : Attribute, IMemberOrderAttribute, IMaxLengthAttribute {
public int Order { get; set; }
public int MaxLength { get; set; }
} | apache-2.0 | C# |
5d2520f892e6357e1a15ecacddaae1f74d5d057e | Add static dependency bindings. | RockFramework/Rock.Messaging,peteraritchie/Rock.Messaging,bfriesen/Rock.Messaging | Rock.Messaging/Rock.StaticDependencyInjection/CompositionRoot.cs | Rock.Messaging/Rock.StaticDependencyInjection/CompositionRoot.cs | using System.Configuration;
using Rock.Messaging.Defaults.Implementation;
using Rock.Messaging.NamedPipes;
using Rock.Messaging.Routing;
namespace Rock.Messaging.Rock.StaticDependencyInjection
{
internal partial class CompositionRoot : CompositionRootBase
{
public override void Bootstrap()
{
... | using System.Configuration;
using Rock.Messaging.Defaults.Implementation;
using Rock.Messaging.Routing;
namespace Rock.Messaging.Rock.StaticDependencyInjection
{
internal partial class CompositionRoot : CompositionRootBase
{
public override void Bootstrap()
{
ImportFirst<IMessagePar... | mit | C# |
3f02fc82db7d494a848b6d434845eef555cbd594 | Move part of comment above | smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Audio/BassRelativeFrequencyHandler.cs | osu.Framework/Audio/BassRelativeFrequencyHandler.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 ManagedBass;
namespace osu.Framework.Audio
{
/// <summary>
/// A helper class for translating relative frequency values to absolute hertz val... | // 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 ManagedBass;
namespace osu.Framework.Audio
{
/// <summary>
/// A helper class for translating relative frequency values to absolute hertz val... | mit | C# |
f8ca631be2746c181d6d261540a108ff7957036f | Remove use of protocol-relative URIs - #4563 | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/MvcSandbox/Views/Shared/_Layout.cshtml | samples/MvcSandbox/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - MvcSandbox</title>
<link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/css/bootstrap.min.css" />
</head>
<body>
<div c... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - MvcSandbox</title>
<link rel="stylesheet" href="//ajax.aspnetcdn.com/ajax/bootstrap/3.3.5/css/bootstrap.min.css" />
</head>
<body>
<div class="... | apache-2.0 | C# |
e42abc1c0aaa3320a65516ffc60af6c4598b354c | Update assembly version. | AlternativePayments/ap-net-sdk | src/AlternativePayments/Properties/AssemblyInfo.cs | src/AlternativePayments/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("Al... | 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("Al... | mit | C# |
2ce02f2532b7e7142091ae1f848607e4ad0d42f3 | Update MainWindow.xaml.cs | reflection-emit/Cauldron,Virusface/Cauldron,Capgemini/Cauldron | Samples/Win32_WPF_ParameterPassing/MainWindow.xaml.cs | Samples/Win32_WPF_ParameterPassing/MainWindow.xaml.cs | using Cauldron.Core.Reflection;
using Cauldron;
using System.Diagnostics;
using System.Windows;
namespace Win32_WPF_ParameterPassing
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
// This is only meant for Lazy people
... | using Cauldron.Core.Reflection;
using Cauldron;
using System.Diagnostics;
using System.Windows;
namespace Win32_WPF_ParameterPassing
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
// This is only meant for Lazy people
... | mit | C# |
a3ceb2e55567a73c8b6f8139c968f01f230e474a | Update FileSettingsServiceOptions.cs | tiksn/TIKSN-Framework | TIKSN.Core/Settings/FileSettingsServiceOptions.cs | TIKSN.Core/Settings/FileSettingsServiceOptions.cs | namespace TIKSN.Settings
{
public class FileSettingsServiceOptions
{
public string RelativePath { get; set; }
}
}
| namespace TIKSN.Settings
{
public class FileSettingsServiceOptions
{
public string RelativePath { get; set; }
}
} | mit | C# |
f5f16e979dee08ab805d7a7daee0c820a6d3d15a | Fix not to use expression-bodied constructors (cont.) | y-iihoshi/ThScoreFileConverter,y-iihoshi/ThScoreFileConverter | ThScoreFileConverter/Models/Th165/AllScoreData.cs | ThScoreFileConverter/Models/Th165/AllScoreData.cs | //-----------------------------------------------------------------------
// <copyright file="AllScoreData.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="AllScoreData.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# |
8bd91a52b72f0b3c1dd6e7798e5f47896199eb48 | Update AssemblyInfo.cs | HangfireIO/Hangfire.Ninject,andyshao/Hangfire.Ninject | HangFire.Ninject/Properties/AssemblyInfo.cs | HangFire.Ninject/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.Ninject")]
[assembly: AssemblyDe... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("HangFire.Ninject")]
[assembly: AssemblyDe... | mit | C# |
d389523a976d77cc15f835bb8306081e34d5d250 | Update size to long | mfilippov/vimeo-dot-net | src/VimeoDotNet/Models/TusResumableUploadTicket.cs | src/VimeoDotNet/Models/TusResumableUploadTicket.cs | using System.Collections.Generic;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace VimeoDotNet.Models
{
/// <summary>
/// Upload ticket
/// </summary>
public class TusResumableUploadTicket : Video
{
/// <summary>
/// Upload status
/// </summary>
... | using System.Collections.Generic;
using JetBrains.Annotations;
using Newtonsoft.Json;
namespace VimeoDotNet.Models
{
/// <summary>
/// Upload ticket
/// </summary>
public class TusResumableUploadTicket : Video
{
/// <summary>
/// Upload status
/// </summary>
... | mit | C# |
01308769705362ac99ddee02d720cb2575a2ea5a | Set limits in MerkleBlockPayload (3x) (#1377) | AntShares/AntShares | src/neo/Network/P2P/Payloads/MerkleBlockPayload.cs | src/neo/Network/P2P/Payloads/MerkleBlockPayload.cs | using Neo.Cryptography;
using Neo.IO;
using System.Collections;
using System.IO;
using System.Linq;
namespace Neo.Network.P2P.Payloads
{
public class MerkleBlockPayload : BlockBase
{
public int ContentCount;
public UInt256[] Hashes;
public byte[] Flags;
public override int Size... | using Neo.Cryptography;
using Neo.IO;
using System.Collections;
using System.IO;
using System.Linq;
namespace Neo.Network.P2P.Payloads
{
public class MerkleBlockPayload : BlockBase
{
public int ContentCount;
public UInt256[] Hashes;
public byte[] Flags;
public override int Size... | mit | C# |
e0ece098e332031286bd2532b0f5e490b02048de | Fix warnings | msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,msbahrul/EventStore,msbahrul/EventStore,ianbattersby/EventStore,msbahrul/EventStore,ianbattersby/EventStore,ianbattersby/EventStore | src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/checkpoint_manager/multi_stream/TestFixtureWithMultiStreamCheckpointManager.cs | src/EventStore/EventStore.Projections.Core.Tests/Services/core_projection/checkpoint_manager/multi_stream/TestFixtureWithMultiStreamCheckpointManager.cs | // Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | // Copyright (c) 2012, Event Store LLP
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// Redistributions of source code must retain the above copyright notice,
// this list of conditi... | bsd-3-clause | C# |
571005895101910945649fb23aa00ef67562401c | remove unused property | peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework | osu.Framework/Graphics/UserInterface/DirectoryListingItem.cs | osu.Framework/Graphics/UserInterface/DirectoryListingItem.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.Containers;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterfac... | // 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.Containers;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace osu.Framework.Graphics.UserInterfac... | mit | C# |
32a44aea0b9e41fd1876116d571712f2ff64a530 | Update 01-CreateTable.cs | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .dotnet/example_code/DynamoDB/TryDax/01-CreateTable.cs | .dotnet/example_code/DynamoDB/TryDax/01-CreateTable.cs | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.trydax.01... | // snippet-sourcedescription:[ ]
// snippet-service:[dynamodb]
// snippet-keyword:[dotNET]
// snippet-keyword:[Amazon DynamoDB]
// snippet-keyword:[Code Sample]
// snippet-keyword:[ ]
// snippet-sourcetype:[full-example]
// snippet-sourcedate:[ ]
// snippet-sourceauthor:[AWS]
// snippet-start:[dynamodb.dotNET.trydax.01... | apache-2.0 | C# |
7c3ff3dfc34187151f66dbc11379b3596303e288 | Update SelectionAdorner.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactions/Draggable/SelectionAdorner.cs | src/Avalonia.Xaml.Interactions/Draggable/SelectionAdorner.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Media;
namespace Avalonia.Xaml.Interactions.Draggable
{
/// <summary>
///
/// </summary>
public class SelectionAdorner : Control
{
/// <summary>
///
/// </summary>
/// <par... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
using Avalonia.Media;
namespace Avalonia.Xaml.Interactions.Draggable
{
/// <summary>
///
/// </summary>
public class SelectionAdorner : Control
{
/// <summary>
///
/// </summary>
/// <par... | mit | C# |
3e1c10e6e6b4fc75e2548103da8e79c7a2b38dd4 | Remove dead code in Interop.LSAStructs.cs | MaggieTsang/corefx,jlin177/corefx,JosephTremoulet/corefx,lggomez/corefx,rjxby/corefx,fgreinacher/corefx,dotnet-bot/corefx,Petermarcu/corefx,the-dwyer/corefx,DnlHarvey/corefx,JosephTremoulet/corefx,BrennanConroy/corefx,DnlHarvey/corefx,ravimeda/corefx,ravimeda/corefx,billwert/corefx,YoupHulsebos/corefx,gkhanna79/corefx,... | src/Common/src/Interop/Windows/sspicli/Interop.LSAStructs.cs | src/Common/src/Interop/Windows/sspicli/Interop.LSAStructs.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 Microsoft.Win32.SafeHandles;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
in... | // 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 Microsoft.Win32.SafeHandles;
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
in... | mit | C# |
b86bf4f7cd44b47e33c97fe4a59b71b869369b44 | Simplify FixDefaultParamValuesOfOverridesPass.VisitMethodDecl. | mono/CppSharp,u255436/CppSharp,mono/CppSharp,ktopouzi/CppSharp,ktopouzi/CppSharp,genuinelucifer/CppSharp,inordertotest/CppSharp,zillemarco/CppSharp,ddobrev/CppSharp,mohtamohit/CppSharp,mono/CppSharp,mohtamohit/CppSharp,genuinelucifer/CppSharp,ddobrev/CppSharp,inordertotest/CppSharp,u255436/CppSharp,mohtamohit/CppSharp,... | src/Generator/Passes/FixDefaultParamValuesOfOverridesPass.cs | src/Generator/Passes/FixDefaultParamValuesOfOverridesPass.cs | using CppSharp.AST;
namespace CppSharp.Passes
{
public class FixDefaultParamValuesOfOverridesPass : TranslationUnitPass
{
public override bool VisitMethodDecl(Method method)
{
if (!method.IsOverride || method.IsSynthetized)
return true;
Method rootBaseM... | using CppSharp.AST;
namespace CppSharp.Passes
{
public class FixDefaultParamValuesOfOverridesPass : TranslationUnitPass
{
public override bool VisitMethodDecl(Method method)
{
if (method.IsOverride && !method.IsSynthetized)
{
Method rootBaseMethod = ((Cl... | mit | C# |
2c8d7e7bfba72fef4d08f6cb7a93bb1aef006d7f | Improve GraphWithBlob benchmark competition | mijay/NClone | src/NClone.Benchmarks/GraphWithBlobReplicationCompetition.cs | src/NClone.Benchmarks/GraphWithBlobReplicationCompetition.cs | using System;
using System.Linq;
using GeorgeCloney;
using NClone.Benchmarks.Runner;
using NClone.MetadataProviders;
using NClone.ObjectReplication;
namespace NClone.Benchmarks
{
public class GraphWithBlobReplicationCompetition: CompetitionBase
{
private const int blobSize = 200000;
private s... | using System;
using System.Linq;
using GeorgeCloney;
using NClone.Benchmarks.Runner;
using NClone.MetadataProviders;
using NClone.ObjectReplication;
namespace NClone.Benchmarks
{
public class GraphWithBlobReplicationCompetition: CompetitionBase
{
private const int blobSize = 200000;
private s... | mit | C# |
d30d33f5db1da9e0cfae6a671d80675c3d93b900 | Remove unnecessary using | Augurk/Augurk,Augurk/Augurk,Augurk/Augurk,Augurk/Augurk | src/Augurk.UI/Services/ConfigurationService.cs | src/Augurk.UI/Services/ConfigurationService.cs | // Copyright (c) Augurk. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Augurk.Entities;
using Microsoft.AspNetCore.Components.Forms;
namespace Augurk.UI.Services
{
public class Configurat... | // Copyright (c) Augurk. All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Http.Json;
using System.Threading.Tasks;
using Augurk.Entities;
using Microsoft.AspNetCore.Components.Forms;
namespace Augurk.UI.Service... | apache-2.0 | C# |
d5a6e1f5e4bc2fe97d53d69c8076148345c7b7a1 | Add filename constructor to CustomSSSwithSDSL | libertyernie/BrawlManagerLib | CustomSSSwithSDSL.cs | CustomSSSwithSDSL.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrawlManagerLib {
public class CustomSSSwithSDSL : CustomSSS {
public CustomSSSwithSDSL(string[] s) : base(s) {
SongsByStage = SDSLScanner.SongsByStage(this);
}
public CustomSSSwithSDSL(byte[] data) : base(data) ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrawlManagerLib {
public class CustomSSSwithSDSL : CustomSSS {
public CustomSSSwithSDSL(string[] s) : base(s) {
SongsByStage = SDSLScanner.SongsByStage(this);
}
public CustomSSSwithSDSL(byte[] data) : base(data) ... | mit | C# |
ed522e12ab95619e163aadc52196dd134cfb7cbb | update to working feed url (added atom/) | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/EmmanuelDemilliere.cs | src/Firehose.Web/Authors/EmmanuelDemilliere.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class EmmanuelDemilliere : IAmAMicrosoftMVP
{
public string FirstName => "Emmanuel";
public strin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class EmmanuelDemilliere : IAmAMicrosoftMVP
{
public string FirstName => "Emmanuel";
public strin... | mit | C# |
da15b900f7d628f4790dfd263c045382cdcd4f51 | Remove virtual member from ModBlockFail | ZLima12/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/osu,EVAST9919/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,smoogipoo/osu,ppy/osu,peppy/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,2yangk23/osu,UselessToucan/osu,2yangk23/osu,UselessToucan/osu,johnn... | osu.Game/Rulesets/Mods/ModBlockFail.cs | osu.Game/Rulesets/Mods/ModBlockFail.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.Bindables;
using osu.Game.Configuration;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModBlockFail : Mod... | // 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.Bindables;
using osu.Game.Configuration;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModBlockFail : Mod... | mit | C# |
0f9978b34a8e250ba6458dd9ecee6eb90529a403 | Use AddRange instead | EVAST9919/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,peppy/osu,johnneijzen/osu,ppy/osu,2yangk23/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu | osu.Game/Skinning/SkinConfiguration.cs | osu.Game/Skinning/SkinConfiguration.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.Extensions.IEnumerableExtensions;
using osu.Game.Beatmaps.Formats;
using osuTK.Graphics;
namesp... | // 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.Extensions.IEnumerableExtensions;
using osu.Game.Beatmaps.Formats;
using osuTK.Graphics;
namesp... | mit | C# |
e36920e9e50f35b95b3e18e29d3e7c17ae5c9dc9 | Add User. | App2Night/App2Night.Xamarin | App2Night/App2Night/ViewModel/DashboardViewModel.cs | App2Night/App2Night/ViewModel/DashboardViewModel.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using App2Night.Model.Model;
using App2Night.Service.Interface;
using App2Night.ViewModel.Subpages;
using MvvmNano;
namespace App2Night.ViewModel
{
public ... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using App2Night.Model.Model;
using App2Night.Service.Interface;
using App2Night.ViewModel.Subpages;
using MvvmNano;
namespace App2Night.ViewModel
{
public ... | mit | C# |
b13db99213211e1ec027fe3843a447eb62c5988a | build error | mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy,mmooney/Sriracha.Deploy | Sriracha.Deploy.Data/Impl/BuildPublisher.cs | Sriracha.Deploy.Data/Impl/BuildPublisher.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NLog;
using ServiceStack.Common.Web;
using ServiceStack.ServiceClient.Web;
using Sriracha.Deploy.Data.Dto;
namespace Sriracha.Deploy.Data.Impl
{
public class BuildPublisher : IBuildPublisher
{
private read... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using NLog;
using ServiceStack.Common.Web;
using ServiceStack.ServiceClient.Web;
using Sriracha.Deploy.Data.Dto;
namespace Sriracha.Deploy.Data.Impl
{
public class BuildPublisher : IBuildPublisher
{
private read... | mit | C# |
71fcbcd1ff922586b1816aafc2a6a50c5f90302b | Change version. | mntone/TwitterVideoUploader | Mntone.TwitterVideoUploader/Properties/AssemblyInfo.cs | Mntone.TwitterVideoUploader/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Mntone.TwitterVideoUploader")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("mntone")]
[assembly: AssemblyProduct("Mntone.TwitterVideoUploader")]
[asse... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Mntone.TwitterVideoUploader")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("mntone")]
[assembly: AssemblyProduct("Mntone.TwitterVideoUploader")]
[asse... | mit | C# |
6857014720ba871e10c1f374972caa4573d4d8e4 | Fix frmAnswers | Hli4S/TestMeApp | TestME/frmAnswers.cs | TestME/frmAnswers.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TestME
{
public partial class frmAnswers : Form
{
Question Q;
public frmAnswers(Question quest)
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TestME
{
public partial class frmAnswers : Form
{
public frmAnswers(Question quest)
{
In... | mit | C# |
e8215c3693341515d382d310f8f4bdc3ad852e89 | Remove dead comments | tmds/Tmds.DBus | UnixMonoTransport.cs | UnixMonoTransport.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public class UnixMonoTransport : Transport, IAut... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using Mono.Unix;
using Mono.Unix.Native;
namespace NDesk.DBus
{
public class UnixMonoTransport : Transport, IAut... | mit | C# |
fab0ee9530775c953f4f4a436d94a19aeece0aed | Add a Table type arg to MDTable ctor | kiootic/dnlib,ilkerhalil/dnlib,Arthur2e5/dnlib,picrap/dnlib,modulexcite/dnlib,ZixiangBoy/dnlib,yck1509/dnlib,jorik041/dnlib,0xd4d/dnlib | src/DotNet/Writer/MDTable.cs | src/DotNet/Writer/MDTable.cs | using System.Collections.Generic;
using dot10.DotNet.MD;
namespace dot10.DotNet.Writer {
class MDTable<T> {
Table table;
Dictionary<T, uint> cachedDict;
List<T> cached;
/// <summary>
/// Gets the table type
/// </summary>
public Table Table {
get { return table; }
}
/// <summary>
/// <c>true... | using System.Collections.Generic;
namespace dot10.DotNet.Writer {
class MDTable<T> {
Dictionary<T, uint> cachedDict;
List<T> cached;
/// <summary>
/// <c>true</c> if the table is empty
/// </summary>
public bool IsEmpty {
get { return cached.Count == 0; }
}
/// <summary>
/// Constructor
/// ... | mit | C# |
866c3542487371bede9f9b5dcb8ba55fb6da0e85 | Update access denied page | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Error/_Error403.cshtml | @{
ViewBag.Title = "Access denied - Error 403";
ViewBag.PageId = "error-403";
ViewBag.HideNavBar = true;
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="heading-xlarge">
... | @{
ViewBag.Title = "Access denied - Error 403";
ViewBag.PageId = "error-403";
ViewBag.HideNavBar = true;
}
<main id="content" role="main" class="error-403">
<div class="grid-row">
<div class="column-two-thirds">
<div class="hgroup">
<h1 class="heading-xlarge">
... | mit | C# |
fdee45a5d4396adbd9fb96fa2e488fbc39657924 | Handle the TwoHour time interval for strategies - was defaulting to 15 | nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | MultiMiner.Win/Extensions/TimeIntervalExtensions.cs | namespace MultiMiner.Win.Extensions
{
static class TimeIntervalExtensions
{
public static int ToMinutes(this MultiMiner.Win.ApplicationConfiguration.TimerInterval timerInterval)
{
int coinStatsMinutes;
switch (timerInterval)
{
case Application... | namespace MultiMiner.Win.Extensions
{
static class TimeIntervalExtensions
{
public static int ToMinutes(this MultiMiner.Win.ApplicationConfiguration.TimerInterval timerInterval)
{
int coinStatsMinutes;
switch (timerInterval)
{
case Application... | mit | C# |
627114abeca6f0d6d7e5e0e0a5f9e463270bd59b | Improve test case. | NeoAdonis/osu,DrabWeb/osu,peppy/osu,2yangk23/osu,DrabWeb/osu,naoey/osu,peppy/osu,Damnae/osu,2yangk23/osu,osu-RP/osu-RP,smoogipoo/osu,EVAST9919/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,Nabile-Rahmani/osu,RedNesto/osu,Drezi126/osu,DrabWeb/osu,ppy/osu,tacchinotacchi/osu,UselessToucan/osu,naoey/osu,UselessToucan/osu,Z... | osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs | osu.Desktop.VisualTests/Tests/TestCaseSongProgress.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.MathUtils;
using osu.Framework.Testing;
using osu.Framework.Timing;
using os... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.MathUtils;
using osu.Framework.Testing;
using osu.Game.Modes.Objects;
using ... | mit | C# |
b65031ce67432357e607037b99e53fb1f9109c4f | Update ActionCollection.cs | wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors | src/Avalonia.Xaml.Interactivity/ActionCollection.cs | src/Avalonia.Xaml.Interactivity/ActionCollection.cs | using System;
using System.Collections.Specialized;
using Avalonia.Collections;
namespace Avalonia.Xaml.Interactivity;
/// <summary>
/// Represents a collection of <see cref="IAction"/>'s.
/// </summary>
public class ActionCollection : AvaloniaList<IAvaloniaObject>
{
/// <summary>
/// Initializes a new insta... | using System;
using System.Collections.Specialized;
using Avalonia.Collections;
namespace Avalonia.Xaml.Interactivity;
/// <summary>
/// Represents a collection of <see cref="IAction"/>'s.
/// </summary>
public class ActionCollection : AvaloniaList<IAvaloniaObject>
{
/// <summary>
/// Initializes a new insta... | mit | C# |
94d9fa400ec79f52812b3ec1ff9c264090abb704 | Add rule above form buttons for preferences | martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site | src/LondonTravel.Site/Views/Home/_UpdateForm.cshtml | src/LondonTravel.Site/Views/Home/_UpdateForm.cshtml | @model LinePreferencesViewModel
<form asp-route="@SiteRoutes.UpdateLinePreferences" class="js-preferences-container" method="post">
<input type="hidden" name="@(nameof(UpdateLinePreferencesViewModel.ETag))" value="@Model.ETag" />
@if (Model.HasFavourites)
{
<div class="row">
<h4 class="... | @model LinePreferencesViewModel
<form asp-route="@SiteRoutes.UpdateLinePreferences" class="js-preferences-container" method="post">
<input type="hidden" name="@(nameof(UpdateLinePreferencesViewModel.ETag))" value="@Model.ETag" />
@if (Model.HasFavourites)
{
<div class="row">
<h4 class="... | apache-2.0 | C# |
7a9cd9451e8361189bef9d7bd3c7a0bbbd93115e | Update version to 1.3 | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | src/resharper-unity/Properties/AssemblyInfo.cs | src/resharper-unity/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("resharper-unity")]
[assembly: AssemblyDesc... | 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("resharper-unity")]
[assembly: AssemblyDesc... | apache-2.0 | C# |
7a23a9475c0b1b9d4d31f122baa1a279f46854a3 | Update doc comment. | JohanLarsson/Gu.Reactive | Gu.Reactive/Internals/ItemsTracker/TrackedItemPropertyChangedEventHandler.cs | Gu.Reactive/Internals/ItemsTracker/TrackedItemPropertyChangedEventHandler.cs | namespace Gu.Reactive.Internals
{
using System.ComponentModel;
/// <summary>
/// Raised when a tracked property changes.
/// </summary>
/// <param name="item">The tracker that notified the event.</param>
/// <param name="sender">The instance that raised the event, can be the collection.</param>... | namespace Gu.Reactive.Internals
{
using System.ComponentModel;
/// <summary>
/// Raised when a tracked property changes.
/// </summary>
/// <param name="item">The tracker that notified the event.</param>
/// <param name="sender">The instance that raised the event.</param>
/// <param name="e... | mit | C# |
ab45b29920247d56c3837f38aa64e849d8085116 | bump version | Willster419/RelicModManager,Willster419/RelhaxModpack,Willster419/RelhaxModpack | RelhaxModpack/RelhaxModpack/Properties/AssemblyInfo.cs | RelhaxModpack/RelhaxModpack/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... | apache-2.0 | C# |
8be3c33a1ce0856900ba301745e6c27cd8ee1044 | switch create rule to post request | yoliva/game-of-drones,yoliva/game-of-drones,yoliva/game-of-drones | Source/GameOfDrones.API/Controllers/RulesController.cs | Source/GameOfDrones.API/Controllers/RulesController.cs | using System.Linq;
using System.Web.Http;
using GameOfDrones.API.Models;
using GameOfDrones.Domain.Entities;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/rules")]
public class RulesController : ApiController
{
private readonly IGameOfDronesR... | using System.Linq;
using System.Web.Http;
using GameOfDrones.API.Models;
using GameOfDrones.Domain.Entities;
using GameOfDrones.Domain.Repositories;
namespace GameOfDrones.API.Controllers
{
[RoutePrefix("api/v1/rules")]
public class RulesController : ApiController
{
private readonly IGameOfDronesR... | mit | C# |
3a9e70a15358ae30fb32a85e1a2d1a5efa20a118 | Add relative figure | whoknewdk/CardsApp,whoknewdk/CardsApp | CardsApp.Viewer/Views/Home/Index.cshtml | CardsApp.Viewer/Views/Home/Index.cshtml | <!DOCTYPE html>
<html data-ng-app="app">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
@Styles.Render("~/Content/css")
<script src="~/Scripts/angular.js"... | <!DOCTYPE html>
<html data-ng-app="app">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>@ViewBag.Title</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
@Styles.Render("~/Content/css")
<script src="~/Scripts/angular.js"... | mit | C# |
4b9fc41c212277171bfe44bb191382482eb4ff67 | simplify confirmation words selection | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/CreateWallet/ConfirmRecoveryWordsViewModel.cs | WalletWasabi.Fluent/ViewModels/CreateWallet/ConfirmRecoveryWordsViewModel.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using System.Windows.Input;
using DynamicData;
using DynamicData.Binding;
using ReactiveUI;
using WalletWasabi.Blockchain.Keys;
using WalletWasabi.Wallets;
namespace WalletWasabi.Fluent.... | mit | C# |
84c0bba9db1855e0a0796848741fd20843e4edd2 | Fix LazyFactoryTemplate description | DixonD-git/structuremap,DixonD-git/structuremap,DixonDs/structuremap,DixonDs/structuremap,DixonD-git/structuremap,DixonD-git/structuremap | src/StructureMap/Pipeline/Lazy/LazyFactoryTemplate.cs | src/StructureMap/Pipeline/Lazy/LazyFactoryTemplate.cs | using System;
using StructureMap.Building;
namespace StructureMap.Pipeline.Lazy
{
public class LazyFactoryTemplate : Instance
{
public override string Description
{
get { return "Open Generic Template for Lazy<>"; }
}
// This should never get called because it start... | using System;
using StructureMap.Building;
namespace StructureMap.Pipeline.Lazy
{
public class LazyFactoryTemplate : Instance
{
public override string Description
{
get { return "Open Generic Template for Func<>"; }
}
// This should never get called because it start... | apache-2.0 | C# |
594011aab84e206901361ea3106f4da1d26aa86f | Add missing XML docs to code. bugid: 272 | MarimerLLC/csla,BrettJaner/csla,rockfordlhotka/csla,BrettJaner/csla,JasonBock/csla,MarimerLLC/csla,jonnybee/csla,BrettJaner/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,MarimerLLC/csla,ronnymgm/csla-light,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light | cslacs/Csla/Serialization/Mobile/NullPlaceholder.cs | cslacs/Csla/Serialization/Mobile/NullPlaceholder.cs | using System;
namespace Csla.Serialization.Mobile
{
/// <summary>
/// Placeholder for null child objects.
/// </summary>
[Serializable()]
public sealed class NullPlaceholder : IMobileObject
{
#region Constructors
/// <summary>
/// Creates an instance of the type.
/// </summa... | using System;
namespace Csla.Serialization.Mobile
{
/// <summary>
/// Placeholder for null child objects.
/// </summary>
[Serializable()]
public sealed class NullPlaceholder : IMobileObject
{
#region Constructors
public NullPlaceholder()
{
// Nothing
}
#endregi... | mit | C# |
69c199ccb521327cce0ee6793fecc59753f42507 | Add assertion to compare LastTag.Count property | Brijen/lastfm,realworld666/lastfm | src/IF.Lastfm.Core.Tests/Api/Commands/Tag/GetInfoCommandTests.cs | src/IF.Lastfm.Core.Tests/Api/Commands/Tag/GetInfoCommandTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Commands.Tag;
using IF.Lastfm.Core.Api.Enums;
using IF.Lastfm.Core.Objects;
using IF.Lastfm.Core.Tests.Resources;
using NUnit.Framework;
namespace IF.Lastfm.Core.Tests.Api.Comma... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using IF.Lastfm.Core.Api.Commands.Tag;
using IF.Lastfm.Core.Api.Enums;
using IF.Lastfm.Core.Objects;
using IF.Lastfm.Core.Tests.Resources;
using NUnit.Framework;
namespace IF.Lastfm.Core.Tests.Api.Comma... | mit | C# |
bf3936140f0cccdfcf5de58d06e850760055920f | Change user picture field to PictureUrl | comunity/crm | crm/CEP/UserProfile.cs | crm/CEP/UserProfile.cs | // Copyright (c) ComUnity 2015
// Hans Malherbe <hansm@comunity.co.za>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CEP
{
public class UserProfile
{
[Key,... | // Copyright (c) ComUnity 2015
// Hans Malherbe <hansm@comunity.co.za>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace CEP
{
public class UserProfile
{
[Key,... | mit | C# |
f6742b42c24a9fda597bec0ebd0d68063f00ed78 | Increase default toleranceSeconds in StopwatchAsserter | atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata | src/Atata.Tests/StopwatchAsserter.cs | src/Atata.Tests/StopwatchAsserter.cs | using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Atata.Tests
{
public sealed class StopwatchAsserter : IDisposable
{
private readonly Stopwatch watch;
private readonly TimeSpan expectedTime;
private readonly TimeSpan toleranceTime;
public St... | using System;
using System.Diagnostics;
using NUnit.Framework;
namespace Atata.Tests
{
public sealed class StopwatchAsserter : IDisposable
{
private readonly Stopwatch watch;
private readonly TimeSpan expectedTime;
private readonly TimeSpan toleranceTime;
public St... | apache-2.0 | C# |
e0fd3c21a3b5f7a5b5404c2a74c3a43641970dc1 | change the http code when the request is completed from create to ok | marinoscar/article-parser,marinoscar/article-parser,marinoscar/article-parser | Code/api/Controllers/ParserController.cs | Code/api/Controllers/ParserController.cs | using api.core.Models;
using api.core.Provider;
using api.Security;
using Newtonsoft.Json;
using Swashbuckle.Swagger.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace api.Controllers
{
[TokenAuthentication]
... | using api.core.Models;
using api.core.Provider;
using api.Security;
using Newtonsoft.Json;
using Swashbuckle.Swagger.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace api.Controllers
{
[TokenAuthentication]
... | mit | C# |
6efbb95e44b61f9189df80936523897da73cc02b | Add ILogger. | StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis,StephenClearyApps/DotNetApis | service/src/Common/Logger.cs | service/src/Common/Logger.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Internals;
using Microsoft.Azure.WebJobs.Host;
namespace Common
{
public interface ILogger
{
void Trace(string message);
}
/// <summary>
/// A ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Internals;
using Microsoft.Azure.WebJobs.Host;
namespace Common
{
/// <summary>
/// A logger that writes messages both to Ably (if possible) and the <see cref="Text... | mit | C# |
490fd124cb723cbd9d4ae80d276d039f95564019 | Tidy up. | TimCollins/Reddit.DailyProgrammer | src/12-Int-Factors/FactorCalculator.cs | src/12-Int-Factors/FactorCalculator.cs | using System;
using System.Collections.Generic;
namespace _12_Int_Factors
{
public class FactorCalculator
{
public List<int> GetFactors(int number)
{
var factors = new List<int>();
// Loop to the square root (rounded) of the number
var max = (int)Math.Sqrt(n... | using System;
using System.Collections.Generic;
namespace _12_Int_Factors
{
public class FactorCalculator
{
public List<int> GetFactors(int number)
{
var factors = new List<int>();
// Loop to the square root (rounded) of the number
var max = (int)Math.Sqrt(n... | mit | C# |
fc2277bc580e53214c497210790067b3aa3137c9 | Add custom char comparison to extension methods | mganss/AhoCorasick | AhoCorasick/Extensions.cs | AhoCorasick/Extensions.cs | using System.Collections.Generic;
namespace Ganss.Text
{
/// <summary>
/// Provides extension methods.
/// </summary>
public static class Extensions
{
/// <summary>
/// Determines whether this instance contains the specified words.
/// </summary>
/// <param name="te... | using System.Collections.Generic;
namespace Ganss.Text
{
/// <summary>
/// Provides extension methods.
/// </summary>
public static class Extensions
{
/// <summary>
/// Determines whether this instance contains the specified words.
/// </summary>
/// <param name="te... | mit | C# |
0c2981c993261cbdf50b4022b3a5f0e42fd5d448 | Build and publish nuget package | bfriesen/Rock.Logging,RockFramework/Rock.Logging | Rock.Logging/Properties/AssemblyInfo.cs | Rock.Logging/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("Ro... | 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("Ro... | mit | C# |
5dae0c604cd5995245baeffc675d44850b00d1e0 | Remove trailing comma | azubanov/elasticsearch-net,RossLieberman/NEST,elastic/elasticsearch-net,CSGOpenSource/elasticsearch-net,UdiBen/elasticsearch-net,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,RossLieberman/NEST,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,TheFireCookie/elasticsear... | src/Nest/Enums/NumericIndexOption.cs | src/Nest/Enums/NumericIndexOption.cs | using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum NonStringIndexOption
{
[EnumMember(Value = "no")]
No
}
}
| using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Nest
{
[JsonConverter(typeof(StringEnumConverter))]
public enum NonStringIndexOption
{
[EnumMember(Value = "no")]
No,
}
}
| apache-2.0 | C# |
2357236ab0852285f439e9f4b02e3bf0feb7121b | Fix PollAnswer | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot | src/Telegram.Bot/Types/PollAnswer.cs | src/Telegram.Bot/Types/PollAnswer.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents an answer of a user in a non-anonymous poll.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class ... | using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Telegram.Bot.Types
{
/// <summary>
/// This object represents an answer of a user in a non-anonymous poll.
/// </summary>
[JsonObject(MemberSerialization.OptIn, NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
public class ... | mit | C# |
5c1877dcf9bc0ddccbdc0b7068a4dd320afbf156 | Fix character display | jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode | Diagnostics/UnhelpfulDebugger/Program.cs | Diagnostics/UnhelpfulDebugger/Program.cs | using System;
namespace UnhelpfulDebugger
{
class Program
{
static void Main()
{
string awkward1 = "Foo\\Bar";
string awkward2 = "FindElement";
double awkward3 = 4.9999999999999995d;
Console.WriteLine(awkward1);
PrintString(awkward... | using System;
namespace UnhelpfulDebugger
{
class Program
{
static void Main()
{
string awkward1 = "Foo\\Bar";
string awkward2 = "FindElement";
double awkward3 = 4.9999999999999995d;
Console.WriteLine(awkward1);
PrintString(awkward... | apache-2.0 | C# |
b036d7a59620ad3812ca966f634e827a745f4475 | Improve code coverage for System.IO.FileSystem.AccessControl (#15375) | parjong/corefx,marksmeltzer/corefx,ViktorHofer/corefx,seanshpark/corefx,seanshpark/corefx,ptoonen/corefx,axelheer/corefx,rjxby/corefx,Jiayili1/corefx,billwert/corefx,YoupHulsebos/corefx,nbarbettini/corefx,elijah6/corefx,shimingsg/corefx,zhenlan/corefx,billwert/corefx,dhoehna/corefx,billwert/corefx,ptoonen/corefx,dhoehn... | src/System.IO.FileSystem.AccessControl/tests/FileSystemAclExtensionsTests.cs | src/System.IO.FileSystem.AccessControl/tests/FileSystemAclExtensionsTests.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.Security.AccessControl;
using Xunit;
namespace System.IO
{
public class FileSystemAclExtensionsTes... | // 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 Xunit;
namespace System.IO
{
public class FileSystemAclExtensionsTests
{
[Fact]
publi... | mit | C# |
26932d153cf2924314191056c1dff422e2a53a7a | Change the way we match args to property tokens to more closely match Serilog when you pass in too few or too many arguments | kekekeks/akka.net,jordansjones/akka.net,jordansjones/akka.net,dyanarose/akka.net,willieferguson/akka.net,vchekan/akka.net,Micha-kun/akka.net,nvivo/akka.net,d--g/akka.net,forki/akka.net,dbolkensteyn/akka.net,willieferguson/akka.net,neekgreen/akka.net,thelegendofando/akka.net,rogeralsing/akka.net,cpx/akka.net,JeffCyr/akk... | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogMessageFormatter.cs | src/contrib/loggers/Akka.Serilog/Event/Serilog/SerilogLogMessageFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Akka.Event;
using Serilog.Events;
using Serilog.Parsing;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogMessageFormatter : ILogMessageFormatter
{
private readonly MessageTemplateCache _templateCache;
... | using System;
using System.Collections.Generic;
using System.Linq;
using Akka.Event;
using Serilog.Events;
using Serilog.Parsing;
namespace Akka.Serilog.Event.Serilog
{
public class SerilogLogMessageFormatter : ILogMessageFormatter
{
private readonly MessageTemplateCache _templateCache;
publi... | apache-2.0 | C# |
54739e9c8cb78fdd6e1c2df4a681ee8734f26c32 | build scripts | SharpeRAD/Cake.AWS.S3 | build/scripts/imports.cake | build/scripts/imports.cake | //////////////////////////////////////////////////////////////////////
// IMPORTS
//////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.AWS.S3
#addin nuget:?package=Cake.FileHelpers
#addin nuget:?package=Cake.Slack
#tool nuget:?package=ReportUnit
/////////////////////... | //////////////////////////////////////////////////////////////////////
// IMPORTS
//////////////////////////////////////////////////////////////////////
#addin nuget:?package=Cake.AWS.S3
#addin nuget:?package=Cake.FileHelpers
#addin nuget:?package=Cake.Slack
//////////////////////////////////////////////////////... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.