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 |
|---|---|---|---|---|---|---|---|---|
055b85109bbc23ad7a93ca281ef30e7d844d5491 | Update QuickFind.cs | qdimka/Algorithms,qdimka/Algorithms,Oscarbralo/Algorithms,Oscarbralo/Algorithms,qdimka/Algorithms,Oscarbralo/Algorithms | CSharpQuickFind/QuickFind.cs | CSharpQuickFind/QuickFind.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuickFind
{
public class QuickFind
{
private int[] id;
//Initialize the quick find data structure
public QuickFind(int n)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuickFind
{
public class QuickFind
{
private int[] id;
//Initialize the quick find data structure
public QuickFind(int n)
{
... | mit | C# |
8fad2161792e7e92694e3256ef9ee8bb42be3325 | Expand on the JwsHeader class. | PaulTrampert/CertManager,PaulTrampert/CertManager | CertManager/Jws/JwsHeader.cs | CertManager/Jws/JwsHeader.cs | namespace CertManager.Jws
{
public class JwsHeader
{
/// <summary>
/// Algorithm
/// </summary>
public string Alg { get; set; }
/// <summary>
/// JWK Set Url
/// </summary>
public string Jku { get; set; }
/// <summary>
/// JSON W... | namespace CertManager.Jws
{
public class JwsHeader
{
public string Alg { get; set; }
public string Jwk { get; set; }
public string Nonce { get; set; }
}
} | mit | C# |
d6ba314d54b75caad3fcbb7370f7032be3073f56 | Make Setting.asset files | CloudBreadProject/CloudBread-Unity-SDK | Assets/CloudBread/Editor/CBAuthEditor.cs | Assets/CloudBread/Editor/CBAuthEditor.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace CloudBread
{
public class CBAuthEditor : EditorWindow
{
private const string LoginSettingsAssetName = "FacebookLoginSettings";
private const string LoginSettingsPath = "CloudBread/Resources";
private const string LoginSettingsAssetExte... | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace CloudBread
{
public class CBAuthEditor : EditorWindow
{
static CBAuthEditor _instance = null;
[MenuItem("CloudBread/CB-Authentication")]
public static void InitWindow()
{
if (null == _instance)
{
_instance = GetWindow<CBAu... | mit | C# |
3cf162f6f047ef0e8c731d6297a7e3d71f6304f8 | Switch Collapse function to correctly call the Collapse function of the expand pattern | Roemer/FlaUI | src/FlaUI.Core/AutomationElements/PatternElements/ExpandCollapseAutomationElement.cs | src/FlaUI.Core/AutomationElements/PatternElements/ExpandCollapseAutomationElement.cs | using FlaUI.Core.Definitions;
using FlaUI.Core.Patterns;
namespace FlaUI.Core.AutomationElements.PatternElements
{
/// <summary>
/// An element that supports the <see cref="IExpandCollapsePattern"/>.
/// </summary>
public class ExpandCollapseAutomationElement : AutomationElement
{
public E... | using FlaUI.Core.Definitions;
using FlaUI.Core.Patterns;
namespace FlaUI.Core.AutomationElements.PatternElements
{
/// <summary>
/// An element that supports the <see cref="IExpandCollapsePattern"/>.
/// </summary>
public class ExpandCollapseAutomationElement : AutomationElement
{
public E... | mit | C# |
2194c5305219940976d6035d0f2e6c17f462a7c7 | fix color conversions | RPCS3/discord-bot | CompatBot/Utils/Extensions/Converters.cs | CompatBot/Utils/Extensions/Converters.cs | using System;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.ColorSpaces;
using SixLabors.ImageSharp.ColorSpaces.Conversion;
using SixLabors.ImageSharp.PixelFormats;
namespace CompatBot.Utils.Extensions
{
internal static class Converters
{
private static readonly ColorSpaceConverter colorSpaceConverter = ... | using System;
using CompatApiClient.Utils;
using Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.ColorSpaces;
using SixLabors.ImageSharp.ColorSpaces.Conversion;
using SixLabors.ImageSharp.PixelFormats;
namespace CompatBot.Utils.Extensions
{
inter... | lgpl-2.1 | C# |
1977536b25f76fe2fe739332dd05672f80877540 | Fix namespace ordering in WebApi Program.cs | lambdakris/templating,rschiefer/templating,danroth27/templating,seancpeters/templating,lambdakris/templating,rschiefer/templating,seancpeters/templating,mlorbetske/templating,danroth27/templating,danroth27/templating,seancpeters/templating,lambdakris/templating,mlorbetske/templating,seancpeters/templating,rschiefer/tem... | template_feed/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-CSharp/Program.cs | template_feed/Microsoft.DotNet.Web.ProjectTemplates/content/WebApi-CSharp/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
namespace WebApplication1
{
public class Program
{
public static void Main(string[] args)
{
var ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;
namespace WebApplication1
{
public class Program
{
public static void Main(string[] args)
{
var ... | mit | C# |
421df8ea950e57f162264a427c95e5f3a81a2079 | Add Flaky to list of test constants | AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azure-powershell,AzureAutomationTeam/azure-powershell,ClogenyTechnologies/azur... | src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs | src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.ap... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.ap... | apache-2.0 | C# |
4f5dad568f0465c5faf7d71ac36d595bef079fdc | add new message | toannvqo/dnn_publish | GitDemo/GitDemo/Program.cs | GitDemo/GitDemo/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello world world world!");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GitDemo
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("hello world!");
}
}
}
| mit | C# |
7de0cfdee55bc3ccfbfb1e0898b444e2f5c0ce04 | Add EmptyIfNull and WhereNotNull | SaberSnail/GoldenAnvil.Utility | GoldenAnvil.Utility/EnumerableUtility.cs | GoldenAnvil.Utility/EnumerableUtility.cs | using System.Collections.Generic;
using System.Linq;
namespace GoldenAnvil.Utility
{
public static class EnumerableUtility
{
public static HashSet<T> ToHashSet<T>(this IEnumerable<T> items)
{
return new HashSet<T>(items);
}
public static IEnumerable<T> Append<T>(this IEnumerable<T> items, T value)
{
... | using System.Collections.Generic;
namespace GoldenAnvil.Utility
{
public static class EnumerableUtility
{
public static HashSet<T> ToHashSet<T>(this IEnumerable<T> source)
{
return new HashSet<T>(source);
}
public static IEnumerable<T> Append<T>(this IEnumerable<T> source, T value)
{
foreach (T ite... | mit | C# |
e3d42226575e2a544fb77d7c85d08ee7dfdd1ee6 | add width and height to constructor | Kentico/Deliver-.NET-SDK,Kentico/delivery-sdk-net | Kentico.Kontent.Delivery/Models/Asset.cs | Kentico.Kontent.Delivery/Models/Asset.cs | using Newtonsoft.Json;
namespace Kentico.Kontent.Delivery
{
/// <summary>
/// Represents a digital asset, such as a document or image.
/// </summary>
public sealed class Asset
{
/// <summary>
/// Gets the name of the asset.
/// </summary>
[JsonProperty("name")]
public string Name { get; }
/// <summa... | using Newtonsoft.Json;
namespace Kentico.Kontent.Delivery
{
/// <summary>
/// Represents a digital asset, such as a document or image.
/// </summary>
public sealed class Asset
{
/// <summary>
/// Gets the name of the asset.
/// </summary>
[JsonProperty("name")]
public string Name { get; }
/// <summa... | mit | C# |
5ccdb70c6d9c69ab828860cd78fbfd994f3b5fec | Remove unused member | oliver-feng/kudu,dev-enthusiast/kudu,chrisrpatterson/kudu,duncansmart/kudu,chrisrpatterson/kudu,dev-enthusiast/kudu,juoni/kudu,bbauya/kudu,mauricionr/kudu,YOTOV-LIMITED/kudu,juvchan/kudu,MavenRain/kudu,shibayan/kudu,oliver-feng/kudu,bbauya/kudu,WeAreMammoth/kudu-obsolete,juvchan/kudu,juoni/kudu,barnyp/kudu,shanselman/k... | Kudu.Core/Deployment/DeploymentHelper.cs | Kudu.Core/Deployment/DeploymentHelper.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Kudu.Core.Infrastructure;
using Kudu.Core.SourceControl;
namespace Kudu.Core.Deployment
{
public static class DeploymentHelper
{
private static readonly string[] _projectFileExtensions = new[] { ".csproj", ".vbpr... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Kudu.Core.Infrastructure;
using Kudu.Core.SourceControl;
namespace Kudu.Core.Deployment
{
public static class DeploymentHelper
{
private static readonly string[] _projectFileExtensions = new[] { ".csproj", ".vbpr... | apache-2.0 | C# |
519e08c1c6d8777a1519a488cfb3e41d82b9d815 | Create Extension.cs | fengdingfeilong/MicroRPC | MicroRPC.Core/Extension.cs | MicroRPC.Core/Extension.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MicroRPC.Core
{
public static class Extension
{
/// <summary>
/// Test whether the socket is connected or not, find detail in msdn... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace MicroRPC.Core
{
public static class Extension
{
/// <summary>
/// Test whether the socket is connected or not, find detail in msdn... | mit | C# |
3ad10ec2cc94751dd323aba665a9f633fc8f685c | Fix tag line for Telegram | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/Services/Crosspost/TelegramCrosspostService.cs | src/Core/Services/Crosspost/TelegramCrosspostService.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Core.Logging;
using DAL;
using Serilog.Events;
using Telegram.Bot;
namespace Core.Services.Crosspost
{
public class TelegramCrosspostService : ICrossPostService
{
private readonly Core.Logging.ILogger... | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Core.Logging;
using DAL;
using Serilog.Events;
using Telegram.Bot;
namespace Core.Services.Crosspost
{
public class TelegramCrosspostService : ICrossPostService
{
private readonly Core.Logging.ILogger... | mit | C# |
9e80cb5a7145a9473dc8a095eaec031822f701fe | Fix http logging log typo (#36871) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Middleware/HttpLogging/src/HttpLoggingExtensions.cs | src/Middleware/HttpLogging/src/HttpLoggingExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.HttpLogging
{
internal static partial class HttpLoggingExtensions
{
public static void RequestLog(... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Extensions.Logging;
namespace Microsoft.AspNetCore.HttpLogging
{
internal static partial class HttpLoggingExtensions
{
public static void RequestLog(... | apache-2.0 | C# |
2eb024d0ce5c911e85d3e4093d6ffaaa002277a1 | Update version numbers to 1.2.0 | CamTechConsultants/CvsntGitImporter | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
c27a0cbb6fdda17cf9c49acc56a724b120fd9528 | Fix incorrect project path resolver | DustinCampbell/omnisharp-roslyn,jtbm37/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,jtbm37/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,nabychan/omnisharp-roslyn,nabychan/omnisharp-roslyn,OmniSharp/omnisharp-roslyn | src/OmniSharp.DotNetTest/Helpers/ProjectPathResolver.cs | src/OmniSharp.DotNetTest/Helpers/ProjectPathResolver.cs | using System.IO;
namespace OmniSharp.DotNetTest.Helpers
{
internal class ProjectPathResolver
{
public static string GetProjectPathFromFile(string filepath)
{
// TODO: revisit this logic, too clumsy
var projectFolder = Path.GetDirectoryName(filepath);
while (... | using System.IO;
namespace OmniSharp.DotNetTest.Helpers
{
internal class ProjectPathResolver
{
public static string GetProjectPathFromFile(string filepath)
{
// TODO: revisit this logic, too clumsy
var projectFolder = Path.GetDirectoryName(filepath);
while (... | mit | C# |
788f8c6ab32401a069648b4ccdc998bd82ca4d95 | Undo breaking change | abjerner/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,abryukhov/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,arknu/Umbraco-CMS,arknu/Umbraco-CMS,umbraco/Umbraco-CMS,abjerner/Umbraco-CMS,umbraco/Umbraco-CMS,arknu/Umbraco-... | src/Umbraco.Web.BackOffice/Install/InstallController.cs | src/Umbraco.Web.BackOffice/Install/InstallController.cs | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.... | using System.Net;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core;
using Umbraco.Cms.Core.Configuration;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.... | mit | C# |
81319ac9588af2cbdc4f9decaf7a21f4e8f21e2e | fix statistic method | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date.Website/Controllers/PublicHolidayApiController.cs | Src/Nager.Date.Website/Controllers/PublicHolidayApiController.cs | using Nager.Date.Website.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Http;
namespace Nager.Date.Website.Controllers
{
[RoutePrefix("api/v1")]
public class PublicHolidayApiController : ApiCon... | using Nager.Date.Website.Model;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Http;
namespace Nager.Date.Website.Controllers
{
[RoutePrefix("api/v1")]
public class PublicHolidayApiController : ApiCon... | mit | C# |
a5f9f8c7e4812ec91922cd1e5834aaba0fa0691b | Remove duplicates from Endpoint mappings. | machine/machine,machine/machine | Source/Extensions/Machine.MassTransitExtensions/MessageEndpointLookup.cs | Source/Extensions/Machine.MassTransitExtensions/MessageEndpointLookup.cs | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Machine.MassTransitExtensions
{
public class MessageEndpointLookup : IMessageEndpointLookup
{
private readonly Dictionary<Type, List<EndpointName>> _map = new Dictionary<Type, List<EndpointName>>();
private readonl... | using System;
using System.Collections.Generic;
using System.Reflection;
namespace Machine.MassTransitExtensions
{
public class MessageEndpointLookup : IMessageEndpointLookup
{
private readonly Dictionary<Type, List<EndpointName>> _map = new Dictionary<Type, List<EndpointName>>();
private readonl... | mit | C# |
322812e5afd0e983ae57988e9b217f6fa69971e1 | Add cache for DotNetBuild #26 | Julien-Mialon/Cake.Storm,Julien-Mialon/Cake.Storm | fluent/src/Cake.Storm.Fluent.DotNetCore/Steps/DotNetBuildStep.cs | fluent/src/Cake.Storm.Fluent.DotNetCore/Steps/DotNetBuildStep.cs | using System.Linq;
using System.Text;
using Cake.Common.IO;
using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Build;
using Cake.Core;
using Cake.Storm.Fluent.DotNetCore.InternalExtensions;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps... | using Cake.Common.IO;
using Cake.Common.Tools.DotNetCore;
using Cake.Common.Tools.DotNetCore.Build;
using Cake.Core;
using Cake.Storm.Fluent.DotNetCore.InternalExtensions;
using Cake.Storm.Fluent.Interfaces;
using Cake.Storm.Fluent.InternalExtensions;
using Cake.Storm.Fluent.Steps;
namespace Cake.Storm.Fluent.DotNetC... | mit | C# |
d72c2d6b33636f1210d27af59aee2b441bbb9b1c | fix my own stupidity | FrankyBoy/ApiDoc,FrankyBoy/ApiDoc | ApiDoc/Models/Leaf.cs | ApiDoc/Models/Leaf.cs | using ApiDoc.Utility;
namespace ApiDoc.Models
{
public class Leaf : Node
{
public string HttpVerb { get; set; }
public bool RequiresAuthentication { get; set; }
public bool RequiresAuthorization { get; set; }
public string SampleRequest { get; set; }
public string Sampl... | using ApiDoc.Utility;
namespace ApiDoc.Models
{
public class Leaf : Node
{
public string HttpVerb { get; set; }
public bool RequiresAuthentication { get; set; }
public bool RequiresAuthorization { get; set; }
public string SampleRequest { get; set; }
public string Sampl... | apache-2.0 | C# |
e0fd0bd7f2a2b24ca00cf8d836b217909213c4b0 | add Test_run() | yasokada/unity-150908-udpTimeGraph | Assets/Test_weekly.cs | Assets/Test_weekly.cs | using UnityEngine;
using System.Collections;
public class Test_weekly : MonoBehaviour {
enum xscaletype {
Daily = 0,
Weekly,
Monthly,
Yearly,
};
[Range((int)xscaletype.Daily, (int)xscaletype.Yearly)]
public int xtype = 0;
void Test_addData() {
string [] dts = new string[]{
"2015/09/07 12:30",
... | using UnityEngine;
using System.Collections;
public class Test_weekly : MonoBehaviour {
enum xscaletype {
Daily = 0,
Weekly,
Monthly,
Yearly,
};
[Range((int)xscaletype.Daily, (int)xscaletype.Yearly)]
public int xtype = 0;
static public void Test_addWeeklyData() {
string [] dts = new string[]{
"2... | mit | C# |
2b1c5b2c4a11ffbafbf3fb0361647527de2baaac | Fix test failure due to triangle skin no longer being null intests | peppy/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs | osu.Game.Tests/Visual/Gameplay/SkinnableHUDComponentTestScene.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.Game.Skinning;
namespace osu.Game.Tests.Visual.Gamep... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
namespace osu.Game.Tests.Visual.Gameplay
{
... | mit | C# |
44212f6b534f75cb4ad937dde474652a72454902 | Revert "the wrong id was used for getting the correct destination url." | tcmorris/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,hfloyd/Umbraco-CMS,hfloyd/Umbraco-CMS,marcemarc/Umbraco-CMS,abjerner/Umbraco-CMS,KevinJump/Umbraco-CMS,leekelleher/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,bjarnef/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marce... | src/Umbraco.Web/Models/Mapping/RedirectUrlMapperProfile.cs | src/Umbraco.Web/Models/Mapping/RedirectUrlMapperProfile.cs | using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Composing;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Routing;
namespace Umbraco.Web.Models.Mapping
{
internal class RedirectUrlMapperProfile : Profile
{
public RedirectUrlMapperProfile(IUmbracoContextAccessor umbracoConte... | using AutoMapper;
using Umbraco.Core.Models;
using Umbraco.Web.Composing;
using Umbraco.Web.Models.ContentEditing;
using Umbraco.Web.Routing;
namespace Umbraco.Web.Models.Mapping
{
internal class RedirectUrlMapperProfile : Profile
{
public RedirectUrlMapperProfile(IUmbracoContextAccessor umbracoConte... | mit | C# |
6fd10d0bf26739a85e9e2d500f2501fff0a4e1eb | Print usage when parsing did not go right. | SharpNative/CSharpLLVM,SharpNative/CSharpLLVM | CSharpLLVM/Program.cs | CSharpLLVM/Program.cs | using CommandLine;
using CSharpLLVM.Compilation;
using System;
using System.IO;
namespace CSharpLLVM
{
class Program
{
/// <summary>
/// Entrypoint.
/// </summary>
/// <param name="args">Arguments.</param>
static void Main(string[] args)
{
Options op... | using CommandLine;
using CSharpLLVM.Compilation;
using System.IO;
namespace CSharpLLVM
{
class Program
{
/// <summary>
/// Entrypoint.
/// </summary>
/// <param name="args">Arguments.</param>
static void Main(string[] args)
{
Options options = new Op... | mit | C# |
cb5f89bff40b37fbafad334ad87972c53c8020e1 | exclude "2" | ulrichb/NullGuard,shana/NullGuard,Fody/NullGuard | Tests/LargeAssemblyTest.cs | Tests/LargeAssemblyTest.cs | using System;
using System.Diagnostics;
using System.IO;
using Mono.Cecil;
using NUnit.Framework;
[TestFixture]
public class LargeAssemblyTest
{
[Test]
[Ignore]
public void Run()
{
foreach (var assemblyPath in Directory.EnumerateFiles(Environment.CurrentDirectory, "*.dll"))
{
if (assemblyPath.Contains("Ass... | using System;
using System.Diagnostics;
using System.IO;
using Mono.Cecil;
using NUnit.Framework;
[TestFixture]
public class LargeAssemblyTest
{
[Test]
[Ignore]
public void Run()
{
foreach (var assemblyPath in Directory.EnumerateFiles(Environment.CurrentDirectory, "*.dll"))
{
if (assemblyPath.Contains("Ass... | mit | C# |
c29545e6cd355ae8783f6473bb698412bdabedf0 | add docs, ctor overload to specify time server | Pondidum/RabbitHarness,Pondidum/RabbitHarness | RabbitHarness/NetworkTime.cs | RabbitHarness/NetworkTime.cs | using System;
using System.Net;
using System.Net.Sockets;
using RabbitMQ.Client;
namespace RabbitHarness
{
public class NetworkTime
{
public static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, 0);
private readonly string _ntpServer;
/// <summary>
/// Uses <code>pool.ntp.org</code> by defaul... | using System;
using System.Net;
using System.Net.Sockets;
using RabbitMQ.Client;
namespace RabbitHarness
{
public class NetworkTime
{
public static readonly DateTime Epoch = new DateTime(1970, 1, 1, 0, 0, 0, 0);
//http://stackoverflow.com/questions/1193955
public DateTime GetNetworkTime()
{
//default Wi... | lgpl-2.1 | C# |
3002c8bf3be7af094f5655e3091e9255cd469f99 | fix receive timeout | vforteli/RadiusServer | RadiusClient/RadiusClient.cs | RadiusClient/RadiusClient.cs | using Flexinets.Radius.Core;
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace Flexinets.Radius
{
public class RadiusClient
{
private readonly IPEndPoint _localEndpoint;
private readonly RadiusDictionary _dictionary;
/// <summary>
... | using Flexinets.Radius.Core;
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace Flexinets.Radius
{
public class RadiusClient
{
private readonly UdpClient _udpClient;
private readonly RadiusDictionary _dictionary;
p... | mit | C# |
869042b058cf33136a9bd33f3c28a8411f5e70e7 | remove dangerous function | sebas77/Svelto.ECS,sebas77/Svelto-ECS | Svelto.ECS/EGID.cs | Svelto.ECS/EGID.cs | using Svelto.ECS.Internal;
namespace Svelto.ECS
{
public struct EGID
{
long _GID;
public long GID
{
get { return _GID; }
}
public int entityID
{
get { return (int) (_GID & 0xFFFFFFFF); }
}
public ... | using Svelto.ECS.Internal;
namespace Svelto.ECS
{
public struct EGID
{
long _GID;
public long GID
{
get { return _GID; }
}
public int entityID
{
get { return (int) (_GID & 0xFFFFFFFF); }
}
public ... | mit | C# |
1f0df0080ad69a31d894f738ad60f39e9bd85fca | Add request and 'methodresponse' type in JSON body to account for other response types using the WebSocket APIs | faint32/snowflake-1,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake | Snowflake/Ajax/JSResponse.cs | Snowflake/Ajax/JSResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Snowflake.Ajax
{
public class JSResponse : IJSResponse
{
public IJSRequest Request { get; private set; }
public dynamic Payload { get; private se... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Snowflake.Ajax
{
public class JSResponse : IJSResponse
{
public IJSRequest Request { get; private set; }
public dynamic Payload { get; private se... | mpl-2.0 | C# |
f2be4cf658a5ac82a2eeebe1d9905840d63e0843 | Fix Postgres Decimal | KaraokeStu/fluentmigrator,daniellee/fluentmigrator,swalters/fluentmigrator,bluefalcon/fluentmigrator,dealproc/fluentmigrator,spaccabit/fluentmigrator,mstancombe/fluentmig,DefiSolutions/fluentmigrator,fluentmigrator/fluentmigrator,istaheev/fluentmigrator,akema-fr/fluentmigrator,tohagan/fluentmigrator,swalters/fluentmigr... | src/FluentMigrator.Runner/Generators/Postgres/PostgresTypeMap.cs | src/FluentMigrator.Runner/Generators/Postgres/PostgresTypeMap.cs | using System.Data;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.Postgres
{
internal class PostgresTypeMap : TypeMapBase
{
private const int DecimalCapacity = 1000;
private const int PostgresMaxVarcharSize = 10485760;
protected override void S... | using System.Data;
using FluentMigrator.Runner.Generators.Base;
namespace FluentMigrator.Runner.Generators.Postgres
{
internal class PostgresTypeMap : TypeMapBase
{
private const int DecimalCapacity = 1000;
private const int PostgresMaxVarcharSize = 10485760;
protected override void S... | apache-2.0 | C# |
c47344a5c6d8a16606d642ef22036a7e65726d2c | Remove duplicate code | sergeyshushlyapin/Sitecore.FakeDb,pveller/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb | src/Sitecore.FakeDb/Data/Engines/DataCommands/MoveItemCommand.cs | src/Sitecore.FakeDb/Data/Engines/DataCommands/MoveItemCommand.cs | namespace Sitecore.FakeDb.Data.Engines.DataCommands
{
using Sitecore.Diagnostics;
public class MoveItemCommand : Sitecore.Data.Engines.DataCommands.MoveItemCommand, IDataEngineCommand
{
private readonly DataEngineCommand innerCommand = new DataEngineCommand();
public virtual void Initialize(DataStorage... | namespace Sitecore.FakeDb.Data.Engines.DataCommands
{
using Sitecore.Diagnostics;
public class MoveItemCommand : Sitecore.Data.Engines.DataCommands.MoveItemCommand, IDataEngineCommand
{
private readonly DataEngineCommand innerCommand = new DataEngineCommand();
public virtual void Initialize(DataStorage... | mit | C# |
12f407ce302dbe304fbb0ee43ecbe621a3db57c8 | Change up the namespace | awseward/restivus | src/Restivus/Serilog/SerilogExtensions.cs | src/Restivus/Serilog/SerilogExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using Restivus;
namespace Serilog.Restivus
{
public static class SerilogExtensions
{
public static LoggerConfiguration FilterRequest... | using Serilog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Restivus.Serilog
{
public static class SerilogExtensions
{
public static LoggerConfiguration FilterRequestQ... | mit | C# |
ee3a3de754839c8ab070144566ac3651b9802a3d | Update EmailSender.cs | Narvalex/SimpleEmailSender,Narvalex/SimpleEmailSender | src/SimpleEmailSender.Core/EmailSender.cs | src/SimpleEmailSender.Core/EmailSender.cs | using Eventing.Utils;
using System;
using System.Linq;
using System.Net.Mail;
namespace SimpleEmailSender
{
public class EmailSender : IEmailSender
{
private readonly Func<SmtpClient> smtpClientFactory;
public EmailSender(string host, int port, bool enableSsl = false)
: this(() => ... | using Eventing.Utils;
using System;
using System.Linq;
using System.Net.Mail;
namespace SimpleEmailSender
{
public class EmailSender : IEmailSender
{
private readonly Func<SmtpClient> smtpClientFactory;
public EmailSender(string host, int port, bool enableSsl = false)
: this(() =>... | mit | C# |
847d08c5bbb958b3df90cd76a3bb927c56c2e35a | Change version number for breaking change. | digipost/digipost-api-client-dotnet | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
[assembly: AssemblyVersion("6.2.*")]
[assembly: AssemblyFileVersion("6.2.*")] | using System.Reflection;
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
[assembly: AssemblyVersion("6.1.*")]
[assembly: AssemblyFileVersion("6.1.*")] | apache-2.0 | C# |
c3c0677d4f07bb97e08b96d1b63c96192ae62e9f | Fix Bundle pietimer.min | Arionildo/Quiz-CWI,Arionildo/Quiz-CWI,Arionildo/Quiz-CWI | Quiz/Quiz.Web/App_Start/BundleConfig.cs | Quiz/Quiz.Web/App_Start/BundleConfig.cs | using System.Web;
using System.Web.Optimization;
namespace Quiz.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBu... | using System.Web;
using System.Web.Optimization;
namespace Quiz.Web
{
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBu... | mit | C# |
2e86bd44dd8dcb71c305b96ac51bbfa0d6fe6867 | Fix warnings | devlights/try-csharp | TryCSharp.Tools.Cui/CuiOutputManager.cs | TryCSharp.Tools.Cui/CuiOutputManager.cs | using System;
using System.IO;
using TryCSharp.Common;
namespace TryCSharp.Tools.Cui
{
/// <summary>
/// CUIアプリでの出力を管理するクラスです。
/// </summary>
public class CuiOutputManager : IOutputManager
{
/// <summary>
/// 指定されたデータを出力します。(改行付与無し)
/// </summary>
/// <param name="d... | using System;
using System.IO;
using TryCSharp.Common;
namespace TryCSharp.Tools.Cui
{
/// <summary>
/// CUIアプリでの出力を管理するクラスです。
/// </summary>
public class CuiOutputManager : IOutputManager
{
/// <summary>
/// 指定されたデータを出力します。(改行付与無し)
/// </summary>
/// <param name="d... | mit | C# |
fccfd12d3f5e96cb48f437c6dc31f9996087e536 | Fix unit test | DaveSenn/Extend | PortableExtensions.Testing/System.Object/Convert/Object.ToDecimal.Test.cs | PortableExtensions.Testing/System.Object/Convert/Object.ToDecimal.Test.cs | #region Usings
using System;
using System.Globalization;
using System.Threading;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class ObjectExTest
{
[Test]
public void ToDecimalTestCase ()
{
Thread.CurrentThread.C... | #region Usings
using System;
using System.Globalization;
using NUnit.Framework;
#endregion
namespace PortableExtensions.Testing
{
[TestFixture]
public partial class ObjectExTest
{
[Test]
public void ToDecimalTestCase ()
{
var expected = new Decimal( 100.12 );
... | mit | C# |
7d3325b35580c30193f2d1c7c600f267c4320969 | Add DecryptionInProgress for EncryptionStatus enum | jtlibing/azure-powershell,krkhan/azure-powershell,pankajsn/azure-powershell,arcadiahlyy/azure-powershell,AzureRT/azure-powershell,yantang-msft/azure-powershell,hungmai-msft/azure-powershell,nemanja88/azure-powershell,AzureAutomationTeam/azure-powershell,seanbamsft/azure-powershell,AzureAutomationTeam/azure-powershell,d... | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs | src/ResourceManager/Compute/Commands.Compute/Models/AzureDiskEncryptionStatusContext.cs | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apa... | apache-2.0 | C# |
10dc8c531b0240b6d911277548ca51c485793eae | Update contacts sample for RequestPermission | xamarin/Xamarin.Mobile,xamarin/Xamarin.Mobile,orand/Xamarin.Mobile,nexussays/Xamarin.Mobile,haithemaraissia/Xamarin.Mobile,moljac/Xamarin.Mobile | WindowsPhone/Samples/ContactsSample/MainPageViewModel.cs | WindowsPhone/Samples/ContactsSample/MainPageViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Media.Imaging;
using Xamarin.Contacts;
using System.Threading.Tasks;
namespace ContactsSample
{
public class MainPageViewModel
: INotifyPropertyChanged
{
public MainPageViewModel()
{
Setup()... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Media.Imaging;
using Xamarin.Contacts;
namespace ContactsSample
{
public class MainPageViewModel
: INotifyPropertyChanged
{
public MainPageViewModel()
{
Contact = Contacts.First();
}
pu... | apache-2.0 | C# |
7c14208f79310e06ca60581f786059cec2945007 | Add Gateball option to top navigation bar | croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/croquet-australia-website,croquet-australia/website-application,croquet-australia/croquet-australia.com.au,croquet-australia/website-application,croquet-australia/croquet-austra... | source/CroquetAustralia.Website/app/Infrastructure/PublicNavigationBar.cs | source/CroquetAustralia.Website/app/Infrastructure/PublicNavigationBar.cs | using System.Collections.Generic;
namespace CroquetAustralia.Website.App.Infrastructure
{
public static class PublicNavigationBar
{
public static IEnumerable<NavigationItem> GetNavigationItems()
{
return new[]
{
new NavigationItem("Contact Us",
... | using System.Collections.Generic;
namespace CroquetAustralia.Website.App.Infrastructure
{
public static class PublicNavigationBar
{
public static IEnumerable<NavigationItem> GetNavigationItems()
{
return new[]
{
new NavigationItem("Contact Us",
... | mit | C# |
c9be768be36aa319c0f01fc89b9f8d651c50cedd | Add analytics event for package rate | opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API | CkanDotNet.Web/Views/Shared/_Rating.cshtml | CkanDotNet.Web/Views/Shared/_Rating.cshtml | @using CkanDotNet.Api.Model
@using CkanDotNet.Web.Models
@using CkanDotNet.Web.Models.Helpers
@model Package
@{
bool editable = Convert.ToBoolean(ViewData["editable"]);
string ratingId = GuidHelper.GetUniqueKey(16);
}
@if (Model.RatingsAverage.HasValue || editable)
{
<div id="@ratingId" class="rating">
@... | @using CkanDotNet.Api.Model
@using CkanDotNet.Web.Models
@using CkanDotNet.Web.Models.Helpers
@model Package
@{
bool editable = Convert.ToBoolean(ViewData["editable"]);
string ratingId = GuidHelper.GetUniqueKey(16);
}
@if (Model.RatingsAverage.HasValue || editable)
{
<div id="@ratingId" class="rating">
@... | apache-2.0 | C# |
d8a906b448fe9f56163b4a3c4797b5019f3baa2f | Check if status label is constructed before executing update | ethanmoffat/EndlessClient | EndlessClient/UIControls/StatusBarLabel.cs | EndlessClient/UIControls/StatusBarLabel.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EndlessClient.HUD;
using EOLib;
using Microsoft.Xna.Framework;
using XNAControls;
namespace EndlessClient.UIControls
{
public class StatusBarLabe... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using System;
using EndlessClient.HUD;
using EOLib;
using Microsoft.Xna.Framework;
using XNAControls;
namespace EndlessClient.UIControls
{
public class StatusBarLabe... | mit | C# |
76212a33067cc786fca9979d8aa5c65f84e1fea7 | Fix settings file load issue | Mpstark/articulate,BrunoBrux/ArticulateDVS | Articulate/Settings/Settings.cs | Articulate/Settings/Settings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Diagnostics;
namespace Articulate
{
[Serializable]
public class Settings
{
public Settings()
{
// Initialize default settings
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Xml.Serialization;
using System.Diagnostics;
namespace Articulate
{
[Serializable]
public class Settings
{
public Settings()
{
// Initialize default settings
... | mit | C# |
0b51f66cd087eb0783da43fec8888b756d9f8449 | Switch to using ITorrentDetails instead of TorrentDetails for added torrent response type. This results in a null. Return type must be concrete. | dipeshc/BTDeploy | BTDeploy/Client.Commands/Add.cs | BTDeploy/Client.Commands/Add.cs | using ServiceStack.Service;
using ServiceStack.Common.Web;
using System.IO;
using BTDeploy.ServiceDaemon.TorrentClients;
using BTDeploy.ServiceDaemon;
using System.Linq;
using System.Threading;
using System;
using ServiceStack.ServiceClient.Web;
namespace BTDeploy.Client.Commands
{
public class Add : GeneralConsoleCo... | using ServiceStack.Service;
using ServiceStack.Common.Web;
using System.IO;
using BTDeploy.ServiceDaemon.TorrentClients;
using BTDeploy.ServiceDaemon;
using System.Linq;
using System.Threading;
using System;
using ServiceStack.ServiceClient.Web;
namespace BTDeploy.Client.Commands
{
public class Add : GeneralConsoleCo... | mit | C# |
06cbae1c8366d35deb32d9d512ce58b34ab1e95e | Update RemoveMember.cs | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | iam/api/Access/RemoveMember.cs | iam/api/Access/RemoveMember.cs | // Copyright 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2018 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | C# |
7d87a052bf6dd62bee85a5938f8858c973ae4bc4 | Change Pivorama Icon | pellea/waslibs,janabimustafa/waslibs,janabimustafa/waslibs,wasteam/waslibs,janabimustafa/waslibs,wasteam/waslibs,wasteam/waslibs,pellea/waslibs,pellea/waslibs | samples/AppStudio.Uwp.Samples/Pages/Pivorama/PivoramaPage.xaml.cs | samples/AppStudio.Uwp.Samples/Pages/Pivorama/PivoramaPage.xaml.cs | using System;
using System.Collections.ObjectModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace AppStudio.Uwp.Samples
{
[SamplePage(Category = "Layout", Name = "Pivorama", Order = 10)]
public sealed partial class PivoramaPage : SamplePage
{
p... | using System;
using System.Collections.ObjectModel;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
namespace AppStudio.Uwp.Samples
{
[SamplePage(Category = "Layout", Name = "Pivorama", IconPath = "ms-appx:///Assets/Icons/Pivorama.png", Order = 10)]
public sealed part... | mit | C# |
0034c7a8eef8928961a70c3cf219a99a78167267 | Handle ObjectDisposedException just in case we do end up trying to read properties of a closed message | Microsoft/ApplicationInsights-SDK-Labs | WCF/Shared/Implementation/WcfExtensions.cs | WCF/Shared/Implementation/WcfExtensions.cs | using System;
using System.ServiceModel.Channels;
namespace Microsoft.ApplicationInsights.Wcf.Implementation
{
internal static class WcfExtensions
{
public static HttpRequestMessageProperty GetHttpRequestHeaders(this IOperationContext operation)
{
try
{
... | using System;
using System.ServiceModel.Channels;
namespace Microsoft.ApplicationInsights.Wcf.Implementation
{
internal static class WcfExtensions
{
public static HttpRequestMessageProperty GetHttpRequestHeaders(this IOperationContext operation)
{
if ( operation.HasIncomingMessageP... | mit | C# |
6fff15fe69eedf7feee0424f728a9c2b1f0a702a | Fix GetSimplestName() | chkn/Tempest | Desktop/Tempest/TypeExtensions.cs | Desktop/Tempest/TypeExtensions.cs | //
// TypeExtensions.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2011-2013 Eric Maupin
//
// 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, inc... | //
// TypeExtensions.cs
//
// Author:
// Eric Maupin <me@ermau.com>
//
// Copyright (c) 2011-2013 Eric Maupin
//
// 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, inc... | mit | C# |
bb0f07ea52e8814296aeb2283cf75674c382e402 | Delete TODO from ByteArrayHelpers (#27806) | shimingsg/corefx,Jiayili1/corefx,Jiayili1/corefx,ViktorHofer/corefx,Jiayili1/corefx,shimingsg/corefx,wtgodbe/corefx,ericstj/corefx,mmitche/corefx,ericstj/corefx,ptoonen/corefx,mmitche/corefx,ViktorHofer/corefx,mmitche/corefx,ericstj/corefx,ericstj/corefx,wtgodbe/corefx,mmitche/corefx,Jiayili1/corefx,BrennanConroy/coref... | src/System.Net.Http/src/System/Net/Http/ByteArrayHelpers.cs | src/System.Net.Http/src/System/Net/Http/ByteArrayHelpers.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.Diagnostics;
namespace System
{
internal static class ByteArrayHelpers
{
internal sta... | // 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.Diagnostics;
namespace System
{
internal static class ByteArrayHelpers
{
// TODO #213... | mit | C# |
cc3f85b419b109e48cc629094e78cb70463d2514 | Add Reason of Disconnection | Michitaro-Naito/GameServer | GameServer/Lobby/Lobby_Utility.cs | GameServer/Lobby/Lobby_Utility.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameServer
{
partial class Lobby
{
/// <summary>
/// Kicks Player from this server.
/// </summary>
/// <param name="userId"></param>
void Kick(s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameServer
{
partial class Lobby
{
/// <summary>
/// Kicks Player from this server.
/// </summary>
/// <param name="userId"></param>
void Kick(s... | mit | C# |
428a978a852e26c7574f252c6035daadfd0a2f90 | Update Immutability | axelheer/nein-math | test/NeinMath.Tests/Immutability.cs | test/NeinMath.Tests/Immutability.cs | using System;
using Xunit;
namespace NeinMath.Tests
{
public static class Immutability
{
public static IDisposable Guard<T>(T v0)
{
return new ImmutabilityGuard<T>(v0);
}
public static IDisposable Guard<T>(T v0, T v1)
{
return new ImmutabilityGu... | using System;
using Xunit;
namespace NeinMath.Tests
{
public sealed class Immutability : IDisposable
{
readonly Integer left;
readonly Integer right;
readonly Integer other;
readonly string leftValue;
readonly string rightValue;
readonly string otherValue;
... | mit | C# |
4e462cdc8683c4848b161d3986bf17fce86567da | Fix #22 | monkey3310/netcore-teamcity-api | NetCoreTeamCity/Api/TeamCity.cs | NetCoreTeamCity/Api/TeamCity.cs | using NetCoreTeamCity.Clients;
using NetCoreTeamCity.Services;
namespace NetCoreTeamCity.Api
{
public class TeamCity : ITeamCity
{
public TeamCity(string host, string userName, string password, bool usingSSL = true)
{
var connectionConfig = new TeamCityConnectionSettingsBuilder().T... | using NetCoreTeamCity.Clients;
using NetCoreTeamCity.Services;
namespace NetCoreTeamCity.Api
{
public class TeamCity : ITeamCity
{
public TeamCity(string host, string userName, string password, bool usingSSL = true)
{
var connectionConfig = new TeamCityConnectionSettingsBuilder().T... | mit | C# |
cb1e88d26fab2a7472ac051543540ed801adf299 | Test console Run method updated | mecitsem/hashtagbot,mecitsem/hashtagbot,mecitsem/Arf-HashtagBot,mecitsem/hashtagbot,mecitsem/Arf-HashtagBot | HashtagBot/Arf.Console/Program.cs | HashtagBot/Arf.Console/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arf.Services;
using Microsoft.ProjectOxford.Vision.Contract;
namespace Arf.Console
{
class Program
{
public static bool IsProcessing;
public static void Main(string[] args)... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Arf.Services;
using Microsoft.ProjectOxford.Vision.Contract;
namespace Arf.Console
{
class Program
{
public static bool IsProcessing;
public static void Main(string[] args)... | mit | C# |
2a92639712cc38230d2ee8174edfc31263f74c9d | Add layer mask support to GetEncapsBounds. | jorgenpt/unity-utilities | Plugins/GameObjectExtensions.cs | Plugins/GameObjectExtensions.cs | using UnityEngine;
using System.Linq;
namespace ExtensionMethods
{
public static class GameObjectExtensions
{
public static int RecursiveLayerMask(this GameObject go)
{
LayerMask mask = 1 << go.layer;
foreach (Transform t in go.transform)
{
mask |= t.gameObject.RecursiveLayerMask ();
}
return ... | using UnityEngine;
namespace ExtensionMethods
{
public static class GameObjectExtensions
{
public static int RecursiveLayerMask(this GameObject go)
{
LayerMask mask = 1 << go.layer;
foreach (Transform t in go.transform)
{
mask |= t.gameObject.RecursiveLayerMask ();
}
return mask;
}
public... | mit | C# |
f9492a2fe7e398366c0f697e634e01ee95e62141 | Make debugging output show up on release builds | godarklight/DarkMultiPlayer,81ninja/DarkMultiPlayer,Dan-Shields/DarkMultiPlayer,rewdmister4/rewd-mod-packs,dsonbill/DarkMultiPlayer,Kerbas-ad-astra/DarkMultiPlayer,Sanmilie/DarkMultiPlayer,RockyTV/DarkMultiPlayer,RockyTV/DarkMultiPlayer,godarklight/DarkMultiPlayer,81ninja/DarkMultiPlayer | Server/Log.cs | Server/Log.cs | using System;
namespace DarkMultiPlayerServer
{
public class DarkLog
{
public static void Debug(string message)
{
float currentTime = Server.serverClock.ElapsedMilliseconds / 1000f;
Console.WriteLine("[" + currentTime + "] Debug: " + message);
}
public st... | using System;
namespace DarkMultiPlayerServer
{
public class DarkLog
{
public static void Debug(string message)
{
#if DEBUG
float currentTime = Server.serverClock.ElapsedMilliseconds / 1000f;
Console.WriteLine("[" + currentTime + "] Debug: " + message);
#endif
}
... | mit | C# |
bec7051da0989499aff000a8ee5bbf901f863d0f | fix QueryUtils bug | oelite/RESTme | OElite.Restme.Utils/QueryUtils.cs | OElite.Restme.Utils/QueryUtils.cs | using System.Collections.Generic;
using System.Net;
namespace OElite
{
public static class QueryUtils
{
public static Dictionary<string, string> IdentifyQueryParams(this string value, bool noQuestionMark = false)
{
Dictionary<string, string> result = new Dictionary<string, string>(... | using System.Collections.Generic;
using System.Net;
namespace OElite
{
public static class QueryUtils
{
public static Dictionary<string, string> IdentifyQueryParams(this string value)
{
Dictionary<string, string> result = new Dictionary<string, string>();
var paramIndex... | mit | C# |
111eb0c139938fbf3ffbbf88254eee29d64793a1 | Remove gradient clipping background | mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterC... | PartPreviewWindow/OverflowMenu.cs | PartPreviewWindow/OverflowMenu.cs | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | /*
Copyright (c) 2017, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | bsd-2-clause | C# |
843b268c741368779c60ec5f607ca1ffcd4f66e6 | Remove RandomTrace stuff from Main | lou1306/CIV,lou1306/CIV | CIV/Program.cs | CIV/Program.cs | using static System.Console;
using CIV.Ccs;
using CIV.Hml;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var hmlText = "[[ack]][[ack]][[ack]](<<ack>>tt and [[freeAll]]... | using static System.Console;
using CIV.Ccs;
using CIV.Interfaces;
namespace CIV
{
class Program
{
static void Main(string[] args)
{
var text = System.IO.File.ReadAllText(args[0]);
var processes = CcsFacade.ParseAll(text);
var trace = CcsFacade.RandomTrace(processes["... | mit | C# |
70c20db82949c86f84f5d32f6c4af2282c353a59 | Update PvcSqlTests.cs | robbihun/pvc-sql | tests/Pvc.Sql.Tests/PvcSqlTests.cs | tests/Pvc.Sql.Tests/PvcSqlTests.cs | using NUnit.Framework;
using PvcPlugins;
using System;
using System.Linq;
namespace Pvc.Sql.Tests
{
[TestFixture]
public class PvcSqlTests
{
[Test]
public void CanExecuteSqlScript()
{
var pvc = new PvcCore.Pvc();
var source = pvc.Source("*.sql");
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Mime;
using System.Runtime.Remoting.Contexts;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using PvcCore;
using PvcPlugins;
namespace Pvc.Sql.Tests
{
[TestFixture]
public class PvcSq... | apache-2.0 | C# |
7fd1652a36e20618c0904bd89f53afbd857a2dd0 | Update ApiConnection.cs | shopdoktor/shopware-csharp-api-connector,hkcomputer/shopware-csharp-api-connector | ShopwareApiTests/ApiConnection.cs | ShopwareApiTests/ApiConnection.cs | using Lenz.ShopwareApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopwareApiTests
{
class ApiConnection
{
public static ShopwareApi getDemoApi()
{
// URL, USERNAME, API-KEY
ShopwareApi ... | using Lenz.ShopwareApi;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopwareApiTests
{
class ApiConnection
{
public static ShopwareApi getDemoApi()
{
// URL, USERNAME, API-KEY
ShopwareApi ... | mit | C# |
d9ca9e51170113f5ca7194cd3267851631feb91f | add reference to dll | sebastus/AzureFunctionForSplunk | shared/obRelay.csx | shared/obRelay.csx | #r "Microsoft.Azure.Relay"
#load "newEvent.csx"
#load "getEnvironmentVariable.csx"
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Relay;
public static async Task obRelay(string[] standardizedEvents, TraceWriter log)
{
string newClient... | #load "newEvent.csx"
#load "getEnvironmentVariable.csx"
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Relay;
public static async Task obRelay(string[] standardizedEvents, TraceWriter log)
{
string newClientContent = "[";
foreach ... | mit | C# |
4e87d2eedf9be13d588540cc768114a8c3a4ed7f | Update version. | JetStream96/MinMaxHeap | src/MinMaxHeap/Properties/AssemblyInfo.cs | src/MinMaxHeap/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("MinMaxHeap")]
[assembly: AssemblyDescript... | 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("MinMaxHeap")]
[assembly: AssemblyDescript... | unlicense | C# |
c9766565616d90b2f4ff5b76a01c06bcae60d877 | Fix typo in example comment. | andrewdavey/postal,ajbeaven/postal,hermanho/postal,andrewdavey/postal,vip32/postal,Lybecker/postal | src/MvcSample/Views/Emails/Example.cshtml | src/MvcSample/Views/Emails/Example.cshtml | To: @Model.To
From: example@website.com
Reply-To: another@website.com
Subject: @Model.Subject
@* NOTE: There MUST be a blank line after the headers and before the content. *@
Hello,
This email was generated using Postal for asp.net mvc on @Model.Date.ToShortDateString()
Message follows:
@Model.Message
Tha... | To: @Model.To
From: example@website.com
Reply-To: another@website.com
Subject: @Model.Subject
@* NOTE: There MUST be a blank like after the headers and before the content. *@
Hello,
This email was generated using Postal for asp.net mvc on @Model.Date.ToShortDateString()
Message follows:
@Model.Message
Tha... | mit | C# |
b7d9074b6857300d0540d1ce381a271d0666e0ea | Update TempRepoContext.cs | Particular/SyncOMatic | src/Tests/TempRepoContext.cs | src/Tests/TempRepoContext.cs | using System;
using System.Threading.Tasks;
using Octokit;
public class TempRepoContext :
IAsyncDisposable
{
Reference tempBranchReference;
public string TempBranchName;
string tempBranchRefName;
TempRepoContext(Reference tempBranchReference, string tempBranchName, string tempBranchRefName)
{... | using System;
using System.Linq;
using System.Threading.Tasks;
using Octokit;
public class TempRepoContext :
IAsyncDisposable
{
Reference tempBranchReference;
public string TempBranchName;
string tempBranchRefName;
TempRepoContext(Reference tempBranchReference, string tempBranchName, string tempB... | mit | C# |
e649f339853762efea035ab4c4d3a58f94832352 | Add Guard.Ensure | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Guard.cs | src/WeihanLi.Common/Guard.cs | using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace WeihanLi.Common;
public static class Guard
{
public static T NotNull<T>([NotNull] T? t,
[CallerArgumentExpression("t")]
string? paramName = default)
{
#if NET6_0_OR_GREATER
ArgumentNullExcep... | using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
namespace WeihanLi.Common;
public static class Guard
{
public static T NotNull<T>([NotNull] T? t,
[CallerArgumentExpression("t")]
string? paramName = default)
{
#if NET6_0_OR_GREATER
ArgumentNullExcep... | mit | C# |
48f97f33e745e92e8cdd50844d411f971fe26540 | Update XTemplates.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D | src/Core2D/Collections/XTemplates.cs | src/Core2D/Collections/XTemplates.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Project;
namespace Core2D.Collections
{
/// <summary>
/// Observab... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Immutable;
using Core2D.Attributes;
using Core2D.Project;
namespace Core2D.Collections
{
/// <summary>
/// Observab... | mit | C# |
ba15d915e5451db158eb93baf3f8d1ce741be7e8 | 更新.net 4.5项目的版本号 | JeffreySu/WxOpen,JeffreySu/WxOpen | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | src/Senparc.Weixin.WxOpen/Senparc.Weixin.WxOpen/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin.WxOpen")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: ... | apache-2.0 | C# |
8f6b061300faa9d67d9e841dbc0e5c7b01974923 | Fix - cambiato oggetto notifica update enti | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs | src/backend/SO115App.SignalR/Sender/GestioneEnti/NotificationUpdateEnte.cs | using CQRS.Queries;
using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte;
using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
using SO115App.Mode... | using CQRS.Queries;
using Microsoft.AspNetCore.SignalR;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.CQRS.Commands.GestioneRubrica.Enti.UpdateEnte;
using SO115App.Models.Servizi.CQRS.Queries.GestioneRubrica;
using SO115App.Models.Servizi.Infrastruttura.GestioneRubrica.Enti;
using SO115App.Mode... | agpl-3.0 | C# |
c087a0c038bb43bc44589be9021d2411a1937a1c | update lib version | levid-gc/IdentityServer3.Dapper | source/IdentityServer3.Dapper/Properties/AssemblyInfo.cs | source/IdentityServer3.Dapper/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("Ide... | 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("Ide... | apache-2.0 | C# |
0293494020c2890550baca1b82818b5d38e7c16a | Add new overload SetData() in IndexBuffer class. | weelihl/sharpgl | source/SharpGL/Core/SharpGL/VertexBuffers/IndexBuffer.cs | source/SharpGL/Core/SharpGL/VertexBuffers/IndexBuffer.cs | namespace SharpGL.VertexBuffers
{
public class IndexBuffer
{
public void Create(OpenGL gl)
{
// Generate the vertex array.
uint[] ids = new uint[1];
gl.GenBuffers(1, ids);
bufferObject = ids[0];
}
public void SetData(OpenGL gl, us... | namespace SharpGL.VertexBuffers
{
public class IndexBuffer
{
public void Create(OpenGL gl)
{
// Generate the vertex array.
uint[] ids = new uint[1];
gl.GenBuffers(1, ids);
bufferObject = ids[0];
}
public void SetData(OpenGL gl, us... | mit | C# |
f4e9fc6e2e1e9cde68a1433f7a59eddff9ee3c48 | Use command-line arguments | martincostello/api,martincostello/api,martincostello/api | src/API/Program.cs | src/API/Program.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="Program.cs" company="https://martincostello.com/">
// Martin Costello (c) 2016
// </copyright>
// <summary>
// Program.cs
// </summary>
// ------------------------------------... | mit | C# |
4f002f793bc19bcafb5298c398663e7a6bc185e3 | fix the infobox for fullscreen | Sanva/f-spot,mono/f-spot,Sanva/f-spot,dkoeb/f-spot,NguyenMatthieu/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,Yetangitu/f-spot,mans0954/f-spot,Sanva/f-spot,mans0954/f-spot,NguyenMatthieu/f-spot,dkoeb/f-spot,Yetangitu/f-spot,dkoeb/f-spot,dkoeb/f-spot,mans0954/f-spot,dkoeb/f-spot,mono/f-spot,dkoeb/f-spot,natha... | src/InfoOverlay.cs | src/InfoOverlay.cs | /*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
using FSpot.Widgets;
namespace FSpot {
public class InfoItem : InfoBox {
BrowsablePointer item;
public InfoItem (BrowsablePointer item)
{
this.item = item;
it... | /*
* Copyright 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
*
* See COPYING for license information.
*
*/
using Gtk;
using FSpot.Widgets;
namespace FSpot {
public class InfoItem : InfoBox {
BrowsablePointer item;
public InfoItem (BrowsablePointer item)
{
this.item = item;
it... | mit | C# |
18f6076fc7a6f88ddc30ed4a5eb468a2c692cb70 | Remove obsolete hack which causes this problem | Moq/moq4 | src/Moq/Linq/Mock.cs | src/Moq/Linq/Mock.cs | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Diagnostics.CodeAnalysis;
u... | // Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Diagnostics.CodeAnalysis;
u... | bsd-3-clause | C# |
f608c33e11aaf1eb68405316bfa8b4824f2b18c0 | rename mysql processor | dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP | src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs | src/DotNetCore.CAP.MySql/CAP.MySqlCapOptionsExtension.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.MySql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using DotNetCore.CAP.MySql;
using DotNetCore.CAP.Processor;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
// ... | mit | C# |
3c3b559542f174f28803d014c4b194c7a81a7e7e | Fix race condition | terrajobst/nquery-vnext | src/NQuery/Symbols/TableDefinition.cs | src/NQuery/Symbols/TableDefinition.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace NQuery.Symbols
{
public abstract class TableDefinition
{
private ImmutableArray<ColumnDefinition> _columns;
public ImmutableArray<ColumnDefinition> Columns
{
... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace NQuery.Symbols
{
public abstract class TableDefinition
{
private ImmutableArray<ColumnDefinition> _columns;
public ImmutableArray<ColumnDefinition> Columns
{
... | mit | C# |
9a00c869971474a249be43f71e9976e0de6354ec | Refactor puzzle 10 to not use LINQ | martincostello/project-euler | src/ProjectEuler/Puzzles/Puzzle010.cs | src/ProjectEuler/Puzzles/Puzzle010.cs | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
/// <summary>
/// A class representing the solution to <c>https://pro... | // Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles
{
using System;
using System.Linq;
/// <summary>
/// A class representing the sol... | apache-2.0 | C# |
f2bc81584b5fbd41679172d71b65db5bbe5eeb4e | fix error in xml documentation | uzimmermann/wpf-localization,uzimmermann/wpf-localization | src/WpfLocalization.Framework/CultureChangedEventArgs.cs | src/WpfLocalization.Framework/CultureChangedEventArgs.cs | using System;
using System.Globalization;
namespace WpfLocalization.Framework
{
/// <summary>
/// Provides data for the <see cref="ILocalizeAnApplication.CultureChanged"/> event. This class cannot be
/// inherited.
/// </summary>
public sealed class CultureChangedEventArgs : EventArgs
{
... | using System;
using System.Globalization;
namespace WpfLocalization.Framework
{
/// <summary>
/// Provides data for the <see cref="ILocalizableApplication.CultureChangedEvent"/>. This class cannot be
/// inherited.
/// </summary>
public sealed class CultureChangedEventArgs : EventArgs
{
... | unlicense | C# |
b7b0539c40b94a0a508ab555b42787c92ae51aac | Remove AssemblyFileVersion from CommonAssemblyInfo | kendaleiv/silverpop-dotnet-api,kendaleiv/silverpop-dotnet-api,ritterim/silverpop-dotnet-api,billboga/silverpop-dotnet-api | common/CommonAssemblyInfo.cs | common/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Silverpop API")]
[assembly: AssemblyCopyright("Copyright © 2014 Ritter Insurance Marketing")]
[assembly: AssemblyCompany("Ritter Insurance Marketing")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: Asse... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Silverpop API")]
[assembly: AssemblyCopyright("Copyright © 2014 Ritter Insurance Marketing")]
[assembly: AssemblyCompany("Ritter Insurance Marketing")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: Asse... | mit | C# |
6bce50430613955384d04642557609594e213eaa | fix OperationException | yezorat/BtrieveWrapper,gomafutofu/BtrieveWrapper,gomafutofu/BtrieveWrapper,yezorat/BtrieveWrapper | BtrieveWrapper/OperationException.cs | BtrieveWrapper/OperationException.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
using System.Xml.Serialization;
namespace BtrieveWrapper
{
[Serializable]
public class OperationException : Exception
{
stat... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Security.Permissions;
using System.Text;
using System.Xml.Serialization;
namespace BtrieveWrapper
{
[Serializable]
public class OperationException : Exception
{
stat... | mit | C# |
1a443381247492b9233ae9c01ebf1a44510359ef | Use SingleOrDefault for added safety when looking up mod acronyms | ppy/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,ppy/osu,UselessToucan/osu | osu.Game/Online/API/APIMod.cs | osu.Game/Online/API/APIMod.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 System.Linq;
using Humanizer;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Configuration;
us... | // 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 System.Linq;
using Humanizer;
using Newtonsoft.Json;
using osu.Framework.Bindables;
using osu.Game.Configuration;
us... | mit | C# |
285eeb2f0c2104349bcaa8fac81c99e6bddc3616 | change search for prime triplet loop | fredatgithub/UsefulFunctions | ConsoleAppPrimesByHundred/Program.cs | ConsoleAppPrimesByHundred/Program.cs | using FonctionsUtiles.Fred.Csharp;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine;
display("Prime numbers by hundred:");
foreach... | using FonctionsUtiles.Fred.Csharp;
using System;
using System.Collections.Generic;
using System.Numerics;
namespace ConsoleAppPrimesByHundred
{
internal class Program
{
private static void Main()
{
Action<string> display = Console.WriteLine;
display("Prime numbers by hundred:");
foreach... | mit | C# |
3b84236279728aa09b1141193f700364e8f27e06 | Disable warning for MEF export field | rprouse/GitHubExtension | GitHubExtension/View/OutputWriter.cs | GitHubExtension/View/OutputWriter.cs | // **********************************************************************************
// The MIT License (MIT)
//
// Copyright (c) 2014 Rob Prouse
//
// 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 MIT License (MIT)
//
// Copyright (c) 2014 Rob Prouse
//
// 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
// ... | mit | C# |
f3b696d0c2a01bf78ead6785b699833ccfe6c5b2 | Change or add various things to the data types | Figglewatts/LBD2OBJ | LBD2OBJ/Types/TMD.cs | LBD2OBJ/Types/TMD.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ.Types
{
struct TMDHEADER
{
public int ID; // should be 0x41
public uint flags; // 0 if addresses are relative from top of block, 1 if from start of file
public uint numObjects;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LBD2OBJ.Types
{
struct TMDHEADER
{
public int ID; // should be 0x41
public uint flags; // 0 if addresses are relative from top of block, 1 if from start of file
public uint numObjects;... | mit | C# |
e194a1ccbde959ff4ff052f855693d3e80d01da2 | Update IFunctional.cs | codecore/Functional,codecore/Functional | IFunctional.cs | IFunctional.cs | using System;
using System.IO;
using System.Collections.Generic;
namespace Functional.Contracts {
public delegate IEnumerable<string> GetStrings(StreamReader sr);
public interface IChain<T> {
T Item { get; }
IChain<T> Run(T t);
}
public interface IListener<T, U> {
Func<T, U> Han... | using System;
using System.IO;
using System.Collections.Generic;
namespace Functional.Contracts {
public delegate IEnumerable<string> GetStrings(StreamReader sr);
public interface IListener<T, U> { U Handle(T m); }
public interface ISomething<T> {
T Item { get; set; }
}
public interface ISo... | apache-2.0 | C# |
3194ded94c4c340cdc402dc00b4c9cd135ca74fe | remove index name on year | ekospinach/kawaldesa,ekospinach/kawaldesa,ghk/kawaldesa,ekospinach/kawaldesa,ghk/kawaldesa,ekospinach/kawaldesa,ghk/kawaldesa,ghk/kawaldesa | Models/APBN.cs | Models/APBN.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace App.Models
{
public class APBN : BaseEntity
{
public decimal DanaPerDesa { get; set; }
[Index(IsUnique=true)]
public int Year { get; set; ... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace App.Models
{
public class APBN : BaseEntity
{
public decimal DanaPerDesa { get; set; }
[Index("IX_Year", IsUnique=true)]
public int Year {... | mit | C# |
e7caf76ca65677a750b98c837689617026b35341 | change the version to 1.2.5 | SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is loc... | apache-2.0 | C# |
efa8c1e30e277044e3c2ea8190bc4078fd817240 | Fix broken build | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Application.UnitTests/Services/EventUpgradeHandler/WhenExecute.cs | src/SFA.DAS.Commitments.Application.UnitTests/Services/EventUpgradeHandler/WhenExecute.cs | using System.Threading.Tasks;
using Moq;
using NServiceBus;
using NUnit.Framework;
namespace SFA.DAS.Commitments.Application.UnitTests.Services.EventUpgradeHandler
{
[TestFixture]
public class WhenExecute
{
private Application.Services.EventUpgradeHandler _sut;
private Mock<IEndpointInstan... | using System.Threading.Tasks;
using Moq;
using NServiceBus;
using NUnit.Framework;
namespace SFA.DAS.Commitments.Application.UnitTests.Services.EventUpgradeHandler
{
[TestFixture]
public class WhenExecute
{
private Application.Services.EventUpgradeHandler _sut;
private Mock<IEndpointInstan... | mit | C# |
447a48cefa592b96dbe65ddae036a0bef1dddc38 | add summary comments | killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Providers/UnityARCameraSettings/UnityARCameraSettingsProfile.cs | Assets/MixedRealityToolkit.Providers/UnityARCameraSettings/UnityARCameraSettingsProfile.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright(c) 2019 Takahiro Miyaura
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
using UnityEngine.SpatialTracking;
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
/// <summar... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright(c) 2019 Takahiro Miyaura
// Licensed under the MIT License. See LICENSE in the project root for license information.
using UnityEngine;
using UnityEngine.SpatialTracking;
namespace Microsoft.MixedReality.Toolkit.CameraSystem
{
/// <summar... | mit | C# |
1270914bb26b209bb5e653e09fdaf19f3ac0a3ec | Rename UInt to UIntField | laicasaane/VFW | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/UInts.cs | Assets/Plugins/Editor/Vexe/GUIs/BaseGUI/Controls/UInts.cs | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public uint UIntField(uint value)
{
return UIntField(string.Empty, value);
}
public uint UIntField(string label, uint value)
{
return UIntField(label, value, null);
}
public uint UIntField(string label, stri... | using UnityEngine;
namespace Vexe.Editor.GUIs
{
public abstract partial class BaseGUI
{
public uint UInt(uint value)
{
return UInt(string.Empty, value);
}
public uint UInt(string label, uint value)
{
return UInt(label, value, null);
}
public uint UInt(string label, string tooltip, uint value)
... | mit | C# |
ba08ad548b0e8c0d290bd63ff06fbc3df3faf6f7 | Fix some arrivals showing negative ETA minutes. | betrakiss/Tramline-5,betrakiss/Tramline-5 | src/TramlineFive/TramlineFive.Common/Converters/TimingConverter.cs | src/TramlineFive/TramlineFive.Common/Converters/TimingConverter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace TramlineFive.Common.Converters
{
public class TimingConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parame... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace TramlineFive.Common.Converters
{
public class TimingConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parame... | apache-2.0 | C# |
8d511027faeef79f4c1d3aa9cc875a000d6ba3d2 | Fix version number (alpha2) | bungeemonkee/Utilitron | Utilitron/Properties/AssemblyInfo.cs | Utilitron/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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("Utilitron")]
[ass... | using System.Reflection;
using System.Resources;
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("Utilitron")]
[ass... | mit | C# |
1ce74de5f63d4d5a420e058f83d223c914a84d55 | simplify CSS in view | codingoutloud/matechtax,codingoutloud/matechtax | MATechTaxWebSite/MATechTaxWebSite/Views/Home/Index.cshtml | MATechTaxWebSite/MATechTaxWebSite/Views/Home/Index.cshtml | @{
@model IEnumerable<MATechTaxWebSite.Models.BlobSnapshot>
ViewBag.Title = "Home Page";
ViewBag.FaqUrl = System.Configuration.ConfigurationManager.AppSettings["DorFaqUrl"];
}
@section featured {
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">... | @{
@model IEnumerable<MATechTaxWebSite.Models.BlobSnapshot>
ViewBag.Title = "Home Page";
ViewBag.FaqUrl = System.Configuration.ConfigurationManager.AppSettings["DorFaqUrl"];
}
@section featured {
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">... | mit | C# |
b658c5cafc542826078a7b0d474542838c2140b7 | Make claim text required (as it already required in backend) | kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net | Joinrpg/Models/AddClaimViewModel.cs | Joinrpg/Models/AddClaimViewModel.cs | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
using JoinRpg.Web.Models.CommonTypes;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { ... | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
using JoinRpg.Web.Models.CommonTypes;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { ... | mit | C# |
9e2ff2132ad2737092a5ea8bd12bb9ec71a0a3a6 | Refactor NumeroBollo > BolloVirtuale | sirmmo/FatturaElettronicaPA,FatturaElettronicaPA/FatturaElettronicaPA | FatturaElettronicaBody/DatiGenerali/DatiBollo.cs | FatturaElettronicaBody/DatiGenerali/DatiBollo.cs | using System.Collections.Generic;
using System.Xml;
using BusinessObjects;
using BusinessObjects.Validators;
using FatturaElettronicaPA.Validators;
namespace FatturaElettronicaPA.FatturaElettronicaBody.DatiGenerali
{
/// <summary>
/// Dati relativi al bollo.
/// </summary>
public class DatiBollo : Com... | using System.Collections.Generic;
using System.Xml;
using BusinessObjects;
using BusinessObjects.Validators;
using FatturaElettronicaPA.Validators;
namespace FatturaElettronicaPA.FatturaElettronicaBody.DatiGenerali
{
/// <summary>
/// Dati relativi al bollo.
/// </summary>
public class DatiBollo : Com... | bsd-3-clause | C# |
681ea28234227d4579425b0dadecd1dd5c69b02d | fix broken xml pipeline : thrown with ExceptionHandlerFlags and other enums when combined (because [Flags] not present) | hmah/boo,BillHally/boo,rmboggs/boo,KingJiangNet/boo,KingJiangNet/boo,BillHally/boo,hmah/boo,drslump/boo,scottstephens/boo,wbardzinski/boo,bamboo/boo,bamboo/boo,hmah/boo,KidFashion/boo,wbardzinski/boo,BITechnologies/boo,scottstephens/boo,hmah/boo,rmboggs/boo,KidFashion/boo,KingJiangNet/boo,BITechnologies/boo,BitPuffin/b... | scripts/Templates/Enum.cs | scripts/Templates/Enum.cs | ${header}
namespace Boo.Lang.Compiler.Ast
{
using System;
[Serializable]
<% if node.Attributes.Contains("Flags"):
%> [Flags]
<% end
%> public enum ${node.Name}
{
<%
last = node.Members[-1]
separator = ","
for field as EnumMember in node.Members:
if field.Initializer:
initializer = " = ${field.Initializer.Value}... | ${header}
namespace Boo.Lang.Compiler.Ast
{
using System;
[Serializable]
<% if node.Name.EndsWith("Modifiers"):
%> [Flags]
<% end
%> public enum ${node.Name}
{
<%
last = node.Members[-1]
separator = ","
for field as EnumMember in node.Members:
if field.Initializer:
initializer = " = ${field.Initializer.Value}"
... | bsd-3-clause | C# |
62beab8dbcfa5320b0ee08c6e8fb277cf8b9a1b0 | Rename variable. | mavasani/roslyn,cston/roslyn,jasonmalinowski/roslyn,jcouv/roslyn,tannergooding/roslyn,physhi/roslyn,dotnet/roslyn,paulvanbrenk/roslyn,nguerrera/roslyn,jasonmalinowski/roslyn,MichalStrehovsky/roslyn,brettfo/roslyn,VSadov/roslyn,sharwell/roslyn,nguerrera/roslyn,swaroop-sridhar/roslyn,davkean/roslyn,tannergooding/roslyn,b... | src/Workspaces/Core/Portable/EmbeddedLanguages/Common/EmbeddedDiagnostic.cs | src/Workspaces/Core/Portable/EmbeddedLanguages/Common/EmbeddedDiagnostic.cs | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.EmbeddedLangua... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.EmbeddedLangua... | mit | C# |
d9071cd25cba939000782439166422486de46af2 | Update Viet Nam National Day | tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date | Src/Nager.Date/PublicHolidays/VietnamProvider.cs | Src/Nager.Date/PublicHolidays/VietnamProvider.cs | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Vietnam
/// </summary>
public class VietnamProvider : IPublicHolidayProvider
{
/// <summary>
/// VietnamProvider
/... | using Nager.Date.Contract;
using Nager.Date.Model;
using System.Collections.Generic;
using System.Linq;
namespace Nager.Date.PublicHolidays
{
/// <summary>
/// Vietnam
/// </summary>
public class VietnamProvider : IPublicHolidayProvider
{
/// <summary>
/// VietnamProvider
/... | mit | C# |
85bff078eed416548f8081223713b3406bcfaa65 | Rename the property Variable to Percentage (#148) | Viincenttt/MollieApi,Viincenttt/MollieApi | Mollie.Api/Models/Settlement/SettlementPeriodCostsRate.cs | Mollie.Api/Models/Settlement/SettlementPeriodCostsRate.cs | namespace Mollie.Api.Models.Settlement
{
public class SettlementPeriodCostsRate {
/// <summary>
/// An amount object describing the fixed costs.
/// </summary>
public Amount Fixed { get; set; }
/// <summary>
/// A string describing the variable costs as a percentage.
... | namespace Mollie.Api.Models.Settlement
{
public class SettlementPeriodCostsRate {
/// <summary>
/// An amount object describing the fixed costs.
/// </summary>
public Amount Fixed { get; set; }
/// <summary>
/// A string describing the variable costs as a percentage.
... | mit | C# |
1fab7add9386ec31c9c9ef47aaf281deac8c02aa | Revert "Try fix for tracking metrics with square brackets in name" | hinteadan/Metrics.NET.GAReporting | Metrics.Reporters.GoogleAnalytics/Metrics.Reporters.GoogleAnalytics.Tracker/Model/Metric.cs | Metrics.Reporters.GoogleAnalytics/Metrics.Reporters.GoogleAnalytics.Tracker/Model/Metric.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Metrics.Reporters.GoogleAnalytics.Tracker.Model.MeasurementProtocol;
using Metrics.Reporters.GoogleAnalytics.Tracker.Model.MeasurementProtocol.Values;
namespace Metrics.Reporters.GoogleAnalytics.T... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Metrics.Reporters.GoogleAnalytics.Tracker.Model.MeasurementProtocol;
using Metrics.Reporters.GoogleAnalytics.Tracker.Model.MeasurementProtocol.Values;
namespace Metrics.Reporters.GoogleAnalytics.T... | apache-2.0 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.