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
94635ec5edff5b1ecbb8a2a56e54f28653e3b4df
Fix the obsolete message on UseIdentity() (#1322)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.Identity/BuilderExtensions.cs
src/Microsoft.AspNetCore.Identity/BuilderExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Builder { /// <summary> /// Identity extensions for <see cref="IApplicationBuilder"/>. /// </...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace Microsoft.AspNetCore.Builder { /// <summary> /// Identity extensions for <see cref="IApplicationBuilder"/>. /// </...
apache-2.0
C#
a2b3d5651bb69d86a4a46d368715b680b1eac988
remove unused PurchaseState
jamesmontemagno/InAppBillingPlugin
src/Plugin.InAppBilling/Shared/PurchaseState.shared.cs
src/Plugin.InAppBilling/Shared/PurchaseState.shared.cs
using System; namespace Plugin.InAppBilling { /// <summary> /// Gets the current status of the purchase /// </summary> public enum PurchaseState { /// <summary> /// Purchased and in good standing /// </summary> Purchased, /// <summary> /// Purchase w...
using System; namespace Plugin.InAppBilling { /// <summary> /// Gets the current status of the purchase /// </summary> public enum PurchaseState { /// <summary> /// Purchased and in good standing /// </summary> Purchased = 0, /// <summary> /// Purcha...
mit
C#
c8da4e56ccfda522f54c1ab1e5ff8071f18e3771
Implement send method
danielmundt/csremote
source/Remoting.Server/Command.cs
source/Remoting.Server/Command.cs
#region Header // Copyright (C) 2012 Daniel Schubert // // 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 rights to use, copy, modify,...
#region Header // Copyright (C) 2012 Daniel Schubert // // 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 rights to use, copy, modify,...
mit
C#
69454f48ae9629b161bd93805b480def1dc23e41
Bump version to 0.10.1
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
bcb6ce49ecfd46163c761d841b8d09d7714fd2fc
PUT and POST for User
Bcpoole/ClubLife,Bcpoole/ClubLife,Bcpoole/ClubLife,Bcpoole/ClubLife,Bcpoole/ClubLife
web/clublife/src/skeleton/Controllers/UsersController.cs
web/clublife/src/skeleton/Controllers/UsersController.cs
using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNetCore.Mvc; using skeleton.Data; using skeleton.Models; using MongoDB.Bson; namespace skeleton.Controllers { [Route("api/[controller]")] public class UsersController : Controller { public IUsersRepository Repo { get...
using System; using System.Collections.Generic; using System.Globalization; using Microsoft.AspNetCore.Mvc; using skeleton.Data; using skeleton.Models; using MongoDB.Bson; namespace skeleton.Controllers { [Route("api/[controller]")] public class UsersController : Controller { public IUsersRepository Repo { get...
mit
C#
337d8a67ddd26a43f966150f9942aeb14991b259
Fix line endings.
JeroMiya/Managed-OSVR,OSVR/Managed-OSVR
ExampleClients/TrackerCallback/Properties/AssemblyInfo.cs
ExampleClients/TrackerCallback/Properties/AssemblyInfo.cs
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("Managed-OSVR Tracker Callback Example")] [assembly: AssemblyDescription ("")] [assembly: Assembly...
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("Managed-OSVR Tracker Callback Example")] [assembly: AssemblyDescription ("")] [assembly: Assemb...
apache-2.0
C#
d899f13f71c675affbf378973a7b2a4ac415e4b2
Update SelfCommands.cs
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,ShadowNoire/NadekoBot,Reiuiji/NadekoBot,powered-by-moe/MikuBot,Midnight-Myth/Mitternacht-NEW,N1SMOxGT-R/NeoBot,dtshady/NadekoBot,blitz4694/NadekoBot,Uleyethis/FightBot,rumlefisk/NadekoBot,Midnight-Myth/Mitternacht-NEW,Taknok/NadekoBot,Grinjr/NadekoBot,dtshady/...
NadekoBot/Modules/Administration/Commands/SelfCommands.cs
NadekoBot/Modules/Administration/Commands/SelfCommands.cs
using NadekoBot.Classes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord.Commands; using NadekoBot.Modules.Permissions.Classes; namespace NadekoBot.Modules.Administration.Commands { class SelfCommands : DiscordCommand { ...
using NadekoBot.Classes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Discord.Commands; using NadekoBot.Modules.Permissions.Classes; namespace NadekoBot.Modules.Administration.Commands { class SelfCommands : DiscordCommand { ...
mit
C#
2f46e52be23bb03356a2e9c4c46c94dbb1f42707
Fix issues due to merge conflict.
henrikfroehling/TraktApiSharp
Source/Tests/TraktApiSharp.Tests/TraktConfigurationTests.cs
Source/Tests/TraktApiSharp.Tests/TraktConfigurationTests.cs
namespace TraktApiSharp.Tests { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class TraktConfigurationTests { [TestMethod] public void TestTraktConfigurationDefaultConstructor() { var client = new TraktClient(); ...
namespace TraktApiSharp.Tests { using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class TraktConfigurationTests { [TestMethod] public void TestTraktConfigurationDefaultConstructor() { var client = new TraktClient(); ...
mit
C#
7242a1c748d452c078886ae5367ef2faf417fb55
Modify tests
SmartStepGroup/AgileCamp2015_Master,SmartStepGroup/AgileCamp2015_Master,SmartStepGroup/AgileCamp2015_Master
UnitTests/UnitTest1.cs
UnitTests/UnitTest1.cs
#region Usings using NUnit.Framework; using WebApplication.Models; #endregion namespace UnitTests { [TestFixture] public class UnitTest1 { [Test] public void TestMethod1() { var habit = new Habit {Name = "Habit", Count = 1}; Assert.AreEqual("Habit", habit...
#region Usings using NUnit.Framework; using WebApplication.Controllers; #endregion namespace UnitTests { [TestFixture] public class UnitTest1 { [Test] public void TestMethod1() { var controller = new HabitController(); Assert.True(true); } } }
mit
C#
dec1ad5ca01894d5280dc00fca4b03fb9f898622
Update ApplicationInsightsHelper.cs
tiksn/TIKSN-Framework
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsHelper.cs
TIKSN.Core/Analytics/Telemetry/ApplicationInsightsHelper.cs
using System; using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; namespace TIKSN.Analytics.Telemetry { internal static class ApplicationInsightsHelper { internal static SeverityLevel? ConvertSeverityLevel(TelemetrySeverityLevel? severityLevel) { ...
using Microsoft.ApplicationInsights; using Microsoft.ApplicationInsights.DataContracts; using System; namespace TIKSN.Analytics.Telemetry { internal static class ApplicationInsightsHelper { internal static SeverityLevel? ConvertSeverityLevel(TelemetrySeverityLevel? severityLevel) { ...
mit
C#
0de55caee492dee41aa9af5ef9cd8c393e2d6bc8
Fix bug in Assert.NotEqual error message
yawaramin/TDDUnit
Assert.cs
Assert.cs
using System; namespace TDDUnit { class Assert { private static void Fail(object expected, object actual, bool equal) { string message = string.Format("Expected: {2} '{0}'\nActual: '{1}'", expected, actual, (equal ? "" : "Not")); Console.WriteLine(message); throw new TestRunException(message);...
using System; namespace TDDUnit { class Assert { private static void Fail(object expected, object actual) { string message = string.Format("Expected: '{0}'\nActual: '{1}'", expected, actual); Console.WriteLine(message); throw new TestRunException(message); } public static void Equal(o...
apache-2.0
C#
4ebd1fdd2badad045817b070d2a227a851912c78
Update ApplicationPasswords_Tests.cs
cobalto/WordPressPCL,cobalto/WordPressPCL,wp-net/WordPressPCL,wp-net/WordPressPCL
WordPressPCL.Tests.Selfhosted/ApplicationPasswords_Tests.cs
WordPressPCL.Tests.Selfhosted/ApplicationPasswords_Tests.cs
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Threading.Tasks; using WordPressPCL.Models; using WordPressPCL.Tests.Selfhosted.Utility; namespace WordPressPCL.Tests.Selfhosted { [TestClass] public class ApplicationPasswords_Tests { private ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Diagnostics; using System.Threading.Tasks; using WordPressPCL.Models; using WordPressPCL.Tests.Selfhosted.Utility; namespace WordPressPCL.Tests.Selfhosted { [TestClass] public class ApplicationPasswords_Tests { private static WordPre...
mit
C#
bebca882efbcb834af0a433c7785b4f7d0901c85
Bump version number for date/enum utils
Smartrak/Smartrak.Library
System.Contrib/Properties/AssemblyInfo.cs
System.Contrib/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("System.Contrib")] [assembly: AssemblyDesc...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("System.Contrib")] [assembly: AssemblyDesc...
mit
C#
2cd9da5c9682c2a711f69cad19b48434697fb493
Add sample of data trigger
jamesmontemagno/xamarin.forms-toolkit
ToolkitTests/ToolkitTests/ToolkitTests.cs
ToolkitTests/ToolkitTests/ToolkitTests.cs
using System; using FormsToolkit; using Xamarin.Forms; namespace ToolkitTests { public class App : Application { public App() { var messagingCenter = new Button { Text = "Messaging Center", Command = new Command(()=>MainPage....
using System; using FormsToolkit; using Xamarin.Forms; namespace ToolkitTests { public class App : Application { public App() { var messagingCenter = new Button { Text = "Messaging Center", Command = new Command(()=>MainPage....
mit
C#
7f0ddcd0df3d369e6cd67c5dd438c430f8910b21
Update ModalitaPagamento validator with MP18..21 values
FatturaElettronicaPA/FatturaElettronicaPA,sirmmo/FatturaElettronicaPA
Validators/FModalitaPagamentoValidator.cs
Validators/FModalitaPagamentoValidator.cs
using BusinessObjects.Validators; namespace FatturaElettronicaPA.Validators { /// <summary> /// Validates FatturaElettronicaBody.DatiPagamento.DettaglioPagamento.ModalitaPagamento. /// </summary> public class FModalitaPagamentoValidator : DomainValidator { private const string BrokenDescri...
using BusinessObjects.Validators; namespace FatturaElettronicaPA.Validators { /// <summary> /// Validates FatturaElettronicaBody.DatiPagamento.DettaglioPagamento.ModalitaPagamento. /// </summary> public class FModalitaPagamentoValidator : DomainValidator { private const string BrokenDescri...
bsd-3-clause
C#
665ae54afc96e248e101e531866812cf20264be2
add range test
m5knt/ThunderEgg.Extensions
test/Misc.cs
test/Misc.cs
 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using ThunderEgg.Extentions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace test { [TestClass] public partial class Misc { [TestMethod] public void Repeat() { Assert.IsTru...
 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using ThunderEgg.Extentions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace test { [TestClass] public partial class Misc { [TestMethod] public void Repeat() { Assert.IsTru...
mit
C#
24444cd7dae46bd5e8cf2f1c9da61c87f00b358d
change the version
tugberkugurlu/BonVoyage,tugberkugurlu/BonVoyage
src/BonVoyage/BonVoyageContext.cs
src/BonVoyage/BonVoyageContext.cs
using BonVoyage.Infrastructure; using System; using System.Net.Http; namespace BonVoyage { public class BonVoyageContext : IDisposable { private readonly HttpMessageHandler _handler; public BonVoyageContext() : this(CreateHandler()) { } public BonVoyageC...
using BonVoyage.Infrastructure; using System; using System.Net.Http; namespace BonVoyage { public class BonVoyageContext : IDisposable { private readonly HttpMessageHandler _handler; public BonVoyageContext() : this(CreateHandler()) { } public BonVoyageC...
mit
C#
7a4a8bab4e9577aebfc934137f2f28677396803b
Fix MonoMac/MonoTouch (for MonoMac builds)
mono/maccore
src/Foundation/NSUrlCredential.cs
src/Foundation/NSUrlCredential.cs
// Copyright 2013 Xamarin Inc. using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSUrlCredential { public NSUrlCredential (IntPtr trust, bool ignored) : base (NSObjectFlag.Empty) ...
// Copyright 2013 Xamarin Inc. using System; using System.Reflection; using System.Collections; using System.Runtime.InteropServices; using MonoMac.ObjCRuntime; namespace MonoMac.Foundation { public partial class NSUrlCredential { public NSUrlCredential (IntPtr trust, bool ignored) : base (NSObjectFlag.Empty) ...
apache-2.0
C#
4477058c9c82c95c727f91d4a4eaa243f00f7ce1
Change field type
vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary
CSGL.Vulkan/ShaderModule.cs
CSGL.Vulkan/ShaderModule.cs
using System; using System.Collections.Generic; using System.IO; using CSGL.Vulkan.Unmanaged; namespace CSGL.Vulkan { public class ShaderModuleCreateInfo { public IList<byte> data; } public class ShaderModule : IDisposable, INative<VkShaderModule> { VkShaderModule shaderModule; b...
using System; using System.Collections.Generic; using System.IO; using CSGL.Vulkan.Unmanaged; namespace CSGL.Vulkan { public class ShaderModuleCreateInfo { public byte[] data; } public class ShaderModule : IDisposable, INative<VkShaderModule> { VkShaderModule shaderModule; bool d...
mit
C#
0e2ab20ccf1e2f8c9f680ba72be87aea5bd59dd2
Change "Countdown" syncing priority order
danielchalmers/DesktopWidgets
DesktopWidgets/Helpers/DateTimeSyncHelper.cs
DesktopWidgets/Helpers/DateTimeSyncHelper.cs
using System; namespace DesktopWidgets.Helpers { public static class DateTimeSyncHelper { public static DateTime SyncNext(this DateTime dateTime, bool syncYear, bool syncMonth, bool syncDay, bool syncHour, bool syncMinute, bool syncSecond) { var endDateTime = dateTime; ...
using System; namespace DesktopWidgets.Helpers { public static class DateTimeSyncHelper { public static DateTime SyncNext(this DateTime dateTime, bool syncYear, bool syncMonth, bool syncDay, bool syncHour, bool syncMinute, bool syncSecond) { var endDateTime = dateTime; ...
apache-2.0
C#
587ff6d2fca51a6b9e613f3fd33a1057bab3bfe6
Remove the constructor
flagbug/Espera.Network
Espera.Network/ConnectionInfo.cs
Espera.Network/ConnectionInfo.cs
using System; namespace Espera.Network { public class ConnectionInfo { public NetworkAccessPermission AccessPermission { get; set; } public Version ServerVersion { get; set; } } }
using System; namespace Espera.Network { public class ConnectionInfo { public ConnectionInfo(NetworkAccessPermission permission, Version serverVersion) { this.AccessPermission = permission; this.ServerVersion = serverVersion; } public NetworkAccessPermi...
mit
C#
3ffceda5fb5ca782b1b031c6c26710ee6f7e8bb4
Add get top to service
Branimir123/PhotoLife,Branimir123/PhotoLife,Branimir123/PhotoLife
PhotoLife/PhotoLife.Services/PostsService.cs
PhotoLife/PhotoLife.Services/PostsService.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PhotoLife.Data.Contracts; using PhotoLife.Models; using PhotoLife.Services.Contracts; namespace PhotoLife.Services { public class PostsService : IPostService { private readonly IRe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using PhotoLife.Data.Contracts; using PhotoLife.Models; using PhotoLife.Services.Contracts; namespace PhotoLife.Services { public class PostsService: IPostService { private readonly IRep...
mit
C#
cd91183a9787d9295efe4e252af2b7535ff21d5a
Use ISO encoding, for cross platform
skwasjer/SilentHunter
src/SilentHunter.Core/Encoding.cs
src/SilentHunter.Core/Encoding.cs
namespace SilentHunter { public static class Encoding { /// <summary> /// The default encoding to use for parsing Silent Hunter game files. /// </summary> public static System.Text.Encoding ParseEncoding { get; } = System.Text.Encoding.GetEncoding("ISO-8859-1"); } }
namespace SilentHunter { public static class Encoding { /// <summary> /// The default encoding to use for parsing Silent Hunter game files. /// </summary> public static System.Text.Encoding ParseEncoding { get; } = System.Text.Encoding.GetEncoding(1252); } }
apache-2.0
C#
242b96fe76e0e1b69b89bf401c9aa1109bc1c29d
Update MainActivity.cs
iperezmx87/Xamarin30Labs
Lab03/AndroidApp/MainActivity.cs
Lab03/AndroidApp/MainActivity.cs
using Android.App; using Android.Widget; using Android.OS; namespace AndroidApp { [Activity(Label = "Lab 03", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); ...
using Android.App; using Android.Widget; using Android.OS; namespace AndroidApp { [Activity(Label = "Lab 03", MainLauncher = true, Icon = "@drawable/icon")] public class MainActivity : Activity { protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); ...
mit
C#
60ebfe297ecd564fa6cf750a55400b002757f5bc
Bump 0.15.0
pysco68/Nowin,et1975/Nowin,pysco68/Nowin,Bobris/Nowin,modulexcite/Nowin,lstefano71/Nowin,lstefano71/Nowin,modulexcite/Nowin,et1975/Nowin,lstefano71/Nowin,Bobris/Nowin,et1975/Nowin,pysco68/Nowin,modulexcite/Nowin,Bobris/Nowin
Nowin/Properties/AssemblyInfo.cs
Nowin/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("Nowin")] [assembly: AssemblyDescription("...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Nowin")] [assembly: AssemblyDescription("...
mit
C#
be34b5c2ee5416495a8fa89d8eb2f28cf95bbe53
Fix SetupSequentialContext to increment counter also after using Throws
JohanLarsson/moq4,HelloKitty/moq4,madcapsoftware/moq4,chkpnt/moq4,LeonidLevin/moq4,kulkarnisachin07/moq4,RobSiklos/moq4,iskiselev/moq4,ocoanet/moq4,cgourlay/moq4,AhmedAssaf/moq4,kolomanschaft/moq4,breyed/moq4,AhmedAssaf/moq4,ramanraghur/moq4,Moq/moq4,jeremymeng/moq4
Source/SetupSequentialContext.cs
Source/SetupSequentialContext.cs
using System; using System.Linq.Expressions; using Moq.Language; using Moq.Language.Flow; namespace Moq { internal class SetupSequentialContext<TMock, TResult> : ISetupSequentialResult<TResult> where TMock : class { private int currentStep; private int expectationsCount; private Mock<TMock> mock...
using System; using System.Linq.Expressions; using Moq.Language; using Moq.Language.Flow; namespace Moq { internal class SetupSequentialContext<TMock, TResult> : ISetupSequentialResult<TResult> where TMock : class { private int currentStep; private int expectationsCount; private Mock<TMock> mock...
bsd-3-clause
C#
97d6de7f9dfbc3eaf87bf94c0aca35eb2aff34aa
Make StructuredBufferManager work with a count of 0
virtuallynaked/virtually-naked,virtuallynaked/virtually-naked
Viewer/src/common/StructuredBufferManager.cs
Viewer/src/common/StructuredBufferManager.cs
using SharpDX.Direct3D11; using System; using SharpDX; using System.Runtime.InteropServices; using Buffer = SharpDX.Direct3D11.Buffer; //Optimized for occasional update (ResourceUsage.Default + UpdateSubresource) public class StructuredBufferManager<T> : IDisposable where T : struct { private readonly Device device;...
using SharpDX.Direct3D11; using System; using SharpDX; using System.Runtime.InteropServices; using Buffer = SharpDX.Direct3D11.Buffer; //Optimized for occasional update (ResourceUsage.Default + UpdateSubresource) public class StructuredBufferManager<T> : IDisposable where T : struct { private readonly Device device;...
mit
C#
a4821ca5485622ea826645ea2cb8b65dd9df2ba5
add and remove the paste item to context menu as ReadOnly property changes.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Gui/Controls/ExtendedTextBox.cs
WalletWasabi.Gui/Controls/ExtendedTextBox.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Input.Platform; using Avalonia.Styling; using ReactiveUI; using System; using System.Reactive.Linq; namespace WalletWasabi.Gui.Controls { public class ExtendedTextBox : TextBox, IStyleable { private M...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Input.Platform; using Avalonia.Styling; using ReactiveUI; using System; using System.Reactive.Linq; namespace WalletWasabi.Gui.Controls { public class ExtendedTextBox : TextBox, IStyleable { public Ex...
mit
C#
c4895af81a5d21842f47df7b3ee16ddec223d04e
Add shutdown and clean up GhostSystem
space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14
Content.Server/GameObjects/EntitySystems/GhostSystem.cs
Content.Server/GameObjects/EntitySystems/GhostSystem.cs
using Content.Server.GameObjects.Components.Mobs; using Content.Server.GameObjects.Components.Observer; using JetBrains.Annotations; using Robust.Shared.GameObjects; namespace Content.Server.GameObjects.EntitySystems { [UsedImplicitly] public class GhostSystem : EntitySystem { public override void ...
#nullable enable using Content.Server.GameObjects.Components.Mobs; using Content.Server.GameObjects.Components.Observer; using JetBrains.Annotations; using Robust.Server.GameObjects; using Robust.Shared.GameObjects; using System; namespace Content.Server.GameObjects.EntitySystems { [UsedImplicitly] public clas...
mit
C#
1fa7f88f1dfd567d9efed4282a3e1d6172885f95
remove extra comments
xclayl/orleans,xclayl/orleans
test/Tester/RelationalUtilities/PostgreSqlStorageForTesting.cs
test/Tester/RelationalUtilities/PostgreSqlStorageForTesting.cs
using System.Collections.Generic; using Orleans.SqlUtils; using UnitTests.General; namespace Tester.RelationalUtilities { class PostgreSqlStorageForTesting : RelationalStorageForTesting { public PostgreSqlStorageForTesting(string connectionString) : base(AdoNetInvariants.InvariantNamePostg...
using System.Collections.Generic; using Orleans.SqlUtils; using UnitTests.General; namespace Tester.RelationalUtilities { class PostgreSqlStorageForTesting : RelationalStorageForTesting { public PostgreSqlStorageForTesting(string connectionString) : base(AdoNetInvariants.InvariantNamePostg...
mit
C#
b1559a8fa55aea86d4704a23961c143f10b4a77d
Correct to print right result
chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs
using MQTTnet.Client.Connecting; using MQTTnet.Exceptions; namespace MQTTnet.Adapter { public class MqttConnectingFailedException : MqttCommunicationException { public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode) : base($"Connecting with MQTT server failed ({resul...
using MQTTnet.Client.Connecting; using MQTTnet.Exceptions; namespace MQTTnet.Adapter { public class MqttConnectingFailedException : MqttCommunicationException { public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode) : base($"Connecting with MQTT server failed ({resul...
mit
C#
b102158eb980fee2ec41adf7be0639469b8c8ca4
Remove TODO, no longer pluralizing method names
TheFireCookie/elasticsearch-net,CSGOpenSource/elasticsearch-net,adam-mccoy/elasticsearch-net,UdiBen/elasticsearch-net,cstlaurent/elasticsearch-net,cstlaurent/elasticsearch-net,cstlaurent/elasticsearch-net,adam-mccoy/elasticsearch-net,TheFireCookie/elasticsearch-net,elastic/elasticsearch-net,elastic/elasticsearch-net,Ro...
src/Nest/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/ElasticClient-GetIndexTemplate.cs
src/Nest/Indices/IndexSettings/IndexTemplates/GetIndexTemplate/ElasticClient-GetIndexTemplate.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { using GetIndexTemplateConverter = Func<IApiCallDetails, Stream, GetIndexTemplateResponse>; public partial interface IElasticClient { /// <summary> /// Get...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { using GetIndexTemplateConverter = Func<IApiCallDetails, Stream, GetIndexTemplateResponse>; public partial interface IElasticClient { /// <summary> /// Get...
apache-2.0
C#
2c7da651a099bf60ee5d72cdbd66afb133c0369e
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // 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(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
6249ff9a2eb54bac1bebe4e4ebcec4d2a24ae1f0
Use more proper name for test
Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode
CSharpInternals/1.CSharpInternals.ExceptionHandling/a.Basics.cs
CSharpInternals/1.CSharpInternals.ExceptionHandling/a.Basics.cs
using System; using Xunit; namespace CSharpInternals.ExceptionHandling { public class Basics { [Fact] public void ThrowsNull() { Assert.Throws<NullReferenceException>(() => ThrowsNullReferenceException()); } // Fact - ToString allocates a lo...
using System; using Xunit; namespace CSharpInternals.ExceptionHandling { public class Basics { [Fact] public void Test() { Assert.Throws<NullReferenceException>(() => ThrowsNullReferenceException()); } // Fact - ToString allocates a lot, esp...
mit
C#
9af4f764648f3215c74d33851ca72f48fe28455e
Make IsOrganization nullable
acron0/AsanaNet,jfjcn/AsanaNet,niieani/AsanaNet
AsanaNet/Objects/AsanaWorkspace.cs
AsanaNet/Objects/AsanaWorkspace.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsanaNet { [Serializable] public class AsanaWorkspace : AsanaObject, IAsanaData { [AsanaDataAttribute("name")] public string Name { get; private set; } [...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AsanaNet { [Serializable] public class AsanaWorkspace : AsanaObject, IAsanaData { [AsanaDataAttribute("name")] public string Name { get; private set; } [...
mit
C#
6d597cb17a0283f57cd95b0b2de12b1fa39247f7
fix ReadSingle (manual merge https://github.com/xamarin/urho/pull/160)
florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho,florin-chelaru/urho
Bindings/Portable/MarshalHelper.cs
Bindings/Portable/MarshalHelper.cs
using System; using System.Runtime.InteropServices; namespace Urho { public static class MarshalHelper { public static unsafe float ReadSingle(this IntPtr ptr, int offset = 0) { return *(float*)((byte*)ptr + offset); } public static float[] ToFloatsArray(this IntPtr ptr, int size) { float[] result ...
using System; using System.Runtime.InteropServices; namespace Urho { public static class MarshalHelper { public static unsafe float ReadSingle(this IntPtr ptr, int offset = 0) { if (sizeof (IntPtr) == sizeof (int)) { var value32 = Marshal.ReadInt32(ptr, offset); return *(float*)&value32; } v...
mit
C#
ea8ad79bcf193a47c42b875419686b9db32602c8
Update AssemblyInfo.cs
Shy07/Desktop
Desktop/Properties/AssemblyInfo.cs
Desktop/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Desktop")] [assembly: AssemblyDescription("An assistant who helps your Windows 8 or 8.1 desktop more clean.")] [assembly: AssemblyConfigur...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Desktop")] [assembly: AssemblyDescription("An assistant who makes your Windows 8 or 8.1 desktop more clean")] [assembly: AssemblyConfigura...
mit
C#
1fd524ada1078de4afd694a0c95a25edfa6061ae
Fix resource leak that occurred when any GFX files were missing from GFX folder
ethanmoffat/EndlessClient
EOLib.Graphics/PEFileCollection.cs
EOLib.Graphics/PEFileCollection.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 System.Collections.Generic; using System.IO; using PELoaderLib; namespace EOLib.Graphics { public sealed class PEFileCollection : Dictionary<GFXT...
// 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 System.Collections.Generic; using System.IO; using System.Linq; using PELoaderLib; namespace EOLib.Graphics { public sealed class PEFileCollectio...
mit
C#
7d969bfb3dda5cf8abc7da89641f4fd9be69b048
add route
zhouyongtao/my_aspnetmvc_learning,zhouyongtao/my_aspnetmvc_learning
my_aspnetmvc_learning/Controllers/RouteController.cs
my_aspnetmvc_learning/Controllers/RouteController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { /// <summary> /// http://diaosbook.com/Post/2013/10/22/attribute-routing-in-asp-net-mvc-5 /// </summary> public class RouteController : Controller ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace my_aspnetmvc_learning.Controllers { /// <summary> /// http://diaosbook.com/Post/2013/10/22/attribute-routing-in-asp-net-mvc-5 /// </summary> public class RouteController : Controller ...
mit
C#
a9ff0b5317f19ec3e7257f1a21c7b613b06f3730
Make SlimMenu more opaque.
UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipooo/osu,DrabWeb/osu,ZLima12/osu,DrabWeb/osu,NeoAdonis/osu,Frontear/osuKyzer,DrabWeb/osu,peppy/osu-new,naoey/osu,Nabile-Rahmani/osu,peppy/osu,ZLima12/osu,EVAST9919/osu,naoey/osu,smoogipoo/osu,ppy/osu,ppy/osu,peppy/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,naoey/...
osu.Game/Overlays/SearchableList/SlimEnumDropdown.cs
osu.Game/Overlays/SearchableList/SlimEnumDropdown.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 OpenTK.Graphics; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game....
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Extensions.Color4Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.UserInterface; using osu.Game....
mit
C#
f0ebbb1807aaf293751bce16c6c08c7bae15ea6d
Rewrite toolbar test scene and add test cases
peppy/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu
osu.Game.Tests/Visual/Menus/TestSceneToolbar.cs
osu.Game.Tests/Visual/Menus/TestSceneToolbar.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics.Containers; using ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Graphics.Containers; using osu.Game.Overlays.Toolbar; name...
mit
C#
9a466d97ede2d44095df61c468455861f8b20104
Add texts to make test more visually confirmable, add no parallax screen.
EVAST9919/osu,DrabWeb/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,ZLima12/osu,EVAST9919/osu,johnneijzen/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,N...
osu.Game.Tests/Visual/TestCaseOsuScreenStack.cs
osu.Game.Tests/Visual/TestCaseOsuScreenStack.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Screens; using osu.Framewor...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Screens; using osu.Framework.Testing; using osu.Game.Graphics.Containers; using osu.Game.Screens;...
mit
C#
512be2a1dc63716c2a8f0d69359abde7445af76b
add override for webhook name
Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns
TCC.Core/Interop/Discord.cs
TCC.Core/Interop/Discord.cs
using System; using System.Net; using System.Text; using FoglioUtils; using Newtonsoft.Json.Linq; using TCC.Utils; namespace TCC.Interop { public static class Discord { public static async void FireWebhook(string webhook, string message, string usernameOverride = "") { if (!await F...
using System; using System.Net; using System.Text; using FoglioUtils; using Newtonsoft.Json.Linq; using TCC.Utils; namespace TCC.Interop { public static class Discord { public static async void FireWebhook(string webhook, string message) { if (!await Firebase.RequestWebhookExecutio...
mit
C#
a751a17cce6ce3889c6b72f94a377f2105af0184
update version
DerAtrox/Beer.NET
Beer.NET/Properties/AssemblyInfo.cs
Beer.NET/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("Be...
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("Be...
mit
C#
321920bc857b07f1359ac0407a080c56f2815a6c
Remove one more nullable disable
ppy/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu,peppy/osu
osu.Game/Overlays/Settings/Sections/MaintenanceSection.cs
osu.Game/Overlays/Settings/Sections/MaintenanceSection.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.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Localisation; using osu.Game.Localisation; using osu.Game.Overlays.Settings.Secti...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using osu.Framework.Graphics; using osu.Framework.Graphics.Sprites; using osu.Framework.Localisation; using osu.Game.Localisation; using osu.Game.Over...
mit
C#
143cf6d87ec81851551a50cea3dbfa3d5261fd1f
Remove dangling references when deleting pooled objects from editor.
dimixar/audio-controller-unity
AudioController/Assets/Source/ObjectPool.cs
AudioController/Assets/Source/ObjectPool.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPool : MonoBehaviour { #region Public fields public List<PrefabBasedPool> pools; #endregion #region Public methods and properties public GameObject GetFreeObject(GameObject prefab = null) { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ObjectPool : MonoBehaviour { #region Public fields public List<PrefabBasedPool> pools; #endregion #region Public methods and properties public GameObject GetFreeObject(GameObject prefab = null) { ...
mit
C#
b8a4524d3a9178bcb70dbe0f541be425cd33b9a9
fix missing useragent header
kaedei/aliyun-ddns-client-csharp
Kaedei.AliyunDDNSClient/Program.cs
Kaedei.AliyunDDNSClient/Program.cs
using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Net.Http.Headers; using System.Text.RegularExpressions; using System.Threading; using Aliyun.Api; using Aliyun.Api.DNS.DNS20150109.Request; using Newtonsoft.Json; namespace Kaedei.AliyunDDNSClient { ...
using System; using System.IO; using System.Linq; using System.Net.Http; using System.Text.RegularExpressions; using System.Threading; using Aliyun.Api; using Aliyun.Api.DNS.DNS20150109.Request; using Newtonsoft.Json; namespace Kaedei.AliyunDDNSClient { class Program { private static void Main(strin...
apache-2.0
C#
c212f53d196ba6a3f60a84fe69e20ad1337b8301
Add missing xmldoc
ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework
osu.Framework/Threading/GameThreadSynchronizationContext.cs
osu.Framework/Threading/GameThreadSynchronizationContext.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using System.Threading; #nullable enable namespace osu.Framework.Threading { /// <summary> /// A synchronisation context which posts a...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Diagnostics; using System.Threading; #nullable enable namespace osu.Framework.Threading { /// <summary> /// A synchronisation context which posts a...
mit
C#
e3e64a818f67e57b851ee81aa1d5a6cd7cf8bf2a
fix typo
joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net
Joinrpg/App_Code/RouteHelper.cshtml
Joinrpg/App_Code/RouteHelper.cshtml
@using JoinRpg.Web.App_Code @using JoinRpg.Web.Helpers @helper GetUrl(RouteTarget target) { @target.GetUri(MvcIntrinsics.Url) } @functions { public static HtmlString GetFullHostName() { return new HtmlString(Request.Url.Scheme + "://" + Request.Url.Host + (Request.Url.IsDefaultPort ? "" : ":" + Req...
@using JoinRpg.Web.App_Code @using JoinRpg.Web.Helpers @helper GetUrl(RouteTarget target) { @target.GetUri(MvcIntrinsics.Url) } @functions { public static HtmlString GetFullHostName() { return new HtmlString(Request.Url.Scheme + Request.Url.Host + (Request.Url.IsDefaultPort ? "" : ":" + Request.Url...
mit
C#
f48ce18439c74354060d1d88cceb35543961e6c5
Update PBU-Main-Future.cs
win120a/ACClassRoomUtil,win120a/ACClassRoomUtil
ProcessBlockUtil/PBU-Main-Future.cs
ProcessBlockUtil/PBU-Main-Future.cs
/* THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.) Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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...
/* THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.) Copyright (C) 2011-2014 AC Inc. (Andy Cheung) 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...
apache-2.0
C#
1d4e5e0e150d4c481f221a8bd0ae45830374c4d1
Update example project
fedoaa/SimpleTwitchBot
SimpleTwitchBot.Example/Program.cs
SimpleTwitchBot.Example/Program.cs
using SimpleTwitchBot.Lib; using SimpleTwitchBot.Lib.Events; using System; using System.Threading.Tasks; namespace SimpleTwitchBot.Example { class Program { static void Main(string[] args) => MainAsync(args).GetAwaiter().GetResult(); private static async Task MainAsync(string[] args) ...
using SimpleTwitchBot.Lib; using SimpleTwitchBot.Lib.Events; using System; using System.Threading.Tasks; namespace SimpleTwitchBot.Example { class Program { static void Main(string[] args) { using (var client = new TwitchIrcClient("irc.chat.twitch.tv", 6667)) { ...
mit
C#
1cd5f4eff446b5d7c1e7f7edad39936d0a0b8fa7
Use TOTAL_DAY_HOURS from TimeSlot
victoria92/university-program-generator,victoria92/university-program-generator
UniProgramGen/Data/Requirements.cs
UniProgramGen/Data/Requirements.cs
using System.Collections.Generic; using System.Linq; using UniProgramGen.Helpers; namespace UniProgramGen.Data { public class Requirements { public const uint TOTAL_WEEK_HOURS = 7 * TimeSlot.TOTAL_DAY_HOURS; public readonly double weight; public readonly List<Helpers.TimeSlot> availab...
using System.Collections.Generic; using UniProgramGen; using System.Linq; namespace UniProgramGen.Data { public class Requirements { public const uint TOTAL_HOURS = 15; public const uint TOTAL_WEEK_HOURS = 5 * TOTAL_HOURS; public readonly double weight; public readonly List<He...
bsd-2-clause
C#
6d92745f661c90900f062bded2c8be7e3352687b
Add callback path for microsoft
umbraco/UmbracoIdentityExtensions
src/App_Start/UmbracoMicrosoftAuthExtensions.cs
src/App_Start/UmbracoMicrosoftAuthExtensions.cs
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.Owin; using Owin; using Umbraco.Core; using Umbraco.Web.Security.Identity; using Microsoft.Owin.Security.MicrosoftAccount; namesp...
using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using System.Web; using Microsoft.Owin; using Owin; using Umbraco.Core; using Umbraco.Web.Security.Identity; using Microsoft.Owin.Security.MicrosoftAccount; namesp...
mit
C#
982069f775f16e5969e4c007b2b7bd6a4e531445
delete unused files
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
src/Cap.Consistency.Server/ConsistencyServer.cs
src/Cap.Consistency.Server/ConsistencyServer.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.Server; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; namespace Cap.Consistency.Server { public class ConsistencyS...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting.Server; using Microsoft.AspNetCore.Http.Features; using Microsoft.Extensions.Logging; namespace Cap.Consistency.Server { public class ConsistencyS...
mit
C#
8acffbbed612ba2e0eacbb011d9fcfb1ef61637d
Add constructor to DataType.cs
Ackara/Daterpillar
src/Daterpillar.Core/Transformation/DataType.cs
src/Daterpillar.Core/Transformation/DataType.cs
using System; using System.Xml.Serialization; namespace Gigobyte.Daterpillar.Transformation { /// <summary> /// Represents a SQL type. /// </summary> public struct DataType : IEquatable<DataType> { #region Operators public static bool operator ==(DataType left, DataType right) ...
using System; using System.Xml.Serialization; namespace Gigobyte.Daterpillar.Transformation { /// <summary> /// Represents a SQL type. /// </summary> public struct DataType : IEquatable<DataType> { #region Operators public static bool operator ==(DataType left, DataType right) ...
mit
C#
d8ebda35a2b21c4fd21734244a3e3383adfa1d19
Improve JsonService with LINQ
arthurrump/Zermelo.API
Zermelo.API/Services/JsonService.cs
Zermelo.API/Services/JsonService.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Services { internal class JsonService : IJsonSer...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Zermelo.API.Services.Interfaces; namespace Zermelo.API.Services { internal class JsonService : IJsonSer...
mit
C#
59e375eb35ff4f9317e562755e41384b2fdace46
Optimize authentication validation
NicatorBa/Porthor
src/Porthor/ResourceRequestValidators/AuthorizationValidator.cs
src/Porthor/ResourceRequestValidators/AuthorizationValidator.cs
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Porthor.ResourceRequestValidators { /// <summary> /// Request validator for authorization by poliyies. ...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Threading.Tasks; namespace Porthor.ResourceRequestValidators { /// <summary> /// Request validator for authorization by poliyies. ...
apache-2.0
C#
a3a4a6105392443966c061144e522599354f5f65
add validation to resource name param
takenet/blip-sdk-csharp
src/Take.Blip.Builder/Variables/BaseResourceVariableProvider.cs
src/Take.Blip.Builder/Variables/BaseResourceVariableProvider.cs
using Lime.Protocol; using Lime.Protocol.Network; using Lime.Protocol.Serialization; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Take.Blip.Client; namespace Take.Blip.Builder.Variables { public class BaseResourceVariableProvider : ...
using Lime.Protocol; using Lime.Protocol.Network; using Lime.Protocol.Serialization; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; using Take.Blip.Client; namespace Take.Blip.Builder.Variables { public class BaseResourceVariableProvider : ...
apache-2.0
C#
eda33b1ac4eec6f66ee1c20b71ef80615a253ad0
Update incorrect summary
Khamull/Umbraco-CMS,ehornbostel/Umbraco-CMS,DaveGreasley/Umbraco-CMS,gkonings/Umbraco-CMS,iahdevelop/Umbraco-CMS,YsqEvilmax/Umbraco-CMS,kgiszewski/Umbraco-CMS,romanlytvyn/Umbraco-CMS,Pyuuma/Umbraco-CMS,KevinJump/Umbraco-CMS,zidad/Umbraco-CMS,abryukhov/Umbraco-CMS,arvaris/HRI-Umbraco,tcmorris/Umbraco-CMS,zidad/Umbraco-C...
src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs
src/Umbraco.Core/Configuration/ClientDependencyConfiguration.cs
using System; using System.Linq; using System.Xml.Linq; using Umbraco.Core.IO; using Umbraco.Core.Logging; namespace Umbraco.Core.Configuration { internal class ClientDependencyConfiguration { private readonly string _fileName; public ClientDependencyConfiguration() { ...
using System; using System.Linq; using System.Xml.Linq; using Umbraco.Core.IO; using Umbraco.Core.Logging; namespace Umbraco.Core.Configuration { internal class ClientDependencyConfiguration { private readonly string _fileName; public ClientDependencyConfiguration() { ...
mit
C#
ac799aaf7a412db957203074b9110776ad61dfbf
Add missing newline
peppy/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,ppy/osu
osu.Game/Overlays/Mods/NestedVerticalScrollContainer.cs
osu.Game/Overlays/Mods/NestedVerticalScrollContainer.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable enable using osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Game.Graphics.Containers; namespace osu.Game.Overlays.Mods { /// <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. #nullable enable using osu.Framework.Graphics; using osu.Framework.Input.Events; using osu.Game.Graphics.Containers; namespace osu.Game.Overlays.Mods { /// <summary>...
mit
C#
3deab026c82669e70daadcc09d35c8c62740ef3a
Stop spurious VS "cannot override ExecuteAsync" errors even if you don't specify a base class
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.Blazor/Components/RazorToolingWorkaround.cs
src/Microsoft.Blazor/Components/RazorToolingWorkaround.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. /* * Currently if you have a .cshtml file in a project with <Project Sdk="Microsoft.NET.Sdk.Web">, * Visual Studio will run design-time builds for th...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. /* * Currently if you have a .cshtml file in a project with <Project Sdk="Microsoft.NET.Sdk.Web">, * Visual Studio will run design-time builds for th...
apache-2.0
C#
5b5282a3193990d01691b4bf8495cf0ece3f7ad2
Move method down.
fffej/BobTheBuilder,alastairs/BobTheBuilder
BobTheBuilder/DynamicBuilderBase.cs
BobTheBuilder/DynamicBuilderBase.cs
using System; using System.Dynamic; namespace BobTheBuilder { public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class { protected internal readonly IArgumentStore argumentStore; protected DynamicBuilderBase(IArgumentStore argumentStore) { ...
using System; using System.Dynamic; namespace BobTheBuilder { public abstract class DynamicBuilderBase<T> : DynamicObject, IDynamicBuilder<T> where T : class { protected internal readonly IArgumentStore argumentStore; protected DynamicBuilderBase(IArgumentStore argumentStore) { ...
apache-2.0
C#
2d4674a19ea73b43d984401a0c12f9f17c306616
Set version to 0.1.0
aireq/NLog.Targets.SQS
NLog.Targets.SQS/Properties/AssemblyInfo.cs
NLog.Targets.SQS/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("NL...
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("NL...
mit
C#
bc068fe4921f64fa668eefb18e6b964be17e1e8f
Remove comment italicization.
marceloyuela/google-cloud-powershell,chrsmith/google-cloud-powershell,marceloyuela/google-cloud-powershell,ILMTitan/google-cloud-powershell,GoogleCloudPlatform/google-cloud-powershell,marceloyuela/google-cloud-powershell
Google.PowerShell/Dns/GcdProject.cs
Google.PowerShell/Dns/GcdProject.cs
// Copyright 2016 Google Inc. All Rights Reserved. // Licensed under the Apache License Version 2.0. using Google.Apis.Dns.v1; using Google.Apis.Dns.v1.Data; using Google.PowerShell.Common; using System.Management.Automation; namespace Google.PowerShell.Dns { /// <summary> /// <para type="synopsis"> /// ...
// Copyright 2016 Google Inc. All Rights Reserved. // Licensed under the Apache License Version 2.0. using Google.Apis.Dns.v1; using Google.Apis.Dns.v1.Data; using Google.PowerShell.Common; using System.Management.Automation; namespace Google.PowerShell.Dns { /// <summary> /// <para type="synopsis"> /// ...
apache-2.0
C#
f23cc40ad8e6a41354fb65405d4a3a1d2982ee94
Set thread culture to InvariantCulture on startup
feliwir/openSage,feliwir/openSage
src/OpenSage.DataViewer.Windows/App.xaml.cs
src/OpenSage.DataViewer.Windows/App.xaml.cs
using System.Windows; using System.Globalization; using System.Threading; namespace OpenSage.DataViewer { public partial class App : Application { protected override void OnStartup(StartupEventArgs e) { Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture; ...
using System.Windows; namespace OpenSage.DataViewer { public partial class App : Application { } }
mit
C#
6eacc80532edbd0ca97980a86d96a1363cf0a6ec
Implement job compatibility
LeBodro/super-salaryman-2044
Assets/Job.cs
Assets/Job.cs
using UnityEngine; using System.Collections.Generic; [System.Serializable] public class Job { [SerializeField] string name; [SerializeField] Texture2D icon; [SerializeField] SuperPower[] acceptedPowers; [SerializeField] SuperPower[] forbiddenPowers; public bool IsCompatibleWith(List<SuperPower> p...
using UnityEngine; using System.Collections.Generic; [System.Serializable] public class Job { [SerializeField] string name; [SerializeField] Texture2D icon; [SerializeField] SuperPower[] acceptedPowers; [SerializeField] SuperPower[] forbiddenPowers; public bool IsCompatibleWith(IList<SuperPower> ...
mit
C#
40b7934404452749a8c716211a83df25d59d6921
add explanatory comment (#1672)
GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples
functions/helloworld/HelloGcs/Function.cs
functions/helloworld/HelloGcs/Function.cs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
apache-2.0
C#
7c4d7c2098a99dd4f868fca885cd14dc1e24dc7f
Add field - avatar
jpush/jmessage-api-csharp-client
jmessage/user/UserPayload.cs
jmessage/user/UserPayload.cs
using Newtonsoft.Json; namespace jmessage.user { public class UserPayload { public string username; public string password; public string new_password; public string appkey; public string nickname; /// <summary> /// 生日。 /// 格式要求为 yyyy-MM-dd HH:m...
using Newtonsoft.Json; namespace jmessage.user { public class UserPayload { public string username; public string password; public string new_password; public string appkey; public string nickname; public string birthday; public int? gender; publ...
mit
C#
6ef18904ad4da39d1d27ab08fa99d668466d08f9
test name changed to testRepository
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/TestController.cs
Trappist/src/Promact.Trappist.Core/Controllers/TestController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Test; using Promact.Trappist.Repository.Tests; using Promact.Trappist.Utility.Constants; namespace Promact.Trappist.Core.Controllers { [Produces("application/json")] [Route("api/tests")] public class TestsController : Controller ...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Test; using Promact.Trappist.Repository.Tests; using Promact.Trappist.Utility.Constants; namespace Promact.Trappist.Core.Controllers { [Produces("application/json")] [Route("api/tests")] public class TestsController : Controller ...
mit
C#
06f6bbdff806d3cc02d1012e55963638cd247e76
Throw excpetion when type is not found
Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D
src/Core2D.Perspex/Presenters/CachedContentPresenter.cs
src/Core2D.Perspex/Presenters/CachedContentPresenter.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 Perspex; using Perspex.Controls; using Perspex.Controls.Presenters; using System; using System.Collections.Generic; namespace Core2D.Perspex.Presenters { ...
// 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 Perspex; using Perspex.Controls; using Perspex.Controls.Presenters; using System; using System.Collections.Generic; namespace Core2D.Perspex.Presenters { ...
mit
C#
8c9024321cd2cd50afc5cc292f2c8b29d6d82ab8
fix bug: if two app uses netsparkle on same PC, the second crashes
shawnliang/NetSparkle,shawnliang/NetSparkle
NetSparkle/NetSparkleMainWindows.cs
NetSparkle/NetSparkleMainWindows.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace AppLimit.NetSparkle { public partial class NetSparkleMainWindows : Form, IDisposable { priv...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; namespace AppLimit.NetSparkle { public partial class NetSparkleMainWindows : Form, IDisposable { priv...
mit
C#
47fc86768c7e7dc9ef2b527dc084229fcf6fb3e1
Bump to version 2.2.0.0
MeltWS/proshine,bobus15/proshine,Silv3rPRO/proshine
PROShine/Properties/AssemblyInfo.cs
PROShine/Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: As...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: As...
mit
C#
23ab92b85d8b8eea18405094fbf9415e62a4f153
update contact
lderache/LeTruck,lderache/LeTruck,lderache/LeTruck
src/mvc5/TheTruck.Web/Views/Home/Contact.cshtml
src/mvc5/TheTruck.Web/Views/Home/Contact.cshtml
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <p> We would love to hear your feedback about products and suggestions. </p> <address> <strong>Support:</strong> <a href="mailto:contact@letruck.net">contact@letruck.net</a><br /> </address>
@{ ViewBag.Title = "Contact"; } <h2>@ViewBag.Title.</h2> <h3>@ViewBag.Message</h3> <address> One Microsoft Way<br /> Redmond, WA 98052-6399<br /> <abbr title="Phone">P:</abbr> 425.555.0100 </address> <address> <strong>Support:</strong> <a href="mailto:Support@example.com">Support@example.co...
mit
C#
87e9fb37990b34369f235f0fbce7383a63e9b858
Fix build
gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Message/FlagSyncMsgReader.cs
Server/Message/FlagSyncMsgReader.cs
using LunaCommon.Message.Data.Flag; using LunaCommon.Message.Interface; using LunaCommon.Message.Types; using Server.Client; using Server.Message.Base; using Server.System; namespace Server.Message { public class FlagSyncMsgReader : ReaderBase { public override void HandleMessage(ClientStructure clien...
using LunaCommon.Message.Data.Flag; using LunaCommon.Message.Interface; using LunaCommon.Message.Types; using Server.Client; using Server.Message.Base; using Server.System; namespace Server.Message { public class FlagSyncMsgReader : ReaderBase { public override void HandleMessage(ClientStructure clien...
mit
C#
803c1e8b65f1ac0957f65dd80d6ae535257fa326
Bump v1.0.6
karronoli/tiny-sato
TinySato/Properties/AssemblyInfo.cs
TinySato/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("TinySato")] [assembly: AssemblyDescription("You can construct and send SBPL packet to Sato pri...
apache-2.0
C#
cef001ef6ccc06144169c66d48cb8c332320df4d
Fix file name in license boilerplace
roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon,roman-yagodin/R7.Epsilon
R7.Epsilon.Tests/CustomPortalConfigTests.cs
R7.Epsilon.Tests/CustomPortalConfigTests.cs
// // CustomPortalConfigTests.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // 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 Soft...
// // DefaultPortalConfigTests.cs // // Author: // Roman M. Yagodin <roman.yagodin@gmail.com> // // Copyright (c) 2016 Roman M. Yagodin // // 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 Sof...
agpl-3.0
C#
459905cfca9ef25f32dbabc953cdbe97ea29e6d7
Fix warning on net5.0
jherby2k/AudioWorks
AudioWorks/tests/AudioWorks.TestUtilities/HashUtility.cs
AudioWorks/tests/AudioWorks.TestUtilities/HashUtility.cs
/* Copyright © 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Au...
/* Copyright © 2018 Jeremy Herbison This file is part of AudioWorks. AudioWorks is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Au...
agpl-3.0
C#
2d319f6358c2e8152cae82c535e0aa2cffa44ca9
scale default to 1:1
ruarai/Trigrad,ruarai/Trigrad
Trigrad/DataTypes/TrigradOptions.cs
Trigrad/DataTypes/TrigradOptions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Trigrad.DataTypes { /// <summary> Options for the usage of the TrigradCompressor. </summary> public class TrigradOptions { /// <summary> Constructs a TrigradOptions with a ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Trigrad.DataTypes { /// <summary> Options for the usage of the TrigradCompressor. </summary> public class TrigradOptions { /// <summary> Constructs a TrigradOptions with a ...
mit
C#
f6fd7efeb3036f5288459ae7910938e94b741994
Add UVs to newly created geom meshes
deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco,deepmind/mujoco
unity/Runtime/Components/Shapes/MjMeshFilter.cs
unity/Runtime/Components/Shapes/MjMeshFilter.cs
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
// Copyright 2019 DeepMind Technologies Limited // // 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 l...
apache-2.0
C#
a6cc9183406129457d84f713fdc78ae5bef5e1de
Package Update #CHANGE: Pushed AdamsLair.WinForms 1.1.6
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#
087257e210733ac153e3b35502da5efc02b4445f
Make MediaManager a static property
mike-rowley/XamarinMediaManager,mike-rowley/XamarinMediaManager,martijn00/XamarinMediaManager,martijn00/XamarinMediaManager
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
MediaManager/Platforms/Ios/Video/PlayerViewController.cs
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { protected static MediaManagerImplementation MediaManager => CrossMediaManager.Apple; public override void ViewWillDisappear(bool animated) { base.ViewWill...
using AVKit; namespace MediaManager.Platforms.Ios.Video { public class PlayerViewController : AVPlayerViewController { protected MediaManagerImplementation MediaManager => CrossMediaManager.Apple; public override void ViewWillDisappear(bool animated) { base.ViewWillDisappe...
mit
C#
92fa4b71facddae2fca8abf774f9ff7475d855fe
add tests for all methods
Pondidum/NuCache,Pondidum/NuCache,Pondidum/NuCache
NuCache.Tests/PackageSources/RemotePackageSourceTests.cs
NuCache.Tests/PackageSources/RemotePackageSourceTests.cs
using System; using NSubstitute; using NuCache.Infrastructure; using NuCache.PackageSources; namespace NuCache.Tests.PackageSources { public class RemotePackageSourceTests { private void Test(Action<RemotePackageSource, Uri> method) { var client = Substitute.For<WebClient>(); var transformer = new UriHos...
using System; using NSubstitute; using NuCache.Infrastructure; using NuCache.PackageSources; namespace NuCache.Tests.PackageSources { public class RemotePackageSourceTests { public void When_calling_get() { var client = Substitute.For<WebClient>(); var transformer = new UriHostTransformer(new Uri("http://...
lgpl-2.1
C#
11214bedb9d42ee93c09e25740a57bd354731abf
Decrease the interval
gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer
Server/Settings/Definition/IntervalSettingsDefinition.cs
Server/Settings/Definition/IntervalSettingsDefinition.cs
using LunaCommon.Xml; using System; namespace Server.Settings.Definition { [Serializable] public class IntervalSettingsDefinition { [XmlComment(Value = "Interval in ms at which the client will send POSITION updates of his vessel when other players are NEARBY. " + "Decrease it if yo...
using LunaCommon.Xml; using System; namespace Server.Settings.Definition { [Serializable] public class IntervalSettingsDefinition { [XmlComment(Value = "Interval in ms at which the client will send POSITION updates of his vessel when other players are NEARBY. " + "Decrease it if yo...
mit
C#
0ac346f8d122f00b829a657248fe18882589bb39
Fix NoShrineRoom logic if shrine is null
MoyTW/MTW_AncestorSpirits
Source/MTW_AncestorSpirits/ThoughtWorker_NoShrineRoom.cs
Source/MTW_AncestorSpirits/ThoughtWorker_NoShrineRoom.cs
using RimWorld; using Verse; namespace MTW_AncestorSpirits { class ThoughtWorker_NoShrineRoom : ThoughtWorker { private static RoomRoleDef shrineRoomDef = DefDatabase<RoomRoleDef>.GetNamed("MTW_ShrineRoom"); protected override ThoughtState CurrentStateInternal(Pawn p) { //...
using RimWorld; using Verse; namespace MTW_AncestorSpirits { class ThoughtWorker_NoShrineRoom : ThoughtWorker { private static RoomRoleDef shrineRoomDef = DefDatabase<RoomRoleDef>.GetNamed("MTW_ShrineRoom"); protected override ThoughtState CurrentStateInternal(Pawn p) { //...
mit
C#
16ef6c2748675dd20255649f443523fff06aaf14
Improve comments on the interface.
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/LINQToTTreeLib/ExecutionCommon/IQueryExectuor.cs
LINQToTTree/LINQToTTreeLib/ExecutionCommon/IQueryExectuor.cs
 using System.Collections.Generic; using System.IO; namespace LINQToTTreeLib.ExecutionCommon { /// <summary> /// Runs an execution request /// </summary> interface IQueryExectuor { /// <summary> /// Run request, and return the results /// </summary> /// ...
 using System.Collections.Generic; using System.IO; namespace LINQToTTreeLib.ExecutionCommon { /// <summary> /// Runs an execution request /// </summary> interface IQueryExectuor { /// <summary> /// Run request, and return the results /// </summary> /// ...
lgpl-2.1
C#
3f8adc48a81c644c5b879715fa88e66b626618cc
Add exceptions messages
RockstarLabs/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,qanuj/OwinOAuthProviders,CrustyJew/OwinOAuthProviders,nbelyh/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,TerribleDev/OwinOAuthProviders,RockstarLabs/OwinOAuthProviders,qanuj/OwinOAuthProviders,NewBoCo/OwinOAuthProviders,yfann/OwinOAuthProviders,TerribleDe...
Owin.Security.Providers/Imgur/ImgurAuthenticationDefaults.cs
Owin.Security.Providers/Imgur/ImgurAuthenticationDefaults.cs
namespace Owin.Security.Providers.Imgur { internal static class ImgurAuthenticationDefaults { internal const string AccessDeniedErrorMessage = "access_denied"; internal const string AccessTokenPropertyName = "access_token"; internal const string AccountIdPropertyName = "account_id"; ...
namespace Owin.Security.Providers.Imgur { internal static class ImgurAuthenticationDefaults { internal const string AccessDeniedErrorMessage = "access_denied"; internal const string AccessTokenPropertyName = "access_token"; internal const string AccountIdPropertyName = "account_id"; ...
mit
C#
1230a68e8dfa3aae8c8904234e1597352a6ade29
Remove PublishConfiguration.QueueName (#1051)
micdenny/EasyNetQ,EasyNetQ/EasyNetQ
Source/EasyNetQ/FluentConfiguration/IPublishConfiguration.cs
Source/EasyNetQ/FluentConfiguration/IPublishConfiguration.cs
namespace EasyNetQ.FluentConfiguration { /// <summary> /// Allows publish configuration to be fluently extended without adding overloads to IBus /// /// e.g. /// x => x.WithTopic("*.brighton").WithPriority(2) /// </summary> public interface IPublishConfiguration { /// <summary> ...
namespace EasyNetQ.FluentConfiguration { /// <summary> /// Allows publish configuration to be fluently extended without adding overloads to IBus /// /// e.g. /// x => x.WithTopic("*.brighton").WithPriority(2) /// </summary> public interface IPublishConfiguration { /// <summary> ...
mit
C#
af1aa725a3a5686e0202b87e9d7ac5b37f5c21b7
Add a few more tests
aarondandy/we-cant-spell
WeCantSpell.Tests/Integration/CSharp/CommentSpellingTests.cs
WeCantSpell.Tests/Integration/CSharp/CommentSpellingTests.cs
using System.Collections.Generic; using System.Threading.Tasks; using FluentAssertions; using WeCantSpell.Tests.Utilities; using Xunit; namespace WeCantSpell.Tests.Integration.CSharp { public class CommentSpellingTests : CSharpTestBase { public static IEnumerable<object[]> can_find_mistakes_in_comment...
using System.Collections.Generic; using System.Threading.Tasks; using FluentAssertions; using WeCantSpell.Tests.Utilities; using Xunit; namespace WeCantSpell.Tests.Integration.CSharp { public class CommentSpellingTests : CSharpTestBase { public static IEnumerable<object[]> can_find_mistakes_in_comment...
mit
C#
16fd7f5a287cf921445f51ae7a587b6ccebe1327
Simplify slightly redundant assertions
peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu
osu.Game.Tests/Database/RulesetStoreTests.cs
osu.Game.Tests/Database/RulesetStoreTests.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.Linq; using NUnit.Framework; using osu.Game.Models; using osu.Game.Stores; namespace osu.Game.Tests.Database { public class RulesetStoreTests : RealmTes...
// 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.Linq; using NUnit.Framework; using osu.Game.Models; using osu.Game.Stores; namespace osu.Game.Tests.Database { public class RulesetStoreTests : RealmTes...
mit
C#
8117d3220157b71ebdb3beaf84fc274efaba16e9
add notes about Repository interface structure and direction
EdVinyard/DddSandbox
Domain/Aggregate/Auction/IReverseAuctionRepository.cs
Domain/Aggregate/Auction/IReverseAuctionRepository.cs
using DDD; using System; using System.Collections.Generic; namespace Domain.Aggregate.Auction { // TODO: This Repository interface doesn't conform to either // of the recommended designs, in particular, the Update() method. // // Collection-Oriented: the "traditional DDD approach because it adheres to...
using DDD; using System; using System.Collections.Generic; namespace Domain.Aggregate.Auction { public interface IReverseAuctionRepository : IRepository { ReverseAuctionAggregate Save(ReverseAuctionAggregate ra); ReverseAuctionAggregate Get(int id); ReverseAuctionAggregate Update(Rever...
mit
C#
50f0bf53e1c24ffbb7fdc90caf7551920ba14d23
Add resources
Vultour/music-tracker
MusicTracker/MusicTracker/GUI/MainWindowController.cs
MusicTracker/MusicTracker/GUI/MainWindowController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; using MusicTracker.Core; namespace MusicTracker.GUI { class MainWindowController { private MusicList musicList; public MainWindow View { get; private set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MusicTracker.GUI { class MainWindowController { public MainWindow View { get; private set; } public MainWindowController() { this.View = new MainW...
apache-2.0
C#
ffeb4867b720707c2ecc4343e9a7d9e273cafa96
Improve TruncateMilliseconds test helper
libgit2/libgit2sharp,PKRoma/libgit2sharp
LibGit2Sharp.Tests/TestHelpers/DateTimeOffsetExtensions.cs
LibGit2Sharp.Tests/TestHelpers/DateTimeOffsetExtensions.cs
using System; namespace LibGit2Sharp.Tests.TestHelpers { public static class DateTimeOffsetExtensions { public static DateTimeOffset TruncateMilliseconds(this DateTimeOffset dto) => new DateTimeOffset(dto.Year, dto.Month, dto.Day, dto.Hour, dto.Minute, dto.Second, dto.Offset); } }
using System; namespace LibGit2Sharp.Tests.TestHelpers { public static class DateTimeOffsetExtensions { public static DateTimeOffset TruncateMilliseconds(this DateTimeOffset dto) { // From http://stackoverflow.com/a/1005222/335418 return dto.AddTicks( - (dto.Ticks % Tim...
mit
C#
6d3b4b089fc2ce8eb35c13eb733a0841b0aa5735
Update ServicesManager.cs
odaibert/Service-Fabric-Self-Scale-Service
SaaSManagerService/ServicesManager/ServicesManager.cs
SaaSManagerService/ServicesManager/ServicesManager.cs
using System; using System.Collections.Generic; using System.Fabric; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Communication.Runtime; using Microsoft.ServiceFabric.Services.Runtime; namespace ServicesManager { /// <summary> /// The FabricRu...
using System; using System.Collections.Generic; using System.Fabric; using System.Linq; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Communication.Runtime; using Microsoft.ServiceFabric.Services.Runtime; namespace ServicesManager { /// <summary> /// The FabricRu...
mit
C#
afeb230d1ed4137014355f4e58fe7cb408267610
update Orchard.RewriteRules to address unthemed 404 and 500 pages
andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms,andrewconnell/aci-orchardcms
Modules/Contrib.RewriteRules/Controllers/HomeController.cs
Modules/Contrib.RewriteRules/Controllers/HomeController.cs
using Orchard.Themes; using System.Web.Mvc; namespace Contrib.RewriteRules.Controllers { [Themed] public class HomeController : Controller { public ActionResult Rewrite(string path) { return new HttpNotFoundResult(); } } }
using System.Web.Mvc; namespace Contrib.RewriteRules.Controllers { public class HomeController : Controller { public ActionResult Rewrite(string path) { return new HttpNotFoundResult(); } } }
bsd-3-clause
C#
4e9f638f255e9e8f2196fd0a7c03bd436fe2b4d8
revert change
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs
using ReactiveUI; using System; namespace WalletWasabi.Fluent.ViewModels { public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel { private bool _isSelected; private bool _isExpanded; private string _title; public NavBarItemViewModel(IScreen screen) { HostScreen = screen; } ...
using ReactiveUI; using System; namespace WalletWasabi.Fluent.ViewModels { public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel { private bool _isSelected; private bool _isExpanded; private string _title; public NavBarItemViewModel(IScreen screen) { HostScreen = screen; } ...
mit
C#
06229ad7b2c39c17bc332ca8ff1ca5e90ba4577f
Fix a typo in const name
LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC,LibertyLocked/RestRPC
WebScriptHook.Framework/Messages/Outputs/ChannelRequest.cs
WebScriptHook.Framework/Messages/Outputs/ChannelRequest.cs
namespace WebScriptHook.Framework.Messages.Outputs { /// <summary> /// Sent by the component to request a channel for itself on the server. /// This tells the server the name of this component, as well as the maximum number of requests /// the component can handle per tick. /// Once the server r...
namespace WebScriptHook.Framework.Messages.Outputs { /// <summary> /// Sent by the component to request a channel for itself on the server. /// This tells the server the name of this component, as well as the maximum number of requests /// the component can handle per tick. /// Once the server r...
mit
C#
d745e5a2e7ae034635cc372f2d942af36df85c53
Make sure previous changes about Android project namespace update is properly taken into account.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Android/Resources/Resource.Designer.cs
Xmas-Hell/Xmas-Hell-Android/Resources/Resource.Designer.cs
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.42000 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront ...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // Ce code a été généré par un outil. // Version du runtime :4.0.30319.42000 // // Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront ...
mit
C#
e212305f1a48d5e41ef8414a4a19a0eb4241b715
add tumble function
GRGSIBERIA/maya-camera
MayaCamera.cs
MayaCamera.cs
using UnityEngine; using System.Collections; public class MayaCamera : MonoBehaviour { Vector3 lookAtPosition; public float dollySpeed = 1f; public float tumbleSpeed = 1f; public float trackSpeed = 1f; Vector3 prevMousePosition; Vector3 prevMouseSpeed; public Vector3 mouseSpeed; public Vector3 mouseAccel;...
using UnityEngine; using System.Collections; public class MayaCamera : MonoBehaviour { public float dollySpeed = 1f; public float tumbleSpeed = 1f; public float trackSpeed = 1f; Vector3 prevMousePosition; Vector3 prevMouseSpeed; public Vector3 mouseSpeed; public Vector3 mouseAccel; // Use this for initial...
bsd-3-clause
C#
0367c147c035cbda191b65f874b9cc24e676ffce
Fix non-variant default name for tests-weekly (#1435)
tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools,tg-msft/azure-sdk-tools
tools/pipeline-generator/Azure.Sdk.Tools.PipelineGenerator/Conventions/WeeklyIntegrationTestingPipelineConvention.cs
tools/pipeline-generator/Azure.Sdk.Tools.PipelineGenerator/Conventions/WeeklyIntegrationTestingPipelineConvention.cs
using Microsoft.Extensions.Logging; using Microsoft.TeamFoundation.Build.WebApi; namespace PipelineGenerator.Conventions { public class WeeklyIntegrationTestingPipelineConvention : IntegrationTestingPipelineConvention { public WeeklyIntegrationTestingPipelineConvention(ILogger logger, PipelineGenerati...
using Microsoft.Extensions.Logging; using Microsoft.TeamFoundation.Build.WebApi; namespace PipelineGenerator.Conventions { public class WeeklyIntegrationTestingPipelineConvention : IntegrationTestingPipelineConvention { public WeeklyIntegrationTestingPipelineConvention(ILogger logger, PipelineGenerati...
mit
C#
4e10d191756c505d48a56bcaa499954c17f7f0f1
Update default Max Body Size
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs
src/Microsoft.AspNetCore.ResponseCaching/ResponseCacheOptions.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel; using Microsoft.AspNetCore.ResponseCaching.Internal; namespace Microsoft.AspNetCore.Builder { public class ResponseCa...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.ComponentModel; using Microsoft.AspNetCore.ResponseCaching.Internal; namespace Microsoft.AspNetCore.Builder { public class ResponseCa...
apache-2.0
C#