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
d4e449ce2d4b67718232b200d349a428998d9148
Add weakly typed ExecuteCommand and ExecuteCommandAsync.
PaulTrampert/PTrampert.CommandPattern
PTrampert.CommandPattern/CommandRegistry.cs
PTrampert.CommandPattern/CommandRegistry.cs
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace PTrampert.CommandPattern { public class CommandRegistry { pr...
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace PTrampert.CommandPattern { public class CommandRegistry { pr...
mit
C#
358263cb22c66f9e72da3d55a5e0eb10eeddc6aa
Update BradleyWyatt.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/BradleyWyatt.cs
src/Firehose.Web/Authors/BradleyWyatt.cs
public class BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string LastName => "Wyatt"; public string ShortBioOrTagLine => "Finding wayt to do the most work with the least effort possible"; public string StateOrRegion => "Chicago, Illinois"; ...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; public class BradleyWyatt : IAmACommunityMember { public string FirstName => "Bradley"; public string LastName => "Wyatt"; public st...
mit
C#
42a3e7b8f238420b3f628c8f91f780cd5b67c1dd
Update GregShackles.cs
beraybentesen/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin...
src/Firehose.Web/Authors/GregShackles.cs
src/Firehose.Web/Authors/GregShackles.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class GregShackles : IAmAMicrosoftMVP, IAmAXamarinMVP, IFilterMyBlogPosts { public string FirstName => "Greg"; public str...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using Firehose.Web.Infrastructure; namespace Firehose.Web { public class GregShackles : IAmAMicrosoftMVP, IAmAXamarinMVP, IFilterMyBlogPosts { public string FirstName => "Greg"; public str...
mit
C#
0c42f7077772fbe6f96666272de4df77d575ef69
Update JavierSuarez.cs
planetxamarin/planetxamarin,MabroukENG/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,stvansolano/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin...
src/Firehose.Web/Authors/JavierSuarez.cs
src/Firehose.Web/Authors/JavierSuarez.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; using System.ServiceModel.Syndication; using System.Linq; namespace Firehose.Web.Authors { public class JavierSuarez : IAmAMicrosoftMVP, IFilterMyBlogPosts { public IEnumerable<Uri> FeedUris { get { ...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; using System.ServiceModel.Syndication; using System.Linq; namespace Firehose.Web.Authors { public class JavierSuarez : IAmAMicrosoftMVP, IFilterMyBlogPosts { public IEnumerable<Uri> FeedUris { get { ...
mit
C#
0a21c93e18d7d4bd175bd414ee01c9109e222ed9
Simplify and provide ToString() for IEnumerable instead of just ICollection, since some generic collections don't implement ICollection.
ngbrown/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,nhibernate/nhibernate-core,livioc/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,gliljas/nhibernate-core,fredericDelaporte/nhibernate-core,nkreipke/nhibernate-core,alobakov/nhibernate-core,ngbrown/nhibernate-core,lnu/nhibernate-c...
src/NHibernate/Util/CollectionPrinter.cs
src/NHibernate/Util/CollectionPrinter.cs
using System; using System.Collections; using System.Collections.Generic; using System.Text; using Iesi.Collections; namespace NHibernate.Util { /// <summary> /// Utility class implementing ToString for collections. All <c>ToString</c> /// overloads call <c>element.ToString()</c>. /// </summary> /// <remarks> //...
using System; using System.Collections; using System.Collections.Generic; using System.Text; using Iesi.Collections; namespace NHibernate.Util { /// <summary> /// Utility class implementing ToString for collections. All <c>ToString</c> /// overloads call <c>element.ToString()</c>. /// </summary> /// <remarks> //...
lgpl-2.1
C#
92670433a23d927ec1924f09c10fcafe195e794f
return module.ModelValidationResult
guodf/Nancy,rudygt/Nancy,Worthaboutapig/Nancy,kekekeks/Nancy,lijunle/Nancy,Crisfole/Nancy,MetSystem/Nancy,daniellor/Nancy,AIexandr/Nancy,lijunle/Nancy,jonathanfoster/Nancy,jmptrader/Nancy,adamhathcock/Nancy,hitesh97/Nancy,AIexandr/Nancy,jonathanfoster/Nancy,jongleur1983/Nancy,dbabox/Nancy,blairconrad/Nancy,ccellar/Nanc...
src/Nancy/Validation/ModuleExtensions.cs
src/Nancy/Validation/ModuleExtensions.cs
namespace Nancy.Validation { using System.Linq; /// <summary> /// Extensions to <see cref="INancyModule"/> for validation. /// </summary> public static class ModuleExtensions { /// <summary> /// Performs validation on the specified <paramref name="instance"/>. ...
namespace Nancy.Validation { using System.Linq; /// <summary> /// Extensions to <see cref="INancyModule"/> for validation. /// </summary> public static class ModuleExtensions { /// <summary> /// Performs validation on the specified <paramref name="instance"/>. ...
mit
C#
539aa40ce7f7ffe02f9905fb5e4c69c389f0049c
Update WrappedException.cs
CaptiveAire/Seq.App.YouTrack
src/Seq.App.YouTrack/WrappedException.cs
src/Seq.App.YouTrack/WrappedException.cs
// Copyright 2014-2019 CaptiveAire Systems // // 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 agre...
namespace Seq.App.YouTrack { using System; class WrappedException : Exception { readonly string _asString; public WrappedException(string asString) { _asString = asString; } public override string ToString() { return _asString; ...
apache-2.0
C#
55cc509f2f6e51388b752a79577c6ff7de443c5c
Remove running benchmarks on .NET Core 2.1
akamsteeg/SwissArmyKnife
src/SwissArmyKnife.Benchmarks/Program.cs
src/SwissArmyKnife.Benchmarks/Program.cs
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using SwissArmyKnife.Benchmarks.Benches.Extensions; using System; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Toolchains.CsProj; namespace SwissArmyKnife.Benchmarks { class Program { private static vo...
using BenchmarkDotNet.Configs; using BenchmarkDotNet.Jobs; using BenchmarkDotNet.Running; using SwissArmyKnife.Benchmarks.Benches.Extensions; using System; using BenchmarkDotNet.Diagnosers; using BenchmarkDotNet.Toolchains.CsProj; namespace SwissArmyKnife.Benchmarks { class Program { private static vo...
mit
C#
90dfc5bf7dad96ee3550195159d5488d64a24772
Bump version to 1.16 for new extension method
Smartrak/Smartrak.Library
System.Contrib/Properties/AssemblyInfo.cs
System.Contrib/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("System.Contrib")] [assembly: AssemblyDesc...
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("System.Contrib")] [assembly: AssemblyDesc...
mit
C#
daf7e9cc75654ca02a0f55d2aa6f0a4ae85722e4
Hide clip list after selecting an item
kixx/clipm
ClipM/ClipListForm.cs
ClipM/ClipListForm.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 ClipM { public partial class ClipListForm : Form { private BindingOrderedSet<...
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 ClipM { public partial class ClipListForm : Form { private BindingOrderedSet<...
apache-2.0
C#
24bae095ceb89114bbb6847c2962380044bb8dec
Fix github update checker
DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
LunaUpdater/Github/GithubUpdateChecker.cs
LunaUpdater/Github/GithubUpdateChecker.cs
using JsonFx.Json; using JsonFx.Serialization; using JsonFx.Serialization.Resolvers; using LmpGlobal; using LunaUpdater.Github.Contracts; using System; using System.Linq; using System.Net; namespace LunaUpdater.Github { public class GithubUpdateChecker { private static readonly JsonReader Reader = new...
using JsonFx.Json; using JsonFx.Serialization; using JsonFx.Serialization.Resolvers; using LmpGlobal; using LunaUpdater.Github.Contracts; using System; using System.Linq; using System.Net; namespace LunaUpdater.Github { public class GithubUpdateChecker { private static readonly JsonReader Reader = new...
mit
C#
185e98aa14cd906a0d7fe6c5c9bf422b5b505688
Add basic column conversion to ManiaBeatmapConverter.
naoey/osu,naoey/osu,osu-RP/osu-RP,tacchinotacchi/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,Frontear/osuKyzer,ZLima12/osu,smoogipooo/osu,peppy/osu,ppy/osu,nyaamara/osu,2yangk23/osu,ZLima12/osu,ppy/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,Nab...
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs
osu.Game.Rulesets.Mania/Beatmaps/ManiaBeatmapConverter.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System.Collections.Generic; using System; using osu.Game.Rulesets.Objects.Types; using osu...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Beatmaps; using osu.Game.Rulesets.Mania.Objects; using System.Collections.Generic; using System; using osu.Game.Rulesets.Objects.Types; using osu...
mit
C#
f7ec79c5f42cd90f3201ae8855bc4d53fc5594fc
Fix incorrect generic type
NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipooo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu
osu.Game.Tests/Visual/Navigation/TestSettingsMigration.cs
osu.Game.Tests/Visual/Navigation/TestSettingsMigration.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 NUnit.Framework; using osu.Framework.Utils; using osu.Game.Configuration; namespace osu.Game.Tests.Visual.Navigation { public class TestSettingsMigration : Osu...
// 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 NUnit.Framework; using osu.Framework.Utils; using osu.Game.Configuration; namespace osu.Game.Tests.Visual.Navigation { public class TestSettingsMigration : Osu...
mit
C#
b43b3d63293aaa0b0cfcb540b5a47b503c42dfbf
add GetSystemDateTimeSec_ByNow
NDark/ndinfrastructure,NDark/ndinfrastructure
DotNet/SystemDateTime/SystemDateTime.cs
DotNet/SystemDateTime/SystemDateTime.cs
/** @file SystemDateTime.cs @author NDark @date 201705118 file started. */ using UnityEngine; public static class SystemDateTime { // \/Date(-62135596800000)\/ public static System.DateTime ConvertFromJSONDate( string _Str ) { const string KEY_Date = "Date" ; const string KEY_LeftBrace = "(" ; const s...
/** @file SystemDateTime.cs @author NDark @date 201705118 file started. */ using UnityEngine; public static class SystemDateTime { // \/Date(-62135596800000)\/ public static System.DateTime ConvertFromJSONDate( string _Str ) { const string KEY_Date = "Date" ; const string KEY_LeftBrace = "(" ; const s...
mit
C#
0b4d56481e8235062e88f6d091dceaf0cbad6e36
Remove ad
File-New-Project/EarTrumpet
EarTrumpet.Actions/SettingsPageAddon.cs
EarTrumpet.Actions/SettingsPageAddon.cs
using EarTrumpet.Extensibility; using EarTrumpet.Extensibility.Shared; using EarTrumpet.UI.ViewModels; using EarTrumpet.Actions.ViewModel; using System.ComponentModel.Composition; namespace EarTrumpet.Actions { [Export(typeof(IAddonSettingsPage))] class SettingsPageAddon : IAddonSettingsPage { pub...
using EarTrumpet.Extensibility; using EarTrumpet.Extensibility.Shared; using EarTrumpet.UI.ViewModels; using EarTrumpet.Actions.ViewModel; using System.ComponentModel.Composition; namespace EarTrumpet.Actions { [Export(typeof(IAddonSettingsPage))] class SettingsPageAddon : IAddonSettingsPage { pub...
mit
C#
0806d2df6414f5ebcba7d965161903038f1078a2
Delete a CountToNumber message if the previous one was sent by the same user.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs
src/MitternachtBot/Modules/Utility/Services/CountToNumberService.cs
using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Mitternacht.Services; namespace Mitternacht.Modules.Utility.Services { public class CountToNumberService : IMService { private readonly DiscordSocketClient _client; pr...
using System; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Mitternacht.Services; namespace Mitternacht.Modules.Utility.Services { public class CountToNumberService : IMService { private readonly DiscordSocketClient _client; pr...
mit
C#
8254b39222ff5809d941e7789cd4be9df1322360
bump version
mstyura/Anotar,Fody/Anotar,modulexcite/Anotar,distantcam/Anotar
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.2.0")] [assembly: AssemblyFileVersion("2.2.0")]
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.1.0")] [assembly: AssemblyFileVersion("2.1.0")]
mit
C#
eb7b86355a1e21c9c0c08499a0c8f0e879807364
Fix throwing exception when console windows is small on Linux.
SceneGate/Yarhl
Utils/ConsoleCount.cs
Utils/ConsoleCount.cs
//----------------------------------------------------------------------- // <copyright file="ConsoleCount.cs" company="none"> // Copyright (C) 2013 // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Softw...
//----------------------------------------------------------------------- // <copyright file="ConsoleCount.cs" company="none"> // Copyright (C) 2013 // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Softw...
mit
C#
8d4028acf620b8dc52c9a78cf64ca399919b7d02
add slight batching for client
NTumbleBit/NTumbleBit,DanGould/NTumbleBit
NTumbleBit/Services/ExternalServices.cs
NTumbleBit/Services/ExternalServices.cs
using NBitcoin.RPC; using NTumbleBit.Services.RPC; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NTumbleBit.Services { public class ExternalServices { public static ExternalServices CreateFromRPCClient(RPCClient rpc, IRepository repository, Tracker t...
using NBitcoin.RPC; using NTumbleBit.Services.RPC; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace NTumbleBit.Services { public class ExternalServices { public static ExternalServices CreateFromRPCClient(RPCClient rpc, IRepository repository, Tracker t...
mit
C#
f54fb1c4ac98bc724f7cc9945b11d2e32a308bd0
Fix labels not appearing on BucketMonitorWidget
Benrnz/BudgetAnalyser
BudgetAnalyser.Engine/Widgets/BudgetBucketMonitorWidget.cs
BudgetAnalyser.Engine/Widgets/BudgetBucketMonitorWidget.cs
using System; using BudgetAnalyser.Engine.Annotations; namespace BudgetAnalyser.Engine.Widgets { public sealed class BudgetBucketMonitorWidget : RemainingBudgetBucketWidget, IUserDefinedWidget { private readonly string disabledToolTip; private string doNotUseId; public Budge...
using System; using BudgetAnalyser.Engine.Annotations; namespace BudgetAnalyser.Engine.Widgets { public sealed class BudgetBucketMonitorWidget : RemainingBudgetBucketWidget, IUserDefinedWidget { private readonly string disabledToolTip; private string doNotUseId; public Budge...
mit
C#
b6ffc21321d4fb959c03a0ef33e7a15500749255
fix merge issue
halforbit/data-stores
Halforbit.DataStores/Extensions/KeyValidationExtensions.cs
Halforbit.DataStores/Extensions/KeyValidationExtensions.cs
using System; using System.Collections.Generic; namespace Halforbit.DataStores.Internal { public static class KeyValidationExtensions { public static void ThrowIfKeyIsDefaultValue<TKey>(this TKey key) { if (typeof(TKey).Equals(typeof(object))) return; if (EqualityCompa...
using System; using System.Collections.Generic; namespace Halforbit.DataStores.Internal { public static class KeyValidationExtensions { public static void ThrowIfKeyIsDefaultValue<TKey>(this TKey key) { <<<<<<< HEAD if (typeof(TKey).Equals(typeof(object))) return; if (...
mit
C#
37426ef413e788a3219cf79ef11322348e62d126
Include Layout path in Debug RGB device
DarthAffe/RGB.NET,DarthAffe/RGB.NET
RGB.NET.Devices.Debug/DebugRGBDevice.cs
RGB.NET.Devices.Debug/DebugRGBDevice.cs
using System; using System.Collections.Generic; using RGB.NET.Core; using RGB.NET.Core.Layout; namespace RGB.NET.Devices.Debug { /// <inheritdoc cref="AbstractRGBDevice{TDeviceInfo}" /> /// <summary> /// Represents a debug device. /// </summary> public class DebugRGBDevice : AbstractRGBDevice<Debu...
using System; using System.Collections.Generic; using RGB.NET.Core; using RGB.NET.Core.Layout; namespace RGB.NET.Devices.Debug { /// <inheritdoc cref="AbstractRGBDevice{TDeviceInfo}" /> /// <summary> /// Represents a debug device. /// </summary> public class DebugRGBDevice : AbstractRGBDevice<Debu...
lgpl-2.1
C#
3c78719d09dc4d595e20f8e064813193b9e8be17
fix tests to be more clear, fix webclient return bug
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache.Tests/PackageSources/ProxyingPackageSourceTests.cs
NuCache.Tests/PackageSources/ProxyingPackageSourceTests.cs
using System; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using NSubstitute; using NuCache.Infrastructure; using NuCache.PackageSources; using NuCache.ProxyBehaviour; using NuCache.Rewriters; using Xunit; namespace NuCache.Tests.PackageSources { public class ProxyingPackageSourceTests { ...
using System; using System.Linq; using System.Net.Http; using NSubstitute; using NuCache.Infrastructure; using NuCache.PackageSources; using NuCache.ProxyBehaviour; using NuCache.Rewriters; using Xunit; namespace NuCache.Tests.PackageSources { public class ProxyingPackageSourceTests { private void Test(Action<Pro...
lgpl-2.1
C#
7e8976e7e94493ec98c1d5ea8134eebf8bc9d2ad
Change tab text color
AlbertoMoreta/Dr.Handy
TFG.Droid/Fragments/StepCounter/StepCounterBodyFragment.cs
TFG.Droid/Fragments/StepCounter/StepCounterBodyFragment.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.Res; using Android.Graphics; using Android.OS; using Android.Runtime; using Android.Support.V4.View; using Android.Support.V7.App; using Android.Views; using Android.Wid...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.Content.Res; using Android.Graphics; using Android.OS; using Android.Runtime; using Android.Support.V4.View; using Android.Support.V7.App; using Android.Views; using Android.Wid...
mit
C#
0955e5fd1b4519a224c4e2ffe246646c224c5799
Remove debug message from test acceptance
dmirmilshteyn/Interchange
tests/TestNode.cs
tests/TestNode.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; namespace Interchange.Tests { public class TestNode : Node { Queue<Packet> packetQueue; Queue<TestNodeState> nodeStateQueue; private readonly IPEn...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading; using System.Threading.Tasks; namespace Interchange.Tests { public class TestNode : Node { Queue<Packet> packetQueue; Queue<TestNodeState> nodeStateQueue; private readonly IPEn...
mit
C#
c4af1e2a5b98ffcfc81b9467a5595bcc6d9ccd93
Add MFI tests for zero volume trade bars and Resets properly
Phoenix1271/Lean,StefanoRaggi/Lean,Mendelone/forex_trading,Mendelone/forex_trading,tomhunter-gh/Lean,bizcad/LeanAbhi,dalebrubaker/Lean,bizcad/LeanITrend,rchien/Lean,dalebrubaker/Lean,tomhunter-gh/Lean,jameschch/Lean,florentchandelier/Lean,andrewhart098/Lean,tzaavi/Lean,Obawoba/Lean,squideyes/Lean,florentchandelier/Lean...
Tests/Indicators/MoneyFlowIndexTests.cs
Tests/Indicators/MoneyFlowIndexTests.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
apache-2.0
C#
da5d3837f0c16f83859381953001c1f93401d0a8
Add missing Commit, when game starts.
beta-tank/TicTacToe,beta-tank/TicTacToe,beta-tank/TicTacToe
TicTacToe/Controllers/GameController.cs
TicTacToe/Controllers/GameController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using TicTacToe.Core; using TicTacToe.Web.Data; using TicTacToe.Web.ViewModels; namespace TicTacToe.Controllers { public class GameController : Controller { private ApplicationDbContext context; ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using TicTacToe.Core; using TicTacToe.Web.Data; using TicTacToe.Web.ViewModels; namespace TicTacToe.Controllers { public class GameController : Controller { private ApplicationDbContext context; ...
mit
C#
5734ee32f610ce78079630d5050f8f5ace234d54
fix missing type constraint on QueryByUuid
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Core.DomainServices/Queries/QueryByUuid.cs
Core.DomainServices/Queries/QueryByUuid.cs
using System; using System.Linq; using Core.DomainModel; namespace Core.DomainServices.Queries { public class QueryByUuid<T> : IDomainQuery<T> where T : class, IHasUuid { private readonly Guid _uuid; public QueryByUuid(Guid uuid) { _uuid = uuid; } public I...
using System; using System.Linq; using Core.DomainModel; namespace Core.DomainServices.Queries { public class QueryByUuid<T> : IDomainQuery<T> where T : IHasUuid { private readonly Guid _uuid; public QueryByUuid(Guid uuid) { _uuid = uuid; } public IQueryab...
mpl-2.0
C#
031c581be09285582e81b7ff4798d73f549c0781
Add negative test for the registration source.
autofac/Autofac
test/Autofac.Test/Features/OpenGenerics/OpenGenericDelegateTests.cs
test/Autofac.Test/Features/OpenGenerics/OpenGenericDelegateTests.cs
using System; using System.Collections.Generic; using System.Text; using Autofac.Core; using Autofac.Core.Registration; using Xunit; namespace Autofac.Test.Features.OpenGenerics { public class OpenGenericDelegateTests { private interface IInterfaceA<T> { } private interface II...
using System; using System.Collections.Generic; using System.Text; using Xunit; namespace Autofac.Test.Features.OpenGenerics { public class OpenGenericDelegateTests { private interface IInterfaceA<T> { } private class ImplementationA<T> : IInterfaceA<T> { } ...
mit
C#
86edfbc182d9990cad547903ef7c11b6210faf5a
Add model XML comments to AccountWithdrawFunds
jzebedee/lcapi
LCAPI/LCAPI/Models/AccountWithdrawFunds.cs
LCAPI/LCAPI/Models/AccountWithdrawFunds.cs
using System; namespace LendingClub.Models { /// <summary> /// Details of a transaction to withdraw funds /// </summary> public class AccountWithdrawFunds { /// <summary> /// Investor ID /// </summary> public int InvestorId { get; set; } /// <summary> ...
using System; namespace LendingClub.Models { public class AccountWithdrawFunds { /// <summary> /// Investor ID /// </summary> public int InvestorId { get; set; } /// <summary> /// Amount of funds /// </summary> public decimal Amount { ge...
agpl-3.0
C#
7a34427101191a2907fb927c52a0fb29f1797678
Change version before release
semtize/LegendaryClient,newchild/LegendaryClient-1
LegendaryClient/Properties/AssemblyInfo.cs
LegendaryClient/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("LegendaryClient")] [...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("LegendaryClient")] [...
bsd-2-clause
C#
f637977985c6aed9e997b390e72196248abbdbb0
Test coverage for unparseable string -> DateTime conversion
agileobjects/AgileMapper
AgileMapper.UnitTests/SimpleTypeConversion/WhenMappingToDateTimes.cs
AgileMapper.UnitTests/SimpleTypeConversion/WhenMappingToDateTimes.cs
namespace AgileObjects.AgileMapper.UnitTests.SimpleTypeConversion { using System; using Shouldly; using TestClasses; using Xunit; public class WhenMappingToDateTimes { [Fact] public void ShouldMapANullableDateTimeToADateTime() { var source = new PublicProper...
namespace AgileObjects.AgileMapper.UnitTests.SimpleTypeConversion { using System; using TestClasses; using Xunit; public class WhenMappingToDateTimes { [Fact] public void ShouldMapANullableDateTimeToADateTime() { var source = new PublicProperty<DateTime?> { Valu...
mit
C#
11f2d36d523c6b9a4e7c728c7e1fe9fd9056320c
add example to update a row
jgraber/MicroORM_examples,jgraber/MicroORM_examples,jgraber/MicroORM_examples
MicroORM_Dapper/MicroORM_Dapper/Program.cs
MicroORM_Dapper/MicroORM_Dapper/Program.cs
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using Dapper; namespace MicroORM_Dapper { class Program { static void Main(string[] args) { ReadData(); ...
using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using Dapper; namespace MicroORM_Dapper { class Program { static void Main(string[] args) { ReadData(); ...
apache-2.0
C#
4d92e8e8516914b2017ced024a50608e52fcfc01
Fix buggy tile caching
MHeasell/Mappy,MHeasell/Mappy
Mappy/Data/Section.cs
Mappy/Data/Section.cs
namespace Mappy.Data { using System.Drawing; using System.IO; using TAUtil.Hpi; using TAUtil.Sct; public class Section { private MapTile cachedTile; private string hapiPath; private string cachedTilePath; private Color[] palette; public S...
namespace Mappy.Data { using System.Drawing; using System.IO; using TAUtil.Hpi; using TAUtil.Sct; public class Section { private MapTile cachedTile; private string hapiPath; private string cachedTilePath; private Color[] palette; public S...
mit
C#
435e549490b48c3f2af46347fa5603ab206d0e19
Add height and width props to ProductImage
clement911/ShopifySharp,nozzlegear/ShopifySharp,addsb/ShopifySharp
ShopifySharp/Entities/ProductImage.cs
ShopifySharp/Entities/ProductImage.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp { /// <summary> /// An object representing a product image. /// </summary> public class ProductImage : ShopifyObject { /// <summary> /// The id of the product associated with the image. ...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp { /// <summary> /// An object representing a product image. /// </summary> public class ProductImage : ShopifyObject { /// <summary> /// The id of the product associated with the image. ...
mit
C#
eb023ee92dced2ccb8f8e34f71b61f5a7f6710a8
Fix For IdCounter Logic
bwatts/Totem,bwatts/Totem
Source/Totem/Runtime/Timeline/IdCounter.cs
Source/Totem/Runtime/Timeline/IdCounter.cs
using System; using System.Collections.Generic; using System.Linq; namespace Totem.Runtime.Timeline { /// <summary> /// Provides an incremental series of integers /// </summary> public sealed class IdCounter { private long _value; public IdCounter(long value = 0) { _value = value; ...
using System; using System.Collections.Generic; using System.Linq; namespace Totem.Runtime.Timeline { /// <summary> /// Provides an incremental series of integers /// </summary> public sealed class IdCounter { private long _value; public IdCounter(long value = 0) { _value = value; ...
mit
C#
9db1adf1c6999001b72360ebe941c4fdb9a83a6f
Update BreezeLocalizableAttribute.cs
dotnetricardo/SummerBreeze,dotnetricardo/SummerBreeze
SummerBreeze/BreezeLocalizableAttribute.cs
SummerBreeze/BreezeLocalizableAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SummerBreeze { [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)] public class BreezeLocalizableAttribute : System.Attribute { public ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SummerBreeze { [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)] public class BreezeLocalizableAttribute : System.Attribute { public ...
mit
C#
bfba639b94d88dc22b1cd2ac43fd04d8813ffcb7
Use Count instead of Count()
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi/BlockchainAnalysis/Cluster.cs
WalletWasabi/BlockchainAnalysis/Cluster.cs
using System; using System.Collections.Generic; using System.Linq; using WalletWasabi.Bases; using WalletWasabi.Coins; namespace WalletWasabi.BlockchainAnalysis { public class Cluster : NotifyPropertyChangedBase { private List<SmartCoin> Coins { get; set; } private string _labels; public Cluster(params Smart...
using System; using System.Collections.Generic; using System.Linq; using WalletWasabi.Bases; using WalletWasabi.Coins; namespace WalletWasabi.BlockchainAnalysis { public class Cluster : NotifyPropertyChangedBase { private List<SmartCoin> Coins { get; set; } private string _labels; public Cluster(params Smart...
mit
C#
6ddb184df2cb7db24d0df55fb239412b21dfaeb2
bump version
Dalet/140-speedrun-timer,Dalet/140-speedrun-timer,Dalet/140-speedrun-timer
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.6.1.6")] [assembly: AssemblyFileVersion("0.6.1.6")]
using System.Reflection; [assembly: AssemblyVersion("0.6.1.5")] [assembly: AssemblyFileVersion("0.6.1.5")]
unlicense
C#
57a918e76d805d15c3145549a71c100929774a00
Add duplicate exception for Insert in TestAuthorizationDataStore
tidm/TAuthorization
src/TAuthorization/TAuthorization.Test/TestAuthorizationDataStore.cs
src/TAuthorization/TAuthorization.Test/TestAuthorizationDataStore.cs
using System; using System.Collections.Generic; using System.Linq; namespace TAuthorization.Test { public class TestAuthorizationDataStore : IAuthorizationDataStore { private readonly IList<EntityPermission> _entityPermissions; public TestAuthorizationDataStore() { _entityP...
using System; using System.Collections.Generic; using System.Linq; namespace TAuthorization.Test { public class TestAuthorizationDataStore : IAuthorizationDataStore { private readonly IList<EntityPermission> _entityPermissions; public TestAuthorizationDataStore() { _entityP...
mit
C#
9bdb60f782677306d9c5ed67d4df1a0af93f44d0
Make IAuthenticated interface public.
Azure/amqpnetlite
src/Listener/IAuthenticated.cs
src/Listener/IAuthenticated.cs
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // 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 co...
// ------------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation // 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 co...
apache-2.0
C#
321da87399e00ab525ac67b3cdd7d3f578744ca4
Update server side API for single multiple answer question
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
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 ...
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 ...
mit
C#
35cb4e0538e4cc4817396b1b84d3c31de6afc18d
Make zebus internals visible to "Abc.Zebus.Persistence"
AtwooTM/Zebus,rbouallou/Zebus,biarne-a/Zebus,Abc-Arbitrage/Zebus
src/Abc.Zebus/Properties/AssemblyInfo.cs
src/Abc.Zebus/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Abc.Zebus")] [assembly: ComVisible(false)] [assembly: Guid("a287fe42-8da0-46cd-9562-9b35274da061")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: InternalsVisibleTo(...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Abc.Zebus")] [assembly: ComVisible(false)] [assembly: Guid("a287fe42-8da0-46cd-9562-9b35274da061")] [assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] [assembly: InternalsVisibleTo(...
mit
C#
8e5ba86c0072d8d468611add2559f8fd253e2d61
Fix typo in ICssStyleSheet.cs
AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css,AngleSharp/AngleSharp.Css
src/AngleSharp.Css/Dom/ICssStyleSheet.cs
src/AngleSharp.Css/Dom/ICssStyleSheet.cs
namespace AngleSharp.Css.Dom { using AngleSharp.Attributes; using AngleSharp.Dom; using System; /// <summary> /// Represents the CSS style sheet for storing CSS styles. /// </summary> [DomName("CSSStyleSheet")] public interface ICssStyleSheet : IStyleSheet { /// <summary> ...
namespace AngleSharp.Css.Dom { using AngleSharp.Attributes; using AngleSharp.Dom; using System; /// <summary> /// Represents the CSS style sheet for storing CSS styles. /// </summary> [DomName("CSSStyleSheet")] public interface ICssStyleSheet : IStyleSheet { /// <summary> ...
mit
C#
d8757d0d40a82a60aa5f2bf29be4fd3364557508
Fix for plans.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
backend/src/Squidex/Areas/Api/Controllers/Plans/Models/AppPlansDto.cs
backend/src/Squidex/Areas/Api/Controllers/Plans/Models/AppPlansDto.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
mit
C#
1558d0585ba1323d239160e91f1626297ccb6145
Fix exception with non-existing directory in desktop-file-system
haefele/Ynab,haefele/YnabApi
src/YnabApi.Desktop/DesktopFileSystem.cs
src/YnabApi.Desktop/DesktopFileSystem.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using YnabApi.Files; namespace YnabApi.Desktop { public class DesktopFileSystem : IFileSystem { public async Task<string> ReadFileAsync(string file) { using (var fileSt...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using YnabApi.Files; namespace YnabApi.Desktop { public class DesktopFileSystem : IFileSystem { public async Task<string> ReadFileAsync(string file) { using (var fileSt...
mit
C#
e12ce3c2a8351ddc8bed9c94c33f34c0008b80d7
Adjust xmldoc
EVAST9919/osu,peppy/osu-new,naoey/osu,DrabWeb/osu,smoogipooo/osu,ppy/osu,naoey/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,DrabWeb/osu,naoey/osu,2yangk23/osu,johnneijzen/osu,UselessToucan/osu,ZLima12/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,DrabWeb/osu,UselessToucan/osu,smoogipoo/osu,johnne...
osu.Game/Rulesets/Judgements/Judgement.cs
osu.Game/Rulesets/Judgements/Judgement.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Judgements { public class Judgement { /// <summ...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Judgements { public class Judgement { /// <summ...
mit
C#
114149628a0c6a16e78e5d9764e0013ce649b980
implement abstract IBuilder in BuilderBase
fluffynuts/PeanutButter,fluffynuts/PeanutButter,fluffynuts/PeanutButter
source/TestUtils/PeanutButter.RandomGenerators/IBuilder.cs
source/TestUtils/PeanutButter.RandomGenerators/IBuilder.cs
namespace PeanutButter.RandomGenerators { /// <summary> /// Most basic interface to implement to be considered a builder /// </summary> /// <typeparam name="TSubject">Type of the entity this builder should build</typeparam> // ReSharper disable once TypeParameterCanBeVariant public interface IB...
namespace PeanutButter.RandomGenerators { /// <summary> /// Most basic interface to implement to be considered a builder /// </summary> /// <typeparam name="TSubject">Type of the entity this builder should build</typeparam> // ReSharper disable once TypeParameterCanBeVariant public interface IB...
bsd-3-clause
C#
b6cb064d1d68d5b4dd1998aa165f718aa1193474
Set assembly version number to 2.0.0.0.
flamestream/taction,flamestream/taction,flamestream/taction
App/Properties/AssemblyInfo.cs
App/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated w...
mit
C#
ec94720f7aeb1422b3aa2deacae896c3f27ef2aa
Remove hard-coded API token
jasonsch/PinboardManager
PinboardGUI/View/MainWindow.xaml.cs
PinboardGUI/View/MainWindow.xaml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging;...
apache-2.0
C#
b21a121ff49ebdb5ce592ef1a63ae65f96502272
Enable ComboBoxEntry tests
akrisiun/xwt,antmicro/xwt,hwthomas/xwt,lytico/xwt,residuum/xwt,iainx/xwt,mminns/xwt,steffenWi/xwt,mminns/xwt,cra0zy/xwt,sevoku/xwt,hamekoz/xwt,TheBrainTech/xwt,mono/xwt,directhex/xwt
Testing/Tests/ComboBoxEntryTests.cs
Testing/Tests/ComboBoxEntryTests.cs
// // ComboBoxEntryTests.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // 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 restric...
// // ComboBoxEntryTests.cs // // Author: // Lluis Sanchez <lluis@xamarin.com> // // Copyright (c) 2012 Xamarin Inc // // 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 restric...
mit
C#
0c6dfeec0878589b68317e058613693ca256d921
Remove unused parameter
RehanSaeed/Schema.NET
Tools/Schema.NET.Updater/Program.cs
Tools/Schema.NET.Updater/Program.cs
namespace Schema.NET.Updater { using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; /// <summary> /// Updates the local Schema JSON file with data from Schema.org. /// </summary> internal class Program { private const string SchemaJsonSourceUrl...
namespace Schema.NET.Updater { using System; using System.IO; using System.Net.Http; using System.Threading.Tasks; /// <summary> /// Updates the local Schema JSON file with data from Schema.org. /// </summary> internal class Program { private const string SchemaJsonSourceUrl...
mit
C#
39159c864d338c177e59580c8c3bf6b241ee9962
fix #111
Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria,Albeoris/Memoria
Assembly-CSharp/Global/ENEMY/EnemyData.cs
Assembly-CSharp/Global/ENEMY/EnemyData.cs
using System; using UnityEngine; public class EnemyData : MonoBehaviour { private void Awake() { this.Load(); EnemyData.Main = this; } private void Load() { TextAsset textAsset = Resources.Load(this.stageDataPath, typeof(TextAsset)) as TextAsset; Byte[] bytes = textAsset.bytes; Int32 miniGameArg = (In...
using System; using UnityEngine; public class EnemyData : MonoBehaviour { private void Awake() { this.Load(); EnemyData.Main = this; } private void Load() { TextAsset textAsset = Resources.Load(this.stageDataPath, typeof(TextAsset)) as TextAsset; Byte[] bytes = textAsset.bytes; Int32 miniGameArg = (In...
mit
C#
cb47af363406a56285e41508a1242a91b4beb376
Fix typo.
ctl-global/ctl-core
Ctl.Core/Validation/StateCodeAttribute.cs
Ctl.Core/Validation/StateCodeAttribute.cs
/* Copyright (c) 2014, CTL Global, Inc. Copyright (c) 2013, iD Commerce + Logistics All rights reserved. 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 retain th...
/* Copyright (c) 2014, CTL Global, Inc. Copyright (c) 2013, iD Commerce + Logistics All rights reserved. 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 retain th...
bsd-2-clause
C#
03b28dc7f5c70a9af691d700f8323b1a85f8adb3
Update AzureNotificationHubs.cs
jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs,jorisbrauns/Cordova-Azure-Notificationhubs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
src/windows/AzureNotificationHubs/AzureNotificationHubs.cs
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization.Json; using Windows.UI.Popups; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs ...
using System; using Windows.Networking.PushNotifications; using Microsoft.WindowsAzure.Messaging; using Windows.Foundation; using System.Threading.Tasks; using System.IO; using System.Runtime.Serialization.Json; using Windows.UI.Popups; namespace AzureNotificationHubs { public sealed class AzureNotificationHubs ...
mit
C#
64a8db4ecf1d15b387bdb4ffe2e85f1f49f99521
test to cover BOO-1241 as well
KidFashion/boo,wbardzinski/boo,BITechnologies/boo,BillHally/boo,rmboggs/boo,wbardzinski/boo,hmah/boo,bamboo/boo,hmah/boo,hmah/boo,KidFashion/boo,rmboggs/boo,hmah/boo,rmboggs/boo,Unity-Technologies/boo,boo-lang/boo,hmah/boo,rmartinho/boo,BitPuffin/boo,scottstephens/boo,rmboggs/boo,KingJiangNet/boo,BillHally/boo,KingJian...
tests/BooCompiler.Tests/SupportingClasses/BaseInterface.cs
tests/BooCompiler.Tests/SupportingClasses/BaseInterface.cs
namespace BooCompiler.Tests.SupportingClasses { public interface BaseInterface { void Add(string s); } public abstract class BaseAbstractClassWithoutImplementation { public void Add(int i) { } } public abstract class BaseAbstractClassWithImplementation { public void Add(object o) ...
namespace BooCompiler.Tests.SupportingClasses { public interface BaseInterface { void Add(string s); } public abstract class BaseAbstractClassWithoutImplementation { public void Add(int i) { } } public abstract class BaseAbstractClassWithImplementation { public void Add(string s) ...
bsd-3-clause
C#
e0f298afb4a581315d6a8be2f35e32b9939b9bcf
Make `Location` a class.
JayBazuzi/BazuziTetris
Source/Location.cs
Source/Location.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BazuziTetris { class Location { public Location(int x, int y) { this.X = x; this.Y = y; } public int X; public int Y; } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BazuziTetris { struct Location { public Location(int x, int y) { this.X = x; this.Y = y; } public int X; public int Y; } }
mit
C#
04971a80125029a22f4c8c23a9d4fba9ad2825f0
remove spacing
MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014,MacsDickinson/HackManchester2014
HackManchester2014/HackManchester2014/Donation/JustGivingUrlBuilder.cs
HackManchester2014/HackManchester2014/Donation/JustGivingUrlBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HackManchester2014.Donation { public class JustGivingUrlBuilder { public bool Live { get; set; } public int CharityId { get; set; } public decimal Amount { get; set; } public string R...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace HackManchester2014.Donation { public class JustGivingUrlBuilder { public bool Live { get; set; } public int CharityId { get; set; } public decimal Amount { get; set; } public string R...
mit
C#
eda5204cecaca8a0e3dedc75cb22b5b3fdfcad16
Fix a build warning for missing blank line at end of file
sharwell/NOpenCL,tunnelvisionlabs/NOpenCL
NOpenCL.Test/TestCategories.cs
NOpenCL.Test/TestCategories.cs
// Copyright (c) Tunnel Vision Laboratories, LLC. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace NOpenCL.Test { internal static class TestCategories { public const string RequireGpu = nameof(RequireGpu); } }
// Copyright (c) Tunnel Vision Laboratories, LLC. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace NOpenCL.Test { internal static class TestCategories { public const string RequireGpu = nameof(RequireGpu); } }
mit
C#
12faa542eaf736c29acf0f80544ba65fc3d688af
Fix Go_ToNextWindow_TemporarilyComplex test
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
test/Atata.Tests/Components/GoTo2Page.cs
test/Atata.Tests/Components/GoTo2Page.cs
using _ = Atata.Tests.GoTo2Page; namespace Atata.Tests { [Url("goto2")] [VerifyTitle("GoTo 2")] public class GoTo2Page : Page<_> { public LinkDelegate<GoTo1Page, _> GoTo1 { get; private set; } [GoTemporarily] public LinkDelegate<GoTo1Page, _> GoTo1Temporarily { get; private se...
using _ = Atata.Tests.GoTo2Page; namespace Atata.Tests { [Url("goto2")] [VerifyTitle("GoTo 2")] public class GoTo2Page : Page<_> { public LinkDelegate<GoTo1Page, _> GoTo1 { get; private set; } [GoTemporarily] public LinkDelegate<GoTo1Page, _> GoTo1Temporarily { get; private se...
apache-2.0
C#
2cce60da347d6d99709a83bc7a8b3dbae711e8ec
Replace another Task.Yield with Task.CompletedTask.
abubberman/Template10,kenshinthebattosai/Template10,pekspro/Template10,liptonbeer/Template10,gsantopaolo/Template10,teamneusta/Template10,ivesely/Template10,dkackman/Template10,AparnaChinya/Template10,Windows-XAML/Template10,devinfluencer/Template10,lombo75/Template10,artfuldev/Template10,Viachaslau-Zinkevich/Template1...
Samples/Validation/App.xaml.cs
Samples/Validation/App.xaml.cs
using System.Threading.Tasks; using Windows.ApplicationModel.Activation; namespace Sample { sealed partial class App : Template10.Common.BootStrapper { public App() { InitializeComponent(); } public override Task OnStartAsync(StartKind startKind, IActivatedEventArgs...
using System.Threading.Tasks; using Windows.ApplicationModel.Activation; namespace Sample { sealed partial class App : Template10.Common.BootStrapper { public App() { InitializeComponent(); } public override async Task OnStartAsync(StartKind startKind, IActivatedEve...
apache-2.0
C#
1629fd48d13f12aff9687c982467646596cd5913
Add ReadOnlyBase to CSLAMemberConstants
jonnybee/csla,rockfordlhotka/csla,JasonBock/csla,ronnymgm/csla-light,rockfordlhotka/csla,ronnymgm/csla-light,MarimerLLC/csla,MarimerLLC/csla,JasonBock/csla,jonnybee/csla,JasonBock/csla,MarimerLLC/csla,rockfordlhotka/csla,ronnymgm/csla-light,jonnybee/csla
Source/Csla.Analyzers/Csla.Analyzers/CslaMemberConstants.cs
Source/Csla.Analyzers/Csla.Analyzers/CslaMemberConstants.cs
namespace Csla.Analyzers { public static class CslaMemberConstants { public static class Properties { public const string GetProperty = "GetProperty"; public const string GetPropertyConvert = "GetPropertyConvert"; public const string ReadProperty = "ReadProperty"; public const strin...
namespace Csla.Analyzers { public static class CslaMemberConstants { public static class Properties { public const string GetProperty = "GetProperty"; public const string GetPropertyConvert = "GetPropertyConvert"; public const string ReadProperty = "ReadProperty"; public const strin...
mit
C#
723c0830325c32b202420ac2e18e11101ac63625
Update AssemblyInfo.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D.Wpf/Properties/AssemblyInfo.cs
src/Core2D.Wpf/Properties/AssemblyInfo.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.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation...
// 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.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("Core2D.Wpf")] [assembly: AssemblyDescription("")] [...
mit
C#
127fe67b465fb00befc9e1c604407194f223e670
Update the version to 1.5
ladimolnar/BitcoinDatabaseGenerator
Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs
Sources/BitcoinDatabaseGenerator/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs"> // Copyright © Ladislau Molnar. All rights reserved. // </copyright> //----------------------------------------------------------------------- using System; using System.Reflection; using System.Runtime.Int...
apache-2.0
C#
6c08d05733c59af394b40363e3e1f0d831ce6a66
Make horse vibration look more consistent
harjup/HorseDate
src/HorseDate/Assets/src/Scripts/Horse.cs
src/HorseDate/Assets/src/Scripts/Horse.cs
using UnityEngine; using System.Collections; using DG.Tweening; using DialoguerCore; using DialoguerEditor; using UnityEngine.UI; using Yarn.Unity; public class Horse : MonoBehaviour { // walk center|left // switch brown|striped|bancho // vibrate private Sprite BrownSprite; private Sprite Stripe...
using UnityEngine; using System.Collections; using DG.Tweening; using DialoguerCore; using DialoguerEditor; using UnityEngine.UI; using Yarn.Unity; public class Horse : MonoBehaviour { // walk center|left // switch brown|striped|bancho // vibrate private Sprite BrownSprite; private Sprite Stripe...
mit
C#
c0764d1ab6928e0780f9abf2157c4452f46a7e72
change default log level to none
mm999/OrigoDB
src/OrigoDB.Core/Logging/ConsoleLogger.cs
src/OrigoDB.Core/Logging/ConsoleLogger.cs
using System; namespace OrigoDB.Core.Logging { public class ConsoleLogger : Logger { public static LogLevel MinimumLevel = LogLevel.Off; public readonly string Name; public ConsoleLogger(string name) { Name = name; } protected override void Write(...
using System; namespace OrigoDB.Core.Logging { public class ConsoleLogger : Logger { public static LogLevel MinimumLevel = LogLevel.Info; public readonly string Name; public ConsoleLogger(string name) { Name = name; } protected override void Write...
mit
C#
d517d290dc105d4ba4c22418942f54c6c1dafdf4
Update ApiConnectionSettings.cs
patchkit-net/patchkit-library-dotnet,patchkit-net/patchkit-library-dotnet
src/PatchKit.Api/ApiConnectionSettings.cs
src/PatchKit.Api/ApiConnectionSettings.cs
using System; using JetBrains.Annotations; namespace PatchKit.Api { /// <summary> /// <see cref="ApiConnection" /> settings. /// </summary> [Serializable] public struct ApiConnectionSettings { /// <summary> /// Returns default settings. /// </summary> public sta...
using System; using JetBrains.Annotations; namespace PatchKit.Api { /// <summary> /// <see cref="ApiConnection" /> settings. /// </summary> [Serializable] public struct ApiConnectionSettings { /// <summary> /// Returns default settings. /// </summary> public sta...
mit
C#
8675a6a1b202cbf12a488a29b7b3aa1615d9e381
Fix MonoPInvokeCallback argument
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
bindings/iOS/ApplicationLauncher.cs
bindings/iOS/ApplicationLauncher.cs
using System; using System.Linq; using System.Runtime.InteropServices; using Foundation; using ObjCRuntime; namespace Urho.iOS { public static class ApplicationLauncher { [DllImport("mono-urho")] extern static void InitSdl(string resDir, string docDir); [DllImport("mono-urho", CallingConvention = CallingConv...
using System; using System.Linq; using System.Runtime.InteropServices; using Foundation; using ObjCRuntime; namespace Urho.iOS { public static class ApplicationLauncher { [DllImport("mono-urho")] extern static void InitSdl(string resDir, string docDir); [DllImport("mono-urho", CallingConvention = CallingConv...
mit
C#
1f2df695ad6323ca8050467c97bc5793c581f095
use name claim for external idps
feanz/Thinktecture.IdentityServer.v3,charoco/IdentityServer3,openbizgit/IdentityServer3,charoco/IdentityServer3,remunda/IdentityServer3,jackswei/IdentityServer3,18098924759/IdentityServer3,wondertrap/IdentityServer3,EternalXw/IdentityServer3,remunda/IdentityServer3,jackswei/IdentityServer3,18098924759/IdentityServer3,d...
source/Core.TestServices/TestUserService.cs
source/Core.TestServices/TestUserService.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System; /* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Thinkt...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System; /* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Thinkt...
apache-2.0
C#
5b7e1ca3b5a4f738ebe7ac0e6a42489b414be773
fix sql server merge conditions
linq2db/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db
Source/LinqToDB/DataProvider/SqlServer/SqlServer2008SqlBuilder.Merge.cs
Source/LinqToDB/DataProvider/SqlServer/SqlServer2008SqlBuilder.Merge.cs
namespace LinqToDB.DataProvider.SqlServer { using SqlQuery; partial class SqlServer2008SqlBuilder { protected override void BuildMergeInto(SqlMergeStatement merge) { StringBuilder .Append("MERGE INTO "); BuildTableName(merge.Target, true, false); StringBuilder.Append(" "); if (merge.Hint != ...
namespace LinqToDB.DataProvider.SqlServer { using SqlQuery; partial class SqlServer2008SqlBuilder { protected override void BuildMergeInto(SqlMergeStatement merge) { StringBuilder .Append("MERGE INTO "); BuildTableName(merge.Target, true, false); StringBuilder.Append(" "); if (merge.Hint != ...
mit
C#
62c1654c45820cb4884b36c973486de4a56794fb
fix property names for DeleteResponse
azubanov/elasticsearch-net,jonyadamit/elasticsearch-net,LeoYao/elasticsearch-net,alanprot/elasticsearch-net,faisal00813/elasticsearch-net,starckgates/elasticsearch-net,adam-mccoy/elasticsearch-net,Grastveit/NEST,elastic/elasticsearch-net,KodrAus/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-ne...
src/Nest/Domain/Responses/DeleteResponse.cs
src/Nest/Domain/Responses/DeleteResponse.cs
using Newtonsoft.Json; namespace Nest { public interface IDeleteResponse : IResponse { string Id { get; } string Index { get; } string Type { get; } string Version { get; } bool OK { get; } bool Found { get; } } [JsonObject] public class DeleteResponse : BaseResponse, IDeleteResponse...
using Newtonsoft.Json; namespace Nest { public interface IDeleteResponse : IResponse { string Id { get; } string Index { get; } string Type { get; } string Version { get; } bool OK { get; } bool Found { get; } } [JsonObject] public class DeleteResponse : BaseResponse, IDeleteResponse...
apache-2.0
C#
571ca8d3fd5d8499f287ff4197cc37d4e0717ba7
Change text from favorites to "My Agenda"
csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,csharpfritz/aspnetcore-app-workshop,anurse/ConferencePlanner,anurse/ConferencePlanner,dotnet-presentations/aspnetcore-app-workshop,jongalloway/aspnetcore-app-workshop,dotnet-presentations/aspnetcore-app-workshop,anurse/ConferencePlanner,dotnet-pres...
src/FrontEnd/Pages/Session.cshtml
src/FrontEnd/Pages/Session.cshtml
@page "{id}" @model SessionModel <ol class="breadcrumb"> <li><a asp-page="/Index">Agenda</a></li> <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li> <li class="active">@Model.Session.Title</li> </ol> <h1>@Model.Session.Title</h1> <span class="label label-default"...
@page "{id}" @model SessionModel <ol class="breadcrumb"> <li><a asp-page="/Index">Agenda</a></li> <li><a asp-page="/Index" asp-route-day="@Model.DayOffset">Day @(Model.DayOffset + 1)</a></li> <li class="active">@Model.Session.Title</li> </ol> <h1>@Model.Session.Title</h1> <span class="label label-default"...
mit
C#
a9389704b3f76ce0cd886fc45a81fdcb007f3517
Remove the ConnectionState enum.
skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI,seiggy/AsterNET.ARI,skrusty/AsterNET.ARI
AsterNET.ARI/Middleware/IEventProducer.cs
AsterNET.ARI/Middleware/IEventProducer.cs
using System; using WebSocket4Net; namespace AsterNET.ARI.Middleware { public class MessageEventArgs { public string Message; } public interface IEventProducer { WebSocketState State { get; } event EventHandler<MessageEventArgs> OnMessageReceived; event EventHandle...
using System; using WebSocket4Net; namespace AsterNET.ARI.Middleware { public enum ConnectionState { Open, Closed } public class MessageEventArgs { public string Message; } public interface IEventProducer { WebSocketState State { get; } event Ev...
mit
C#
d44c0b7bb564c54106c3eae72e975ef3c11f25fc
fix namespace for sheetdrawing
jcridev/npoi,JesseQin/npoi,tonyqus/npoi,vinod1988/npoi,stuartwmurray/npoi,xl1/npoi,tkalubi/npoi-1,Yijtx/npoi,antony-liu/npoi,akrisiun/npoi
ooxml/openxml4Net/OPC/PackageNamespaces.cs
ooxml/openxml4Net/OPC/PackageNamespaces.cs
using System; using System.Collections.Generic; using System.Text; namespace NPOI.OpenXml4Net.OPC { /** * Open Packaging Convention namespaces URI. * * @author Julien Chable * @version 1.0 */ public class PackageNamespaces { /** * Content Types. */ ...
using System; using System.Collections.Generic; using System.Text; namespace NPOI.OpenXml4Net.OPC { /** * Open Packaging Convention namespaces URI. * * @author Julien Chable * @version 1.0 */ public class PackageNamespaces { /** * Content Types. */ ...
apache-2.0
C#
a4ec673957c81fee3ac947b4ebdf97ca8c53d4bd
Fix test class name
turtle-box-games/leaf-csharp
Leaf/Leaf.Tests/Unit/Types/Point3Tests.cs
Leaf/Leaf.Tests/Unit/Types/Point3Tests.cs
using NUnit.Framework; using Leaf.Types; namespace Leaf.Tests.Unit.Types { [TestFixture] public class Point3Tests { /// <summary> /// Test that the X property's getter returns the correct value. /// </summary> [Test] public void TestXGetter() { ...
using NUnit.Framework; using Leaf.Types; namespace Leaf.Tests.Unit.Types { [TestFixture] public class Point3Test { /// <summary> /// Test that the X property's getter returns the correct value. /// </summary> [Test] public void TestXGetter() { ...
mit
C#
5bda1eddee8068f906b61d00e157150433c8946d
Update GrabDesktop.cs
UnityCommunity/UnityLibrary
Scripts/Helpers/Screenshot/GrabDesktop.cs
Scripts/Helpers/Screenshot/GrabDesktop.cs
using UnityEngine; using System.Collections; using System.Drawing; using Screen = System.Windows.Forms.Screen; using Application = UnityEngine.Application; using System.Drawing.Imaging; // Drag windows desktop image using System.Drawing.dll // guide on using System.Drawing.dll in unity : http://answers.unity3d.com/ans...
using UnityEngine; using System.Collections; using System.Drawing; using Screen = System.Windows.Forms.Screen; using Application = UnityEngine.Application; using System.Drawing.Imaging; // Drag windows desktop image using System.Drawing.dll // guide on using System.Drawing.dll in unity : http://answers.unity3d.com/ans...
mit
C#
f8a61d7224c7f6ca85dc74cc2fe61e083bed4ca2
Make SimplePInvoke.cs compile with mcs.
xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang
src/SharpLang.Compiler.Tests/tests-codegen/SimplePInvoke.cs
src/SharpLang.Compiler.Tests/tests-codegen/SimplePInvoke.cs
using System; using System.Runtime.InteropServices; public static class Program { [DllImport("msvcrt.dll", EntryPoint = "memcpy", CallingConvention = CallingConvention.Cdecl, SetLastError = false)] public static extern IntPtr memcpy(IntPtr dest, IntPtr src, UIntPtr count); public unsafe static void Main()...
using System; using System.Runtime.InteropServices; public static class Program { [DllImport("msvcrt.dll", EntryPoint = "memcpy", CallingConvention = CallingConvention.Cdecl, SetLastError = false)] public static extern IntPtr memcpy(IntPtr dest, IntPtr src, UIntPtr count); public unsafe static void Main()...
bsd-2-clause
C#
1b16bb58dd5935d419a765c11db8fd44bf8e2a98
Set invariant culture in SimpleFloatArithmetic test.
xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang,xen2/SharpLang
src/SharpLang.Compiler.Tests/tests/SimpleFloatArithmetic.cs
src/SharpLang.Compiler.Tests/tests/SimpleFloatArithmetic.cs
using System; public static class Program { static void TestSingle() { float a = 3.0f; Console.WriteLine(a); a += 32.0f; Console.WriteLine(a); a -= 502.0f; Console.WriteLine(a); a *= 123.0f; Console.WriteLine(a); a /= 21.0f; Co...
using System; public static class Program { static void TestSingle() { float a = 3.0f; Console.WriteLine(a); a += 32.0f; Console.WriteLine(a); a -= 502.0f; Console.WriteLine(a); a *= 123.0f; Console.WriteLine(a); a /= 21.0f; Co...
bsd-2-clause
C#
f7d8e012328bb68393e9b9f3d1c3479996d5f04b
Fix xml docs in `NewAuthorization`
daukantas/octokit.net,brramos/octokit.net,SmithAndr/octokit.net,forki/octokit.net,naveensrinivasan/octokit.net,gabrielweyer/octokit.net,khellang/octokit.net,eriawan/octokit.net,darrelmiller/octokit.net,shana/octokit.net,nsnnnnrn/octokit.net,shana/octokit.net,ivandrofly/octokit.net,Sarmad93/octokit.net,kdolan/octokit.ne...
Octokit/Models/Request/NewAuthorization.cs
Octokit/Models/Request/NewAuthorization.cs
using System.Collections.Generic; namespace Octokit { /// <summary> /// Used to create a new authorization. /// </summary> public class NewAuthorization { /// <summary> /// Replaces the authorization scopes with this list. /// </summary> public IEnumerable<string> Sc...
using System.Collections.Generic; namespace Octokit { /// <summary> /// Used to create a new authorization. /// </summary> public class NewAuthorization { /// <summary> /// Replaces the authorization scopes with this list. /// </summary> public IEnumerable<string> Sc...
mit
C#
267f77c45f9ef457590453e17a56bc28a87f9151
Update AssemblyInfo.cs
Realdolmen365/Realdolmen.ClientSideLibrary,Realdolmen365/Realdolmen.ClientSideLibrary,Realdolmen365/Realdolmen.ClientSideLibrary
RD.CSL.RDCRMLib/Properties/AssemblyInfo.cs
RD.CSL.RDCRMLib/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: AssemblyTi...
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: AssemblyTi...
mit
C#
fee1b8a485a81b2b71e33ba9040ecd924ca28f06
fix bitmap creation for silverlight
DHMechatronicAG/ZXing.Net,micjahn/ZXing.Net,DHMechatronicAG/ZXing.Net,micjahn/ZXing.Net,micjahn/ZXing.Net,DHMechatronicAG/ZXing.Net
Source/lib/common/BitMatrix.Silverlight.cs
Source/lib/common/BitMatrix.Silverlight.cs
/* * Copyright 2007 ZXing authors * * 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 agreed ...
/* * Copyright 2007 ZXing authors * * 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 agreed ...
apache-2.0
C#
9ab31447c261a0f89a322b04824567dabbec860a
Use FooBazCommandType rather than FooCommand
appharbor/appharbor-cli
src/AppHarbor.Tests/TypeNameMatcherTest.cs
src/AppHarbor.Tests/TypeNameMatcherTest.cs
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class TypeNameMatcherTest { interface IFoo { } class FooCommand : IFoo { } class FooBarCommand : IFoo { } class FooBazCommand : IFoo { } private static Type FooCommandType = type...
using System; using System.Collections.Generic; using Xunit; using Xunit.Extensions; namespace AppHarbor.Tests { public class TypeNameMatcherTest { interface IFoo { } class FooCommand : IFoo { } class FooBarCommand : IFoo { } private static Type FooCommandType = typeof(FooCommand); private static T...
mit
C#
0e6307e1c1b6c3dabc072ad5f29992292329f88b
Update TriggersPage test page object
atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata,atata-framework/atata
src/Atata.Tests/Components/TriggersPage.cs
src/Atata.Tests/Components/TriggersPage.cs
using System; using System.Collections.Generic; using _ = Atata.Tests.TriggersPage; namespace Atata.Tests { [Url("Triggers.html")] [VerifyTitle] [VerifyH1] [InvokeMethod(nameof(OnStaticInit), TriggerEvents.Init)] public class TriggersPage : Page<_> { [ThreadStatic] ...
using System; using _ = Atata.Tests.TriggersPage; namespace Atata.Tests { [Url("Triggers.html")] [VerifyTitle] [VerifyH1] [InvokeMethod(nameof(OnStaticInit), TriggerEvents.Init)] public class TriggersPage : Page<_> { [ThreadStatic] private static bool isOnInitInvoked...
apache-2.0
C#
435716516374828c94400d2647e655c30c38796a
Add Read/Write overrides to NonDisposingStream
adamhathcock/sharpcompress,adamhathcock/sharpcompress,adamhathcock/sharpcompress
src/SharpCompress/IO/NonDisposingStream.cs
src/SharpCompress/IO/NonDisposingStream.cs
using System; using System.IO; namespace SharpCompress.IO { public class NonDisposingStream : Stream { public NonDisposingStream(Stream stream, bool throwOnDispose = false) { Stream = stream; ThrowOnDispose = throwOnDispose; } public bool ThrowOnDispose...
using System; using System.IO; namespace SharpCompress.IO { public class NonDisposingStream : Stream { public NonDisposingStream(Stream stream, bool throwOnDispose = false) { Stream = stream; ThrowOnDispose = throwOnDispose; } public bool ThrowOnDispose...
mit
C#
7131cb2df325b4e183672524b3f98ba5ec1c3daa
Reduce the blur amount
haefele/UwCore
src/UwCore/Hamburger/HamburgerView.xaml.cs
src/UwCore/Hamburger/HamburgerView.xaml.cs
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media.Animation; using Microsoft.Toolkit.Uwp.UI.Animations; using PopupOverlayClass = UwCore.Controls.PopupOverlay; namespace UwCore.Hamburger { public sealed partial class HamburgerView : Page ...
using System; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media.Animation; using Microsoft.Toolkit.Uwp.UI.Animations; using PopupOverlayClass = UwCore.Controls.PopupOverlay; namespace UwCore.Hamburger { public sealed partial class HamburgerView : Page ...
mit
C#
565786a9f79a21bc4d20aaa55da66a888a385769
Remove interface mapping from role mapper
affecto/dotnet-IdentityManagement
IdentityManagement.ApplicationServices/Mapping/RoleMapper.cs
IdentityManagement.ApplicationServices/Mapping/RoleMapper.cs
using System.Collections.Generic; using System.Linq; using Affecto.IdentityManagement.ApplicationServices.Model; using Affecto.Mapping.AutoMapper; using AutoMapper; namespace Affecto.IdentityManagement.ApplicationServices.Mapping { internal class RoleMapper : OneWayMapper<Querying.Data.Role, Role> { p...
using System; using System.Collections.Generic; using System.Linq; using Affecto.IdentityManagement.ApplicationServices.Model; using Affecto.IdentityManagement.Interfaces.Model; using Affecto.Mapping.AutoMapper; using AutoMapper; namespace Affecto.IdentityManagement.ApplicationServices.Mapping { internal class Ro...
mit
C#
29ded94f7223bfcbb5342c99bad31237f0859f43
update version comment
yasokada/unity-150908-udpTimeGraph
Assets/AppInfo.cs
Assets/AppInfo.cs
using UnityEngine; using System.Collections; /* * v0.11 2015/09/12 * - add data export feature (set,export command) * v0.10 2015/09/12 * - add monthly, yearly time scale * - fix daily, weekly graph miscalculation * v0.9 2015/09/12 * - add Test related GameObjects and scripts * v0.8 2015/09/12 * - ...
using UnityEngine; using System.Collections; /* * v0.10 2015/09/12 * - add monthly, yearly time scale * - fix daily, weekly graph miscalculation * v0.9 2015/09/12 * - add Test related GameObjects and scripts * v0.8 2015/09/12 * - can show x scale in daily and weekly (monthly and yearly not yet) * v0....
mit
C#
a1f8a5495230e162251a66172838cb63cd926cdc
change links by youtube
jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro,jmirancid/TropicalNet.Topppro
Topppro.WebSite/Views/Shared/DisplayTemplates/Product.cshtml
Topppro.WebSite/Views/Shared/DisplayTemplates/Product.cshtml
@using Framework.Common.Extensions @using Topppro.WebSite.Extensions @model Topppro.Entities.Assn_CategorySerieProduct <h4>@Model.Assn_CategorySerie.Serie.Name.ToUpper() Series</h4> <div class="title"> <h1>@Model.Product.Name.ToUpper()</h1> </div> @Html.Header() <div style="margin-bottom:10px; floa...
@using Framework.Common.Extensions @using Topppro.WebSite.Extensions @model Topppro.Entities.Assn_CategorySerieProduct <h4>@Model.Assn_CategorySerie.Serie.Name.ToUpper() Series</h4> <div class="title"> <h1>@Model.Product.Name.ToUpper()</h1> </div> @Html.Header() <div style="margin-bottom:10px; floa...
mit
C#
fcbd487c458271e7ec889d85e3609cb5e36f1944
add missing message
Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek,Soluto/tweek
Tweek.ApiService.NetCore/Controllers/ValidationController.cs
Tweek.ApiService.NetCore/Controllers/ValidationController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Engine.Core.Rules; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Engine.Core.Rules; // For more information on ena...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using Engine.Core.Rules; using Engine.Drivers.Rules; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json; using Engine.Core.Rules; // For more information on ena...
mit
C#
632b5bfbc7ee79e35d225015c4c34959ab3ada6c
build fix
flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core,flubu-core/flubu.core
Flubu.Tests/Services/FlubuEnviromentTests.cs
Flubu.Tests/Services/FlubuEnviromentTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FlubuCore.Services; using Xunit; namespace Flubu.Tests.Services { public class FlubuEnviromentTests { [Fact(Skip = "Explicit test.")] public void ListAvailableToolsVersionTest() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using FlubuCore.Services; using Xunit; namespace Flubu.Tests.Services { public class FlubuEnviromentTests { [Fact(Skip = "Explicit test.")] public void ListAvailableToolsVersionTest() ...
bsd-2-clause
C#
e348436c0c1d6681c06ae80ef1c06b07fe86444a
Remove timer
RhynoVDS/ObjectTransport
ObjectTransport.tests/Utilities/Utilities.cs
ObjectTransport.tests/Utilities/Utilities.cs
using System; using System.Collections.Generic; using System.Text; using OTransport.tests; using System.Threading; namespace Test { class Utilities { public static void WaitFor(ref string test) { while(test == string.Empty || test == null) { } } internal static vo...
using System; using System.Collections.Generic; using System.Text; using OTransport.tests; using System.Threading; namespace Test { class Utilities { public static void WaitFor(ref string test) { while(test == string.Empty || test == null) { } } internal static vo...
mit
C#
c13eacefa03cf226af35f51c5ef22303764aef29
Fix Autofac crash due to linker stripping out a function used by reflection only
tzachshabtay/MonoAGS
Source/Engine/AGS.Engine.IOS/AGSEngineIOS.cs
Source/Engine/AGS.Engine.IOS/AGSEngineIOS.cs
using System; using Autofac; namespace AGS.Engine.IOS { public class AGSEngineIOS { private static IOSAssemblies _assembly; public static void Init() { // On IOS, when the mono linker is enabled (and it's enabled by default) it strips out all parts of // the fr...
using System; using Autofac; namespace AGS.Engine.IOS { public class AGSEngineIOS { private static IOSAssemblies _assembly; public static void Init() { OpenTK.Toolkit.Init(); var device = new IOSDevice(_assembly); AGSGame.Device = device; ...
artistic-2.0
C#
fff8227e6fc4d89245344d92c055955d7ff051ef
Update CustomerCreditNoteData.cs
ON-IT/Visma.Net
Visma.net/lib/Data/CustomerCreditNoteData.cs
Visma.net/lib/Data/CustomerCreditNoteData.cs
using ONIT.VismaNetApi.Models; using System; using System.IO; using System.Text; using System.Threading.Tasks; namespace ONIT.VismaNetApi.Lib.Data { public class CustomerCreditNoteData : BasePaginatedCrudDataClass<CustomerCreditNote> { /// <summary> /// This constructor is called by the client to crea...
using ONIT.VismaNetApi.Models; using System; using System.IO; using System.Text; using System.Threading.Tasks; namespace ONIT.VismaNetApi.Lib.Data { public class CustomerCreditNoteData : BasePaginatedCrudDataClass<CustomerCreditNote> { /// <summary> /// This constructor is called by the client t...
mit
C#
1c01348b1e4de841ec875026556c7da1885a5900
set about page 'NoContainer' value to true (#89)
reactiveui/website,reactiveui/website,reactiveui/website,reactiveui/website
input/docs/thanks/index.cshtml
input/docs/thanks/index.cshtml
Title: Thanks NoSidebar: true NoContainer: true NoGutter: false --- <div class="container"> <h2>Thanks for your contributions to the ReactiveUI Project</h2> <h3>Below you will find all the GitHub users that have contributed to the following repositories</h3> <ul> <li><a href="https://github.com/rea...
Title: Thanks NoSidebar: true NoContainer: false NoGutter: false --- <div class="container"> <h2>Thanks for your contributions to the ReactiveUI Project</h2> <h3>Below you will find all the GitHub users that have contributed to the following repositories</h3> <ul> <li><a href="https://github.com/re...
mit
C#
843783dbf5be499ed6de438097159c7d394b4f0a
add comment
toannvqo/dnn_publish
Components/ProductController.cs
Components/ProductController.cs
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
using DotNetNuke.Data; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Christoc.Modules.DNNModule1.Components { public class ProductController { public Product GetProduct(int productId) { Product p; using (IDataContext ctx ...
mit
C#
7eba9885555263bc3acaf270622864ab5b33ab20
Fix unit test
kendallb/Handlebars.Net,sandorfr/Handlebars.Net,tsliang/Handlebars.Net,rexm/Handlebars.Net,mcintyre321/Handlebars.Net.Mvc,mcintyre321/Handlebars.Net.Mvc,rexm/Handlebars.Net,sandorfr/Handlebars.Net,tsliang/Handlebars.Net,esskar/handlebars-core,ballance/Handlebars.Net,freakingawesome/Handlebars.Net,mcintyre321/Handlebars...
source/Handlebars.Test/HelperTests.cs
source/Handlebars.Test/HelperTests.cs
using NUnit.Framework; using System; using Handlebars; namespace Handlebars.Test { [TestFixture] public class HelperTests { [Test] public void HelperWithLiteralArguments() { Handlebars.RegisterHelper("myHelper", (writer, context, args) => { var count = 0...
using NUnit.Framework; using System; using Handlebars; namespace Handlebars.Test { [TestFixture] public class HelperTests { [Test] public void HelperWithLiteralArguments() { Handlebars.RegisterHelper("myHelper", (writer, context, args) => { var count = 0...
mit
C#
54af9971eec6cb347a1cd8626d7e147dbda9c4fa
change tip Description
am11/BatchFormat,yongfa365/BatchFormat
src/BatchFormat/OptionsPageGeneral.cs
src/BatchFormat/OptionsPageGeneral.cs
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
/*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. This code is licensed under the Visual Studio SDK license terms. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES...
apache-2.0
C#
57907ef1afcaf0aa061f06e51171c736371226b2
Update JeffHicks.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/JeffHicks.cs
src/Firehose.Web/Authors/JeffHicks.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 JeffHicks : IFilterMyBlogPosts, IAmAMicrosoftMVP { public string FirstName => "Jeff"; pub...
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 JeffHicks : IFilterMyBlogPosts, IAmAMicrosoftMVP { public string FirstName => "Jeff"; pub...
mit
C#
36ebf894df13d9a2b4ea78294cfd027742af628b
remove jquery and site css
ucdavis/Namster,ucdavis/Namster,ucdavis/Namster
src/Namster/Views/Shared/_Layout.cshtml
src/Namster/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>NamstR - @ViewData["Title"]</title> <link href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medi...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>NamstR - @ViewData["Title"]</title> <link href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medi...
mit
C#
bc52710bcf50793b14d8ec66bb9cee2fc3ca5a21
Update UISettingsDto.cs
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex/Areas/Api/Controllers/UI/Models/UISettingsDto.cs
src/Squidex/Areas/Api/Controllers/UI/Models/UISettingsDto.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschränkt) // All rights reserved. Licensed under the MIT license. // ============================...
mit
C#