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
6b88141e58b6d3863b1aeb9db41d39225cd00bda
osu.Game.Rulesets.Mania.Tests/ManiaBeatmapSampleConversionTest.cs
osu.Game.Rulesets.Mania.Tests/ManiaBeatmapSampleConversionTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Utils; using osu.Game.Audio; using osu.Game.Rulesets.Mania.O...
Add mania sample conversion test
Add mania sample conversion test
C#
mit
NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu
04071fb48dffafc2801d94cb94cdd26f2845cd35
unity/Assets/Editor/AutoSaveOnRunMenuItem.cs
unity/Assets/Editor/AutoSaveOnRunMenuItem.cs
using UnityEngine; using UnityEditor; using UnityEditor.SceneManagement; [InitializeOnLoad] public class AutoSaveOnRunMenuItem { public const string MenuName = "Tools/Autosave On Run"; private static bool isToggled; static AutoSaveOnRunMenuItem() { EditorApplication.delayCall += () => ...
Add AutoSave on run feature - toggle
Add AutoSave on run feature - toggle
C#
mit
guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft
00268fb16bda28e71c9ea0e2cb6e9e7e31e2100b
src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs
src/SampSharp.GameMode/SAMP/Commands/ParameterTypes/VehicleType.cs
// SampSharp // Copyright 2017 Tim Potze // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
Add vehicleType into Command Parameter Types.
Add vehicleType into Command Parameter Types. #191
C#
apache-2.0
ikkentim/SampSharp,ikkentim/SampSharp,ikkentim/SampSharp
db0a7c68ca920ed97bff7c358d3b68875a1e8913
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
Create server side API for single multiple answer question
Create server side API for single multiple answer question
C#
mit
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
93055b75bfb3d1b5f2b82251dad05bbecccd2926
slang/Lexing/Trees/TreeExtensions.cs
slang/Lexing/Trees/TreeExtensions.cs
using System.Linq; namespace slang.Lexing.Trees { public static class TreeExtensions { public static Tree AttachChild(this Tree parent, Tree child) { var parentLeaves = parent.Leaves.ToList (); var childTransitions = child.Root.Transitions.ToList (); parentL...
Add useful extensions for tree operations
Add useful extensions for tree operations
C#
mit
jagrem/slang,jagrem/slang,jagrem/slang
d6eee756ed75ac8222ece6336ae6965b0cb5d699
AssemblyInfo.Shared.cs
AssemblyInfo.Shared.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.Shared.cs" company="SonarSource SA and Microsoft Corporation"> // Copyright (c) SonarSource SA and Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the projec...
Increase version number to 1.1
Increase version number to 1.1
C#
mit
SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-scanner-msbuild,dbolkensteyn/sonar-msbuild-runner,HSAR/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,SonarSource-Visua...
36eff486b0bf7c9721a0407bda31b9d8249d1107
BootstrapTagHelpers/src/BootstrapTagHelpers/TagHelperContentExtensions.cs
BootstrapTagHelpers/src/BootstrapTagHelpers/TagHelperContentExtensions.cs
namespace BootstrapTagHelpers { using Microsoft.AspNet.Razor.Runtime.TagHelpers; public static class TagHelperContentExtensions { public static void Prepend(this TagHelperContent content, string value) { if (content.IsEmpty) content.SetContent(value); else ...
Add extension method to prepend content to a TagHelperContent
Add extension method to prepend content to a TagHelperContent
C#
mit
daniel-kuon/BootstrapTagHelpers,daniel-kuon/BootstrapTagHelpers,daniel-kuon/BootstrapTagHelpers
6d1b64042bf753dfe06982bbd1aa58713ab4e35d
test/PowerShellEditorServices.Test.Host/AssemblyInfo.cs
test/PowerShellEditorServices.Test.Host/AssemblyInfo.cs
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using Xunit; // Disable test parallelization to avoid port reuse issues [assembly: CollectionBehavior(DisableTestParallelization = true)]
Fix hang in host tests due to test parallelization
Fix hang in host tests due to test parallelization This change disables test parallelization in the PowerShellEditorServices.Test.Host project to avoid a test hang caused by two test simultaneously choosing the same "random" port numbers for their tests. We currently can't detect the same port numbers because the TCP...
C#
mit
PowerShell/PowerShellEditorServices
489caed17c718faf7e39f7fa5f0f188f69afcb62
test/Microsoft.AspNet.Razor.Test/TagHelpers/TagHelperDescriptorProviderTest.cs
test/Microsoft.AspNet.Razor.Test/TagHelpers/TagHelperDescriptorProviderTest.cs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Linq; using Microsoft.AspNet.Razor.TagHelpers; using Xunit; namespace Microsoft.AspNet.Razor.Test.TagHelpers { publi...
Validate Tag Helper registration system functionality.
Validate Tag Helper registration system functionality. - This involved adding tests to cover GetTagHelpers methods on the default tag helper descriptor provider. #70
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
f13bde68e665088021ee1db2c43565557b30b6e8
osu.Game.Rulesets.Catch.Tests/TestSceneCatchModHidden.cs
osu.Game.Rulesets.Catch.Tests/TestSceneCatchModHidden.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game.Beatmaps; using os...
Add test for catch hidden mod
Add test for catch hidden mod
C#
mit
smoogipooo/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu
6841d1e632eeaf08ebb6c8461f5ec9bd17a622c5
YellowJacket/src/YellowJacket.Dashboard/Services/Interfaces/IJobService.cs
YellowJacket/src/YellowJacket.Dashboard/Services/Interfaces/IJobService.cs
// *********************************************************************** // Copyright (c) 2017 Dominik Lachance // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, i...
Add a new interface for the JobService.
Add a new interface for the JobService.
C#
mit
domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket,domtheluck/yellowjacket
daed27460c8f2b29349401d59ac4026f2fcf8e48
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs
osu.Game/Online/RealtimeMultiplayer/MultiplayerClientState.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Game.Online.RealtimeMultiplayer { public class MultiplayerClientState { public MultiplayerClientState(in long roomId) { ...
Add simple user state class
Add simple user state class
C#
mit
ppy/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu
c77919ca14b5a58e057dcd75179d20204de172f5
KenticoInspector.Core/AbstractReport.cs
KenticoInspector.Core/AbstractReport.cs
using KenticoInspector.Core.Models; using System; using System.Collections.Generic; namespace KenticoInspector.Core { public abstract class AbstractReport : IReport { public string Codename => GetCodename(this.GetType()); public static string GetCodename(Type reportType) { return ...
Create abstract report to simplify creating reports
Create abstract report to simplify creating reports
C#
mit
Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,Kentico/KInspector
707358b1c3d09d6e9dca94218df4c11866734806
src/EditorFeatures/Core/Shared/Extensions/DocumentExtensions.cs
src/EditorFeatures/Core/Shared/Extensions/DocumentExtensions.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.Editor.Shared.Utilities; namespace Microsoft.CodeAnalysis.Editor.Shared.Extensions { ...
Add new document extensions file
Add new document extensions file
C#
mit
CyrusNajmabadi/roslyn,wvdd007/roslyn,KevinRansom/roslyn,eriawan/roslyn,ErikSchierboom/roslyn,stephentoub/roslyn,weltkante/roslyn,mgoertz-msft/roslyn,wvdd007/roslyn,diryboy/roslyn,heejaechang/roslyn,bartdesmet/roslyn,panopticoncentral/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,AlekseyTs/roslyn,...
c1ab52d5c6dcda75dca7563494fd270e0e91a71f
slang/Compilation/CompilationMetadata.cs
slang/Compilation/CompilationMetadata.cs
namespace slang.Compilation { public class CompilationMetadata { public CompilationMetadata(string projectName) { ProjectName = projectName; } public string ProjectName { get; set; } } }
Add metadata class for the compilation root.
Add metadata class for the compilation root.
C#
mit
jagrem/slang,jagrem/slang,jagrem/slang
647120aa2814086a6c6dcbaf1ec82b03cf302044
src/Firehose.Web/Views/Home/Error.cshtml
src/Firehose.Web/Views/Home/Error.cshtml
@model System.Exception @{ ViewBag.Title = "Error :)"; } <section class="container"> <div class="row area"> <div class="col-xs-12"> <h1>@ViewBag.Title</h1> <p> Rats, something unfortunate happened. Below you can find some additional, technical information which ...
Revert "moving error view to Shared from Home"
Revert "moving error view to Shared from Home" This reverts commit d603ced3cb692dea7bb80a5797218bd1f00ffda2.
C#
mit
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
5babfe2728f1426f7c4fe81cc1fabdb58ea5882b
SierraLib.Translation/TranslateExtension.cs
SierraLib.Translation/TranslateExtension.cs
using System; using System.Collections.Generic; using System.Text; using System.Windows.Markup; using System.Windows.Data; namespace SierraLib.Translation { public class TranslateExtension : System.Windows.Markup.MarkupExtension { private string _key; private string _default; public T...
Fix missing TranslationExtension file (wasn't being added to repo for some reason)
Fix missing TranslationExtension file (wasn't being added to repo for some reason)
C#
mit
BrunoBrux/ArticulateDVS,Mpstark/articulate
6ab04018db449835848e25f1b7ea8811b15684e4
src/VisualStudio/LiveShare/Impl/LSPSDKInitializeHandler.cs
src/VisualStudio/LiveShare/Impl/LSPSDKInitializeHandler.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.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis; using Microsoft.VisualStudio.LiveShare.LanguageServices; using Microsoft....
Add default LSP initialize handler (for diagnostics).
Add default LSP initialize handler (for diagnostics).
C#
mit
heejaechang/roslyn,CyrusNajmabadi/roslyn,nguerrera/roslyn,mgoertz-msft/roslyn,KirillOsenkov/roslyn,eriawan/roslyn,stephentoub/roslyn,AmadeusW/roslyn,diryboy/roslyn,jmarolf/roslyn,AlekseyTs/roslyn,aelij/roslyn,KirillOsenkov/roslyn,heejaechang/roslyn,stephentoub/roslyn,tannergooding/roslyn,heejaechang/roslyn,wvdd007/rosl...
aecc3d28bf2723877ce3f5a2b7db12eb20f799a3
src/Umbraco.Web/Mvc/FilteredControllerFactoriesResolver.cs
src/Umbraco.Web/Mvc/FilteredControllerFactoriesResolver.cs
using System; using System.Collections.Generic; using Umbraco.Core.ObjectResolution; namespace Umbraco.Web.Mvc { /// <summary> /// A resolver for storing IFilteredControllerFactories /// </summary> internal sealed class FilteredControllerFactoriesResolver : ManyObjectsResolverBase<FilteredControllerFactor...
using System; using System.Collections.Generic; using Umbraco.Core.ObjectResolution; namespace Umbraco.Web.Mvc { /// <summary> /// A resolver for storing IFilteredControllerFactories /// </summary> public sealed class FilteredControllerFactoriesResolver : ManyObjectsResolverBase<FilteredControllerFactorie...
Fix U4-2286 - IFilteredControllerFactory classes are not resolved by Umbraco
Fix U4-2286 - IFilteredControllerFactory classes are not resolved by Umbraco Simple fix, just made the FilteredCOntrollerFactoriesResolver public. This way developers can add their own on application start
C#
mit
Tronhus/Umbraco-CMS,DaveGreasley/Umbraco-CMS,gkonings/Umbraco-CMS,m0wo/Umbraco-CMS,dampee/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,leekelleher/Umbraco-CMS,dawoe/Umbraco-CMS,qizhiyu/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,Tronhus/Umbraco-CMS,VDBBjorn/Umbraco-CMS,countrywide/Umbraco-CMS,Scott-Herbert/Umbraco-...
872167969b5c41bf62714dbbf8cbe3b4d725712c
test/Openchain.Ledger.Tests/LedgerQueriesExtensionsTests.cs
test/Openchain.Ledger.Tests/LedgerQueriesExtensionsTests.cs
// Copyright 2015 Coinprism, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
Add a unit test for the LedgerQueriesExtensions class
Add a unit test for the LedgerQueriesExtensions class
C#
apache-2.0
openchain/openchain
4e9795d65597152f2cf28c2f4cd65669b063cb90
SubtitleRenamer/ZipFilesForm.cs
SubtitleRenamer/ZipFilesForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SubtitleRenamer { public partial class ZipFilesForm : Form { private List<stri...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace SubtitleRenamer { public partial class ZipFilesForm : Form { private List<stri...
Fix crashing when OK button is pressed and no subtitle file is selected
Fix crashing when OK button is pressed and no subtitle file is selected
C#
mit
handrake/SubtitleRenamer
d1defc92ab34ac8f6e713ee685a8991e89d87c71
src/GridViewInfiniteScroll/GridViewInfiniteScroll/MyGridViewAdapter.cs
src/GridViewInfiniteScroll/GridViewInfiniteScroll/MyGridViewAdapter.cs
using Android.Content; using Android.Views; using Android.Widget; namespace GridViewInfiniteScroll { public class MyGridViewAdapter : BaseAdapter<SimpleItem> { private readonly SimpleItemLoader _simpleItemLoader; private readonly Context _context; public MyGridViewAdapter(Context context, ...
Add a very basic data adapter for building the grid cell views to show those SimpleItem objects.
Add a very basic data adapter for building the grid cell views to show those SimpleItem objects.
C#
mit
wislon/xam-gridview-infinite-scroll
70f3c7888155ef2d354aaf21d379573fcf66211f
src/R/Editor/Application.Test/Typing/TypeFileTest.cs
src/R/Editor/Application.Test/Typing/TypeFileTest.cs
using System.Diagnostics.CodeAnalysis; using System.IO; using FluentAssertions; using Microsoft.R.Editor.Application.Test.TestShell; using Microsoft.R.Editor.ContentType; using Microsoft.R.Support.RD.ContentTypes; using Microsoft.UnitTests.Core.XUnit; using Xunit; namespace Microsoft.R.Editor.Application.Test.Typing ...
using System.Diagnostics.CodeAnalysis; using FluentAssertions; using Microsoft.R.Editor.Application.Test.TestShell; using Microsoft.R.Editor.ContentType; using Microsoft.R.Support.RD.ContentTypes; using Microsoft.UnitTests.Core.XUnit; using Xunit; namespace Microsoft.R.Editor.Application.Test.Typing { [ExcludeFro...
Remove tests which are not actual tests but rather stress tests/means to type files automatically
Remove tests which are not actual tests but rather stress tests/means to type files automatically
C#
mit
AlexanderSher/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,karthikna...
067dab149a480784daa1e508cc32834ffe337343
src/CompetitionPlatform/Models/UserProfile/UserProfileModel.cs
src/CompetitionPlatform/Models/UserProfile/UserProfileModel.cs
using CompetitionPlatform.Data.AzureRepositories.Project; using CompetitionPlatform.Models.ProjectViewModels; using System; using System.Collections.Generic; namespace CompetitionPlatform.Models.UserProfile { public class UserProfile { public string Id { get; set; } public string UserId { get;...
Add models for user profile.
Add models for user profile.
C#
mit
LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform,LykkeCity/CompetitionPlatform
1f1e95f5351decadeae653c048974b565cde67b7
Content.IntegrationTests/Tests/DeleteInventoryTest.cs
Content.IntegrationTests/Tests/DeleteInventoryTest.cs
using System.Threading.Tasks; using Content.Server.GameObjects.Components.GUI; using Content.Server.GameObjects.Components.Items.Clothing; using NUnit.Framework; using Robust.Shared.Interfaces.GameObjects; using Robust.Shared.Interfaces.Map; using Robust.Shared.IoC; using Robust.Shared.Map; using static Content.Shared...
Add integration test for entity deletion.
Add integration test for entity deletion.
C#
mit
space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content
a4f3b0c6404074d23442a1d72898a3347478c789
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Movement/BaseDefaultPositionChangedEventHandler.cs
src/Booma.Proxy.Client.Unity.Ship/Handlers/Command/Movement/BaseDefaultPositionChangedEventHandler.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Common.Logging; using GladNet; using SceneJect.Common; using UnityEngine; namespace Booma.Proxy { /// <summary> /// Base <see cref="BaseSubCommand60"/> handler for default movement generator //...
Introduce generic base movement command handler
Introduce generic base movement command handler
C#
agpl-3.0
HelloKitty/Booma.Proxy
ecaf9c332abf189efb3f1d62fe72a6cc1ae74705
src/System.Private.CoreLib/src/System/Runtime/CompilerServices/EagerOrderedStaticConstructorAttribute.cs
src/System.Private.CoreLib/src/System/Runtime/CompilerServices/EagerOrderedStaticConstructorAttribute.cs
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Runtime.CompilerServices { // When applied to a type this custom attribute will cause it's cctor to be executed during startup // rather bein...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace System.Runtime.CompilerServices { // When applied to a type this custom attribute will cause it's cctor to be executed during startup // rather bein...
Move reflection initialization eager cctor order above McgModuleManager as it turns out to have a dependency on it in debug mode
Move reflection initialization eager cctor order above McgModuleManager as it turns out to have a dependency on it in debug mode [tfs-changeset: 1553622]
C#
mit
krytarowski/corert,krytarowski/corert,mjp41/corert,mjp41/corert,yizhang82/corert,sandreenko/corert,shrah/corert,krytarowski/corert,manu-silicon/corert,schellap/corert,sandreenko/corert,kyulee1/corert,shrah/corert,gregkalapos/corert,botaberg/corert,botaberg/corert,tijoytom/corert,yizhang82/corert,sandreenko/corert,shrah...
2550189c5dfa2bb6e145f944599c17ae55ae461e
src/Glimpse.Server.Web/Framework/AllowRemoteSecureRequestPolicy.cs
src/Glimpse.Server.Web/Framework/AllowRemoteSecureRequestPolicy.cs
using System; using Glimpse.Server.Options; using Glimpse.Web; namespace Glimpse.Server.Framework { public class AllowRemoteSecureRequestPolicy : ISecureRequestPolicy { private readonly IAllowRemoteProvider _allowRemoteProvider; public AllowRemoteSecureRequestPolicy(IAllowRemoteProvider allow...
Add policy for local only requests
Add policy for local only requests
C#
mit
Glimpse/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Pro...
ff5faa5a28f02da24240e53053b48d7febff32ed
src/RawRabbit.IntegrationTests/SimpleUse/MultipleRequestsTests.cs
src/RawRabbit.IntegrationTests/SimpleUse/MultipleRequestsTests.cs
using System; using System.Collections.Concurrent; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using RawRabbit.Client; using RawRabbit.IntegrationTests.TestMessages; using Xunit; namespace RawRabbit.IntegrationTests.SimpleUse { public class MultipleRequestsTests { [Fact] publ...
Add tests for multiple calls
Add tests for multiple calls
C#
mit
northspb/RawRabbit,pardahlman/RawRabbit
bd210af413dc13da3240c9b9c6e94a5b8776d0b9
src/Nest/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs
src/Nest/Modules/Indices/Fielddata/Numeric/NumericFielddataFormat.cs
using System.Runtime.Serialization; namespace Nest { public enum NumericFielddataFormat { [EnumMember(Value = "array")] Array, [EnumMember(Value = "doc_values")] DocValues, [EnumMember(Value = "disabled")] Disabled } }
using System.Runtime.Serialization; namespace Nest { public enum NumericFielddataFormat { [EnumMember(Value = "array")] Array, [EnumMember(Value = "disabled")] Disabled } }
Remove DocValues numeric fielddata format
Remove DocValues numeric fielddata format Closes https://github.com/elastic/elasticsearch-net/issues/2005
C#
apache-2.0
elastic/elasticsearch-net,TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,TheFireCookie/elasticsearch-net,adam-mccoy/elasticsearch-net,adam-mccoy/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,CSGOpenSource/elastic...
da9c23f3478356b9183fecbe82d0d416c039a26d
osu.Game/Online/Rooms/MultiplayerBeatmapTracker.cs
osu.Game/Online/Rooms/MultiplayerBeatmapTracker.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Bindables; using osu.Game.Beatmaps; namespace osu.Game.Online.Rooms { public class MultiplayerBeatmapTracker : D...
Add beatmap availability tracker component for multiplayer
Add beatmap availability tracker component for multiplayer
C#
mit
smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu
fd24147afa9c7c6e40f50ad0038e7eb1432d1b82
OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs
OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/LSL_EventTests.cs
/* * 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...
Add initial test for checking that specifying a parameter in LSL state_entry() generates a syntax error.
Add initial test for checking that specifying a parameter in LSL state_entry() generates a syntax error. Same for other events to follow at a later date.
C#
bsd-3-clause
ft-/arribasim-dev-tests,ft-/arribasim-dev-extras,TomDataworks/opensim,ft-/opensim-optimizations-wip,TomDataworks/opensim,ft-/opensim-optimizations-wip-extras,OpenSimian/opensimulator,justinccdev/opensim,QuillLittlefeather/opensim-1,OpenSimian/opensimulator,BogusCurry/arribasim-dev,ft-/opensim-optimizations-wip-extras,j...
92e9075589b2f9ba647d148b2a35c8e468f502cf
src/Pather.CSharp/PathElements/PathElementBase.cs
src/Pather.CSharp/PathElements/PathElementBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Pather.CSharp.PathElements { public abstract class PathElementBase : IPathElement { public Selection Apply(Selection target) { var results = new List<object>(); fo...
Add base class for path elements that has a good default implementation for Apply on Selection
Add base class for path elements that has a good default implementation for Apply on Selection
C#
mit
Domysee/Pather.CSharp
4e7ff1619ee5cebcca3390392cbc0df6303f72ef
src/AutoQueryable/Extensions/QueryableExtension.cs
src/AutoQueryable/Extensions/QueryableExtension.cs
using System; using System.Linq; using AutoQueryable.Helpers; using AutoQueryable.Models; namespace AutoQueryable.Extensions { public static class QueryableExtension { public static dynamic AutoQueryable(this IQueryable<object> query, string queryString, AutoQueryableProfile profile) { ...
Add AutoQueryable extension on top of Iqueryable<T>
Add AutoQueryable extension on top of Iqueryable<T>
C#
mit
trenoncourt/AutoQueryable
e0e46ab9d2b56db05eb7553fc270389c5f8e8645
src/GladNet.Lidgren.Client/Network/Message/LidgrenClientMessageContextFactory.cs
src/GladNet.Lidgren.Client/Network/Message/LidgrenClientMessageContextFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Lidgren.Network; using GladNet.Lidgren.Engine.Common; using GladNet.Serializer; namespace GladNet.Lidgren.Client { public class LidgrenClientMessageContextFactory : ILidgrenMessageContextFactory { private IDeserializerStra...
Create Client Message Context Factory
Create Client Message Context Factory
C#
bsd-3-clause
HelloKitty/GladNet2.0,HelloKitty/GladNet2,HelloKitty/GladNet2-Lidgren,HelloKitty/GladNet2-Lidgren,HelloKitty/GladNet2.0,HelloKitty/GladNet2
5942385d0e95697dda1aac99e40d998b9bf8a2f4
OpenSim/Region/Framework/Interfaces/IPrimCountModule.cs
OpenSim/Region/Framework/Interfaces/IPrimCountModule.cs
/* * 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...
Add the prim count interfaces
Add the prim count interfaces
C#
bsd-3-clause
ft-/opensim-optimizations-wip-tests,RavenB/opensim,ft-/arribasim-dev-extras,ft-/arribasim-dev-extras,OpenSimian/opensimulator,RavenB/opensim,bravelittlescientist/opensim-performance,QuillLittlefeather/opensim-1,QuillLittlefeather/opensim-1,allquixotic/opensim-autobackup,OpenSimian/opensimulator,Michelle-Argus/Arribasim...
248f7d79569847952abb75ad967c54365e887a4e
src/Mango/Mango.Tests/Mango.Server/HttpRequestTest.cs
src/Mango/Mango.Tests/Mango.Server/HttpRequestTest.cs
using System; using NUnit.Framework; using Mango; using Mango.Server; namespace Mango.Tests { [TestFixture()] public class HttpRequestTest { [Test()] public void TestNoNullQueryData () { // var r = new HttpRequest (new MockHttpTransaction (), .... ); // Assert.NotNull (r.QueryData); } } }
Add tests directory for Mango.Server
Add tests directory for Mango.Server
C#
mit
jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jacksonh/manos,jacksonh/manos,jmptrader/ma...
63aa1397d52744e69782132075f4a8991e8362c4
src/ZabbixAgent/PassiveCheckServerWithStore.cs
src/ZabbixAgent/PassiveCheckServerWithStore.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Globalization; using System.Net; namespace Itg.ZabbixAgent { public class PassiveCheckServerWithStore : PassiveCheckServerBase { private struct CounterId { public string Key { get; } ...
Add a passive check server with a store
Add a passive check server with a store
C#
mit
RFQ-hub/ZabbixAgentLib
3e3c53a97bb95bf85a370033847b58455579b4fa
source/Htc.Vita.Core.Tests/SecurityProtocolManagerTest.cs
source/Htc.Vita.Core.Tests/SecurityProtocolManagerTest.cs
using Htc.Vita.Core.Net; using Xunit; using Xunit.Abstractions; namespace Htc.Vita.Core.Tests { public class SecurityProtocolManagerTest { private readonly ITestOutputHelper _output; public SecurityProtocolManagerTest(ITestOutputHelper output) { _output = output; }...
Add basic unit test for SecurityProtocolManager
Add basic unit test for SecurityProtocolManager
C#
mit
ViveportSoftware/vita_core_csharp,ViveportSoftware/vita_core_csharp
68a043a0703202fc918e5879cc6eef296b14f7eb
osu.Game.Rulesets.Catch.Tests/Mods/TestSceneCatchModRelax.cs
osu.Game.Rulesets.Catch.Tests/Mods/TestSceneCatchModRelax.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Mods; usin...
Add test case covering regression
Add test case covering regression
C#
mit
UselessToucan/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu
23608a49b863533042fdd125da25c5ceff363ebe
src/Common/Wpf/Impl/Extensions/VisualTreeExtensions.cs
src/Common/Wpf/Impl/Extensions/VisualTreeExtensions.cs
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Media; namespace Microsoft.Common.Wpf.Extensions { [ExcludeFromCodeCoverage] ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Diagnostics.CodeAnalysis; using System.Windows; using System.Windows.Media; namespace Microsoft.Common.Wpf.Extensions { public static class VisualT...
Remove attribute since this is no longer a test code
Remove attribute since this is no longer a test code
C#
mit
karthiknadig/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,karthiknadig/RTVS,AlexanderSher/RTVS,MikhailArkhipov/RTVS,AlexanderSher/RTVS,AlexanderSher/RTVS,karthiknadig/RTVS,karthiknadig/RTVS,MikhailArkhipov/RTVS,MikhailAr...
6c6d2972feec658d804cb6d70d0ee7713ea335cc
src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-Blog.Edit.cshtml
src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-Blog.Edit.cshtml
@using Orchard.Mvc.Html; @{ Layout.Title = T("New Blog"); } <div class="edit-item"> <div class="edit-item-primary"> @if (Model.Content != null) { <div class="edit-item-content"> @Display(Model.Content) </div> } </div> <div class="edit-item-secondar...
@using Orchard.Mvc.Html; <div class="edit-item"> <div class="edit-item-primary"> @if (Model.Content != null) { <div class="edit-item-content"> @Display(Model.Content) </div> } </div> <div class="edit-item-secondary group"> @if (Model.Actions !=...
Fix incorrect title on edit page
Fix incorrect title on edit page Fixes #7142
C#
bsd-3-clause
aaronamm/Orchard,yersans/Orchard,Serlead/Orchard,gcsuk/Orchard,LaserSrl/Orchard,jimasp/Orchard,aaronamm/Orchard,Dolphinsimon/Orchard,OrchardCMS/Orchard,yersans/Orchard,Serlead/Orchard,LaserSrl/Orchard,Dolphinsimon/Orchard,AdvantageCS/Orchard,fassetar/Orchard,Lombiq/Orchard,jersiovic/Orchard,omidnasri/Orchard,IDeliverab...
c7faf326e80d28fcefa73d02ec1b800f9aedd250
src/GladNet.Lidgren.Engine.Common/Network/Message/ContextMessages/ILidgrenMessageContextFactory.cs
src/GladNet.Lidgren.Engine.Common/Network/Message/ContextMessages/ILidgrenMessageContextFactory.cs
using Lidgren.Network; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GladNet.Lidgren.Engine.Common { /// <summary> /// Factory that generates <see cref="LidgrenMessageContext"/>s. /// </summary> public interface ILidgrenMessageContextFactory { /// <summary> /...
Create Message Context Factory interface
Create Message Context Factory interface
C#
bsd-3-clause
HelloKitty/GladNet2-Lidgren,HelloKitty/GladNet2.0,HelloKitty/GladNet2-Lidgren,HelloKitty/GladNet2,HelloKitty/GladNet2,HelloKitty/GladNet2.0
6c0da5856fba1806a47549704e0fc85240d9dcee
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api/question")] public class QuestionsController : Controller { private readonly IQuestionRepository ...
Update server side API for single multiple answer question
Update server side API for single multiple answer question
C#
mit
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
066832243fd886e4f3148b2685f78bbb54b1186f
Rnwood.SmtpServer.Tests/Extensions/Auth/AuthMechanismTest.cs
Rnwood.SmtpServer.Tests/Extensions/Auth/AuthMechanismTest.cs
using System; using System.Text; namespace Rnwood.SmtpServer.Tests.Extensions.Auth { public class AuthMechanismTest { protected static bool VerifyBase64Response(string base64, string expectedString) { string decodedString = Encoding.ASCII.GetString(Convert.FromBase64String(base64));...
Add base class for auth tests.
Add base class for auth tests.
C#
bsd-3-clause
rnwood/smtp4dev,rnwood/smtp4dev,rnwood/smtp4dev,rnwood/smtp4dev
8d667fc1e86dc977cf40719e986b326879e51dfb
src/Marten.Testing/Bugs/Bug_837_missing_func_mt_immutable_timestamp_when_initializing_with_new_Schema.cs
src/Marten.Testing/Bugs/Bug_837_missing_func_mt_immutable_timestamp_when_initializing_with_new_Schema.cs
using System; using System.Linq; using Marten.Schema; using Marten.Testing.Documents; using Xunit; namespace Marten.Testing.Bugs { public class Bug_837_missing_func_mt_immutable_timestamp_when_initializing_with_new_Schema : IntegratedFixture { [Fact] public void missing_func_mt_immutable_times...
Add failing test for issue GH-837
Add failing test for issue GH-837
C#
mit
ericgreenmix/marten,jokokko/marten,mdissel/Marten,jokokko/marten,mysticmind/marten,jokokko/marten,JasperFx/Marten,mysticmind/marten,ericgreenmix/marten,jokokko/marten,ericgreenmix/marten,JasperFx/Marten,mysticmind/marten,jokokko/marten,mdissel/Marten,ericgreenmix/marten,mysticmind/marten,JasperFx/Marten
b1cf014dc21a2dd61040522df015de5e4b6ed02a
osu.Game.Tests/Visual/Navigation/TestEFToRealmMigration.cs
osu.Game.Tests/Visual/Navigation/TestEFToRealmMigration.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.IO; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Game.Beatmaps; using osu.Game.Database; using osu.Game.Models; using ...
Add test coverage of EF to Realm migration process
Add test coverage of EF to Realm migration process
C#
mit
ppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu
223096eb6ebbf1c03bb3aa2cb59b68442b507018
compiler/NUnit.Tests/Middle-End/InstructionTests.cs
compiler/NUnit.Tests/Middle-End/InstructionTests.cs
using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using compiler.middleend.ir; namespace NUnit.Tests.Middle_End { [TestFixture] public class InstructionTests { [Test] public void ToStringTest() ...
Add missing unit test file
Add missing unit test file
C#
mit
ilovepi/Compiler,ilovepi/Compiler
326686d26a17d4fe8779cdcbce318a53bd921514
src/Discord.Net/WebSocket/Extensions/GuildExtensions.cs
src/Discord.Net/WebSocket/Extensions/GuildExtensions.cs
using System.Collections.Generic; using System.Linq; namespace Discord.WebSocket.Extensions { // TODO: Docstrings public static class GuildExtensions { // Channels public static IGuildChannel GetChannel(this IGuild guild, ulong id) => (guild as SocketGuild).GetChannel(id); ...
Add Extension Methods for WebSocket->IGuild
Add Extension Methods for WebSocket->IGuild For users importing `Discord.WebSocket.Extensions`, there are now non-async extensions for Get(Type)Channel(s) and Get(Current)User(s). These methods point to the appropriate method or member on SocketGuild.
C#
mit
AntiTcb/Discord.Net,RogueException/Discord.Net,Confruggy/Discord.Net,Joe4evr/Discord.Net,LassieME/Discord.Net
8b1a71f4ca4ca073f762cc45521f6b0826128f8f
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.cs
osu.Framework/Extensions/ObjectExtensions/ObjectExtensions.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.Diagnostics; #nullable enable namespace osu.Framework.Extensions.ObjectExtensions { /// <summary> /// Extensions that apply to all objects. ///...
Add extension method for null-forgiving operator
Add extension method for null-forgiving operator
C#
mit
ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework
3090a976d58ae6f86e1851141ed8c9dd415aca73
src/Serilog.Sinks.Graylog/Properties/AssemblyInfo.cs
src/Serilog.Sinks.Graylog/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Se...
Revert "Pack nuget on build"
Revert "Pack nuget on build" This reverts commit 272eb869b9ec5c6d2226283a80c48511381ca581.
C#
mit
whir1/serilog-sinks-graylog
37a66603457e24b65942d7905a9afb59b7d47cdd
ClosedXML_Tests/Excel/Globalization/GlobalizationTests.cs
ClosedXML_Tests/Excel/Globalization/GlobalizationTests.cs
using ClosedXML.Excel; using NUnit.Framework; using System.IO; using System.Threading; namespace ClosedXML_Tests.Excel.Globalization { [TestFixture] public class GlobalizationTests { [Test] [TestCase("A1*10", "1230")] [TestCase("A1/10", "12.3")] [TestCase("A1&\" cells\"", "...
Add test for persisting cached value under different culture.
Add test for persisting cached value under different culture.
C#
mit
b0bi79/ClosedXML,igitur/ClosedXML,ClosedXML/ClosedXML
656efc674be9d7331ac48f1b9eed472dc1be0b7b
tests/LondonTravel.Site.Tests/Integration/SiteMapTests.cs
tests/LondonTravel.Site.Tests/Integration/SiteMapTests.cs
// Copyright (c) Martin Costello, 2017. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.LondonTravel.Site.Integration { using System; using System.Globalization; using System.Net; using Syste...
Add integration test for sitemap.xml
Add integration test for sitemap.xml Add an integration test for sitemap.xml to test that it contains valid URLs. Resolves #124.
C#
apache-2.0
martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site
bc99bed0388d2d5691915943e5307144e2ba953c
Training/DataGenerator/OszArchive.cs
Training/DataGenerator/OszArchive.cs
using System; using System.Collections.Generic; using System.IO; using System.IO.Compression; using System.Linq; namespace Meowtrix.osuAMT.Training.DataGenerator { class OszArchive : Archive, IDisposable { public ZipArchive archive; public OszArchive(Stream stream) { archi...
Read file from osz archive.
Read file from osz archive.
C#
mit
Meowtrix/osu-Auto-Mapping-Toolkit
d9dc9621046493747d23c26c657b09907b5025d4
common/platform-dotnet/test/SimplifiedProtocolTest/SimplifiedProtocolTestWpfCore/IntegrationTest.cs
common/platform-dotnet/test/SimplifiedProtocolTest/SimplifiedProtocolTestWpfCore/IntegrationTest.cs
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace SimplifiedProtocolTestWpfCore { internal static class IntegrationTest { public static Task<IntegrationTestResult[]> RunAsync(CancellationToken ct) { return Task<Inte...
Add foundation of integration test runner
Add foundation of integration test runner
C#
mit
SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk
40571bbae89a9e53bbda7e0584bfecb8d03561b9
cslatest/Csla.Test/EditableRootList/ERitem.cs
cslatest/Csla.Test/EditableRootList/ERitem.cs
using System; using System.Collections.Generic; using System.Text; namespace Csla.Test.EditableRootList { public class ERitem : BusinessBase<ERitem> { string _data = string.Empty; public string Data { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.No...
using System; using System.Collections.Generic; using System.Text; namespace Csla.Test.EditableRootList { [Serializable] public class ERitem : BusinessBase<ERitem> { string _data = string.Empty; public string Data { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.Met...
Fix test to use serializable classes now that ERLB clones objects on save.
Fix test to use serializable classes now that ERLB clones objects on save.
C#
mit
ronnymgm/csla-light,jonnybee/csla,JasonBock/csla,jonnybee/csla,MarimerLLC/csla,jonnybee/csla,ronnymgm/csla-light,JasonBock/csla,BrettJaner/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,rockfordlhotka/csla,BrettJaner/csla,BrettJaner/csla,rockfordlhotka/csla
e3218bc51da464a8c3033c2d75e78ae69e56de48
src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestUtilities.cs
src/System.Diagnostics.Tracing/tests/BasicEventSourceTest/TestUtilities.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.Tracing; using System.Diagnostics; using Xunit; using System; namespace BasicEventSourceTe...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.Tracing; using System.Diagnostics; using Xunit; using System; namespace BasicEventSourceTe...
Fix EventSource test to be aware of ArrayPoolEventSource
Fix EventSource test to be aware of ArrayPoolEventSource
C#
mit
rubo/corefx,mazong1123/corefx,richlander/corefx,DnlHarvey/corefx,rahku/corefx,dhoehna/corefx,billwert/corefx,stephenmichaelf/corefx,mmitche/corefx,yizhang82/corefx,richlander/corefx,wtgodbe/corefx,DnlHarvey/corefx,mmitche/corefx,zhenlan/corefx,shimingsg/corefx,MaggieTsang/corefx,gkhanna79/corefx,rahku/corefx,ViktorHofe...
a875fbc7f655a5a7f0bda1d3095fcdec2ee47486
SampleGame/Program.cs
SampleGame/Program.cs
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using osu.Framework.Desktop; using osu.Framework.OS; namespace SampleGame { public static class Program { [STAThread...
// Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using osu.Framework.Desktop; using osu.Framework.OS; using osu.Framework; namespace SampleGame { public static class Program ...
Use using when creating game/host.
Use using when creating game/host.
C#
mit
EVAST9919/osu-framework,RedNesto/osu-framework,default0/osu-framework,ppy/osu-framework,naoey/osu-framework,naoey/osu-framework,Tom94/osu-framework,paparony03/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,NeoAdonis/osu-framework,RedNesto/osu-framework,Nabile-Rahman...
329bf6cea0228cd8e2fb43bf54606af75461bd9d
Citysim/Views/DebugView.cs
Citysim/Views/DebugView.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using MonoGame.Extended.BitmapFonts; namespace Citysim....
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using MonoGame.Extended.BitmapFonts; namespace Citysim....
Debug view now displays the camera position and speed.
Debug view now displays the camera position and speed.
C#
mit
mitchfizz05/Citysim,pigant/Citysim
1bc509b46f76a5299b631df105b763ddcaddf346
MvcMusicStore.Data.Context/ContextManager.cs
MvcMusicStore.Data.Context/ContextManager.cs
using System.Web; using MvcMusicStore.Data.Context.Interfaces; namespace MvcMusicStore.Data.Context { public class ContextManager<TContext> : IContextManager<TContext> where TContext : IDbContext, new() { private string ContextKey = "ContextManager.Context"; public ContextMana...
using System.Web; using MvcMusicStore.Data.Context.Interfaces; namespace MvcMusicStore.Data.Context { public class ContextManager<TContext> : IContextManager<TContext> where TContext : IDbContext, new() { private readonly string ContextKey; public ContextManager() { ...
Add readonly in ContextKey property
Add readonly in ContextKey property
C#
mit
thiagolunardi/MvcMusicStoreDDD
eb4ee3bef4fc70366e7f3b23b8d483c7a7b15a89
EarTrumpet/UI/Views/AppItemView.xaml.cs
EarTrumpet/UI/Views/AppItemView.xaml.cs
using EarTrumpet.UI.ViewModels; using System.Windows; using System.Windows.Controls; namespace EarTrumpet.UI.Views { public partial class AppItemView : UserControl { private AppItemViewModel App => (AppItemViewModel)DataContext; public AppItemView() { InitializeComponent()...
using EarTrumpet.UI.ViewModels; using System.Windows; using System.Windows.Controls; namespace EarTrumpet.UI.Views { public partial class AppItemView : UserControl { private IAppItemViewModel App => (IAppItemViewModel)DataContext; public AppItemView() { InitializeComponent...
Fix cast crash in AppItemView
Fix cast crash in AppItemView
C#
mit
File-New-Project/EarTrumpet
632f47d36599f39b2baa3075b65fafbaf4e2a0a9
Anabi.DataAccess.Ef/DbModels/AssetDb.cs
Anabi.DataAccess.Ef/DbModels/AssetDb.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace Anabi.DataAccess.Ef.DbModels { public class AssetDb : BaseEntity { public string Name { get; set; } public int? AddressId { get; set; } public virtual AddressDb ...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; namespace Anabi.DataAccess.Ef.DbModels { public class AssetDb : BaseEntity { public string Name { get; set; } public int? AddressId { get; set; } public virtual AddressDb ...
Use Collection instead of List for consistency
Use Collection instead of List for consistency
C#
mpl-2.0
code4romania/anabi-gestiune-api,code4romania/anabi-gestiune-api,code4romania/anabi-gestiune-api
df97b89bbaf5ce755ebc297594bddbf188aea645
Winium/Winium.Mobile.Connectivity/Devices.cs
Winium/Winium.Mobile.Connectivity/Devices.cs
namespace Winium.Mobile.Connectivity { #region using System; using System.Collections.Generic; using System.Linq; using Microsoft.Phone.Tools.Deploy.Patched; #endregion public class Devices { #region Static Fields private static readonly Lazy<Devices> LazyInstance =...
namespace Winium.Mobile.Connectivity { #region using System; using System.Collections.Generic; using System.Linq; using Microsoft.Phone.Tools.Deploy.Patched; #endregion public class Devices { #region Static Fields private static readonly Lazy<Devices> LazyInstance =...
Change logic for deviceName matching
Change logic for deviceName matching https://github.com/2gis/winphonedriver/pull/82
C#
mpl-2.0
2gis/Winium.StoreApps,2gis/Winium.StoreApps
46f1511238b5e4d3d0fbf53394019b61c277b973
IntegrationEngine.Model/CronTrigger.cs
IntegrationEngine.Model/CronTrigger.cs
using System; namespace IntegrationEngine.Model { public class CronTrigger : IHasStringId, IIntegrationJobTrigger { public string Id { get; set; } public string JobType { get; set; } public string CronExpressionString { get; set; } public TimeZoneInfo TimeZone { get; set; } ...
using System; namespace IntegrationEngine.Model { public class CronTrigger : IHasStringId, IIntegrationJobTrigger { public string Id { get; set; } public string JobType { get; set; } public string CronExpressionString { get; set; } TimeZoneInfo _timeZone { get; set; } p...
Set default time zone to UTC
Set default time zone to UTC
C#
mit
InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET,InEngine-NET/InEngine.NET
b4d4d7ef1afc4d1ce13b57c3ffe703cfa9e3fc16
src/Nancy/Helpers/ProxyNancyReferenceProber.cs
src/Nancy/Helpers/ProxyNancyReferenceProber.cs
#if !CORE namespace Nancy.Helpers { using System; using System.Reflection; using Nancy.Extensions; internal class ProxyNancyReferenceProber : MarshalByRefObject { public bool HasReference(AssemblyName assemblyNameForProbing, AssemblyName referenceAssemblyName) { ...
#if !CORE namespace Nancy.Helpers { using System; using System.Reflection; using Nancy.Extensions; internal class ProxyNancyReferenceProber : MarshalByRefObject { public bool HasReference(AssemblyName assemblyNameForProbing, AssemblyName referenceAssemblyName) { ...
Use ReflectionOnlyLoad() in the remote proxy reference prober
Use ReflectionOnlyLoad() in the remote proxy reference prober
C#
mit
sadiqhirani/Nancy,blairconrad/Nancy,xt0rted/Nancy,davidallyoung/Nancy,blairconrad/Nancy,asbjornu/Nancy,sadiqhirani/Nancy,asbjornu/Nancy,jeff-pang/Nancy,asbjornu/Nancy,blairconrad/Nancy,NancyFx/Nancy,xt0rted/Nancy,damianh/Nancy,danbarua/Nancy,asbjornu/Nancy,jeff-pang/Nancy,danbarua/Nancy,JoeStead/Nancy,khellang/Nancy,da...
037e203da1854c175f416a2b0d45b4bcd1c35e28
src/BulkWriter/Pipeline/EtlPipeline.cs
src/BulkWriter/Pipeline/EtlPipeline.cs
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BulkWriter.Pipeline.Internal; using BulkWriter.Pipeline.Steps; namespace BulkWriter.Pipeline { public class EtlPipeline : IEtlPipeline { private readonly Stack<IEtlPipelineStep> _pipelineSteps = new Stack<IEt...
using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using BulkWriter.Pipeline.Internal; using BulkWriter.Pipeline.Steps; namespace BulkWriter.Pipeline { public sealed class EtlPipeline : IEtlPipeline { private readonly Stack<IEtlPipelineStep> _pipelineSteps = new St...
Improve pipeline interface so that StartWith is now static and actually creates the pipeline for us
Improve pipeline interface so that StartWith is now static and actually creates the pipeline for us
C#
apache-2.0
HeadspringLabs/bulk-writer
337ac4ed6d46acf0489aa4401f54e16e01858a88
src/Moegirlpedia.MediaWikiInterop.Primitives/Transform/QueryRequestSerializer.cs
src/Moegirlpedia.MediaWikiInterop.Primitives/Transform/QueryRequestSerializer.cs
using Moegirlpedia.MediaWikiInterop.Primitives.Action.Models; using Moegirlpedia.MediaWikiInterop.Primitives.Foundation; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; namespace Moegirlpedia.MediaWikiInterop.Primitives.Tr...
using Moegirlpedia.MediaWikiInterop.Primitives.Action.Models; using Moegirlpedia.MediaWikiInterop.Primitives.Foundation; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using System.Reflection; using Moegirlpedia.MediaWikiI...
Address an issue blocks query provider parameters being sent.
Address an issue blocks query provider parameters being sent.
C#
mit
moegirlwiki/Kaleidoscope
a1b8a1b617cd0ac0570b8523dce24848386f4dc8
src/Cassette/CassetteConfigurationSection.cs
src/Cassette/CassetteConfigurationSection.cs
using System.Configuration; namespace Cassette { public sealed class CassetteConfigurationSection : ConfigurationSection { [ConfigurationProperty("debug", DefaultValue = null)] public bool? Debug { get { return (bool?)this["debug"]; } set { this["debug...
using System.Configuration; namespace Cassette { public sealed class CassetteConfigurationSection : ConfigurationSection { [ConfigurationProperty("debug", DefaultValue = null)] public bool? Debug { get { return (bool?)this["debug"]; } set { this["debug...
Remove watchFileSystem config section property - no longer needed
Remove watchFileSystem config section property - no longer needed
C#
mit
damiensawyer/cassette,BluewireTechnologies/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,honestegg/cassette,damiensawyer/cassette
9eb2ab26dc8cdf202555a341f0d242c0b8c9c8ae
FubarDev.WebDavServer.AspNetCore/Formatters/WebDavXmlSerializerInputFormatter.cs
FubarDev.WebDavServer.AspNetCore/Formatters/WebDavXmlSerializerInputFormatter.cs
using Microsoft.AspNetCore.Mvc.Formatters; namespace FubarDev.WebDavServer.AspNetCore.Formatters { public class WebDavXmlSerializerInputFormatter : XmlSerializerInputFormatter { public override bool CanRead(InputFormatterContext context) { var request = context.HttpContext.Request;...
using Microsoft.AspNetCore.Mvc.Formatters; namespace FubarDev.WebDavServer.AspNetCore.Formatters { public class WebDavXmlSerializerInputFormatter : XmlSerializerInputFormatter { public override bool CanRead(InputFormatterContext context) { var request = context.HttpContext.Request;...
Make the intent clearer to accept bodyless PROPFIND
Make the intent clearer to accept bodyless PROPFIND
C#
mit
FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer,FubarDevelopment/WebDavServer
e51de575d1b10972fe4ca5d4bf45d7f4a0f656ac
aspwiki/Views/Home/PageLink.cshtml
aspwiki/Views/Home/PageLink.cshtml
@using ASPWiki.Model @model WikiPage <article style="margin:15px;word-break:break-all;"> <a href="/Wiki/View/@Model.GetPathString()"><h3>@Model.Title</h3></a> @Html.Raw(@Model.GetContentSummary()) @Html.Partial("~/Views/Wiki/Label.cshtml", Model.label) <span>Written by: Unknown - Size: @Mode...
@using ASPWiki.Model @model WikiPage <article class="row" style="margin:15px;word-break:break-all;"> <div class="col-sm-12"> <a href="/Wiki/View/@Model.GetPathString()"><h3>@Model.Title</h3></a> </div> <div class="col-sm-12"> @Html.Raw(@Model.GetContentSummary()) </div> <div clas...
Fix ui when contentSummary has unclosed dom tags.
Fix ui when contentSummary has unclosed dom tags.
C#
mit
Kasperki/ASPWiki,Kasperki/ASPWiki
42afd3a14a46a55c491de2d6824cb2ea29866091
DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs
DailySoccer2015/ApiApp/MongoAccess/MongoUtil.cs
using ApiApp.Models; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Configuration; namespace ApiApp.MongoAccess { static class MongoUtil { #region Fields private static IMongoClient _cl...
using ApiApp.Models; using MongoDB.Driver; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Configuration; namespace ApiApp.MongoAccess { static class MongoUtil { #region Fields private static IMongoClient _cl...
CHANGE CONFIG TO PRODUCTION !!!
CHANGE CONFIG TO PRODUCTION !!! Signed-off-by: Sakul Jaruthanaset <17b4bfe9c570ddd7d4345ec4b3617835712513c0@perfenterprise.com>
C#
mit
tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer,tlaothong/dailysoccer
a01267bc6f38c3dec3f1bf4caa020b671bf9ed79
VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
VotingApplication/VotingApplication.Web/Views/Routes/UnregisteredDashboard.cshtml
<div ng-controller="UnregisteredDashboardController"> <div> <h2>Regular Poller?</h2> Register for more config choices. It's free! </div> <form name="quickPollForm" ng-submit="createPoll(pollQuestion)"> <div id="question-block"> Your Question <br /> <input id...
<div ng-controller="UnregisteredDashboardController"> <form name="quickPollForm" ng-submit="createPoll(pollQuestion)"> <div id="question-block"> Your Question <br /> <input id="question" placeholder="E.g. Where should we go for lunch?" ng-model="pollQuestion" required /> </d...
Remove "register for more config choices"
Remove "register for more config choices"
C#
apache-2.0
tpkelly/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,Generic-Voting-Application/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,JDawes-ScottLogic/voting-applicati...
0d12aba7ca977ca5a8f080ff9d228d1ee5927f84
InfluxData.Net.InfluxDb/Helpers/QueryHelpers.cs
InfluxData.Net.InfluxDb/Helpers/QueryHelpers.cs
using System; using System.Reflection; using System.Text.RegularExpressions; using InfluxData.Net.Common; using System.Linq; namespace InfluxData.Net.InfluxDb.Helpers { public static class QueryHelpers { public static string BuildParameterizedQuery(string query, object param) { var...
using System; using System.Reflection; using System.Text.RegularExpressions; using InfluxData.Net.Common; using System.Linq; namespace InfluxData.Net.InfluxDb.Helpers { public static class QueryHelpers { public static string BuildParameterizedQuery(string query, object param) { Typ...
Correct regex to match only full words
Correct regex to match only full words
C#
mit
pootzko/InfluxData.Net
5585cc890c82c95ebb6157ee03f4f3593bd72620
ConsoleApps/FunWithSpikes/FunWithNinject/Initialization/Tests.cs
ConsoleApps/FunWithSpikes/FunWithNinject/Initialization/Tests.cs
namespace FunWithNinject.Initialization { using Ninject; using NUnit.Framework; [TestFixture] public class Tests { [Test] public void OnActivation_CanCallMethodOnImplementation() { // Assemble var k = new StandardKernel(); k.Bind<IInitial...
namespace FunWithNinject.Initialization { using Ninject; using NUnit.Framework; using System.Threading; [TestFixture] public class Tests { [Test] public void OnActivation_CanCallMethodOnImplementation() { // Assemble var k = new StandardKernel();...
Add test to prove that OnActivation is syncronous
Add test to prove that OnActivation is syncronous
C#
mit
jquintus/spikes,jquintus/spikes,jquintus/spikes,jquintus/spikes
bf7cb81cc7ad40aba68fb378d86bbeb3155a8fa7
projects/TraceAnalysisSample/test/TraceAnalysisSample.Test.Unit/EventWindowTest.cs
projects/TraceAnalysisSample/test/TraceAnalysisSample.Test.Unit/EventWindowTest.cs
//----------------------------------------------------------------------- // <copyright file="EventWindowTest.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TraceAnalysisSample.Te...
//----------------------------------------------------------------------- // <copyright file="EventWindowTest.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace TraceAnalysisSample.Te...
Add same type twices adds 2 operations to pending
Add same type twices adds 2 operations to pending
C#
unlicense
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
0a6b4a63c395824dc7b2ba81a526ec1bc96675fc
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerAccount/SelectEmployer.cshtml
src/SFA.DAS.EmployerApprenticeshipsService.Web/Views/EmployerAccount/SelectEmployer.cshtml
@{ViewBag.Title = "Search for your organisation"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Search for your organisation</h1> <p>Use the companies house number for an organisation that your apprentices will be employed through.</p> <form method=...
@{ViewBag.Title = "Search for your organisation"; } <div class="grid-row"> <div class="column-two-thirds"> <h1 class="heading-xlarge">Enter Companies House number</h1> <p>Use the Companies House number for an organisation that your apprentices will be employed through.</p> <p><a href="https...
Copy changes and companies house link on the company search page
Copy changes and companies house link on the company search page
C#
mit
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
a2967b5f6f04d8af2bf814b0d09edf5eed814dc3
ChartJS.NET/Charts/Bar/BarChart.cs
ChartJS.NET/Charts/Bar/BarChart.cs
using ChartJS.NET.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartJS.NET.Charts.Bar { public class BarChart : BaseChart<BarDataSet, BarChartOptions> { private readonly BarChartOptions _barChartOptions = ...
using ChartJS.NET.Infrastructure; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChartJS.NET.Charts.Bar { public class BarChart : BaseChart<BarDataSet, BarChartOptions> { private readonly BarChartOptions _barChartOptions = ...
Change bar chart type to bar instead of pie
Change bar chart type to bar instead of pie
C#
mit
nikspatel007/ChartJS.NET,nikspatel007/ChartJS.NET,nikspatel007/ChartJS.NET
87037e0da0b04bf2219b65fc8e35945cab11f167
MonJobs/Properties/AssemblyInfo.cs
MonJobs/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MonJobs")] [assembly: AssemblyDescription...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("MonJobs")] [assembly: AssemblyDescription...
Revert "new capabilites, minor version"
Revert "new capabilites, minor version" This reverts commit 425fb58a0c23d6321581ebb16167cfda224fd70f.
C#
mit
G3N7/MonJobs
40871a0258c16982a18e407184edc35ccc39617b
Curse.NET/CurseApiConverters.cs
Curse.NET/CurseApiConverters.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Curse.NET { internal class MillisecondEpochConverter : DateTimeConverterBase { private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object ...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Curse.NET { internal class MillisecondEpochConverter : DateTimeConverterBase { private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); public override void WriteJson(JsonWriter writer, object ...
Fix zero being interpreted as 1/1/1970 instead of DateTime.MinValue
Fix zero being interpreted as 1/1/1970 instead of DateTime.MinValue
C#
mit
Baggykiin/Curse.NET
2f888599f3ae995e42877be46a85c2ee4317ad0c
Examples/LoycInterop/Program.cs
Examples/LoycInterop/Program.cs
using System; using Pixie.Terminal; using Pixie.Loyc; using Pixie; using Pixie.Transforms; using Loyc.Syntax; using Loyc; using Loyc.Ecs; using Loyc.Collections; using Pixie.Markup; namespace LoycInterop { public static class Program { public static void Main(string[] args) { // Th...
using System; using Pixie.Terminal; using Pixie.Loyc; using Pixie; using Pixie.Transforms; using Loyc.Syntax; using Loyc; using Loyc.Ecs; using Loyc.Collections; using Pixie.Markup; namespace LoycInterop { public static class Program { public static void Main(string[] args) { // Th...
Add another error message to LoycInterop example
Add another error message to LoycInterop example
C#
mit
jonathanvdc/Pixie,jonathanvdc/Pixie
ffcc5f7cc3cb3a437d10268fca825c2ae12d9320
Client/Assets.cs
Client/Assets.cs
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
/* ** Project ShiftDrive ** (C) Mika Molenkamp, 2016. */ using System.Collections.Generic; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Audio; namespace ShiftDrive { /// <summary> /// A simple static container, for holding game assets like textures and meshes. /// </summary> ...
Add better exceptions for invalid keys
Add better exceptions for invalid keys
C#
bsd-3-clause
iridinite/shiftdrive
167c73c890648626c1f3e51485d16e032fc69a70
Assets/Scripts/Tank.cs
Assets/Scripts/Tank.cs
namespace Game { using UnityEngine; [RequireComponent(typeof(Collider))] public class Tank : MonoBehaviour { public PlayerController player; [Range(10f, 1000f)] public float max = 100f; [Range(0.1f, 20f)] public float leakRatePerSecond = 2f; [ReadOnly...
namespace Game { using UnityEngine; [RequireComponent(typeof(Collider))] public class Tank : MonoBehaviour { public PlayerController player; [Range(10f, 1000f)] public float max = 100f; [Range(0.1f, 20f)] public float leakRatePerSecond = 2f; [ReadOnly...
Change color of tank for debug purposes
Change color of tank for debug purposes
C#
mit
RamiAhmed/NGJ16
f634ea06cfefb1341ad7da6565b6ea8bfe9c2654
src/YnabApi/YnabApi.cs
src/YnabApi/YnabApi.cs
using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using YnabApi.Files; using YnabApi.Helpers; namespace YnabApi { public class YnabApi { private readonly IFileSystem _fileSystem; public YnabApi(...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using YnabApi.Files; using YnabApi.Helpers; namespace YnabApi { public class YnabApi { private readonly IFileSystem _fileSystem; p...
Add caching to the GetBudgetsAsync method
Add caching to the GetBudgetsAsync method
C#
mit
haefele/YnabApi,haefele/Ynab
3ffe93cd16f3d2ed06d445e64ef7b95c4761ea6e
src/GeoIP/Executers/MaxMindQuery.cs
src/GeoIP/Executers/MaxMindQuery.cs
using GeoIP.Models; using MaxMind.GeoIP2; using MaxMind.GeoIP2.Exceptions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GeoIP.Executers { public class MaxMindQuery : IQuery { public async Task<object> Query(string ipA...
using GeoIP.Models; using MaxMind.GeoIP2; using MaxMind.GeoIP2.Exceptions; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace GeoIP.Executers { public class MaxMindQuery : IQuery { public async Task<object> Query(string ipA...
Put Task.Run in a single line
Put Task.Run in a single line
C#
mit
zulhilmizainuddin/geoip,zulhilmizainuddin/geoip
89dd01c41616999579fcc4f84f7448f1fafaa2a4
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsPopularRequest.cs
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsPopularRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common { using Base.Get; using Objects.Basic; using Objects.Get.Shows; internal class TraktShowsPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktShow>, TraktShow> { internal TraktShowsPopularRequest(TraktClient client) : ba...
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common { using Base; using Base.Get; using Objects.Basic; using Objects.Get.Shows; internal class TraktShowsPopularRequest : TraktGetRequest<TraktPaginationListResult<TraktShow>, TraktShow> { internal TraktShowsPopularRequest(TraktCli...
Add filter property to popular shows request.
Add filter property to popular shows request.
C#
mit
henrikfroehling/TraktApiSharp
5b708fb8d47d6e5bb4374b6d1144ed8e89db999b
src/NewsReader/NewsReader.Presentation/Services/AppInfoService.cs
src/NewsReader/NewsReader.Presentation/Services/AppInfoService.cs
using Waf.NewsReader.Applications.Services; using Xamarin.Essentials; namespace Waf.NewsReader.Presentation.Services { public class AppInfoService : IAppInfoService { public AppInfoService() { AppName = AppInfo.Name; VersionString = AppInfo.VersionString + "." + AppInfo...
using Waf.NewsReader.Applications.Services; using Xamarin.Essentials; namespace Waf.NewsReader.Presentation.Services { public class AppInfoService : IAppInfoService { public AppInfoService() { AppName = AppInfo.Name; VersionString = AppInfo.VersionString; } ...
Revert "NR Improve display of version number"
Revert "NR Improve display of version number" This reverts commit c5568ddb6ff60c9e55b862e49ff1c8c3aa2d5fbb.
C#
mit
jbe2277/waf
90404ae0f36b0c28776c5a5e86188c7f3f67ad63
Rant.Tests/PackageVersions.cs
Rant.Tests/PackageVersions.cs
using NUnit.Framework; using Rant.Resources; namespace Rant.Tests { [TestFixture] public class PackageVersions { [TestCase("1.2.5", "1.2.4", true)] [TestCase("0.2.5", "0.2.4", true)] [TestCase("0.0.3", "0.0.4", false)] [TestCase("0.3.1", "0.4.0", false)] public void VersionGreaterThan(string v1, string ...
using NUnit.Framework; using Rant.Resources; namespace Rant.Tests { [TestFixture] public class PackageVersions { [TestCase("1.2.5", "1.2.4", true)] [TestCase("0.2.5", "0.2.4", true)] [TestCase("0.0.3", "0.0.4", false)] [TestCase("0.3.1", "0.4.0", false)] public void VersionGreaterThan(string v1, string ...
Add additional test case for package versions
Add additional test case for package versions
C#
mit
TheBerkin/Rant
f32c3e507da0e04421095b6e472744c177a20a49
Aggregator.Core/Script/PsScriptEngine.cs
Aggregator.Core/Script/PsScriptEngine.cs
using System.Collections.Generic; using System.Management.Automation.Runspaces; using Aggregator.Core.Interfaces; using Aggregator.Core.Monitoring; namespace Aggregator.Core { /// <summary> /// Invokes Powershell scripting engine /// </summary> public class PsScriptEngine : ScriptEngine { ...
using System.Collections.Generic; using System.Management.Automation.Runspaces; using Aggregator.Core.Interfaces; using Aggregator.Core.Monitoring; namespace Aggregator.Core { /// <summary> /// Invokes Powershell scripting engine /// </summary> public class PsScriptEngine : ScriptEngine { ...
FIX logger variable in PS scripts
FIX logger variable in PS scripts
C#
apache-2.0
tfsaggregator/tfsaggregator-webhooks,tfsaggregator/tfsaggregator
67bf7349ed6245c34024d56d919fde02da6e617b
src/FreecraftCore.Serializer.Compiler/Emitters/Method/RootSerializationMethodEmitter.cs
src/FreecraftCore.Serializer.Compiler/Emitters/Method/RootSerializationMethodEmitter.cs
using System; using System.Collections.Generic; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace FreecraftCore.Serializer { public class RootSerializationMethodBlockEmitter<TSerializableType> : IMethodBlockEmittable, INestedClassesEmittable where TSerializableType :...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace FreecraftCore.Serializer { public class RootSerializationMethodBlockEmitter<TSerializableType> : IMethodBlockEmittable, INestedClassesEmittable where ...
Make statically typed numeric generation distinct
Make statically typed numeric generation distinct
C#
agpl-3.0
FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer
cf59ed120878be5e9c0c029c6d0305ac24c187a9
KryBot/KryBot/Program.cs
KryBot/KryBot/Program.cs
using System; using System.IO; using System.Windows.Forms; using Microsoft.Win32; namespace KryBot { internal static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] private static void Main() { Reg...
using System; using System.IO; using System.Windows.Forms; using Microsoft.Win32; namespace KryBot { internal static class Program { /// <summary> /// Главная точка входа для приложения. /// </summary> [STAThread] private static void Main() { Reg...
Change force emulation IE10 to IE11 Изменена принудительная эмуляция IE10 на IE11
CHANGE: Change force emulation IE10 to IE11 Изменена принудительная эмуляция IE10 на IE11
C#
apache-2.0
KriBetko/KryBot
082000e21f6c32ef61c5380c3e874cb686edd593
Anlab.Mvc/Views/Analysis/Details.cshtml
Anlab.Mvc/Views/Analysis/Details.cshtml
@model AnlabMvc.Models.Analysis.AnalysisMethodViewModel @{ ViewBag.Title = @Model.AnalysisMethod.Title; } <div class="col-md-8"> <h2>@Model.AnalysisMethod.Id</h2> <h5>@Model.AnalysisMethod.Title</h5> @Html.Raw(Model.HtmlContent) </div> <div class="col-md-4"> <ul> @foreach (var metho...
@model AnlabMvc.Models.Analysis.AnalysisMethodViewModel @{ ViewBag.Title = @Model.AnalysisMethod.Title; } <div class="col-md-8"> <h2>@Model.AnalysisMethod.Id</h2> <h5>@Model.AnalysisMethod.Title</h5> @Html.Raw(Model.HtmlContent) </div> <div class="col-md-4"> <ul> @foreach (var method...
Add to the details page too
Add to the details page too
C#
mit
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
5b105656a97180e33b1e97b1cd36a7ac4a1d0869
XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs
XtabFileOpener/TableContainer/SpreadsheetTableContainer/ExcelTableContainer/ExcelTable.cs
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.Excel; namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer { /// <summary> /// Implementation of Table, that manages an Excel table /// </summary> internal...
using System; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Office.Interop.Excel; namespace XtabFileOpener.TableContainer.SpreadsheetTableContainer.ExcelTableContainer { /// <summary> /// Implementation of Table, that manages an Excel table /// </summary> internal...
Use cell.Value instead of cell.Value2 to allow for Date formatting
Use cell.Value instead of cell.Value2 to allow for Date formatting
C#
apache-2.0
TNG/xtab-opener
13b5d935fa7a50ceea62fe935bc79a0f78a1024b
Assets/PlanetSpawner.cs
Assets/PlanetSpawner.cs
using UnityEngine; using System.Collections; public class PlanetSpawner : MonoBehaviour { public GameObject camera; public GameObject planetPrefab; public GravityAttractor blackHole; // public GravityAttractor blackHole1; // public GravityAttractor blackHole2; public float force = 100f; void Start() { } ...
using UnityEngine; using System.Collections; public class PlanetSpawner : MonoBehaviour { public GameObject camera; public GameObject planetPrefab; public GravityAttractor blackHole; // public GravityAttractor blackHole1; // public GravityAttractor blackHole2; public float thrust = 100f; public float torque = 2...
Add torque to launched planets
Add torque to launched planets
C#
mit
aornelas/Tiny-Planets,aornelas/Tiny-Planets
335420283a3a26e12a5eb660ba8b5af1166bfc5e
Mamesaver/Windows/PlatformInvokeGDI32.cs
Mamesaver/Windows/PlatformInvokeGDI32.cs
using System; using System.Runtime.InteropServices; namespace Mamesaver.Windows { // This class contains the GDI32 APIs used... public class PlatformInvokeGdi32 { public const int SRCOPY = 13369376; [DllImport("gdi32.dll", EntryPoint = "DeleteDC")] public static extern IntPtr Dele...
using System; using System.Runtime.InteropServices; namespace Mamesaver.Windows { // This class contains the GDI32 APIs used... public class PlatformInvokeGdi32 { public const int SRCOPY = 13369376; [DllImport("gdi32.dll", EntryPoint = "DeleteDC")] public static extern IntPtr Dele...
Add stretchblt for copy and resize
Add stretchblt for copy and resize
C#
mit
mika76/mamesaver
1c7613c98225772affe228f60b49bae29807a873
src/AppHarbor/CommandDispatcher.cs
src/AppHarbor/CommandDispatcher.cs
using System; using System.Linq; using System.Collections.Generic; namespace AppHarbor { public class CommandDispatcher { private readonly IEnumerable<ICommand> _commands; public CommandDispatcher(IEnumerable<ICommand> commands) { _commands = commands; } public void Dispatch(string[] args) { var...
using System; using System.Linq; using System.Collections.Generic; namespace AppHarbor { public class CommandDispatcher { private readonly IEnumerable<ICommand> _commands; public CommandDispatcher(IEnumerable<ICommand> commands) { _commands = commands; } public void Dispatch(string[] args) { var...
Write command exception message to the console
Write command exception message to the console
C#
mit
appharbor/appharbor-cli
d63deb3273303eeac0a5681c2e83734ae1acadd4
WootzJs.Mvc/Views/TextBox.cs
WootzJs.Mvc/Views/TextBox.cs
using System; using System.Runtime.WootzJs; using WootzJs.Web; namespace WootzJs.Mvc.Views { public class TextBox : Control { public event Action Changed; public new InputElement Node { get { return base.Node.As<InputElement>(); } } public TextBoxType Type...
using System; using System.Runtime.WootzJs; using WootzJs.Web; namespace WootzJs.Mvc.Views { public class TextBox : Control { public event Action Changed; public new InputElement Node { get { return base.Node.As<InputElement>(); } } public TextBoxType Type...
Add MaxLength property to text boxes
Add MaxLength property to text boxes
C#
mit
kswoll/WootzJs,x335/WootzJs,kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs
546320fa79f395c936d3a6f3c3af7260a4ad5c02
osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.cs
osu.Framework/Platform/MacOS/MacOSReadableKeyCombinationProvider.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.Input.Bindings; using osu.Framework.Platform.SDL2; using SDL2; namespace osu.Framework.Platform.MacOS { public class MacOSReadableKeyCombinationP...
// 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.Input.Bindings; using osu.Framework.Platform.SDL2; using SDL2; namespace osu.Framework.Platform.MacOS { public class MacOSReadableKeyCombinationP...
Rename `Option` to `Opt` in key combination output
Rename `Option` to `Opt` in key combination output Is as well understood as "cmd" and much shorter.
C#
mit
peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework
1110e1885e1c76a354aa0b542936063c02b7fcbd
ZirMed.TrainingSandbox/Views/Home/About.cshtml
ZirMed.TrainingSandbox/Views/Home/About.cshtml
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <p>Use this area to provide additional information.</p>
@{ ViewBag.Title = "About"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <p>Use this area to provide additional information. Here is more groovy info.</p>
Expand p tag on about screen.
Expand p tag on about screen.
C#
mit
jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox,jpfultonzm/trainingsandbox
53466b37c216e0d91d57ef544d96604b6dd18fdd
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostWatchedRequest.cs
Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Shows/Common/TraktShowsMostWatchedRequest.cs
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common { using Base.Get; using Enums; using Objects.Basic; using Objects.Get.Shows.Common; using System.Collections.Generic; internal class TraktShowsMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostWatchedShow>, TraktM...
namespace TraktApiSharp.Requests.WithoutOAuth.Shows.Common { using Base; using Base.Get; using Enums; using Objects.Basic; using Objects.Get.Shows.Common; using System.Collections.Generic; internal class TraktShowsMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostWatc...
Add filter property to most watched shows request.
Add filter property to most watched shows request.
C#
mit
henrikfroehling/TraktApiSharp
13626244ce09c6e4f8e063cea32bffcb6e487672
src/QueueGettingStarted/Program.cs
src/QueueGettingStarted/Program.cs
using System; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Queue; using Microsoft.Extensions.Configuration; using System.Diagnostics; namespace QueueGettingStarted { public class Program { public static void Main(string[] args) { // configuration ...
using System; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Queue; using Microsoft.Extensions.Configuration; using System.Diagnostics; using System.Threading.Tasks; namespace QueueGettingStarted { public class Program { public static void Main(string[] args) { ...
Add async/await based pattern execution
Add async/await based pattern execution
C#
mit
peterblazejewicz/azure-aspnet5-examples,peterblazejewicz/azure-aspnet5-examples