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
193d6683ecc44068b679ec2d85f3147b636c6ea9
Implement disposable pattern to satisfy Sonar.
ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog,ivanpointer/NuLog
Take2/NuLog/Targets/SmtpClientShim.cs
Take2/NuLog/Targets/SmtpClientShim.cs
/* © 2017 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using System.Net; using System.Net.Mail; namespace NuLog.Targets { /// <summary> /// A shim to the real SmtpClient. /// </summary> public class SmtpCl...
/* © 2017 Ivan Pointer MIT License: https://github.com/ivanpointer/NuLog/blob/master/LICENSE Source on GitHub: https://github.com/ivanpointer/NuLog */ using System.Net; using System.Net.Mail; namespace NuLog.Targets { /// <summary> /// A shim to the real SmtpClient. /// </summary> public class SmtpCl...
mit
C#
c1a12413848b6cc6181f87d8bf18cef5246c7ee2
Change Order of Loading Styles
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
Portal.CMS.Web/Views/Shared/_Layout.cshtml
Portal.CMS.Web/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html lang="en-gb"> <head> <title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> <meta name="description" content="@SettingHelper.Get("Description Meta Tag")"> @RenderSe...
<!DOCTYPE html> <html lang="en-gb"> <head> <title>@SettingHelper.Get("Website Name"): @ViewBag.Title</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> <meta name="description" content="@SettingHelper.Get("Description Meta Tag")"> @RenderSe...
mit
C#
e39f219acb7e55683f1dd009f75f351216038fbf
Update UserController.cs
barld/project5_6,barld/project5_6,barld/project5_6
Webshop/Controllers/UserController.cs
Webshop/Controllers/UserController.cs
using MVC.View; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Webshop.Models; using DataModels; using MVC; namespace Webshop.Controllers { public class UserController : MVC.Controller.Controller { private AuthModule Auth; ...
using MVC.View; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Webshop.Models; using DataModels; using MVC; namespace Webshop.Controllers { public class UserController : MVC.Controller.Controller { private AuthModule Auth; ...
mit
C#
a4d33a69461545c44c536eebd83b63a68c5f85b4
add DoubleSidenize()
TakeAsh/cs-WpfUtility
WpfUtility/Model3DExtensionMethods.cs
WpfUtility/Model3DExtensionMethods.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media.Media3D; namespace WpfUtility { public static class Model3DExtensionMethods { public static object GetTag(this Model3D model) { return model.GetV...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Media.Media3D; namespace WpfUtility { public static class Model3DExtensionMethods { public static object GetTag(this Model3D model) { return model.GetV...
mit
C#
cb24419d275565b897b724618e31c4484f55bcea
fix link to Players view in navigation.
saxx/Wuzlstats-2014,afuersch/Wuzlstats-2014,afuersch/Wuzlstats-2014,saxx/Wuzlstats-2014
WuzlStats/Views/Shared/_Layout.cshtml
WuzlStats/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <meta http-equiv="refresh" content="3600"> <title>@(ViewBag.Title ?? "Wuzlstats")</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div c...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <meta http-equiv="refresh" content="3600"> <title>@(ViewBag.Title ?? "Wuzlstats")</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div c...
apache-2.0
C#
6f0dd4aa39f020b1ac1516fadaad701f2c5f3413
Implement aspect attributes
sakapon/Samples-2017
ProxySample/CrossCuttingConsole/Aspects.cs
ProxySample/CrossCuttingConsole/Aspects.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Transactions; namespace CrossCuttingConsole { public class TraceLogAttribute : AspectAttribute { public override IMethodReturnMessage Invoke(Func<IMethodReturnMessage> bas...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Transactions; namespace CrossCuttingConsole { public class TraceLogAttribute : AspectAttribute { public override IMethodReturnMessage Invoke(Func<IMethodReturnMessage> bas...
mit
C#
f1078a447c9832c30f899e3443dc5dbf9d1e3f4c
fix Android BaseUrl
teefresh/xamarin-forms-samples-1,williamsrz/xamarin-forms-samples,williamsrz/xamarin-forms-samples,KiranKumarAlugonda/xamarin-forms-samples,conceptdev/xamarin-forms-samples,JakeShanley/xamarin-forms-samples,fabianwilliams/xamarin-forms-samples,pabloescribanoloza/xamarin-forms-samples-1,reverence12389/xamarin-forms-samp...
RestaurantGuide/Android/BaseUrl_Android.cs
RestaurantGuide/Android/BaseUrl_Android.cs
using System; using Xamarin.Forms; using RestaurantGuide.Android; [assembly: Dependency (typeof (BaseUrl_Android))] namespace RestaurantGuide.Android { public class BaseUrl_Android : IBaseUrl { #region IBaseUrl implementation public string Get () { throw new NotImplementedException ("Once bug is fixed in...
using System; using Xamarin.Forms; using RestaurantGuide.Android; [assembly: Dependency (typeof (BaseUrl_Android))] namespace RestaurantGuide.Android { public class BaseUrl_Android : IBaseUrl { #region IBaseUrl implementation public string Get () { return NotImplementedException ("Once bug is fixed in Xa...
mit
C#
297c25f1ae1e6f0a9abd066e86f00946d9e02a0c
Fix FrameworkActionContainer only accepting a single child
peppy/osu-framework,EVAST9919/osu-framework,Tom94/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,Tom94/osu-framework,ppy/osu-framework,ZLima12/osu-framework...
osu.Framework/Input/FrameworkActionContainer.cs
osu.Framework/Input/FrameworkActionContainer.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { pu...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System.Collections.Generic; using System.Linq; using osu.Framework.Graphics; using osu.Framework.Input.Bindings; namespace osu.Framework.Input { pu...
mit
C#
dbcabfb6ac14a5940e5d64da57a5d8198ec00eb6
Remove ManiaAction.Specia2
peppy/osu,DrabWeb/osu,naoey/osu,NeoAdonis/osu,naoey/osu,peppy/osu-new,ppy/osu,Nabile-Rahmani/osu,johnneijzen/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,Frontear/osuKyzer,ppy/osu,UselessToucan/osu,smoogipoo/osu,DrabWeb/osu,johnneijzen/osu,peppy/osu,NeoAdonis/osu,naoey/osu,EVAST9919/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/...
osu.Game.Rulesets.Mania/ManiaInputManager.cs
osu.Game.Rulesets.Mania/ManiaInputManager.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; using osu.Framework.Input.Bindings; using osu.Game.Rulesets.UI; namespace osu.Game.Rulesets.Mania { public class ManiaInputMa...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System.ComponentModel; using osu.Framework.Input.Bindings; using osu.Game.Rulesets.UI; namespace osu.Game.Rulesets.Mania { public class ManiaInputMa...
mit
C#
cb2d1f3f04ae864b330bd2470e5769bb6839536b
Use horizontally symmetrical padding rather than margin
smoogipoo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,ppy/osu
osu.Game/Overlays/Settings/SettingsHeader.cs
osu.Game/Overlays/Settings/SettingsHeader.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Localisation; using osu.Game.Graphics; using o...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Localisation; using osu.Game.Graphics; using o...
mit
C#
ecdc89ca0ad41887999b261c3e18d0edbf5b0256
Fix comment
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer
Client/Systems/ExternalSeat/ExternalSeatSystem.cs
Client/Systems/ExternalSeat/ExternalSeatSystem.cs
using LunaClient.Events; namespace LunaClient.Systems.ExternalSeat { /// <summary> /// This system handles the events when a kerbal boards or unboards an external seat /// </summary> public class ExternalSeatSystem : Base.System<ExternalSeatSystem> { #region Fields & properties pr...
using LunaClient.Events; namespace LunaClient.Systems.ExternalSeat { /// <summary> /// This system packs applis a custom precalc to all vessels so they don't do the kill check if they are not yours /// </summary> public class ExternalSeatSystem : Base.System<ExternalSeatSystem> { #region F...
mit
C#
f5228a60319defeb24ee98a37933b527b0fb6d9c
Change "Countdown" widget default "TimeFormat"
danielchalmers/DesktopWidgets
DesktopWidgets/Widgets/CountdownClock/Settings.cs
DesktopWidgets/Widgets/CountdownClock/Settings.cs
using System; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.CountdownClock { public class Settings : WidgetClockSettingsBase { public Settings() { TimeFormat = "dd:hh:mm:ss"; } public DateTime EndDateTime { get; set; } = DateTime.Now; } }
using System; using DesktopWidgets.Classes; namespace DesktopWidgets.Widgets.CountdownClock { public class Settings : WidgetClockSettingsBase { public DateTime EndDateTime { get; set; } = DateTime.Now; } }
apache-2.0
C#
8753bf42693e8715ed052a1fb51de6fa520c67e7
add key 1 and 2 as left and right trigger
kasoki/UniCube,kasoki/UniCube
InControl/Unity/DeviceProfiles/KeyboardProfile.cs
InControl/Unity/DeviceProfiles/KeyboardProfile.cs
using System; using System.Collections; using System.Collections.Generic; namespace InControl { [AutoDiscover] public class KeyboardProfile : UnityInputDeviceProfile { public KeyboardProfile() { Name = "Keyboard"; Meta = ""; SupportedPlatforms = new[] { "Windows", "Mac", "Linux" }; ...
using System; using System.Collections; using System.Collections.Generic; namespace InControl { [AutoDiscover] public class KeyboardProfile : UnityInputDeviceProfile { public KeyboardProfile() { Name = "Keyboard"; Meta = ""; SupportedPlatforms = new[] { "Windows", "Mac", "Linux" }; ...
mit
C#
e7cdbb5da4ad37699fe7c63a10412d756228bfcb
Bump version to 1.6.0.1
danlister/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder,zpqrtbnk/Zbu.ModelsBuilder
Zbu.ModelsBuilder/Properties/CommonInfo.cs
Zbu.ModelsBuilder/Properties/CommonInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013-2014")] [assembly: AssemblyTrademark(...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("ZpqrtBnk Umbraco ModelsBuilder")] [assembly: AssemblyCompany("Pilotine - ZpqrtBnk")] [assembly: AssemblyCopyright("Copyright © Pilotine - ZpqrtBnk 2013-2014")] [assembly: AssemblyTrademark(...
mit
C#
665b738289251ab3d4829cba6c6c9595083b1a0a
Remove unused
BenPhegan/NuGet.Extensions
NuGet.Extensions/MSBuild/SolutionProjectLoader.cs
NuGet.Extensions/MSBuild/SolutionProjectLoader.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NuGet.Common; namespace NuGet.Extensions.MSBuild { public class SolutionProjectLoader : IDisposable { private readonly FileInfo _solutionFile; private readonly IConsole _console; private readonly C...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using NuGet.Common; namespace NuGet.Extensions.MSBuild { public class SolutionProjectLoader : IDisposable { private readonly FileInfo _solutionFile; private readonly IConsole _console; private readonly C...
mit
C#
a0cdcda3f30b5903303cd557557dc6951bf6a261
Fix first completion being submitted instead of selected
Baggykiin/pass-winmenu
pass-winmenu/src/Windows/FileSelectionWindow.cs
pass-winmenu/src/Windows/FileSelectionWindow.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; namespace PassWinmenu.Windows { internal class FileSelectionWindow : MainWindow { private readonly DirectoryAutocomplete autocomplete; private readonly string baseDirectory; public FileS...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; namespace PassWinmenu.Windows { internal class FileSelectionWindow : MainWindow { private readonly DirectoryAutocomplete autocomplete; private readonly string baseDirectory; public FileS...
mit
C#
e541b36d01e2b0e6c4fce3c39b268fba1d024c24
Change conditional from decorator to a task
marcotmp/BehaviorTree
Assets/Scripts/BehaviorTree/Conditionals/Conditional.cs
Assets/Scripts/BehaviorTree/Conditionals/Conditional.cs
public class Conditional : Task { private ConditionalDelegate conditionalDelegate; public Conditional(string name, ConditionalDelegate conditionalDelegate) : base(name) { this.conditionalDelegate = conditionalDelegate; } public override ReturnCode Update() { var value = condit...
public class Conditional : DecoratorTask { private ConditionalDelegate conditionalDelegate; public Conditional(string name, ConditionalDelegate conditionalDelegate) : base(name) { this.conditionalDelegate = conditionalDelegate; } public override ReturnCode Update() { var value...
unlicense
C#
b51d4d482afc688aa2a1f6001bf453b13de287f1
Add some guards for measuring nulls
Branimir123/FMI-IoT-Teamwork,Branimir123/FMI-IoT-Teamwork
SmartHive/SmartHive.Web/Views/Hive/Details.cshtml
SmartHive/SmartHive.Web/Views/Hive/Details.cshtml
@model IList<SmartHive.Services.JsonModels.JsonHive> @{ ViewBag.Title = "Details"; } <h2>Details</h2> @{ double[] humids = Model.Select(h => Convert.ToDouble(h.Humidity)).ToArray(); double[] temps = Model.Select(h => Convert.ToDouble(h.Temperature)).ToArray(); string[] dates = Model.Select(h => Conve...
@model IList<SmartHive.Services.JsonModels.JsonHive> @{ ViewBag.Title = "Details"; } <h2>Details</h2> @{ double[] humids = Model.Select(h => Convert.ToDouble(h.Humidity)).ToArray(); double[] temps = Model.Select(h => Convert.ToDouble(h.Temperature)).ToArray(); string[] dates = Model.Select(h => Conve...
mit
C#
b9dfccadc569ce1d99e7e6e88b2f000561b4aead
Disable of deleting character groups if they have any claims (#53)
kirillkos/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.DataModel/CharacterGroup.cs
JoinRpg.DataModel/CharacterGroup.cs
using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.DataModel { // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global (virtual methods used by LINQ) public class CharacterGroup : IClaimSource, IDeletableSubEntity { public int CharacterGroupId { get...
using System.Collections.Generic; using System.Linq; using JoinRpg.Helpers; namespace JoinRpg.DataModel { // ReSharper disable once ClassWithVirtualMembersNeverInherited.Global (virtual methods used by LINQ) public class CharacterGroup : IClaimSource, IDeletableSubEntity { public int CharacterGroupId { get...
mit
C#
f66ffad7aa94cd9560ebabbd2457a13aa203059f
Change assembly description
PolarbearDK/Miracle.FileZilla.Api
Source/Miracle.FileZilla.Api/Properties/AssemblyInfo.cs
Source/Miracle.FileZilla.Api/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("Mi...
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("Mi...
mit
C#
d282bde7cb5037482d759ce69cdb13d9ca926ecf
Read flight file using File.ReadAllLines
dinazil/she-codes-csharp-for-beginners
Module7/AirlineDelays/FlightInfo.cs
Module7/AirlineDelays/FlightInfo.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AirlineDelays { class FlightInfo { public string Airline { get; set; } public string Origin { get; set; } public string Destination { get; set;...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AirlineDelays { class FlightInfo { public string Airline { get; set; } public string Origin { get; set; } public string Destination { get; set;...
mit
C#
68da9e8afc42dedfb41a38ffd123917533e4a6f8
Add LessThan and LongerThan attributes to TestRunnerFactory
Hammerstad/Moya
Moya/Factories/TestRunnerFactory.cs
Moya/Factories/TestRunnerFactory.cs
namespace Moya.Factories { using System; using System.Collections.Generic; using Attributes; using Exceptions; using Extensions; using Runners; using Utility; public class TestRunnerFactory : ITestRunnerFactory { private readonly IDictionary<Type, Type> attributeTestRunnerM...
namespace Moya.Factories { using System; using System.Collections.Generic; using Attributes; using Exceptions; using Extensions; using Runners; using Utility; public class TestRunnerFactory : ITestRunnerFactory { private readonly IDictionary<Type, Type> attributeTestRunnerM...
mit
C#
c28c518ae3efd18ead1311bb03473356f650bccd
bump version
SimonCropp/NServiceBus.Serilog
NServiceBus.Serilog/AssemblyInfo.cs
NServiceBus.Serilog/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyVersion("1.6.1")] [assembly: AssemblyFileVersion("1.6.1")] [assembly: AssemblyTitle("NServiceBus.Serilog")] [assembly: AssemblyProduct("NServiceBus.Serilog")]
using System.Reflection; [assembly: AssemblyVersion("1.6.0")] [assembly: AssemblyFileVersion("1.6.0")] [assembly: AssemblyTitle("NServiceBus.Serilog")] [assembly: AssemblyProduct("NServiceBus.Serilog")]
mit
C#
8e5ad58cde1b850bf3b97a0e2c9a0b68c17ed6c1
update Parser.cs
gaulinsoft/fusion,gaulinsoft/fusion,gaulinsoft/fusion
dll/Gaulinsoft.Web.Fusion/Parser.cs
dll/Gaulinsoft.Web.Fusion/Parser.cs
/*! ------------------------------------------------------------------------ // Fusion // ------------------------------------------------------------------------ // // Copyright 2014 Nicholas Gaulin // // Licensed under the Apache License, Version 2.0 (th...
/*! ------------------------------------------------------------------------ // Fusion // ------------------------------------------------------------------------ // // Copyright 2014 Nicholas Gaulin // // Licensed under the Apache License, Version 2.0 (th...
apache-2.0
C#
6c983d4a36afaf985b6cfa760ea745d9abe91117
Add type string converter documentation.
cemdervis/SharpConfig
SharpConfig/ITypeStringConverter.cs
SharpConfig/ITypeStringConverter.cs
using System; using System.Collections.Generic; using System.Text; namespace SharpConfig { /// <summary> /// Defines a type-to-string and string-to-type converter /// that is used for the conversion of setting values. /// </summary> public interface ITypeStringConverter { /// <summary>...
using System; using System.Collections.Generic; using System.Text; namespace SharpConfig { public interface ITypeStringConverter { string ConvertToString(object value); object ConvertFromString(string value, Type hint); Type ConvertibleType { get; } } public abstract class Typ...
mit
C#
d18f8d9a85a9f2befbb27d1403854354c65b916b
Package Update #CHANGE: Pushed AdamsLair.WinForms 1.0.8
windygu/winforms,AdamsLair/winforms
WinForms/Properties/AssemblyInfo.cs
WinForms/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#
cc88bd3c972a5b707f5d4118757ef47bf3302bde
Document PoESocketColor
jcmoyer/Yeena
Yeena/PathOfExile/PoESocketColor.cs
Yeena/PathOfExile/PoESocketColor.cs
// Copyright 2013 J.C. Moyer // // 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 to ...
// Copyright 2013 J.C. Moyer // // 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 to ...
apache-2.0
C#
4610e37c682ec1195046d6621ac1ba8701306394
Fix isAuthenticated -> authenticated to get it working - Camunda docs error
jlucansky/Camunda.Api.Client
Camunda.Api.Client/Identity/IdentityVerifiedUser.cs
Camunda.Api.Client/Identity/IdentityVerifiedUser.cs
using System; using System.Collections.Generic; using System.Text; namespace Camunda.Api.Client.Identity { public class IdentityVerifiedUser { /// <summary> /// The id of the user /// </summary> public string AuthenticatedUser; /// <summary> /// Verification suc...
using System; using System.Collections.Generic; using System.Text; namespace Camunda.Api.Client.Identity { public class IdentityVerifiedUser { /// <summary> /// The id of the user /// </summary> public string AuthenticatedUser; /// <summary> /// Verification suc...
mit
C#
dd4e563d5eb3cf35db14b593c12b95e3dd53d855
Fix to update invoice
craigmckeachie/stripe.net,chickenham/stripe.net,AvengingSyndrome/stripe.net,duckwaffle/stripe.net,shirley-truong-volusion/stripe.net,hattonpoint/stripe.net,Raganhar/stripe.net,matthewcorven/stripe.net,DemocracyVenturesInc/stripe.net,DemocracyVenturesInc/stripe.net,richardlawley/stripe.net,shirley-truong-volusion/stripe...
src/Stripe.Tests/invoices/when_closing_an_invoice.cs
src/Stripe.Tests/invoices/when_closing_an_invoice.cs
using System.Collections.Generic; using System.Linq; using Machine.Specifications; using System; namespace Stripe.Tests { public class when_closing_an_invoice { private static StripeInvoice _stripeInvoice; private static List<StripeInvoice> _stripeInvoiceList; private static StripeInvoiceService _stripeInvoic...
using System.Collections.Generic; using System.Linq; using Machine.Specifications; using System; namespace Stripe.Tests { public class when_closing_an_invoice { private static StripeInvoice _stripeInvoice; private static List<StripeInvoice> _stripeInvoiceList; private static StripeInvoiceService _stripeInvoic...
apache-2.0
C#
b689e75924bfc84375795bcba084148c74c4ddbf
Fix namespace function not using top level types
fretelweb/ConfuserEx,timnboys/ConfuserEx,arpitpanwar/ConfuserEx,modulexcite/ConfuserEx,farmaair/ConfuserEx,yuligang1234/ConfuserEx,yeaicc/ConfuserEx,AgileJoshua/ConfuserEx,manojdjoshi/ConfuserEx,jbeshir/ConfuserEx,JPVenson/ConfuserEx,mirbegtlax/ConfuserEx,Desolath/ConfuserEx3,MetSystem/ConfuserEx,mirbegtlax/ConfuserEx,...
Confuser.Core/Project/Patterns/NamespaceFunction.cs
Confuser.Core/Project/Patterns/NamespaceFunction.cs
using dnlib.DotNet; namespace Confuser.Core.Project.Patterns { /// <summary> /// A function that compare the namespace of definition. /// </summary> public class NamespaceFunction : PatternFunction { internal const string FnName = "namespace"; /// <inheritdoc /> public override string Name { get { r...
using dnlib.DotNet; namespace Confuser.Core.Project.Patterns { /// <summary> /// A function that compare the namespace of definition. /// </summary> public class NamespaceFunction : PatternFunction { internal const string FnName = "namespace"; /// <inheritdoc /> public override string Name { get { r...
mit
C#
6834a28fe35f92da3f2cbac0cb2dffb4d09367b5
Fix Dic2 lexer regexes to work properly on Linux
TheBerkin/Rant,esaul/Rant
Rant/Vocabulary/Dic2Lexer.cs
Rant/Vocabulary/Dic2Lexer.cs
using System.Collections.Generic; using System.Text.RegularExpressions; using Rant.Stringes; using Rant.Stringes.Tokens; namespace Rant.Vocabulary { internal static class Dic2Lexer { private const RegexOptions DicRegexOptions = RegexOptions.Compiled; private static readonly LexerRules<DicToke...
using System.Collections.Generic; using System.Text.RegularExpressions; using Rant.Stringes; using Rant.Stringes.Tokens; namespace Rant.Vocabulary { internal static class Dic2Lexer { private const RegexOptions DicRegexOptions = RegexOptions.Compiled; private static readonly LexerRules<DicToke...
mit
C#
722513cf07bd0ee92fd08725ed441cf2e27d2ece
Fix JUnit test to find running assembly in Mono C#
reportunit/reportunit,reportunit/reportunit,ekirmayer/reportunit,reportunit/reportunit,ekirmayer/reportunit,ekirmayer/reportunit
ReportUnitTest/JUnitTests.cs
ReportUnitTest/JUnitTests.cs
using System; using System.IO; using System.Reflection; using NUnit.Framework; namespace ReportUnitTest { [TestFixture] public class JUnitTests { public static string ExecutableDir; public static string ResourcesDir; [OneTimeSetUp] public static void Setup() { ...
using System; using System.IO; using NUnit.Framework; namespace ReportUnitTest { [TestFixture] public class JUnitTests { public static string ExecutableDir; public static string ResourcesDir; [OneTimeSetUp] public static void Setup() { ResourcesDir = Pat...
mit
C#
c7dca4b6631dc519dd0c8953962decfc4213b22a
update responsive meta tag per twbs
AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us
src/mikeandwan.us/Views/Shared/_LayoutMinimal.cshtml
src/mikeandwan.us/Views/Shared/_LayoutMinimal.cshtml
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <title>mikeandwan.us | @ViewBag.Title</title> @await RenderSectionAsync("custom_head", required: false) </head> <body> @RenderBody() </body> </html>
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>mikeandwan.us | @ViewBag.Title</title> @await RenderSectionAsync("custom_head", required: false) </head> <body> @RenderBody() </body> </html>
mit
C#
31ae499fffa3c058ff27123a9db870dfb6675775
Change order of operations for selectable menu
PearMed/Pear-Interaction-Engine
Scripts/UI/SelectableMenu.cs
Scripts/UI/SelectableMenu.cs
using Pear.InteractionEngine.Controllers; using Pear.InteractionEngine.EventListeners; using Pear.Models; using System; using UnityEngine; using UnityEngine.UI; namespace Pear.InteractionEngine.UI { /// <summary> /// A menu that opens around a controller /// and uses selectable navigation /// </summar...
using Pear.InteractionEngine.Controllers; using Pear.InteractionEngine.EventListeners; using Pear.Models; using System; using UnityEngine; using UnityEngine.UI; namespace Pear.InteractionEngine.UI { /// <summary> /// A menu that opens around a controller /// and uses selectable navigation /// </summary> public ...
mit
C#
e4463254d7feab088262dfb84826f4ce5a04ba43
Add test coverage for score counter alignment
UselessToucan/osu,ppy/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu
osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.cs
osu.Game.Tests/Visual/Gameplay/TestSceneSkinnableScoreCounter.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Testing; using osu.G...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Testing; using osu.Game.Rulesets; using osu.Game.Rulesets.Osu; using osu.G...
mit
C#
40ec24c721aed28fdeb82eaa8a35e18ece3c6cd9
Increase line thickness to match design
EVAST9919/osu,2yangk23/osu,peppy/osu,2yangk23/osu,ZLima12/osu,ZLima12/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,NeoAdonis/osu,ppy/osu,ppy/osu,peppy/osu,NeoAdonis/osu,Useless...
osu.Game.Tournament/Screens/Ladder/Components/ProgressionPath.cs
osu.Game.Tournament/Screens/Ladder/Components/ProgressionPath.cs
using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Lines; using OpenTK; namespace osu.Game.Tournament.Screens.Ladder.Components { public class ProgressionPath : Path { public DrawableMatchPairing Source { get; private set; } public DrawableMatchPairing Destination { g...
using System.Linq; using osu.Framework.Graphics; using osu.Framework.Graphics.Lines; using OpenTK; namespace osu.Game.Tournament.Screens.Ladder.Components { public class ProgressionPath : Path { public DrawableMatchPairing Source { get; private set; } public DrawableMatchPairing Destination { g...
mit
C#
67b6811ca8d18ed7e4063cb712577a260a0de232
add comment to show why test isnt working.
SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia
samples/IntegrationTestApp/ShowWindowTest.axaml.cs
samples/IntegrationTestApp/ShowWindowTest.axaml.cs
using System; using Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using Avalonia.Rendering; namespace IntegrationTestApp { public class ShowWindowTest : Window { public ShowWindowTest() { InitializeComponent(); } private void Initializ...
using System; using Avalonia.Controls; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using Avalonia.Rendering; namespace IntegrationTestApp { public class ShowWindowTest : Window { public ShowWindowTest() { InitializeComponent(); } private void Initializ...
mit
C#
78528fc49ea840a74b0abfcc9393c902a724ecfc
Add test for day 18 part 2
martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode,martincostello/adventofcode
tests/AdventOfCode.Tests/Puzzles/Y2016/Day18Tests.cs
tests/AdventOfCode.Tests/Puzzles/Y2016/Day18Tests.cs
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2016 { using Xunit; /// <summary> /// A class containing tests for the <see cref="Da...
// Copyright (c) Martin Costello, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2016 { using Xunit; /// <summary> /// A class containing tests for the <see cref="Da...
apache-2.0
C#
5a7ebfbb16538746ab816983b779924d1922a54e
Change checkbox to check mark and cross mark characters.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
MitternachtWeb/Areas/Guild/Views/Mutes/Index.cshtml
MitternachtWeb/Areas/Guild/Views/Mutes/Index.cshtml
@model IEnumerable<Mute> <table class="table"> <thead> <tr> <th></th> <th> @Html.DisplayNameFor(model => model.Username) </th> <th> @Html.DisplayNameFor(model => model.UserId) </th> <th> @Html.DisplayNameFor(model => model.Muted) </th> <th> @Html.DisplayNameFor(model => mode...
@model IEnumerable<Mute> <table class="table"> <thead> <tr> <th></th> <th> @Html.DisplayNameFor(model => model.Username) </th> <th> @Html.DisplayNameFor(model => model.UserId) </th> <th> @Html.DisplayNameFor(model => model.Muted) </th> <th> @Html.DisplayNameFor(model => mode...
mit
C#
9778415e7f5e7b7753f2dcbd6586f88b9de2737c
Fix 'ThreadThread' keys
oysteinkrog/thing_libutils,oysteinkrog/thing_libutils
scripts/generator/generator/Threads/ThreadEntry.cs
scripts/generator/generator/Threads/ThreadEntry.cs
using System.Xml.Serialization; using UnitsNet; namespace generator.Threads { public sealed class ThreadEntry : IObjectEntry { public Length Size { get; set; } public string Key { get; set; } public string KeySimple { get; set; } public Length PitchMm { get; set;...
using System.Xml.Serialization; using UnitsNet; namespace generator.Threads { public sealed class ThreadEntry : IObjectEntry { public Length Size { get; set; } public string ThreadKey { get; set; } public string ThreadKeySimple { get; set; } public Length PitchMm...
lgpl-2.1
C#
3aa7bcaf7ae6ec5e6db644fad2fc072bbd3cc299
fix #18 EventAggregator PublishOnBackgroundThread() was not always executed on a background thread
huoxudong125/Caliburn.Micro,BrunoJuchli/Caliburn.Micro,thewindev/Caliburn.Micro,vgrigoriu/Caliburn.Micro,mbruckner/Caliburn.Micro,Billpzoom/Caliburn.Micro,chrisrpatterson/Caliburn.Micro,bitbonk/Caliburn.Micro,TriadTom/Caliburn.Micro,ehigh2014/Caliburn.Micro,dvdvorle/Caliburn.Micro,serenabenny/Caliburn.Micro,mwpowellhtx...
src/Caliburn.Micro/EventAggregatorExtensions.cs
src/Caliburn.Micro/EventAggregatorExtensions.cs
namespace Caliburn.Micro { using System.Threading; using System.Threading.Tasks; /// <summary> /// Extensions for <see cref="IEventAggregator"/>. /// </summary> public static class EventAggregatorExtensions { /// <summary> /// Publishes a message on the current thread (synchron...
namespace Caliburn.Micro { using System.Threading.Tasks; /// <summary> /// Extensions for <see cref="IEventAggregator"/>. /// </summary> public static class EventAggregatorExtensions { /// <summary> /// Publishes a message on the current thread (synchrone). /// </summary> ...
mit
C#
ac0fce327f1ca45c7909858bbb5796486a770956
refresh for windows
jamesmontemagno/app-coffeecups
CoffeeCups/View/CoffeesPage.xaml.cs
CoffeeCups/View/CoffeesPage.xaml.cs
using System; using System.Collections.Generic; using Xamarin.Forms; using Plugin.Connectivity; namespace CoffeeCups { public partial class CoffeesPage : ContentPage { CoffeesViewModel vm; public CoffeesPage() { InitializeComponent(); BindingContext = vm = new ...
using System; using System.Collections.Generic; using Xamarin.Forms; using Plugin.Connectivity; namespace CoffeeCups { public partial class CoffeesPage : ContentPage { CoffeesViewModel vm; public CoffeesPage() { InitializeComponent(); BindingContext = vm = new ...
mit
C#
00c7f37cacc53b361d41321153dd8667eeb64c70
Build v0.4.1
AzarinSergey/umbraco-ditto,leekelleher/umbraco-ditto,Hendy/umbraco-ditto,robertjf/umbraco-ditto,rasmusjp/umbraco-ditto
src/Our.Umbraco.Ditto/Properties/VersionInfo.cs
src/Our.Umbraco.Ditto/Properties/VersionInfo.cs
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18449 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18449 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
mit
C#
21638033953c54df2995336eac93f1ba6208c1b8
change version of TAlex.Common.Diagnostics
T-Alex/Common
TAlex.Common.Diagnostics/Properties/AssemblyInfo.cs
TAlex.Common.Diagnostics/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("TA...
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("TA...
mit
C#
4d67afb5ac913a1862db4573e125ceebdbb7e9e3
Fix IEntityTypeResolver service registration.
quartz-software/kephas,quartz-software/kephas
src/Kephas.Data.Client/Queries/Conversion/IEntityTypeResolver.cs
src/Kephas.Data.Client/Queries/Conversion/IEntityTypeResolver.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IEntityTypeResolver.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Declares the IEntityTypeResol...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="IEntityTypeResolver.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Declares the IEntityTypeResol...
mit
C#
bf9231ef76afef6e5b5434616d29c50a783651dd
Add DocumentId index to dashboard widgets (#8624)
xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2
src/OrchardCore.Modules/OrchardCore.AdminDashboard/Migrations.cs
src/OrchardCore.Modules/OrchardCore.AdminDashboard/Migrations.cs
using OrchardCore.Data.Migration; using OrchardCore.AdminDashboard.Indexes; using YesSql.Sql; using OrchardCore.ContentManagement.Metadata; using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.Recipes.Services; using System.Threading.Tasks; namespace OrchardCore.AdminDashboard { public class Mi...
using OrchardCore.Data.Migration; using OrchardCore.AdminDashboard.Indexes; using YesSql.Sql; using OrchardCore.ContentManagement.Metadata; using OrchardCore.ContentManagement.Metadata.Settings; using OrchardCore.Recipes.Services; using System.Threading.Tasks; namespace OrchardCore.AdminDashboard { public class Mi...
bsd-3-clause
C#
bb120b80f171b80b82688469635df6c1594f70bf
add hacky diagnostic mode.
atsushieno/managed-midi
tools/managed-midi-player-console/managed-midi-player-console.cs
tools/managed-midi-player-console/managed-midi-player-console.cs
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using Commons.Music.Midi; using PortMidiSharp; using Timer = System.Timers.Timer; namespace Commons.Music.Midi.Player { public class Driver { static void ShowHelp () { Console.WriteLine (@" managed-midi...
using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading; using Commons.Music.Midi; using PortMidiSharp; using Timer = System.Timers.Timer; namespace Commons.Music.Midi.Player { public class Driver { static void ShowHelp () { Console.WriteLine (@" managed-midi...
mit
C#
0cb28eac5e794f3aeb5effea1b8aeec587ed5a2c
update endpoint
OfficeDev/O365-AspNetMVC-Unified-API-Connect,OfficeDev/O365-AspNetMVC-Microsoft-Graph-Connect,OfficeDev/O365-AspNetMVC-Unified-API-Connect
UnifiedApiConnect/Helpers/Settings.cs
UnifiedApiConnect/Helpers/Settings.cs
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. using System.Configuration; namespace UnifiedApiConnect.Helpers { public static class Settings { public static string ClientId => ConfigurationManager.AppSettings["ClientID"]...
// Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See full license at the bottom of this file. using System.Configuration; namespace UnifiedApiConnect.Helpers { public static class Settings { public static string ClientId => ConfigurationManager.AppSettings["ClientID"]...
mit
C#
749360981c97325820bb830e183f6a48d873e053
Add search box (back) to strings view
feliwir/openSage,feliwir/openSage
src/OpenSage.Game/Diagnostics/StringsView.cs
src/OpenSage.Game/Diagnostics/StringsView.cs
using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using ImGuiNET; using OpenSage.Data.Csf; using OpenSage.Diagnostics.Util; namespace OpenSage.Diagnostics { internal sealed class StringsView : DiagnosticView { private readonly List<CsfLabel> _labels; pri...
using ImGuiNET; using OpenSage.Content; namespace OpenSage.Diagnostics { internal sealed class StringsView : DiagnosticView { public override string DisplayName { get; } = "Strings"; public StringsView(DiagnosticViewContext context) : base(context) { }...
mit
C#
55ad5df104a4592d5a84a8daf3c7b494ada2bcba
Add some methods to NotesManagingUtilities
melanchall/drymidi,melanchall/drywetmidi,melanchall/drywetmidi
DryWetMidi/Smf/Interaction/NotesManager/NotesManagingUtilities.cs
DryWetMidi/Smf/Interaction/NotesManager/NotesManagingUtilities.cs
using System; using System.Collections.Generic; using System.Linq; namespace Melanchall.DryWetMidi.Smf.Interaction { public static class NotesManagingUtilities { #region Methods public static NotesManager ManageNotes(this EventsCollection eventsCollection, Comparison<MidiEvent> sameTimeEvents...
using System; using System.Collections.Generic; using System.Linq; namespace Melanchall.DryWetMidi.Smf.Interaction { public static class NotesManagingUtilities { #region Methods public static NotesManager ManageNotes(this EventsCollection eventsCollection, Comparison<MidiEvent> sameTimeEvents...
mit
C#
ea2b552ac91eb2f8ad39201888cfec499a6c8875
Fix an error in JournalEndCrewSession
jgoode/EDDiscovery,jthorpe4/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery
EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs
EDDiscovery/EliteDangerous/JournalEvents/JournalEndCrewSession.cs
/* * Copyright © 2017 EDDiscovery development team * * 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 ...
/* * Copyright © 2017 EDDiscovery development team * * 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 ...
apache-2.0
C#
f37f33512046707eef69a2cb3944338de819439d
allow alive check on cloud an self host
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Notifications/Controllers/SendController.cs
src/Notifications/Controllers/SendController.cs
using System; using System.IO; using System.Text; using System.Threading.Tasks; using Bit.Core.Utilities; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; namespace Bit.Notifications { [Authorize("Internal")] [SelfHosted(SelfHostedOnly = true)] ...
using System; using System.IO; using System.Text; using System.Threading.Tasks; using Bit.Core.Utilities; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.SignalR; namespace Bit.Notifications { [Authorize("Internal")] [SelfHosted(SelfHostedOnly = true)] ...
agpl-3.0
C#
fa17e090f7115cdef7cf0253e5af45d16d7997c0
add some code annotation
Ahoo-Wang/SmartSql
src/SmartSql.DyRepository/StatementAttribute.cs
src/SmartSql.DyRepository/StatementAttribute.cs
using System; using System.Data; namespace SmartSql.DyRepository { /// <summary> /// SqlMap.Statement 映射 /// </summary> [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public class StatementAttribute : Attribute { /// <summary> /// 定义 SmartSqlMap.Scope 该属性可选,默认...
using System; using System.Data; namespace SmartSql.DyRepository { public class StatementAttribute : Attribute { /// <summary> /// 定义 SmartSqlMap.Scope 该属性可选,默认使用仓储接口的Scope /// </summary> public string Scope { get; set; } /// <summary> /// 可选,默认使用函数名作为 Statement...
apache-2.0
C#
d5afb429f4c77404e2ecfff69aac63ae074df5a6
Change debug to warn
volak/Aggregates.NET,volak/Aggregates.NET
src/Aggregates.NET/Internal/AsyncronizedInvoke.cs
src/Aggregates.NET/Internal/AsyncronizedInvoke.cs
 using NServiceBus; using NServiceBus.Logging; using NServiceBus.ObjectBuilder; using NServiceBus.Pipeline; using NServiceBus.Pipeline.Contexts; using NServiceBus.Sagas; using NServiceBus.Settings; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using Sys...
 using NServiceBus; using NServiceBus.Logging; using NServiceBus.ObjectBuilder; using NServiceBus.Pipeline; using NServiceBus.Pipeline.Contexts; using NServiceBus.Sagas; using NServiceBus.Settings; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using Sys...
mit
C#
c646e99f668b7cb0d8ad682c3eb7ed44b40a4648
Add comments identifying the weakly typed enums
AArnott/pinvoke,jmelosegui/pinvoke,vbfox/pinvoke
src/Kernel32.Desktop/Kernel32+KEY_EVENT_RECORD.cs
src/Kernel32.Desktop/Kernel32+KEY_EVENT_RECORD.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. namespace PInvoke { using System; using System.Runtime.InteropServices; /// <cont...
// 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. namespace PInvoke { using System; using System.Runtime.InteropServices; /// <cont...
mit
C#
8b1fb2e5e74700cd54c0187085046f151a1ac6a3
Fix GetLineText
KirillOsenkov/MSBuildStructuredLog,KirillOsenkov/MSBuildStructuredLog
src/StructuredLogViewer/SourceFiles/SourceText.cs
src/StructuredLogViewer/SourceFiles/SourceText.cs
using System; using System.Collections.Generic; namespace StructuredLogViewer { public class SourceText { public SourceText(string text) { Text = text; Lines = TextUtilities.GetLineSpans(text); } public string Text { get; } public ...
using System; using System.Collections.Generic; namespace StructuredLogViewer { public class SourceText { public SourceText(string text) { Text = text; Lines = TextUtilities.GetLineSpans(text); } public string Text { get; } public ...
mit
C#
953b2a905c4be7c05608e7b53ee0b277a73240fb
Make ElasticUpMigration public
XPCegeka/ElasticUp
ElasticUp/ElasticUp/Migration/ElasticUpMigration.cs
ElasticUp/ElasticUp/Migration/ElasticUpMigration.cs
using System; using System.Collections.Generic; using System.Linq; using ElasticUp.Operation; using ElasticUp.Migration.Meta; using Nest; namespace ElasticUp.Migration { public abstract class ElasticUpMigration { internal int MigrationNumber { get; } internal List<ElasticUpOperation> Operation...
using System; using System.Collections.Generic; using System.Linq; using ElasticUp.Operation; using ElasticUp.Migration.Meta; using Nest; namespace ElasticUp.Migration { public abstract class ElasticUpMigration { internal int MigrationNumber { get; } internal List<ElasticUpOperation> Operation...
mit
C#
a754486689e38929dfbd97601c358ceb60bb11bd
Initialize back button control in intermediate control sets
ethanmoffat/EndlessClient
EndlessClient/ControlSets/IntermediateControlSet.cs
EndlessClient/ControlSets/IntermediateControlSet.cs
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.Controllers; using EndlessClient.GameExecution; using EndlessClient.UIControls; using EOLib.Graphics; using Microsoft.Xna.Framework; usin...
// Original Work Copyright (c) Ethan Moffat 2014-2016 // This file is subject to the GPL v2 License // For additional details, see the LICENSE file using System; using EndlessClient.Controllers; using EndlessClient.GameExecution; using EndlessClient.UIControls; using EOLib.Graphics; using Microsoft.Xna.Framework; usin...
mit
C#
708e44c95ae9b175e46a5efc3df8c9345d1b6163
Update Core.cs
syuilo/Misq
Misq/Core.cs
Misq/Core.cs
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; namespace Misq { public static class Core { static Lazy<HttpClient> _client = new Lazy<HttpClient>(); /// <summary> /// APIにリクエストします。 /// </summary> /// <param name...
using Newtonsoft.Json; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace Misq { public static class Core { static Lazy<HttpClient> _client = new Lazy<HttpClient>(); /// <summary> /// APIにリクエストします。 /// </summary> /// <param name="host">Missk...
mit
C#
8c26ab78bbbc0472ba9877690ad5ca64837e77a6
Remove use of Runtime.GetSystemVersion
jeffanders/roslyn,dotnet/roslyn,marksantos/roslyn,weltkante/roslyn,MihaMarkic/roslyn-prank,yjfxfjch/roslyn,jkotas/roslyn,CaptainHayashi/roslyn,sharwell/roslyn,srivatsn/roslyn,dovzhikova/roslyn,Inverness/roslyn,evilc0des/roslyn,dpoeschl/roslyn,ErikSchierboom/roslyn,davkean/roslyn,budcribar/roslyn,rchande/roslyn,Maxwe11/...
src/Compilers/Core/Desktop/Interop/ClrStrongName.cs
src/Compilers/Core/Desktop/Interop/ClrStrongName.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; using System.Security; namespace Microsoft.CodeAnalysis.Interop { internal static class ClrStrongNam...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; using System.Security; namespace Microsoft.CodeAnalysis.Interop { internal static class ClrStrongNam...
mit
C#
a33520fcd90bce20cb398edd82828744343b9da4
Update DocumentTextBindingBehavior.cs
wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D/Behaviors/DocumentTextBindingBehavior.cs
src/Core2D/Behaviors/DocumentTextBindingBehavior.cs
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Xaml.Interactivity; using AvaloniaEdit; namespace Core2D.Behaviors { public class DocumentTextBindingBehavior : Behavior<TextEditor> { private TextEditor _textEditor = null; public static readonly Styl...
using System; using Avalonia; using Avalonia.Controls; using Avalonia.Media; using Avalonia.Xaml.Interactivity; using AvaloniaEdit; namespace Core2D.Behaviors { public class DocumentTextBindingBehavior : Behavior<TextEditor> { private TextEditor _textEditor = null; public static readonly Styl...
mit
C#
18f0ea05190c3e12f5b8a4f64a9aa94119d720d5
Remove Editor code from ActionLibrary
mbbarange/hivemind,rev087/hivemind
ActionLibrary.cs
ActionLibrary.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Hivemind { public enum GUIField { BoundsField, ColorField, CurveField, EnumMaskField, EnumPopup, FloatField, IntField, IntSlider, LayerField, RectField, TagField, TextField, Toggle, ToggleLeft, Vector2Field, Vector3Field, ...
using UnityEngine; using UnityEditor; using System.Collections; using System.Collections.Generic; namespace Hivemind { public enum GUIField { BoundsField, ColorField, CurveField, EnumMaskField, EnumPopup, FloatField, IntField, IntSlider, LayerField, RectField, TagField, TextField, Toggle, ToggleLeft, Vector2Fi...
mit
C#
4d4e03e20e449102d0bcaeb91911dc15e483a526
fix warning
boformer/BuildingThemes
BuildingThemes/Detour/DistrictWorldInfoPanelDetour.cs
BuildingThemes/Detour/DistrictWorldInfoPanelDetour.cs
using System.Reflection; using ColossalFramework.UI; using UnityEngine; namespace BuildingThemes.Detour { public class DistrictWorldInfoPanelDetour : DistrictWorldInfoPanel { private static bool deployed = false; private static RedirectCallsState _state; private static MethodInfo _or...
using System.Reflection; using ColossalFramework.UI; using UnityEngine; namespace BuildingThemes.Detour { public class DistrictWorldInfoPanelDetour : DistrictWorldInfoPanel { private static bool deployed = false; private static RedirectCallsState _state; private static MethodInfo _or...
mit
C#
b6f1ab58f0ab18d920d626036467d97d925dacd8
Hide invisible letters.
ethankennerly/flash-unity-port-example
Assets/Scripts/View.cs
Assets/Scripts/View.cs
using UnityEngine; using System.Collections; using System.Collections.Generic; public class View { private Model model; private GameObject main; public View(Model theModel, GameObject theMainScene) { model = theModel; main = theMainScene; } public void Update() { updateLetters(main, model.word); } /** ...
using UnityEngine; using System.Collections; using System.Collections.Generic; public class View { private Model model; private GameObject main; public View(Model theModel, GameObject theMainScene) { model = theModel; main = theMainScene; } public void Update() { updateLetters(main, model.word); } /** ...
mit
C#
0288444ab1f35761138b07db533413fcb1354a51
Increase number of list items in report page.
wsv-accidis/sjoslaget,wsv-accidis/sjoslaget,wsv-accidis/sjoslaget,wsv-accidis/sjoslaget
SjoslagetBackend/Controllers/ReportingController.cs
SjoslagetBackend/Controllers/ReportingController.cs
using System; using System.Threading.Tasks; using System.Web.Hosting; using System.Web.Http; using Accidis.Sjoslaget.WebService.Models; using Accidis.Sjoslaget.WebService.Services; using Accidis.WebServices.Auth; using Accidis.WebServices.Db; using Accidis.WebServices.Web; namespace Accidis.Sjoslaget.WebService.Contr...
using System; using System.Threading.Tasks; using System.Web.Hosting; using System.Web.Http; using Accidis.Sjoslaget.WebService.Models; using Accidis.Sjoslaget.WebService.Services; using Accidis.WebServices.Auth; using Accidis.WebServices.Db; using Accidis.WebServices.Web; namespace Accidis.Sjoslaget.WebService.Contr...
apache-2.0
C#
b34b6a829f87db1d820828847beed8b9732acab6
Fix saving changes when seeding data
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.DataLayer/DiplomContextExtensions.cs
src/Diploms.DataLayer/DiplomContextExtensions.cs
using System; using System.Linq; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Diploms.Core; using System.Collections.Generic; namespace Diploms.DataLayer { public static class DiplomContentSystemExtensions { public static void EnsureSeedData(...
using System; using System.Linq; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Diploms.Core; using System.Collections.Generic; namespace Diploms.DataLayer { public static class DiplomContentSystemExtensions { public static void EnsureSeedData(...
mit
C#
815e16f5ff4bb031c23c0f5e2204c2fb5270c019
fix the producer connection returned
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs
using System; using System.Text; using System.Threading.Tasks; using DotNetCore.CAP.Processor.States; using Microsoft.Extensions.Logging; namespace DotNetCore.CAP.Kafka { internal class PublishQueueExecutor : BasePublishQueueExecutor { private readonly ConnectionPool _connectionPool; private r...
using System; using System.Text; using System.Threading.Tasks; using DotNetCore.CAP.Processor.States; using Microsoft.Extensions.Logging; namespace DotNetCore.CAP.Kafka { internal class PublishQueueExecutor : BasePublishQueueExecutor { private readonly ConnectionPool _connectionPool; private r...
mit
C#
c9fe3caf9c9454d1e134174a4ed1ea68abae31b5
Set to 0 if null
Ulterius/server
RemoteTaskServer/TaskServer/Api/Controllers/Impl/GpuController.cs
RemoteTaskServer/TaskServer/Api/Controllers/Impl/GpuController.cs
#region using System.Linq; using System.Management; using UlteriusServer.TaskServer.Api.Models; using UlteriusServer.TaskServer.Api.Serialization; using vtortola.WebSockets; #endregion namespace UlteriusServer.TaskServer.Api.Controllers.Impl { internal class GpuController : ApiController { private r...
#region using System.Linq; using System.Management; using UlteriusServer.TaskServer.Api.Models; using UlteriusServer.TaskServer.Api.Serialization; using vtortola.WebSockets; #endregion namespace UlteriusServer.TaskServer.Api.Controllers.Impl { internal class GpuController : ApiController { private r...
mpl-2.0
C#
43cac8ec1cf8d5f24fe32f91640aefd8115edbf0
Update plateformer gravity at fixed update
julesbriquet/PostCredit
Game/Assets/Scripts/plateformer/PlateformerManager.cs
Game/Assets/Scripts/plateformer/PlateformerManager.cs
using UnityEngine; using System.Collections; public class PlateformerManager : MonoBehaviour { public float MoveSpeed; public float JumpForce; public float Gravity; public float TimerForDifficulty; float timeUntilEndGame; public static PlateformerManager Instance; void Awake () { PlateformerManager.Insta...
using UnityEngine; using System.Collections; public class PlateformerManager : MonoBehaviour { public float MoveSpeed; public float JumpForce; public float Gravity; public float TimerForDifficulty; float timeUntilEndGame; public static PlateformerManager Instance; void Awake () { PlateformerManager.Insta...
mit
C#
c1a589f97986577b6a79f5b208ab2de59151bb35
use model.ToFileName() instead of model.OriginalFileName
IUMDPI/IUMediaHelperApps
Packager/Factories/AbstractEmbeddedMetadataFactory.cs
Packager/Factories/AbstractEmbeddedMetadataFactory.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Packager.Exceptions; using Packager.Extensions; using Packager.Models.EmbeddedMetadataModels; using Packager.Models.FileModels; using Packager.Models.PodMetadataModels; namespace Packager.Factories { public abstract class Abs...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Packager.Exceptions; using Packager.Extensions; using Packager.Models.EmbeddedMetadataModels; using Packager.Models.FileModels; using Packager.Models.PodMetadataModels; namespace Packager.Factories { public abstract class Abs...
apache-2.0
C#
2d97e2618208d4ec3a196fffbeab37b03f4a17b0
Remove unused code
stranne/BooliLib
Stranne.BooliLib/Converters/ShortDateJsonConverter.cs
Stranne.BooliLib/Converters/ShortDateJsonConverter.cs
using System; using Newtonsoft.Json; namespace Stranne.BooliLib.Converters { internal class ShortDateJsonConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { var date = (DateTimeOffset)value; writer.Wri...
using System; using Newtonsoft.Json; namespace Stranne.BooliLib.Converters { internal class ShortDateJsonConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { if (value == null) { return;...
mit
C#
eb16c758e0a3589306cf6cc5eca1976900ca08b6
Add comment for WebHost URLs.
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
cloud-sql/postgres/Program.cs
cloud-sql/postgres/Program.cs
/* * Copyright (c) 2019 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright (c) 2019 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
C#
dc04de617fed1fb9f6c2eb10b4551a02604d0971
Use the correct strong name for dbus-sharp-glib friend assembly
tmds/Tmds.DBus
AssemblyInfo.cs
AssemblyInfo.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System.Reflection; using System.Runtime.CompilerServices; //[assembly: AssemblyVersion("0.0.0.*")] [assembly: AssemblyTitle ("NDesk.DBus")] [assembly: AssemblyDescription ("D-Bus IPC ...
mit
C#
85d6e258cf8186d9b85244976b29c3f3b6b94b52
Update colors of the GridRenderer
rev087/hivemind,mbbarange/hivemind
Editor/GridRenderer.cs
Editor/GridRenderer.cs
using UnityEngine; using UnityEditor; using System.Collections; namespace Hivemind { public class GridRenderer { Texture2D gridTex; public static int width { get { return 120; } } public static int height { get { return 120; } } public static Vector2 step { get { return new Vector2(width / 10, height / 10...
using UnityEngine; using UnityEditor; using System.Collections; namespace Hivemind { public class GridRenderer { Texture2D gridTex; public static int width { get { return 120; } } public static int height { get { return 120; } } public static Vector2 step { get { return new Vector2(width / 10, height / 10...
mit
C#
660d6a57fca927107d4645b69402fec8311d0ac1
Remove IO dependency; expect contents of private key and not path to key
Nexmo/csharp-client,Nexmo/csharp-client,Nexmo/nexmo-dotnet
Nexmo.Api/Jwt.cs
Nexmo.Api/Jwt.cs
using System; using System.Collections.Generic; using System.Security.Cryptography; using Jose; namespace Nexmo.Api { internal class Jwt { internal static string CreateToken(string appId, string privateKey) { var tokenData = new byte[64]; var rng = RandomNumberGenerator...
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using Jose; namespace Nexmo.Api { internal class Jwt { internal static string CreateToken(string appId, string privateKeyFile) { var tokenData = new byte[64]; var rng = ...
mit
C#
0a02fa84a1b870598baa9b1c70ed3fa253378625
Add support for update property
daveaglick/Buildalyzer,daveaglick/Buildalyzer,daveaglick/Buildalyzer
src/Buildalyzer/Construction/PackageReference.cs
src/Buildalyzer/Construction/PackageReference.cs
using System; using System.Xml.Linq; namespace Buildalyzer.Construction { public class PackageReference : IPackageReference { public string Name { get; } public string Version { get; } internal PackageReference(XElement packageReferenceElement) { this.N...
using System; using System.Xml.Linq; namespace Buildalyzer.Construction { public class PackageReference : IPackageReference { public string Name { get; } public string Version { get; } internal PackageReference(XElement packageReferenceElement) { this.N...
mit
C#
ecf15f3984d20a1e0c2f4ec89d83ddd6cb85bd2b
Update DesignerModule.cs
wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D
src/Core2D.UI.Avalonia/Modules/DesignerModule.cs
src/Core2D.UI.Avalonia/Modules/DesignerModule.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 Autofac; using Core2D.Interfaces; using Core2D.Renderer; using Core2D.Renderer.Avalonia; using Core2D.UI.Avalonia.Utilities; namespace Core2D.UI.Avalonia.Mo...
// 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 Autofac; using Core2D.Interfaces; using Core2D.Renderer; using Core2D.Renderer.Avalonia; using Core2D.UI.Avalonia.Utilities; namespace Core2D.UI.Avalonia.Mod...
mit
C#
072c7795a7489cb2d35a43771106ca47c5a72e36
Use floor for better file sizes
GGG-KILLER/GUtils.NET
GUtils.IO/FileSizes.cs
GUtils.IO/FileSizes.cs
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const U...
using System; namespace GUtils.IO { public static class FileSizes { public const UInt64 B = 1024; public const UInt64 KiB = 1024 * B; public const UInt64 MiB = 1024 * KiB; public const UInt64 GiB = 1024 * MiB; public const UInt64 TiB = 1024 * GiB; public const U...
mit
C#
79878e1a09689699beb8bd45c18fa0c64dc22ddf
Fix tests to catch exceptions from CanCreateSymbolicLinks
twsouthwick/corefx,alexperovich/corefx,richlander/corefx,nbarbettini/corefx,Jiayili1/corefx,mmitche/corefx,MaggieTsang/corefx,billwert/corefx,shimingsg/corefx,Ermiar/corefx,seanshpark/corefx,billwert/corefx,tijoytom/corefx,JosephTremoulet/corefx,dotnet-bot/corefx,ericstj/corefx,jlin177/corefx,ViktorHofer/corefx,Ermiar/...
src/System.IO.FileSystem/tests/FileSystemTest.cs
src/System.IO.FileSystem/tests/FileSystemTest.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using Xunit; namespace System.IO.Tests { public abstract partial class FileSystemTest...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics; using Xunit; namespace System.IO.Tests { public abstract partial class FileSystemTest...
mit
C#
467f206e64b16d148e7b78d6bab59a0c5f6b6295
add test data 12 &13
wongjiahau/TTAP-UTAR,wongjiahau/TTAP-UTAR
NUnit.Tests2/Test_HtmlSlotParser.cs
NUnit.Tests2/Test_HtmlSlotParser.cs
using System; using System.Collections.Generic; using HtmlAgilityPack; using NUnit.Framework; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; using Time_Table_Arranging_Program.Class.Converter; using Time_Table_Arranging_Program.Class.TokenParser; namespace NUnit.Tests2 { [TestFixtur...
using System; using System.Collections.Generic; using HtmlAgilityPack; using NUnit.Framework; using Time_Table_Arranging_Program; using Time_Table_Arranging_Program.Class; using Time_Table_Arranging_Program.Class.Converter; using Time_Table_Arranging_Program.Class.TokenParser; namespace NUnit.Tests2 { [TestFixtur...
agpl-3.0
C#
e45ec3be776e4b9cf74f60544de90c8114dce106
Correct sender total bytes output
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
projects/CommSample/source/CommSample.App/Sender.cs
projects/CommSample/source/CommSample.App/Sender.cs
//----------------------------------------------------------------------- // <copyright file="Sender.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace CommSample { using System...
//----------------------------------------------------------------------- // <copyright file="Sender.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace CommSample { using System...
unlicense
C#
2d5b641a78dce39c6609c5f21bf106dc403e8a3f
Add our own Vertices method
charlenni/Mapsui,charlenni/Mapsui
Mapsui/MRect2.cs
Mapsui/MRect2.cs
using System.Collections.Generic; namespace Mapsui; public class MRect2 { public MPoint Max { get; } public MPoint Min { get; } public double MaxX => Max.X; public double MaxY => Max.Y; public double MinX => Min.X; public double MinY => Min.Y; public MPoint Centroid => new MPoint(Max.X ...
namespace Mapsui; public class MRect2 { public MPoint Max { get; } public MPoint Min { get; } public double MaxX => Max.X; public double MaxY => Max.Y; public double MinX => Min.X; public double MinY => Min.Y; public MPoint Centroid => new MPoint(Max.X - Min.X, Max.Y - Min.Y); publi...
mit
C#
a70221b4688c83cc031831b8ee83020c51f21522
Fix cond
nja/keel,nja/keel
Keel/Library.cs
Keel/Library.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Keel { public class Library { public const string Text = @" (defun null (x) (eq x nil)) (defun not (x) (if (eq x nil) t nil)) (defun length (lst) (if (null lst) 0 (+ 1 (length (cdr...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Keel { public class Library { public const string Text = @" (defun null (x) (eq x nil)) (defun not (x) (if (eq x nil) t nil)) (defun length (lst) (if (null lst) 0 (+ 1 (length (cdr...
mit
C#
81218e939b50da2be16e4416dc8e483912c8fbdc
Use settings repository in twitch channel service
dukemiller/twitch-tv-viewer
twitch-tv-viewer/Services/TwitchChannelService.cs
twitch-tv-viewer/Services/TwitchChannelService.cs
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using twitch_tv_viewer.Models; using twitch_tv_viewer.Repositories; namespace twitch_tv_viewer.Services { public class TwitchChannelService : ITwitchChannelService { ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; using twitch_tv_viewer.Models; namespace twitch_tv_viewer.Services { public class TwitchChannelService : ITwitchChannelService { public async Task<string> PlayV...
mit
C#
caf098f3b3e1287678c477abe4d8154b52c3fb09
Fix add trophy endpoint
loicteixeira/gj-unity-api
Assets/Plugins/GameJolt/Scripts/API/Constants.cs
Assets/Plugins/GameJolt/Scripts/API/Constants.cs
using UnityEngine; using System.Collections; namespace GameJolt.API { public static class Constants { public const string VERSION = "2.1.0"; public const string SETTINGS_ASSET_NAME = "GJAPISettings"; public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset"; public const string SETTINGS...
using UnityEngine; using System.Collections; namespace GameJolt.API { public static class Constants { public const string VERSION = "2.1.0"; public const string SETTINGS_ASSET_NAME = "GJAPISettings"; public const string SETTINGS_ASSET_FULL_NAME = SETTINGS_ASSET_NAME + ".asset"; public const string SETTINGS...
mit
C#
8c1eb6f9e2620118f0fb6a1491c47357cdfa1030
Refactor OnTargetReached decision
allmonty/BrokenShield,allmonty/BrokenShield
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
Assets/Scripts/Enemy/Decision_OnTargetReached.cs
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
using UnityEngine; [CreateAssetMenu (menuName = "AI/Decisions/TargetReached")] public class Decision_OnTargetReached : Decision { public bool overrideDistanceToReach; public float distanceToReach; public override bool Decide(StateController controller) { return isTargetReached(controller); } private bool i...
apache-2.0
C#
f588e348f7da59babbea085fc06c4174b30b2707
Order by start date by default
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Queries/GetSUTARequests.cs
Battery-Commander.Web/Queries/GetSUTARequests.cs
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BatteryCommander.Web.Models; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace BatteryCommander.Web.Queries { public class GetSUTARequests : IRequest<IEnumer...
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using BatteryCommander.Web.Models; using MediatR; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; namespace BatteryCommander.Web.Queries { public class GetSUTARequests : IRequest<IEnumer...
mit
C#
c73c30f4b889dd518a2fd063765af02658b24dd3
Increase version from 1.4 to 1.5 before publishing
fredatgithub/UsefulFunctions
CodeGenerationWinForm/Properties/AssemblyInfo.cs
CodeGenerationWinForm/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("CodeGenerationWinForm")] [asse...
using System.Reflection; using System.Runtime.InteropServices; // Les informations générales relatives à un assembly dépendent de // l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations // associées à un assembly. [assembly: AssemblyTitle("CodeGenerationWinForm")] [asse...
mit
C#
aba08e2c40cc1d190dd92ce1296753ee5d970c81
Fix DeleteBranchCommand error
michael-reichenauer/GitMind
GitMind/Features/Branches/DeleteBranchCommand.cs
GitMind/Features/Branches/DeleteBranchCommand.cs
using System.Threading.Tasks; using GitMind.GitModel; using GitMind.Utils.UI; namespace GitMind.Features.Branches { internal class DeleteBranchCommand : Command<Branch> { private readonly IBranchService branchService; public DeleteBranchCommand(IBranchService branchService) { this.branchService = branch...
using System.Threading.Tasks; using GitMind.GitModel; using GitMind.Utils.UI; namespace GitMind.Features.Branches { internal class DeleteBranchCommand : Command<Branch> { private readonly IBranchService branchService; public DeleteBranchCommand(IBranchService branchService) { this.branchService = branch...
mit
C#
5a50a3567a2914927070e69462aa315d497d0c1e
Build fix.
blattodephobia/BG_Composers,blattodephobia/BG_Composers
BGC.Web/ViewModels/ViewModelBase.cs
BGC.Web/ViewModels/ViewModelBase.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BGC.WebAPI.ViewModels { public abstract partial class ViewModelBase { protected ViewModelBase() { } } }
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BGC.WebAPI.ViewModels { public partial abstract class ViewModelBase { protected ViewModelBase() { } } }
mit
C#
6540e58c197dee1cca92d247cc0a69a71870802e
Update application version.
RadishSystems/choiceview-webapitester-csharp
ApiTester/Properties/AssemblyInfo.cs
ApiTester/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("ApiTester")] [assembly: AssemblyDe...
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#
afd2c5db686e6210b97e81e6252197ec87463ac4
work around Enterprise strangeness
nsnnnnrn/octokit.net,mminns/octokit.net,SmithAndr/octokit.net,TattsGroup/octokit.net,fake-organization/octokit.net,dlsteuer/octokit.net,Sarmad93/octokit.net,shiftkey-tester-org-blah-blah/octokit.net,shana/octokit.net,dampir/octokit.net,rlugojr/octokit.net,thedillonb/octokit.net,dampir/octokit.net,gabrielweyer/octokit.n...
Octokit/Models/Plan.cs
Octokit/Models/Plan.cs
namespace Octokit { /// <summary> /// A plan (either paid or free) for a particular user /// </summary> public class Plan { /// <summary> /// The number of collaborators allowed with this plan. /// </summary> /// <remarks>This returns <see cref="long"/> because GitHub...
namespace Octokit { /// <summary> /// A plan (either paid or free) for a particular user /// </summary> public class Plan { /// <summary> /// The number of collaborators allowed with this plan. /// </summary> public int Collaborators { get; set; } /// <summar...
mit
C#
9f88283dc113374f6ef74f10832c98f863097385
Comment added
ballamuth/Chrome4Net
src/NativeMessaging/AsyncResult.cs
src/NativeMessaging/AsyncResult.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; namespace Chrome4Net.NativeMessaging { /// <summary> /// This class is an implementation of IAsyncResult interface specific to Chrome4Net.NativeMessaging.Port class. /// </summary...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Threading; namespace Chrome4Net.NativeMessaging { class AsyncResult : IAsyncResult { public object AsyncState { get { return state; } } public WaitHandle AsyncWaitHandle { get { ...
apache-2.0
C#
4e228296444f156ee7aed4bb0bdf180336488f7f
Update ProgressReport.cs
tiksn/TIKSN-Framework
TIKSN.Core/Progress/ProgressReport.cs
TIKSN.Core/Progress/ProgressReport.cs
using System.Diagnostics; namespace TIKSN.Progress { public class ProgressReport { public ProgressReport(double percentComplete) { Debug.Assert(percentComplete >= 0d); Debug.Assert(percentComplete <= 100d); this.PercentComplete = percentComplete; } ...
using System.Diagnostics; namespace TIKSN.Progress { public class ProgressReport { public ProgressReport(double percentComplete) { Debug.Assert(percentComplete >= 0d); Debug.Assert(percentComplete <= 100d); PercentComplete = percentComplete; } ...
mit
C#
c5afcf1c9c394c156e791cb7b6d03ea37ac571f3
Move marker file into App_Data a folder that can never be served
mattbrailsford/Umbraco-CMS,madsoulswe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,leekelleher/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,umbraco/Umbraco-CMS,...
src/Umbraco.Core/IO/SystemFiles.cs
src/Umbraco.Core/IO/SystemFiles.cs
using System.IO; using Umbraco.Core.Configuration; namespace Umbraco.Core.IO { public class SystemFiles { public static string TinyMceConfig => SystemDirectories.Config + "/tinyMceConfig.config"; public static string TelemetricsIdentifier => SystemDirectories.Data + "/telemetrics-id.umb"; ...
using System.IO; using Umbraco.Core.Configuration; namespace Umbraco.Core.IO { public class SystemFiles { public static string TinyMceConfig => SystemDirectories.Config + "/tinyMceConfig.config"; public static string TelemetricsIdentifier => SystemDirectories.Umbraco + "/telemetrics-id.umb"; ...
mit
C#
7cc5fe03b4715f0db261e092a0b4a8df6c0f863e
Change Namespace
muhammedikinci/FuzzyCore
FuzzyCore/ClientProcesses/Client.cs
FuzzyCore/ClientProcesses/Client.cs
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace FuzzyCore.Server { class Client { public int ID { get; set; } public Socket SOCKET { get; set; } public string LASTCONNECTIONTIME { ge...
using System; using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using System.Text; using System.Threading.Tasks; namespace fuzzyControl.Server { class Client { public int ID { get; set; } public Socket SOCKET { get; set; } public string LASTCONNECTIONTIME {...
mit
C#
2c3b0db756297d838b728feb5f3187ed2b25f801
Fix appearing "you already have claim" message if all claim already rejected
leotsarev/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
Joinrpg/Models/AddClaimViewModel.cs
Joinrpg/Models/AddClaimViewModel.cs
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using JoinRpg.DataModel; using JoinRpg.Web.Helpers; namespace JoinRpg.Web.Models { public class AddClaimViewModel { public int ProjectId { get; set; } public string ProjectName { get; set; } ...
using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using JoinRpg.DataModel; using JoinRpg.Web.Helpers; namespace JoinRpg.Web.Models { public class AddClaimViewModel { public int ProjectId { get; set; } public string ProjectName { get; set; } ...
mit
C#
fe2e3ffe7e3431417267a653bc9d99f1bd73d468
Update assembly info for Launcher.
jrick/Paymetheus,decred/Paymetheus
Launcher/Properties/AssemblyInfo.cs
Launcher/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 ...
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 ...
isc
C#
6062ee994db9c67ae85fb1f6acbe7de18a839a6d
Fix build
WildGums/Orc.Sort
src/MethodTimeLogger.cs
src/MethodTimeLogger.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MethodTimeLogger.cs" company="WildGums"> // Copyright (c) 2008 - 2017 WildGums. All rights reserved. // </copyright> // ----------------------------------------------------------...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MethodTimeLogger.cs" company="WildGums"> // Copyright (c) 2008 - 2017 WildGums. All rights reserved. // </copyright> // ----------------------------------------------------------...
mit
C#
8e8b507fa4525c29cd729538cb2e93acc60413ed
Revert "Fixed weirdness..."
marshallward/TiledSharp
TiledSharp/src/AssemblyInfo.cs
TiledSharp/src/AssemblyInfo.cs
#if !NETCOREAPP using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("TiledSharp")] [ass...
#if !NETCOREAPP using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("TiledSharp.Test")] [assembly: AssemblyDescription ("")] [assembly: Assem...
apache-2.0
C#