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
cc450ed8cebfe0cd0767d65b1867d0dec6b45845
src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs
src/Microsoft.DotNet.ProjectJsonMigration/ConstantPackageVersions.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.ProjectJsonMigration { internal class ConstantPackageVersions { public const string AspNetToolsVersion...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DotNet.ProjectJsonMigration { internal class ConstantPackageVersions { public const string AspNetToolsVersion...
Update the version for migration project
Update the version for migration project
C#
mit
ravimeda/cli,weshaggard/cli,livarcocc/cli-1,dasMulli/cli,nguerrera/cli,Faizan2304/cli,jonsequitur/cli,livarcocc/cli-1,jonsequitur/cli,jonsequitur/cli,EdwardBlair/cli,nguerrera/cli,mlorbetske/cli,mlorbetske/cli,livarcocc/cli-1,nguerrera/cli,svick/cli,EdwardBlair/cli,blackdwarf/cli,blackdwarf/cli,svick/cli,Faizan2304/cli...
46f0df7bc0be14da3f2a955bbaadb43e84972da0
SampleApp/ExampleTableViewController.cs
SampleApp/ExampleTableViewController.cs
using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace SampleApp { partial class ExampleTableViewController : UITableViewController { public ExampleTableViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad () { base.ViewDidLoad (); Tabl...
using Foundation; using System; using System.CodeDom.Compiler; using UIKit; namespace SampleApp { partial class ExampleTableViewController : UITableViewController { public ExampleTableViewController (IntPtr handle) : base (handle) { } public override void ViewDidLoad () { base.ViewDidLoad (); Titl...
Set title of root controller (sample app)
Set title of root controller (sample app)
C#
mit
Microsoft/ApplicationInsights-Xamarin
fc1075b28377b546ac2fc1c067b072d810dedc99
CloudFlareUtilities/Properties/AssemblyInfo.cs
CloudFlareUtilities/Properties/AssemblyInfo.cs
using System; using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
using System; using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an ...
Add informational version to assembly manifest
Add informational version to assembly manifest
C#
mit
elcattivo/CloudFlareUtilities
ed92ef24288d980928868569c891e0bd86da8196
src/IoC/Autofac/AutofacFluentScenario.cs
src/IoC/Autofac/AutofacFluentScenario.cs
using NUnit.Framework; namespace Kekiri.IoC.Autofac { public class AutofacFluentScenario : IoCFluentScenario { public AutofacFluentScenario() : base(new AutofacContainer()) { } } public class AutofacFluentScenario<TContext> : IoCFluentScenario<TContext> where TContext : new() ...
namespace Kekiri.IoC.Autofac { public class AutofacFluentScenario : IoCFluentScenario { public AutofacFluentScenario() : base(new AutofacContainer()) { } } public class AutofacFluentScenario<TContext> : IoCFluentScenario<TContext> where TContext : new() { public Aut...
Remove unused namespace which caused a build failure
Remove unused namespace which caused a build failure
C#
mit
jorbor/Kekiri,chris-peterson/Kekiri,jorbor/Kekiri
78d2e9b18a3610c2e016e6de454646d719090163
Schedules.API/Modules/RemindersModule.cs
Schedules.API/Modules/RemindersModule.cs
using Nancy; using Nancy.ModelBinding; using Schedules.API.Models; using Simpler; using Schedules.API.Tasks.Reminders; namespace Schedules.API.Modules { public class RemindersModule : NancyModule { public RemindersModule () { Post["/reminders/sms"] = _ => { var createSMSReminder = CreateARem...
using Nancy; using Nancy.ModelBinding; using Schedules.API.Models; using Simpler; using Schedules.API.Tasks.Reminders; namespace Schedules.API.Modules { public class RemindersModule : NancyModule { public RemindersModule () { Post["/reminders/sms"] = _ => { var createSMSReminder = CreateARem...
Rename variable to make more sense
Rename variable to make more sense
C#
mit
codeforamerica/denver-schedules-api,schlos/denver-schedules-api,schlos/denver-schedules-api,codeforamerica/denver-schedules-api
144fcd36b43066ee11d21a4dd4f6538d091859fc
Source/GitSourceControl/GitSourceControl.Build.cs
Source/GitSourceControl/GitSourceControl.Build.cs
// Copyright (c) 2014 Sebastien Rombauts (sebastien.rombauts@gmail.com) // // Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt // or copy at http://opensource.org/licenses/MIT) using UnrealBuildTool; public class GitSourceControl : ModuleRules { public GitSourceControl(TargetInfo Target) {...
// Copyright (c) 2014 Sebastien Rombauts (sebastien.rombauts@gmail.com) // // Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt // or copy at http://opensource.org/licenses/MIT) using UnrealBuildTool; public class GitSourceControl : ModuleRules { public GitSourceControl(TargetInfo Target) {...
Fix build for UE4.2 - Add SlateCore as new module dependency
Fix build for UE4.2 - Add SlateCore as new module dependency
C#
mit
SRombauts/UE4GitPlugin,SRombauts/UE4GitPlugin,SRombauts/UE4GitPlugin
f07bf5bbb24fa376d7cb53423a235de0803773b0
SupportManager.Web/Pages/User/ApiKeys/List.cshtml
SupportManager.Web/Pages/User/ApiKeys/List.cshtml
@page @model SupportManager.Web.Pages.User.ApiKeys.ListModel @{ Layout = "/Features/Shared/_Layout.cshtml"; ViewData["Title"] = "API Keys"; } <h2>API Keys</h2> @if (!Model.Data.ApiKeys.Any()) { <div class="jumbotron"> <p> No API keys created yet. </p> <p> ...
@page @model SupportManager.Web.Pages.User.ApiKeys.ListModel @{ Layout = "/Features/Shared/_Layout.cshtml"; ViewData["Title"] = "API Keys"; } <h2>API Keys</h2> @if (!Model.Data.ApiKeys.Any()) { <div class="jumbotron"> <p> No API keys created yet. </p> <p> ...
Enable callback test only when url is set
Enable callback test only when url is set
C#
mit
mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager
b90e0cc002904cd7109b7ea53d121c532762226c
src/Fixie.Assertions/AssertException.cs
src/Fixie.Assertions/AssertException.cs
namespace Fixie.Assertions { using System; using System.Collections.Generic; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = "Fixie.Assertions."; public AssertException(string message) : base(message) { } ...
namespace Fixie.Assertions { using System; using System.Collections.Generic; public class AssertException : Exception { public static string FilterStackTraceAssemblyPrefix = "Fixie.Assertions."; public AssertException(string message) : base(message) { } ...
Use String.Split(...) instead of recreating it.
Use String.Split(...) instead of recreating it.
C#
mit
fixie/fixie
d101a7ecd47a8caf9dd253f4aa4e8477eafe276c
src/Website/Views/Shared/_Footer.cshtml
src/Website/Views/Shared/_Footer.cshtml
@model SiteOptions <hr /> <footer> <p> &copy; @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year | <a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information"> Site Status &amp; Uptime </a> | Built from ...
@model SiteOptions <hr /> <footer> <p> &copy; @Model.Metadata.Author.Name @DateTimeOffset.UtcNow.Year | <a id="link-status" href="@Model.ExternalLinks.Status.AbsoluteUri" target="_blank" title="View site uptime information"> Site Status &amp; Uptime </a> | Built from ...
Load footer image in JavaScript disabled
Load footer image in JavaScript disabled Load the BrowserStack logo in the footer if JavaScript is enabled.
C#
apache-2.0
martincostello/website,martincostello/website,martincostello/website,martincostello/website
7d22a94564beaa9bf18bc937ace85415325bce44
HackyNewsWeb/Global.asax.cs
HackyNewsWeb/Global.asax.cs
using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace HackyNewsWeb { public class Global : HttpApplication { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); RouteConfig.RegisterRoutes(RouteTable.Routes); } } }
using System.Net; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace HackyNewsWeb { public class Global : HttpApplication { protected void Application_Start() { // to account for SSL error ServicePointManager.SecurityProtocol = System.Net.Securi...
Update for SSL error with site
Update for SSL error with site
C#
mit
irfancharania/HackyNewsClone
a85049ec558d79797ccf78448e628f04f2e9652c
LeanGoldfish/IsCharacter.cs
LeanGoldfish/IsCharacter.cs
using System; namespace LeanGoldfish { public class IsCharacter : ParsingUnit { private char character; public IsCharacter(char character) { this.character = character; } internal override ParsingResult TryParse(string text, int position) { ...
using System; namespace LeanGoldfish { public class IsCharacter : ParsingUnit { private char character; public IsCharacter(char character) { this.character = character; } internal override ParsingResult TryParse(string text, int position) { ...
Add checking for end of text
Add checking for end of text
C#
mit
lzcd/LeanGoldfish
6be31d1e6024628760e848206f0d3ab335969925
row.cs
row.cs
using System; namespace Hangman { public class Row { public Cell[] Cells; public Row(Cell[] cells) { Cells = cells; } public string Draw(int width) { // return new String(' ', width - Text.Length) + Text; return "I have many cells!"; } } }
using System; namespace Hangman { public class Row { public Cell[] Cells; public Row(Cell[] cells) { Cells = cells; } public string Draw(int width) { // return new String(' ', width - Text.Length) + Text; return String.Join("\n", Lines()); } public string[] Lines() { ...
Join up hardcoded lines in a Row
Join up hardcoded lines in a Row
C#
unlicense
12joan/hangman
1a98f2bf71dcbf8d2c8b57980c90604529bdd4ce
src/SharpLang.Compiler/DefaultABI.cs
src/SharpLang.Compiler/DefaultABI.cs
using SharpLLVM; namespace SharpLang.CompilerServices { class DefaultABI : IABI { private readonly ContextRef context; private readonly TargetDataRef targetData; private readonly int intPtrSize; public DefaultABI(ContextRef context, TargetDataRef targetData) { ...
using SharpLLVM; namespace SharpLang.CompilerServices { class DefaultABI : IABI { private readonly ContextRef context; private readonly TargetDataRef targetData; private readonly int intPtrSize; public DefaultABI(ContextRef context, TargetDataRef targetData) { ...
Improve ABI to work better on x64 (values seems better off passed by value instead of byval*).
[Compiler] Improve ABI to work better on x64 (values seems better off passed by value instead of byval*).
C#
bsd-2-clause
xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang
215fee90416c47b76fe8cc5e7f53c0645a4aedfb
src/Data/DriversEdContext.cs
src/Data/DriversEdContext.cs
using Data.Mappings; using Domain.Entities; using System.Data.Entity; namespace Data { public class DriversEdContext : DbContext { public DriversEdContext() { // Database.SetInitializer<DriversEdContext>(null); } public DbSet<Driver> Drivers { get; set; } public DbSet<Co...
using Data.Mappings; using Domain.Entities; using System.Data.Entity; namespace Data { public class DriversEdContext : DbContext { public DriversEdContext() { Database.SetInitializer<DriversEdContext>(null); } public DbSet<Driver> Drivers { get; set; } public DbSet<Cours...
Put the null db initializer back in there.
Put the null db initializer back in there.
C#
mit
realistschuckle/entity-framework-mapping,realistschuckle/entity-framework-mapping
3de728c3d0fecbb3fa3e9b8019941cb51a3d2867
dotnet/Mammoth/Properties/AssemblyInfo.cs
dotnet/Mammoth/Properties/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("Mammoth")] [assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")] [as...
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("Mammoth")] [assembly: AssemblyDescription("Convert Word documents from docx to simple HTML")] [as...
Update assembly details for NuGet
Update assembly details for NuGet
C#
bsd-2-clause
mwilliamson/java-mammoth
ee8459faeb66d322159e4f7520750a2e60ec01c9
src/Raven.Bundles.Contrib.IndexedAttachments/Properties/AssemblyInfo.cs
src/Raven.Bundles.Contrib.IndexedAttachments/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Raven.Bundles.Contrib.IndexedAttachments")] [assembly: AssemblyDescription("Plugin for RavenDB that extracts text from attachments so they can be indexed.")] [assembly: AssemblyVersion("2.0.1.0")] [assembly: AssemblyFileVersion("2.0.1.0")]
using System.Reflection; [assembly: AssemblyTitle("Raven.Bundles.Contrib.IndexedAttachments")] [assembly: AssemblyDescription("Plugin for RavenDB that extracts text from attachments so they can be indexed.")] [assembly: AssemblyVersion("2.0.2.0")] [assembly: AssemblyFileVersion("2.0.2.0")]
Set IndexedAttachments to version 2.0.2.0
Set IndexedAttachments to version 2.0.2.0
C#
mit
ravendb/ravendb.contrib
af3fc868bdd4c616b4d486a99b9319df0167ebcd
plugins/PlaysReplacements/PlaysReplacements.cs
plugins/PlaysReplacements/PlaysReplacements.cs
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retrys; private Tokens.TokenS...
using StreamCompanionTypes.DataTypes; using StreamCompanionTypes.Enums; using StreamCompanionTypes.Interfaces; using StreamCompanionTypes.Interfaces.Sources; namespace PlaysReplacements { public class PlaysReplacements : IPlugin, ITokensSource { private int Plays, Retries; private Tokens.Token...
Rename retrys token to retries
Misc: Rename retrys token to retries
C#
mit
Piotrekol/StreamCompanion,Piotrekol/StreamCompanion
1ed0dba16b92f5d45673428ccbc54eda6f99986c
src/VsConsole/Console/PowerConsole/HostInfo.cs
src/VsConsole/Console/PowerConsole/HostInfo.cs
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
using System; using System.Diagnostics; namespace NuGetConsole.Implementation.PowerConsole { /// <summary> /// Represents a host with extra info. /// </summary> class HostInfo : ObjectWithFactory<PowerConsoleWindow> { Lazy<IHostProvider, IHostMetadata> HostProvider { get; set; } ...
Revert accidental change of the async flag.
Revert accidental change of the async flag. --HG-- branch : 1.1
C#
apache-2.0
oliver-feng/nuget,indsoft/NuGet2,antiufo/NuGet2,jholovacs/NuGet,anurse/NuGet,rikoe/nuget,indsoft/NuGet2,xoofx/NuGet,rikoe/nuget,RichiCoder1/nuget-chocolatey,ctaggart/nuget,mrward/NuGet.V2,zskullz/nuget,akrisiun/NuGet,indsoft/NuGet2,jmezach/NuGet2,alluran/node.net,chester89/nugetApi,chocolatey/nuget-chocolatey,mrward/Nu...
54612b02ca25b9df540960acfc7db0b5212a12f1
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
it.unifi.dsi.stlab.networkreasoner.gas.system.terranova/VersioningInfo.cs
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { public String VersionNumber { get { return "v1.0.1"; } } public String EngineIdentifier { get { return "Network Reasoner, stlab.dsi.unifi.it"; } } } }
using System; namespace it.unifi.dsi.stlab.networkreasoner.gas.system.terranova { public class VersioningInfo { /// <summary> /// Gets the version number. /// /// Here are the stack of versions with a brief description: /// /// v1.1.0: introduce pressure regulator gadget for edges. /// /// v1.0.1:...
Advance version number scheme to include pressure regulator gadget.
Advance version number scheme to include pressure regulator gadget.
C#
mit
massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner,massimo-nocentini/network-reasoner
6d206370da6ee4e7219bf7f400bdccdd38372048
src/UrlShortenerApi/Repositories/UrlRepository.cs
src/UrlShortenerApi/Repositories/UrlRepository.cs
using System; using System.Collections.Generic; using System.Linq; using UrlShortenerApi.Data; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public class UrlRepository : IUrlRepository { ApplicationDbContext _context; public UrlRepository(ApplicationDbContext context) ...
using System; using System.Collections.Generic; using System.Linq; using UrlShortenerApi.Data; using UrlShortenerApi.Models; namespace UrlShortenerApi.Repositories { public class UrlRepository : IUrlRepository { ApplicationDbContext _context; public UrlRepository(ApplicationDbContext context) ...
Replace Single with SingleOrDefault for Url Reposiory
Replace Single with SingleOrDefault for Url Reposiory Otherwise, an error is thrown and we can't return an empty response.
C#
agpl-3.0
jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener,jimbeaudoin/dotnet-core-urlshortener
c3b15e070033ad5be3aa8d201ff3397a75135ae4
Source/Lib/TraktApiSharp/Modules/TraktRecommendationsModule.cs
Source/Lib/TraktApiSharp/Modules/TraktRecommendationsModule.cs
namespace TraktApiSharp.Modules { using Objects.Basic; using Objects.Get.Recommendations; using Requests; using Requests.WithOAuth.Recommendations; using System.Threading.Tasks; public class TraktRecommendationsModule : TraktBaseModule { public TraktRecommendationsModule(TraktClien...
namespace TraktApiSharp.Modules { using Objects.Basic; using Objects.Get.Recommendations; using Requests; using Requests.WithOAuth.Recommendations; using System; using System.Threading.Tasks; public class TraktRecommendationsModule : TraktBaseModule { public TraktRecommendation...
Add validation implementation in recommendations module.
Add validation implementation in recommendations module.
C#
mit
henrikfroehling/TraktApiSharp
f78d0c3a9b4997636afb1d86582978d347fcb0f2
src/TaskRunner/TaskParser.cs
src/TaskRunner/TaskParser.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Cake...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using Cake...
Rework regex to allow whitespace
task-runner: Rework regex to allow whitespace Some projects may enforce special coding style guidelines on their projects. To be more flexible in this area the new regex will now allow whitespace before and in between the brackets. Following some examples of allowed task name definitions. Task("F_0$0") Task( ...
C#
mit
agc93/Cake.VisualStudio,agc93/Cake.VisualStudio
bbcc7d954e86713345a6ab86c5d458dedbc22f9f
Eve-O-Preview/Properties/AssemblyInfo.cs
Eve-O-Preview/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("EVE-O Preview")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EVE-O Preview")] [assembly: AssemblyCopyright("")] [as...
Update app version to 3.1.0
Update app version to 3.1.0
C#
mit
Phrynohyas/eve-o-preview,Phrynohyas/eve-o-preview
b551a657cfa2bc9d5f02fad1abfd7629c421b735
dotnetv3/Support/Actions/HelloSupport.cs
dotnetv3/Support/Actions/HelloSupport.cs
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using Amazon.AWSSupport; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace SupportActions; /// <summary> /// Hello AWS Support example. /// </summary> public stat...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 namespace SupportActions; // snippet-start:[Support.dotnetv3.HelloSupport] using Amazon.AWSSupport; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; public static class H...
Update to hello support snippet
Update to hello support snippet
C#
apache-2.0
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
5a9ae8ddeb7bd006a424b4ef5c14f383c2487ec1
Tools/generator-electron-dotnet/generators/app/templates/dotnet-websharp/src/websharp.cs
Tools/generator-electron-dotnet/generators/app/templates/dotnet-websharp/src/websharp.cs
using System; using System.Threading.Tasks; using WebSharpJs.NodeJS; //namespace <%- wsClassName %> //{ public class Startup { static WebSharpJs.NodeJS.Console console; /// <summary> /// Default entry into managed code. /// </summary> /// <param name="input"></param>...
using System; using System.Threading.Tasks; using WebSharpJs.NodeJS; //namespace <%- wsClassName %> //{ public class Startup { static WebSharpJs.NodeJS.Console console; /// <summary> /// Default entry into managed code. /// </summary> /// <param name="input"></param>...
Add await to console.Log calls.
Add await to console.Log calls.
C#
mit
xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp,xamarin/WebSharp
043199512ff5cb381135dbe2a34d291a5ef89cdf
BmpListener/Bmp/PeerUpNotification.cs
BmpListener/Bmp/PeerUpNotification.cs
using System; using System.Linq; using System.Net; using BmpListener.Bgp; namespace BmpListener.Bmp { public class PeerUpNotification : BmpMessage { public PeerUpNotification(BmpHeader bmpHeader, ArraySegment<byte> data) : base(bmpHeader, ref data) { ParseBody(data); ...
using System; using System.Linq; using System.Net; using BmpListener.Bgp; namespace BmpListener.Bmp { public class PeerUpNotification : BmpMessage { public PeerUpNotification(BmpHeader bmpHeader, ArraySegment<byte> data) : base(bmpHeader, ref data) { ParseBody(data); ...
Add BGP header to all BGP message types
Add BGP header to all BGP message types
C#
mit
mstrother/BmpListener
605ff1ad019fcfdb1d90d06da1c576aa4a68a6c0
Healthcheck/Program.cs
Healthcheck/Program.cs
using System; using System.Net.Http; using System.Net.NetworkInformation; using System.Net.Sockets; namespace Healthcheck { internal class Program { private static void Main(string[] args) { var client = new HttpClient(); var port = Environment.GetEnvir...
using System; using System.Net.Http; using System.Net.NetworkInformation; using System.Net.Sockets; namespace Healthcheck { internal class Program { private static void Main(string[] args) { var client = new HttpClient(); var port = Environment.GetEnvironmentVariable("...
Remove extra braces at the end of the file
Remove extra braces at the end of the file Signed-off-by: John_Shahid <7c84c4d4148af24079897a92115d562877358578@pivotal.io>
C#
apache-2.0
cloudfoundry-incubator/windows_app_lifecycle,cloudfoundry/windows_app_lifecycle,stefanschneider/windows_app_lifecycle
8a0241347d6ee4b17831617695b2b8059266edfd
src/Core/HtmlHelpers.cs
src/Core/HtmlHelpers.cs
using System; using System.Web.Mvc; namespace AspNetBrowserLocale.Core { public static class HtmlHelpers { public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper) { return MvcHtmlString.Create( @"<script> var elements = document.querySelectorAll('[data-...
using System; using System.Web.Mvc; namespace AspNetBrowserLocale.Core { public static class HtmlHelpers { private const string NullValueDisplay = "&mdash;"; public static MvcHtmlString InitializeLocaleDateTime(this HtmlHelper htmlHelper) { return MvcHtmlString.Create(stri...
Use same null default value when JS is disabled
Use same null default value when JS is disabled
C#
mit
kendaleiv/AspNetBrowserLocale,ritterim/AspNetBrowserLocale
fddb9b631980225af23897d46433327212e8cf8c
src/Bakery/Text/StringRemoveExtensions.cs
src/Bakery/Text/StringRemoveExtensions.cs
namespace Bakery.Text { using System; public static class StringRemoveExtensions { public static String Remove(this String @string, String @remove) { return @string.Replace(@remove, String.Empty); } } }
namespace Bakery.Text { using System; public static class StringRemoveExtensions { public static String Remove(this String @string, String remove) { if (remove == null) throw new ArgumentNullException(nameof(remove)); return @string.Replace(remove, String.Empty); } } }
Remove unnecessary "@" prefix from method argument variable name.
Remove unnecessary "@" prefix from method argument variable name.
C#
mit
brendanjbaker/Bakery
f5c74fd4c3773e16f913e5ef2e664886cae44664
DemoTrader/DTrader.cs
DemoTrader/DTrader.cs
using Main; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoTrader { public class StdTraders : Trader { public StdTraders() : base() { } public override string Name { get { return "De...
using Main; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DemoTrader { public class StdTraders : Trader { public StdTraders() : base() { } public override string Name { get { return "De...
Change Demo Trading intervall -> performance
Change Demo Trading intervall -> performance
C#
mit
boehla/TradeIt
f0a7cbe0a7b43947e3cf52beafc3081b35196310
Skylight.Outgoing/InputCodeForRoom.cs
Skylight.Outgoing/InputCodeForRoom.cs
using System; using Skylight.Miscellaneous; namespace Skylight { public class InputCodeForRoom { private readonly Out _out; public InputCodeForRoom(Out @out) { _out = @out; } /// <summary> /// Inputs the edit key. /// </summary> ...
using System; using Skylight.Miscellaneous; namespace Skylight { public class InputCodeForRoom { private readonly Out _out; public InputCodeForRoom(Out @out) { _out = @out; } /// <summary> /// Inputs the edit key. /// </summary> ...
Disable authentication with empty access key
Disable authentication with empty access key The access key should be checked whether or not it is null or empty. Since the room's access key cannot be just whitespace or empty, it's better to tell the user the specific issue.
C#
mit
Seist/Skylight
9be8e34e886180b7d37aff9cefd1e1d10aedbf45
SikuliSharp/Sikuli.cs
SikuliSharp/Sikuli.cs
using System; using System.IO; namespace SikuliSharp { public static class Sikuli { public static ISikuliSession CreateSession() { return new SikuliSession(CreateRuntime()); } public static SikuliRuntime CreateRuntime() { return new SikuliRuntime( new AsyncDuplexStreamsHandlerFactory(), new...
using System; using System.IO; namespace SikuliSharp { public static class Sikuli { public static ISikuliSession CreateSession() { return new SikuliSession(CreateRuntime()); } public static SikuliRuntime CreateRuntime() { return new SikuliRuntime( new AsyncDuplexStreamsHandlerFactory(), new...
Add another RunProject function with args to script.
Add another RunProject function with args to script.
C#
mit
christianrondeau/SikuliSharp,christianrondeau/SikuliSharp
fffc89e1743581ef988d5a5d8ebb7f1f246647f8
Curve25519.Tests/Curve25519TimingTests.cs
Curve25519.Tests/Curve25519TimingTests.cs
using NUnit.Framework; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Elliptic.Tests { [Explicit] [TestFixture] public class Curve25519TimingTests { [Test] public void Curve25519_GetPublicKey() { var millis = new List<long>(...
using NUnit.Framework; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Elliptic.Tests { [Explicit] [TestFixture] public class Curve25519TimingTests { [Test] public void Curve25519_GetPublicKey() { var millis = new List<long>(...
Revert "measure time of GetSharedSecret"
Revert "measure time of GetSharedSecret" This reverts commit bce0a10acb752b5a40b0422f008d3b459ea5fbc0.
C#
apache-2.0
hanswolff/curve25519,Mun1z/curve25519
4674a80cffa2f36f06fb56d8c8f8172d0366188b
Program.cs
Program.cs
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CvsGitConverter { class Program { static void Main(string[] args) { if (args.Length != 1) thr...
/* * John Hall <john.hall@xjtag.com> * Copyright (c) Midas Yellow Ltd. All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CvsGitConverter { class Program { static void Main(string[] args) { if (args.Length != 1) thr...
Update variable names to reflect class name changes
Update variable names to reflect class name changes
C#
mit
CamTechConsultants/CvsntGitImporter
ddd81c4fb88f5fcc30ebda3d888f2f246c009726
WPMGMT.BESScraper/Program.cs
WPMGMT.BESScraper/Program.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Net; using RestSharp; using Dapper; using DapperExtensions; using WPMGMT.BESScraper.Model; namespace WPMGMT.BESScraper { class Program { static void Main(string[] args) { ...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Net; using RestSharp; using Dapper; using DapperExtensions; using WPMGMT.BESScraper.Model; namespace WPMGMT.BESScraper { class Program { static void Main(string[] args) { ...
Fix for missing author info
Fix for missing author info
C#
mit
romatthe/WPMGMT.BESScraper,TheGameSquid/WPMGMT.BESScraper
dc5952629219a8727fe3d77cd38c5f09d6a3b8b3
src/PolymeliaDeployAgent/Program.cs
src/PolymeliaDeployAgent/Program.cs
using System; using System.Linq; using System.ServiceProcess; namespace PolymeliaDeployAgent { using PolymeliaDeploy; using PolymeliaDeploy.Controller; static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(st...
using System; using System.Linq; using System.ServiceProcess; namespace PolymeliaDeployAgent { using PolymeliaDeploy; using PolymeliaDeploy.Controller; static class Program { /// <summary> /// The main entry point for the application. /// </summary> static void Main(st...
Check Environment.UserInteractive instead of argument
Check Environment.UserInteractive instead of argument
C#
mit
fredrikn/PolymeliaDeploy,fredrikn/PolymeliaDeploy
78992b5acfe2a558a8daade4db187cb761aa5c8e
SassSharp/Ast/FluentAstBuilder.cs
SassSharp/Ast/FluentAstBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Ast { public class FluentAstBuilder { private IList<Node> nodes; public FluentAstBuilder() { nodes = new List<Node>(); } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SassSharp.Ast { public class FluentAstBuilder { private IList<Node> nodes; public FluentAstBuilder() { nodes = new List<Node>(); } ...
Clean up fluent node builder to not leak implementation details
Clean up fluent node builder to not leak implementation details
C#
mit
akatakritos/SassSharp
2c37924754661ef578739f951e4387935b14167c
Source/Eto/Forms/Menu/MenuItem.cs
Source/Eto/Forms/Menu/MenuItem.cs
#if DESKTOP using System; using System.Collections.ObjectModel; namespace Eto.Forms { public interface IMenuItem : IMenu { } public enum MenuItemType { Check, Image, Radio, Separator, } public abstract class MenuItem : BaseAction { protected MenuItem (Generator g, Type type, bool initialize = true)...
#if DESKTOP using System; using System.Collections.ObjectModel; namespace Eto.Forms { public interface IMenuItem : IMenu { } public abstract class MenuItem : BaseAction { protected MenuItem (Generator g, Type type, bool initialize = true) : base(g, type, initialize) { } } public class MenuItemCollec...
Remove work-in progress enum, not presently required.
Remove work-in progress enum, not presently required.
C#
bsd-3-clause
PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto
327061fbc56bd484df030296bee82dd77748c1d7
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ThreadsHandler.cs
src/PowerShellEditorServices/Services/DebugAdapter/Handlers/ThreadsHandler.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.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.DebugAdapter.Protocol.Models; using OmniSharp.Extensions.DebugAdapter.Protocol.R...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.DebugAdapter.Protocol.Models; using OmniSharp.Extensions.DebugAdapter.Protocol.R...
Fix use of `ThreadsResponse` (type changed for threads container)
Fix use of `ThreadsResponse` (type changed for threads container)
C#
mit
PowerShell/PowerShellEditorServices
404e47c5aefb1cbe50f70c50e81fdd1f681b0247
Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs
Samples/Core.CrossDomainImages/Core.CrossDomainImagesWeb/Pages/Default.aspx.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Core.CrossDomainImagesWeb { public partial class Default : System.Web.UI.Page { protected void Page_PreInit(object sender, EventArgs e) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace Core.CrossDomainImagesWeb { public partial class Default : System.Web.UI.Page { protected void Page_PreInit(object sender, EventArgs e) { ...
Revert "Revert "Revert "added try catch, test commit"""
Revert "Revert "Revert "added try catch, test commit""" This reverts commit 9ba17068fe9978121210a2652deadf655e58e28d.
C#
mit
MaurizioPz/PnP,bbojilov/PnP,durayakar/PnP,OzMakka/PnP,rbarten/PnP,weshackett/PnP,machadosantos/PnP,IvanTheBearable/PnP,comblox/PnP,biste5/PnP,Rick-Kirkham/PnP,jeroenvanlieshout/PnP,sandhyagaddipati/PnPSamples,rroman81/PnP,OfficeDev/PnP,chrisobriensp/PnP,rbarten/PnP,svarukala/PnP,andreasblueher/PnP,worksofwisdom/PnP,Nav...
3b0b85e2232506f94ecd8ac752e32ef58832efec
RuneScapeCacheTools/Extensions/PathExtensions.cs
RuneScapeCacheTools/Extensions/PathExtensions.cs
using System; namespace Villermen.RuneScapeCacheTools.Extensions { public static class PathExtensions { public static char[] InvalidCharacters = { '/', ':', '"', '*', '?', '>', '<', '|' }; /// <summary> /// Parses the given directory and unifies its format, to be applied to unpred...
using System; namespace Villermen.RuneScapeCacheTools.Extensions { public static class PathExtensions { public static char[] InvalidCharacters = { '/', ':', '"', '*', '?', '>', '<', '|', '\0' }; /// <summary> /// Parses the given directory and unifies its format, to be applied to ...
Add NUL to invalid characters
Add NUL to invalid characters Just to be safe.
C#
mit
villermen/runescape-cache-tools,villermen/runescape-cache-tools
dbd70ed7af3e197073534b0a2c18c54011979c7c
Source/OpenAOE/Program.cs
Source/OpenAOE/Program.cs
using System; using Ninject; using Ninject.Extensions.Logging; using Ninject.Extensions.Logging.NLog4; using OpenAOE.Engine; namespace OpenAOE { class Program { static void Main(string[] args) { var context = new StandardKernel( new NinjectSettings() ...
using System; using System.Collections.Generic; using Ninject; using Ninject.Extensions.Logging; using Ninject.Extensions.Logging.NLog4; using OpenAOE.Engine; using OpenAOE.Engine.Entity; namespace OpenAOE { class Program { static void Main(string[] args) { var context = new Standa...
Update default project to start an engine and tick a few times.
Update default project to start an engine and tick a few times.
C#
apache-2.0
Simie/OpenAOE
93a47eddda98f9c4551f382d3ac5937107c94a67
Src/MvcPages/WebPages/WebTableRow.cs
Src/MvcPages/WebPages/WebTableRow.cs
using System; using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Remote; namespace Tellurium.MvcPages.WebPages { public class WebTableRow : WebElementCollection<PageFragment> { private readonly IWebElement webElement; private Dictionary<string, int> columnsMap; ...
using System; using System.Collections.Generic; using OpenQA.Selenium; using OpenQA.Selenium.Remote; namespace Tellurium.MvcPages.WebPages { public class WebTableRow : WebElementCollection<PageFragment> { private readonly IWebElement webElement; private Dictionary<string, int> columnsMap; ...
Check if column exist in table
Check if column exist in table
C#
mit
cezarypiatek/MaintainableSelenium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/Tellurium,cezarypiatek/MaintainableSelenium,cezarypiatek/MaintainableSelenium
5cb812d621b71dab552bfa24191acb8917352e31
src/SpiderCrab.Agent/App_Start/Startup.cs
src/SpiderCrab.Agent/App_Start/Startup.cs
namespace SpiderCrab.Agent { using Ninject; using Ninject.Web.Common.OwinHost; using Ninject.Web.WebApi.OwinHost; using Owin; using Properties; using System.Reflection; using System.Web.Http; public class Startup { public void Configuration(IAppBuilder app) ...
namespace SpiderCrab.Agent { using Newtonsoft.Json.Serialization; using Ninject; using Ninject.Web.Common.OwinHost; using Ninject.Web.WebApi.OwinHost; using Owin; using Properties; using System; using System.Net; using System.Reflection; using System.Web.Http; ...
Add Windows auth to service, and authorize to the SpiderCrab Operators group
Add Windows auth to service, and authorize to the SpiderCrab Operators group
C#
mit
GingerTommy/SpiderCrab
c63a205867fe3223463cdb5d1e655a6422305905
src/Certify.UI/Utils/UpdateCheckUtils.cs
src/Certify.UI/Utils/UpdateCheckUtils.cs
using Certify.Locales; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Certify.UI.Utils { public class UpdateCheckUtils { public async Task<Models.UpdateCheck> UpdateWithDownload() { Mouse.OverrideCursor = Cursors.Wait; var upda...
using Certify.Locales; using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; namespace Certify.UI.Utils { public class UpdateCheckUtils { public async Task<Models.UpdateCheck> UpdateWithDownload() { Mouse.OverrideCursor = Cursors.Wait; ...
Handle download exceptions when attempting to fetch update
Handle download exceptions when attempting to fetch update
C#
mit
webprofusion/Certify,ndouthit/Certify
42c166cdcd73683a17b69bd2a40441e9c35a0999
src/DocNuget/Startup.cs
src/DocNuget/Startup.cs
using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Mvc; using Microsoft.AspNet.StaticFiles; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Logging; using Newtonsoft.Json; namespace DocNuget { public class Startup { public void ConfigureServices(IServiceCollection...
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using Microsoft.AspNet.StaticFiles; using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.Logging; using Newtonsoft.Json; namespace DocNuget { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
Send index.html for any unknown paths
Send index.html for any unknown paths
C#
mit
Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget,Nemo157/DocNuget
c594b30c76f7f87132a6a4495ee246d78e95e63a
Voxels.CommandLine/Program.cs
Voxels.CommandLine/Program.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Voxels.SkiaSharp; namespace Voxels.CommandLine { class Program { static void Main(string[] args) { var filename = args.Length == 1 ? args[0] : "monu9.vox"; // "3x3x...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using Voxels.SkiaSharp; namespace Voxels.CommandLine { class Program { static void Main(string[] args) { var filename = args.Length == 1 ? args[0] : "3x3x3.vox"; ...
Use 3x3x3.vox as default example
Use 3x3x3.vox as default example Checked in with monu9.vox as the test case by accident.
C#
mit
Arlorean/Voxels
e42e8bd5620254d2ce39937b1d50c099ae2ba7c0
src/Dbus/ReceivedMessage.cs
src/Dbus/ReceivedMessage.cs
using System; using System.IO; using System.Runtime.InteropServices; namespace Dbus { public class ReceivedMessage : IDisposable { private readonly MessageHeader messageHeader; public ReceivedMessage( MessageHeader messageHeader, Decoder decoder ) { ...
using System; using System.IO; using System.Runtime.InteropServices; namespace Dbus { public class ReceivedMessage : IDisposable { private readonly MessageHeader messageHeader; public ReceivedMessage( MessageHeader messageHeader, Decoder decoder ) { ...
Fix the expected / actual order to correct the message
Fix the expected / actual order to correct the message
C#
mit
Tragetaschen/DbusCore
9c44d202d5eb1e8c35ecd5105af532b6d1c8a8f9
src/MCloud.Deploy/ScriptDeployment.cs
src/MCloud.Deploy/ScriptDeployment.cs
using System; using Tamir.SharpSsh; namespace MCloud { public class ScriptDeployment : SSHDeployment { public ScriptDeployment (string local_path) : this (local_path, String.Concat ("/root/", local_path)) { } public ScriptDeployment (string local_path, string remote_path) { LocalScriptPath = local_...
using System; using Tamir.SharpSsh; namespace MCloud { public class ScriptDeployment : PutFileDeployment { public ScriptDeployment (string local) : base (local) { } public ScriptDeployment (string local, string remote_dir) : base (local, remote_dir) { } protected override void RunImpl (Node node,...
Change the deployment structure a bit
Change the deployment structure a bit
C#
mit
jacksonh/MCloud,jacksonh/MCloud
fa7a433e59093e4a3cfee4a73f486ed1ac94bf7e
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
Remove NavMeshAgent handling from decision script (not its role)
Remove NavMeshAgent handling from decision script (not its role)
C#
apache-2.0
allmonty/BrokenShield,allmonty/BrokenShield
b123395ac71ed898ea7a7dfd5bd0698cdb6dbe56
source/Unittests/AvailableTranslations.cs
source/Unittests/AvailableTranslations.cs
using System.Linq; using Thinktecture.IdentityServer.Core.Services.Contrib; using Xunit; namespace Unittests { public class AvailableTranslations { [Theory] [InlineData("Default")] [InlineData("pirate")] [InlineData("nb-NO")] [InlineData("tr-TR")] [InlineData("de...
using System.Linq; using Thinktecture.IdentityServer.Core.Services.Contrib; using Xunit; namespace Unittests { public class AvailableTranslations { [Theory] [InlineData("Default")] [InlineData("pirate")] [InlineData("nb-NO")] [InlineData("tr-TR")] [InlineData("de...
Fix correct count 6 -> 7
Fix correct count 6 -> 7
C#
mit
darkestspirit/IdentityServer3.Contrib.Localization,johnkors/IdentityServer3.Contrib.Localization,Utdanningsdirektoratet/IdentityServer3.Contrib.Localization,totpero/IdentityServer3.Contrib.Localization,IdentityServer/IdentityServer3.Contrib.Localization
617f93ee23137706196626a714defbbc05e2fa99
ExRam.Gremlinq.Core/ExecutionPipelines/Builder/GremlinQueryExecutionPipelineBuilder.cs
ExRam.Gremlinq.Core/ExecutionPipelines/Builder/GremlinQueryExecutionPipelineBuilder.cs
using ExRam.Gremlinq.Core.Serialization; using ExRam.Gremlinq.Providers; using LanguageExt; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ExRam.Gremlinq.Core { public static class GremlinQueryExecutionPipelineBuilder { public static IGremlinQueryExecutionPipelineBuilderWithSerializer<Gr...
using ExRam.Gremlinq.Core.Serialization; using ExRam.Gremlinq.Providers; using LanguageExt; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace ExRam.Gremlinq.Core { public static class GremlinQueryExecutionPipelineBuilder { public static IGremlinQueryExecutionPipelineBuilderWithSerializer<Gr...
Use richer return type when possible.
Use richer return type when possible.
C#
mit
ExRam/ExRam.Gremlinq
d75ba2b6f700047328bf9128debfed6ff0d2eafd
tests/TestUtility/StringExtensions.cs
tests/TestUtility/StringExtensions.cs
using System.IO; namespace TestUtility { public static class StringExtensions { /// <summary> /// Given a file or directory path, return a path where all directory separators /// are replaced with a forward slash (/) character. /// </summary> public static string Ensure...
using System.IO; namespace TestUtility { public static class StringExtensions { /// <summary> /// Given a file or directory path, return a path where all directory separators /// are replaced with a forward slash (/) character. /// </summary> public static string Ensure...
Fix MSBuild tests on macOS/Linux
Fix MSBuild tests on macOS/Linux
C#
mit
DustinCampbell/omnisharp-roslyn,DustinCampbell/omnisharp-roslyn,OmniSharp/omnisharp-roslyn,OmniSharp/omnisharp-roslyn
57a8b93e891f9aa1f6fdc6379f8257746152e8e5
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/SpacingRules/SA1024CSharp7UnitTests.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using Test.SpacingRules; public class SA1024CSharp7UnitTests : SA1024Unit...
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.CSharp7.SpacingRules { using System; using System.Linq; using System.Reflection; using Sy...
Add tests for SA1024 in tuple expressions
Add tests for SA1024 in tuple expressions
C#
mit
DotNetAnalyzers/StyleCopAnalyzers
b95f2733a676318153f506c40cc1cc9a99ad6179
VersionInfo.cs
VersionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Kentor")] [assembly: AssemblyCopyright("Copyright Kentor and contributors 2015")] // Kentor.AuthServices uses semantic versioning in three parts // // Major Version // Minor Version // Patch Number // // An odd patch number is a development versio...
using System.Reflection; [assembly: AssemblyCompany("Kentor")] [assembly: AssemblyCopyright("Copyright Kentor and contributors 2015")] // Kentor.PU-Adapter uses semantic versioning in three parts // // Major Version // Minor Version // Patch Number // // An odd patch number is a development version,...
Fix names and spelling in comments
Fix names and spelling in comments
C#
mit
KentorIT/PU-Adapter,KentorIT/PU-Adapter
0d7226a8fae5948ae5c48861c054d9476588ff75
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
source/Nuke.Common/CI/AppVeyor/AppVeyorOutputSink.cs
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.OutputSinks; namespace Nuke.Common.CI.AppVeyor { [UsedImplic...
// Copyright 2019 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System; using System.Diagnostics.CodeAnalysis; using System.Linq; using JetBrains.Annotations; using Nuke.Common.OutputSinks; namespace Nuke.Common.CI.AppVeyor { [UsedImplic...
Fix AppVeyor message limit by printing a warning for the 501st report message
Fix AppVeyor message limit by printing a warning for the 501st report message
C#
mit
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
006d5c8fd07517b323159b2ae5c76fcc2c46378d
Pina.Mac/AppDelegate.cs
Pina.Mac/AppDelegate.cs
using MonoMac.Foundation; using MonoMac.AppKit; using Cirrious.CrossCore; using Cirrious.MvvmCross.Mac.Platform; using Cirrious.MvvmCross.Mac.Views.Presenters; using Cirrious.MvvmCross.ViewModels; using System.Drawing; namespace Pina.Mac { public partial class AppDelegate : MvxApplicationDelegate { MainWindowContr...
using MonoMac.Foundation; using MonoMac.AppKit; using Cirrious.CrossCore; using Cirrious.MvvmCross.Mac.Platform; using Cirrious.MvvmCross.Mac.Views.Presenters; using Cirrious.MvvmCross.ViewModels; using System.Drawing; namespace Pina.Mac { public partial class AppDelegate : MvxApplicationDelegate { MainWindowContr...
Switch to using NSWindow instead of presenter
Switch to using NSWindow instead of presenter
C#
mit
loqu8/pina
6690478abda55fcb4b3c34620e8dca282f7e4e51
VkApiGenerator.Console/Program.cs
VkApiGenerator.Console/Program.cs
namespace VkApiGenerator.Console { class Program { static void Main(string[] args) { var methods = new[] { "notes.get", "notes.getById", "notes.getFriendsNotes", "notes.add", "notes.edit", ...
using System.Net; using VkApiGenerator.Model; namespace VkApiGenerator.Console { class Program { static void Main(string[] args) { var methods = new[] { "notes.get", "notes.getById", "notes.getFriendsNotes", ...
Check when internet connection is disabled
Check when internet connection is disabled
C#
mit
rassvet85/vk,kadkin/vk,HarkBack/vk,vknet/vk,SnakeAce/vk,kkohno/vk,DmitrySafronov/vk,vknet/vk,modink/vk,Soniclev/vk,mainefremov/vk,J2GIS/vk
65fa98c59e0dc928015bda87f20920f26a752c8b
Assets/DemoScene/AEX/VeryAwesomeAEX.cs
Assets/DemoScene/AEX/VeryAwesomeAEX.cs
using UnityEngine; using System.Collections; using ActionEngine; public static class VeryAwesomeAEX { public static ActionBase Create (IAEScriptContext ctx) { var simpleAEX = ctx.GetAEScript("$simple"); var cube = ctx.GetTransform("$cube"); var sphere = ctx.GetTransform("$sphere"); return AE.Sequence( ...
using ActionEngine; using System.Collections; using UnityEngine; public static class VeryAwesomeAEX { public static ActionBase Create (IAEScriptContext ctx) { var simpleAEX = ctx.GetAEScript("$simple"); var cube = ctx.GetTransform("$cube"); var sphere = ctx.GetTransform("$sphere"); return AE.Sequence( ...
Add coroutine usage in AEX
Add coroutine usage in AEX
C#
mit
appetizermonster/Unity3D-ActionEngine
c67704e28c4b7388901ccba1d8b30b986bd9664c
slang/Lexing/Rules/Core/Rule.cs
slang/Lexing/Rules/Core/Rule.cs
namespace slang.Lexing.Rules.Core { public abstract class Rule { public static Rule operator | (Rule left, Rule right) { return new Or (left, right); } public static Rule operator + (Rule left, Rule right) { return new And (left, right); ...
using slang.Lexing.Tokens; using System; namespace slang.Lexing.Rules.Core { public abstract class Rule { public Func<Token> TokenCreator { get; set; } public static Rule operator | (Rule left, Rule right) { return new Or (left, right); } public static Rule...
Add ability to return token from rule
Add ability to return token from rule
C#
mit
jagrem/slang,jagrem/slang,jagrem/slang
d94e1808496e2e22157e702b150f2b9482920070
TodoList.Web/Startup.cs
TodoList.Web/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; namespace TodoList.Web { public class Startup { // T...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.DependencyInjection; using System.IO; namespace TodoList.Web { public class Startup ...
Add MVC and middleware to listening only for 'api' requests
Add MVC and middleware to listening only for 'api' requests
C#
mit
pawelec/todo-list,pawelec/todo-list,pawelec/todo-list,pawelec/todo-list
1adbd95b8585f471fe0866d5f83e6e634cb15c70
Espera.Network/NetworkPlaybackState.cs
Espera.Network/NetworkPlaybackState.cs
namespace Espera.Network { public enum NetworkPlaybackState { None, Playing, Paused, Stopped, Finished } }
namespace Espera.Network { public enum NetworkPlaybackState { None = 0, Playing = 1, Paused = 2, Stopped = 3, Finished = 4 } }
Mark the playback states with integer values
Mark the playback states with integer values
C#
mit
flagbug/Espera.Network
e78cf9dd080bff6e1c58002440bd9e57f5c81874
src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs
src/NHibernate.Test/NHSpecificTest/NH1119/Fixture.cs
using NUnit.Framework; using System; using System.Collections.Generic; namespace NHibernate.Test.NHSpecificTest.NH1119 { [TestFixture] public class Fixture : BugTestCase { public override string BugNumber { get { return "NH1119"; } } [Test] public void SelectMinFromEmptyTable() { ...
using System; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1119 { [TestFixture] public class Fixture : BugTestCase { public override string BugNumber { get { return "NH1119"; } } [Test] public void SelectMinFromEmptyTable() { using (ISession s = OpenSession())...
Check the use of default(T) instead exception.
Check the use of default(T) instead exception. SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@3062
C#
lgpl-2.1
fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,ManufacturingIntelligence/nhibernate-core,hazzik/nhibernate-core,fredericDelaporte/nhibernate-core,alobakov/nhibernate-core,nkreipke/nhibernate-core,nhibernate/nhi...
5b692a09d1999c8aec02aefc96cfc6558984e0b8
src/ProblemDetails/Mvc/ProblemDetailsResultFilter.cs
src/ProblemDetails/Mvc/ProblemDetailsResultFilter.cs
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using static Hellang.Middleware.ProblemDetails.ProblemDetailsOptionsSetup; using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory; namespace...
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using static Hellang.Middleware.ProblemDetails.ProblemDetailsOptionsSetup; using MvcProblemDetails = Microsoft.AspNetCore.Mvc.ProblemDetails; using MvcProblemDetailsFactory = Microsoft.AspNetCore.Mvc.Infrastructure.ProblemDetailsFactory; namespace...
Set the detail instead of the title
Set the detail instead of the title
C#
mit
khellang/Middleware,khellang/Middleware
cdd9058127285c965be47c70e15d67518276d687
osu.Framework.Tests.iOS/Application.cs
osu.Framework.Tests.iOS/Application.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using UIKit; namespace osu.Framework.Tests.iOS { public class Application { // This is the main entry point of the application. public static vo...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using UIKit; namespace osu.Framework.Tests.iOS { public class Application { // This is the main entry point of the application. public static vo...
Fix iOS visual tests not using raw keyboard handler
Fix iOS visual tests not using raw keyboard handler
C#
mit
ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework
81124f27b0857a0cf177e6d97fd977afdc7ecd8a
Costura.Tasks/ConfigFileFinder.cs
Costura.Tasks/ConfigFileFinder.cs
using System; using System.Collections.Generic; using System.IO; public class ConfigFileFinder { public static List<string> FindWeaverConfigs(string solutionDirectoryPath, string projectDirectory) { var files = new List<string>(); var solutionConfigFilePath = Path.Combine(solutionDirectoryPath...
using System; using System.Collections.Generic; using System.IO; public class ConfigFileFinder { public static List<string> FindWeaverConfigs(string solutionDirectoryPath, string projectDirectory) { var files = new List<string>(); var solutionConfigFilePath = Path.Combine(solutionDirectoryPath...
Fix missing logger by moving the expanded detail to the exception
Fix missing logger by moving the expanded detail to the exception
C#
mit
GeertvanHorrik/Costura,GeertvanHorrik/Costura,Fody/Costura,Fody/Costura
08df3b769dc0850f179642b88741c2dabc8f1cec
src/cli/Strategy/LinterVersionStrategy.cs
src/cli/Strategy/LinterVersionStrategy.cs
namespace Linterhub.Cli.Strategy { using Runtime; using Engine; using Linterhub.Engine.Exceptions; public class LinterVersionStrategy : IStrategy { public object Run(RunContext context, LinterFactory factory, LogManager log) { if (string.IsNullOrEmpty(context.Linter)) ...
namespace Linterhub.Cli.Strategy { using Runtime; using Engine; using Linterhub.Engine.Exceptions; using Newtonsoft.Json; using System.Dynamic; public class LinterVersionStrategy : IStrategy { public object Run(RunContext context, LinterFactory factory, LogManager log) { ...
Change LinterVersion output to json format
Change LinterVersion output to json format
C#
mit
repometric/linterhub-cli,repometric/linterhub-cli,binore/linterhub-cli,binore/linterhub-cli,binore/linterhub-cli,repometric/linterhub-cli
5871a4e7642a1fa231fce955ac013932d0f81400
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.FakeItEasy
5b2219a692761b1d1e4413f61ac210cb54cdeb7e
osu.Game/Tests/Visual/OsuTestCase.cs
osu.Game/Tests/Visual/OsuTestCase.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Platform; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { public abstract class OsuTestCase : TestCase ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using osu.Framework.Platform; using osu.Framework.Testing; namespace osu.Game.Tests.Visual { public abstract class OsuTestCase : TestCase ...
Add back test cleanup before run
Add back test cleanup before run
C#
mit
ppy/osu,2yangk23/osu,smoogipoo/osu,Drezi126/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,ZLima12/osu,EVAST9919/osu,EVAST9919/osu,DrabWeb/osu,peppy/osu,naoey/osu,Frontear/osuKyzer,UselessToucan/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,2yangk23/osu,smoogipooo/os...
9fc7c8c32090871ec54354819bf2d02cd11fea21
Client/Extensions/CelestialBodyExtension.cs
Client/Extensions/CelestialBodyExtension.cs
using System; namespace LunaClient.Extensions { public static class CelestialBodyExtension { public static double SiderealDayLength(this CelestialBody body) { //Taken from CelestialBody.Start() if (body == null) return 0; var siderealOrbitalPeriod = 6.2831...
using System; namespace LunaClient.Extensions { public static class CelestialBodyExtension { public static double SiderealDayLength(this CelestialBody body) { //Taken from CelestialBody.Start() //body.solarRotationPeriod will be false if it's the sun! if (b...
Fix sidereal calculations for sun
Fix sidereal calculations for sun
C#
mit
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
a68626df0464e7654de5b3d3a1dc251fad0af561
VORBS/Utils/StubbedEmailClient.cs
VORBS/Utils/StubbedEmailClient.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Mail; using System.Text; using System.Web; using VORBS.Utils.interfaces; namespace VORBS.Utils { public class StubbedEmailClient : ISmtpClient { private NLog.Logger _logger; public StubbedEmai...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Mail; using System.Text; using System.Web; using VORBS.Utils.interfaces; namespace VORBS.Utils { public class StubbedEmailClient : ISmtpClient { private NLog.Logger _logger; public StubbedEmai...
Use Smtp PickUp delivery for stubbing saving of emails locally
Use Smtp PickUp delivery for stubbing saving of emails locally
C#
apache-2.0
ValuationOffice/VORBS,ValuationOffice/VORBS,ValuationOffice/VORBS
665ec6935be5bf50be33964146539408253a9404
CkanDotNet.Web/Views/Shared/_AddThis.cshtml
CkanDotNet.Web/Views/Shared/_AddThis.cshtml
@using CkanDotNet.Web.Models.Helpers <!-- AddThis Button BEGIN --> <div class="share-buttons"> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_butt...
@using CkanDotNet.Web.Models.Helpers <!-- AddThis Button BEGIN --> <div class="share-buttons"> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_butt...
Add Google Plus +1 to AddThis defaults
Add Google Plus +1 to AddThis defaults
C#
apache-2.0
opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API
c6ba7ddf8806415748ae84fe2c75af2b5e74538f
Take2/NuLog.CLI.Benchmarking/DummyTarget.cs
Take2/NuLog.CLI.Benchmarking/DummyTarget.cs
/* © 2019 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using NuLog.Configuration; using NuLog.LogEvents; using System; namespace NuLog.CLI.Benchmarking { /// <summary> /// A dummy target for performance testing -...
/* © 2019 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using NuLog.Configuration; using NuLog.LogEvents; using System; namespace NuLog.CLI.Benchmarking { /// <summary> /// A dummy target for performance testing -...
Implement proper disposable pattern to satisfy sonarcloud's compaint of a code smell :/
Implement proper disposable pattern to satisfy sonarcloud's compaint of a code smell :/
C#
mit
ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog
1c380f5eff1c0e930984adf0ce941a1733e2702f
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationViewModel.cs
UI/WPF/Modules/UI.WPF.Modules.Installation/ViewModels/Installation/InstallationViewModel.cs
#region Usings using System; using System.Collections.Generic; using System.Windows.Input; using ReactiveUI.Legacy; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Installation { public class InstallationViewModel : ReactiveObjectBase { private Insta...
#region Usings using System; using System.Collections.Generic; using System.Windows.Input; using ReactiveUI; using UI.WPF.Launcher.Common.Classes; #endregion namespace UI.WPF.Modules.Installation.ViewModels.Installation { public class InstallationViewModel : ReactiveObjectBase { private Installation...
Remove usage of legacy code
Remove usage of legacy code
C#
mit
asarium/FSOLauncher
547701886f54bce0149c78c95e050d25b6efa436
Assets/Alensia/Core/UI/Cursor/CursorSet.cs
Assets/Alensia/Core/UI/Cursor/CursorSet.cs
using System.Collections.Generic; using System.Linq; using Alensia.Core.Common; using UnityEngine; namespace Alensia.Core.UI.Cursor { public class CursorSet : ScriptableObject, IDirectory<CursorDefinition>, IEditorSettings { protected IDictionary<string, CursorDefinition> CursorMap { ...
using System.Collections.Generic; using System.Linq; using Alensia.Core.Common; using UnityEngine; namespace Alensia.Core.UI.Cursor { public class CursorSet : ScriptableObject, INamed, IDirectory<CursorDefinition>, IEditorSettings { public string Name => name; protected IDictionary<string, Cur...
Use file name as the name of a Cursor Set
Use file name as the name of a Cursor Set
C#
apache-2.0
mysticfall/Alensia
4f203b28f2d2bbd2d8cb56b5948a37d58b09bb16
GUI/Utils/ConsoleTab.cs
GUI/Utils/ConsoleTab.cs
using System; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace GUI.Utils { internal class ConsoleTab { internal class MyLogger : TextWriter { private TextBox control; public MyLogger(TextBox control) { ...
using System; using System.Drawing; using System.IO; using System.Text; using System.Windows.Forms; namespace GUI.Utils { internal class ConsoleTab { internal class MyLogger : TextWriter { private TextBox control; public MyLogger(TextBox control) { ...
Fix new lines in console
Fix new lines in console
C#
mit
SteamDatabase/ValveResourceFormat
9a2f828ba60d852f0aed9a3a50eb3645489b542f
samples/ControlCatalog/Pages/DialogsPage.xaml.cs
samples/ControlCatalog/Pages/DialogsPage.xaml.cs
using Avalonia.Controls; using Avalonia.Markup.Xaml; #pragma warning disable 4014 namespace ControlCatalog.Pages { public class DialogsPage : UserControl { public DialogsPage() { this.InitializeComponent(); this.FindControl<Button>("OpenFile").Click += delegate ...
using Avalonia.Controls; using Avalonia.Markup.Xaml; #pragma warning disable 4014 namespace ControlCatalog.Pages { public class DialogsPage : UserControl { public DialogsPage() { this.InitializeComponent(); this.FindControl<Button>("OpenFile").Click += delegate ...
Modify DialogsPage to allow testing of startup location.
Modify DialogsPage to allow testing of startup location.
C#
mit
wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Perspex,Perspex/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/...
7b527f786b46b0c86b4893eee5d01ac47ea183b8
windows-csharp/ShoutLib/Constants.cs
windows-csharp/ShoutLib/Constants.cs
namespace ShoutLib { internal class Constants { public const string ProjectId = "YOUR-PROJECT-ID"; public const string ServiceAccountEmail = "YOUR-SERVICE-ACCOUNT@developer.gserviceaccount.com"; public const string ServiceAccountP12KeyPath = @"C:\PATH\TO\YOUR\FILE.p12"; pu...
// Copyright 2015 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 a...
Add copyright to one more .cs source file.
Add copyright to one more .cs source file. Change-Id: I5e5e9b80ae3a14cdb64ebc368a880a4f09bdd453
C#
apache-2.0
GoogleCloudPlatform/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,SurferJeffAtGoogle/pubsub-shout-csharp,GoogleCloudPlatform/pubsub-shout-csharp
40d823bf693da2a1af210b7b0e5f3d3218f7b717
osu.Game/Overlays/Profile/Sections/BeatmapsSection.cs
osu.Game/Overlays/Profile/Sections/BeatmapsSection.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.Localisation; using osu.Game.Online.API.Requests; using osu.Game.Overlays.Profile.Sections.Beatmaps; using osu.Game.Resources.Localisation.Web; name...
// 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.Localisation; using osu.Game.Online.API.Requests; using osu.Game.Overlays.Profile.Sections.Beatmaps; using osu.Game.Resources.Localisation.Web; name...
Use localised string for guest participation beatmaps header
Use localised string for guest participation beatmaps header
C#
mit
peppy/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu
544402e13218991ae54810cd47a332334ec3c47b
CertiPay.Common/Notifications/ISMSService.cs
CertiPay.Common/Notifications/ISMSService.cs
using CertiPay.Common.Logging; using System; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background processing. /// </remarks...
using CertiPay.Common.Logging; using System; using System.Threading.Tasks; using Twilio; namespace CertiPay.Common.Notifications { /// <summary> /// Send an SMS message to the given recipient. /// </summary> /// <remarks> /// Implementation may be sent into background processing. /// </remarks...
Add a timer and log to sms sending
Add a timer and log to sms sending
C#
mit
mattgwagner/CertiPay.Common
3034b9cfdc9e7b6ec54f21de11d3b444bc8b396d
IPOCS_Programmer/ObjectTypes/GenericInput.cs
IPOCS_Programmer/ObjectTypes/GenericInput.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPOCS_Programmer.ObjectTypes { public class GenericInput : BasicObject { public override byte objectTypeId { get { return 11; } } public byte inputPin { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPOCS_Programmer.ObjectTypes { public class GenericInput : BasicObject { public override byte objectTypeId { get { return 11; } } public byte inputPin { get; set; } ...
Fix support for input and fix some bugs
Fix support for input and fix some bugs
C#
mit
GMJS/gmjs_ocs_dpt
d97df64c171b2cd82a4da95bfa735f62df82474f
ParkingSpace.Facts/Sample/SampleFileFacts.cs
ParkingSpace.Facts/Sample/SampleFileFacts.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using System.IO; namespace ParkingSpace.Facts.Sample { public class SampleFileFacts { public static IEnumerable<object[]> getFilesFromCurrentFolder() { var di = new DirectoryI...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Xunit; using System.IO; namespace ParkingSpace.Facts.Sample { public class SampleFileFacts { public static IEnumerable<object[]> getFilesFromCurrentFolder() { var di = new DirectoryI...
Comment out the sample tests
Comment out the sample tests
C#
mit
surrealist/ParkingSpace,surrealist/ParkingSpace,surrealist/ParkingSpace
e8e7157b0ad00c9cdb59421ccf0118199ba255fc
Espera/Espera.Core/ReactiveHelpers.cs
Espera/Espera.Core/ReactiveHelpers.cs
using ReactiveMarrow; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace Espera.Core { internal static class ReactiveHelpers { /// <summary> /// Takes the left observable and combines it with the latest value of the right observable. /// This method ...
using ReactiveMarrow; using System; using System.Reactive.Disposables; using System.Reactive.Linq; namespace Espera.Core { internal static class ReactiveHelpers { /// <summary> /// Takes the left observable and combines it with the latest value of the right observable. /// This method ...
Save all the lines of code!
Save all the lines of code!
C#
mit
punker76/Espera,flagbug/Espera
7393fad3bc9ceb4105c3fef3d28e5b858b7c2735
UnitTestUsefullFunctions/UnitTest1.cs
UnitTestUsefullFunctions/UnitTest1.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; namespace UnitTestUsefullFunctions { [TestClass] public class UnitTest1 { [TestMethod] public void TestMethod1() { Assert.IsTrue(true); } } }
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
Add license to new unit test class file
Add license to new unit test class file
C#
mit
fredatgithub/UsefulFunctions
733cf350f53e321367e279ad0c1291f56fdcea47
src/NadekoBot/Resources/CommandStrings.cs
src/NadekoBot/Resources/CommandStrings.cs
using System; using System.IO; using System.Linq; using Mitternacht.Common.Collections; using Newtonsoft.Json; using NLog; namespace Mitternacht.Resources { public class CommandStrings { private static readonly Logger Log; private const string CmdStringPath = @"./_strings/commandstrings.json";...
using System; using System.IO; using System.Linq; using Mitternacht.Common.Collections; using Newtonsoft.Json; using NLog; namespace Mitternacht.Resources { public class CommandStrings { private static readonly Logger Log; private const string CmdStringPath = @"./_strings/commandst...
Change return type from bool to void.
Change return type from bool to void.
C#
mit
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
d50998e7c6dd74b16896ce9395fd8daf837ab09b
Serenity.Services/RequestHandlers/IntegratedFeatures/Localization/LocalizablePropertyProcessor.cs
Serenity.Services/RequestHandlers/IntegratedFeatures/Localization/LocalizablePropertyProcessor.cs
using Serenity.ComponentModel; using Serenity.Data; using System; using System.ComponentModel; using System.Reflection; namespace Serenity.PropertyGrid { public partial class LocalizablePropertyProcessor : PropertyProcessor { private ILocalizationRowHandler localizationRowHandler; ...
using Serenity.ComponentModel; using Serenity.Data; using System; using System.ComponentModel; using System.Reflection; namespace Serenity.PropertyGrid { public partial class LocalizablePropertyProcessor : PropertyProcessor { private ILocalizationRowHandler localizationRowHandler; ...
Set property item as localizable only if Localizable attribute value is true
Set property item as localizable only if Localizable attribute value is true
C#
mit
rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,WasimAhmad...
d2b9d69f9511fec77300cc7f057b1aaeedbead11
RohlikAPITests/PersistentSessionHttpClientTests.cs
RohlikAPITests/PersistentSessionHttpClientTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using RohlikAPI; namespace RohlikAPITests { [TestClass] public class PersistentSessionHttpClientTests { [TestMethod] public void GetTest() { const string testCookieName = "testCookieName"; const string test...
using Microsoft.VisualStudio.TestTools.UnitTesting; using RohlikAPI; namespace RohlikAPITests { [TestClass] public class PersistentSessionHttpClientTests { [TestMethod] public void HTTPGet_PersistsCookies() { const string testCookieName = "testCookieName"; c...
Improve persistent session client test
Improve persistent session client test
C#
mit
xobed/RohlikAPI,xobed/RohlikAPI,notdev/RohlikAPI,xobed/RohlikAPI,xobed/RohlikAPI
763d9778bb66bf131960d9281d243d9a826219a5
Source/MQTTnet/Extensions/UserPropertyExtension.cs
Source/MQTTnet/Extensions/UserPropertyExtension.cs
using System; using System.Linq; namespace MQTTnet.Extensions { public static class UserPropertyExtension { public static string GetUserProperty(this MqttApplicationMessage message, string propertyName, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) { return m...
using System; using System.Linq; namespace MQTTnet.Extensions { public static class UserPropertyExtension { public static string GetUserProperty(this MqttApplicationMessage message, string propertyName, StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) { if (mess...
Check parameters and add friendly exceptions.
Check parameters and add friendly exceptions.
C#
mit
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
7fbc1ff26769034d533edbe90da0e06a7cd70c74
sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.WindowsStore.Test/UnitTests/PushUnit.Test.cs
sdk/Managed/test/Microsoft.WindowsAzure.MobileServices.WindowsStore.Test/UnitTests/PushUnit.Test.cs
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Linq; using Microsoft.WindowsAzure.MobileServices.Test.Functional; us...
// ---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // ---------------------------------------------------------------------------- using System; using System.Linq; using Microsoft.WindowsAzure.MobileServices.Test.Functional; us...
Fix new unit test to fail if it does not throw properly
Fix new unit test to fail if it does not throw properly
C#
apache-2.0
marianosz/azure-mobile-services,baumatron/azure-mobile-services-baumatron,dcristoloveanu/azure-mobile-services,Azure/azure-mobile-services,soninaren/azure-mobile-services,Reminouche/azure-mobile-services,Reminouche/azure-mobile-services,ysxu/azure-mobile-services,cmatskas/azure-mobile-services,gb92/azure-mobile-service...
fd99da52e103fdfc8569e931ce2555b61b8555a9
tweetz5/tweetz5/Controls/Timeline.xaml.cs
tweetz5/tweetz5/Controls/Timeline.xaml.cs
// Copyright (c) 2013 Blue Onion Software - All rights reserved using System.Windows.Documents; using System.Windows.Input; using tweetz5.Model; namespace tweetz5.Controls { public partial class Timeline { public TimelineController Controller { get; private set; } public Timeline...
// Copyright (c) 2013 Blue Onion Software - All rights reserved using System.Windows; using System.Windows.Input; using tweetz5.Model; namespace tweetz5.Controls { public partial class Timeline { public TimelineController Controller { get; private set; } public Timeline() ...
Fix fault in context menu
Fix fault in context menu git-tfs-id: [https://mikeward.visualstudio.com/DefaultCollection]$/tweetz5;C447
C#
mit
mike-ward/tweetz-desktop
3a17d7b12ea98156a1617f9b7e5f6efff3c2fb97
Anlab.Mvc/Views/AdminAnalysis/Delete.cshtml
Anlab.Mvc/Views/AdminAnalysis/Delete.cshtml
@using AnlabMvc.Controllers @model AnlabMvc.Controllers.AdminAnalysisController.AnalysisDeleteModel @{ ViewBag.Title = "Delete Analysis Method"; } <div> <hr /> <h3>Are you sure you want to delete this?</h3> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model => model.An...
@using AnlabMvc.Controllers @model AnlabMvc.Controllers.AdminAnalysisController.AnalysisDeleteModel @{ ViewBag.Title = "Delete Analysis Method"; } <div class="col"> <hr /> <h3>Are you sure you want to delete this?</h3> <dl class="dl-horizontal"> <dt> @Html.DisplayNameFor(model...
Add the col class. (It move the button to the right a little)
Add the col class. (It move the button to the right a little)
C#
mit
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
288a435cecba3de2517d68c67a5d3efb39e5a29e
CertiPay.Payroll.Common/CalculationType.cs
CertiPay.Payroll.Common/CalculationType.cs
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CertiPay.Payroll.Common { /// <summary> /// Identifies the method to calculate the result /// </summary> public enum CalculationType : byte { // TODO: We might implement some other calculation methods ...
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace CertiPay.Payroll.Common { /// <summary> /// Identifies the method to calculate the result /// </summary> public enum CalculationType : byte { /// <summary> /// Deduction is taken as a percentag...
Remove errant comment on calc type
Remove errant comment on calc type [skip ci]
C#
mit
mattgwagner/CertiPay.Payroll.Common
2881d9af4ddaabebb6f0870c12bc80eed5e0f3f3
Modix/Utilities/LimitToChannelsAttribute.cs
Modix/Utilities/LimitToChannelsAttribute.cs
using Discord.Commands; using System; using System.Linq; using System.Threading.Tasks; namespace Modix.Utilities { public class LimitToChannelsAttribute : PreconditionAttribute { public override Task<PreconditionResult> CheckPermissions(ICommandContext context, CommandInfo command, IDependencyMap map)...
using Discord.Commands; using System; using System.Linq; using System.Threading.Tasks; namespace Modix.Utilities { public class LimitToChannelsAttribute : PreconditionAttribute { public override Task<PreconditionResult> CheckPermissions(ICommandContext context, CommandInfo command, IDependencyMap map)...
Format available channels for Limit attribute
Format available channels for Limit attribute
C#
mit
mastorm/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX,mariocatch/MODiX
b4a050b5b06ae120c0f329dfa713ed3bef26169d
Source/Csla.Validation.Test/Properties/AssemblyInfo.cs
Source/Csla.Validation.Test/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cs...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cs...
Fix typo that broke the build
Fix typo that broke the build
C#
mit
JasonBock/csla,rockfordlhotka/csla,rockfordlhotka/csla,JasonBock/csla,JasonBock/csla,rockfordlhotka/csla,MarimerLLC/csla,MarimerLLC/csla,MarimerLLC/csla
6e64d653c5f775c37c951e35452b8fdccc86ccd4
Source/MQTTnet/Packets/MqttConnectPacket.cs
Source/MQTTnet/Packets/MqttConnectPacket.cs
namespace MQTTnet.Packets { public class MqttConnectPacket : MqttBasePacket { public string ProtocolName { get; set; } public byte? ProtocolLevel { get; set; } public string ClientId { get; set; } public string Username { get; set; } public string Password { get; set...
namespace MQTTnet.Packets { public class MqttConnectPacket : MqttBasePacket { public string ProtocolName { get; set; } public byte? ProtocolLevel { get; set; } public string ClientId { get; set; } public string Username { get; set; } public string Password { get; set...
Hide connect password from logs.
Hide connect password from logs.
C#
mit
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
884dd0c170d536099bba4c43076a443ba4748721
MultiMiner.Win/Extensions/StringExtensions.cs
MultiMiner.Win/Extensions/StringExtensions.cs
using System; using System.Collections.Generic; using System.IO; namespace MultiMiner.Win.Extensions { static class StringExtensions { private readonly static Dictionary<string, string> hostDomainNames = new Dictionary<string, string>(); public static string DomainFromHost(this string host) ...
using System; using System.Collections.Generic; using System.IO; namespace MultiMiner.Win.Extensions { static class StringExtensions { private readonly static Dictionary<string, string> hostDomainNames = new Dictionary<string, string>(); public static string DomainFromHost(this string host) ...
Support for IP address URLs
Support for IP address URLs
C#
mit
nwoolls/MultiMiner,IWBWbiz/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner
2ad7e56718f6a223702c521901ff614a434fc001
src/ServiceStack.OrmLite/Expressions/Sql.cs
src/ServiceStack.OrmLite/Expressions/Sql.cs
using System; using System.Linq; using System.Linq.Expressions; using System.Collections.Generic; namespace ServiceStack.OrmLite { public static class Sql { //public static bool In<T>(T value, IList<Object> list) //{ // foreach (Object obj in list) // { // if (obj == null || value == null)...
using System; using System.Linq; using System.Linq.Expressions; using System.Collections.Generic; namespace ServiceStack.OrmLite { public static class Sql { public static bool In<T>(T value, params object[] list) { if(value == null) return false; foreach (var obj in list) { if (obj == null)...
Clean commented code and a tiny optimization to return false if the value is null.
Clean commented code and a tiny optimization to return false if the value is null.
C#
bsd-3-clause
NServiceKit/NServiceKit.OrmLite,NServiceKit/NServiceKit.OrmLite
73a208227cad6811079ff1c327eabd863f0b40c1
SOVND.Server/Program.cs
SOVND.Server/Program.cs
using Anotar.NLog; using Ninject; using Ninject.Extensions.Factory; using SOVND.Lib; using System; using System.Text; using SOVND.Lib.Handlers; using SOVND.Lib.Models; using SOVND.Server.Settings; using System.Threading; using System.Linq; using SOVND.Server.Handlers; namespace SOVND.Server { class Program { ...
using Anotar.NLog; using Ninject; using Ninject.Extensions.Factory; using SOVND.Lib; using System; using System.Text; using SOVND.Lib.Handlers; using SOVND.Lib.Models; using SOVND.Server.Settings; using System.Threading; using System.Linq; using SOVND.Server.Handlers; using System.IO; using SOVND.Lib.Utils; namespace...
Add heardbeat file to server
Add heardbeat file to server
C#
epl-1.0
GeorgeHahn/SOVND
f277b0c99f2a53f7b7bd92e0f748e1e206fe452c
osu.Game/Skinning/SkinInfo.cs
osu.Game/Skinning/SkinInfo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Game.Configuration; using osu.Game.Database; namespace osu.Game.Skinning { public class SkinInfo : IHasFil...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using osu.Game.Configuration; using osu.Game.Database; namespace osu.Game.Skinning { public class SkinInfo : IHasFil...
Use better formatting for skin display (matching BeatmapMetadata)
Use better formatting for skin display (matching BeatmapMetadata)
C#
mit
peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu
a6357ddb207c3191f6a17c0915f0d805b3e6440f
test/Uncas.BuildPipeline.Tests.Unit/CommandBusTests.cs
test/Uncas.BuildPipeline.Tests.Unit/CommandBusTests.cs
using System; using Microsoft.Practices.ServiceLocation; using Moq; using NUnit.Framework; using Uncas.BuildPipeline.Commands; using Uncas.BuildPipeline.Repositories; using Uncas.BuildPipeline.Utilities; namespace Uncas.BuildPipeline.Tests.Unit { [TestFixture] public class CommandBusTests { [Test]...
using Microsoft.Practices.ServiceLocation; using Microsoft.Practices.Unity; using Moq; using NUnit.Framework; using Ploeh.AutoFixture; using Uncas.BuildPipeline.Commands; namespace Uncas.BuildPipeline.Tests.Unit { [TestFixture] public class CommandBusTests : WithFixture<CommandBus> { [Test] ...
Use autofixture for unit tests of the command bus.
Use autofixture for unit tests of the command bus.
C#
mit
uncas/BuildPipeline