commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
4792e3b12e3beaf0ed99585793c92c5d1178a1b4
Add tests for Tgstation.Server.Host.Program
tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server
tests/Tgstation.Server.Host.Tests/TestProgram.cs
tests/Tgstation.Server.Host.Tests/TestProgram.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using System.IO; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.IO; namespace Tgstation.Server.Host.Tests { /// <summary> /// Tests for <see cref="Program"/>. /// </summary> [TestClass] public sealed c...
agpl-3.0
C#
1895e154d99d3125d15506bf49fac255bd8834f1
Add missing file
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer.Client/Models/CreateApiKeyRequest.cs
BTCPayServer.Client/Models/CreateApiKeyRequest.cs
using System; using System.Collections.Generic; using System.Text; using BTCPayServer.Client.JsonConverters; using Newtonsoft.Json; namespace BTCPayServer.Client.Models { public class CreateApiKeyRequest { public string Label { get; set; } [JsonProperty(ItemConverterType = typeof(PermissionJso...
mit
C#
6a03d993f08f182f9203cff73246716c08aa135e
Fix a potential overflow issue in Environment.TickCount tests.
ellismg/corefx,SGuyGe/corefx,ellismg/corefx,krk/corefx,twsouthwick/corefx,DnlHarvey/corefx,jlin177/corefx,Ermiar/corefx,Petermarcu/corefx,iamjasonp/corefx,dotnet-bot/corefx,Chrisboh/corefx,JosephTremoulet/corefx,ellismg/corefx,ptoonen/corefx,stone-li/corefx,shahid-pk/corefx,ericstj/corefx,MaggieTsang/corefx,the-dwyer/c...
src/System.Runtime.Extensions/tests/System/Environment.TickCount.cs
src/System.Runtime.Extensions/tests/System/Environment.TickCount.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.Threading; using Xunit; namespace System.Tests { public class EnvironmentTickCount { [...
// 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.Threading; using Xunit; namespace System.Tests { public class EnvironmentTickCount { [...
mit
C#
29033dc370287fe435174c5c8325af1771513fcd
add the new Models
iordan93/TeamPompeii,iordan93/TeamPompeii,iordan93/TeamPompeii
PompeiiSquare/PompeiiSquare.Server/Areas/Administrator/Models/UserShowModel.cs
PompeiiSquare/PompeiiSquare.Server/Areas/Administrator/Models/UserShowModel.cs
using PompeiiSquare.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace PompeiiSquare.Server.Areas.Administrator.Models { public class UserShowModel { public string FirstName { get; set; } public string LastName { get; set; } ...
mit
C#
10f1ddd7687d5be6cb9ab67f0220ca1eef5f6bab
Add sync rendering for the consent field
kjac/FormEditor,kjac/FormEditor,kjac/FormEditor
Source/Umbraco/Views/Partials/FormEditor/FieldsSync/core.consent.cshtml
Source/Umbraco/Views/Partials/FormEditor/FieldsSync/core.consent.cshtml
@inherits Umbraco.Web.Mvc.UmbracoViewPage<FormEditor.Fields.ConsentField> <div class="form-group required @(Model.Invalid ? "has-error" : null) consent"> <div class="text"> @Html.Raw(Umbraco.ReplaceLineBreaksForHtml(Model.ConsentText)) </div> @if (string.IsNullOrWhiteSpace(Model.LinkText) == false && Mo...
mit
C#
514bea5c12ff013a529c0dc0b6e7cdd258fc7589
Add TestSceneIgnore
smoogipooo/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework
osu.Framework.Tests/Visual/Testing/TestSceneIgnore.cs
osu.Framework.Tests/Visual/Testing/TestSceneIgnore.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 NUnit.Framework; namespace osu.Framework.Tests.Visual.Testing { public class TestSceneIgnore : FrameworkTestScene { [Test] [...
mit
C#
7a2955f91f887f3eafeaebae8425d83858495925
Add remote message client publisher hub that clients can tap
mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/...
src/Glimpse.Server.Web/Resources/RemoteStreamMessageClientPublisherResource.cs
src/Glimpse.Server.Web/Resources/RemoteStreamMessageClientPublisherResource.cs
using Microsoft.AspNet.SignalR; using System; namespace Glimpse.Server.Resources { public class RemoteStreamMessageClientPublisherResource : Hub { } }
mit
C#
389f7cdaa72feb0eb58acf0413a6151314d85897
Add ValueChangedTriggerBehavior
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs
src/Avalonia.Xaml.Interactions/Custom/ValueChangedTriggerBehavior.cs
using System; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Custom { /// <summary> /// A behavior that performs actions when the bound data produces new value. /// </summary> public sealed class ValueChangedTriggerBehavior : Trigger { static ValueChangedTriggerBeh...
mit
C#
3024efd9478413394debcf83f9874edcbc702f03
Create main.cs
serega-cpp/mpTIFF
main.cs
main.cs
using System; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; public class MyMPTiffApp { [STAThread] public static int Main() { MyMPTiffApp app = new MyMPTiffApp(); app.DoGdiPlus(); return 0; } protected void DoGdiPlus() { //// Get source ...
unlicense
C#
3dbef1400c4de97fcf8ebb4b3952b4eff4a19b35
Refactor setting storage related
qianlifeng/Wox,mika76/Wox,sanbinabu/Wox,gnowxilef/Wox,shangvven/Wox,qianlifeng/Wox,dstiert/Wox,vebin/Wox,derekforeman/Wox,Wox-launcher/Wox,jondaniels/Wox,zlphoenix/Wox,vebin/Wox,lances101/Wox,JohnTheGr8/Wox,apprentice3d/Wox,renzhn/Wox,18098924759/Wox,kdar/Wox,shangvven/Wox,EmuxEvans/Wox,Wox-launcher/Wox,apprentice3d/Wo...
Wox.Infrastructure/Storage/UserSettings/PluginHotkey.cs
Wox.Infrastructure/Storage/UserSettings/PluginHotkey.cs
namespace Wox.Infrastructure.Storage.UserSettings { public class CustomPluginHotkey { public string Hotkey { get; set; } public string ActionKeyword { get; set; } } }
mit
C#
6d4bf11b0d52b3c1e08279c18b138422c22c3168
Update VlcManager.GetMediaMeta.cs
RickyGAkl/Vlc.DotNet,marcomeyer/Vlc.DotNet,raydtang/Vlc.DotNet,RickyGAkl/Vlc.DotNet,thephez/Vlc.DotNet,agherardi/Vlc.DotNet,raydtang/Vlc.DotNet,marcomeyer/Vlc.DotNet,ZeBobo5/Vlc.DotNet,thephez/Vlc.DotNet,agherardi/Vlc.DotNet,jeremyVignelles/Vlc.DotNet,xue-blood/wpfVlc,xue-blood/wpfVlc
src/Vlc.DotNet.Core.Interops/VlcManager.GetMediaMeta.cs
src/Vlc.DotNet.Core.Interops/VlcManager.GetMediaMeta.cs
using System; using System.Runtime.InteropServices; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core.Interops { public sealed partial class VlcManager { public string GetMediaMeta(VlcMediaInstance mediaInstance, MediaMetadatas metadata) { if (mediaInstance == In...
using System; using System.Runtime.InteropServices; using Vlc.DotNet.Core.Interops.Signatures; namespace Vlc.DotNet.Core.Interops { public sealed partial class VlcManager { public string GetMediaMeta(VlcMediaInstance mediaInstance, MediaMetadatas metadata) { if (mediaInstance == In...
mit
C#
4992bcfd191e8d3ec287a328e85749ba5bb60d04
Add files via upload
leocabrallce/HackerRank,leocabrallce/HackerRank
Algorithms/A_Very_Big_Sum/A_Very_Big_Sum_CSharp.cs
Algorithms/A_Very_Big_Sum/A_Very_Big_Sum_CSharp.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int n = Convert.ToInt32(Console.ReadLine()); string[] arr_temp = Console.ReadLine().Split(' '); long[] arr = Array.ConvertAll(arr_temp, Int6...
mit
C#
ab522e1569e23000df98840a2f286f233a973284
Add test coverage of team display on leaderboard
peppy/osu-new,UselessToucan/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerGameplayLeaderboardTeams.cs
osu.Game.Tests/Visual/Multiplayer/TestSceneMultiplayerGameplayLeaderboardTeams.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.Graphics; using osu.Framework.Testing; usi...
mit
C#
3a4adfa410756d72c1aa4a41bc3697b4fe40b6a7
Fix audio occlusion
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.Client/Audio/ContentAudioSystem.cs
Content.Client/Audio/ContentAudioSystem.cs
using Content.Shared.Physics; using Robust.Client.GameObjects; using Robust.Shared.GameObjects; namespace Content.Client.Audio { public sealed class ContentAudioSystem : EntitySystem { public override void Initialize() { base.Initialize(); Get<AudioSystem>().OcclusionCol...
mit
C#
20d09322ba79f0088984dd39bb0c2fa94d69636f
Add `Vector3Int.ToVector3` extension method
mminer/unity-extensions
Extensions/Vector3IntExtensions.cs
Extensions/Vector3IntExtensions.cs
using System; using UnityEngine; namespace Extensions { /// <summary> /// Extension methods for UnityEngine.Vector3Int. /// </summary> public static class Vector3IntExtensions { /// <summary> /// Converts a Vector3Int struct to a Vector3. /// </summary> /// <param na...
mit
C#
d9febe3a2c41847b1d3f3cb50d0ab2bca43d04c9
add MapDefaultHealthChecks extension
Abhith/Code.Library,Abhith/Code.Library
src/Code.Library.AspNetCore/Extensions/HealthCheckEndpointRouteBuilderExtensions.cs
src/Code.Library.AspNetCore/Extensions/HealthCheckEndpointRouteBuilderExtensions.cs
using Microsoft.AspNetCore.Diagnostics.HealthChecks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Routing; using HealthChecks.UI.Client; namespace Code.Library.AspNetCore.Extensions { public static class HealthCheckEndpointRouteBuilderExtensions { public static IEndpointRouteBuilder ...
apache-2.0
C#
d881fdaf1c6df653d5142ba2f379c4cbab5fc75b
add VS-generated AssemblyInfo.cs
isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp
models/SelfOrganizingPillProduction/Properties/AssemblyInfo.cs
models/SelfOrganizingPillProduction/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("SelfOrganizingPillProduction")] [assembly...
mit
C#
656efc674be9d7331ac48f1b9eed472dc1be0b7b
Add integration test for sitemap.xml
martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site,martincostello/alexa-london-travel-site
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...
apache-2.0
C#
59371c4af9d31a76aa34470fa67b110eb5cbd060
Test code
OlegJakushkin/AzureWebAppTest
site/index.cshtml
site/index.cshtml
@{ var txt = DateTime.Now; // C# } <html> <body> <p>The dateTime is @txt</p> </body> </html>
mit
C#
9162a7bea9554671cb903646ceae218dc064fc96
Create mediaPicker.cshtml
go4web/Umbraco-Snippets
mediaPicker.cshtml
mediaPicker.cshtml
@if (Model.Content.GetPropertyValue("topImage") != string.Empty) { var mediaItem = Umbraco.Media(@Model.Content.GetPropertyValue("topImage")); <img src="@mediaItem.Url" alt="@mediaItem.Name" /> }
mit
C#
c66252b22d5e11b4d415edb959eb2d8eeed03fb4
switch config
LeeCampbell/ReactiveTrader,singhdev/ReactiveTrader,mrClapham/ReactiveTrader,mrClapham/ReactiveTrader,rikoe/ReactiveTrader,AdaptiveConsulting/ReactiveTrader,HalidCisse/ReactiveTrader,rikoe/ReactiveTrader,singhdev/ReactiveTrader,jorik041/ReactiveTrader,abbasmhd/ReactiveTrader,LeeCampbell/ReactiveTrader,mrClapham/Reactive...
src/Adaptive.ReactiveTrader.Client.WindowsStoreApp/Configuration/ConfigurationProvider.cs
src/Adaptive.ReactiveTrader.Client.WindowsStoreApp/Configuration/ConfigurationProvider.cs
namespace Adaptive.ReactiveTrader.Client.Configuration { class ConfigurationProvider : IConfigurationProvider { public string[] Servers { //get { return new[] { "http://localhost:8080" }; } get { return new[] { "http://reactivetrader.azurewebsites.net/signalr" }; } ...
namespace Adaptive.ReactiveTrader.Client.Configuration { class ConfigurationProvider : IConfigurationProvider { public string[] Servers { get { return new[] { "http://localhost:8080" }; } //get { return new[] { "http://reactivetrader.azurewebsites.net/signalr" }; } ...
apache-2.0
C#
399c98ff1156cab6c16e81c0f746e5464f884465
Add Enumerable.IsEmpty and IsNullOrEmpty
nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke
source/Nuke.Common/Utilities/Collections/Enumerable.Emptiness.cs
source/Nuke.Common/Utilities/Collections/Enumerable.Emptiness.cs
// Copyright 2021 Maintainers of NUKE. // Distributed under the MIT License. // https://github.com/nuke-build/nuke/blob/master/LICENSE using System.Collections.Generic; using System.Linq; namespace Nuke.Common.Utilities.Collections { public static partial class EnumerableExtensions { public static bo...
mit
C#
850ee6a25bef9631c2a82c3695d1e282a3aa7699
change LetterboxPosition from integer to double
ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,paparony03/osu-framework,ppy/osu-framework,paparony03/osu-framework,RedNesto/osu-framework,naoey/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,default0/osu-frame...
osu.Framework/Configuration/FrameworkConfigManager.cs
osu.Framework/Configuration/FrameworkConfigManager.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Platform; namespace osu.Framework.Configuration { public class FrameworkConfigManager : ConfigManager<FrameworkConfig> { ...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using osu.Framework.Platform; namespace osu.Framework.Configuration { public class FrameworkConfigManager : ConfigManager<FrameworkConfig> { ...
mit
C#
fced262c41859aa3fc01f3ffcb3eeded6610245e
Add labelled dropdown component
EVAST9919/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,smoogipooo/osu,peppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,johnneijzen/osu,ppy/osu,peppy/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu
osu.Game/Graphics/UserInterfaceV2/LabelledDropdown.cs
osu.Game/Graphics/UserInterfaceV2/LabelledDropdown.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 osu.Framework.Graphics; using osu.Game.Graphics.UserInterface; namespace osu.Game.Graphics.UserInterfaceV2 { public class Lab...
mit
C#
911d7f4018a3dbecf13ab64c8044945658c0a6ea
Add Twitch filter for blockings
Nanabell/NoAdsHere
NoAdsHere/Services/AntiAds/Twitch.cs
NoAdsHere/Services/AntiAds/Twitch.cs
using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Discord; using Discord.Commands; using Discord.WebSocket; using Microsoft.Extensions.DependencyInjection; using MongoDB.Driver; using NLog; using NoAdsHere.Common; using NoAdsHere.Services.Penalties; namespace No...
mit
C#
bc99bed0388d2d5691915943e5307144e2ba953c
Read file from osz archive.
Meowtrix/osu-Auto-Mapping-Toolkit
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...
mit
C#
1f1f2f41b83225992c3e3071706a6a69499682f0
add LiteQueryable IncludeAll extension
zmira/abremir.AllMyBricks
abremir.AllMyBricks.Data/Extensions/LiteQueryableExtension.cs
abremir.AllMyBricks.Data/Extensions/LiteQueryableExtension.cs
using LiteDB; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace abremir.AllMyBricks.Data.Extensions { public static class LiteQueryableExtension { public static ILiteQueryable<T> IncludeAll<T>(this ILiteQueryable<T> liteQuer...
mit
C#
d2a088ab25d2648bef9c109117f4558cf27b3616
Create JamesPetty.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/JamesPetty.cs
src/Firehose.Web/Authors/JamesPetty.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MarkKraus : IAmACommunityMember, IFilterMyBlogPosts { public string FirstName => "James"; ...
mit
C#
55148de344c2bde8507229d4d136f763dd9b7432
Add DataQueue.cs
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
QueueDataGraphic/QueueDataGraphic/CSharpFiles/DataQueue.cs
QueueDataGraphic/QueueDataGraphic/CSharpFiles/DataQueue.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace QueueDataGraphic.CSharpFiles { class DataQueue { } }
apache-2.0
C#
83a73e6e8d7525e21559d1b5c2e2eb53a3e74ab5
Create Edit.cshtml
CarmelSoftware/Generic-Data-Repository-for-ASP.NET-MVC
Views/Blogs/Edit.cshtml
Views/Blogs/Edit.cshtml
@model GenericRepository.Models.Blog @{ ViewBag.Title = "Edit"; } <div class="jumbotron"> <h2>Generic Data Repository - Edit</h2><br /><h4>By Carmel Schvartzman</h4> </div> <div class="jumbotron"> @using (Html.BeginForm()) { @Html.AntiForgeryToken() @Html.ValidationSummary(true) <fieldset> <le...
mit
C#
5924cd05d99c68efb11763d58017a3b65ffd2cae
Create PuppetVrRig.cs
efruchter/UnityUtilities
PuppetVrRig.cs
PuppetVrRig.cs
using System; using UnityEngine; /// <summary> /// Copies transform position/orientation from one reference frame to another. /// </summary> public class PuppetVrRig : MonoBehaviour { [ SerializeField, Tooltip( "The Rig that you want the puppet to imitate." ) ] private RigProfile driver; [ SerializeField, Tooltip(...
mit
C#
d9dc9621046493747d23c26c657b09907b5025d4
Add foundation of integration test runner
SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk,SoundMetrics/aris-integration-sdk
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...
mit
C#
e50c749126caae0030f88c63e63f6834bb2499b4
Disable parallelization on the AspNet Integration tests (#1762)
jskeet/gcloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,googleapis/google-cloud-dotnet,benwulfe/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,evildour/google-cloud-dotnet,benwulfe/google-cloud-dotnet,iantalarico/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantala...
apis/Google.Cloud.Diagnostics.AspNet/Google.Cloud.Diagnostics.AspNet.IntegrationTests/AssemblyInfo.cs
apis/Google.Cloud.Diagnostics.AspNet/Google.Cloud.Diagnostics.AspNet.IntegrationTests/AssemblyInfo.cs
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
apache-2.0
C#
ae042c243425be4ac6472be69995482db9488a71
Create MapColumn.cs
lancyan/SQLServerSync
MapColumn.cs
MapColumn.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ZD.SyncDB { public class MapColumn { public string Name { get; set; } public bool IsPrimaryKey { get; set; } public Type ColumnType { get; set; } } }
apache-2.0
C#
0a173be4579887823ff0ad1731bd77ab8a2a380c
Create c5p6.cs
jtibau/EjerciciosSebesta,jtibau/EjerciciosSebesta,jtibau/EjerciciosSebesta
c5p6.cs
c5p6.cs
using System; class c5p6 { static void Main() { for(int i = 0 ; i < 10 ; i++) { Console.WriteLine(i); } Console.WriteLine(i); //Intentando acceder a variable i } } //c5p6.cs(11,23): error CS0103: The name `i' does //not exist in the current context
unlicense
C#
c877e2929d7388bebdbb1fcfe65b8f4b15ad195f
enable migration of database
DatabaseApp-Team-Linnaeus/DatabasesApp,DatabaseApp-Team-Linnaeus/DatabasesApp
SupermarketsChain/SupermarketsChain.Data/Migrations/Configuration.cs
SupermarketsChain/SupermarketsChain.Data/Migrations/Configuration.cs
namespace SupermarketsChain.Data.Migrations { using System; using System.Data.Entity; using System.Data.Entity.Migrations; using System.Linq; using SupermarketsChain.Models; internal sealed class Configuration : DbMigrationsConfiguration<SupermarketsChain.Data.SupermarketsChainDbConte...
mit
C#
db326038f073de9fa9ce4a9bcc87644d98087ecf
Add snippet getting messages prices for twilio-csharp 4.x
TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snip...
pricing/get-messaging-country/get-messaging-country.4.x.cs
pricing/get-messaging-country/get-messaging-country.4.x.cs
// The C# helper library 5.x will support Pricing Messaging, for now we'll use a simple RestSharp HTTP client using RestSharp; using RestSharp.Authenticators; using System; using System.Collections.Generic; public class Example { public static void Main(string[] args) { // Find your Account SID and Aut...
mit
C#
5f96e34b1a183dfcf0f791d77c6a8add30e599dd
Add math extension
theezak/BloomFilters
TBag.BloomFilter.Test/MathExtensions.cs
TBag.BloomFilter.Test/MathExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TBag.BloomFilter.Test { internal static class MathExtensions { public static double Variance(this IEnumerable<int> source) { if (source == null)...
mit
C#
40571bbae89a9e53bbda7e0584bfecb8d03561b9
Fix test to use serializable classes now that ERLB clones objects on save.
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
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 { [Serializable] public class ERitem : BusinessBase<ERitem> { string _data = string.Empty; public string Data { [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.Met...
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...
mit
C#
dd38f0cb26e428b6ec6a77256a325a466cfd412c
Add RemoveClassAction
wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Custom/RemoveClassAction.cs
src/Avalonia.Xaml.Interactions/Custom/RemoveClassAction.cs
using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Custom { /// <summary> /// Removes a specified <see cref="RemoveClassAction.ClassName"/> from <see cref="IStyledElement.Classes"/> collection when invoked. /// </summary> public class RemoveClassAction : AvaloniaObject, IAction { ...
mit
C#
48d4c797b34f69e9ee1be450eea3e7056cacbc01
Create CommandLineConfigurationExtensions.cs
tiksn/TIKSN-Framework
TIKSN.Core/Configuration/CommandLineConfigurationExtensions.cs
TIKSN.Core/Configuration/CommandLineConfigurationExtensions.cs
using System.Collections.Generic; using Microsoft.Extensions.Configuration; using TIKSN.Analytics.Logging.NLog; namespace TIKSN.Configuration { public static class CommandLineConfigurationExtensions { public static IConfigurationBuilder AddFrameworkCommandLine( this IConfigurationBuilder co...
mit
C#
46f4bd70b73aace82fc3133f97a98ed576089aef
Create UserDetail.cs
ryanmcdonough/CrowdSSO
UserDetail.cs
UserDetail.cs
public class UserDetail { public int ID { get; set; } public string Username { get; set; } public string Email { get; set; } public string FirstName { get; set; } public string LastName { get; set; } // Serialize public override string ToString() ...
mit
C#
e3218bc51da464a8c3033c2d75e78ae69e56de48
Fix EventSource test to be aware of ArrayPoolEventSource
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...
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...
mit
C#
405b6c301e704b19bdad6f702ecef206d15e5551
Add AccountAvailableCash enum
jzebedee/lcapi
LCAPI/LCAPI/Models/AccountAvailableCash.cs
LCAPI/LCAPI/Models/AccountAvailableCash.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LendingClub.Models { /// <summary> /// Provides the most up to date value of the cash available in the investor's account. /// </summary> public class AccountAvailableCash ...
agpl-3.0
C#
dab1197e4879367cf9949e336423e9a2a638c580
Rename the ___<P,F> overloads to __Convert<P,F> to allow for better type inference by the compiler.
rockfordlhotka/csla,rockfordlhotka/csla,jonnybee/csla,jonnybee/csla,rockfordlhotka/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,MarimerLLC/csla,ronnymgm/csla-light,JasonBock/csla,JasonBock/csla,BrettJaner/csla,jonnybee/csla,BrettJaner/csla,MarimerLLC/csla,ronnymgm/csla-light,BrettJaner/csla
cslalighttest/CslaLight.Testing/Server/EditableRootTests/MockEditableRoot.cs
cslalighttest/CslaLight.Testing/Server/EditableRootTests/MockEditableRoot.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Csla.Serialization; namespace Csla.Testing.Business.EditableRootTests { [Serializable] public partial class MockEditableRoot : BusinessBase<MockEditableRoot> { public static r...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using Csla.Serialization; namespace Csla.Testing.Business.EditableRootTests { [Serializable] public partial class MockEditableRoot : BusinessBase<MockEditableRoot> { public static r...
mit
C#
bf7532998075a94094c6b5d63de3b2d1b0a4896a
Update XML comment of `ClearsValueUsingCtrlADeleteKeysAttribute`
atata-framework/atata,atata-framework/atata
src/Atata/Attributes/Behaviors/ValueClear/ClearsValueUsingCtrlADeleteKeysAttribute.cs
src/Atata/Attributes/Behaviors/ValueClear/ClearsValueUsingCtrlADeleteKeysAttribute.cs
using System.Runtime.InteropServices; using OpenQA.Selenium; namespace Atata { /// <summary> /// Represents the behavior for control value clearing by performing "Ctrl+A, Delete" ("Cmd+A, Delete" on macOS) keyboard shortcut. /// </summary> public class ClearsValueUsingCtrlADeleteKeysAttribute ...
using System.Runtime.InteropServices; using OpenQA.Selenium; namespace Atata { /// <summary> /// Represents the behavior for control value clearing by performing "Ctrl+A, Delete" keyboard shortcut. /// </summary> public class ClearsValueUsingCtrlADeleteKeysAttribute : ValueClearBehaviorAttribu...
apache-2.0
C#
16bf2d1498b5e652bb52b000579530953c2319ac
Remove unused LogCallback
treziac/confluent-kafka-dotnet,treziac/confluent-kafka-dotnet,MrGlenThomas/confluent-kafka-dotnet,ah-/rdkafka-dotnet,MaximGurschi/rdkafka-dotnet,MrGlenThomas/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet,bjornicus/confluent-kafka-dotnet
src/RdKafka/Library.cs
src/RdKafka/Library.cs
using System; using System.Runtime.InteropServices; using RdKafka.Internal; namespace RdKafka { public static class Library { /// <summary> /// Returns the librdkafka version as integer. /// /// Interpreted as hex MM.mm.rr.xx: /// - MM = Major /// - mm = minor ...
using System; using System.Runtime.InteropServices; using RdKafka.Internal; namespace RdKafka { public static class Library { public delegate void LogCallback(string handle, int level, string fac, string buf); /// <summary> /// Returns the librdkafka version as integer. /// ...
apache-2.0
C#
ea46f26e9540ca2683bfdacbeadc22c3115c023d
Add Support for Contentment Content blocks.
KevinJump/uSync,KevinJump/uSync,KevinJump/uSync
uSync.Community.Contrib/Mappers/ContentmentContentBlocks.cs
uSync.Community.Contrib/Mappers/ContentmentContentBlocks.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Linq; using Umbraco.Cms.Core.Services; using Umbraco.Extensions; using uSync.Core.Dependency; using uSync.Core.Mapping; namespace uSync.Community.Contrib.Mappers { /// <summary> /// value mapper...
mpl-2.0
C#
0c7ef7f899ba3021705074af9f37f82f54abcd64
Add Database methods
sjrawlins/JobSearchScorecard
JobSearchScorecard.PCL/Data/ScorecardDatabase.cs
JobSearchScorecard.PCL/Data/ScorecardDatabase.cs
using System; using System.Diagnostics; using SQLite; using System.Collections.Generic; using System.Linq; using Xamarin.Forms; namespace JobSearchScorecard { public class ScorecardDatabase { static object locker = new object (); SQLiteConnection database; public ScorecardDatabase() { database = Depe...
bsd-3-clause
C#
0ace5e5843af895841267acab0a63917aeb4fb06
Add new tables
olebg/Movie-Theater-Project
MovieTheater/MovieTheater.Models/HallShedules.cs
MovieTheater/MovieTheater.Models/HallShedules.cs
namespace MovieTheater.Models { public class HallShedules { } }
mit
C#
76fcb92fe72a4ccdfe70261e0c69628ea4e80430
Add snippet to list voice countries for Twilio-csharp 4.x
TwilioDevEd/api-snippets,teoreteetik/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snippets,TwilioDevEd/api-snippets,teoreteetik/api-snip...
pricing/list-messaging-countries/list-messaging-countries.4.x.cs
pricing/list-messaging-countries/list-messaging-countries.4.x.cs
// The C# helper library 5.x will support Pricing Messaging, for now we'll use a simple RestSharp HTTP client using RestSharp; using RestSharp.Authenticators; using System; using System.Collections.Generic; class VoiceCountry { public string Country { get; set; } public string IsoCountry { get; set; } publ...
mit
C#
6d394e0fbb8c69a39eb1ae16808e77f21e07be85
Create SumOfSelfPowers.cs
DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges,DuckBoss/Programming-Challenges
Sum_Of_Self_Powers/SumOfSelfPowers.cs
Sum_Of_Self_Powers/SumOfSelfPowers.cs
using System; namespace SumOfSelfPowers { class MainClass { public static void Main(string[] args) { if (args.Length < 1) { Console.WriteLine("This program requires 1 integer input"); Environment.Exit(0); } long totalSum = 0; int inputtedNum = Convert.ToInt32(args[0]); for (int i = 1; ...
unlicense
C#
515b0bf3db095273818ee9a98d66c6d114707c06
Add Debug.cs file
60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope
UartOscilloscope/CSharpFiles/Debug.cs
UartOscilloscope/CSharpFiles/Debug.cs
/******************************************************************** * Develop by Jimmy Hu * * This program is licensed under the Apache License 2.0. * * Debug.cs * * 本檔案用於宣告偵錯相關工具物件 * ******************************************************************** */ using System; using...
apache-2.0
C#
d7b5934636a97342e270ddc3586a6d1b0c602216
Create CameraSetup.cs
BorisMilkman/PathFinding3D
Unity3d/Scripts/Camera/CameraSetup.cs
Unity3d/Scripts/Camera/CameraSetup.cs
using UnityEngine; using System.Collections; public class CameraSetup : MonoBehaviour { void Start () { gameObject.transform.position = new Vector3(30, 30, 30); gameObject.transform.Rotate(new Vector3(35, 225, 0)); } }
mit
C#
1989baf76ee5ad72082a937049ee843c20909ec0
添加 Xlsx 类型字段;
hjj2017/xgame-code_server,hjj2017/xgame-code_server,hjj2017/xgame-code_server,hjj2017/xgame-code_server
client_wpf/Xgame.GamePart/Tmpl/XlsxTmplServ.cs
client_wpf/Xgame.GamePart/Tmpl/XlsxTmplServ.cs
using System; namespace Xgame.GamePart.Tmpl { /// <summary> /// Xlsx 模板服务 /// </summary> public sealed class XlsxTmplServ { /** 单例对象 */ public static readonly XlsxTmplServ OBJ = new XlsxTmplServ(); #region 类构造器 /// <summary> /// 类默认构造器 /// </summary...
apache-2.0
C#
0e941adaf80554f0c78aaa2322fc3b564310cfab
Create CommandDataModel
DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho,DimitarDKirov/Forum-Paulo-Coelho
Forum-Paulo-Coelho/ForumSystem.Api/Models/CommentDataModel.cs
Forum-Paulo-Coelho/ForumSystem.Api/Models/CommentDataModel.cs
namespace ForumSystem.Api.Models { using ForumSystem.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Linq.Expressions; using System.Web; public class CommentDataModel { public s...
mit
C#
bbce843fe0793278bc5b0f428f303fc6de42a8dc
Create Graphics_Blit.cs
UnityCommunity/UnityLibrary
Docs/Graphics/Graphics_Blit.cs
Docs/Graphics/Graphics_Blit.cs
using UnityEngine; using System.Collections; // Example: Using Graphics.Blit to draw a full screen texture, with particle shader // Usage: Attach to Main Camera // Optional: Assign some texture into the displayTexture field in inspector public class Graphics_Blit : MonoBehaviour { public Texture displayTexture; /...
mit
C#
63e9cef1754bd961e2a1c0e1a4c5fe18d88ba8c7
Create Timeseries.cs
danesparza/MailChimp.NET,marmind/MailChimp.NET-APIv2
MailChimp/Reports/Timeseries.cs
MailChimp/Reports/Timeseries.cs
using System.Runtime.Serialization; namespace MailChimp.Reports { /// <summary> /// optional - various extra options based on the campaign type /// </summary> [DataContract] public class Industry { /// <summary> ///the selected industry /// </summary> [DataMember(Name ...
mit
C#
520635d40565f39d410f1e72cc9a163e2687401c
Add ContextAccessor
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Helpers/ContextAccessor.cs
src/WeihanLi.Common/Helpers/ContextAccessor.cs
// Copyright (c) Weihan Li. All rights reserved. // Licensed under the Apache license. namespace WeihanLi.Common.Helpers; public sealed class ContextAccessor<TContext> where TContext: class { private static readonly AsyncLocal<ContextHolder<TContext>> ContextCurrent = new(); public static TContext? Conte...
mit
C#
c42caaa1017d8727a6f71d74fd24d0e4237e47e2
Fix a small, old typo
halforbit/data-stores
Halforbit.DataStores/FileStores/LocalStorage/Attributes/RootPathAttribute.cs
Halforbit.DataStores/FileStores/LocalStorage/Attributes/RootPathAttribute.cs
using Halforbit.DataStores.FileStores.Implementation; using Halforbit.DataStores.FileStores.LocalStorage.Implementation; using Halforbit.Facets.Attributes; using System; namespace Halforbit.DataStores.FileStores.LocalStorage.Attributes { public class RootPathAttribute : FacetParameterAttribute { ...
using Halforbit.DataStores.FileStores.Implementation; using Halforbit.DataStores.FileStores.LocalStorage.Implementation; using Halforbit.Facets.Attributes; using System; namespace HalfOrbit.DataStores.FileStores.LocalStorage.Attributes { public class RootPathAttribute : FacetParameterAttribute { ...
mit
C#
42f3f30a2538abf324e00e92df60b523d4d3ea3e
Fix default value.
nuitsjp/KAMISHIBAI
Sample/SampleBrowser/SampleBrowser.ViewModel/Page/NavigationMenuViewModel.cs
Sample/SampleBrowser/SampleBrowser.ViewModel/Page/NavigationMenuViewModel.cs
using System.Windows.Input; using Kamishibai; using Microsoft.Toolkit.Mvvm.Input; using PropertyChanged; namespace SampleBrowser.ViewModel.Page; [AddINotifyPropertyChangedInterface] public class NavigationMenuViewModel : IPausingAware { private readonly IPresentationService _presentationService; public Navi...
using System.Windows.Input; using Kamishibai; using Microsoft.Toolkit.Mvvm.Input; using PropertyChanged; namespace SampleBrowser.ViewModel.Page; [AddINotifyPropertyChangedInterface] public class NavigationMenuViewModel : IPausingAware { private readonly IPresentationService _presentationService; public Navi...
mit
C#
cd3b5e23282f089e59b737407e270bf035372b66
Add 'number of pages' config for DeleteItemPage
dustinleavins/LeavinsSoftware.CIB
LeavinsSoftware.Collection.Program/DeleteItemPage.xaml.cs
LeavinsSoftware.Collection.Program/DeleteItemPage.xaml.cs
// Copyright (c) 2013, 2014 Dustin Leavins // See the file 'LICENSE.txt' for copying permission. using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Wi...
// Copyright (c) 2013, 2014 Dustin Leavins // See the file 'LICENSE.txt' for copying permission. using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Wi...
mit
C#
68912c257276199a48cab8eaf77dad4f771c2030
Create Sequence Marker only if it is used.
linksplatform/Crawler,linksplatform/Crawler,linksplatform/Crawler
Platform/Platform.Data.Core/Sequences/SequencesOptions.cs
Platform/Platform.Data.Core/Sequences/SequencesOptions.cs
using System; using Platform.Data.Core.Pairs; namespace Platform.Data.Core.Sequences { public struct SequencesOptions // TODO: To use type parameter <TLink> the ILinks<TLink> must contain GetConstants function. { public ulong SequenceMarkerLink; public bool UseCascadeUpdate; public boo...
using System; using Platform.Data.Core.Pairs; namespace Platform.Data.Core.Sequences { public struct SequencesOptions // TODO: To use type parameter <TLink> the ILinks<TLink> must contain GetConstants function. { public ulong SequenceMarkerLink; public bool UseCascadeUpdate; public boo...
unlicense
C#
c17774e23c6b770d07cd2d9ea059ca1bcc4dff1a
Add xmldoc
smoogipooo/osu,peppy/osu-new,peppy/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,ppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu
osu.Game/Utils/TaskChain.cs
osu.Game/Utils/TaskChain.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. #nullable enable using System; using System.Threading.Tasks; namespace osu.Game.Utils { /// <summary> /// A chain of <see cref="Task"/>s that run sequentially. ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using System; using System.Threading.Tasks; namespace osu.Game.Utils { /// <summary> /// A chain of <see cref="Task"/>s that run sequentially. ...
mit
C#
d509debd0c7fe059e1c5d0fb721cf20a7610cf20
Disable walk-behind drawable by default
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine/Rooms/Areas/AGSWalkBehindsMap.cs
Source/Engine/AGS.Engine/Rooms/Areas/AGSWalkBehindsMap.cs
using AGS.API; using System.Collections.Generic; using AreaKey = System.ValueTuple<AGS.API.IArea, AGS.API.IBitmap>; using System; namespace AGS.Engine { public class AGSWalkBehindsMap { private readonly Dictionary<AreaKey, IImage> _images; private readonly Dictionary<AreaKey, IObject> _objects; private readon...
using AGS.API; using System.Collections.Generic; using AreaKey = System.ValueTuple<AGS.API.IArea, AGS.API.IBitmap>; using System; namespace AGS.Engine { public class AGSWalkBehindsMap { private readonly Dictionary<AreaKey, IImage> _images; private readonly Dictionary<AreaKey, IObject> _objects; private readon...
artistic-2.0
C#
13aafc96b177038568ad353f51f514cf43024af9
Add property for response content, mapped to Data collection.
mios-fi/mios.payment
core/VerificationProviderException.cs
core/VerificationProviderException.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mios.Payment { [Serializable] public class VerificationProviderException : Exception { public string ResponseContent { get { return Data["Response"] as string; } set { Dat...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Mios.Payment { [Serializable] public class VerificationProviderException : Exception { public VerificationProviderException() { } public VerificationProviderException(string me...
bsd-2-clause
C#
40773d6ad8f33db483f474606fb5177ddef9556e
Add basic crosshair
Warhead-Entertainment/OpenWorld
Assets/Scripts/HUD.cs
Assets/Scripts/HUD.cs
using UnityEngine; using System.Collections; public class HUD : MonoBehaviour { private int frameCount = 0; private float dt = 0.0F; private float fps = 0.0F; private float updateRate = 4.0F; void Start () { } void Update () { frameCount++; dt += Time.deltaTime; if (dt > 1.0F / updateRate) { fps = ...
using UnityEngine; using System.Collections; public class HUD : MonoBehaviour { private int frameCount = 0; private float dt = 0.0F; private float fps = 0.0F; private float updateRate = 4.0F; void Start () { } void Update () { frameCount++; dt += Time.deltaTime; if (dt > 1.0F / updateRate) { fps = ...
mit
C#
eec3c4ecec2febf14726748c48cf509b6986358b
Fix Linux build (BL-3665)
BloomBooks/BloomDesktop,StephenMcConnel/BloomDesktop,BloomBooks/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,StephenMcConnel/BloomDesktop,JohnThomson/BloomDesktop,BloomBooks/BloomDesktop,BloomBooks/BloomDesktop,andrew-polk/BloomDesktop,gmartin7/myBloomFork,StephenMcConnel/BloomDesktop,BloomBooks/Bloom...
src/BloomExe/RobustIO.cs
src/BloomExe/RobustIO.cs
using System; using System.Collections.Generic; #if !__MonoCS__ using NAudio.Wave; #endif using SIL.Code; using SIL.Windows.Forms.ClearShare; using SIL.Windows.Forms.ImageToolbox; using TidyManaged; namespace Bloom { /// <summary> /// Provides a more robust version of various IO methods. /// The original intent of...
using System; using System.Collections.Generic; using NAudio.Wave; using SIL.Code; using SIL.Windows.Forms.ClearShare; using SIL.Windows.Forms.ImageToolbox; using TidyManaged; namespace Bloom { /// <summary> /// Provides a more robust version of various IO methods. /// The original intent of this class is to attem...
mit
C#
6fd839223e5569367916c5176e65476abbcb442b
Fix Blockbusters not accepting uppercase input
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BlockbustersComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BlockbustersComponentSolver.cs
using System.Collections; using System.Linq; using System.Text.RegularExpressions; public class BlockbustersComponentSolver : ComponentSolver { public BlockbustersComponentSolver(TwitchModule module) : base(module) { selectables = Module.BombComponent.GetComponent<KMSelectable>().Children; ModInfo = Component...
using System.Collections; using System.Linq; using System.Text.RegularExpressions; public class BlockbustersComponentSolver : ComponentSolver { public BlockbustersComponentSolver(TwitchModule module) : base(module) { selectables = Module.BombComponent.GetComponent<KMSelectable>().Children; ModInfo = Component...
mit
C#
2378d926e8e265ffecc3320869849c7554eda4dd
Set DOTNET_HOST_PATH so Roslyn tasks will use the right host
Microsoft/msbuild,mono/msbuild,mono/msbuild,AndyGerlicher/msbuild,cdmihai/msbuild,rainersigwald/msbuild,mono/msbuild,AndyGerlicher/msbuild,jeffkl/msbuild,chipitsine/msbuild,sean-gilliam/msbuild,cdmihai/msbuild,sean-gilliam/msbuild,chipitsine/msbuild,jeffkl/msbuild,cdmihai/msbuild,Microsoft/msbuild,chipitsine/msbuild,ch...
build/TestAssemblyInfo.cs
build/TestAssemblyInfo.cs
 using System; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Xml.Linq; using Xunit; [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)] // Register test framework for assembly fixture [assembly: TestFramework("Xunit.NetCore.Extensions.XunitTestFrameworkW...
 using Xunit; [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly)]
mit
C#
f36b8d09d83c71f8ffadaf894fda8a06abad3c1a
Update UserStore.cs
aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template,aspnetboilerplate/module-zero-core-template
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Authorization/Users/UserStore.cs
aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Authorization/Users/UserStore.cs
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using Abp.Organizations; using AbpCompanyName.AbpProjectName.Authorization.Roles; namespace AbpCompanyName.AbpProjectName.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public ...
using Abp.Authorization.Users; using Abp.Domain.Repositories; using Abp.Domain.Uow; using Abp.Linq; using Abp.Organizations; using AbpCompanyName.AbpProjectName.Authorization.Roles; namespace AbpCompanyName.AbpProjectName.Authorization.Users { public class UserStore : AbpUserStore<Role, User> { public ...
mit
C#
830ee023812c1016712e66d7608d4e3a3d260889
switch synapse to have axon ptr instead of value
jobeland/NeuralNetwork
NeuralNetwork/NeuralNetwork/Synapse.cs
NeuralNetwork/NeuralNetwork/Synapse.cs
namespace ArtificialNeuralNetwork { public class Synapse { public IAxon Axon { get; set; } public double Weight { get; set; } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtificialNeuralNetwork { public class Synapse { public double Value { get; set; } public double Weight { get; set; } } }
mit
C#
ed1afa1cf0d9beba87d154495946bb1df85eda7b
Update BigtableClientBuilder to populate LastCreatedChannel
googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/gcloud-dotnet
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/BigtableClientBuilder.cs
apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/BigtableClientBuilder.cs
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
3ff7fe147f690fcfa11f6164f63f123bec560fa9
Update DefaultTableService.cs
tamasflamich/nmemory
Main/Source/NMemory.Shared/Services/DefaultTableService.cs
Main/Source/NMemory.Shared/Services/DefaultTableService.cs
// ---------------------------------------------------------------------------------- // <copyright file="DefaultTableService.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docum...
// ---------------------------------------------------------------------------------- // <copyright file="DefaultTableService.cs" company="NMemory Team"> // Copyright (C) NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated docum...
mit
C#
0f418d50a7d5e1d82df4d7baeb70ee9ac83635c3
Update HttpPoller.cs
keith-hall/Extensions,keith-hall/Extensions
src/HttpPoller.cs
src/HttpPoller.cs
using System; using System.Net; using System.Reactive.Linq; namespace HallLibrary.Extensions { public static class HttpPoller { public struct ResponseDetails { public WebHeaderCollection Headers; public string Text; } /// <summary> /// Poll a <paramref name="url"/> at the specified <paramref name=...
using System; using System.Net; using System.Reactive.Linq; namespace HallLibrary.Extensions { public static class HttpPoller { public struct ResponseDetails { public WebHeaderCollection Headers; public string Text; } /// <summary> /// Poll a <paramref name="url"/> at the specified <paramref name=...
apache-2.0
C#
be775954e058c7e95d4ce9bdbaf43ea2a636deed
bump version
Fody/Freezable
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: AssemblyVersion("1.6.11")] [assembly: AssemblyFileVersion("1.6.11")]
using System.Reflection; [assembly: AssemblyTitle("Freezable")] [assembly: AssemblyProduct("Freezable")] [assembly: AssemblyVersion("1.6.10")] [assembly: AssemblyFileVersion("1.6.10")]
mit
C#
ac8a83177fd177d8dfe6cb22882b8d68e89a4812
Make AutoInterningStringKeyCaseInsensitiveDictionaryConverter case insensitive
JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,bjarnef/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,dawoe/Umbraco-CMS,bjarnef/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,JimBobSquarePants...
src/Umbraco.Core/Serialization/AutoInterningStringKeyCaseInsensitiveDictionaryConverter.cs
src/Umbraco.Core/Serialization/AutoInterningStringKeyCaseInsensitiveDictionaryConverter.cs
using System; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Umbraco.Core.Serialization { /// <summary> /// When applied to a dictionary with a string key, will ensure the deserialized string keys are interned /// </summary> ...
using System; using System.Collections; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace Umbraco.Core.Serialization { /// <summary> /// When applied to a dictionary with a string key, will ensure the deserialized string keys are interned /// </summary> ...
mit
C#
a5e5eeafa05bb65d531c05435953a01385ebb96e
Remove obsolete line
imanushin/NullCheck
NullCheck/NullCheckAnalyzer/NullCheckAnalyzer/NullCheckAnalyzer.cs
NullCheck/NullCheckAnalyzer/NullCheckAnalyzer/NullCheckAnalyzer.cs
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace NullCheckAnalyzer { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class NullCheckAnalyzer : DiagnosticAnalyzer { public const string ParameterIsNullId = "Null...
using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; namespace NullCheckAnalyzer { [DiagnosticAnalyzer(LanguageNames.CSharp)] public class NullCheckAnalyzer : DiagnosticAnalyzer { public const string ParameterIsNullId = "Null...
mit
C#
6a3ab12cb2659db1a953dd2cd185a7948cbad884
Add AddElement and RemoveElement to IPostData
dga711/CefSharp,VioletLife/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,rlmcneary2/CefSharp,VioletLife/CefSharp,Livit/CefSharp,Livit/CefSharp,wangzheng888520/CefSharp,dga711/CefSharp,jamespearce2006/CefSharp,jamespearce2006/CefSharp,rlmcneary2/CefSharp,dga711/CefSharp,jamespearce2006/CefSha...
CefSharp/IPostData.cs
CefSharp/IPostData.cs
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; namespace CefSharp { public interface IPostData : IDisposable { /// <summary> ...
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. using System; using System.Collections.Generic; namespace CefSharp { public interface IPostData : IDisposable { //bool AddElement...
bsd-3-clause
C#
4c8dab76f48d533351ccac250241b9c01fa03cad
Test dasdas das das
WS-and-Cloud/Task-Managment,WS-and-Cloud/Task-Managment
TaskManagment/TaskManagment.Services/Controllers/HomeController.cs
TaskManagment/TaskManagment.Services/Controllers/HomeController.cs
using System.Web.Mvc; namespace TaskManagment.Services.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } public ActionResult Test() { ...
using System.Web.Mvc; namespace TaskManagment.Services.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } } }
mit
C#
ad684ec651cf819802cfa3f30d89a95bd87751cf
Remove async helper methods for json serialization.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Utils/Json.cs
Source/Lib/TraktApiSharp/Utils/Json.cs
namespace TraktApiSharp.Utils { using Newtonsoft.Json; internal static class Json { internal static readonly JsonSerializerSettings DEFAULT_JSON_SETTINGS = new JsonSerializerSettings { Formatting = Formatting.None, NullValueHandling = NullVal...
namespace TraktApiSharp.Utils { using Newtonsoft.Json; using System.Threading.Tasks; internal static class Json { internal static readonly JsonSerializerSettings DEFAULT_JSON_SETTINGS = new JsonSerializerSettings { Formatting = Formatting.None, ...
mit
C#
47e35b570b1a7325e5e68d249d1bf3c3cf2c6921
bump version
Fody/Validar
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Validar")] [assembly: AssemblyProduct("Validar")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
using System.Reflection; [assembly: AssemblyTitle("Validar")] [assembly: AssemblyProduct("Validar")] [assembly: AssemblyVersion("0.10.0.0")] [assembly: AssemblyFileVersion("0.10.0.0")]
mit
C#
746244df5da515243866d03167c8986ecb72cac7
Use private accessor for property
Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public,Utdanningsdirektoratet/PAS2-Public
ExampleClients/dotnet/UDIR.PAS2.Example.Client/UDIR.PAS2.OAuth.Client/AuthorizationServer.cs
ExampleClients/dotnet/UDIR.PAS2.Example.Client/UDIR.PAS2.OAuth.Client/AuthorizationServer.cs
using System; namespace UDIR.PAS2.OAuth.Client { internal class AuthorizationServer { public AuthorizationServer(Uri baseAddress) { BaseAddress = baseAddress; TokenEndpoint = new Uri(baseAddress, "/connect/token").ToString(); } public AuthorizationServer(string baseAddress) : this(new Uri(baseAddress...
using System; namespace UDIR.PAS2.OAuth.Client { internal class AuthorizationServer { public AuthorizationServer(Uri baseAddress) { BaseAddress = baseAddress; TokenEndpoint = new Uri(baseAddress, "/connect/token").ToString(); } public AuthorizationServer(string baseAddress) : this(new Uri(baseAddress...
apache-2.0
C#
ef4c073b838a96a986e0cc3c29c52a551b90607a
refactor the test set up into separate method
milleniumbug/Taxonomy
Tests/Program.cs
Tests/Program.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using TaxonomyLib; namespace Tests { [TestFixture] class ATest { private string projectDirectory; privat...
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using NUnit.Framework; using TaxonomyLib; namespace Tests { [TestFixture] class ATest { private string projectDirectory; [SetU...
mit
C#
a0263c444ec6e90871b4ba4c8b9d56f14cef198c
Add check for success
maxthecatstudios/UnityTC
UnityTC/Unity.cs
UnityTC/Unity.cs
// // © 2016 Max the Cat Studios Ltd. // // https://maxthecatstudios.com // @maxthecatstudio // // Created By Desmond Fernando 2016 06 30 12:08 PM // // // using System; using System.Diagnostics; using System.IO; using System.Text; using System.Threading; namespace UnityTC { public class Unity {...
// // © 2016 Max the Cat Studios Ltd. // // https://maxthecatstudios.com // @maxthecatstudio // // Created By Desmond Fernando 2016 06 30 12:08 PM // // // using System; using System.Diagnostics; using System.IO; using System.Text; using System.Threading; namespace UnityTC { public class Unity {...
mit
C#
67deeafccca23ffda14784c97ea2868c172f085d
Split cell text into many lines
12joan/hangman
cell.cs
cell.cs
using System; namespace Hangman { public class Cell { public const int RightAlign = 0; public const int CentreAlign = 1; public const int LeftAlign = 2; public string Text; public int Align; public Cell(string text) { Text = text; Align = LeftAlign; } public Cell(str...
using System; namespace Hangman { public class Cell { public const int RightAlign = 0; public const int CentreAlign = 1; public const int LeftAlign = 2; public string Text; public int Align; public Cell(string text) { Text = text; Align = LeftAlign; } public Cell(str...
unlicense
C#
88d98a47fdedb091e14c9f63c0c25bf4b52975f8
Use builtin MongoDB Bson serialization
peterblazejewicz/m101DotNet-vNext,peterblazejewicz/m101DotNet-vNext
M101DotNet/Program.cs
M101DotNet/Program.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using MongoDB.Driver; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.IO; namespace M101DotNet { public class Program { public static void Main(string[] args) { MainAsync(args)....
using System; using System.Collections.Generic; using System.Threading.Tasks; using MongoDB.Driver; using MongoDB.Bson; using MongoDB.Bson.Serialization; using Newtonsoft.Json; namespace M101DotNet { public class Program { public static void Main(string[] args) { MainAsync(args)....
mit
C#
b1e599706d7b379872c72ee23f5137e9b047a33f
Improve performance on Robot_names_are_unique
robkeim/xcsharp,robkeim/xcsharp,exercism/xcsharp,exercism/xcsharp
exercises/robot-name/RobotNameTest.cs
exercises/robot-name/RobotNameTest.cs
using System.Collections.Generic; using Xunit; public class RobotNameTest { private readonly Robot robot = new Robot(); [Fact] public void Robot_has_a_name() { Assert.Matches(@"^[A-Z]{2}\d{3}$", robot.Name); } [Fact(Skip = "Remove to run test")] public void Name_is_the_same_each_t...
using System.Collections.Generic; using Xunit; public class RobotNameTest { private readonly Robot robot = new Robot(); [Fact] public void Robot_has_a_name() { Assert.Matches(@"^[A-Z]{2}\d{3}$", robot.Name); } [Fact(Skip = "Remove to run test")] public void Name_is_the_same_each_t...
mit
C#
92db75d442d769dc45ef33e1b0d53009a839e084
Fix webkit enums that are ushort (not the default int32)
dlech/monomac,PlayScriptRedux/monomac
src/WebKit/Enums.cs
src/WebKit/Enums.cs
using System; namespace MonoMac.WebKit { public enum DomCssRuleType : ushort { Unknown = 0, Style = 1, Charset = 2, Import = 3, Media = 4, FontFace = 5, Page = 6, Variables = 7, WebKitKeyFrames = 8, WebKitKeyFrame = 9 } public enum DomCssValueType : ushort { Inherit = 0, PrimitiveValue = 1...
using System; namespace MonoMac.WebKit { public enum DomCssRuleType { Unknown = 0, Style = 1, Charset = 2, Import = 3, Media = 4, FontFace = 5, Page = 6, Variables = 7, WebKitKeyFrames = 8, WebKitKeyFrame = 9 } public enum DomCssValueType { Inherit = 0, PrimitiveValue = 1, ValueList = 2,...
apache-2.0
C#
178b991b3b43326c7c5b3a0e4610e7bee76326ad
Comment fix
AtaS/lowercase-dashed-route
LowercaseDashedRouting/DashedRouteHandler.cs
LowercaseDashedRouting/DashedRouteHandler.cs
using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace LowercaseDashedRouting { public class DashedRouteHandler : MvcRouteHandler { /// <summary> /// The route handler which ignores dashes. /// </summary> /// <param name="requestContext"></param> ///...
// by Ata Sasmaz http://www.ata.io using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace LowercaseDashedRouting { public class DashedRouteHandler : MvcRouteHandler { /// <summary> /// The route handler which ignores dashes. /// </summary> /// <param name=...
mit
C#
42b071bb9d18bcf13ccd41ac6dd3a768720b08a6
Add a little more info to the thread listing.
GunioRobot/sdb-cli,GunioRobot/sdb-cli
Mono.Debugger.Cli/Commands/ThreadsCommand.cs
Mono.Debugger.Cli/Commands/ThreadsCommand.cs
using System.Collections.Generic; using Mono.Debugger.Cli.Debugging; using Mono.Debugger.Cli.Logging; namespace Mono.Debugger.Cli.Commands { public sealed class ThreadsCommand : ICommand { public string Name { get { return "Threads"; } } public string Description ...
using System.Collections.Generic; using Mono.Debugger.Cli.Debugging; using Mono.Debugger.Cli.Logging; namespace Mono.Debugger.Cli.Commands { public sealed class ThreadsCommand : ICommand { public string Name { get { return "Threads"; } } public string Description ...
mit
C#
0ff8e03f31534ebbda31b22926c7eded89b3e42a
Remove ToTab().
GetTabster/Tabster.Core
Plugins/IRemoteTab.cs
Plugins/IRemoteTab.cs
#region using System; #endregion namespace Tabster.Core.Plugins { public interface IRemoteTab { Uri Url { get; set; } string Artist { get; set; } string Title { get; set; } TabType Type { get; set; } string Contents { get; set; } } }
#region using System; #endregion namespace Tabster.Core.Plugins { public interface IRemoteTab { Uri Url { get; set; } string Artist { get; set; } string Title { get; set; } TabType Type { get; set; } string Contents { get; set; } Tab ToTab(); ...
apache-2.0
C#
74f1dee7078a13b32ffeed7eb2114592910b73cc
bump version
Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.7.3.2")] [assembly: AssemblyFileVersion("0.7.3.2")]
using System.Reflection; [assembly: AssemblyVersion("0.7.3.1")] [assembly: AssemblyFileVersion("0.7.3.1")]
unlicense
C#
df3b821153bc3b9cac70afde4537eec1d5b078a3
Support of option /logPath
Seddryck/RsPackage
SsrsDeploy/Options.cs
SsrsDeploy/Options.cs
using CommandLine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrsDeploy { public class Options { [Option('u', "url", Required = true, HelpText = "Url of the webservice where to deploy the reports.")] ...
using CommandLine; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SsrsDeploy { public class Options { [Option('u', "url", Required = true, HelpText = "Url of the webservice where to deploy the reports.")] ...
apache-2.0
C#
83840b2debf8c20890a00b6da1e5feaae5d720dd
Update App.xaml.cs
wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D
src/Draw2D/App.xaml.cs
src/Draw2D/App.xaml.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Avalonia; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Draw2D.Editor; using Draw2D.Views; namespace Draw2D { public cl...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using Avalonia; using Avalonia.Logging.Serilog; using Avalonia.Markup.Xaml; using Draw2D.Editor; using Draw2D.Views; namespace Draw2D { public cl...
mit
C#
86f480f3a99046003622e714b1970597c5a1c63a
Bump patch version
pragmatrix/NEventSocket,danbarua/NEventSocket,danbarua/NEventSocket,pragmatrix/NEventSocket
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("NEventSocket")] [assembly: AssemblyDescription("An async reactive EventSocket driver for FreeSwitch")] [assembly: AssemblyCompany("Dan Barua")] [assembly: AssemblyProduct("NEventSocket")] [assembly: AssemblyCopyright("Copyright (C...
mpl-2.0
C#
89881654829506eb43054b983d39f0b8d16fe48d
Add more visualisation
ruarai/Trigrad,ruarai/Trigrad
Trigrad/Extensions.cs
Trigrad/Extensions.cs
using TriangleNet.Data; using System.Drawing; using TriangleNet; namespace Trigrad { internal static class Extensions { public static Point Point(this Vertex t) { return new Point((int)t.X, (int)t.Y); } public static Bitmap ToBitmap(this Mesh mesh,int width,int hei...
using TriangleNet.Data; using System.Drawing; namespace Trigrad { internal static class Extensions { public static Point Point(this Vertex t) { return new Point((int)t.X, (int)t.Y); } } }
mit
C#
daf90e6bcf30df4fa1caee7500650d7b4944a77e
Add OSX default install location for BeyondCompare.
droyad/Assent
src/Assent/Reporters/DiffPrograms/BeyondCompareDiffProgram.cs
src/Assent/Reporters/DiffPrograms/BeyondCompareDiffProgram.cs
using System; using System.Collections.Generic; using System.Linq; namespace Assent.Reporters.DiffPrograms { public class BeyondCompareDiffProgram : DiffProgramBase { static BeyondCompareDiffProgram() { var paths = new List<string>(); if (DiffReporter.IsWindows) ...
using System; using System.Collections.Generic; using System.Linq; namespace Assent.Reporters.DiffPrograms { public class BeyondCompareDiffProgram : DiffProgramBase { static BeyondCompareDiffProgram() { var paths = new List<string>(); if (DiffReporter.IsWindows) ...
mit
C#
54d0880efb9db929d89ba15b601d5be41e333029
Add some simple runtime stats while implementing the Z80 core
eightlittlebits/elbsms
elbsms_console/Program.cs
elbsms_console/Program.cs
using System; using System.Diagnostics; using elbsms_core; namespace elbsms_console { class Program { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: elbsms_console <path to rom>"); return; ...
using System; using elbsms_core; namespace elbsms_console { class Program { static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: elbsms_console <path to rom>"); return; } string romP...
mit
C#
5e85f238c0716d8102aa69c7dcb874656f370eb8
Work emumerable record reader
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/Addml/DelimiterDileRecordEnumerator.cs
src/Arkivverket.Arkade/Core/Addml/DelimiterDileRecordEnumerator.cs
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arkivverket.Arkade.Core.Addml { class DelimiterDileRecordEnumerator : IEnumerator { private StreamReader _stream; private st...
using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arkivverket.Arkade.Core.Addml { class DelimiterDileRecordEnumerator : IEnumerator { private StreamReader _stream; private st...
agpl-3.0
C#