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
bfe837d00f70c2787e42318b712a16e546aba9c5
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.Extras.AttributeMetadata
1b0b0e01cf2e5c1f3751fb6b19be7f2808bf1e69
hangman.cs
hangman.cs
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { // char key = Console.ReadKey(true).KeyChar; // var game = new Game("HANG THE MAN"); // bool wasCorrect = game.GuessLetter(key); // Console.WriteLine(wasCorrect.ToString()); // var ou...
using System; namespace Hangman { public class Hangman { public static void Main(string[] args) { // char key = Console.ReadKey(true).KeyChar; // var game = new Game("HANG THE MAN"); // bool wasCorrect = game.GuessLetter(key); // Console.WriteLine(wasCorrect.ToString()); // var ou...
Change indent to 2 spaces
Change indent to 2 spaces
C#
unlicense
12joan/hangman
ef46b30ae2878c745246e71978f33232a9d6850a
Orders.com.BLL/Services/OrdersDotComServiceBase.cs
Orders.com.BLL/Services/OrdersDotComServiceBase.cs
using Peasy; using Peasy.Core; using Orders.com.BLL.DataProxy; namespace Orders.com.BLL.Services { public abstract class OrdersDotComServiceBase<T> : BusinessServiceBase<T, long> where T : IDomainObject<long>, new() { public OrdersDotComServiceBase(IOrdersDotComDataProxy<T> dataProxy) : base(dataProxy...
using Peasy; using Peasy.Core; using Orders.com.BLL.DataProxy; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; namespace Orders.com.BLL.Services { public abstract class OrdersDotComServiceBase<T> : BusinessServiceBase<T, long> where T...
Add conditional business rule execution based on successful validation rule execution
Add conditional business rule execution based on successful validation rule execution
C#
mit
peasy/Samples,peasy/Samples,peasy/Samples
5931c7fb9a8884adaf3087fb831caa103e0cfb86
build/tasks/CreateLzma.cs
build/tasks/CreateLzma.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.DotNet.Archive; namespace RepoTasks { public cla...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Microsoft.DotNet.Archive; namespace RepoTasks { public cla...
Remove trailing slashes when creating LZMAs
Remove trailing slashes when creating LZMAs
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
5b9b0c1a168203af0ef8d49ebe5a0bdc31f8da75
src/HolzShots.Core/IO/HolzShotsPaths.cs
src/HolzShots.Core/IO/HolzShotsPaths.cs
using System; using System.Diagnostics; using System.IO; namespace HolzShots.IO { public static class HolzShotsPaths { private static readonly string SystemAppDataDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); private static readonly string UserPicturesDirecto...
using System; using System.Diagnostics; using System.IO; namespace HolzShots.IO { public static class HolzShotsPaths { private static readonly string SystemAppDataDirectory = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); private static readonly string UserPicturesDirecto...
Put custom uploaders in same dir as other plugins
Put custom uploaders in same dir as other plugins
C#
agpl-3.0
nikeee/HolzShots
bd27a87f634dd4e45220195d6d63cbfe72750e60
src/Nancy/Extensions/RequestExtensions.cs
src/Nancy/Extensions/RequestExtensions.cs
namespace Nancy.Extensions { using System; using System.Linq; /// <summary> /// Containing extensions for the <see cref="Request"/> object /// </summary> public static class RequestExtensions { /// <summary> /// An extension method making it easy to check if the ...
namespace Nancy.Extensions { using System; using System.Linq; /// <summary> /// Containing extensions for the <see cref="Request"/> object /// </summary> public static class RequestExtensions { /// <summary> /// An extension method making it easy to check if the ...
Check isLocal using Uri.TryCreate. It is possible in case we have only absolute url.
Check isLocal using Uri.TryCreate. It is possible in case we have only absolute url.
C#
mit
jmptrader/Nancy,fly19890211/Nancy,hitesh97/Nancy,JoeStead/Nancy,SaveTrees/Nancy,SaveTrees/Nancy,AIexandr/Nancy,malikdiarra/Nancy,ccellar/Nancy,SaveTrees/Nancy,MetSystem/Nancy,anton-gogolev/Nancy,sloncho/Nancy,duszekmestre/Nancy,AIexandr/Nancy,dbolkensteyn/Nancy,EIrwin/Nancy,blairconrad/Nancy,EliotJones/NancyTest,ayoung...
51510955c8a3dedc95f79d487b6963a75e3f4b8b
InterfaceStubGenerator/Program.cs
InterfaceStubGenerator/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Refit.Generator { class Program { static void Main(string[] args) { var generator = new InterfaceStubGenerator();...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Refit.Generator { class Program { static void Main(string[] args) { // NB: @Compile passes us a list of files rel...
Fix a dumb bug in the interface generator
Fix a dumb bug in the interface generator
C#
mit
PKRoma/refit,ammachado/refit,jlucansky/refit,PureWeen/refit,mteper/refit,onovotny/refit,martijn00/refit,mteper/refit,jlucansky/refit,paulcbetts/refit,martijn00/refit,paulcbetts/refit,ammachado/refit,onovotny/refit,PureWeen/refit
34ae0dfb5afa9356fe85f1a831624a5fa56169f3
src/Abp/Localization/LocalizationSourceHelper.cs
src/Abp/Localization/LocalizationSourceHelper.cs
using System.Globalization; using Abp.Configuration.Startup; using Abp.Extensions; using Abp.Logging; namespace Abp.Localization { public static class LocalizationSourceHelper { public static string ReturnGivenNameOrThrowException(ILocalizationConfiguration configuration, string sourceName, string nam...
using System.Globalization; using Abp.Configuration.Startup; using Abp.Extensions; using Abp.Logging; namespace Abp.Localization { public static class LocalizationSourceHelper { public static string ReturnGivenNameOrThrowException(ILocalizationConfiguration configuration, string sourceName, string nam...
Implement humanize test localization for current culture.
Implement humanize test localization for current culture.
C#
mit
oceanho/aspnetboilerplate,fengyeju/aspnetboilerplate,virtualcca/aspnetboilerplate,berdankoca/aspnetboilerplate,AlexGeller/aspnetboilerplate,ilyhacker/aspnetboilerplate,fengyeju/aspnetboilerplate,yuzukwok/aspnetboilerplate,verdentk/aspnetboilerplate,beratcarsi/aspnetboilerplate,andmattia/aspnetboilerplate,jaq316/aspnetb...
7bd4ee2ec0674fb66f2d178648a44bde9841a26a
source/NuGet.Lucene.Web/Models/PackageVersionSummary.cs
source/NuGet.Lucene.Web/Models/PackageVersionSummary.cs
using System; using AspNet.WebApi.HtmlMicrodataFormatter; namespace NuGet.Lucene.Web.Models { public class PackageVersionSummary { private readonly StrictSemanticVersion version; private readonly DateTimeOffset lastUpdated; private readonly int versionDownloadCount; private read...
using System; using AspNet.WebApi.HtmlMicrodataFormatter; namespace NuGet.Lucene.Web.Models { public class PackageVersionSummary { private readonly string id; private readonly string title; private readonly StrictSemanticVersion version; private readonly DateTimeOffset lastUpdat...
Include id and title on package version history items.
Include id and title on package version history items.
C#
apache-2.0
googol/NuGet.Lucene,themotleyfool/NuGet.Lucene,Stift/NuGet.Lucene
c7eb0b6bead0d73d0534fba2b7e179fedcd24b7f
src/License.Manager/Client/UserCode/CreateNewProduct.cs
src/License.Manager/Client/UserCode/CreateNewProduct.cs
using System; using System.Linq; using System.IO; using System.IO.IsolatedStorage; using System.Collections.Generic; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Framework.Client; using Microsoft.LightSwitch.Presentation; using Microsoft.LightSwitch.Presentation.Extensions; namespace LightSwitchApplicatio...
using System; using System.Linq; using System.IO; using System.IO.IsolatedStorage; using System.Collections.Generic; using Microsoft.LightSwitch; using Microsoft.LightSwitch.Framework.Client; using Microsoft.LightSwitch.Presentation; using Microsoft.LightSwitch.Presentation.Extensions; namespace LightSwitchApplicatio...
Create private and public key when saving a new product
Create private and public key when saving a new product
C#
mit
dnauck/License.Manager-Light,dnauck/License.Manager-Light,dnauck/License.Manager-Light
a001e4aa166675a81c8beacc065284aebc158871
osu.Game/Online/Rooms/JoinRoomRequest.cs
osu.Game/Online/Rooms/JoinRoomRequest.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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
// 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.Net.Http; using osu.Framework.IO.Network; using osu.Game.Online.API; namespace osu.Game.Online.Rooms { public class JoinRoomRequest : APIRequest { ...
Fix web request failing if password is null
Fix web request failing if password is null
C#
mit
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,smoogipoo/osu
5e6d28a3027f1cf4dac32cbd0cd21dcbe0c9e6e2
src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetViewModel.cs
src/ViewModels/Sakuno.ING.ViewModels/Homeport/FleetViewModel.cs
using DynamicData; using DynamicData.Aggregation; using ReactiveUI; using Sakuno.ING.Game.Models; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; namespace Sakuno.ING.ViewModels.Homeport { public sealed class FleetViewModel : ReactiveObject, IHomeportTabViewModel { pub...
using DynamicData; using DynamicData.Aggregation; using DynamicData.Binding; using ReactiveUI; using Sakuno.ING.Game.Models; using System.Collections.Generic; using System.Linq; using System.Reactive.Linq; namespace Sakuno.ING.ViewModels.Homeport { public sealed class FleetViewModel : ReactiveObject, IHomeportTab...
Fix fleet ship list not update
Fix fleet ship list not update
C#
mit
amatukaze/HeavenlyWind
551b663f78da91aba94083b200299d5cfeee52aa
src/Red-Folder.com/Views/Shared/_PodcastMetrics.cshtml
src/Red-Folder.com/Views/Shared/_PodcastMetrics.cshtml
@model RedFolder.Podcast.Models.PodcastMetrics <div class="podcast-metrics"> <div> <h3 class="title">Number of episodes</h3> <p class="metric"> @Model.NumberOfEpisodes </p> </div> <div> <h3 class="title">Total duration</h3> <p class="metric"> ...
@model RedFolder.Podcast.Models.PodcastMetrics <div class="podcast-metrics"> <div> <h3 class="title">Number of episodes</h3> <p class="metric"> @Model.NumberOfEpisodes </p> </div> <div> <h3 class="title">Total duration</h3> <p class="metric"> ...
Fix for display of hours
Fix for display of hours
C#
mit
Red-Folder/red-folder.com,Red-Folder/red-folder.com,Red-Folder/red-folder.com
8352cb7313302e869dcd9bc56078a2aa22d3ab2f
CMSEngine/Extensions/ObjectExtensions.cs
CMSEngine/Extensions/ObjectExtensions.cs
using System.Linq; namespace CmsEngine.Extensions { public static class ObjectExtensions { public static object MapTo(this object source, object target) { foreach (var sourceProp in source.GetType().GetProperties()) { var targetProp = target.GetType().Ge...
using System.Linq; namespace CmsEngine.Extensions { public static class ObjectExtensions { public static object MapTo(this object source, object target) { foreach (var sourceProp in source.GetType().GetProperties()) { var targetProp = target.GetType().Ge...
Check if property has setter
Check if property has setter
C#
mit
davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine,davidsonsousa/CMSEngine
cf8d96dcfbaa64aa76ec7033d9ee546b64eabbc9
MbDotNet/Models/Imposters/HttpsImposter.cs
MbDotNet/Models/Imposters/HttpsImposter.cs
using MbDotNet.Models.Stubs; using Newtonsoft.Json; using System.Collections.Generic; namespace MbDotNet.Models.Imposters { public class HttpsImposter : Imposter { [JsonProperty("stubs")] public ICollection<HttpStub> Stubs { get; private set; } // TODO Need to not include key...
using MbDotNet.Models.Stubs; using Newtonsoft.Json; using System.Collections.Generic; namespace MbDotNet.Models.Imposters { public class HttpsImposter : Imposter { [JsonProperty("stubs")] public ICollection<HttpStub> Stubs { get; private set; } // TODO This won't serialize ke...
Set NullHandling to Ignore for key
Set NullHandling to Ignore for key
C#
mit
SuperDrew/MbDotNet,mattherman/MbDotNet,mattherman/MbDotNet
b0d00cb00e3d49f23365c5eb0612fd28c57bb358
PalasoUIWindowsForms/Miscellaneous/WaitCursor.cs
PalasoUIWindowsForms/Miscellaneous/WaitCursor.cs
using System; using System.Linq; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.Miscellaneous { /// ---------------------------------------------------------------------------------------- public class WaitCursor { /// --------------------------------------------------------------------------------...
using System; using System.Linq; using System.Windows.Forms; namespace Palaso.UI.WindowsForms.Miscellaneous { /// ---------------------------------------------------------------------------------------- public class WaitCursor { /// --------------------------------------------------------------------------------...
Put in defensive code to prevent crash when toggling wait cursor state.
SP-735: Put in defensive code to prevent crash when toggling wait cursor state.
C#
mit
JohnThomson/libpalaso,ermshiperete/libpalaso,glasseyes/libpalaso,tombogle/libpalaso,JohnThomson/libpalaso,gtryus/libpalaso,darcywong00/libpalaso,glasseyes/libpalaso,marksvc/libpalaso,hatton/libpalaso,andrew-polk/libpalaso,mccarthyrb/libpalaso,gmartin7/libpalaso,chrisvire/libpalaso,ddaspit/libpalaso,hatton/libpalaso,mar...
bd2fa5d16f61ea53d939320e970022b3b1bd377d
src/Renci.SshNet/Abstractions/DiagnosticAbstraction.cs
src/Renci.SshNet/Abstractions/DiagnosticAbstraction.cs
using System.Diagnostics; namespace Renci.SshNet.Abstractions { internal static class DiagnosticAbstraction { #if FEATURE_DIAGNOSTICS_TRACESOURCE private static readonly SourceSwitch SourceSwitch = new SourceSwitch("SshNetSwitch"); public static bool IsEnabled(TraceEventType traceEventType) ...
using System.Diagnostics; using System.Threading; namespace Renci.SshNet.Abstractions { internal static class DiagnosticAbstraction { #if FEATURE_DIAGNOSTICS_TRACESOURCE private static readonly SourceSwitch SourceSwitch = new SourceSwitch("SshNetSwitch"); public static bool IsEnabled(TraceEv...
Use the managed thread id as identifier in our trace messages.
Use the managed thread id as identifier in our trace messages.
C#
mit
Bloomcredit/SSH.NET,sshnet/SSH.NET,miniter/SSH.NET
492ac3bdac1724b2c0d6fdcb96c4fe155d2b7335
src/FSharp.MetadataFormat/templates/module.cshtml
src/FSharp.MetadataFormat/templates/module.cshtml
@{ Layout = "default"; Title = "Module"; } <div class="row"> <div class="span1"></div> <div class="span10" id="main"> <h1>@Model.Module.Name</h1> <div class="xmldoc"> @Model.Module.Comment.FullText </div> @if (Model.Module.NestedTypes.Length > 0) { <div> <table class="table t...
@{ Layout = "default"; Title = "Module"; } <div class="row"> <div class="span1"></div> <div class="span10" id="main"> <h1>@Model.Module.Name</h1> <div class="xmldoc"> @Model.Module.Comment.FullText </div> @if (Model.Module.NestedTypes.Length > 0) { <h2>Nested types</h2> <div> ...
Add a title for nested types
Add a title for nested types
C#
apache-2.0
theprash/FSharp.Formatting,tpetricek/FSharp.Formatting,modulexcite/FSharp.Formatting,Rickasaurus/FSharp.Formatting,tpetricek/FSharp.Formatting,mktange/FSharp.Formatting,ademar/FSharp.Formatting,halcwb/FSharp.Formatting,ademar/FSharp.Formatting,modulexcite/FSharp.Formatting,ademar/FSharp.Formatting,tpetricek/FSharp.Form...
da9364fbf2e3c8c1bd1e8ce0524004affc6b455b
Src/BScript.Tests/Expressions/CallDotExpressionTests.cs
Src/BScript.Tests/Expressions/CallDotExpressionTests.cs
namespace BScript.Tests.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using BScript.Commands; using BScript.Expressions; using BScript.Language; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] pub...
namespace BScript.Tests.Expressions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using BScript.Commands; using BScript.Expressions; using BScript.Language; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] pub...
Fix call dot expression first test
Fix call dot expression first test
C#
mit
ajlopez/BScript
1f24c74b3c5aad71aa76a01e198d744361d6f479
Scripts/Interactions/ObjectWithAnchor.cs
Scripts/Interactions/ObjectWithAnchor.cs
using UnityEngine; namespace Pear.InteractionEngine.Interactions { /// <summary> /// Manipulating objects, such as resizing and moving, can be tricky when you have multiple scripts trying the modify the same thing. /// This class creates an anchor element which is used to help these manipulations /// </summary> ...
using UnityEngine; namespace Pear.InteractionEngine.Interactions { /// <summary> /// Manipulating objects, such as resizing and moving, can be tricky when you have multiple scripts trying the modify the same thing. /// This class creates an anchor element which is used to help these manipulations /// </summary> ...
Make sure the anchor is the parent element
Make sure the anchor is the parent element
C#
mit
PearMed/Pear-Interaction-Engine
4cfca71d080822734e7f29de27b5273f3304460a
osu.Game/Tests/Visual/RateAdjustedBeatmapTestScene.cs
osu.Game/Tests/Visual/RateAdjustedBeatmapTestScene.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.Extensions.ObjectExtensions; namespace osu.Game.Tests.Visual { /// <summary> /// Test case which adjusts the beatmap's rate to match any spee...
// 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.Diagnostics; using osu.Framework.Extensions.ObjectExtensions; namespace osu.Game.Tests.Visual { /// <summary> /// Test case which adjusts the beatma...
Fix a few test scenes
Fix a few test scenes
C#
mit
smoogipooo/osu,UselessToucan/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,peppy/osu,NeoAdonis/osu
252be27100ec45a916be258b1e147c5ec7c23584
src/dotnet/commands/dotnet-new/CSharp_Console/Program.cs
src/dotnet/commands/dotnet-new/CSharp_Console/Program.cs
using System; namespace ConsoleApplication { public class Program { public static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
using System; public class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } }
Remove namespace and public from console app
Remove namespace and public from console app Fixes #745, #3531
C#
mit
mlorbetske/cli,johnbeisner/cli,dasMulli/cli,blackdwarf/cli,svick/cli,blackdwarf/cli,blackdwarf/cli,ravimeda/cli,weshaggard/cli,harshjain2/cli,livarcocc/cli-1,nguerrera/cli,AbhitejJohn/cli,mlorbetske/cli,nguerrera/cli,Faizan2304/cli,weshaggard/cli,MichaelSimons/cli,svick/cli,EdwardBlair/cli,harshjain2/cli,MichaelSimons/...
bd64240b97c2df2e00f9e06af2c37ff60f28849f
src/Pablo.Gallery/Global.asax.cs
src/Pablo.Gallery/Global.asax.cs
using Pablo.Gallery.Models; using System.Data.Entity; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using System; using System.Threading; namespace Pablo.Gallery { public class MvcApplication : HttpApplication { static MvcApplication() { ...
using Pablo.Gallery.Models; using System.Data.Entity; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using System; using System.Threading; namespace Pablo.Gallery { public class MvcApplication : HttpApplication { static MvcApplication() { ...
Remove reference to Hibernating Rhinos
Remove reference to Hibernating Rhinos
C#
mit
sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery
8ae48aee68d459fb479179814688fa9b867a7534
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Attributed")] [assembly: AssemblyDescription("Autofac Extensions for categorized discovery using attributes")] [assembly: InternalsVisibleTo("Autofac.Tests.Extras.Attrib...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Attributed")] [assembly: InternalsVisibleTo("Autofac.Tests.Extras.Attributed, PublicKey=00240000048000009400000006020000002400005253413100040000010001008728425885ef385e04...
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
C#
mit
autofac/Autofac.Extras.AttributeMetadata
d1be5005a8476293e24d3db5ce473f8fc964cc32
OniBot/CommandConfigs/SweepConfig.cs
OniBot/CommandConfigs/SweepConfig.cs
using Newtonsoft.Json; using OniBot.Interfaces; using System.Collections.Generic; namespace OniBot.CommandConfigs { public class SweepConfig : CommandConfig { public Dictionary<ulong, string> Equiped = new Dictionary<ulong, string>(); [JsonIgnore] public override string ConfigKey => "...
using Newtonsoft.Json; using OniBot.Interfaces; using System.Collections.Generic; namespace OniBot.CommandConfigs { public class SweepConfig : CommandConfig { public Dictionary<ulong, string> Equiped { get; set; } = new Dictionary<ulong, string>(); [JsonIgnore] public override string ...
Make equipped list a property instead of a field
Make equipped list a property instead of a field
C#
apache-2.0
Cisien/OniBot
2f2bd59844e65fa6a57ab05d81dc39907a3aeb23
osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs
osu.Game/Beatmaps/WorkingBeatmap_VirtualBeatmapTrack.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Audio.Track; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Beatmaps { public partial class WorkingBeatmap { ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.Linq; using osu.Framework.Audio.Track; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Beatmaps { public partial class WorkingBeatmap { ...
Remove editor functionality from VirtualBeatmapTrack
Remove editor functionality from VirtualBeatmapTrack /shrug
C#
mit
peppy/osu,UselessToucan/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,DrabWeb/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,ppy/osu,ZLima12/osu,naoey/osu,DrabWeb/osu,Usele...
5a592012c673c89035edf80a167f7f85d4eb6468
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.EnterpriseLibraryConfigurator")] [assembly: AssemblyDescription("Autofac support for Enterprise Library container configuration.")] [assembly: ComVisible(false)]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.EnterpriseLibraryConfigurator")] [assembly: ComVisible(false)]
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
C#
mit
autofac/Autofac.Extras.EnterpriseLibraryConfigurator
7dd1d3827b6371fce755740489d238935584af8b
src/Server/Infrastructure/PackageUtility.cs
src/Server/Infrastructure/PackageUtility.cs
using System; using System.Web; using System.Web.Hosting; namespace NuGet.Server.Infrastructure { public class PackageUtility { internal static string PackagePhysicalPath = HostingEnvironment.MapPath("~/Packages"); public static Uri GetPackageUrl(string path, Uri baseUri) { re...
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...
Use the AppSettings 'NuGetPackagePath' if exists and the default ~/Packages otherwise
Use the AppSettings 'NuGetPackagePath' if exists and the default ~/Packages otherwise
C#
apache-2.0
mdavid/nuget,mdavid/nuget
37869ed78acee76444ba9947c80d5fe186dc1d5a
src/KillrVideo.Protobuf/ServiceDiscovery/LocalServiceDiscovery.cs
src/KillrVideo.Protobuf/ServiceDiscovery/LocalServiceDiscovery.cs
using System; using System.Linq; using System.Net; using Google.Protobuf.Reflection; using KillrVideo.Host.Config; namespace KillrVideo.Protobuf.ServiceDiscovery { /// <summary> /// Service discovery implementation that just points all service clients to the host/port where they /// have been configured t...
using System; using Google.Protobuf.Reflection; using KillrVideo.Host.Config; namespace KillrVideo.Protobuf.ServiceDiscovery { /// <summary> /// Service discovery implementation that just points all service clients to 'localhost' and the port /// where they have been configured to run locally. /// </s...
Fix local service discovery now that services are listening on 0.0.0.0
Fix local service discovery now that services are listening on 0.0.0.0
C#
apache-2.0
LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp,LukeTillman/killrvideo-csharp
90753a8e407ead9d242761e20c3dd1610c01d1b4
src/Arkivverket.Arkade.UI/Views/MainWindow.xaml.cs
src/Arkivverket.Arkade.UI/Views/MainWindow.xaml.cs
using System.Reflection; using System.Windows; namespace Arkivverket.Arkade.UI.Views { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Title = string.Format(UI.Resources.UI.General_WindowTitle, typeof(App).Assembly.GetName().Versi...
using System.Reflection; using System.Windows; namespace Arkivverket.Arkade.UI.Views { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); Title = string.Format(UI.Resources.UI.General_WindowTitle, "0.3.0"); // Todo - get correct appl...
Set correct version number in main window
Set correct version number in main window
C#
agpl-3.0
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
1dfcfb386f25c2af7c0fe34ebbfd9850e6591893
src/StructuredLogger/ObjectModel/ParentedNode.cs
src/StructuredLogger/ObjectModel/ParentedNode.cs
using System.Collections.Generic; namespace Microsoft.Build.Logging.StructuredLogger { public class ParentedNode : BaseNode { public TreeNode Parent { get; set; } public IEnumerable<ParentedNode> GetParentChain() { var chain = new List<ParentedNode>(); ...
using System.Collections.Generic; namespace Microsoft.Build.Logging.StructuredLogger { public class ParentedNode : BaseNode { private TreeNode parent; public TreeNode Parent { get => parent; set { #if DEBUG if (parent != ...
Add a debug assert when a node is being reparented.
Add a debug assert when a node is being reparented. A tree node should only be parented once.
C#
mit
KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog
d7ff6103dbd90e0d5c720dd853ece24dd23db710
Client/API/Integrations/Workflows/WorkflowProgressApi.cs
Client/API/Integrations/Workflows/WorkflowProgressApi.cs
using CareerHub.Client.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CareerHub.Client.API.Integrations.Workflows { internal class WorkflowProgressApi : IWorkflowProgressApi { private const string ApiBase = "api/int...
using CareerHub.Client.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CareerHub.Client.API.Integrations.Workflows { internal class WorkflowProgressApi : IWorkflowProgressApi { private const string ApiBase = "api/int...
Update api to match new URL
Update api to match new URL
C#
mit
CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client
caa3f82fd387b281b009d499b8b29942bb53bd5c
src/CSharpClient/Bit.CSharpClient.All/BitApplication.cs
src/CSharpClient/Bit.CSharpClient.All/BitApplication.cs
using Autofac; using Bit.Model.Events; using Plugin.Connectivity.Abstractions; using Prism; using Prism.Autofac; using Prism.Events; using Prism.Ioc; using Xamarin.Forms; namespace Bit { public abstract class BitApplication : PrismApplication { protected BitApplication(IPlatformInitializer platformIni...
using Autofac; using Bit.Model.Events; using Plugin.Connectivity.Abstractions; using Prism; using Prism.Autofac; using Prism.Events; using Prism.Ioc; using Xamarin.Forms; namespace Bit { public abstract class BitApplication : PrismApplication { protected BitApplication(IPlatformInitializer platformIni...
Set main page of bit application of cs client if no main page is provided (Due error/delay in initialization)
Set main page of bit application of cs client if no main page is provided (Due error/delay in initialization)
C#
mit
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
515d34efe08cd0de8ae99c8a0716f7278cc184b4
tests/cs-errors/misspelled-name/MisspelledMemberName.cs
tests/cs-errors/misspelled-name/MisspelledMemberName.cs
using static System.Console; public class Counter { public Counter() { } public int Count; public Counter Increment() { Count++; return this; } } public static class Program { public static readonly Counter printCounter = new Counter(); public static void Main() { ...
using static System.Console; public class Counter { public Counter() { } public int Count; public Counter Increment() { Count++; return this; } public Counter Decrement<T>() { Count--; return this; } } public static class Program { public static r...
Expand the misspelled member name test
Expand the misspelled member name test
C#
mit
jonathanvdc/ecsc
0ce7b4b4173c4cdd4e38ccd1fc57192f31917769
nuget-extensions/nuget-tests/src/NuGetConstants.cs
nuget-extensions/nuget-tests/src/NuGetConstants.cs
namespace JetBrains.TeamCity.NuGet.Tests { public static class NuGetConstants { public const string DefaultFeedUrl_v1 = "https://go.microsoft.com/fwlink/?LinkID=206669"; public const string DefaultFeedUrl_v2 = "https://go.microsoft.com/fwlink/?LinkID=230477"; public const string NuGetDevFeed = "ht...
namespace JetBrains.TeamCity.NuGet.Tests { public static class NuGetConstants { public const string DefaultFeedUrl_v1 = "https://packages.nuget.org/v1/FeedService.svc/"; public const string DefaultFeedUrl_v2 = "https://www.nuget.org/api/v2/"; public const string NuGetDevFeed = "https://dotnet.myget.org/...
Use direct nuget public feed URLs
Use direct nuget public feed URLs
C#
apache-2.0
JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
4b59421343ab2a5af8497b910071289dd9f3c0af
src/Bakery.Cqrs.SimpleInjector/Bakery/Cqrs/SimpleInjectorDispatcher.cs
src/Bakery.Cqrs.SimpleInjector/Bakery/Cqrs/SimpleInjectorDispatcher.cs
namespace Bakery.Cqrs { using SimpleInjector; using System; using System.Linq; using System.Threading.Tasks; public class SimpleInjectorDispatcher : IDispatcher { private readonly Container container; public SimpleInjectorDispatcher(Container container) { if (container == null) th...
namespace Bakery.Cqrs { using SimpleInjector; using System; using System.Linq; using System.Threading.Tasks; public class SimpleInjectorDispatcher : IDispatcher { private readonly Container container; public SimpleInjectorDispatcher(Container container) { if (container == null) th...
Convert candidates to an array.
Convert candidates to an array.
C#
mit
brendanjbaker/Bakery
0e1b50b38d4860f4bb38dfc5649f804faa131f58
PixelPet/Workbench.cs
PixelPet/Workbench.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; namespace PixelPet { /// <summary> /// PixelPet workbench instance. /// </summary> public class Workbench { public IList<Color> Palette { get; } public Bit...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Text; namespace PixelPet { /// <summary> /// PixelPet workbench instance. /// </summary> public class Workbench { public IList<Color> Palette { get; } public Bit...
Fix Clear-Bitmap being completely broken now, oops.
Fix Clear-Bitmap being completely broken now, oops.
C#
mit
Prof9/PixelPet
31cd0583c2a4e6ec8a2f747352d1b92faa8b58dc
Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTWebFileLoader.cs
Assets/HappyFunTimes/HappyFunTimesCore/Server/HFTWebFileLoader.cs
using DeJson; using System.Collections.Generic; using System; using System.IO; using UnityEngine; namespace HappyFunTimes { public class HFTWebFileLoader { // TODO: Put this in one place static private string HFT_WEB_PATH = "HappyFunTimesAutoGeneratedDoNotEdit/"; static private string ...
using DeJson; using System.Collections.Generic; using System; using System.IO; using UnityEngine; namespace HappyFunTimes { public class HFTWebFileLoader { // TODO: Put this in one place static private string HFT_WEB_PATH = "HappyFunTimesAutoGeneratedDoNotEdit/"; static private string ...
Use templated version of Resources.Load
Use templated version of Resources.Load
C#
bsd-3-clause
greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d
c8167b9cd7e865edb4c421df6dacd2025e9c591a
src/MonoTorrent/MonoTorrent.Tracker/RequestParameters.cs
src/MonoTorrent/MonoTorrent.Tracker/RequestParameters.cs
using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using MonoTorrent.BEncoding; using System.Net; namespace MonoTorrent.Tracker { public abstract class RequestParameters : EventArgs { protected internal static readonly string FailureKey = "failure r...
using System; using System.Collections.Generic; using System.Text; using System.Collections.Specialized; using MonoTorrent.BEncoding; using System.Net; namespace MonoTorrent.Tracker { public abstract class RequestParameters : EventArgs { protected internal static readonly string FailureKey = "failure r...
Use the correct string for the warning key. (patch by olivier)
Use the correct string for the warning key. (patch by olivier) svn path=/trunk/bitsharp/; revision=143085
C#
mit
dipeshc/BTDeploy
1a72f36879dd4242c49aea2a06117a51ff7857c9
src/StockportContentApi/Services/HealthcheckService.cs
src/StockportContentApi/Services/HealthcheckService.cs
using System.Collections.Generic; using StockportContentApi.Model; using StockportContentApi.Utils; using System.Linq; using System.Threading.Tasks; namespace StockportContentApi.Services { public interface IHealthcheckService { Task<Healthcheck> Get(); } public class HealthcheckService : IHe...
using System.Collections.Generic; using StockportContentApi.Model; using StockportContentApi.Utils; using System.Linq; using System.Threading.Tasks; namespace StockportContentApi.Services { public interface IHealthcheckService { Task<Healthcheck> Get(); } public class HealthcheckService : IHe...
Remove whitespace around app version
fix(Healthcheck): Remove whitespace around app version
C#
mit
smbc-digital/iag-contentapi
6c74f8316b688ff703aa59b2cb2845d1f0cef8e2
src/Tools/RulesetToEditorconfigConverter/Source/Program.cs
src/Tools/RulesetToEditorconfigConverter/Source/Program.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.IO; namespace Microsoft.CodeAnalysis.RulesetToEditorconfig { internal static class Program { public static int Ma...
// 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.IO; namespace Microsoft.CodeAnalysis.RulesetToEditorconfig { internal static class Program { public static int Ma...
Fix for one more IDE0078
Fix for one more IDE0078
C#
mit
dotnet/roslyn-analyzers,dotnet/roslyn-analyzers,mavasani/roslyn-analyzers,mavasani/roslyn-analyzers
4f8ea07dc846836e2d97cc3632525d239a37fff8
src/Workspaces/Core/Portable/Log/StatisticLogAggregator.cs
src/Workspaces/Core/Portable/Log/StatisticLogAggregator.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. namespace Microsoft.CodeAnalysis.Internal.Log { internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis.Internal.Log { internal sealed class StatisticLogAggregator : AbstractLogAggregator<StatisticLogAggregator.StatisticCoun...
Add a lock for StatisticCounter
Add a lock for StatisticCounter
C#
mit
heejaechang/roslyn,stephentoub/roslyn,AmadeusW/roslyn,diryboy/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,diryboy/roslyn,mavasani/roslyn,genlu/roslyn,weltkante/roslyn,mavasani/roslyn,dotnet/roslyn,eriawan/roslyn,weltkante/roslyn,gafter/roslyn,gafter/roslyn,AlekseyTs/roslyn,brettfo/roslyn,tmat/roslyn,jmarolf/roslyn,...
a7aaa440c72a9a5faceb7e71488e500bc46bf1f2
OneDriveSDK/CommandOptions/ThumbnailRetrievalOptions.cs
OneDriveSDK/CommandOptions/ThumbnailRetrievalOptions.cs
using System; using System.Collections.Generic; namespace OneDrive { public class ThumbnailRetrievalOptions : RetrievalOptions { /// <summary> /// List of thumbnail size names to return /// </summary> public string[] SelectThumbnailNames { get; set; } /// <summary> ...
using System; using System.Collections.Generic; namespace OneDrive { public class ThumbnailRetrievalOptions : RetrievalOptions { /// <summary> /// List of thumbnail size names to return /// </summary> public string[] SelectThumbnailNames { get; set; } /// <summary> ...
Fix thumbnail retrieval options to actually work
Fix thumbnail retrieval options to actually work
C#
mit
yovio/onedrive-explorer-win,marcosnz/onedrive-explorer-win,KumaranKamalanathan/onedrive-explorer-win,reddralf/onedrive-explorer-win,rgregg/onedrive-explorer-win
47b84f0479b7959ccc8fe4ada3d00f687f67b19b
InfinniPlatform.DocumentStorage/MongoDB/MongoTimeBsonSerializer.cs
InfinniPlatform.DocumentStorage/MongoDB/MongoTimeBsonSerializer.cs
using System; using InfinniPlatform.Sdk.Types; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Serializers; namespace InfinniPlatform.DocumentStorage.MongoDB { /// <summary> /// Реализует логику сериализации и десериализации <see cref="Time"/> для MongoDB. /// </su...
using System; using InfinniPlatform.Sdk.Types; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.Serializers; namespace InfinniPlatform.DocumentStorage.MongoDB { /// <summary> /// Реализует логику сериализации и десериализации <see cref="Time"/> для MongoDB. /// </su...
Add BsonSerializer for Date and Time
MC-4171: Add BsonSerializer for Date and Time
C#
agpl-3.0
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
911d16da63a8a1cfd63cd4a4747a090f91c0e086
ExtensionBlocks/Beef001a.cs
ExtensionBlocks/Beef001a.cs
using System; using System.Text; namespace ExtensionBlocks { public class Beef001a : BeefBase { public Beef001a(byte[] rawBytes) : base(rawBytes) { if (Signature != 0xbeef001a) { throw new Exception($"Signature mismatch! Should be Beef001a bu...
using System; using System.Text; namespace ExtensionBlocks { public class Beef001a : BeefBase { public Beef001a(byte[] rawBytes) : base(rawBytes) { if (Signature != 0xbeef001a) { throw new Exception($"Signature mismatch! Should be Beef001a bu...
Tweak beef001a to suppress Message when no additional shell items are present
Tweak beef001a to suppress Message when no additional shell items are present
C#
mit
EricZimmerman/ExtensionBlocks
1f4a943f74dfeb8340296e0187c4ca865866ecd1
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 ...
Fix test case runs not being correctly isolated on mono
Fix test case runs not being correctly isolated on mono
C#
mit
naoey/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,2yangk23/osu,peppy/osu,EVAST9919/osu,peppy/osu,DrabWeb/osu,Drezi126/osu,peppy/osu,UselessToucan/osu,Nabile-Rahmani/osu,DrabWeb/osu,johnneijzen/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,EVAST9919/os...
fdcc4be654d6e9b24bb13efb885a29c1492ebd60
samples/ControlCatalog.NetCore/Program.cs
samples/ControlCatalog.NetCore/Program.cs
using System; using System.Linq; using Avalonia; namespace ControlCatalog.NetCore { class Program { static void Main(string[] args) { if (args.Contains("--fbdev")) AppBuilder.Configure<App>() .InitializeWithLinuxFramebuffer(tl => tl.Content = new...
using System; using System.Linq; using Avalonia; namespace ControlCatalog.NetCore { class Program { static void Main(string[] args) { if (args.Contains("--fbdev")) AppBuilder.Configure<App>().InitializeWithLinuxFramebuffer(tl => { tl.Content = new MainVi...
Handle console input in fbdev mode
Handle console input in fbdev mode
C#
mit
AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,MrDaedra/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,akrisiun/Perspex,jkoritzinsky/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,jkoritzi...
0b6ed9880341f186a58344d94a8d9cfeb3508f4d
source/Glimpse.Test.Core/Resource/ConfigurationShould.cs
source/Glimpse.Test.Core/Resource/ConfigurationShould.cs
using System; using Glimpse.Core.Extensibility; using Glimpse.Core.Resource; using Moq; using Xunit; namespace Glimpse.Test.Core.Resource { public class ConfigurationShould { [Fact] public void ReturnProperName() { var name = "glimpse_config"; var resource = ne...
using System; using Glimpse.Core.Extensibility; using Glimpse.Core.Framework; using Glimpse.Core.Resource; using Glimpse.Core.ResourceResult; using Moq; using Xunit; namespace Glimpse.Test.Core.Resource { public class ConfigurationShould { [Fact] public void ReturnProperName() { ...
Fix broken build because of failing test
Fix broken build because of failing test
C#
apache-2.0
gabrielweyer/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,Glimpse/Glimpse,gabrielweyer/Glimpse,dudzon/Glimpse,paynecrl97/Glimpse,sorenhl/Glimpse,elkingtonmcb/Glimpse,SusanaL/Glimpse,paynecrl97/Glimpse,flcdrg/Glimpse,rho24/Glimpse,dudzon/Glimpse,flcdrg/Glimpse,codevlabs/Glimpse,rho24/Glimpse,Glimpse/Glimpse,Glimpse/Glimpse...
308e6ef0c985b24a36ba2b6528d7cddb7c7675ea
Plugin.FirebasePushNotification/PushNotificationActionReceiver.android.cs
Plugin.FirebasePushNotification/PushNotificationActionReceiver.android.cs
using System.Collections.Generic; using Android.App; using Android.Content; namespace Plugin.FirebasePushNotification { [BroadcastReceiver] public class PushNotificationActionReceiver : BroadcastReceiver { public override void OnReceive(Context context, Intent intent) { IDicti...
using System.Collections.Generic; using Android.App; using Android.Content; namespace Plugin.FirebasePushNotification { [BroadcastReceiver(Enabled = true, Exported = false)] public class PushNotificationActionReceiver : BroadcastReceiver { public override void OnReceive(Context context, Intent in...
Add Enabled = true, Exported = false
Add Enabled = true, Exported = false
C#
mit
CrossGeeks/FirebasePushNotificationPlugin
3ce734d4ba9b911683c02d4f3a5879b610db1c33
HeartBeat.cs
HeartBeat.cs
using System; using System.Threading; using Microsoft.SPOT; namespace AgentIntervals { public delegate void HeartBeatEventHandler(object sender, EventArgs e); public class HeartBeat { private Timer _timer; private int _period; public event HeartBeatEventHandler On...
using System; using System.Threading; using Microsoft.SPOT; namespace AgentIntervals { public delegate void HeartBeatEventHandler(object sender, EventArgs e); public class HeartBeat { private Timer _timer; private int _period; public event HeartBeatEventHandler On...
Reset timer if period is changed while it is running.
Reset timer if period is changed while it is running.
C#
mit
jcheng31/AgentIntervals
8378c83ceced8f863d447bf545b3cfd30a193be7
samples/Skia.OSX.Demo/AppDelegate.cs
samples/Skia.OSX.Demo/AppDelegate.cs
using AppKit; using Foundation; namespace Skia.OSX.Demo { [Register ("AppDelegate")] public partial class AppDelegate : NSApplicationDelegate { public AppDelegate () { } public override void DidFinishLaunching (NSNotification notification) { // Insert code here to initialize your application } p...
using AppKit; using Foundation; namespace Skia.OSX.Demo { [Register ("AppDelegate")] public partial class AppDelegate : NSApplicationDelegate { public AppDelegate () { } public override void DidFinishLaunching (NSNotification notification) { // Insert code here to initialize your application } p...
Quit the Mac app after the window is closed
Quit the Mac app after the window is closed
C#
mit
mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp
a4b20d211726e0980d55969e2193121cb9b60b75
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.cs
osu.Game.Rulesets.Taiko/Mods/TaikoModEasy.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.Game.Rulesets.Mods; namespace osu.Game.Rulesets.Taiko.Mods { public class TaikoModEasy : ModEasy { public override string Description => @"Bea...
// 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 Humanizer; using osu.Framework.Bindables; using osu.Framework.Graphics.Sprites; using osu.Game.Beatmaps; using osu.Game.Configuration; using osu.Game...
Make EZ mod able to fail in Taiko
Make EZ mod able to fail in Taiko
C#
mit
UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu
5fedb9db6b818ad72d8461c2e74904af40f02622
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
TestStack.FluentMVCTesting.Tests/Internal/ExpressionInspectorTests.cs
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
using NUnit.Framework; using System; using System.Linq.Expressions; using TestStack.FluentMVCTesting.Internal; namespace TestStack.FluentMVCTesting.Tests.Internal { [TestFixture] public class ExpressionInspectorShould { [Test] public void Correctly_parse_equality_comparison_with_string_ope...
Support for parsing equality operator with constant operand.
Support for parsing equality operator with constant operand.
C#
mit
TestStack/TestStack.FluentMVCTesting
1d9843cf33e1890ad7227ebef4fff06448582b5c
src/TeamCityApi.Tests/UseCases/CloneRootBuildConfigUseCaseTests.cs
src/TeamCityApi.Tests/UseCases/CloneRootBuildConfigUseCaseTests.cs
using System.Threading.Tasks; using NSubstitute; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Xunit; using TeamCityApi.Domain; using TeamCityApi.Locators; using TeamCityApi.Tests.Helpers; using TeamCityApi.Tests.Scenarios; using TeamCityApi.UseCases; using Xunit; using Xunit.Extensions; namespace TeamCityApi.Test...
using System.Threading.Tasks; using NSubstitute; using Ploeh.AutoFixture; using Ploeh.AutoFixture.Xunit; using TeamCityApi.Domain; using TeamCityApi.Locators; using TeamCityApi.Tests.Helpers; using TeamCityApi.Tests.Scenarios; using TeamCityApi.UseCases; using Xunit; using Xunit.Extensions; namespace TeamCityApi.Test...
Make clone root build config test more strict
Make clone root build config test more strict By expecting only single call to API made
C#
mit
ComputerWorkware/TeamCityApi
214d561e3d6bf570b752500ffb52e10aed82a1df
examples/basic-mvc-sample/BasicMvcSample/Views/Account/Login.cshtml
examples/basic-mvc-sample/BasicMvcSample/Views/Account/Login.cshtml
@using System.Configuration; @{ ViewBag.Title = "Login"; } <div id="root" style="width: 320px; margin: 40px auto; padding: 10px; border-style: dashed; border-width: 1px;"> embeded area </div> @Html.AntiForgeryToken() <script src="https://cdn.auth0.com/js/lock-8.2.2.min.js"></script> <script> var lock = ...
@using System.Configuration; @{ ViewBag.Title = "Login"; } <div id="root" style="width: 320px; margin: 40px auto; padding: 10px; border-style: dashed; border-width: 1px;"> embeded area </div> @Html.AntiForgeryToken() <script src="https://cdn.auth0.com/js/lock-9.0.js"></script> <script> var lock = new Au...
Update lock version to 9.0
Update lock version to 9.0
C#
mit
Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,Amialc/auth0-aspnet-owin,Amialc/auth0-aspnet-owin,auth0/auth0-aspnet-owin,auth0/auth0-aspnet-owin
23b6170106b275560df9bf89d7dff8a849a9bf41
src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.TextboxMultipleAlias, "Textarea", "textarea", IsParameterEditor = true)] public class TextAreaPropertyEditor : PropertyEditor { } }
using Umbraco.Core; using Umbraco.Core.PropertyEditors; namespace Umbraco.Web.PropertyEditors { [PropertyEditor(Constants.PropertyEditors.TextboxMultipleAlias, "Textarea", "textarea", IsParameterEditor = true, ValueType = "TEXT")] public class TextAreaPropertyEditor : PropertyEditor { } }
Set value type for Textarea to "TEXT".
Set value type for Textarea to "TEXT". This should fix http://issues.umbraco.org/issue/U4-5063
C#
mit
engern/Umbraco-CMS,qizhiyu/Umbraco-CMS,kasperhhk/Umbraco-CMS,sargin48/Umbraco-CMS,mattbrailsford/Umbraco-CMS,tompipe/Umbraco-CMS,umbraco/Umbraco-CMS,hfloyd/Umbraco-CMS,Pyuuma/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,aaronpowell/Umbraco-CMS,Pyuuma/Umbraco-CMS,KevinJump/Umbraco-CMS,romanlytvyn/Umbr...
0f4d251cc083fcf997c04a7084446883c0efb890
Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs
Assets/HoloToolkit-Tests/Utilities/Editor/EditorUtils.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; namespace HoloToolkit.Unity { public static class EditorUtils { /// <summary> /// Deletes all objects in the scene ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Linq; using UnityEngine; namespace HoloToolkit.Unity { public static class EditorUtils { /// <summary> /// Deletes all objects ...
Rework clear scene method by collecting all roots
Rework clear scene method by collecting all roots
C#
mit
out-of-pixel/HoloToolkit-Unity,willcong/HoloToolkit-Unity,ForrestTrepte/HoloToolkit-Unity,paseb/MixedRealityToolkit-Unity,dbastienMS/HoloToolkit-Unity,HattMarris1/HoloToolkit-Unity,NeerajW/HoloToolkit-Unity,paseb/HoloToolkit-Unity
43460f8da2491c8fdff24bef28dccfd33365b29d
src/dotless.Core/Parser/Functions/RgbaFunction.cs
src/dotless.Core/Parser/Functions/RgbaFunction.cs
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
namespace dotless.Core.Parser.Functions { using System.Linq; using Infrastructure; using Infrastructure.Nodes; using Tree; using Utils; public class RgbaFunction : Function { protected override Node Evaluate(Env env) { if (Arguments.Count == 2) { ...
Fix percent conversion to color.
Fix percent conversion to color.
C#
apache-2.0
dotless/dotless,dotless/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless,rytmis/dotless
f9a6fb3a7dec9a144f10b0db13af52ec29ed81b8
tools/AssemblyInfo/SharedAssemblyInfo.cs
tools/AssemblyInfo/SharedAssemblyInfo.cs
//------------------------------------------------------------------------------ // <copyright file="SharedAssemblyInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> // <summary> // Assembly global configuration. // </summary> //------------------------------------------------...
//------------------------------------------------------------------------------ // <copyright file="SharedAssemblyInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation // </copyright> // <summary> // Assembly global configuration. // </summary> //------------------------------------------------...
Update DMLib version to 0.8.1.0
Update DMLib version to 0.8.1.0
C#
mit
Azure/azure-storage-net-data-movement
a7a9dcc45b211dacee5fbd8e82fe176a4f6ba0e7
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml
src/SFA.DAS.EmployerAccounts.Web/Views/EmployerTeam/V2/Index.cshtml
@model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel> @{ ViewBag.Title = "Home"; ViewBag.PageID = "page-company-homepage"; } <div class="das-dashboard-header"> <div class="govuk-width-container das-dashboard-header__border"> <h...
@model SFA.DAS.EmployerAccounts.Web.OrchestratorResponse<SFA.DAS.EmployerAccounts.Web.ViewModels.AccountDashboardViewModel> @{ ViewBag.Title = "Home"; ViewBag.PageID = "page-company-homepage"; } <div class="das-dashboard-header das-section--header"> <div class="govuk-width-container das-dashboard-header_...
Update css classes to new styles
[CON-477] Update css classes to new styles
C#
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
d99ff68219808476fcb8e939786ad7a0f4ab3d37
CefSharp.Example/CefExample.cs
CefSharp.Example/CefExample.cs
using System; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. private const bool debu...
using System; using System.Diagnostics; using System.Linq; namespace CefSharp.Example { public static class CefExample { public const string DefaultUrl = "custom://cefsharp/BindingTest.html"; // Use when debugging the actual SubProcess, to make breakpoints etc. inside that project work. ...
Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value
Set DebuggingSubProcess = Debugger.IsAttached rather than a hard coded value
C#
bsd-3-clause
yoder/CefSharp,gregmartinhtc/CefSharp,gregmartinhtc/CefSharp,AJDev77/CefSharp,yoder/CefSharp,dga711/CefSharp,haozhouxu/CefSharp,VioletLife/CefSharp,rlmcneary2/CefSharp,joshvera/CefSharp,jamespearce2006/CefSharp,Livit/CefSharp,zhangjingpu/CefSharp,Livit/CefSharp,rlmcneary2/CefSharp,battewr/CefSharp,wangzheng888520/CefSh...
8d79eb75902a29c7a76b88b9ca146242661749c1
Eleven41.Helpers/JsonHelper.cs
Eleven41.Helpers/JsonHelper.cs
using System; using System.IO; using System.Text; namespace Eleven41.Helpers { public static class JsonHelper { public static string Serialize<T>(T obj) { return ServiceStack.Text.JsonSerializer.SerializeToString(obj, typeof(T)); } public static void SerializeToStream<T>(T obj, Stream stream) { Se...
using System; using System.IO; using System.Text; using ServiceStack.Text; namespace Eleven41.Helpers { public static class JsonHelper { public static string Serialize<T>(T obj) { return JsonSerializer.SerializeToString(obj, typeof(T)); } public static string SerializeAndFormat<T>(T obj) { return o...
Add a formated Json serialization option
Add a formated Json serialization option
C#
mit
eleven41/Eleven41.Helpers
c534dde07ce40087235f0e621fac379ba4e2ba9e
Core/Decompilers/UnConstDecompiler.cs
Core/Decompilers/UnConstDecompiler.cs
#if DECOMPILE namespace UELib.Core { public partial class UConst : UField { /// <summary> /// Decompiles this object into a text format of: /// /// const NAME = VALUE; /// </summary> /// <returns></returns> public override string Decompile() { return "const " + Name + " = " + Value + ";"; } }...
#if DECOMPILE namespace UELib.Core { public partial class UConst : UField { /// <summary> /// Decompiles this object into a text format of: /// /// const NAME = VALUE; /// </summary> /// <returns></returns> public override string Decompile() { return "const " + Name + " = " + Value.Trim() + ";";...
Trim the output of constants.
[Fix]: Trim the output of constants.
C#
mit
EliotVU/Unreal-Library
416c3bf7ddb4bbc4b0e09861dcc3354497502abd
Battlezeppelins/Views/Shared/ChallengeInbox.cshtml
Battlezeppelins/Views/Shared/ChallengeInbox.cshtml
<div id="challengeInbox" style="display: none;"> <p id="challengeText"></p> <input type="button" onclick="acceptChallenge()" value="Accept" /> <input type="button" onclick="rejectChallenge()" value="Reject" /> </div> <script> function pollChallengeInbox() { $.getJSON('@Url.Content("~/Pol...
<div id="challengeInbox" style="display: none;"> <p id="challengeText"></p> <input type="button" onclick="acceptChallenge()" value="Accept" /> <input type="button" onclick="rejectChallenge()" value="Reject" /> </div> <script> function pollChallengeInbox() { $.getJSON('@Url.Content("~/Pol...
Fix challenge div displaying in Chrome.
Fix challenge div displaying in Chrome.
C#
apache-2.0
Mikuz/Battlezeppelins,Mikuz/Battlezeppelins
52806ddb6606d73a13f338db1a657eac9a9ef8d5
DragonSpark.Application/Security/Identity/Login.cs
DragonSpark.Application/Security/Identity/Login.cs
using Microsoft.AspNetCore.Identity; namespace DragonSpark.Application.Security.Identity; public readonly record struct Login<T>(ExternalLoginInfo Information, T User);
using Microsoft.AspNetCore.Identity; namespace DragonSpark.Application.Security.Identity; public sealed record Login<T>(ExternalLoginInfo Information, T User);
Upgrade to allocation as it is used a bit
Upgrade to allocation as it is used a bit
C#
mit
DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework
806d109a8ccf9a4c5c919f180ad5a97eb912ac24
tests/Plivo.Test/TestSignature.cs
tests/Plivo.Test/TestSignature.cs
using System; using NUnit.Framework; namespace Plivo.Test { [TestFixture] public class TestSignature { [Test] public void TestSignatureV2Pass() { string url = "https://answer.url"; string nonce = "12345"; string signature = "ehV3IKhLysWBxC1sy8...
using System; using NUnit.Framework; namespace Plivo.Test { [TestFixture] public class TestSignature { [Test] public void TestSignatureV2Pass() { string url = "https://answer.url"; string nonce = "12345"; string signature = "ehV3IKhLysWBxC1sy8...
Fix failing tests on Travis
Fix failing tests on Travis
C#
mit
plivo/plivo-dotnet,plivo/plivo-dotnet
b196dd9e3d7a9afb3401530669bbc8681ad8c503
Sources/Silphid.Showzup/Sources/Controls/ListLayouts/HorizontalListLayout.cs
Sources/Silphid.Showzup/Sources/Controls/ListLayouts/HorizontalListLayout.cs
using Silphid.Extensions; using UnityEngine; namespace Silphid.Showzup.ListLayouts { public class HorizontalListLayout : ListLayout { public float HorizontalSpacing; public float ItemWidth; protected float ItemOffsetX => ItemWidth + HorizontalSpacing; public override ...
using Silphid.Extensions; using UnityEngine; namespace Silphid.Showzup.ListLayouts { public class HorizontalListLayout : ListLayout { public float HorizontalSpacing; public float ItemWidth; protected float ItemOffsetX => ItemWidth + HorizontalSpacing; private Rect VisibleRect ...
Fix horizontal scroll for Virtual list
Fix horizontal scroll for Virtual list
C#
mit
Silphid/Silphid.Unity,Silphid/Silphid.Unity
f3e62680640e9aa130cc3ebe7db8073ce43ffca9
src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGen/PolymorphicSchemaGenerator.cs
src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGen/PolymorphicSchemaGenerator.cs
using System; using System.Linq; using Microsoft.OpenApi.Models; using Newtonsoft.Json.Serialization; namespace Swashbuckle.AspNetCore.SwaggerGen { public class PolymorphicSchemaGenerator : ChainableSchemaGenerator { public PolymorphicSchemaGenerator( SchemaGeneratorOptions options, ...
using System; using System.Linq; using Microsoft.OpenApi.Models; using Newtonsoft.Json.Serialization; namespace Swashbuckle.AspNetCore.SwaggerGen { public class PolymorphicSchemaGenerator : ChainableSchemaGenerator { public PolymorphicSchemaGenerator( SchemaGeneratorOptions options, ...
Make polymorphic schema generation opt-in
Make polymorphic schema generation opt-in
C#
mit
domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Ahoy,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore,domaindrivendev/Swashbuckle.AspNetCore
cad97086ab05ee357a7f9f58727cb1281f654718
LtiLibrary.NetCore/Profiles/ToolConsumerProfileClient.cs
LtiLibrary.NetCore/Profiles/ToolConsumerProfileClient.cs
using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using LtiLibrary.NetCore.Common; using LtiLibrary.NetCore.Extensions; namespace LtiLibrary.NetCore.Profiles { public static class ToolConsumerProfileClient { /// <summary> /// Get a ToolConsumerProfile from the...
using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using LtiLibrary.NetCore.Common; using LtiLibrary.NetCore.Extensions; namespace LtiLibrary.NetCore.Profiles { public static class ToolConsumerProfileClient { /// <summary> /// Get a ToolConsumerProfile from the...
Add HttpClient to GetToolConsumerProfileAsync convenience method to make it easier to call from an integration test.
Add HttpClient to GetToolConsumerProfileAsync convenience method to make it easier to call from an integration test.
C#
apache-2.0
andyfmiller/LtiLibrary
8928ae3e45ede49931cac0fbf413fcf0b927510f
Scripts/Events/LiteNetLibLoadSceneEvent.cs
Scripts/Events/LiteNetLibLoadSceneEvent.cs
using UnityEngine.Events; [System.Serializable] public class LiteNetLibLoadSceneEvent : UnityEvent<string, bool, float> { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }
using UnityEngine.Events; [System.Serializable] public class LiteNetLibLoadSceneEvent : UnityEvent<string, bool, float> { }
Remove unused functions (that generate by unity :p)
Remove unused functions (that generate by unity :p)
C#
mit
insthync/LiteNetLibManager,insthync/LiteNetLibManager
8e05667cced410dcdd16485e8201bdf79b060c7d
Assets/Scripts/Enemy/Action_Attack.cs
Assets/Scripts/Enemy/Action_Attack.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Attack")] public class Action_Attack : Action { public override void Init(StateController controller) { return; } public override void Act(StateController controller) { } }
using UnityEngine; [CreateAssetMenu (menuName = "AI/Actions/Enemy_Attack")] public class Action_Attack : Action { [SerializeField] float staminaRequired = 2f; [SerializeField] float attackDelay = 1f; [SerializeField] float attackDuration = 1f; [SerializeField] float attackDamage = 1f; [SerializeField] fl...
Rewrite Action Attack erased by mistake
Rewrite Action Attack erased by mistake
C#
apache-2.0
allmonty/BrokenShield,allmonty/BrokenShield
c63d213a6289dfbdaba22cd47065cc2a8fd5825c
SOVND.Client/Util/ChannelDirectory.cs
SOVND.Client/Util/ChannelDirectory.cs
using System.Collections.ObjectModel; using System.Linq; using SOVND.Lib.Models; namespace SOVND.Client.Util { public class ChannelDirectory { public ObservableCollection<Channel> channels = new ObservableCollection<Channel>(); public bool AddChannel(Channel channel) { if (...
using System.Collections.ObjectModel; using System.Linq; using SOVND.Lib.Models; namespace SOVND.Client.Util { public class ChannelDirectory { private readonly SyncHolder _sync; public ObservableCollection<Channel> channels = new ObservableCollection<Channel>(); public ChannelDirectory...
Fix crash when items are added from non-WPF main thread
Fix crash when items are added from non-WPF main thread
C#
epl-1.0
GeorgeHahn/SOVND
fa0af247a2325a9219d1549a6bc112744e386c0b
TAUtil/Gaf/Structures/GafFrameData.cs
TAUtil/Gaf/Structures/GafFrameData.cs
namespace TAUtil.Gaf.Structures { using System.IO; public struct GafFrameData { public ushort Width; public ushort Height; public ushort XPos; public ushort YPos; public byte Unknown1; public bool Compressed; public ushort FramePointers; ...
namespace TAUtil.Gaf.Structures { using System.IO; public struct GafFrameData { public ushort Width; public ushort Height; public ushort XPos; public ushort YPos; public byte TransparencyIndex; public bool Compressed; public ushort FrameP...
Rename previously unknown GAF field
Rename previously unknown GAF field
C#
mit
MHeasell/Mappy,MHeasell/Mappy
13c4520c80af22bfa58916919f2e0eda9e0ae509
Cascara.Tests/Src/AssertExtension.cs
Cascara.Tests/Src/AssertExtension.cs
using System; using Xunit; namespace Cascara.Tests { public class AssertExtension : Assert { public static T ThrowsWithMessage<T>(Func<object> testCode, string message) where T : Exception { var ex = Assert.Throws<T>(testCode); Assert.Equal(ex.Message, messa...
using System; using Xunit; namespace Cascara.Tests { public class AssertExtension : Assert { public static T ThrowsWithMessage<T>(Func<object> testCode, string message) where T : Exception { var ex = Assert.Throws<T>(testCode); Assert.Equal(ex.Message, messa...
Add ThrowsWithMessage() overload with format string
Add ThrowsWithMessage() overload with format string
C#
mit
whampson/cascara,whampson/bft-spec
d11595e09ca6265037e2358dcd6ca8148b73724e
Foggle.Tests/EnableByHostnameTests.cs
Foggle.Tests/EnableByHostnameTests.cs
using System; using Moq; using Xunit; using Should; namespace Foggle { public class EnableByHostnameTests { [Fact] public void IsEnabled_ClassMarkedWithFoggleByHostName_TrysToGetListOfHostname() { var mockConfig = new Mock<IConfigWrapper>(); Feature.configurationWrapper = mockConfig.Object; Feature....
using System; using Moq; using Xunit; using Should; namespace Foggle { public class EnableByHostnameTests { [Fact] public void IsEnabled_ClassMarkedWithFoggleByHostName_TrysToGetListOfHostname() { var mockConfig = new Mock<IConfigWrapper>(); Feature.configurationWrapper = mockConfig.Object; Feature....
Rename test feature class for hostname tests
Rename test feature class for hostname tests
C#
mit
junderhill/Foggle
57a25b5b95478e2285d45f634b3dde7bfc80cfd4
produce/Modules/NuGitModule.cs
produce/Modules/NuGitModule.cs
using MacroDiagnostics; using MacroExceptions; using MacroGuards; namespace produce { public class NuGitModule : Module { public override void Attach(ProduceRepository repository, Graph graph) { Guard.NotNull(repository, nameof(repository)); Guard.NotNull(graph, nameof(graph)); ...
using MacroDiagnostics; using MacroExceptions; using MacroGuards; namespace produce { public class NuGitModule : Module { public override void Attach(ProduceRepository repository, Graph graph) { Guard.NotNull(repository, nameof(repository)); Guard.NotNull(graph, nameof(graph)); ...
Add logical operations to NuGit operations
Add logical operations to NuGit operations
C#
mit
macro187/produce
ed26c3359c9782b20d8927115deaeeb5e63e2836
src/Services/Ordering/Ordering.Domain/Events/OrderStartedDomainEvent.cs
src/Services/Ordering/Ordering.Domain/Events/OrderStartedDomainEvent.cs
using MediatR; using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate; using System; using System.Collections.Generic; using System.Text; namespace Ordering.Domain.Events { /// <summary> /// Event used when an order is created /// </summary> public class OrderStarted...
using MediatR; using Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate; using System; using System.Collections.Generic; using System.Text; namespace Ordering.Domain.Events { /// <summary> /// Event used when an order is created /// </summary> public class OrderStarted...
Remove private setters to make class immutable
Remove private setters to make class immutable Remove private setters to make a class truly immutable. Otherwise, properties can be updated outside of constructor. This also makes code cleaner. Same in docs https://github.com/dotnet/docs/pull/4755
C#
mit
productinfo/eShopOnContainers,andrelmp/eShopOnContainers,andrelmp/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,skynode/eShopOnContainer...
ab27c87d4b26a0ab16c87918de797ea8adbc967f
KerbalFuture/HelperFiles/WarpHelp.cs
KerbalFuture/HelperFiles/WarpHelp.cs
using System; namespace Hlpr { class WarpHelp { public static double Distance(double x1, double y1, double z1, double x2, double y2, double z2) { double dis; dis = Math.Pow(x1-x2,2) + Math.Pow(y1-y2,2) + Math.Pow(z1-z2,2); dis = Math.Pow(dis,0.5); return dis; } public static double Distance(Vecto...
using System; namespace Hlpr { class WarpHelp { public static double Distance(double x1, double y1, double z1, double x2, double y2, double z2) { double dis; dis = Math.Pow(x1-x2,2) + Math.Pow(y1-y2,2) + Math.Pow(z1-z2,2); dis = Math.Pow(dis,0.5); return dis; } public static double Distance(Vecto...
Fix non-existant ref vars in function calls.
Fix non-existant ref vars in function calls.
C#
mit
KerbaeAdAstra/KerbalFuture
27ce1f34bb43020526b5a07a75967ebd509610ee
src/Umbraco.Web/Models/ContentEditing/RollbackVersion.cs
src/Umbraco.Web/Models/ContentEditing/RollbackVersion.cs
using System; namespace Umbraco.Web.Models.ContentEditing { public class RollbackVersion { public int VersionId { get; set; } public DateTime VersionDate { get; set; } public string VersionAuthorName { get; set; } } }
using System; using System.Runtime.Serialization; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "rollbackVersion", Namespace = "")] public class RollbackVersion { [DataMember(Name = "versionId")] public int VersionId { get; set; } [DataMember(Name = "versionDa...
Make the JSON model over the API control be the correct casing & make Mads happy :)
Make the JSON model over the API control be the correct casing & make Mads happy :)
C#
mit
abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,NikRimington/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,arknu/Umbraco-CMS,abjerner/Umbraco-CMS,abjerner/Umbraco-CMS,tompipe/Umbraco-CMS,tcmorris/Umbraco-CMS,hfloyd/Umbraco-CMS,tcmorris/Umbraco-CMS,tcmorris/Umbraco-CMS,JimBobSquarePants/U...
1a60d71d3f1f6feb84943ae1e0ce715b8e4afba0
Core/Scheduler/CronTask.cs
Core/Scheduler/CronTask.cs
using System; using log4net; using Quartz; namespace DCS.Core.Scheduler { public sealed class CronTask : IJob { private readonly string _cronConfig; private readonly ILog _logger = LogManager.GetLogger(typeof(CronTask)); private readonly Action _task; private readonly string _t...
using System; using log4net; using Quartz; namespace DCS.Core.Scheduler { public sealed class CronTask : IJob { private readonly string _cronConfig; private readonly ILog _logger = LogManager.GetLogger(typeof(CronTask)); private readonly Action _task; private readonly string _t...
Set Datawriter executing logs to debug level
Set Datawriter executing logs to debug level
C#
apache-2.0
pthivierge/data-collection-service-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/web-service-reader-for-pi-system,pthivierge/data-collection-service-for-pi-system
07596cd837dfcffab17b7a5e2d59f0a60c944cfb
Zermelo.API/Services/UrlBuilder.cs
Zermelo.API/Services/UrlBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Services { internal class UrlBuilder : IUrlBuilder { const string _https = "https://"; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Interfaces; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Services { internal class UrlBuilder : IUrlBuilder { const string _https = "https://"; ...
Update REST API version to v3
Update REST API version to v3 Issue #2
C#
mit
arthurrump/Zermelo.API
6951e7bb654a26234f74325a8b962a80ac00f09c
src/InfluxDB.LineProtocol/CollectorConfiguration.cs
src/InfluxDB.LineProtocol/CollectorConfiguration.cs
using InfluxDB.LineProtocol.Collector; using System; namespace InfluxDB.LineProtocol { public class CollectorConfiguration { readonly IPointEmitter _parent; readonly PipelinedCollectorTagConfiguration _tag; readonly PipelinedCollectorEmitConfiguration _emitter; readonly Pipelin...
using InfluxDB.LineProtocol.Collector; using System; namespace InfluxDB.LineProtocol { public class CollectorConfiguration { readonly IPointEmitter _parent; readonly PipelinedCollectorTagConfiguration _tag; readonly PipelinedCollectorEmitConfiguration _emitter; readonly Pipelin...
Call the disposeEmitter action on dispose
Call the disposeEmitter action on dispose
C#
apache-2.0
influxdata/influxdb-csharp,michael-wolfenden/influxdb-lineprotocol,nblumhardt/influxdb-lineprotocol
82ebb86d5808847fefcbe1affe24201ce4270ac2
OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs
OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs
//////////////////////////////////////////////////////////////// // // (c) 2009, 2010 Careminster Limited and Melanie Thielker // // All rights reserved // using System; using Nini.Config; using OpenSim.Framework; using OpenMetaverse; namespace OpenSim.Services.Interfaces { public interface IBakedTextureModule ...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
Replace proprietary file header with BSD one
Replace proprietary file header with BSD one
C#
bsd-3-clause
ft-/opensim-optimizations-wip-extras,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,QuillLittlefeather/opensim-1,QuillLittlefeather/opensim-1,ft-/opensim-optimizations-wip-extras,ft-/opensim-optimizations-wip-extras,TomDataworks/opensim,QuillLittlefeather/opensim-1,ft-/arribasim-dev-tests,BogusCurry/arribasim-dev,BogusCurry/arri...
60b66b1f623b36fbe77a86102de391e297d99c89
HeadRaceTiming-Site/Views/Competition/Details.cshtml
HeadRaceTiming-Site/Views/Competition/Details.cshtml
@model HeadRaceTimingSite.Models.Competition @{ ViewData["Title"] = Model.Name; } <results-list competition-id="@Model.CompetitionId" first-intermediate-name="Barnes" second-intermediate-name="Hammersmith" search-value="{{searchValue}}" show-first-intermediate show-second-intermediate></results-list> @section ti...
@model HeadRaceTimingSite.Models.Competition @{ ViewData["Title"] = Model.Name; } <results-list competition-id="@Model.CompetitionId" first-intermediate-name="Barnes" second-intermediate-name="Hammersmith" search-value="{{searchValue}}" show-first-intermediate show-second-intermediate></results-list> @section ti...
Remove future features from UI
Remove future features from UI
C#
mit
MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site,MelHarbour/HeadRaceTiming-Site
e8007d96637cf2d636fa65b2c9b86ff52a685b0c
nunit-v3/FlakyTest.cs
nunit-v3/FlakyTest.cs
using System; using NUnit.Framework; namespace nunit.v3 { [TestFixture] public class FlakyTest { [Test] [Retry(5)] public void TestFlakyMethod() { int result = 0; try { result = FlakyAdd(2, 2); } ca...
using System; using NUnit.Framework; namespace nunit.v3 { [TestFixture] public class FlakyTest { [Test] [Retry(5)] public void TestFlakyMethod() { int result = 0; try { result = FlakyAdd(2, 2); } ca...
Make flaky tests a bit less flaky
Make flaky tests a bit less flaky
C#
mit
rprouse/nunit-tests,rprouse/nunit-tests,rprouse/nunit-tests
d06e7e88e668995e5cb64fa05fa92e712154b9fe
Snowflake.API/Information/MediaStore/MediaStoreSection.cs
Snowflake.API/Information/MediaStore/MediaStoreSection.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using System.IO; namespace Snowflake.Information.MediaStore { public class MediaStoreSection { public string SectionName { get; set; } public Dictionary<st...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using System.IO; namespace Snowflake.Information.MediaStore { public class MediaStoreSection { public string SectionName { get; set; } public Dictionary<st...
Add methods to manipulate MediaStoreItems
Add methods to manipulate MediaStoreItems
C#
mpl-2.0
SnowflakePowered/snowflake,faint32/snowflake-1,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake
892839c948a4c4288183c3c6bc901f7ee46327b6
Telerik.JustMock/Core/Context/AsyncContextResolver.cs
Telerik.JustMock/Core/Context/AsyncContextResolver.cs
/* JustMock Lite Copyright © 2019 Progress Software Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
/* JustMock Lite Copyright © 2019 Progress Software Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
Add ProfilerInterceptor.GuardInternal() for public APIs even if they are hidden.
Add ProfilerInterceptor.GuardInternal() for public APIs even if they are hidden.
C#
apache-2.0
telerik/JustMockLite
8153e0c1686480d166abd4e0b49ebff5d95061df
Naos.Deployment.Core/IHaveInitializationStrategiesExtensionMethods.cs
Naos.Deployment.Core/IHaveInitializationStrategiesExtensionMethods.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IHaveInitializationStrategiesExtensionMethods.cs" company="Naos"> // Copyright 2015 Naos // </copyright> // ---------------------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IHaveInitializationStrategiesExtensionMethods.cs" company="Naos"> // Copyright 2015 Naos // </copyright> // ---------------------------------------------------------------------...
Fix potential null ref exception.
Fix potential null ref exception.
C#
mit
NaosProject/Naos.Deployment,NaosFramework/Naos.Deployment
2856aef4eb17ee91f8d8f5c0a7852fae2e517870
osu.Game/Overlays/Settings/SettingsTextBox.cs
osu.Game/Overlays/Settings/SettingsTextBox.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.Graphics; namespace osu.Game.Overlays.Settings { public class SettingsTextBox : SettingsItem<string> { protected override Drawable C...
// 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.Bindables; using osu.Framework.Graphics; namespace osu.Game.Overlays.Settings { public class SettingsTextBox : SettingsItem<string...
Add exception to catch any incorrect defaults of `Bindable<string>`
Add exception to catch any incorrect defaults of `Bindable<string>`
C#
mit
ppy/osu,peppy/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu
71de7ce0a3abc0af75d210d54ceafca9c1f0f5b2
osu.Game/Online/RealtimeMultiplayer/IMultiplayerServer.cs
osu.Game/Online/RealtimeMultiplayer/IMultiplayerServer.cs
using System.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining the spectator server instance. /// </summary> public interface IMultiplayerServer { /// <summary> /// Request to join a multiplayer room. /// </summary> ...
using System.Threading.Tasks; namespace osu.Game.Online.RealtimeMultiplayer { /// <summary> /// An interface defining the spectator server instance. /// </summary> public interface IMultiplayerServer { /// <summary> /// Request to join a multiplayer room. /// </summary> ...
Add missing methods to server interface
Add missing methods to server interface
C#
mit
NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,ppy/osu
9d48ae7957013de33b5e8d0c08f08a3e39ee4aac
src/Workspaces/CSharp/Portable/Extensions/DocumentationCommentExtensions.cs
src/Workspaces/CSharp/Portable/Extensions/DocumentationCommentExtensions.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 Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.C...
// 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 Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Symbols; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.C...
Handle null values in IsMultilineDocComment
Handle null values in IsMultilineDocComment
C#
mit
mgoertz-msft/roslyn,VSadov/roslyn,physhi/roslyn,DustinCampbell/roslyn,shyamnamboodiripad/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,diryboy/roslyn,brettfo/roslyn,DustinCampbell/roslyn,agocke/roslyn,CyrusNajmabadi/roslyn,heejaechang/roslyn,stephentoub/roslyn,MichalStrehovsky/roslyn,agocke/roslyn,weltkante/roslyn,jaso...
063b8c3d773c3124418a02fde67dc62de35a72fe
A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs
A-vs-An/WikipediaAvsAnTrieExtractor/RegexTextUtils.ExtractWordsAfterAOrAn.cs
using System.Text.RegularExpressions; using System.Linq; using System; using System.Collections.Generic; namespace WikipediaAvsAnTrieExtractor { public partial class RegexTextUtils { //Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use...
using System.Text.RegularExpressions; using System.Linq; using System; using System.Collections.Generic; namespace WikipediaAvsAnTrieExtractor { public partial class RegexTextUtils { //Note: regexes are NOT static and shared because of... http://stackoverflow.com/questions/7585087/multithreaded-use...
Improve a/an word extraction to avoid problematic cases like "Triple-A classification"
Improve a/an word extraction to avoid problematic cases like "Triple-A classification"
C#
apache-2.0
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
7ee3f337231bda89fd7c993a36988f42445f597f
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
MiX.Integrate.Shared/Entities/Messages/SendJobMessageCarrier.cs
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
using System; using System.Collections.Generic; using System.Text; using MiX.Integrate.Shared.Entities.Communications; namespace MiX.Integrate.Shared.Entities.Messages { public class SendJobMessageCarrier { public SendJobMessageCarrier() { } public short VehicleId { get; set; } public string Description { ge...
Revert "FLEET-9992: Add extra property to use new long Id's"
Revert "FLEET-9992: Add extra property to use new long Id's" This reverts commit c4eecf2480fa0cb1924df562024c4a3d580333de.
C#
mit
MiXTelematics/MiX.Integrate.Api.Client
851bd64c04d0e93267fe03db502387e9e320c274
Examples/Scripts/NPBehaveExampleHelloBlackboardsAI.cs
Examples/Scripts/NPBehaveExampleHelloBlackboardsAI.cs
using UnityEngine; using NPBehave; public class NPBehaveExampleHelloBlackboardsAI : MonoBehaviour { private Root behaviorTree; void Start() { behaviorTree = new Root( // toggle the 'toggled' blackboard boolean flag around every 500 milliseconds new Service(0.5f, () => { b...
using UnityEngine; using NPBehave; public class NPBehaveExampleHelloBlackboardsAI : MonoBehaviour { private Root behaviorTree; void Start() { behaviorTree = new Root( // toggle the 'toggled' blackboard boolean flag around every 500 milliseconds new Service(0.5f, () => { b...
Add debugger to HelloWorldBlacksboardAI example
Add debugger to HelloWorldBlacksboardAI example
C#
mit
meniku/NPBehave
9a5d20e581c189fcdf94f5ad1817a9523b56df6d
Projects/AuthServer/Network/Packets/Handler/AuthHandler.cs
Projects/AuthServer/Network/Packets/Handler/AuthHandler.cs
// Copyright (c) Multi-Emu. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using AuthServer.Attributes; using AuthServer.Constants.Net; using Framework.Database; using Framework.Database.Auth; namespace AuthServer.Network.Packets.Handler { clas...
// Copyright (c) Multi-Emu. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using AuthServer.Attributes; using AuthServer.Constants.Net; using Framework.Database; using Framework.Database.Auth; namespace AuthServer.Network.Packets.Handler { clas...
Disable account online check for now.
Disable account online check for now.
C#
mit
Captain-Ice/Project-WildStar
efa2932a40582a5fb76fe9a17ccb18f4951dc996
Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs
Assets/Scripts/Menu/Dropdowns/DropdownLanguageFontUpdater.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DropdownLanguageFontUpdater : MonoBehaviour { [SerializeField] private Text textComponent; void Start () { var language = LocalizationManager.instance.getAllLanguages()[transform.Get...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class DropdownLanguageFontUpdater : MonoBehaviour { [SerializeField] private Text textComponent; void Start () { var languages = LocalizationManager.instance.getAllLanguages(); Loc...
Fix incorrect font indexing in language dropdown
Fix incorrect font indexing in language dropdown
C#
mit
Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare
b86a028392af297b9158375051444e4dec68c25d
src/Core/WinSWCore/Util/FileHelper.cs
src/Core/WinSWCore/Util/FileHelper.cs
#if !NETCOREAPP using System.ComponentModel; #endif using System.IO; #if !NETCOREAPP using System.Runtime.InteropServices; #endif namespace winsw.Util { public static class FileHelper { public static void MoveOrReplaceFile(string sourceFileName, string destFileName) { #if NETCOREAPP ...
#if !NETCOREAPP using System; #endif using System.IO; #if !NETCOREAPP using System.Runtime.InteropServices; #endif namespace winsw.Util { public static class FileHelper { public static void MoveOrReplaceFile(string sourceFileName, string destFileName) { #if NETCOREAPP File.Move(sou...
Throw correct exceptions for IO errors
Throw correct exceptions for IO errors
C#
mit
kohsuke/winsw
80c897e09b772b2d5b243bfdcd1bffba60f14a22
src/Crane.Integration.Tests/TestUtilities/ObjectFactory.cs
src/Crane.Integration.Tests/TestUtilities/ObjectFactory.cs
using System; using System.Collections.Generic; using System.Diagnostics; using Autofac; using Crane.Core.Configuration.Modules; using Crane.Core.IO; using log4net; namespace Crane.Integration.Tests.TestUtilities { public static class ioc { private static IContainer _container; public static ...
using System; using System.Collections.Generic; using System.Diagnostics; using Autofac; using Crane.Core.Configuration.Modules; using Crane.Core.IO; using log4net; namespace Crane.Integration.Tests.TestUtilities { public static class ioc { private static IContainer _container; private static...
Add better error logging to see why mono build is failing
Add better error logging to see why mono build is failing
C#
apache-2.0
ewilde/crane,ewilde/crane
948564d54bd4b18c3f1ca1189ee2693fbf62b952
src/Pelasoft.AspNet.Mvc.Slack.TestWeb/App_Start/FilterConfig.cs
src/Pelasoft.AspNet.Mvc.Slack.TestWeb/App_Start/FilterConfig.cs
using System.Web; using System.Web.Mvc; using Pelasoft.AspNet.Mvc.Slack; using System.Configuration; namespace Pelasoft.AspNet.Mvc.Slack.TestWeb { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); v...
using System.Web; using System.Web.Mvc; using Pelasoft.AspNet.Mvc.Slack; using System.Configuration; namespace Pelasoft.AspNet.Mvc.Slack.TestWeb { public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters) { filters.Add(new HandleErrorAttribute()); v...
Add tests for new eventing behavior.
Add tests for new eventing behavior.
C#
mit
peterlanoie/aspnet-mvc-slack
1937d0fd26bdfd26b7582395ff9edafff3bc7e02
src/SevenDigital.Api.Schema/ReleaseEndpoint/ReleaseEditorial.cs
src/SevenDigital.Api.Schema/ReleaseEndpoint/ReleaseEditorial.cs
using System; using System.Xml.Serialization; using SevenDigital.Api.Schema.Attributes; using SevenDigital.Api.Schema.ParameterDefinitions.Get; namespace SevenDigital.Api.Schema.ReleaseEndpoint { [XmlRoot("editorial")] [ApiEndpoint("release/editorial")] [Serializable] public class ReleaseEditorial : Has...
using System; using System.Xml.Serialization; using SevenDigital.Api.Schema.Attributes; using SevenDigital.Api.Schema.ParameterDefinitions.Get; namespace SevenDigital.Api.Schema.ReleaseEndpoint { [XmlRoot("editorial")] [ApiEndpoint("release/editorial")] [Serializable] public class ReleaseEditorial : Has...
Update the release/editorial endpoint schema
Update the release/editorial endpoint schema - Remove staff reviews, which isn't actually implemented yet - Change promotionalText from a string to a TextItem object, so it can be modified easier
C#
mit
gregsochanik/SevenDigital.Api.Wrapper,actionshrimp/SevenDigital.Api.Wrapper,bnathyuw/SevenDigital.Api.Wrapper,minkaotic/SevenDigital.Api.Wrapper,luiseduardohdbackup/SevenDigital.Api.Wrapper,danbadge/SevenDigital.Api.Wrapper,mattgray/SevenDigital.Api.Wrapper,raoulmillais/SevenDigital.Api.Wrapper,bettiolo/SevenDigital.Ap...