commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
b44bfe7d00584c154d76836f238e943fa95af59f | Src/VanillaTransformer/PostTransformations/XML/ReFormatXMLTransformation.cs | Src/VanillaTransformer/PostTransformations/XML/ReFormatXMLTransformation.cs | using System.IO;
using System.Xml;
namespace VanillaTransformer.PostTransformations.XML
{
public class ReFormatXMLTransformation:IPostTransformation
{
public string Name { get { return "ReFormatXML"; } }
public string Execute(string configContent)
{
var settings = new XmlWr... | using System;
using System.IO;
using System.Xml;
namespace VanillaTransformer.PostTransformations.XML
{
public class ReFormatXMLTransformation:IPostTransformation
{
public string Name { get { return "ReFormatXML"; } }
public string Execute(string configContent)
{
var settin... | Set line ending according to the enviroment in ReFormatXML | Set line ending according to the enviroment in ReFormatXML
| C# | mit | cezarypiatek/VanillaTransformer |
c893a67f60ff651fefb250e78410884e65a13d04 | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | Update Timer for Levy to 23rd | Update Timer for Levy to 23rd
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
08b3bc222d79a8d2a846ee11c1e300832d91a9d6 | osu.Game/Configuration/DevelopmentOsuConfigManager.cs | osu.Game/Configuration/DevelopmentOsuConfigManager.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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | // 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.Platform;
using osu.Framework.Testing;
namespace osu.Game.Configuration
{
[ExcludeFromDynamicCompile]
public class DevelopmentOsuConfigManage... | Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available" | Revert "Fix potential crash in tests when attempting to lookup key bindings in cases the lookup is not available"
This reverts commit 8115a4bb8fd9e2d53c40b8607c7ad99f0f62e9a0.
Commit was cherrypicked out to a separate pull on a different merge
base, then reverted in that pull, so it should be reverted here too.
| C# | mit | peppy/osu,ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu |
0f348406ded518a105bd93d87fb4989deabd3cf2 | src/PcscDotNet/SCardShare.cs | src/PcscDotNet/SCardShare.cs | namespace PcscDotNet
{
/// <summary>
/// Indicates whether other applications may form connections to the card.
/// </summary>
public enum SCardShare
{
/// <summary>
/// This application demands direct control of the reader, so it is not available to other applications.
/// <... | namespace PcscDotNet
{
/// <summary>
/// Indicates whether other applications may form connections to the card.
/// </summary>
public enum SCardShare
{
/// <summary>
/// This application demands direct control of the reader, so it is not available to other applications.
/// <... | Append new line at EOF | Append new line at EOF
| C# | mit | Archie-Yang/PcscDotNet |
0edd533eba15931d91529ab6394c2be9c1ecc66c | src/TM.Shared/AuthorBadge.cs | src/TM.Shared/AuthorBadge.cs | using System.ComponentModel.DataAnnotations;
namespace TM.Shared
{
public class AuthorBadge
{
[StringLength(400)]
public string ImageSiteUrl { get; set; }
[StringLength(100)]
public string ImageName { get; set; }
[StringLength(400)]
public string Link { get; set; }
[... | using System.ComponentModel.DataAnnotations;
namespace TM.Shared
{
public class AuthorBadge
{
[StringLength(400)]
public string ImageSiteUrl { get; set; }
[StringLength(100)]
public string ImageName { get; set; }
[StringLength(400)]
public string Link { get; set; }
[... | Increase AuthorBage.HoverText db table column length | Increase AuthorBage.HoverText db table column length
| C# | mit | ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager,ssh-git/training-manager |
ea0ed95ca0344cdb10bf58b0e491c59234a0bc0d | src/IF.Lastfm.Core/Api/Helpers/ApiExtensions.cs | src/IF.Lastfm.Core/Api/Helpers/ApiExtensions.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace IF.Lastfm.Core.Api.Helpers
{
public static class ApiExtensions
{
public static T GetAttribute<T>(this Enum enumValue)
where T : Attribute
{
return... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace IF.Lastfm.Core.Api.Helpers
{
public static class ApiExtensions
{
public static T GetAttribute<T>(this Enum enumValue)
where T : Attribute
{
return... | Fix time bug with scrobbles | Fix time bug with scrobbles
no need for "ToUniversalTime" to the epoch DateTime
| C# | mit | realworld666/lastfm,Brijen/lastfm |
7113d1f60d60878d0d79dc98b3819ef75ab521e2 | src/FreshMvvm/FreshTabbedNavigationContainer.cs | src/FreshMvvm/FreshTabbedNavigationContainer.cs | using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace FreshMvvm
{
public class FreshTabbedNavigationContainer : TabbedPage, IFreshNavigationService
{
public FreshTabbedNavigationContainer ()
{
RegisterNavigation ();
}
protected void Reg... | using System;
using Xamarin.Forms;
using System.Collections.Generic;
namespace FreshMvvm
{
public class FreshTabbedNavigationContainer : TabbedPage, IFreshNavigationService
{
public FreshTabbedNavigationContainer ()
{
RegisterNavigation ();
}
protected void Reg... | Fix issue with nulll image icon in tabbed navigation container | Fix issue with nulll image icon in tabbed navigation container | C# | apache-2.0 | rid00z/FreshMvvm,bbqchickenrobot/FreshMvvm,takenet/FreshMvvm,asednev/FreshMvvm,Mark-RSK/FreshMvvm,keannan5390/FreshMvvm |
3870e7fdaab526d201d7c5424699f71e34f3e8cc | src/System.Private.ServiceModel/src/System/ServiceModel/SpnEndpointIdentity.cs | src/System.Private.ServiceModel/src/System/ServiceModel/SpnEndpointIdentity.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IdentityModel.Claims;
using System.Runtime;
using System.Security.Principal;
namespace System.ServiceModel
{
public class SpnEndpointIdentity : Endpo... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IdentityModel.Claims;
using System.Runtime;
using System.Security.Principal;
namespace System.ServiceModel
{
public class SpnEndpointIdentity : Endpo... | Implement supported parts of Spn/UpnEndpointIdentity | Implement supported parts of Spn/UpnEndpointIdentity
| C# | mit | KKhurin/wcf,imcarolwang/wcf,mconnew/wcf,MattGal/wcf,MattGal/wcf,iamjasonp/wcf,zhenlan/wcf,zhenlan/wcf,mconnew/wcf,iamjasonp/wcf,StephenBonikowsky/wcf,khdang/wcf,KKhurin/wcf,hongdai/wcf,ElJerry/wcf,dotnet/wcf,shmao/wcf,StephenBonikowsky/wcf,imcarolwang/wcf,hongdai/wcf,imcarolwang/wcf,ElJerry/wcf,dotnet/wcf,ericstj/wcf,k... |
a60909415d2b26cb951645cdbc5b684edc4de34b | src/SixLabors.Fonts/FontCollectionExtensions.cs | src/SixLabors.Fonts/FontCollectionExtensions.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.Fonts
{
/// <summary>
/// Extension methods for <see cref="IFontCollection"/>.
/// </summary>
public static class FontCollectionExtensions
{
/// <summary>
/// Adds the fonts from the ... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
namespace SixLabors.Fonts
{
/// <summary>
/// Extension methods for <see cref="IFontCollection"/>.
/// </summary>
public static class FontCollectionExtensions
{
/// <summary>
/// Adds the ... | Add an overload of `AddSystemFonts` | Add an overload of `AddSystemFonts`
| C# | apache-2.0 | SixLabors/Fonts |
0b447d3ddd73e0bc1c47514f242930ac13475e98 | Portal.CMS.Web/Areas/Admin/Views/Settings/_Edit.cshtml | Portal.CMS.Web/Areas/Admin/Views/Settings/_Edit.cshtml | @model Portal.CMS.Web.Areas.Admin.ViewModels.Settings.EditViewModel
@{
Layout = "";
}
@using (Html.BeginForm("Edit", "Settings", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(x => x.SettingId)
@Html.ValidationMessage("SettingName")
<div class="control-group float-container">
... | @model Portal.CMS.Web.Areas.Admin.ViewModels.Settings.EditViewModel
@{
Layout = "";
}
@using (Html.BeginForm("Edit", "Settings", FormMethod.Post))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(x => x.SettingId)
@Html.ValidationMessage("SettingName")
<div class="control-group float-container">
... | Remove ViewLogic Validation on Edit Settings Screen | Remove ViewLogic Validation on Edit Settings Screen
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
016afaa9fb875105388791ea274f6918f642e1a3 | TSQLLint.Tests/Helpers/RuleViolationComparer.cs | TSQLLint.Tests/Helpers/RuleViolationComparer.cs | using System;
using System.Collections;
using System.Collections.Generic;
using TSQLLint.Lib.Rules.RuleViolations;
namespace TSQLLint.Tests.Helpers
{
public class RuleViolationComparer : IComparer, IComparer<RuleViolation>
{
public int Compare(object x, object y)
{
if (!(x is RuleVi... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using TSQLLint.Lib.Rules.RuleViolations;
namespace TSQLLint.Tests.Helpers
{
[ExcludeFromCodeCoverage]
public class RuleViolationComparer : IComparer, IComparer<RuleViolation>
{
public in... | Exclude test utility from coverage | Exclude test utility from coverage
| C# | mit | tsqllint/tsqllint,tsqllint/tsqllint |
0a32b360b0e006bf9c053aa1a81f1132587895d8 | src/Abp/Auditing/AuditingInterceptorRegistrar.cs | src/Abp/Auditing/AuditingInterceptorRegistrar.cs | using System;
using System.Linq;
using Abp.Dependency;
using Castle.Core;
using Castle.MicroKernel;
namespace Abp.Auditing
{
internal class AuditingInterceptorRegistrar
{
private readonly IAuditingConfiguration _auditingConfiguration;
private readonly IIocManager _iocManager;
public A... | using System;
using System.Linq;
using Abp.Dependency;
using Castle.Core;
using Castle.MicroKernel;
namespace Abp.Auditing
{
internal class AuditingInterceptorRegistrar
{
private readonly IIocManager _iocManager;
private readonly IAuditingConfiguration _auditingConfiguration;
public A... | Fix for previous minor refactoring. | Fix for previous minor refactoring.
| C# | mit | lemestrez/aspnetboilerplate,ilyhacker/aspnetboilerplate,ddNils/aspnetboilerplate,takintsft/aspnetboilerplate,ddNils/aspnetboilerplate,ryancyq/aspnetboilerplate,4nonym0us/aspnetboilerplate,4nonym0us/aspnetboilerplate,Saviio/aspnetboilerplate,ryancyq/aspnetboilerplate,lvjunlei/aspnetboilerplate,verdentk/aspnetboilerplate... |
549ceb7c15c85d29699e31f17d3622a7262dfbff | vimage/Source/Program.cs | vimage/Source/Program.cs | // vimage - http://torrunt.net/vimage
// Corey Zeke Womack (Torrunt) - me@torrunt.net
using System;
namespace vimage
{
class Program
{
static void Main(string[] args)
{
string file;
if (args.Length == 0)
{
#if DEBUG
//file = @"C:\Users\Corey... | // vimage - http://torrunt.net/vimage
// Corey Zeke Womack (Torrunt) - me@torrunt.net
using System;
namespace vimage
{
class Program
{
static void Main(string[] args)
{
string file;
if (args.Length == 0)
return;
else
file = a... | Load only if the file given exists | Load only if the file given exists
| C# | mit | Torrunt/vimage |
9c9a961c9b386c08bae9fcc7d80cae8d2d7f9bf1 | src/Magick.NET/Configuration/ConfigurationFile.cs | src/Magick.NET/Configuration/ConfigurationFile.cs | // Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | // Copyright 2013-2021 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/>
//
// Licensed under the ImageMagick License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
//
// https://www.imagemagick.org/script/license.php
//
// Unless req... | Patch delegates.xml for non Windows platform. | Patch delegates.xml for non Windows platform.
| C# | apache-2.0 | dlemstra/Magick.NET,dlemstra/Magick.NET |
3d7ef014fa86ac601a4d3e2e315cf8000de99bbd | Source/Snooze/ResourceFormatters.cs | Source/Snooze/ResourceFormatters.cs | #region
using System.Collections.Generic;
#endregion
namespace Snooze
{
public static class ResourceFormatters
{
static readonly IList<IResourceFormatter> _formatters = new List<IResourceFormatter>();
static ResourceFormatters()
{
// The order of formatters... | #region
using System.Collections.Generic;
#endregion
namespace Snooze
{
public static class ResourceFormatters
{
static readonly IList<IResourceFormatter> _formatters = new List<IResourceFormatter>();
static ResourceFormatters()
{
// The order of formatters... | Add text/html as first content type, should possible detect IE.. | Add text/html as first content type, should possible detect IE..
| C# | bsd-3-clause | ryansroberts/Snooze,ryansroberts/Snooze |
aaf885b0db206f717a8e9094d29c1566385f7d84 | Griddly.Mvc/GriddlyContext.cs | Griddly.Mvc/GriddlyContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Griddly.Mvc
{
public class GriddlyContext
{
public string Name { get; set; }
public bool IsDefaultSkipped { get; set; }
public bool IsDeepLink { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Griddly.Mvc
{
public class GriddlyContext
{
public string Name { get; set; }
public bool IsDefaultSkipped { get; set; }
public bool IsDeepLink { get; set; }
... | Make griddly defaults and parameters case insensitive | Make griddly defaults and parameters case insensitive
| C# | mit | programcsharp/griddly,programcsharp/griddly,programcsharp/griddly |
fbc3cb02774037dc281e143230218191aad2f180 | SlackAPI/RPCMessages/ConversationsOpenResponse.cs | SlackAPI/RPCMessages/ConversationsOpenResponse.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("conversations.open")]
public class ConversationsOpenResponse : Response
{
public string no_op;
public string already_open;
public C... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlackAPI
{
[RequestPath("conversations.open")]
public class ConversationsOpenResponse : Response
{
public string no_op;
public string already_open;
public C... | Add field for error responses | Add field for error responses | C# | mit | Inumedia/SlackAPI |
e6e85f67eb20dc105e1b75dcbb3a8eb67d61d83d | CefSharp.Wpf.Example/Handlers/MenuHandler.cs | CefSharp.Wpf.Example/Handlers/MenuHandler.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CefSharp.Wpf.Example.Handlers
{
public class MenuHandler : IMenuHandler
{
public bool OnBeforeContextMenu(IWebBrowser browser, IContextMenuParams parameters)
{
Console.WriteLine("Cont... | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp.Wpf.Example.Handlers
{
public class MenuHandler : IMenuHandler
{
public bool OnBeforeContextMenu... | Add license disclaimer Cleanup formatting | Add license disclaimer
Cleanup formatting
| C# | bsd-3-clause | jamespearce2006/CefSharp,Livit/CefSharp,AJDev77/CefSharp,rlmcneary2/CefSharp,haozhouxu/CefSharp,rover886/CefSharp,yoder/CefSharp,dga711/CefSharp,VioletLife/CefSharp,twxstar/CefSharp,windygu/CefSharp,ruisebastiao/CefSharp,wangzheng888520/CefSharp,NumbersInternational/CefSharp,dga711/CefSharp,illfang/CefSharp,joshvera/Ce... |
8bd73d083dd8a3bd0c800c60919ff64a676ef986 | Fatec.Treinamento.Model/DTO/DetalhesCurso.cs | Fatec.Treinamento.Model/DTO/DetalhesCurso.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fatec.Treinamento.Model.DTO
{
public class DetalhesCurso
{
public int Id { get; set; }
public string Nome { get; set; }
public string Assunto { get; set; }
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fatec.Treinamento.Model.DTO
{
public class DetalhesCurso
{
public int Id { get; set; }
public string Nome { get; set; }
public string Assunto { get; set; }
... | Add property 'Descricao' to class 'DetalheCurso' | Add property 'Descricao' to class 'DetalheCurso'
| C# | apache-2.0 | fmassaretto/formacao-talentos,fmassaretto/formacao-talentos,fmassaretto/formacao-talentos |
c429de4869f6f01869c29e43e0002a08974e6e7d | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | ZirMed.TrainingSandbox/Views/Home/Contact.cshtml | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | @{
ViewBag.Title = "Contact";
}
<h2>@ViewBag.Title.</h2>
<h3>@ViewBag.Message</h3>
<address>
One Microsoft Way<br />
Redmond, WA 98052-6399<br />
<abbr title="Phone">P:</abbr>
425.555.0100
</address>
<address>
<strong>Support:</strong> <a href="mailto:Support@example.com">Support@wechangedt... | Add Peter Parker to contact page. | Add Peter Parker to contact page.
| C# | mit | jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox |
d04466bd62f4c356997bcb9d4ce0cdf21b741d9e | Deblocus/Entities/Image.cs | Deblocus/Entities/Image.cs | //
// Image.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Fre... | //
// Image.cs
//
// Author:
// Benito Palacios Sánchez (aka pleonex) <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez (c) 2015
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Fre... | Fix default name for images | Fix default name for images | C# | agpl-3.0 | pleonex/deblocus,pleonex/deblocus |
0692f017e10d821fbb8a8e9e14b66e854cf0f628 | src/AppStudio.Uwp/Html/HtmlText.cs | src/AppStudio.Uwp/Html/HtmlText.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace AppStudio.Uwp.Html
{
public sealed class HtmlText : HtmlFragment
{
public string Content { get; set; }
public HtmlText()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace AppStudio.Uwp.Html
{
public sealed class HtmlText : HtmlFragment
{
private string _content;
public string Content
{
... | Fix html enconded characters in plain text | Fix html enconded characters in plain text
| C# | mit | janabimustafa/waslibs,pellea/waslibs,wasteam/waslibs,pellea/waslibs,pellea/waslibs,wasteam/waslibs,janabimustafa/waslibs,janabimustafa/waslibs,wasteam/waslibs |
f0da32c4ba1d6a55cf20022b6a45fecfafaba95f | src/Halcyon/HAL/IHALModelConfig.cs | src/Halcyon/HAL/IHALModelConfig.cs | namespace Halcyon.HAL {
public interface IHALModelConfig {
string LinkBase { get; }
bool ForceHAL { get; }
}
} | namespace Halcyon.HAL {
public interface IHALModelConfig {
string LinkBase { get; set; }
bool ForceHAL { get; set; }
}
} | Allow model config to be modified | Allow model config to be modified
| C# | mit | visualeyes/halcyon |
e49aac33fb9995ed4f17549d2a983c47e9ed7501 | LoveSeat/ObjectSerializer.cs | LoveSeat/ObjectSerializer.cs | using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace LoveSeat
{
public interface IObjectSerializer<T>
{
T Deserialize(string json);
string Serialize(object obj);
}
public class ObjectSerializer<T> : IO... | using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace LoveSeat
{
public interface IObjectSerializer<T>
{
T Deserialize(string json);
string Serialize(object obj);
}
public class ObjectSerializer<T> : IO... | Change the behavior of the object serializer so that objects are initialized with values instead of Nulls | Change the behavior of the object serializer so that objects are initialized with values instead of Nulls
| C# | mit | tekbird/LoveSeat |
fc36b7db7b0906cb1d729a45580a4396cae5246a | VasysRomanNumeralsKataTest/ToRomanNumeralsTest.cs | VasysRomanNumeralsKataTest/ToRomanNumeralsTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class ToRomanNumeralsTest
{
[TestMethod]
public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
{
int ten = 10;... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VasysRomanNumeralsKata;
namespace VasysRomanNumeralsKataTest
{
[TestClass]
public class ToRomanNumeralsTest
{
[TestMethod]
public void WhenRomanNumeralExtensionIsPassedTenItReturnsX()
{
int ten = 10;... | Add test for 2000 (MM) - this should have been done before adding loop for M. | Add test for 2000 (MM) - this should have been done before adding loop for M.
| C# | mit | pvasys/PillarRomanNumeralKata |
f4dca1b9487ce49ee8c57243a9b518e1bed82160 | src/SFA.DAS.EmployerFinance.Web/Filters/LevyEmployerTypeOnly.cs | src/SFA.DAS.EmployerFinance.Web/Filters/LevyEmployerTypeOnly.cs | using System.Web.Mvc;
using System.Web.Routing;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.EAS.Account.Api.Types;
namespace SFA.DAS.EmployerFinance.Web.Filters
{
public class LevyEmployerTypeOnly : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterCon... | using System;
using System.Web.Mvc;
using System.Web.Routing;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.EmployerFinance.Web.Helpers;
namespace SFA.DAS.EmployerFinance.Web.Filters
{
public class LevyEmployerTypeOnly : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecut... | Handle failed Api call within Action Filter | [CON-730] Handle failed Api call within Action Filter
| C# | mit | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice |
54e507a589ffe9ea2d4b1db88e01fb37e0afa831 | src/GogoKit/Http/UserAgentHandler.cs | src/GogoKit/Http/UserAgentHandler.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace GogoKit.Http
{
public class UserAgentHandler : DelegatingHandler
{
private readonly IReadOnlyList<ProductInf... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace GogoKit.Http
{
public class UserAgentHandler : DelegatingHandler
... | Include GogoKit version in User-Agent header | Include GogoKit version in User-Agent header
| C# | mit | viagogo/gogokit.net |
44b33a149e935c156616642ccaa5f1189773b994 | Harmony/Transpilers.cs | Harmony/Transpilers.cs | using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to)
{
foreach (var instruction in... | using System.Collections.Generic;
using System.Reflection;
using System.Reflection.Emit;
namespace Harmony
{
public static class Transpilers
{
public static IEnumerable<CodeInstruction> MethodReplacer(this IEnumerable<CodeInstruction> instructions, MethodBase from, MethodBase to, OpCode? callOpcode = null)
{
... | Make MethodReplacer change opcode to CALL as default | Make MethodReplacer change opcode to CALL as default
| C# | mit | pardeike/Harmony |
5ad2fb0d80c443eb2e36ce0d93913184497940ad | PlanetWars/Validators/LogonRequestValidator.cs | PlanetWars/Validators/LogonRequestValidator.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
using PlanetWars.Shared;
namespace PlanetWars.Validators
{
public class LogonRequestValidator : AbstractValidator<LogonRequest>
{
public LogonRequestValidator()
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
using PlanetWars.Shared;
namespace PlanetWars.Validators
{
public class LogonRequestValidator : AbstractValidator<LogonRequest>
{
public LogonRequestValidator()
... | Update agent name to only allow 18 characters so that it looks good on the screen | Update agent name to only allow 18 characters so that it looks good on the screen
| C# | bsd-3-clause | reichlew/planet-wars-competition,aaron-lillywhite/planet-wars-competition,reichlew/planet-wars-competition,reichlew/planet-wars-competition,aaron-lillywhite/planet-wars-competition,aaron-lillywhite/planet-wars-competition |
c5078bd0ff5fae5be7b67011ab50568ee0643c20 | supermarketkata/engine/rules/PercentageDiscount.cs | supermarketkata/engine/rules/PercentageDiscount.cs | using System;
using engine.core;
namespace engine.rules
{
public class PercentageDiscount : Rule
{
private readonly string m_ApplicableItemName;
private readonly int m_Percentage;
public PercentageDiscount(string applicableItemName, int percentage)
{
m_ApplicableIt... | using System;
using engine.core;
namespace engine.rules
{
public class PercentageDiscount : Rule
{
private readonly string m_ApplicableItemName;
private readonly double m_Percentage;
public PercentageDiscount(string applicableItemName, int percentage)
{
m_Applicabl... | Change this to a double so that we don't have to always cast. | Change this to a double so that we don't have to always cast.
| C# | mit | lukedrury/super-market-kata |
9917f73bab3bb4ba749f0140f004e6fd25c2870d | src/Ensconce.Console/Retry.cs | src/Ensconce.Console/Retry.cs | using System;
using System.Collections.Generic;
using System.Threading;
namespace Ensconce.Console
{
/// <summary>
/// Retry logic applied from this Stack Overflow thread
/// http://stackoverflow.com/questions/1563191/c-sharp-cleanest-way-to-write-retry-logic
/// </summary>
public static class Ret... | using System;
using System.Collections.Generic;
using System.Threading;
namespace Ensconce.Console
{
/// <summary>
/// Retry logic applied from this Stack Overflow thread
/// http://stackoverflow.com/questions/1563191/c-sharp-cleanest-way-to-write-retry-logic
/// </summary>
public static class Ret... | Improve logging in retry logic & increase to 5 tries | Improve logging in retry logic & increase to 5 tries
| C# | mit | BlythMeister/Ensconce,15below/Ensconce,BlythMeister/Ensconce,15below/Ensconce |
bef529f48d7529265b8e0b344f003d26c63b895b | AxoCover/Models/TelemetryManager.cs | AxoCover/Models/TelemetryManager.cs | using AxoCover.Models.Extensions;
using AxoCover.Properties;
using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace AxoCover.Models
{
public abstract class TelemetryManager : ITelemetryManager
{
protected IEditorContext _editorContext;
public bool IsTe... | using AxoCover.Models.Extensions;
using AxoCover.Properties;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Threading;
namespace AxoCover.Models
{
public abstract class TelemetryManager : ITelemetryManager
{
protected IEditorContext _editorCont... | Make telemetry break execution if debugger is attached instead of pushing report | Make telemetry break execution if debugger is attached instead of pushing report
| C# | mit | axodox/AxoTools,axodox/AxoTools |
098df531f032a5ffb77a21f799595240be9b90b4 | MultiMiner.Win/Data/Configuration/NetworkDevices.cs | MultiMiner.Win/Data/Configuration/NetworkDevices.cs | using MultiMiner.Engine;
using MultiMiner.Utility.Serialization;
using System.Collections.Generic;
using System.IO;
namespace MultiMiner.Win.Data.Configuration
{
public class NetworkDevices
{
public class NetworkDevice
{
public string IPAddress { get; set; }
public int ... | using MultiMiner.Engine;
using MultiMiner.Utility.Serialization;
using System.Collections.Generic;
using System.IO;
namespace MultiMiner.Win.Data.Configuration
{
public class NetworkDevices
{
public class NetworkDevice
{
public string IPAddress { get; set; }
public int ... | Fix a null ref error submitting MobileMiner stats without Network Devices | Fix a null ref error submitting MobileMiner stats without Network Devices
| C# | mit | IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner |
c1a12413848b6cc6181f87d8bf18cef5246c7ee2 | Portal.CMS.Web/Views/Shared/_Layout.cshtml | Portal.CMS.Web/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en-gb">
<head>
<title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="@SettingHelper.Get("Description Meta Tag")">
@RenderSe... | <!DOCTYPE html>
<html lang="en-gb">
<head>
<title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
<meta name="description" content="@SettingHelper.Get("Description Meta Tag")">
@RenderSe... | Change Order of Loading Styles | Change Order of Loading Styles
| C# | mit | tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS |
c38ab354d360594468621b8b89a810d527996726 | src/MyOwnSearchEngine/Processors/Converters/Hex.cs | src/MyOwnSearchEngine/Processors/Converters/Hex.cs | using static MyOwnSearchEngine.HtmlFactory;
namespace MyOwnSearchEngine
{
public class Hex : IProcessor
{
public string GetResult(Query query)
{
var integer = query.TryGetStructure<Integer>();
if (integer != null)
{
return GetResul... | using static MyOwnSearchEngine.HtmlFactory;
namespace MyOwnSearchEngine
{
public class Hex : IProcessor
{
public string GetResult(Query query)
{
var integer = query.TryGetStructure<Integer>();
if (integer != null)
{
return GetResul... | Allow syntax like "hex 56" | Allow syntax like "hex 56"
| C# | mit | KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine,KirillOsenkov/MyOwnSearchEngine |
f5228a60319defeb24ee98a37933b527b0fb6d9c | DesktopWidgets/Widgets/CountdownClock/Settings.cs | DesktopWidgets/Widgets/CountdownClock/Settings.cs | using System;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public DateTime EndDateTime { get; set; } = DateTime.Now;
}
} | using System;
using DesktopWidgets.Classes;
namespace DesktopWidgets.Widgets.CountdownClock
{
public class Settings : WidgetClockSettingsBase
{
public Settings()
{
TimeFormat = "dd:hh:mm:ss";
}
public DateTime EndDateTime { get; set; } = DateTime.Now;
}
} | Change "Countdown" widget default "TimeFormat" | Change "Countdown" widget default "TimeFormat"
| C# | apache-2.0 | danielchalmers/DesktopWidgets |
e541b36d01e2b0e6c4fce3c39b268fba1d024c24 | Assets/Scripts/BehaviorTree/Conditionals/Conditional.cs | Assets/Scripts/BehaviorTree/Conditionals/Conditional.cs | public class Conditional : DecoratorTask {
private ConditionalDelegate conditionalDelegate;
public Conditional(string name, ConditionalDelegate conditionalDelegate) : base(name)
{
this.conditionalDelegate = conditionalDelegate;
}
public override ReturnCode Update()
{
var value... | public class Conditional : Task {
private ConditionalDelegate conditionalDelegate;
public Conditional(string name, ConditionalDelegate conditionalDelegate) : base(name)
{
this.conditionalDelegate = conditionalDelegate;
}
public override ReturnCode Update()
{
var value = condit... | Change conditional from decorator to a task | Change conditional from decorator to a task
| C# | unlicense | marcotmp/BehaviorTree |
6c983d4a36afaf985b6cfa760ea745d9abe91117 | SharpConfig/ITypeStringConverter.cs | SharpConfig/ITypeStringConverter.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SharpConfig
{
public interface ITypeStringConverter
{
string ConvertToString(object value);
object ConvertFromString(string value, Type hint);
Type ConvertibleType { get; }
}
public abstract class Typ... | using System;
using System.Collections.Generic;
using System.Text;
namespace SharpConfig
{
/// <summary>
/// Defines a type-to-string and string-to-type converter
/// that is used for the conversion of setting values.
/// </summary>
public interface ITypeStringConverter
{
/// <summary>... | Add type string converter documentation. | Add type string converter documentation.
| C# | mit | cemdervis/SharpConfig |
4610e37c682ec1195046d6621ac1ba8701306394 | Camunda.Api.Client/Identity/IdentityVerifiedUser.cs | Camunda.Api.Client/Identity/IdentityVerifiedUser.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Camunda.Api.Client.Identity
{
public class IdentityVerifiedUser
{
/// <summary>
/// The id of the user
/// </summary>
public string AuthenticatedUser;
/// <summary>
/// Verification suc... | using System;
using System.Collections.Generic;
using System.Text;
namespace Camunda.Api.Client.Identity
{
public class IdentityVerifiedUser
{
/// <summary>
/// The id of the user
/// </summary>
public string AuthenticatedUser;
/// <summary>
/// Verification suc... | Fix isAuthenticated -> authenticated to get it working - Camunda docs error | Fix isAuthenticated -> authenticated to get it working - Camunda docs error
| C# | mit | jlucansky/Camunda.Api.Client |
b689e75924bfc84375795bcba084148c74c4ddbf | Confuser.Core/Project/Patterns/NamespaceFunction.cs | Confuser.Core/Project/Patterns/NamespaceFunction.cs | using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inheritdoc />
public override string Name {
get { r... | using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inheritdoc />
public override string Name {
get { r... | Fix namespace function not using top level types | Fix namespace function not using top level types
| C# | mit | fretelweb/ConfuserEx,timnboys/ConfuserEx,arpitpanwar/ConfuserEx,modulexcite/ConfuserEx,farmaair/ConfuserEx,yuligang1234/ConfuserEx,yeaicc/ConfuserEx,AgileJoshua/ConfuserEx,manojdjoshi/ConfuserEx,jbeshir/ConfuserEx,JPVenson/ConfuserEx,mirbegtlax/ConfuserEx,Desolath/ConfuserEx3,MetSystem/ConfuserEx,mirbegtlax/ConfuserEx,... |
6834a28fe35f92da3f2cbac0cb2dffb4d09367b5 | Rant/Vocabulary/Dic2Lexer.cs | Rant/Vocabulary/Dic2Lexer.cs | using System.Collections.Generic;
using System.Text.RegularExpressions;
using Rant.Stringes;
using Rant.Stringes.Tokens;
namespace Rant.Vocabulary
{
internal static class Dic2Lexer
{
private const RegexOptions DicRegexOptions = RegexOptions.Compiled;
private static readonly LexerRules<DicToke... | using System.Collections.Generic;
using System.Text.RegularExpressions;
using Rant.Stringes;
using Rant.Stringes.Tokens;
namespace Rant.Vocabulary
{
internal static class Dic2Lexer
{
private const RegexOptions DicRegexOptions = RegexOptions.Compiled;
private static readonly LexerRules<DicToke... | Fix Dic2 lexer regexes to work properly on Linux | Fix Dic2 lexer regexes to work properly on Linux
| C# | mit | TheBerkin/Rant,esaul/Rant |
e4463254d7feab088262dfb84826f4ce5a04ba43 | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.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 NUnit.Framework;
using osu.Framework.Testing;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Osu;
using osu.G... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Testing;
using osu.G... | Add test coverage for score counter alignment | Add test coverage for score counter alignment
| C# | mit | UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu |
78528fc49ea840a74b0abfcc9393c902a724ecfc | tests/AdventOfCode.Tests/Puzzles/Y2016/Day18Tests.cs | tests/AdventOfCode.Tests/Puzzles/Y2016/Day18Tests.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.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | // 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.AdventOfCode.Puzzles.Y2016
{
using Xunit;
/// <summary>
/// A class containing tests for the <see cref="Da... | Add test for day 18 part 2 | Add test for day 18 part 2
Add a test for part 2 of the puzzle for day 18.
| C# | apache-2.0 | martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode |
b34b6a829f87db1d820828847beed8b9732acab6 | src/Diploms.DataLayer/DiplomContextExtensions.cs | src/Diploms.DataLayer/DiplomContextExtensions.cs | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
using System.Collections.Generic;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(... | using System;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Diploms.Core;
using System.Collections.Generic;
namespace Diploms.DataLayer
{
public static class DiplomContentSystemExtensions
{
public static void EnsureSeedData(... | Fix saving changes when seeding data | Fix saving changes when seeding data
| C# | mit | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs |
c9fe3caf9c9454d1e134174a4ed1ea68abae31b5 | RemoteTaskServer/TaskServer/Api/Controllers/Impl/GpuController.cs | RemoteTaskServer/TaskServer/Api/Controllers/Impl/GpuController.cs | #region
using System.Linq;
using System.Management;
using UlteriusServer.TaskServer.Api.Models;
using UlteriusServer.TaskServer.Api.Serialization;
using vtortola.WebSockets;
#endregion
namespace UlteriusServer.TaskServer.Api.Controllers.Impl
{
internal class GpuController : ApiController
{
private r... | #region
using System.Linq;
using System.Management;
using UlteriusServer.TaskServer.Api.Models;
using UlteriusServer.TaskServer.Api.Serialization;
using vtortola.WebSockets;
#endregion
namespace UlteriusServer.TaskServer.Api.Controllers.Impl
{
internal class GpuController : ApiController
{
private r... | Set to 0 if null | Set to 0 if null
| C# | mpl-2.0 | Ulterius/server |
43cac8ec1cf8d5f24fe32f91640aefd8115edbf0 | Game/Assets/Scripts/plateformer/PlateformerManager.cs | Game/Assets/Scripts/plateformer/PlateformerManager.cs | using UnityEngine;
using System.Collections;
public class PlateformerManager : MonoBehaviour {
public float MoveSpeed;
public float JumpForce;
public float Gravity;
public float TimerForDifficulty;
float timeUntilEndGame;
public static PlateformerManager Instance;
void Awake ()
{
PlateformerManager.Insta... | using UnityEngine;
using System.Collections;
public class PlateformerManager : MonoBehaviour {
public float MoveSpeed;
public float JumpForce;
public float Gravity;
public float TimerForDifficulty;
float timeUntilEndGame;
public static PlateformerManager Instance;
void Awake ()
{
PlateformerManager.Insta... | Update plateformer gravity at fixed update | Update plateformer gravity at fixed update
| C# | mit | julesbriquet/PostCredit |
dc04de617fed1fb9f6c2eb10b4551a02604d0971 | AssemblyInfo.cs | AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | Use the correct strong name for dbus-sharp-glib friend assembly | Use the correct strong name for dbus-sharp-glib friend assembly
| C# | mit | tmds/Tmds.DBus |
660d6a57fca927107d4645b69402fec8311d0ac1 | Nexmo.Api/Jwt.cs | Nexmo.Api/Jwt.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using Jose;
namespace Nexmo.Api
{
internal class Jwt
{
internal static string CreateToken(string appId, string privateKeyFile)
{
var tokenData = new byte[64];
var rng = ... | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using Jose;
namespace Nexmo.Api
{
internal class Jwt
{
internal static string CreateToken(string appId, string privateKey)
{
var tokenData = new byte[64];
var rng = RandomNumberGenerator... | Remove IO dependency; expect contents of private key and not path to key | Remove IO dependency; expect contents of private key and not path to key
| C# | mit | Nexmo/csharp-client,Nexmo/csharp-client,Nexmo/nexmo-dotnet |
0a02fa84a1b870598baa9b1c70ed3fa253378625 | src/Buildalyzer/Construction/PackageReference.cs | src/Buildalyzer/Construction/PackageReference.cs | using System;
using System.Xml.Linq;
namespace Buildalyzer.Construction
{
public class PackageReference : IPackageReference
{
public string Name { get; }
public string Version { get; }
internal PackageReference(XElement packageReferenceElement)
{
this.N... | using System;
using System.Xml.Linq;
namespace Buildalyzer.Construction
{
public class PackageReference : IPackageReference
{
public string Name { get; }
public string Version { get; }
internal PackageReference(XElement packageReferenceElement)
{
this.N... | Add support for update property | Add support for update property
| C# | mit | daveaglick/Buildalyzer,daveaglick/Buildalyzer,daveaglick/Buildalyzer |
072c7795a7489cb2d35a43771106ca47c5a72e36 | GUtils.IO/FileSizes.cs | GUtils.IO/FileSizes.cs | using System;
namespace GUtils.IO
{
public static class FileSizes
{
public const UInt64 B = 1024;
public const UInt64 KiB = 1024 * B;
public const UInt64 MiB = 1024 * KiB;
public const UInt64 GiB = 1024 * MiB;
public const UInt64 TiB = 1024 * GiB;
public const U... | using System;
namespace GUtils.IO
{
public static class FileSizes
{
public const UInt64 B = 1024;
public const UInt64 KiB = 1024 * B;
public const UInt64 MiB = 1024 * KiB;
public const UInt64 GiB = 1024 * MiB;
public const UInt64 TiB = 1024 * GiB;
public const U... | Use floor for better file sizes | Use floor for better file sizes
Outputs (64 KiB instead of 0.06 MiB) | C# | mit | GGG-KILLER/GUtils.NET |
2d5b641a78dce39c6609c5f21bf106dc403e8a3f | Mapsui/MRect2.cs | Mapsui/MRect2.cs | namespace Mapsui;
public class MRect2
{
public MPoint Max { get; }
public MPoint Min { get; }
public double MaxX => Max.X;
public double MaxY => Max.Y;
public double MinX => Min.X;
public double MinY => Min.Y;
public MPoint Centroid => new MPoint(Max.X - Min.X, Max.Y - Min.Y);
publi... | using System.Collections.Generic;
namespace Mapsui;
public class MRect2
{
public MPoint Max { get; }
public MPoint Min { get; }
public double MaxX => Max.X;
public double MaxY => Max.Y;
public double MinX => Min.X;
public double MinY => Min.Y;
public MPoint Centroid => new MPoint(Max.X ... | Add our own Vertices method | Add our own Vertices method
| C# | mit | charlenni/Mapsui,charlenni/Mapsui |
81218e939b50da2be16e4416dc8e483912c8fbdc | twitch-tv-viewer/Services/TwitchChannelService.cs | twitch-tv-viewer/Services/TwitchChannelService.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using twitch_tv_viewer.Models;
namespace twitch_tv_viewer.Services
{
public class TwitchChannelService : ITwitchChannelService
{
public async Task<string> PlayV... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using twitch_tv_viewer.Models;
using twitch_tv_viewer.Repositories;
namespace twitch_tv_viewer.Services
{
public class TwitchChannelService : ITwitchChannelService
{
... | Use settings repository in twitch channel service | Use settings repository in twitch channel service
| C# | mit | dukemiller/twitch-tv-viewer |
f588e348f7da59babbea085fc06c4174b30b2707 | Battery-Commander.Web/Queries/GetSUTARequests.cs | Battery-Commander.Web/Queries/GetSUTARequests.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace BatteryCommander.Web.Queries
{
public class GetSUTARequests : IRequest<IEnumer... | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using BatteryCommander.Web.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace BatteryCommander.Web.Queries
{
public class GetSUTARequests : IRequest<IEnumer... | Order by start date by default | Order by start date by default
#501
| C# | mit | mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander |
3f9b1334fb924141b43ddfe46738d2c37861abb6 | Specification/AutomationLayer/StepDefinitions.cs | Specification/AutomationLayer/StepDefinitions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FizzBuzz.ConsoleApp;
using TechTalk.SpecFlow;
namespace FizzBuzz.Specification.AutomationLayer
{
[Binding]
public class StepDefinitions
{
private int currentNumber;
private string currentResult;
[Given(@"the... | using System;
using FizzBuzz.ConsoleApp;
using NFluent;
using TechTalk.SpecFlow;
namespace FizzBuzz.Specification.AutomationLayer
{
[Binding]
public class StepDefinitions
{
private int currentNumber;
private string currentResult;
[Given(@"the current number is '(.*)'")]
public void GivenTheCurr... | Implement third step of automation layer | Implement third step of automation layer
| C# | mit | dirkrombauts/fizz-buzz |
fbf9cf0b56b1e2017dda9e035a1f0e29b0b96eb2 | Scripts/Unit.cs | Scripts/Unit.cs | using UnityEngine;
using System.Collections;
[SelectionBase]
[DisallowMultipleComponent]
public class Unit : MonoBehaviour {
[SerializeField]
string faction;
[SerializeField]
int maxHeath = 100;
[SerializeField]
int health;
// This function is called on Component Placement/Replacement
... | using UnityEngine;
using System.Collections;
[SelectionBase]
[DisallowMultipleComponent]
public class Unit : MonoBehaviour {
[SerializeField]
string faction;
[SerializeField]
int maxHeath = 100;
[SerializeField]
int health;
// This function is called on Component Placement/Replacement
... | Test for CRLF line ending bug | Test for CRLF line ending bug
edit: working
| C# | cc0-1.0 | Guema/Arcanix |
47ded411863d45bd25ccd1dafeff6d613d620fb4 | Commencement.Jobs.Common/Logging/LogHelper.cs | Commencement.Jobs.Common/Logging/LogHelper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog;
namespace Commencement.Jobs.Common.Logging
{
public static class LogHelper
{
private static bool _loggingSetup = false;
public static void ConfigureL... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Serilog;
using Serilog.Exceptions.Destructurers;
namespace Commencement.Jobs.Common.Logging
{
public static class LogHelper
{
private static bool _loggingSetup = false;... | Add it to the job log too. | Add it to the job log too.
| C# | mit | ucdavis/Commencement,ucdavis/Commencement,ucdavis/Commencement |
2bc0eaee7ba64c3416e3387b6d24fd85301540a7 | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISyml... | using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISyml... | Fix unprivileged file symlink creation | Fix unprivileged file symlink creation
| C# | agpl-3.0 | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools |
4bf764d1a714563b295da2616954453bf9944f77 | Algo/FisherYates/FisherYates.cs | Algo/FisherYates/FisherYates.cs | using System;
using System.Collections.Generic;
namespace FisherYates
{
public static class FisherYates
{
/*
** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
*/
static readonly Random Rand = new Random();
public static IEnumerable<T> Shuffle<T>(this IEnumerable<T... | using System;
using System.Collections.Generic;
using System.Linq;
namespace FisherYates
{
public static class FisherYates
{
/*
** http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
*/
static readonly Random Rand = new Random();
public static IEnumerable<T> Shuffle<T>... | Remove whitespace and add using | Remove whitespace and add using
| C# | bsd-3-clause | aloisdg/algo |
06fa6d5d65093fed15cf14de8a5e69f1623f64d6 | symbooglix/SymbooglixLibTests/ExprSMTLIB/Literal.cs | symbooglix/SymbooglixLibTests/ExprSMTLIB/Literal.cs | using NUnit.Framework;
using System;
using Microsoft.Boogie;
using Microsoft.Basetypes;
using System.IO;
using symbooglix;
namespace SymbooglixLibTests
{
[TestFixture()]
public class Literal
{
public Literal()
{
SymbooglixTest.setupDebug();
}
[Test()]
pu... | using NUnit.Framework;
using System;
using Microsoft.Boogie;
using Microsoft.Basetypes;
using System.IO;
using symbooglix;
namespace ExprSMTLIBTest
{
[TestFixture()]
public class Literal
{
public Literal()
{
SymbooglixLibTests.SymbooglixTest.setupDebug();
}
[Tes... | Move the ExprSMTLIB test cases (there's only one right now) into their own namespace. | Move the ExprSMTLIB test cases (there's only one right now) into their
own namespace.
| C# | bsd-2-clause | symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix |
fafe30bda316fe239af661dce96bbc0288de3b31 | MEF/UI/App.xaml.cs | MEF/UI/App.xaml.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Practices.Unity;
using UI.AddComponent;
namespace UI
{
/// <summary>
/// Interaction logic for App.... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Practices.Unity;
using UI.AddComponent;
namespace UI
{
/// <summary>
/// Interaction logic for App.... | Add Guid as name for workspace registration | Add Guid as name for workspace registration
| C# | unlicense | balazs4/mef |
1764349d3ad252331863bb0b28b641868729ace1 | EvoCommand/Program.cs | EvoCommand/Program.cs | using EvoSim;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EvoCommand {
class Program {
static void Main(string[] args) {
Simulation sim = new Simulation();
... | using EvoSim;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace EvoCommand {
class Program {
static void Main(string[] args) {
Simulation sim = new Simulation();
... | Update now actually does things in EvoCommand | Update now actually does things in EvoCommand
| C# | mit | pampersrocker/EvoNet |
8604aa165c1c23f58381a039ddbc3a83589719f1 | Controllers/ValuesController.cs | Controllers/ValuesController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace netcore.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumerable<s... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace netcore.Controllers
{
[Route("api/[controller]")]
public class ValuesController : Controller
{
// GET api/values
[HttpGet]
public IEnumerable<V... | Add Value object with Id and Text | Add Value object with Id and Text
| C# | apache-2.0 | ktenman/netcore |
c23f604f3ef9e3fbe035e26c932fc4486c958baf | SoraBot/SoraBot.Services/Guilds/PrefixService.cs | SoraBot/SoraBot.Services/Guilds/PrefixService.cs | using System;
using System.Threading.Tasks;
using SoraBot.Data.Repositories.Interfaces;
using SoraBot.Services.Cache;
namespace SoraBot.Services.Guilds
{
public class PrefixService : IPrefixService
{
public const string CACHE_PREFIX = "prfx:";
public const short CACHE_TTL_MINS = 60;
... | using System;
using System.Threading.Tasks;
using SoraBot.Data.Repositories.Interfaces;
using SoraBot.Services.Cache;
namespace SoraBot.Services.Guilds
{
public class PrefixService : IPrefixService
{
public const string CACHE_PREFIX = "prfx:";
// public const short CACHE_TTL_MINS = 60;
... | Set TTL for prefix to infinity rn | Set TTL for prefix to infinity rn
| C# | agpl-3.0 | Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2 |
9a04410f0a93866a7f0a88c80c368f9d1b427065 | source/Handlebars/UndefinedBindingResult.cs | source/Handlebars/UndefinedBindingResult.cs | using System;
using System.Diagnostics;
using HandlebarsDotNet.Collections;
using HandlebarsDotNet.EqualityComparers;
using HandlebarsDotNet.Runtime;
namespace HandlebarsDotNet
{
[DebuggerDisplay("undefined")]
public class UndefinedBindingResult : IEquatable<UndefinedBindingResult>
{
private static readonl... | using System;
using System.Diagnostics;
using HandlebarsDotNet.Collections;
using HandlebarsDotNet.EqualityComparers;
using HandlebarsDotNet.Runtime;
namespace HandlebarsDotNet
{
[DebuggerDisplay("undefined")]
public class UndefinedBindingResult : IEquatable<UndefinedBindingResult>
{
private static readonl... | Use case sensitive cache for Undefined result | Use case sensitive cache for Undefined result
| C# | mit | rexm/Handlebars.Net,rexm/Handlebars.Net |
5dcdda3ab33c2c0cf34283a194a1bb5a1b3df7e7 | samples/Basic/Program.cs | samples/Basic/Program.cs | using System.Threading.Tasks;
using Basic.Models;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using MR.AspNetCore.Jobs;
namespace Basic
{
public class Program
{
public static async Task Main(string[] args)
{... | using System.Threading.Tasks;
using Basic.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using MR.AspNetCore.Jobs;
namespace Basic
{
public class Program
{
public static async Task Main(string[] a... | Use generic host in sample | Use generic host in sample
| C# | mit | mrahhal/MR.AspNetCore.Jobs,mrahhal/MR.AspNetCore.Jobs |
ed14f27456e02cfee34d3c29b450e72d9f90a691 | src/Server/Infrastructure/PackageUtility.cs | src/Server/Infrastructure/PackageUtility.cs | using System;
using System.Web;
using System.Web.Hosting;
using System.Configuration;
namespace NuGet.Server.Infrastructure
{
public class PackageUtility
{
internal static string PackagePhysicalPath;
private static string DefaultPackagePhysicalPath = HostingEnvironment.MapPath("~/Pa... | using System;
using System.Web;
using System.Web.Hosting;
using System.Configuration;
using System.IO;
namespace NuGet.Server.Infrastructure
{
public class PackageUtility
{
internal static string PackagePhysicalPath;
private static string DefaultPackagePhysicalPath = HostingEnviron... | Check if the specified path is a physical or a virtual path | Check if the specified path is a physical or a virtual path
| C# | apache-2.0 | mono/nuget,indsoft/NuGet2,pratikkagda/nuget,jholovacs/NuGet,akrisiun/NuGet,oliver-feng/nuget,RichiCoder1/nuget-chocolatey,RichiCoder1/nuget-chocolatey,akrisiun/NuGet,oliver-feng/nuget,mrward/nuget,zskullz/nuget,ctaggart/nuget,GearedToWar/NuGet2,oliver-feng/nuget,jholovacs/NuGet,antiufo/NuGet2,jholovacs/NuGet,rikoe/nuge... |
ada26c5ccd7ffe1b4709310bc62f16fd3cb13ddb | src/NTwitch.Core/Entities/IEntity.cs | src/NTwitch.Core/Entities/IEntity.cs | namespace NTwitch
{
public interface IEntity
{
ITwitchClient Client { get; }
uint Id { get; }
}
}
| namespace NTwitch
{
public interface IEntity
{
ITwitchClient Client { get; }
ulong Id { get; }
}
}
| Change id type from uint to ulong | Change id type from uint to ulong
| C# | mit | Aux/NTwitch,Aux/NTwitch |
a94975b6e6925a52f67731f3dd134ff14760d230 | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | src/Booma.Proxy.Client.Unity.Ship/Services/Entity/Player/INetworkPlayerCollection.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Booma.Proxy
{
/// <summary>
/// The collection of network players that are known about.
/// </summary>
public interface INetworkPlayerCollection : IEnumerable<INetworkPlayer>
{
/// <sum... | Remove uneeded player collection methods | Remove uneeded player collection methods
| C# | agpl-3.0 | HelloKitty/Booma.Proxy |
6c578f3cc79500a2e50942014ce7c59c2af73a4c | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | apis/Google.Monitoring.V3/Google.Monitoring.V3.Snippets/GroupServiceClientSnippets.cs | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | Comment out non-compiling test while we don't flatten ListGroups | Comment out non-compiling test while we don't flatten ListGroups
| C# | apache-2.0 | evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,benwulfe/google-cloud-dotnet,chrisdunelm/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,ctaggart/google-clou... |
896a87e62921bfef2281a822eb20c784e3612fd2 | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs | osu.Game.Rulesets.Osu/Skinning/OsuSkinConfiguration.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
... | Replace accidental tab with spaces | Replace accidental tab with spaces
| C# | mit | smoogipooo/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu |
af6f2e54fd6f1bbba5f1627eafc8e7bdffb8fef1 | R7.University/Queries/Query.cs | R7.University/Queries/Query.cs | //
// Query.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either ver... | //
// Query.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either ver... | Add execute method overload with ordering | Add execute method overload with ordering
| C# | agpl-3.0 | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University |
88b2a12c0942e6296f453456a42e8a7958a92488 | osu.Game/Screens/Multi/Match/Components/Footer.cs | osu.Game/Screens/Multi/Match/Components/Footer.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 osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Fram... | // 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 osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Fram... | Reduce footer height to match back button | Reduce footer height to match back button
| C# | mit | peppy/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu |
2c1793ddebee36f63d64ebf4c0aff323cb332b0f | Dcc/Startup.cs | Dcc/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Tiesmaster.Dcc
{
public class Startup
{
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Logging;
namespace Tiesmaster.Dcc
{
public class Startup
{
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
loggerFactory.AddCon... | Change hello world implementation to using the | Change hello world implementation to using the
proxy.
| C# | mit | tiesmaster/DCC,tiesmaster/DCC |
274f1b7b065a4ca149a95174605e5e6d825de560 | src/BmpListener/Bgp/PathAttributeMultiExitDisc.cs | src/BmpListener/Bgp/PathAttributeMultiExitDisc.cs | namespace BmpListener.Bgp
{
internal class PathAttributeMultiExitDisc : PathAttribute
{
public int? Metric { get; private set; }
public override void Decode(byte[] data, int offset)
{
//Array.Reverse(data, offset, 0);
//Metric = BitConverter.ToInt32(data, 0);
... | using BmpListener.Utilities;
namespace BmpListener.Bgp
{
internal class PathAttributeMultiExitDisc : PathAttribute
{
public uint Metric { get; private set; }
public override void Decode(byte[] data, int offset)
{
Metric = EndianBitConverter.Big.ToUInt32(data, offset);
... | Add multi-exit discriminator (MED) support | Add multi-exit discriminator (MED) support
| C# | mit | mstrother/BmpListener |
73365efd1765ec70fbf6423398b31ef8eaca348b | src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs | src/Daterpillar.NET/Data/MySQLSchemaAggregator.cs | using System;
using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class MySQLSchemaAggregator : SchemaAggregatorBase
{
public MySQLSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
... | using System;
using System.Data;
namespace Gigobyte.Daterpillar.Data
{
public class MySQLSchemaAggregator : SchemaAggregatorBase
{
public MySQLSchemaAggregator(IDbConnection connection) : base(connection)
{
}
protected override string GetColumnInfoQuery(string tableName)
... | Add implementation details to MySQLScheamAggregator.cs | Add implementation details to MySQLScheamAggregator.cs
| C# | mit | Ackara/Daterpillar |
b658efe04621625fcb028c7db0adea9404b31dbb | src/Schema/Playlists/Response/PlaylistLocation.cs | src/Schema/Playlists/Response/PlaylistLocation.cs | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response
{
[Serializable]
public class PlaylistLocation : UserBasedUpdatableItem
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlElement("name")]
public string... | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace SevenDigital.Api.Schema.Playlists.Response
{
[Serializable]
public class PlaylistLocation : UserBasedUpdatableItem
{
[XmlAttribute("id")]
public string Id { get; set; }
[XmlElement("name")]
public string... | Add image and description to playlist location | Add image and description to playlist location
| C# | mit | scooper91/SevenDigital.Api.Schema,7digital/SevenDigital.Api.Schema |
53c5ae9d48de2aaa47d5f4e6bfc1b05536a102fc | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | WalletWasabi.Gui/Shell/MainMenu/ToolsMainMenuItems.cs | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory _menuItemFactory;
[ImportingConstructor]
public ToolsMai... | using AvalonStudio.MainMenu;
using AvalonStudio.Menus;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace WalletWasabi.Gui.Shell.MainMenu
{
internal class ToolsMainMenuItems
{
private IMenuItemFactory _menuItemFactory;
[ImportingConstructor]
public ToolsMai... | Rename Wallets group to Managers group | Rename Wallets group to Managers group
| C# | mit | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet |
f9c72c764604fb11f8cf828422eb60558b723f81 | SampleGame.Android/MainActivity.cs | SampleGame.Android/MainActivity.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Android.App;
using Android.OS;
using Android.Content.PM;
using Android.Views;
namespace SampleGame.Android
{
[Activity(Label = "SampleGame", Config... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using Android.App;
using Android.OS;
using Android.Content.PM;
using Android.Views;
namespace SampleGame.Android
{
[Activity(ConfigurationChanges = Confi... | Remove the label as you can not see it when running the app | Remove the label as you can not see it when running the app
| C# | mit | ZLima12/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-frame... |
b24c875ad019cf321d9b18e7e8bfd49e858af95a | YGOSharp/Program.cs | YGOSharp/Program.cs | #if !DEBUG
using System;
using System.IO;
#endif
using System.Threading;
using YGOSharp.OCGWrapper;
namespace YGOSharp
{
public class Program
{
public static uint ClientVersion = 0x133D;
public static void Main(string[] args)
{
#if !DEBUG
try
{... | #if !DEBUG
using System;
using System.IO;
#endif
using System.Threading;
using YGOSharp.OCGWrapper;
namespace YGOSharp
{
public class Program
{
public static uint ClientVersion = 0x1343;
public static void Main(string[] args)
{
#if !DEBUG
try
{... | Bump the protocol version to 0x1343 | Bump the protocol version to 0x1343
| C# | mit | IceYGO/ygosharp |
db12eff96b85ae62ee4637420c567c62a7a6bbdf | rethinkdb-net-test/TestBase.cs | rethinkdb-net-test/TestBase.cs | using System;
using NUnit.Framework;
using RethinkDb;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using RethinkDb.Configuration;
namespace RethinkDb.Test
{
public class TestBase
{
protected IConnection connection;
[TestFixtureSetUp]
public virtual void TestFixtur... | using System;
using NUnit.Framework;
using RethinkDb;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using RethinkDb.Configuration;
namespace RethinkDb.Test
{
public class TestBase
{
protected IConnection connection;
[TestFixtureSetUp]
public virtual void TestFixtur... | Reduce unit test logger verbosity | Reduce unit test logger verbosity
| C# | apache-2.0 | LukeForder/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net,Ernesto99/rethinkdb-net,bbqchickenrobot/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,Ernesto99/rethinkdb-net,bbqchickenrobot/rethinkdb-net,nkreipke/rethinkdb-net |
3d1507a7b3949f58e89e5c9f0f891c8a178263f0 | Anne.Foundation/Mvvm/ViewModelBase.cs | Anne.Foundation/Mvvm/ViewModelBase.cs | using Livet;
namespace Anne.Foundation.Mvvm
{
public class ViewModelBase : ViewModel
{
public ViewModelBase()
{
DisposableChecker.Add(this);
}
protected override void Dispose(bool disposing)
{
DisposableChecker.Remove(this);
base.Di... | using Livet;
namespace Anne.Foundation.Mvvm
{
public class ViewModelBase : ViewModel
{
public ViewModelBase()
{
DisposableChecker.Add(this);
}
protected override void Dispose(bool disposing)
{
if (disposing)
DisposableChecker.Rem... | Fix multiple dispose check problem | Fix multiple dispose check problem
| C# | mit | YoshihiroIto/Anne |
eb1fc0efb147df3b13aa4f68b18d4603c6d0fd35 | Assets/Scripts/UI/WaveformRenderer.cs | Assets/Scripts/UI/WaveformRenderer.cs | using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
public class WaveformRenderer : MonoBehaviour
{
[SerializeField]
Color color;
void Awake()
{
var model = NotesEditorModel.Instance;
var waveData = new float[500000];
var skipSamples = 50;
var line... | using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
public class WaveformRenderer : MonoBehaviour
{
[SerializeField]
Color color;
void Awake()
{
var model = NotesEditorModel.Instance;
var waveData = new float[500000];
var skipSamples = 50;
var line... | Fix offset samples for GetData | Fix offset samples for GetData
| C# | mit | setchi/NoteEditor,setchi/NotesEditor |
dc75629506b0881f58dcb15b5cef212608408724 | Source/ContractsWindow.Unity/Interfaces/ICW_Window.cs | Source/ContractsWindow.Unity/Interfaces/ICW_Window.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Unity;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Interfaces
{
public interface ICW_Window
{
bool HideTooltips { get; set; }
bool BlizzyAvailable { get; }
bool StockToolbar { get; set; }
bool Replace... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Unity;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Interfaces
{
public interface ICW_Window
{
bool HideTooltips { get; set; }
bool BlizzyAvailable { get; }
bool StockToolbar { get; set; }
bool Replace... | Fix UI scale; add Canvas property | Fix UI scale; add Canvas property
| C# | mit | DMagic1/KSP_Contract_Window |
a80a89da87027a8653e25701085438bf65510182 | Assets/Scripts/Grid/GridOutput.cs | Assets/Scripts/Grid/GridOutput.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | Destroy factory items when moving them to stockpile | Destroy factory items when moving them to stockpile
| C# | mit | knexer/TimeLoopIncremental |
d54a212c232d1165bf18f0daecdf9ca787473807 | EndlessClient/TestModeLauncher.cs | EndlessClient/TestModeLauncher.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 EndlessClient.GameExecution;
using EndlessClient.Rendering.Factories;
using EOLib.IO.Repositories;
namespace EndlessClient
{
//todo: move this to a different n... | // 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 EndlessClient.GameExecution;
using EndlessClient.Rendering.Factories;
using EOLib.IO.Repositories;
namespace EndlessClient
{
//todo: move this to a different n... | Fix bug where test mode wouldn't launch | Fix bug where test mode wouldn't launch
| C# | mit | ethanmoffat/EndlessClient |
49ff39874ea7ec382bde5068f5b96c743a89b2f4 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | Split WCF functionality out of Autofac.Extras.Multitenant into a separate
assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned
3.1.0.
| C# | mit | autofac/Autofac.Extras.EnterpriseLibraryConfigurator |
0030d6b7f9a0d90e27728f056eec7915927d2b35 | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning.
| C# | mit | autofac/Autofac.SignalR |
874f0814c1820c70e6c89dfbe12576a3d2b8d14f | Helpers/Helper.cs | Helpers/Helper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItemCollage
{
public static class Helper
{
public static IEnumerable<int> Range(int start, int end, int step = 1)
{
if (start > end && step > 0 ||
start < end && step < 0... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItemCollage
{
public static class Helper
{
public static IEnumerable<int> Range(int start, int end, int step = 1)
{
if (start > end && step > 0 ||
start < end && step < 0... | Make Range report invalid arguments when throwing | Make Range report invalid arguments when throwing
| C# | mit | ygra/Diablo3ItemCollage,ygra/Diablo3ItemCollage |
35f38b6fcdaa1343f0a629a1db7fc09553d20d0c | ChangeLoadingImage/AssemblyInfo.cs | ChangeLoadingImage/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("ChangeLoadingImage_beta")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("ChangeLoadingImage1.0")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")... | Change assembly version for release | Change assembly version for release
| C# | mit | githubpermutation/ChangeLoadingImage |
71deebfb32cf984ac4ed29d3f087b7f3df80ad80 | Tell/TellEntry.cs | Tell/TellEntry.cs | using System;
using System.Runtime.Serialization;
[DataContract]
class TellEntry
{
[DataMember]
public readonly string From;
[DataMember]
public readonly string Message;
[DataMember]
public readonly DateTimeOffset SentDate;
public TimeSpan ElapsedTime
{
get
{
... | using System;
using System.Runtime.Serialization;
[DataContract]
class TellEntry
{
[DataMember]
public readonly string From;
[DataMember]
public readonly string Message;
[DataMember]
public readonly DateTime SentDateUtc;
public TimeSpan ElapsedTime
{
get
{
... | Store sent date in UTC | Tell: Store sent date in UTC
| C# | bsd-2-clause | IvionSauce/MeidoBot |
3dc044203c2abf9c56106801e21fd11a5653a464 | test/Spring/Spring.Core.Tests/AssemblyInfo.cs | test/Spring/Spring.Core.Tests/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Spring.Core Tests")]
[assembly: AssemblyDescription("Unit tests for Spring.Core assembly")]
| using System.Reflection;
using System.Runtime.CompilerServices;
#if NET_4_0
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
#endif
[assembly: AssemblyTitle("Spring.Core Tests")]
[assembly: AssemblyDescription("Unit tests for Spring.Core assembly")]
| Add 'side by side' support in Framework .NET 4.0 | Add 'side by side' support in Framework .NET 4.0 [SPRNET-1320]
| C# | apache-2.0 | spring-projects/spring-net,kvr000/spring-net,dreamofei/spring-net,likesea/spring-net,likesea/spring-net,spring-projects/spring-net,zi1jing/spring-net,djechelon/spring-net,kvr000/spring-net,dreamofei/spring-net,kvr000/spring-net,yonglehou/spring-net,spring-projects/spring-net,yonglehou/spring-net,likesea/spring-net,djec... |
7fd0aba4c08808ab3be790bfd9887a2ab7cac9c5 | Digipost.Signature.Api.Client.Core/Document.cs | Digipost.Signature.Api.Client.Core/Document.cs | using System;
using System.IO;
using Digipost.Signature.Api.Client.Core.Internal.Asice;
using Digipost.Signature.Api.Client.Core.Internal.Extensions;
namespace Digipost.Signature.Api.Client.Core
{
public class Document : IAsiceAttachable
{
public Document(string title, FileType fileType, string docume... | using System;
using System.IO;
using Digipost.Signature.Api.Client.Core.Internal.Asice;
using Digipost.Signature.Api.Client.Core.Internal.Extensions;
namespace Digipost.Signature.Api.Client.Core
{
public class Document : IAsiceAttachable
{
public Document(string title, FileType fileType, string docume... | Make sure filename / href in document bundle are unique | Make sure filename / href in document bundle are unique
| C# | apache-2.0 | digipost/signature-api-client-dotnet |
359d13c1e33391f75bf0a126ad6b11199071007b | NuKeeper/RepositoryInspection/PackageUpdateSet.cs | NuKeeper/RepositoryInspection/PackageUpdateSet.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Packaging.Core;
using NuGet.Versioning;
namespace NuKeeper.RepositoryInspection
{
public class PackageUpdateSet
{
public PackageUpdateSet(PackageIdentity newPackage, IEnumerable<PackageInProject> currentPackages)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Packaging.Core;
using NuGet.Versioning;
namespace NuKeeper.RepositoryInspection
{
public class PackageUpdateSet
{
public PackageUpdateSet(PackageIdentity newPackage, IEnumerable<PackageInProject> currentPackages)
{
... | Enumerate once, make it readonly | Enumerate once, make it readonly
| C# | apache-2.0 | AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper |
ce05f3227d0f42cb4deac505872c79b28c116d3a | Source/LandauMedia.Telemetry/Counter.cs | Source/LandauMedia.Telemetry/Counter.cs | using System;
using LandauMedia.Telemetry.Internal;
namespace LandauMedia.Telemetry
{
public class Counter : ITelemeter
{
readonly Lazy<string> _lazyName;
Action<Lazy<string>, int> _decrement;
Action<Lazy<string>> _decrementByOne;
Action<Lazy<string>, int> _icnremnent;
A... | using System;
using LandauMedia.Telemetry.Internal;
namespace LandauMedia.Telemetry
{
public class Counter : ITelemeter
{
readonly Lazy<string> _lazyName;
Action<Lazy<string>, int> _decrement;
Action<Lazy<string>> _decrementByOne;
Action<Lazy<string>, int> _icnremnent;... | Increment and Decrement with 0 does not send any data. | Increment and Decrement with 0 does not send any data.
| C# | mit | landaumedia/landaumedia-telemetry |
b84aa63b4b159321ce7d64884caa9c46af885177 | XUnitSample.Tests/MainClassTest.cs | XUnitSample.Tests/MainClassTest.cs | using System;
using CSharpTraining;
using MonoBrickFirmware.Movement;
namespace XUnitSample.Tests
{
/// <summary>
/// Sample test class
/// </summary>
/// <remarks>
/// It was described below URL how to use XUnit
/// https://xunit.github.io/docs/comparisons.html
/// </remarks>
public class MainClassTests
{
... | using System;
using CSharpTraining;
using MonoBrickFirmware.Movement;
namespace XUnitSample.Tests
{
/// <summary>
/// Sample test class
/// </summary>
/// <remarks>
/// It was described below URL how to use XUnit
/// https://xunit.github.io/docs/comparisons.html
/// </remarks>
public class MainClassTests
{
... | Change instance from Motor to Object in test case | Change instance from Motor to Object in test case
| C# | mit | budougumi0617/CSharpTraining |
f9856dd3d1f8edc4828c84180c4812f9981544a0 | src/Core/Zip/ZipQuery.cs | src/Core/Zip/ZipQuery.cs | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | #region Copyright (c) 2016 Atif Aziz. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | Fix zip download to be non-blocking | Fix zip download to be non-blocking
| C# | apache-2.0 | atifaziz/WebLinq,weblinq/WebLinq,weblinq/WebLinq,atifaziz/WebLinq |
0da950beac62018f4edaecf14b1996df40b75993 | osu.Game/Screens/Play/KeyCounterMouse.cs | osu.Game/Screens/Play/KeyCounterMouse.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 osu.Framework.Input;
using OpenTK;
using OpenTK.Input;
namespace osu.Game.Screens.Play
{
public class KeyCounterMouse : KeyCounter
{
p... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input;
using OpenTK;
using OpenTK.Input;
namespace osu.Game.Screens.Play
{
public class KeyCounterMouse : KeyCounter
{
p... | Fix KeyCounter M1 M2 display. | Fix KeyCounter M1 M2 display.
| C# | mit | ZLima12/osu,peppy/osu,2yangk23/osu,tacchinotacchi/osu,smoogipooo/osu,nyaamara/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,johnneijzen/osu,ppy/osu,Damnae/osu,UselessToucan/osu,naoey/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,Drezi126/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,nao... |
203973d42004b810d8f5310e103c3e54b4b38c96 | Samples/Sample.Forms/Sample.Forms.UWP/MainPage.xaml.cs | Samples/Sample.Forms/Sample.Forms.UWP/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | Add platform init calls for UWP | Add platform init calls for UWP
Fixes #964
| C# | apache-2.0 | Redth/ZXing.Net.Mobile |
82cadea3f23d2af8d1da6f92a48b5a2f0b784d2f | src/CK.Glouton.Web/Controllers/AlertController.cs | src/CK.Glouton.Web/Controllers/AlertController.cs | using CK.Glouton.Model.Server.Handlers.Implementation;
using CK.Glouton.Model.Services;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route( "api/alert" )]
public class AlertController : Controller
{
private readonly IAlertService _alertService;
public AlertContr... | using CK.Glouton.Model.Server.Handlers.Implementation;
using CK.Glouton.Model.Services;
using Microsoft.AspNetCore.Mvc;
namespace CK.Glouton.Web.Controllers
{
[Route( "api/alert" )]
public class AlertController : Controller
{
private readonly IAlertService _alertService;
public AlertContr... | Fix issues with endpoint add of alert controller. | Fix issues with endpoint add of alert controller.
| C# | mit | ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton |
f439ab6eaa61ddfb8ac37390756432657e615c0d | src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.cs | src/EditorFeatures/Core/Implementation/CommentSelection/ToggleBlockCommentCommandHandler.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.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CommentSelection;
u... | // 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.ComponentModel.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CommentSelection;
u... | Fix async warning in toggle block comment. | Fix async warning in toggle block comment.
| C# | mit | bartdesmet/roslyn,davkean/roslyn,jmarolf/roslyn,ErikSchierboom/roslyn,brettfo/roslyn,sharwell/roslyn,physhi/roslyn,AlekseyTs/roslyn,CyrusNajmabadi/roslyn,panopticoncentral/roslyn,brettfo/roslyn,reaction1989/roslyn,diryboy/roslyn,genlu/roslyn,stephentoub/roslyn,bartdesmet/roslyn,abock/roslyn,davkean/roslyn,gafter/roslyn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.