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
a1c19c4941f8219b160afa2234afbf34f5fe1fcd
Fix fuel consumption data binding.
Azure-Samples/MyDriving,Azure-Samples/MyDriving,Azure-Samples/MyDriving
XamarinApp/MyTrips/MyTrips.iOS/Screens/Trips/TripSummaryTableViewController.cs
XamarinApp/MyTrips/MyTrips.iOS/Screens/Trips/TripSummaryTableViewController.cs
using Foundation; using System; using System.Collections.Generic; using UIKit; namespace MyTrips.iOS { public partial class TripSummaryTableViewController : UIViewController { public ViewModel.CurrentTripViewModel ViewModel { get; set; } public TripSummaryTableViewController(IntPtr handle) : base(handle) ...
using Foundation; using System; using System.Collections.Generic; using UIKit; namespace MyTrips.iOS { public partial class TripSummaryTableViewController : UIViewController { public ViewModel.CurrentTripViewModel ViewModel { get; set; } public TripSummaryTableViewController(IntPtr handle) : base(handle) ...
mit
C#
cd6ad217ab64070acd1698755cb2e0fce846eca6
Add link to MSDN docs on API sets.
AArnott/pinvoke,jmelosegui/pinvoke,vbfox/pinvoke,fearthecowboy/pinvoke
src/Windows.Core/ApiSets.cs
src/Windows.Core/ApiSets.cs
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. #pragma warning disable SA1303 // Const field names must begin with upper-case letter namespa...
// Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. #pragma warning disable SA1303 // Const field names must begin with upper-case letter namespa...
mit
C#
296011d27d6af5a3727deaa2d752e79a46a4b15a
Correct the sand box to catch exception if a non-CLR dll is present.
eylvisaker/AgateLib
AgateLib/Drivers/AgateSandBoxLoader.cs
AgateLib/Drivers/AgateSandBoxLoader.cs
using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace AgateLib.Drivers { class AgateSandBoxLoader : MarshalByRefObject { public AgateDriverInfo[] ReportDrivers(string file) { List<AgateDriverInfo> retval = new List<AgateDri...
using System; using System.Collections.Generic; using System.Text; using System.Reflection; namespace AgateLib.Drivers { class AgateSandBoxLoader : MarshalByRefObject { public AgateDriverInfo[] ReportDrivers(string file) { List<AgateDriverInfo> retval = new List<AgateDri...
mit
C#
d59c6c8d6f9dbd388beae6790f715224c76ab0a4
Update 20180327.LuckWheelManager.cs
twilightspike/cuddly-disco,twilightspike/cuddly-disco
main/20180327.LuckWheelManager.cs
main/20180327.LuckWheelManager.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; public class LuckWheelManager: MonoBehaviour{ /*stuffset*/ private bool _beStarted; private float[] _angleSector; private float _angleFinal; private float _angleBegin; private float _lerpRotateTim...
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; using System; public class LuckWheelManager: MonoBehaviour{ /*stuffset*/ private bool _beStarted; private float[] _angleSector; private float _angleFinal; private float _angleBegin; private float _lerpRotateTim...
mit
C#
d712e74678916f6b79f46812848a252db427c845
increment version
Alex141/CalcBinding
CalcBinding/Properties/AssemblyInfo.cs
CalcBinding/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ca...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ca...
apache-2.0
C#
2390f96b529142a4270d9215199d0ccb3a3d8916
Change namespace of FindByColumnIndexAttribute
atata-framework/atata,atata-framework/atata,YevgeniyShunevych/Atata,YevgeniyShunevych/Atata
src/Atata/Attributes/FindByColumnIndexAttribute.cs
src/Atata/Attributes/FindByColumnIndexAttribute.cs
namespace Atata { public class FindByColumnIndexAttribute : FindAttribute { public FindByColumnIndexAttribute(int columnIndex) { ColumnIndex = columnIndex; } public int ColumnIndex { get; private set; } public override IComponentScopeLocateStrategy Create...
namespace Atata.Attributes { public class FindByColumnIndexAttribute : FindAttribute { public FindByColumnIndexAttribute(int columnIndex) { ColumnIndex = columnIndex; } public int ColumnIndex { get; private set; } public override IComponentScopeLocateStra...
apache-2.0
C#
9bf33631ab267e6cd8a42439bc4a0cdec6655fa6
Make base transition abstract.
AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspe...
src/Avalonia.Animation/AnimatorDrivenTransition.cs
src/Avalonia.Animation/AnimatorDrivenTransition.cs
using System; using Avalonia.Animation.Animators; namespace Avalonia.Animation { public abstract class AnimatorDrivenTransition<T, TAnimator> : Transition<T> where TAnimator : Animator<T>, new() { private static readonly TAnimator s_animator = new TAnimator(); public override IObservable<T> D...
using System; using Avalonia.Animation.Animators; namespace Avalonia.Animation { public class AnimatorDrivenTransition<T, TAnimator> : Transition<T> where TAnimator : Animator<T>, new() { private static readonly TAnimator s_animator = new TAnimator(); public override IObservable<T> DoTransiti...
mit
C#
fbc8c55fe969142e0a2f0493785e5631d7fe6eee
Make html template container builder public.
damiensawyer/cassette,honestegg/cassette,honestegg/cassette,andrewdavey/cassette,BluewireTechnologies/cassette,damiensawyer/cassette,damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,BluewireTechnologies/cassette,andrewdavey/cassette
src/Cassette/HtmlTemplateModuleContainerBuilder.cs
src/Cassette/HtmlTemplateModuleContainerBuilder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.IsolatedStorage; namespace Cassette { public class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder { readonly string applicationRoot; public HtmlTemplateModuleContaine...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO.IsolatedStorage; namespace Cassette { class HtmlTemplateModuleContainerBuilder : ModuleContainerBuilder { readonly string applicationRoot; public HtmlTemplateModuleContainerBuilde...
mit
C#
861ff7808731039178ee81df51cbc55ab9db581d
Bump version to 2.1
mganss/IS24RestApi,enkol/IS24RestApi
IS24RestApi/Properties/AssemblyInfo.cs
IS24RestApi/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("IS...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("IS...
apache-2.0
C#
5073d43656e2610f390b32a6dccb13c21a5e414b
Fix Home page title
Naya-san/LifeManagement,Naya-san/LifeManagement,Naya-san/LifeManagement
LifeManagement/Views/Home/Index.cshtml
LifeManagement/Views/Home/Index.cshtml
@{ ViewBag.Title = "Life Management"; } @using LifeManagement.Resources <div id="content"> <h1>Life Management</h1> <p>@ResourceScr.slogan</p> <div class="rowLM"> <div class="LMсol-md-6"> <h2>@ResourceScr.Remarks</h2> <p> @ResourceScr.advRemark...
@{ ViewBag.Title = "Home Page"; } @using LifeManagement.Resources <div id="content"> <h1>Life Management</h1> <p>@ResourceScr.slogan</p> <div class="rowLM"> <div class="LMсol-md-6"> <h2>@ResourceScr.Remarks</h2> <p> @ResourceScr.advRemark ...
apache-2.0
C#
49a26ec38e6b26a2b2be60334749daf66b407658
fix build
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
src/WeihanLi.Common/Event/EventQueuePublisher.cs
src/WeihanLi.Common/Event/EventQueuePublisher.cs
#if NETSTANDARD using Microsoft.Extensions.Options; #endif using System; using System.Threading.Tasks; namespace WeihanLi.Common.Event { public class EventQueuePublisher : IEventPublisher { private readonly IEventQueue _eventQueue; private readonly EventQueuePublisherOptions _options; #if ...
using Microsoft.Extensions.Options; using System; using System.Threading.Tasks; namespace WeihanLi.Common.Event { public class EventQueuePublisher : IEventPublisher { private readonly IEventQueue _eventQueue; private readonly EventQueuePublisherOptions _options; #if NETSTANDARD publi...
mit
C#
3173071c60b252843e94af8dfbe267fc44ee10f5
Fix null ref access when texture panel is open and you hover over a texture that failed to load.
dayo7116/open3mod,acgessler/open3mod,dayo7116/open3mod,zhukaixy/open3mod,acgessler/open3mod,zhukaixy/open3mod
open3mod/TextureDetailsDialog.cs
open3mod/TextureDetailsDialog.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using Assimp; namespace open3mod { public partial class TextureDetailsDialog : Form ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Windows.Forms; using Assimp; namespace open3mod { public partial class TextureDetailsDialog : Form ...
bsd-3-clause
C#
4faee01dfdc2c6418f6d72197e9f3421cb2bb15a
Fix `RemoveAndDisposeImmediately()` failing for children of containers with overridden `Content`
smoogipooo/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework
osu.Framework/Graphics/DrawableExtensions.cs
osu.Framework/Graphics/DrawableExtensions.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 osu.Framework.Development; namespace osu.Framework.Graphics { /// <summary> /// Holds extension methods for <see cref="Drawable"/>. /// <...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using osu.Framework.Development; using osu.Framework.Graphics.Containers; namespace osu.Framework.Graphics { /// <summary> /// Holds extension meth...
mit
C#
62263c81d8b60b751ec86db3f10f16bf4a09a689
Make GlowEffect support BlendingParameters
default0/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,Nabile-Rahmani/osu-framework,Tom94/...
osu.Framework/Graphics/Effects/GlowEffect.cs
osu.Framework/Graphics/Effects/GlowEffect.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 OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; namespace osu.Framework.Graphics.E...
// 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 OpenTK; using OpenTK.Graphics; using osu.Framework.Graphics.Colour; using osu.Framework.Graphics.Containers; namespace osu.Framework.Graphics.E...
mit
C#
6cc329ccbe1e927e34aa1738948cb33745d1355c
change message
cicorias/webjobtcpping
src/SimpleTcpServer/Program.cs
src/SimpleTcpServer/Program.cs
using SimpleTcpServer.Server; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace SimpleTcpServer { class Program { static void Main(string[] args) { ...
using SimpleTcpServer.Server; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.ServiceProcess; using System.Text; using System.Threading.Tasks; namespace SimpleTcpServer { class Program { static void Main(string[] args) { ...
mit
C#
f913bd24a33c12d8ea45855f9f3a848d5089e3cd
Fix ALgo
jefking/King.Service.Endurance,jefking/King.Service.Endurance
King.Service.Endurance/Generation/Tasks/Collector.cs
King.Service.Endurance/Generation/Tasks/Collector.cs
namespace Generation.Tasks { using Generation.Models; using King.Azure.Data; using King.Service; using System; public class Collector : RecurringTask { private readonly ITableStorage table; private readonly int seconds = 0; private DateTime? lastRun = null; pub...
namespace Generation.Tasks { using Generation.Models; using King.Azure.Data; using King.Service; using System; public class Collector : RecurringTask { private readonly ITableStorage table; private readonly int seconds = 0; private DateTime? lastRun = null; pub...
apache-2.0
C#
25a8b5f7f557b245874968f08f38b8810a4c8cc5
Check for a proper exception before running WebApiActionFilter
tdiehl/raygun4net,MindscapeHQ/raygun4net,MindscapeHQ/raygun4net,tdiehl/raygun4net,nelsonsar/raygun4net,MindscapeHQ/raygun4net,ddunkin/raygun4net,articulate/raygun4net,ddunkin/raygun4net,nelsonsar/raygun4net,articulate/raygun4net
Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs
Mindscape.Raygun4Net45/WebApi/RaygunWebApiFilters.cs
using System; using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace Mindscape.Raygun4Net.WebApi { public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute { private readonly IRaygunWebApiClientProvider _cli...
using System; using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; using System.Web.Http.Filters; namespace Mindscape.Raygun4Net.WebApi { public class RaygunWebApiExceptionFilter : ExceptionFilterAttribute { private readonly IRaygunWebApiClientProvider _cli...
mit
C#
4ae369a74beb1890c1a16dc113dbaa425c19b9e7
Remove LogoutForm and replace with LogoutToken
ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop,ParcelForMe/p4m-demo-shop
OpenOrderFramework/Views/Shared/_LoginPartial.cshtml
OpenOrderFramework/Views/Shared/_LoginPartial.cshtml
@using Microsoft.AspNet.Identity @using OpenOrderFramework.Models @model P4MConsts @if (Request.IsAuthenticated) { using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) { @Html.AntiForgeryToken() <ul class="nav navbar-nav navbar-right N...
@using Microsoft.AspNet.Identity @using OpenOrderFramework.Models @model P4MConsts @if (Request.IsAuthenticated) { using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" })) { @Html.AntiForgeryToken() <ul class="nav navbar-nav navbar-right N...
mit
C#
61505e2f661813f473b805e2e64494519155ed37
Use CurrentLocation.ProviderPath to get actual file system path
twsouthwick/poshgit2
PoshGit2/PoshGit2/Utils/PSCurrentWorkingDirectory.cs
PoshGit2/PoshGit2/Utils/PSCurrentWorkingDirectory.cs
using System.Management.Automation; namespace PoshGit2 { class PSCurrentWorkingDirectory : ICurrentWorkingDirectory { private SessionState _sessionState; public PSCurrentWorkingDirectory(SessionState sessionState) { _sessionState = sessionState; } ...
using System.Management.Automation; namespace PoshGit2 { class PSCurrentWorkingDirectory : ICurrentWorkingDirectory { private SessionState _sessionState; public PSCurrentWorkingDirectory(SessionState sessionState) { _sessionState = sessionState; } ...
mit
C#
6230b9a06c03355205ac3bdf82a7dcdb4e978955
fix indexing in the date range rule
ChristianKis/HackathonEpam2016,ChristianKis/HackathonEpam2016
SlbHackWeek2016/HackathonApi/Models/DateRangeRule.cs
SlbHackWeek2016/HackathonApi/Models/DateRangeRule.cs
using System.Collections.Generic; using HackathonAPI.Models; namespace GuessChangeListAuthor.Models { public class DateRangeRule : IRule { private class DTO { public string Author; public Dictionary<int, int[]> Commits; public int AllCommits; } ...
using System.Collections.Generic; using HackathonAPI.Models; namespace GuessChangeListAuthor.Models { public class DateRangeRule : IRule { private class DTO { public string Author; public Dictionary<int, int[]> Commits; public int AllCommits; } ...
mit
C#
f7a7d45e87f2d44d4a5e9110ea8eb96bf82df1fe
Add FloatArray and DoubleArray Test
fanoI/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,tgiphil/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos
Tests/Cosmos.Compiler.Tests.Bcl/System/ArrayTests.cs
Tests/Cosmos.Compiler.Tests.Bcl/System/ArrayTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cosmos.TestRunner; namespace Cosmos.Compiler.Tests.Bcl.System { class ArrayTests { public static void Execute() { if (true) { byte[]...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Cosmos.TestRunner; namespace Cosmos.Compiler.Tests.Bcl.System { class ArrayTests { public static void Execute() { byte[] xResult = { 1, 2, 3, 4, 5, 6, 7, 8 }; ...
bsd-3-clause
C#
feb36d4fb11e879e0e22fe8e5c6867d62722dda1
fix critical issue
CleberDSantos/UserIdentityProvider,CleberDSantos/UserIdentityProvider,CleberDSantos/UserIdentityProvider,CleberDSantos/UserIdentityProvider
UserIdentity.Api/Infrastructure/Caching/CacheKeys.cs
UserIdentity.Api/Infrastructure/Caching/CacheKeys.cs
namespace UserIdentity.WebUI.Infrastructure.Caching { /// <summary> /// Cache key /// </summary> public static class CacheKeys { private static string totalNumberOfUsers = "total_number_of_users"; /// <summary> /// Property Total numer of Users /// </summary> ...
namespace UserIdentity.WebUI.Infrastructure.Caching { public static class CacheKeys { public static string TotalNumberOfUsers = "total_number_of_users"; } }
mit
C#
978cac4d9dd2b5abba594f853df8d6dc7cac3ae2
Remove extra type from AlterIndexTable extension (#295)
sebastienros/yessql
src/YesSql.Core/Sql/SchemaBuilderExtensions.cs
src/YesSql.Core/Sql/SchemaBuilderExtensions.cs
using System; using System.Collections.Generic; using System.Text; using YesSql.Sql.Schema; namespace YesSql.Sql { public static class SchemaBuilderExtensions { public static IEnumerable<string> CreateSql(this ICommandInterpreter builder, ISchemaCommand command) { return builder.Cre...
using System; using System.Collections.Generic; using System.Text; using YesSql.Sql.Schema; namespace YesSql.Sql { public static class SchemaBuilderExtensions { public static IEnumerable<string> CreateSql(this ICommandInterpreter builder, ISchemaCommand command) { return builder.Cre...
mit
C#
b90640f1fe10920d7f397eba1c8eb018eff9f37b
Update SortBinaryArray.cs
vishipayyallore/CSharp-DotNet-Core-Samples
LearningDesignPatterns/Source/Alogithms/LogicPrograms/Logics/SortBinaryArray.cs
LearningDesignPatterns/Source/Alogithms/LogicPrograms/Logics/SortBinaryArray.cs
using LogicPrograms.Interfaces; using static System.Console; namespace LogicPrograms.Logics { public class SortBinaryArray : ISortBinaryArray { public void SortArray(int[] arrayItems) { var oneCount = 0; foreach (var item in arrayItems) { ...
using LogicPrograms.Interfaces; using static System.Console; namespace LogicPrograms.Logics { public class SortBinaryArray : ISortBinaryArray { public void SortArray(int[] arrayItems) { var oneCount = 0; foreach (var item in arrayItems) { ...
apache-2.0
C#
cdfc7f5e86fb06431368e2d3206c262295a8b5b9
Fix test type name to match file.
damianh/Cedar.EventStore,SQLStreamStore/SQLStreamStore,SQLStreamStore/SQLStreamStore
src/SqlStreamStore.Tests/StreamEventTests.cs
src/SqlStreamStore.Tests/StreamEventTests.cs
namespace SqlStreamStore { using System; using System.Threading.Tasks; using Shouldly; using SqlStreamStore.Streams; using Xunit; public class StreamEventTests { [Fact] public async Task Can_deserialize() { var message = new StreamMessage( ...
namespace SqlStreamStore { using System; using System.Threading.Tasks; using Shouldly; using SqlStreamStore.Streams; using Xunit; public class messageTests { [Fact] public async Task Can_deserialize() { var message = new StreamMessage( "s...
mit
C#
5cc125bc79b017ec5d7632224552be090027f8e6
Clarify a line of code
jonathanvdc/flame-llvm,jonathanvdc/flame-llvm,jonathanvdc/flame-llvm
stdlib/corlib/Runtime.InteropServices/Marshal.cs
stdlib/corlib/Runtime.InteropServices/Marshal.cs
using System.Primitives.InteropServices; namespace System.Runtime.InteropServices { /// <summary> /// Provides facilities for interacting with unmanaged code. /// </summary> public static class Marshal { /// <summary> /// Allocates unmanaged memory. /// </summary> //...
using System.Primitives.InteropServices; namespace System.Runtime.InteropServices { /// <summary> /// Provides facilities for interacting with unmanaged code. /// </summary> public static class Marshal { /// <summary> /// Allocates unmanaged memory. /// </summary> //...
mit
C#
3aefd502394a1c30ff301562795abb64ddb453a3
Fix osu! mode adding combos twice.
ppy/osu,Frontear/osuKyzer,peppy/osu-new,naoey/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,NeoAdonis/osu,Drezi126/osu,EVAST9919/osu,tacchinotacchi/osu,naoey/osu,DrabWeb/osu,ZLima12/osu,2yangk23/osu,nyaamara/osu,RedNesto/osu,johnneijzen/osu,naoey/osu,Nabile-Rahmani/osu,osu-RP/osu-RP,ppy/osu,smoogipoo/osu,smoogipoo/osu,Dra...
osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.cs
osu.Game.Modes.Osu/Scoring/OsuScoreProcessor.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.Modes.Objects.Drawables; using osu.Game.Modes.Osu.Judgements; using osu.Game.Modes.Osu.Objects; using osu.Game.Modes.Scoring; using osu.Game.Modes...
// 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.Modes.Objects.Drawables; using osu.Game.Modes.Osu.Judgements; using osu.Game.Modes.Osu.Objects; using osu.Game.Modes.Scoring; using osu.Game.Modes...
mit
C#
79f6cc30aa02bd5b941621be5faa05422fd0b3a5
Comment blocks support
MirekVales/FinesSE,MirekVales/FinesSE
FinesSE/FinesSE.Launcher/Formats/FitNessePSVFormat.cs
FinesSE/FinesSE.Launcher/Formats/FitNessePSVFormat.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace FinesSE.Launcher.Formats { public class FitNessePSVFormat : IFormatParser { public TableFormat Format => TableFormat.FitNessePSV; public string Parse(string in...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace FinesSE.Launcher.Formats { public class FitNessePSVFormat : IFormatParser { public TableFormat Format => TableFormat.FitNessePSV; public string Parse(string in...
apache-2.0
C#
6e42ae51e54a0b5c0b18a033bbe33f45f4ea341c
Fix warnings.
JohanLarsson/Gu.Reactive
Gu.Reactive.Benchmarks/Benchmarks/MinTrackerSimple.cs
Gu.Reactive.Benchmarks/Benchmarks/MinTrackerSimple.cs
namespace Gu.Reactive.Benchmarks { using System; using System.Collections.ObjectModel; using System.Linq; using BenchmarkDotNet.Attributes; [BenchmarkDotNet.Attributes.MemoryDiagnoser] public class MinTrackerSimple { private readonly ObservableCollection<int> ints1 = new Observable...
namespace Gu.Reactive.Benchmarks { using System; using System.Collections.ObjectModel; using System.Linq; using BenchmarkDotNet.Attributes; [BenchmarkDotNet.Attributes.MemoryDiagnoser] public class MinTrackerSimple { private ObservableCollection<int> ints1 = new ObservableBatchColl...
mit
C#
abbddeefc1eee0bc8c0e8b2b488aaaf0f681c3aa
Make the SoapFault class public
EULexNET/EULex.NET,EULexNET/EULex.NET
src/EULex/SimpleSOAPClient/Models/SoapFault.cs
src/EULex/SimpleSOAPClient/Models/SoapFault.cs
#region License // The MIT License (MIT) // // Copyright (c) 2016 João Simões // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rig...
#region License // The MIT License (MIT) // // Copyright (c) 2016 João Simões // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rig...
mit
C#
14e9569cfa28ea78a851b05c54d2f4be41d7960d
fix NullReferenceException issues with RegistryBackedDictionary
JLospinoso/beamgun
BeamgunApp/Models/RegistryBackedDictionary.cs
BeamgunApp/Models/RegistryBackedDictionary.cs
using System; using Microsoft.Win32; namespace BeamgunApp.Models { public interface IDynamicDictionary { Guid GetWithDefault(string key, Guid defaultValue); bool GetWithDefault(string key, bool defaultValue); string GetWithDefault(string key, string defaultValue); uint GetWithD...
using System; using Microsoft.Win32; namespace BeamgunApp.Models { public interface IDynamicDictionary { Guid GetWithDefault(string key, Guid defaultValue); bool GetWithDefault(string key, bool defaultValue); string GetWithDefault(string key, string defaultValue); uint GetWithD...
agpl-3.0
C#
b2181fc6e277ee048e9c6e5e7a6c3159425a8970
Use expression-bodied members
EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an,EamonNerbonne/a-vs-an
A-vs-An/A-vs-An-DotNet/Internals/Ratio.cs
A-vs-An/A-vs-An-DotNet/Internals/Ratio.cs
namespace AvsAnLib.Internals { /// <summary> /// The ratio of a's vs. an's for a given prefix /// </summary> public struct Ratio { public int Occurence, AminAnDiff; public int aCount { get => (Occurence + AminAnDiff) / 2; set { var old_...
namespace AvsAnLib.Internals { /// <summary> /// The ratio of a's vs. an's for a given prefix /// </summary> public struct Ratio { public int Occurence, AminAnDiff; public int aCount { get { return (Occurence + AminAnDiff) / 2; } set { ...
apache-2.0
C#
c2b7cfeeeefbf14d6b6da3d1ad4c5c786b652d46
Sort usings
jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,dotnet/roslyn,bartdesmet/roslyn,shyamnamboodiripad/roslyn,mavasani/roslyn,mavasani/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,bartdes...
src/EditorFeatures/CSharpTest2/Recommendations/KeywordRecommenderTests.cs
src/EditorFeatures/CSharpTest2/Recommendations/KeywordRecommenderTests.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Reflection; using System.Threading.Tasks; using Micros...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Microsoft.CodeAnalysis.CSharp.Completion.KeywordRecommenders; using System.Reflection; using System; using Sy...
mit
C#
47010a1cf7b4524ce919f59474aaac0a58ccea16
Test for migrations up to date.
schemavolution/schemavolution,schemavolution/schemavolution
Mathematicians.UnitTests/SqlGeneratorTests.cs
Mathematicians.UnitTests/SqlGeneratorTests.cs
using FluentAssertions; using MergableMigrations.EF6; using MergableMigrations.Specification; using MergableMigrations.Specification.Implementation; using System; using System.Linq; using Xunit; namespace Mathematicians.UnitTests { public class SqlGeneratorTests { [Fact] public void CanGenerat...
using FluentAssertions; using MergableMigrations.EF6; using MergableMigrations.Specification.Implementation; using System; using System.Linq; using Xunit; namespace Mathematicians.UnitTests { public class SqlGeneratorTests { [Fact] public void CanGenerateSql() { var migrati...
mit
C#
f48e1fe9c7c7ed2243fb590d6e64e3984a8a8306
Update GateController.cs
caiRanN/SeminarCrazyLasersGame
Project/Assets/Scripts/Game/GateController.cs
Project/Assets/Scripts/Game/GateController.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using HKUECT; /// <summary> /// Example of Isadora to Unity communication /// Handles the opening of laser door when isadora sends a message /// </summary> public class GateController : MonoBehaviour { public OSCReceiver receiver; publi...
using System.Collections; using System.Collections.Generic; using UnityEngine; using HKUECT; public class GateController : MonoBehaviour { public OSCReceiver receiver; public bool requiresAudience = false; [Range(0, 12)] public int oscValue; [Range(0, 12)] public int audienceOscValue; private void Update() ...
mit
C#
87c6ba8a52f2183ba51a97a7a0ef92bb2f6b44fd
split IDocumentStrategy in two roles
modulexcite/lokad-cqrs
Cqrs.Portable/AtomicStorage/IDocumentStrategy.cs
Cqrs.Portable/AtomicStorage/IDocumentStrategy.cs
#region (c) 2010-2012 Lokad - CQRS- New BSD License // Copyright (c) Lokad 2010-2012, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; using System.IO; namespace Lokad.Cqrs.AtomicStorage { public interface IDocumentStrategy : ...
#region (c) 2010-2012 Lokad - CQRS- New BSD License // Copyright (c) Lokad 2010-2012, http://www.lokad.com // This code is released as Open Source under the terms of the New BSD Licence #endregion using System; using System.IO; namespace Lokad.Cqrs.AtomicStorage { public interface IDocumentStrategy { ...
bsd-3-clause
C#
b8c5b18fb61b394bfed594fc71137a17ea36015c
Change random to avoid identical seed
criteo/zipkin4net,criteo/zipkin4net
Criteo.Profiling.Tracing/Utils/RandomUtils.cs
Criteo.Profiling.Tracing/Utils/RandomUtils.cs
using System; using System.Threading; namespace Criteo.Profiling.Tracing.Utils { /// <summary> /// Thread-safe random long generator. /// /// See "Correct way to use Random in multithread application" /// http://stackoverflow.com/questions/19270507/correct-way-to-use-random-in-multithread-applicat...
using System; using System.Threading; namespace Criteo.Profiling.Tracing.Utils { /// <summary> /// Thread-safe random long generator. /// /// See "Correct way to use Random in multithread application" /// http://stackoverflow.com/questions/19270507/correct-way-to-use-random-in-multithread-applicat...
apache-2.0
C#
ae66da41009860cfdc94bb97f677e1ab7de64d84
Fix missing static declaration
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.Rebus/SetDateOnSentMessagesExtensions.cs
HermaFx.Rebus/SetDateOnSentMessagesExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Rebus; using Rebus.Configuration; namespace HermaFx.Rebus { public static class SetDateOnSentMessagesExtensions { public static string MessageDataHeader = "message-date"; private static vo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Rebus; using Rebus.Configuration; namespace HermaFx.Rebus { public class SetDateOnSentMessagesExtensions { public static string MessageDataHeader = "message-date"; private static void SetD...
mit
C#
041b94bc7f3da4df4ae2b4860244dc728df0188f
Set state to IDLE on unhandled exception
ermshiperete/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,sillsdev/LfMerge,ermshiperete/LfMerge,ermshiperete/LfMerge
src/LfMerge/Actions/Action.cs
src/LfMerge/Actions/Action.cs
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using System; using Autofac; using LfMerge.Logging; using LfMerge.Settings; using SIL.FieldWorks.FDO; using SIL.Progress; namespace LfMerge.Actions { public abstract class Action: IAction ...
// Copyright (c) 2016 SIL International // This software is licensed under the MIT license (http://opensource.org/licenses/MIT) using Autofac; using LfMerge.Logging; using LfMerge.Settings; using SIL.FieldWorks.FDO; using SIL.Progress; namespace LfMerge.Actions { public abstract class Action: IAction { protected...
mit
C#
a6fef8e97c9cd327876cdb0f79ac494ba2090194
update version number
CampusLabs/identity-token-cache
IdentityTokenCache/Properties/AssemblyInfo.cs
IdentityTokenCache/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Id...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Id...
mit
C#
2f0d91148eeee68cb30ed5f13bc7b69b220edc36
Add ReadPokemon method
NextLight/PokeBattle_Client
PokeBattle_Client/PokeBattle_Client/Server.cs
PokeBattle_Client/PokeBattle_Client/Server.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Net; using System.Net.Sockets; using System.Web.Script.Serialization; namespace PokeBattle_Client { class Server { TcpClient client; ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; using System.Net; using System.Net.Sockets; using System.Web.Script.Serialization; namespace PokeBattle_Client { class Server { TcpClient client; ...
mit
C#
7796e7d4865bfca4e05a703881f7e01b605e847e
Test deployment.
markshark05/GForum,markshark05/GForum
GForum/GForum.Web/Views/Home/Index.cshtml
GForum/GForum.Web/Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>GForum</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div>
@{ ViewBag.Title = "Home Page"; } <div class="jumbotron"> <h1>GForum</h1> <p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p> <p><a href="https://asp.net" class="btn btn-primary btn-lg">Learn more &raquo;</a></p> </div> ...
mit
C#
f5dda94bafd09e492eb0f56ed532a3683959d41d
Update FontStyleTypeConverter.cs
Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Serializer/Xaml/Converters/FontStyleTypeConverter.cs
src/Core2D/Serializer/Xaml/Converters/FontStyleTypeConverter.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 System.ComponentModel; using System.Globalization; using Core2D.Style; namespace Core2D.Serializer.Xaml.Converters { /// <summary> ///...
// 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 System.Globalization; using System.ComponentModel; using Core2D.Style; namespace Core2D.Serializer.Xaml.Converters { /// <summary> ///...
mit
C#
1f6595e5307b97aab9aebb8a77ba4857907566f8
Implement ToString in KeyValue to make testing easier
ericnewton76/gmaps-api-net
src/Google.Maps/KeyValue.cs
src/Google.Maps/KeyValue.cs
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Google.Maps { [JsonObject(MemberSerialization.OptIn)] public class ValueText { [JsonProperty("value")] public string Value { get; set; } [JsonProperty("text")] public string Text { get; set; }...
using System; using System.Collections.Generic; using System.Text; using Newtonsoft.Json; namespace Google.Maps { [JsonObject(MemberSerialization.OptIn)] public class ValueText { [JsonProperty("value")] public string Value { get; set; } [JsonProperty("text")] public string Text { get; set; }...
apache-2.0
C#
cc520f6ec7a088be85dd846e4378808b1be524ee
Update last sql server versions
KankuruSQL/KMO
KVersion.cs
KVersion.cs
namespace KMO { public static class KVersion { public const int Sp2017 = 600; public const int Cu2017 = 600; public const int Sp2016 = 4001; public const int Cu2016 = 4435; public const int Sp2014 = 5000; public const int Cu2014 = 5546; public c...
namespace KMO { public static class KVersion { public const int Sp2017 = 500; public const int Cu2017 = 500; public const int Sp2016 = 4001; public const int Cu2016 = 4422; public const int Sp2014 = 5000; public const int Cu2014 = 5540; public c...
mit
C#
65b31581ec89c5f5e10b6717c912c19952102a7b
Remove unused code
DMagic1/KSP_Contract_Window
Source/ContractsWindow.Unity/Unity/CW_Note.cs
Source/ContractsWindow.Unity/Unity/CW_Note.cs
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using UnityEngine; using UnityEngine.UI; namespace ContractsWindow.Unity.Unity { public class CW_Note : MonoBehaviour { [SerializeField] private Text NoteText = null; public void setNote(string note) { if (NoteText =...
using System; using System.Collections.Generic; using ContractsWindow.Unity.Interfaces; using UnityEngine; using UnityEngine.UI; namespace ContractsWindow.Unity.Unity { public class CW_Note : MonoBehaviour { [SerializeField] private Text NoteText = null; private INote noteInterface; public void setNote(IN...
mit
C#
379c7af1a3ba9a5aa4d62229622e62276284f669
implement emailservice
Pathfinder-Fr/PathfinderDb3,Pathfinder-Fr/PathfinderDb3,Pathfinder-Fr/PathfinderDb3
Src/PathfinderDb.Web/Services/EmailService.cs
Src/PathfinderDb.Web/Services/EmailService.cs
// ----------------------------------------------------------------------- // <copyright file="EmailService.cs" company="Pathfinder-fr"> // Copyright (c) Pathfinder-fr. Tous droits reserves. // </copyright> // ----------------------------------------------------------------------- namespace PathfinderDb.Services { ...
// ----------------------------------------------------------------------- // <copyright file="EmailService.cs" company="Pathfinder-fr"> // Copyright (c) Pathfinder-fr. Tous droits reserves. // </copyright> // ----------------------------------------------------------------------- namespace PathfinderDb.Services { ...
apache-2.0
C#
e9996529d77e703db52e9415b040ddfa51fe8b7e
Remove unused memory stream from wasm-dump's Program.cs
jonathanvdc/cs-wasm,jonathanvdc/cs-wasm
wasm-dump/Program.cs
wasm-dump/Program.cs
using System; using System.IO; using Wasm.Binary; namespace Wasm.Dump { public static class Program { private static MemoryStream ReadStdinToEnd() { // Based on Marc Gravell's answer to this StackOverflow question: // https://stackoverflow.com/questions/1562417/read-bin...
using System; using System.IO; using Wasm.Binary; namespace Wasm.Dump { public static class Program { private static MemoryStream ReadStdinToEnd() { // Based on Marc Gravell's answer to this StackOverflow question: // https://stackoverflow.com/questions/1562417/read-bin...
mit
C#
72b7d6290ea884cc4c77a49c8d075a6b404a2496
Increment version to 1.15.
mjvh80/jefferson
Jefferson.Core/Properties/AssemblyInfo.cs
Jefferson.Core/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Je...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Je...
apache-2.0
C#
4207a7a4699e21fdad66638beaae00df6cb33d47
Add the standard copyright header into UTF8Marshaler.cs
eyecreate/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,juhovh/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,juhovh/tapcfg,eyecreate/tapcfg,zhanleewo/tapcfg,eyecreate/tapcfg,juhovh/tapcfg
src/bindings/UTF8Marshaler.cs
src/bindings/UTF8Marshaler.cs
/** * tapcfg - A cross-platform configuration utility for TAP driver * Copyright (C) 2008 Juho Vähä-Herttua * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * versio...
using System; using System.Text; using System.Collections; using System.Runtime.InteropServices; namespace TAP { public class UTF8Marshaler : ICustomMarshaler { static UTF8Marshaler marshaler = new UTF8Marshaler(); private Hashtable allocated = new Hashtable(); public static ICustomMarshaler GetInstance(stri...
lgpl-2.1
C#
d40ef75835027fc6d7483b192a68038bf883db73
add OpenURL()
yasokada/unity-160820-Inventory-UI
Assets/InventoryCS.cs
Assets/InventoryCS.cs
using UnityEngine; using System.Collections; using UnityEngine.UI; using NS_SampleData; /* * - add OpenURL() * v0.1 2016 Aug. 21 * - add MoveColumn() * - add MoveRow() * - add SampleData.cs * - add UI components (unique ID, Case No, Row, Column, About, DataSheet) */ public class InventoryCS : MonoBe...
using UnityEngine; using System.Collections; using UnityEngine.UI; using NS_SampleData; /* * v0.1 2016 Aug. 21 * - add MoveColumn() * - add MoveRow() * - add SampleData.cs * - add UI components (unique ID, Case No, Row, Column, About, DataSheet) */ public class InventoryCS : MonoBehaviour { public In...
mit
C#
0f13c1aff8f4c194b9e71161635cb374cf076356
Update version.
yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET
src/Arango/Arango.Client/API/ArangoClient.cs
src/Arango/Arango.Client/API/ArangoClient.cs
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
using System.Collections.Generic; using System.Linq; using Arango.Client.Protocol; namespace Arango.Client { public static class ArangoClient { private static List<Connection> _connections = new List<Connection>(); public static string DriverName { get { return ...
mit
C#
9690d7c6f5dd6f0051cbaf38aed6199d8425514b
Update FillDrawNode.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D.UI/Renderer/Nodes/FillDrawNode.cs
src/Core2D.UI/Renderer/Nodes/FillDrawNode.cs
using Core2D.Style; using A = Avalonia; using AM = Avalonia.Media; namespace Core2D.UI.Renderer { internal class FillDrawNode : DrawNode { public A.Rect Rect { get; set; } public IColor Color { get; set; } public double X { get; set; } public double Y { get; set; } publ...
using Core2D.Style; using A = Avalonia; using AM = Avalonia.Media; namespace Core2D.UI.Renderer { internal class FillDrawNode : DrawNode { public A.Rect Rect { get; set; } public IColor Color { get; set; } public double X { get; set; } public double Y { get; set; } publ...
mit
C#
3db962d78e8b24540279da04970041dfc6b3fed3
Update MaximilianLærum.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/MaximilianLærum.cs
src/Firehose.Web/Authors/MaximilianLærum.cs
public class MaximilianLærum : IAmACommunityMember { public string FirstName => "Maximilian"; public string LastName => "Lærum"; public string ShortBioOrTagLine => "PowerShell enthusiast"; public string StateOrRegion => "Norway"; public string TwitterHandle => "tr4psec"; ...
public class MaximilianLærum : IAmACommunityMember { public string FirstName => "Maximilian"; public string LastName => "Lærum"; public string ShortBioOrTagLine => "PowerShell enthusiast"; public string StateOrRegion => "Norway"; public string TwitterHandle => "tr4psec"; ...
mit
C#
f8daf4f83dc4b4e733fd9e9dce17771c64e82669
Remove cancellationToken parameter
AMDL/amdl2maml
amdl2maml/Converter/TopicUpdater.cs
amdl2maml/Converter/TopicUpdater.cs
using CommonMark.Syntax; using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Amdl.Maml.Converter { /// <summary> /// AMDL topic updater. /// </summary> public static class TopicUpdater { /// <summary> /// Updates the topics with thei...
using CommonMark.Syntax; using System; using System.Collections.Generic; using System.Linq; using System.Threading; namespace Amdl.Maml.Converter { /// <summary> /// AMDL topic updater. /// </summary> public static class TopicUpdater { /// <summary> /// Updates the topics with thei...
apache-2.0
C#
8b60af548da68814cde28002dee42f290c233d47
Allow output directory to be specified as a second parameter.
oliver-feng/nuget,indsoft/NuGet2,xoofx/NuGet,indsoft/NuGet2,dolkensp/node.net,chocolatey/nuget-chocolatey,antiufo/NuGet2,alluran/node.net,mrward/NuGet.V2,jmezach/NuGet2,dolkensp/node.net,chocolatey/nuget-chocolatey,ctaggart/nuget,OneGet/nuget,RichiCoder1/nuget-chocolatey,themotleyfool/NuGet,ctaggart/nuget,oliver-feng/n...
NuPack/PackageAuthoring.cs
NuPack/PackageAuthoring.cs
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; namespace NuPack { public class PackageAuthoring { private static readonly HashSet<string> _exclude = new HashSet<string>(new[] { ".nupack", ".nuspec" }, ...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; namespace NuPack { public class PackageAuthoring { private static readonly HashSet<string> _exclude = new HashSet<string>(new[] { ".nupack", ".nuspec" }, ...
apache-2.0
C#
b7fe58f88f91f563e8625823ea61b1fd2f1aa2be
modify webapi header version info
tropo/tropo-webapi-csharp,tropo/tropo-webapi-csharp
TropoCSharp/TropoJSON.cs
TropoCSharp/TropoJSON.cs
using System.Web; using Newtonsoft.Json; using System; namespace TropoCSharp.Tropo { /// <summary> /// A utility class to render a Tropo object as JSON. /// </summary> public static class TropoJSONExtensions { public static void RenderJSON(this Tropo tropo, HttpResponse response) {...
using System.Web; using Newtonsoft.Json; using System; namespace TropoCSharp.Tropo { /// <summary> /// A utility class to render a Tropo object as JSON. /// </summary> public static class TropoJSONExtensions { public static void RenderJSON(this Tropo tropo, HttpResponse response) {...
mit
C#
832cf40627c43210dd80495507d33d1c682d0892
Update AssemblyInfo.cs
schloempe/devenvWebProxyAuthentication
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die mit einer Assembly verknüpft sind. [assembly: A...
mit
C#
a229994fe00b442ae38bc4682a92ffa6588ab0b9
Bump version
o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("We...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("We...
mit
C#
3e890775d6a9cbbb4094530065dfade22951f5da
bump version
mstyura/Anotar,modulexcite/Anotar,distantcam/Anotar,Fody/Anotar
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.8.0")] [assembly: AssemblyFileVersion("2.8.0")]
using System.Reflection; [assembly: AssemblyTitle("Anotar")] [assembly: AssemblyProduct("Anotar")] [assembly: AssemblyVersion("2.7.4")] [assembly: AssemblyFileVersion("2.7.4")]
mit
C#
b5f8fc5168f20b17fafba982118fb294dd7525c6
bump version
furesoft/Fody,jasonholloway/Fody,ColinDabritzViewpoint/Fody,distantcam/Fody,Fody/Fody,GeertvanHorrik/Fody,huoxudong125/Fody,PKRoma/Fody,ichengzi/Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.19.0")] [assembly: AssemblyFileVersion("1.19.0")]
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.18.0")] [assembly: AssemblyFileVersion("1.18.0")]
mit
C#
c7ecb19aefc5cbed221417da2644db09c9d9817a
Tweak definition of IInitializable to support providing initialization data.
nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp,nikhilk/scriptsharp,x335/scriptsharp
src/Libraries/CoreLib/ComponentModel/IInitializable.cs
src/Libraries/CoreLib/ComponentModel/IInitializable.cs
// IInitializable.cs // Script#/Libraries/CoreLib // Copyright (c) Nikhil Kothari. // Copyright (c) Microsoft Corporation. // This source code is subject to terms and conditions of the Microsoft // Public License. A copy of the license can be found in License.txt. // using System; using System.Collections.Generic; us...
// IInitializable.cs // Script#/Libraries/CoreLib // Copyright (c) Nikhil Kothari. // Copyright (c) Microsoft Corporation. // This source code is subject to terms and conditions of the Microsoft // Public License. A copy of the license can be found in License.txt. // using System; using System.Runtime.CompilerService...
apache-2.0
C#
b6e6f0615fad063f339c0402fe27f3138d076b24
Add helper method to retrieve state data on ApplicationLoadedMessage
Benrnz/ReesUserInteraction
Rees.UserInteraction.Wpf/ApplicationState/ApplicationStateLoadedMessage.cs
Rees.UserInteraction.Wpf/ApplicationState/ApplicationStateLoadedMessage.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using GalaSoft.MvvmLight.Messaging; using Rees.UserInteraction.Contracts; namespace Rees.Wpf.ApplicationState { /// <summary> /// A <see cref="MessageBase" /> message object that contains rec...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using GalaSoft.MvvmLight.Messaging; using Rees.UserInteraction.Contracts; namespace Rees.Wpf.ApplicationState { /// <summary> /// A <see cref="MessageBase"/> message object that contains recently...
mit
C#
ab6fa057e14bdde6e8ef7c7eede176f12ef59c75
Update ModuleWeaverTests.cs
Fody/ModuleInit
Tests/ModuleWeaverTests.cs
Tests/ModuleWeaverTests.cs
using System.Reflection; using Fody; using Xunit; using Xunit.Abstractions; // ReSharper disable PrivateFieldCanBeConvertedToLocalVariable public class ModuleWeaverTests : XunitLoggingBase { [Fact] public void WithFields() { var weavingTask = new ModuleWeaver(); var testResult = weavi...
using System.Reflection; using Fody; using Xunit; // ReSharper disable PrivateFieldCanBeConvertedToLocalVariable public class ModuleWeaverTests : XunitLoggingBase { [Fact] public void WithFields() { var weavingTask = new ModuleWeaver(); var testResult = weavingTask.ExecuteTestRun("As...
mit
C#
4763cb8e0ee3a086177462e3697863cc733e06cc
Reformat TicketValidationResult.cs.
icedream/NPSharp
src/client/RPC/Messages/Data/TicketValidationResult.cs
src/client/RPC/Messages/Data/TicketValidationResult.cs
using System.Collections.Generic; using System.IO; using Newtonsoft.Json.Linq; namespace NPSharp.RPC.Messages.Data { /// <summary> /// Represents the outcome of a ticket validation attempt, including eventual NPv2 authentication identifiers passed by the server. /// </summary> public cla...
using System.Collections.Generic; using System.IO; using Newtonsoft.Json.Linq; namespace NPSharp.RPC.Messages.Data { /// <summary> /// Represents the outcome of a ticket validation attempt, including eventual NPv2 authentication identifiers passed by the server. /// </summary> public class Tick...
mit
C#
4ae3b333e1b41c9f01bf38254b4b2144e74a98db
Fix Plato docs link
giacomelli/BadgesSharp,giacomelli/BadgesSharp
src/BadgesSharp.WebApi/Views/Docs/Index.cshtml
src/BadgesSharp.WebApi/Views/Docs/Index.cshtml
<div class="jumbotron"> <h1>BadgesSharp</h1> <p class="lead">BadgesSharp is a free service to generate badges that need some kind of input and processing before you can display them on GitHub repositories.</p> <img src="/Badges/generated/total" /> </div> <div class="row"> <div class="col-md-4"> ...
<div class="jumbotron"> <h1>BadgesSharp</h1> <p class="lead">BadgesSharp is a free service to generate badges that need some kind of input and processing before you can display them on GitHub repositories.</p> <img src="/Badges/generated/total" /> </div> <div class="row"> <div class="col-md-4"> ...
mit
C#
15fb0c0690bc141ec464488194a07fc6e8544e30
Make the queue into a list
EVAST9919/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,EVAST9919/osu-framework
osu.Framework/Allocation/AsyncDisposalQueue.cs
osu.Framework/Allocation/AsyncDisposalQueue.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Threading.Tasks; using osu.Framework.Statistics; namespace osu.Framework.Allocation { /// <summary> ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Threading.Tasks; using osu.Framework.Statistics; namespace osu.Framework.Allocation { /// <summary> ...
mit
C#
0a6effd666a61e0961e28403f22fd7d41500f47a
Add comment
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/AboutViewModel.cs
WalletWasabi.Fluent/ViewModels/AboutViewModel.cs
using System; using System.IO; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Dialogs; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Helpers; using WalletWasabi.Logging; n...
using System; using System.IO; using System.Reactive; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Windows.Input; using ReactiveUI; using WalletWasabi.Fluent.ViewModels.Dialogs; using WalletWasabi.Fluent.ViewModels.Navigation; using WalletWasabi.Helpers; using WalletWasabi.Logging; n...
mit
C#
eb06209aa4070db1b220e16ca15489eeda73ae3d
Fix test on Mono
sailro/cecil,fnajera-rac-de/cecil,jbevain/cecil,SiliconStudio/Mono.Cecil,mono/cecil
symbols/mdb/Test/Mono.Cecil.Tests/MdbTests.cs
symbols/mdb/Test/Mono.Cecil.Tests/MdbTests.cs
using Mono.Cecil.Mdb; using NUnit.Framework; namespace Mono.Cecil.Tests { [TestFixture] public class MdbTests : BaseTestFixture { [Test] public void MdbWithJustLineInfo () { TestModule ("hello.exe", module => { var type = module.GetType ("Program"); var main = type.GetMethod ("Main"); Asser...
using Mono.Cecil.Mdb; using NUnit.Framework; namespace Mono.Cecil.Tests { [TestFixture] public class MdbTests : BaseTestFixture { [Test] public void MdbWithJustLineInfo () { TestModule ("hello.exe", module => { var type = module.GetType ("Program"); var main = type.GetMethod ("Main"); Asser...
mit
C#
4a1e3fbd42b1a00c07c81527e40512f2eb1c5eba
Make performance counter tests more stable
mvno/Okanshi,mvno/Okanshi,mvno/Okanshi
tests/Okanshi.Tests/PerformanceCounterTest.cs
tests/Okanshi.Tests/PerformanceCounterTest.cs
using System.Diagnostics; using FluentAssertions; using Xunit; namespace Okanshi.Test { public class PerformanceCounterTest { [Fact] public void Performance_counter_without_instance_name() { var performanceCounter = new PerformanceCounter("Memory", "Available Bytes"); var monitor = new PerformanceCount...
using System.Diagnostics; using FluentAssertions; using Xunit; namespace Okanshi.Test { public class PerformanceCounterTest { [Fact] public void Performance_counter_without_instance_name() { var performanceCounter = new PerformanceCounter("Memory", "Available Bytes"); var monitor = new PerformanceCount...
mit
C#
77db2d7f0e64d34fa0fb0a08130771506c8445d5
Use Dapper's Execute method in .NET 4.5.
david-mitchell/System.Data.SQLite,ddunkin/System.Data.SQLite,Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite
tests/System.Data.SQLite.Tests/TestUtility.cs
tests/System.Data.SQLite.Tests/TestUtility.cs
using System.Collections.Generic; using System.Data.SQLite; using System.Reflection; using NUnit.Framework; namespace System.Data.SQLite.Tests { internal static class TestUtility { #if !NET45 public static int Execute(this IDbConnection connection, string commandText, object parameters = null, IDbTransaction tran...
using System.Collections.Generic; using System.Data.SQLite; using System.Reflection; using NUnit.Framework; namespace System.Data.SQLite.Tests { internal static class TestUtility { public static int Execute(this IDbConnection connection, string commandText, object parameters = null, IDbTransaction transaction = n...
mit
C#
ab008ad20056072a0f4d9ea6ba3b6681025ef62c
remove done TODO:s
martinlindhe/Punku
punku/Math/NaturalNumber.cs
punku/Math/NaturalNumber.cs
/** * http://en.wikipedia.org/wiki/Natural_number * * NOTE http://msdn.microsoft.com/en-us/library/system.numerics.biginteger%28v=vs.100%29.aspx * System.Numerics.BigInteger also exists */ using System; namespace Punku { /** * Can represent a very large number */ public class NaturalNumber { public b...
/** * http://en.wikipedia.org/wiki/Natural_number * * NOTE http://msdn.microsoft.com/en-us/library/system.numerics.biginteger%28v=vs.100%29.aspx * System.Numerics.BigInteger also exists */ using System; // TODO unit tests for htis class namespace Punku { /** * Can represent a very large number */ public...
mit
C#
95c04a04f84f108696654158c98cd25031d16e60
Build fix 2
AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet
core/src/Helpers/StringWriterWithEncoding.cs
core/src/Helpers/StringWriterWithEncoding.cs
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
//---------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentat...
mit
C#
2cebe22392ef3f3130f67cbab64ea34797418805
Update GenericExtensions.cs
Insire/Maple,Insire/InsireBot-V2
src/Maple.Core/Extensions/GenericExtensions.cs
src/Maple.Core/Extensions/GenericExtensions.cs
using System; using System.Runtime.CompilerServices; using Maple.Localization.Properties; namespace Maple.Core.Extensions { public static class GenericExtensions { public static T ThrowIfNull<T>(this T obj, string objName, [CallerMemberName]string callerName = null) { if (obj == nu...
using System; using System.Runtime.CompilerServices; using Maple.Localization.Properties; namespace Maple.Core.Extensions { public static class GenericExtensions { public static T ThrowIfNull<T>(this T obj, string objName, [CallerMemberName]string callerName = null) { if (obj == nu...
mit
C#
736aa068ccbc58ca4a38221be9514c641f9fa754
Make domain a property for reuse.
bigfont/sweet-water-revolver
mvcWebApp/Controllers/HomeController.cs
mvcWebApp/Controllers/HomeController.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Hosting; using System.Web.Mvc; namespace mvcWebApp.Controllers { public class HomeController : Controller { public string domain { get { ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Web; using System.Web.Hosting; using System.Web.Mvc; namespace mvcWebApp.Controllers { public class HomeController : Controller { // // GET: /Home/ public ActionResult Index() { ...
mit
C#
6f4e81a0f50f0d635e99ffe2159ef8779cd904af
Add Dewey class to LibraryContext.
Programazing/Open-School-Library,Programazing/Open-School-Library
src/Open-School-Library/Data/LibraryContext.cs
src/Open-School-Library/Data/LibraryContext.cs
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Open_School_Library.Models.DatabaseModels; namespace Open_School_Library.Data { public class LibraryContext : DbContext { public LibraryContext(DbContextOptions<L...
mit
C#
0f4d92d2ab3711aef7995b7f33bbeb57c7904831
Fix build error for missing assembly attribute AllowPartiallyTrustedCallers
evgenekov/protobuf-csharp-port,evgenekov/protobuf-csharp-port,plutoo/protobuf-csharp-port,plutoo/protobuf-csharp-port,happydpc/protobuf-csharp-port,happydpc/protobuf-csharp-port,happydpc/protobuf-csharp-port,plutoo/protobuf-csharp-port,evgenekov/protobuf-csharp-port,plutoo/protobuf-csharp-port,evgenekov/protobuf-csharp...
src/ProtocolBuffers/Properties/AssemblyInfo.cs
src/ProtocolBuffers/Properties/AssemblyInfo.cs
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://github.com/jskeet/dotnet-protobufs/ // Original C++/Java/Python code: // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modificatio...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // http://github.com/jskeet/dotnet-protobufs/ // Original C++/Java/Python code: // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification...
bsd-3-clause
C#
48e50ba37c24cc2a3125ed0853708f3ca51f13bb
Fix wrong property mapping in SearchShard
CSGOpenSource/elasticsearch-net,tkirill/elasticsearch-net,CSGOpenSource/elasticsearch-net,robertlyson/elasticsearch-net,ststeiger/elasticsearch-net,UdiBen/elasticsearch-net,faisal00813/elasticsearch-net,DavidSSL/elasticsearch-net,KodrAus/elasticsearch-net,tkirill/elasticsearch-net,tkirill/elasticsearch-net,adam-mccoy/e...
src/Nest/Domain/Responses/SearchShardsResponse.cs
src/Nest/Domain/Responses/SearchShardsResponse.cs
using Nest.Domain; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public interface ISearchShardsResponse : IResponse { [JsonProperty("shards")] IEnumerable<IEnumerable...
using System.Collections.Generic; using Nest.Domain; using Newtonsoft.Json; using System.Linq.Expressions; using System; using System.Linq; namespace Nest { [JsonObject(MemberSerialization.OptIn)] public interface ISearchShardsResponse : IResponse { [JsonProperty("shards")] IEnumerable<IEnumerable<SearchShard...
apache-2.0
C#
fecd3d778a6dcd5722637e092a1f3e6c6ae8c466
Remove usage of obsolete IApplicationRegistration
csainty/Glimpse.Nancy,csainty/Glimpse.Nancy,csainty/Glimpse.Nancy
Src/Glimpse.Nancy/GlimpseRegistrations.cs
Src/Glimpse.Nancy/GlimpseRegistrations.cs
using System.Collections.Generic; using Glimpse.Core.Extensibility; using Nancy.Bootstrapper; namespace Glimpse.Nancy { public class GlimpseRegistrations : IRegistrations { public GlimpseRegistrations() { AppDomainAssemblyTypeScanner.AddAssembliesToScan(typeof(Glimpse.Core.Tab.Time...
using System.Collections.Generic; using Glimpse.Core.Extensibility; using Nancy.Bootstrapper; namespace Glimpse.Nancy { public class GlimpseRegistrations : IApplicationRegistrations { public GlimpseRegistrations() { AppDomainAssemblyTypeScanner.AddAssembliesToScan(typeof(Glimpse.Co...
mit
C#
3bbd54953d0ab2cb543d4a95a87b1569c4dd7ee4
Remove unneeded parameters
richardlawley/stripe.net,stripe/stripe-dotnet
src/Stripe.net/Services/_sources/SourceCard.cs
src/Stripe.net/Services/_sources/SourceCard.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Stripe { public class SourceCard : INestedOptions { /// <summary> /// The type of payment source. Should be "card". /// </summary> [JsonProperty("source[object]")] internal string Object =>...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Stripe { public class SourceCard : INestedOptions { [JsonProperty("source[object]")] internal string Object => "card"; [JsonProperty("source[number]")] public string Number { get; set; } ...
apache-2.0
C#
1f90b9f159b4a190c815b90e5a2057c6b5955b3d
Fix logic on 30/60/90 day buckets
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Models/EvaluationListViewModel.cs
Battery-Commander.Web/Models/EvaluationListViewModel.cs
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BatteryCommander.Web.Models { public class EvaluationListViewModel { public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>(); [Display(Na...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; namespace BatteryCommander.Web.Models { public class EvaluationListViewModel { public IEnumerable<Evaluation> Evaluations { get; set; } = Enumerable.Empty<Evaluation>(); [Display(Na...
mit
C#
18e54b8bdc2e427a4929c8b7177478c3d370fd74
Test to check tinyioc is internal
AMVSoftware/NSaga
src/Tests/NamespaceTests.cs
src/Tests/NamespaceTests.cs
using System; using System.Linq; using FluentAssertions; using NSaga; using Xunit; namespace Tests { public class NamespaceTests { [Fact] public void NSaga_Contains_Only_One_Namespace() { //Arrange var assembly = typeof(ISagaMediator).Assembly; // A...
using System; using System.Linq; using FluentAssertions; using NSaga; using Xunit; namespace Tests { public class NamespaceTests { [Fact] public void NSaga_Contains_Only_One_Namespace() { //Arrange var assembly = typeof(ISagaMediator).Assembly; // A...
mit
C#
bbdb059b785e0df465afba6ab7718222b2312e93
Fix non-compiling code.
AvaloniaUI/PerspexVS
src/AvaloniaVS/ViewModels/ProjectDescriptor.cs
src/AvaloniaVS/ViewModels/ProjectDescriptor.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using AvaloniaVS.Infrastructure; using EnvDTE; using VSLangProj; namespace AvaloniaVS.ViewModels { public class ProjectDescriptor : PropertyChangedBase { public Project Project { get; } ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using AvaloniaVS.Infrastructure; using EnvDTE; using VSLangProj; namespace AvaloniaVS.ViewModels { public class ProjectDescriptor : PropertyChangedBase { public Project Project { get; } ...
mit
C#
ef589e15120fe367952838a23de1548f561fef47
Set beta version
BizTalkComponents/ComponentInstrumentation
Src/ComponentInstrumentation/Properties/AssemblyInfo.cs
Src/ComponentInstrumentation/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bi...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Bi...
mit
C#
d23f23df202fd936bd124caede59881a7b05cc4b
remove failure test
zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,303248153/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb,zkweb-framework/ZKWeb
ZKWeb/ZKWebStandard/Tests/Collections/HtmlStringTest.cs
ZKWeb/ZKWebStandard/Tests/Collections/HtmlStringTest.cs
using ZKWebStandard.Collection; using ZKWebStandard.Testing; namespace ZKWebStandard.Tests.Collections { [Tests] class HtmlStringTest { public void Encode() { Assert.Equals(HtmlString.Encode("asd'\"<>").ToString(), "asd&#39;&quot;&lt;&gt;"); } public void Decode() { Assert.Equals(HtmlString....
using ZKWebStandard.Collection; using ZKWebStandard.Testing; namespace ZKWebStandard.Tests.Collections { [Tests] class HtmlStringTest { public void Encode() { Assert.Equals(HtmlString.Encode("asd'\"<>").ToString(), "asd&#39;&quot;&lt;&gt;"); Assert.Equals(1, 0); } public void Decode() { ...
mit
C#
b36ddfb85b164945ae1a441cd46ab3834956f3ee
Update assembly version
ernado-x/X.PagedList,kpi-ua/X.PagedList,kpi-ua/X.PagedList,ernado-x/X.PagedList,dncuug/X.PagedList
src/X.PagedList.Mvc/Properties/AssemblyInfo.cs
src/X.PagedList.Mvc/Properties/AssemblyInfo.cs
using System; using System.Security; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("X.PagedList")] [assembly: AssemblyDescription("Asp.Net MVC HtmlHelper method for generating paging control for use with PagedList library.")] [assembly: AssemblyCompany("Troy Goode, Ernado")] [a...
using System; using System.Security; using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("X.PagedList")] [assembly: AssemblyDescription("Asp.Net MVC HtmlHelper method for generating paging control for use with PagedList library.")] [assembly: AssemblyCompany("Troy Goode, Ernado")] [a...
mit
C#
94441380f5586776b487ae70e2b8ccdc0254d982
Add license and disclaimer to About panel
Zyrio/ictus,Zyrio/ictus
src/Yio/Views/Shared/_AboutPanelPartial.cshtml
src/Yio/Views/Shared/_AboutPanelPartial.cshtml
@{ var version = ""; var versionName = Yio.Data.Constants.VersionConstant.Codename.ToString(); if(Yio.Data.Constants.VersionConstant.Patch == 0) { version = Yio.Data.Constants.VersionConstant.Release.ToString(); } else { version = Yio.Data.Constants.VersionConstant.Release.ToString() + ...
@{ var version = ""; var versionName = Yio.Data.Constants.VersionConstant.Codename.ToString(); if(Yio.Data.Constants.VersionConstant.Patch == 0) { version = Yio.Data.Constants.VersionConstant.Release.ToString(); } else { version = Yio.Data.Constants.VersionConstant.Release.ToString() + ...
mit
C#
5dc9fc97fa47e304822f42d332f784dc67da9479
Update TriggerOfT.cs
XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors
src/Avalonia.Xaml.Interactivity/TriggerOfT.cs
src/Avalonia.Xaml.Interactivity/TriggerOfT.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 System.ComponentModel; namespace Avalonia.Xaml.Interactivity { /// <summary> /// A base class for behaviors, implementing the basic p...
// 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; namespace Avalonia.Xaml.Interactivity { /// <summary> /// A base class for behaviors, implementing the basic plumbing of ITrigger /// <...
mit
C#
8ecf111c42eb7ff77cab95715aae58ba5f87b02b
Update version
CodefoundryDE/LegacyWrapper,CodefoundryDE/LegacyWrapper
GlobalAssemblyInfo.cs
GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. [assembly: Asse...
mit
C#
4a882cab94b30151aeec64689b0fe2ed8c859a50
Change #1
seyedk/Staffing
Staffing/Staffing/Program.cs
Staffing/Staffing/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Staffing { class Program { static void Main(string[] args) { //Change #1: DEV } } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Staffing { class Program { static void Main(string[] args) { } } }
mit
C#
047b3f51a4a266d5f8fbce3e16c52d79b77d3f44
add an override for ShowUri that doesn't require a timestamp, as getting the current timestamp is kinda hackish
mono/gtk-sharp-beans,mono/gtk-sharp-beans
Gtk.Sources/Global.cs
Gtk.Sources/Global.cs
// GtkBeans.Global.cs // // Author(s): // Stephane Delcroix <stephane@delcroix.org> // // Copyright (c) 2009 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foun...
// GtkBeans.Global.cs // // Author(s): // Stephane Delcroix <stephane@delcroix.org> // // Copyright (c) 2009 Novell, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of version 2 of the Lesser GNU General // Public License as published by the Free Software Foun...
lgpl-2.1
C#
0a226edf53438eaacfec50824fabeaf58358b353
Update Main.cs
thanhitdept/Xamarin1
ImageLocation/Main.cs
ImageLocation/Main.cs
using UIKit; namespace ImageLocation { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. ...
using UIKit; namespace ImageLocation { public class Application { // This is the main entry point of the application. static void Main(string[] args) { // if you want to use a different Application Delegate class from "AppDelegate" // you can specify it here. ...
unlicense
C#
7aa3300f86e68e04a23762cb0a6a3df472f9248a
Update BinaryGap.cs
martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoalemany/Algorithms,martibayoale...
src/main/cs/BinaryGap.cs
src/main/cs/BinaryGap.cs
using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; namespace cs { public class BinaryGap { public static void Main(string[] args) { int result = execute(654345); Console.WriteLine($"Binary Gap: {result}"...
using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; namespace cs { public class BinaryGap { public static void Main2(string[] args) { int result = execute(654345); Console.WriteLine($"Binary Gap: {result}...
mit
C#
2166d9982c2ea2acdb8951accb8bb565dee749a1
fix bug in autocommand's event handler
AaronLieberman/Addle
Wpf/ViewModel/AutoCommand.cs
Wpf/ViewModel/AutoCommand.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Subjects; using System.Windows.Input; using Addle.Core.Linq; using JetBrains.Annotations; namespace Addle.Wpf.ViewModel { public class AutoCommand<TOwner, TParam> : IAutoCommandInternal, ICommand { reado...
using System; using System.Collections.Generic; using System.Linq; using System.Reactive; using System.Reactive.Subjects; using System.Windows.Input; using Addle.Core.Linq; using JetBrains.Annotations; namespace Addle.Wpf.ViewModel { public class AutoCommand<TOwner, TParam> : IAutoCommandInternal, ICommand { reado...
mit
C#
4fc53b5fb38eb639cc806cf6c3ebee567b9a297a
fix logic that checks if worker parameters are correct
kasubram/vsts-agent,lkillgore/vsts-agent,Microsoft/vsts-agent,lkillgore/vsts-agent,vithati/vsts-agent,kasubram/vsts-agent,vithati/vsts-agent,lkillgore/vsts-agent,Microsoft/vsts-agent,kasubram/vsts-agent,Microsoft/vsts-agent,Microsoft/vsts-agent,lkillgore/vsts-agent,vithati/vsts-agent,kasubram/vsts-agent
src/Agent.Worker/Program.cs
src/Agent.Worker/Program.cs
using System; using System.Diagnostics; using Microsoft.VisualStudio.Services.Agent; using System.Threading.Tasks; namespace Microsoft.VisualStudio.Services.Agent.Worker { public static class Program { public static void Main(string[] args) { RunAsync(args).Wait(); } ...
using System; using System.Diagnostics; using Microsoft.VisualStudio.Services.Agent; using System.Threading.Tasks; namespace Microsoft.VisualStudio.Services.Agent.Worker { public static class Program { public static void Main(string[] args) { RunAsync(args).Wait(); } ...
mit
C#
42ac74faeb1ae97aab29dece6b0535f205d3b201
Load credentials from file
FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative
c#/TwitchBot/StatoBot.UI/Views/Pages/Statistics.xaml.cs
c#/TwitchBot/StatoBot.UI/Views/Pages/Statistics.xaml.cs
using System; using System.Threading.Tasks; using System.Windows.Controls; using StatoBot.Analytics; using StatoBot.Core; using StatoBot.Reports; namespace StatoBot.UI.Views.Pages { public partial class Statistics : UserControl { private AnalyzerBot bot; private DateTime lastUpdate; public Statistics(string ...
using System; using System.Threading.Tasks; using System.Windows.Controls; using StatoBot.Analytics; using StatoBot.Reports; namespace StatoBot.UI.Views.Pages { public partial class Statistics : UserControl { private AnalyzerBot bot; private DateTime lastUpdate; public Statistics(string channelName) { I...
mit
C#
3455f65e8450a568cdaa55034efcc5fe3b1e7d30
Use the correct message handler type in unit tests
Elders/Cronus,Elders/Cronus
src/Elders.Cronus.Tests/MessageStreaming/When_message_handler_implements__IDisposable__.cs
src/Elders.Cronus.Tests/MessageStreaming/When_message_handler_implements__IDisposable__.cs
using System; using System.Collections.Generic; using Elders.Cronus.DomainModeling; using Elders.Cronus.MessageProcessing; using Elders.Cronus.Tests.TestModel; using Machine.Specifications; namespace Elders.Cronus.Tests.MessageStreaming { [Subject("")] public class When_message_handler_implements__IDisposable...
using System; using System.Collections.Generic; using Elders.Cronus.DomainModeling; using Elders.Cronus.MessageProcessing; using Elders.Cronus.Tests.TestModel; using Machine.Specifications; namespace Elders.Cronus.Tests.MessageStreaming { [Subject("")] public class When_message_handler_implements__IDisposable...
apache-2.0
C#
7ee8f0cca2fee7ee576bb40995d07c03d0746c29
Fix data collection cmdlets to not require login
zhencui/azure-powershell,naveedaz/azure-powershell,alfantp/azure-powershell,yantang-msft/azure-powershell,pomortaz/azure-powershell,devigned/azure-powershell,zhencui/azure-powershell,zhencui/azure-powershell,dulems/azure-powershell,yoavrubin/azure-powershell,dominiqa/azure-powershell,akurmi/azure-powershell,atpham256/a...
src/ResourceManager/Profile/Commands.Profile/DataCollection/EnableAzureRMDataCollection.cs
src/ResourceManager/Profile/Commands.Profile/DataCollection/EnableAzureRMDataCollection.cs
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
apache-2.0
C#
b93b6ba2ca215fac5a66e224695a908ff57925e9
Change "single tap" mod acronym to not conflict with "strict tracking"
ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Rulesets.Osu/Mods/OsuModSingleTap.cs
osu.Game.Rulesets.Osu/Mods/OsuModSingleTap.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModSingleTap : InputBlockingMod { public override string Name => ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; namespace osu.Game.Rulesets.Osu.Mods { public class OsuModSingleTap : InputBlockingMod { public override string Name => ...
mit
C#
c1c0e1ff7a2bb8979165f242db87bc40bfc40b62
Fix incorrect method call
peppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework
osu.Framework.Android/AndroidGameActivity.cs
osu.Framework.Android/AndroidGameActivity.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 Android.App; using Android.Content; using Android.OS; using Android.Runtime; namespace osu.Framework.Android { public abstract class AndroidGame...
// 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 Android.App; using Android.Content; using Android.OS; using Android.Runtime; namespace osu.Framework.Android { public abstract class AndroidGame...
mit
C#