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
02498f854e43b3a3dae84e1ea0f427cd26179758
Remove unnecessary comment and format file.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Modules/Verification/Exceptions/Exceptions.cs
src/NadekoBot/Modules/Verification/Exceptions/Exceptions.cs
using System; namespace Mitternacht.Modules.Verification.Exceptions { public class UserAlreadyVerifyingException : Exception { } public class UserAlreadyVerifiedException : Exception { } public class UserCannotVerifyException : Exception { } }
using System; namespace Mitternacht.Modules.Verification.Exceptions { public class UserAlreadyVerifyingException : Exception {} public class UserAlreadyVerifiedException : Exception {} public class UserCannotVerifyException : Exception { } //public class Exception : Exception { } }
mit
C#
cb58e89cf702df27b46eeaca73069f86efeed049
Document ContentPipe
izik1/JAGBE
JAGBE/UI/ContentPipe.cs
JAGBE/UI/ContentPipe.cs
using System.Drawing.Imaging; using System.Drawing; using OpenTK.Graphics.OpenGL; using System; namespace JAGBE.UI { /// <summary> /// This class contains functions to generate textures. /// </summary> internal static class ContentPipe { /// <summary> /// Generates a texture with t...
using System.Drawing.Imaging; using System.Drawing; using OpenTK.Graphics.OpenGL; using System; namespace JAGBE.UI { internal static class ContentPipe { public static Texture2D GenerateTexture(Bitmap bitmap, int width, int height) { int id = GL.GenTexture(); BitmapData ...
mit
C#
f20bfe7a554849d6d1fc762741e0fd4f084a4e07
Fix extra semicolon
johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,smoogipooo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu-new,smoogipoo/osu,EVAST9919/osu,ppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,ppy/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,johnneijzen/osu,smoogipoo/osu,2yangk23/osu
osu.Game/Screens/Edit/Timing/DifficultySection.cs
osu.Game/Screens/Edit/Timing/DifficultySection.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.Game.Beatmaps.ControlPoints; using osu.Game.Graphics.Sprites; namespace osu.Game.Screens.Edit.Timing { internal class Diffi...
// 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.Game.Beatmaps.ControlPoints; using osu.Game.Graphics.Sprites; namespace osu.Game.Screens.Edit.Timing { internal class Diffi...
mit
C#
a9dade13f828536ab6bee0b36582e321a075df0c
Add styles and scripts to admin Layout.
alastairs/cgowebsite,alastairs/cgowebsite
src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml
src/CGO.Web/Areas/Admin/Views/Shared/_Layout.cshtml
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/bootstrap.min.css") @Styles.Render("~/Content/bootstrap-responsive.min.css") @Styles.Render("~/bundles/font-awesome") ...
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width" /> <title>@ViewBag.Title</title> @Styles.Render("~/Content/bootstrap.min.css") </head> <body> <div> @RenderBody() </div> @RenderSection("Scripts", false) </bo...
mit
C#
15f9b1086572af6eb7ff3b0b42d6661c34dfb9b1
Add message parameter to XOr method
DaveSenn/Extend
PortableExtensions/PortableExtensions.ISpecification[T]/ISpecification.XOr.cs
PortableExtensions/PortableExtensions.ISpecification[T]/ISpecification.XOr.cs
#region Usings using System; using System.Collections.Generic; using System.Linq; #endregion namespace PortableExtensions { /// <summary> /// Class containing some extension methods for <see cref="ISpecification{T}"/>. /// </summary> public static partial class SpecificationEx { /// ...
#region Usings using System; using System.Collections.Generic; using System.Linq; #endregion namespace PortableExtensions { /// <summary> /// Class containing some extension methods for <see cref="ISpecification{T}"/>. /// </summary> public static partial class SpecificationEx { /// ...
mit
C#
dd006401b3d1bcbe41f56b907178ba4d42a691ae
Disable broken taiko hitsound fallback tests for now
UselessToucan/osu,smoogipooo/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,peppy/osu-new
osu.Game.Rulesets.Taiko.Tests/TestSceneTaikoHitObjectSamples.cs
osu.Game.Rulesets.Taiko.Tests/TestSceneTaikoHitObjectSamples.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.Reflection; using NUnit.Framework; using osu.Framework.IO.Stores; using osu.Game.Tests.Beatmaps; namespace osu.Game.Rulesets.Taiko.Tests { public class ...
// 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.Reflection; using NUnit.Framework; using osu.Framework.IO.Stores; using osu.Game.Tests.Beatmaps; namespace osu.Game.Rulesets.Taiko.Tests { public class ...
mit
C#
83c7bfcaf02d16d6804de899f15148dfd11197c3
Make internals visible to mysql lib.
jeroenpot/SqlHelper,mirabeau-nl/Mirabeau-Sql-Helper
Source/Mirabeau.Sql.Library/Properties/AssemblyInfo.cs
Source/Mirabeau.Sql.Library/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Resources; 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 ...
using System; using System.Reflection; using System.Resources; 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 ...
bsd-3-clause
C#
4aa4a758b061e73e47bd87989edb0a377bdc526b
Split tests by functional and non-functional
dariusz-wozniak/TddCourse
TddCourse.Tests.Unit/Part15/CustomerRepositoryTests.cs
TddCourse.Tests.Unit/Part15/CustomerRepositoryTests.cs
using FluentAssertions; using Moq; using NUnit.Framework; using TddCourse.CustomerExample; namespace TddCourse.Tests.Unit.Part15 { [TestFixture] public class CustomerRepositoryTests { [Test] public void WhenTryingToAddCustomerThatIsNotValidated_ThenCustomerIsNotAdded() { ...
using FluentAssertions; using Moq; using NUnit.Framework; using TddCourse.CustomerExample; namespace TddCourse.Tests.Unit.Part15 { [TestFixture] public class CustomerRepositoryTests { [Test] public void WhenTryingToAddCustomerThatIsNotValidated_ThenCustomerIsNotAdded() { ...
mit
C#
7a41c564375bab8354c308320ff98d2a5603f661
Put version info class under namespace.
soukoku/ModernWPF
VersionInfo.cs
VersionInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Yin-Chun Wang")] [assembly: AssemblyCopyright("Copyright © Yin-Chun Wang 2014")] [assembly: AssemblyVersion(ModernWPF._ModernWPFVersionString.Release)] [assembly: AssemblyFileVersion(ModernWPF._ModernWPFVersionString.Build)] [assembly: AssemblyInformationalVersion...
using System.Reflection; [assembly: AssemblyCompany("Yin-Chun Wang")] [assembly: AssemblyCopyright("Copyright © Yin-Chun Wang 2014")] [assembly: AssemblyVersion(_ModernWPFVersionString.Release)] [assembly: AssemblyFileVersion(_ModernWPFVersionString.Build)] [assembly: AssemblyInformationalVersion(_ModernWPFVersionSt...
mit
C#
c95cf57f0c855279e8cdcb276dcba993c48ca380
Fix RateCounter calculation.
Microsoft/ApplicationInsights-SDK-Labs
AggregateMetrics/AggregateMetrics/AzureWebApp/RateCounter.cs
AggregateMetrics/AggregateMetrics/AzureWebApp/RateCounter.cs
namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp { using System; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.Two; /// <summary> /// Struct for metrics dependant on time. /// </summary> ...
namespace Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.AzureWebApp { using System; using Microsoft.ApplicationInsights.DataContracts; using Microsoft.ApplicationInsights.Extensibility.AggregateMetrics.Two; /// <summary> /// Struct for metrics dependant on time. /// </summary> ...
mit
C#
2124e6bcf7b450084cf66f10c5333772d314f268
Revert "Logging has new overload for exceptions, use it"
tomkuijsten/vsjenkinsmanager
Devkoes.VSJenkinsManager/Devkoes.JenkinsManager.VSPackage/ExposedServices/VisualStudioWindowsHandler.cs
Devkoes.VSJenkinsManager/Devkoes.JenkinsManager.VSPackage/ExposedServices/VisualStudioWindowsHandler.cs
using Devkoes.JenkinsManager.Model.Contract; using Devkoes.JenkinsManager.UI; using Devkoes.JenkinsManager.UI.Views; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using System; namespace Devkoes.JenkinsManager.VSPackage.ExposedServices { public class VisualStudioWindowHandler : I...
using Devkoes.JenkinsManager.Model.Contract; using Devkoes.JenkinsManager.UI; using Devkoes.JenkinsManager.UI.Views; using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell.Interop; using System; namespace Devkoes.JenkinsManager.VSPackage.ExposedServices { public class VisualStudioWindowHandler : I...
mit
C#
03501cba71675425530b7a4f966675c0d445f5f6
Fix MagicBytes unit tests
patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity,patchkit-net/patchkit-patcher-unity
Assets/Editor/Tests/MagicBytesTest.cs
Assets/Editor/Tests/MagicBytesTest.cs
using NUnit.Framework; using PatchKit.Unity.Patcher.Data; public class MagicBytesTest { private string _macApp; private string _windowsApp; private string _linuxApp; [SetUp] public void SetUp() { _macApp = TestFixtures.GetFilePath("magicbytes-test/mac_app"); _windowsApp = TestF...
using NUnit.Framework; using PatchKit.Unity.Patcher.Data; public class MagicBytesTest { private readonly string _macApp = TestFixtures.GetFilePath("magicbytes-test/mac_app"); private readonly string _windowsApp = TestFixtures.GetFilePath("magicbytes-test/windows_app"); private readonly string _linuxApp = T...
mit
C#
218b57ccf3db2243bbf7fa44a9c7544e1b935bc8
Speed up alien start up positioning.
Elideb/PJEI
Assets/PJEI/Invaders/Scripts/Level.cs
Assets/PJEI/Invaders/Scripts/Level.cs
using UnityEngine; namespace PJEI.Invaders { public class Level : MonoBehaviour { public Alien[] lines; public int width = 11; public int pixelsBetweenAliens = 48; private Alien[] aliens; void Start() { StartCoroutine(InitGame()); } private S...
using UnityEngine; namespace PJEI.Invaders { public class Level : MonoBehaviour { public Alien[] lines; public int width = 11; public int pixelsBetweenAliens = 48; private Alien[] aliens; void Start() { StartCoroutine(InitGame()); } private S...
unlicense
C#
348286a19c4edba870b826f76a03e2f5c13d9a1f
Add test for Enterprise Connect Authorize User with enumerable string
cronofy/cronofy-csharp
test/Cronofy.Test/CronofyEnterpriseConnectAccountClientTests/AuthorizeUser.cs
test/Cronofy.Test/CronofyEnterpriseConnectAccountClientTests/AuthorizeUser.cs
using System; using NUnit.Framework; namespace Cronofy.Test.CronofyEnterpriseConnectAccountClientTests { internal sealed class AuthorizeUser : Base { [Test] public void CanAuthorizeUser() { const string email = "test@cronofy.com"; const string callbackUrl = "htt...
using System; using NUnit.Framework; namespace Cronofy.Test.CronofyEnterpriseConnectAccountClientTests { internal sealed class AuthorizeUser : Base { [Test] public void CanAuthorizeUser() { const string email = "test@cronofy.com"; const string callbackUrl = "htt...
mit
C#
9e34934395a77c5109a0c71a3f5b59161fee0063
use new guid.
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet
test/Microsoft.IdentityModel.Tokens.Extensions.Tests/KeyVaultSecurityKeyConfidentialClientTheoryData.cs
test/Microsoft.IdentityModel.Tokens.Extensions.Tests/KeyVaultSecurityKeyConfidentialClientTheoryData.cs
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated do...
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated do...
mit
C#
c4002eda94412e4c6cbb1a8a7b3a8e832d784e0b
handle uppercase file extensions
milleniumbug/Taxonomy
TaxonomyWpf/FilePreview.xaml.cs
TaxonomyWpf/FilePreview.xaml.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using ...
mit
C#
1d445e45032f598d2ac57db2965e604f513b197e
Reorder services configuration in Startup
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/AtomicChessPuzzles/Startup.cs
src/AtomicChessPuzzles/Startup.cs
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.DependencyInjection; using AtomicChessPuzzles.Configuration; using AtomicChessPuzzles.DbRepositories; using AtomicChessPuzzles.MemoryRepositories; using AtomicChessPuzzles.Services; namespace AtomicChessPuzzles { public cla...
using Microsoft.AspNet.Builder; using Microsoft.AspNet.Hosting; using Microsoft.Extensions.DependencyInjection; using AtomicChessPuzzles.Configuration; using AtomicChessPuzzles.DbRepositories; using AtomicChessPuzzles.MemoryRepositories; using AtomicChessPuzzles.Services; namespace AtomicChessPuzzles { public cla...
agpl-3.0
C#
8861c42e6b1cbc33833c93b28b9c1f644af5edc6
Fix for logging issue, due to a new() vs new LogSource()
dapplo/Dapplo.Jira
src/Dapplo.Jira.Tests/TestBase.cs
src/Dapplo.Jira.Tests/TestBase.cs
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using System.Threading; using Dapplo.HttpExtensions; using Dapplo.HttpExtensions.ContentConverter; using Dapplo....
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Globalization; using System.Threading; using Dapplo.HttpExtensions; using Dapplo.HttpExtensions.ContentConverter; using Dapplo....
mit
C#
74b2d74b955044e6f7978262b17366dbcf72382e
fix null in set hashcode
splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net
IPTables.Net/Iptables/IpTablesChainDetailEquality.cs
IPTables.Net/Iptables/IpTablesChainDetailEquality.cs
using System; using System.Collections.Generic; using System.Text; namespace IPTables.Net.Iptables { public class IpTablesChainDetailEquality : IEqualityComparer<IpTablesChain> { public bool Equals(IpTablesChain x, IpTablesChain y) { if (x == y) return true; if (x == nu...
using System; using System.Collections.Generic; using System.Text; namespace IPTables.Net.Iptables { public class IpTablesChainDetailEquality : IEqualityComparer<IpTablesChain> { public bool Equals(IpTablesChain x, IpTablesChain y) { if (x == y) return true; if (x == nu...
apache-2.0
C#
46da3523d090ed3f99c44e9c755ac5e1cbb5c94b
update TextChannelProperties to 6-hour slow mode
AntiTcb/Discord.Net,RogueException/Discord.Net
src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs
src/Discord.Net.Core/Entities/Channels/TextChannelProperties.cs
using System; namespace Discord { /// <summary> /// Provides properties that are used to modify an <see cref="ITextChannel"/> with the specified changes. /// </summary> /// <seealso cref="ITextChannel.ModifyAsync(System.Action{TextChannelProperties}, RequestOptions)"/> public class TextChannelP...
using System; namespace Discord { /// <summary> /// Provides properties that are used to modify an <see cref="ITextChannel"/> with the specified changes. /// </summary> /// <seealso cref="ITextChannel.ModifyAsync(System.Action{TextChannelProperties}, RequestOptions)"/> public class TextChannelP...
mit
C#
fc6e7b4c5369bf296fd7026567dd67e4aaa3baa2
Use lookup before registering serializer
SRoddis/Mongo.Migration
Mongo.Migration/Services/MongoDB/MongoRegistrator.cs
Mongo.Migration/Services/MongoDB/MongoRegistrator.cs
using System; using Mongo.Migration.Documents; using Mongo.Migration.Documents.Serializers; using Mongo.Migration.Services.Interceptors; using MongoDB.Bson; using MongoDB.Bson.Serialization; namespace Mongo.Migration.Services.MongoDB { internal class MongoRegistrator : IMongoRegistrator { private read...
using System; using Mongo.Migration.Documents; using Mongo.Migration.Documents.Serializers; using Mongo.Migration.Services.Interceptors; using MongoDB.Bson; using MongoDB.Bson.Serialization; namespace Mongo.Migration.Services.MongoDB { internal class MongoRegistrator : IMongoRegistrator { private read...
mit
C#
a7a62b289e4886aab967e8f9547cc4d8d1c82628
Return null
SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities
DataStructures/DefaultDict.cs
DataStructures/DefaultDict.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamSeifert.Utilities.DataStructures { /// <summary> /// Regular dictionary, except it has a default value. /// </summary> public class DefaultDict<TKey, TValue> : Dictionary<TK...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SamSeifert.Utilities.DataStructures { /// <summary> /// Regular dictionary, except it has a default value. /// </summary> public class DefaultDict<TKey, TValue> : Dictionary<TK...
mit
C#
a254740882655baf7da46dff854b58ae30409123
Update AssemblyInfo.cs
GHPReporter/Ghpr.NUnit
Ghpr.NUnit/Properties/AssemblyInfo.cs
Ghpr.NUnit/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("Ghpr.NUnit")] [assembly: AssemblyDescript...
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("Ghpr.NUnit")] [assembly: AssemblyDescript...
mit
C#
5cdd7806d0de6049e26c9276c6311dea36b98595
Fix problem with image adapter when an item has empty standard values.
galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc,galtrold/propeller.mvc
src/Framework/PropellerMvcModel/Adapters/Image.cs
src/Framework/PropellerMvcModel/Adapters/Image.cs
using Sitecore; using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Data.Items; namespace Propeller.Mvc.Model.Adapters { public class Image : IFieldAdapter { public string Url { get; set; } public string Alt { get; set; } public void InitAdapter(Item item, ID propId) ...
using Sitecore.Data; using Sitecore.Data.Fields; using Sitecore.Data.Items; namespace Propeller.Mvc.Model.Adapters { public class Image : IFieldAdapter { public string Url { get; set; } public string Alt { get; set; } public void InitAdapter(Item item, ID propId) { ...
mit
C#
5283e05062e4be37c8e973d757417a5c130170dd
Implement Serialize method on ReadSingleOrEnumerableFormatter
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/CommonAbstractions/SerializationBehavior/GenericJsonConverters/ReadSingleOrEnumerableFormatter.cs
src/Nest/CommonAbstractions/SerializationBehavior/GenericJsonConverters/ReadSingleOrEnumerableFormatter.cs
using System; using System.Collections.Generic; using System.Linq; using Utf8Json; namespace Nest { internal class ReadSingleOrEnumerableFormatter<T> : IJsonFormatter<IEnumerable<T>> { public IEnumerable<T> Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver) { var token = reader.GetCu...
using System; using System.Collections.Generic; using Utf8Json; namespace Nest { internal class ReadSingleOrEnumerableFormatter<T> : IJsonFormatter<IEnumerable<T>> { public IEnumerable<T> Deserialize(ref JsonReader reader, IJsonFormatterResolver formatterResolver) { var token = reader.GetCurrentJsonToken(); ...
apache-2.0
C#
dadc20427695b1f87e0fd05586b95a5f36ae16c4
Remove Parse(Uri) overload.
GetTabster/Tabster
Tabster.Core/Parsing/IWebTabParser.cs
Tabster.Core/Parsing/IWebTabParser.cs
#region using System; #endregion namespace Tabster.Core.Parsing { /// <summary> /// Web-based tab parser. /// </summary> public interface IWebTabParser : IStringTabParser { ///<summary> /// Determines whether a specified URL matches a specific pattern used by the ...
#region using System; using Tabster.Core.Data; using Tabster.Core.Types; #endregion namespace Tabster.Core.Parsing { /// <summary> /// Web-based tab parser. /// </summary> public interface IWebTabParser : IStringTabParser { /// <summary> /// Parses tab from URL...
apache-2.0
C#
f48d6a23508dfe89899c6f2aa6b62f83d1c726bc
Fix for B2C
mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/_ViewImports.cshtml
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/StarterWeb-CSharp/Views/_ViewImports.cshtml
@*#if (IndividualLocalAuth) @using Microsoft.AspNetCore.Identity #endif*@ @using Company.WebApplication1 @using Company.WebApplication1.Models @*#if (IndividualLocalAuth) @using Company.WebApplication1.Models.AccountViewModels @using Company.WebApplication1.Models.ManageViewModels #endif*@ @addTagHelper *, Microsoft.A...
@*#if (IndividualAuth) @using Microsoft.AspNetCore.Identity #endif*@ @using Company.WebApplication1 @using Company.WebApplication1.Models @*#if (IndividualAuth) @using Company.WebApplication1.Models.AccountViewModels @using Company.WebApplication1.Models.ManageViewModels #endif*@ @addTagHelper *, Microsoft.AspNetCore....
mit
C#
d3c11ed9c18f821617871ff8f66f9049daa21ca6
Update WallFilter description
vknet/vk,vknet/vk
VkNet/Enums/SafetyEnums/WallFilter.cs
VkNet/Enums/SafetyEnums/WallFilter.cs
using VkNet.Utils; namespace VkNet.Enums.SafetyEnums { /// <summary> /// Фильтр для задания типов сообщений, которые необходимо получить со стены. /// </summary> public sealed class WallFilter : SafetyEnum<WallFilter> { /// <summary> /// Необходимо получить сообщения на стене только от ее владельца. /// </s...
using VkNet.Utils; namespace VkNet.Enums.SafetyEnums { /// <summary> /// Фильтр для задания типов сообщений, которые необходимо получить со стены. /// </summary> public sealed class WallFilter : SafetyEnum<WallFilter> { /// <summary> /// Необходимо получить сообщения на стене только от ее владельца. /// </...
mit
C#
6aaf7dbe7e025f8df8c61feeffae83b9d183ed34
Bump commit
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
XPlat/ExposureNotification/build.cake
XPlat/ExposureNotification/build.cake
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "a44c9b6646195a3d3089220e79ffcbed3d18b94c"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.1.0-beta1"; Task("externals") .Do...
var TARGET = Argument("t", Argument("target", "ci")); var SRC_COMMIT = "ac5614ee1c7438c06a04d2c96fa451b00ecad408"; var SRC_URL = $"https://github.com/xamarin/xamarin.exposurenotification/archive/{SRC_COMMIT}.zip"; var OUTPUT_PATH = (DirectoryPath)"./output/"; var NUGET_VERSION = "0.1.0-beta1"; Task("externals") .Do...
mit
C#
d8563ad22da1849561815c9107fab2b30da456b0
Update Assets/MRTK/SDK/Experimental/PulseShader/Scripts/HideOnDevice.cs
killerantz/HoloToolkit-Unity,DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity
Assets/MRTK/SDK/Experimental/PulseShader/Scripts/HideOnDevice.cs
Assets/MRTK/SDK/Experimental/PulseShader/Scripts/HideOnDevice.cs
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections; using System.Collections.Generic; using UnityEngine; public class HideOnDevice : MonoBehaviour { // Start is called before the first frame update void Start() { #if !UNITY_EDITOR gameObject.SetActiv...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class HideOnDevice : MonoBehaviour { // Start is called before the first frame update void Start() { #if !UNITY_EDITOR gameObject.SetActive(false); #endif } }
mit
C#
f5f166e4fc4a79d870dd07e724556ea5c86a362b
Update Obs.cs
ADAPT/ADAPT
source/ADAPT/Documents/Obs.cs
source/ADAPT/Documents/Obs.cs
/******************************************************************************* * Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
/******************************************************************************* * Copyright (C) 2019 AgGateway; PAIL and ADAPT Contributors * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
epl-1.0
C#
107b91586670c78ca70370a1008ff024adaeb4b3
Test [Edit] on NakedObjects as a contributed action
NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework
Test/AdventureWorksModel/Sales/SpecialOfferContributedActions.cs
Test/AdventureWorksModel/Sales/SpecialOfferContributedActions.cs
using System; using System.Linq; using NakedObjects; namespace AdventureWorksModel.Sales { public class SpecialOfferContributedActions { public void ExtendOffers([ContributedAction] IQueryable<SpecialOffer> offers, DateTime toDate) { foreach (SpecialOffer offer in offers) ...
using System; using System.Linq; using NakedObjects; namespace AdventureWorksModel.Sales { public class SpecialOfferContributedActions { public void ExtendOffers([ContributedAction] IQueryable<SpecialOffer> offers, DateTime toDate) { foreach (SpecialOffer offer in offers) ...
apache-2.0
C#
5a349f58c39a4a8045358f451004890582ca1db2
fix bug can't shoot barrel edit
LNWPOR/HamsterRushVR-Client
Assets/Scripts/GameManager.cs
Assets/Scripts/GameManager.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public string URL = "http://localhost:8000"; public PlayerData playerData; public int characterType; private static GameManager _instance; public static GameManager Instance ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public string URL = "http://localhost:8000"; public PlayerData playerData; public int characterType; private static GameManager _instance; public static GameManager Instance ...
mit
C#
c16babaf9cd136a302515dec4e6d590cf61f8692
fix bug score
ifgx/rtm-phase2
Assets/scripts/hero/Wizard.cs
Assets/scripts/hero/Wizard.cs
using UnityEngine; using System.Collections; /** * @author HugoLS * @version 1.0 **/ public class Wizard : Hero { float specialCapacityCooldown = 30.0f; float specialCapacityTimer = 5.0f; float shieldSize = 0.0f; public float fireBallDiameter = 0.6f; // Use this for initialization void Start () { gameObjec...
using UnityEngine; using System.Collections; /** * @author HugoLS * @version 1.0 **/ public class Wizard : Hero { float specialCapacityCooldown = 30.0f; float specialCapacityTimer = 5.0f; float shieldSize = 0.0f; public float fireBallDiameter = 0.6f; // Use this for initialization void Start () { gameObjec...
cc0-1.0
C#
1a4c37088da5ed7aa3a96b1ab706a41582b0022f
Revert "Added to ImplementTypeEnum. --Signed-off-by Scott Straka <strakascotte@johndeere.com>"
tarakreddy/ADAPT,ADAPT/ADAPT
source/ADAPT/Equipment/ImplementTypeEnum.cs
source/ADAPT/Equipment/ImplementTypeEnum.cs
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0...
/******************************************************************************* * Copyright (C) 2015 AgGateway and ADAPT Contributors * Copyright (C) 2015 Deere and Company * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License ...
epl-1.0
C#
cbbc1cb30e5f70138a2e6c8f439a45b9fd6ef92b
Delete [Display](all work's without it), fix Date format in Create
DevRainSolutions/asp-net-mvc-localization,DevRainSolutions/asp-net-mvc-localization,DevRainSolutions/asp-net-mvc-localization
asp-net-mvc-localization/asp-net-mvc-localization/Models/User.cs
asp-net-mvc-localization/asp-net-mvc-localization/Models/User.cs
using System.ComponentModel.DataAnnotations; using System; using asp_net_mvc_localization.Utils; using Newtonsoft.Json.Serialization; namespace asp_net_mvc_localization.Models { public class User { [Required] public string Username { get; set; } [Required] [MyEmailAddress] ...
using System.ComponentModel.DataAnnotations; using System; using asp_net_mvc_localization.Utils; using Newtonsoft.Json.Serialization; namespace asp_net_mvc_localization.Models { public class User { [Required] public string Username { get; set; } [Display] [Required] [M...
mit
C#
8d7803a7bcdfea154436893e218c0707d74ec166
Fix linebreaks
OpenStreamDeck/StreamDeckSharp
src/StreamDeckSharp/DeviceInfo.cs
src/StreamDeckSharp/DeviceInfo.cs
using HidLibrary; using OpenMacroBoard.SDK; namespace StreamDeckSharp { /// <summary> /// Device information about Stream Deck /// </summary> public class DeviceRefereceHandle : IStreamDeckRefHandle { internal DeviceRefereceHandle(string devicePath) : this(devicePath, null) ...
using HidLibrary; using OpenMacroBoard.SDK; namespace StreamDeckSharp { /// <summary> /// Device information about Stream Deck /// </summary> public class DeviceRefereceHandle : IStreamDeckRefHandle { internal DeviceRefereceHandle(string devicePath) : this(devicePath, null) ...
mit
C#
8e39a188e3fb550acaf2239110459ec76c37abcb
Test window spans larger than input
robkeim/xcsharp,robkeim/xcsharp,ErikSchierboom/xcsharp,GKotfis/csharp,exercism/xcsharp,GKotfis/csharp,ErikSchierboom/xcsharp,exercism/xcsharp
exercises/largest-series-product/LargestSeriesProductTest.cs
exercises/largest-series-product/LargestSeriesProductTest.cs
using System; using NUnit.Framework; [TestFixture] public class LargestSeriesProductTest { [TestCase("01234567890", 2, ExpectedResult = 72)] [TestCase("1027839564", 3, ExpectedResult = 270)] public int Gets_the_largest_product(string digits, int seriesLength) { return new LargestSerie...
using System; using NUnit.Framework; [TestFixture] public class LargestSeriesProductTest { [TestCase("01234567890", 2, ExpectedResult = 72)] [TestCase("1027839564", 3, ExpectedResult = 270)] public int Gets_the_largest_product(string digits, int seriesLength) { return new LargestSerie...
mit
C#
eb77b07ff6fde0436cd32615816f16b05744f781
Remove environment variable
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
test/LocalizationWebsite/Program.cs
test/LocalizationWebsite/Program.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 Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace LocalizationWebsite { public static class Program { ...
// 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 Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; namespace LocalizationWebsite { public static class Program { ...
apache-2.0
C#
fe9c9bd49a9e5b609d02f97dc33963848d208c68
Fix build error from the last commit
couchbase/couchbase-lite-net,couchbase/couchbase-lite-net,couchbase/couchbase-lite-net
src/Couchbase.Lite.Support.UWP/Support/Reachability.cs
src/Couchbase.Lite.Support.UWP/Support/Reachability.cs
// // Reachability.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //...
// // Reachability.cs // // Copyright (c) 2017 Couchbase, Inc All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 //...
apache-2.0
C#
bdd2a7be0fcf339971ddbe16706e7cd44caf9cc2
Fix for #338 - StackOverflowException in AppiumOptions.ToDictionary() (#346)
appium/appium-dotnet-driver
src/Appium.Net/Appium/AppiumCapabilities.cs
src/Appium.Net/Appium/AppiumCapabilities.cs
using System.Collections.Generic; using System.Reflection; using OpenQA.Selenium.Remote; namespace OpenQA.Selenium.Appium { /// <summary> /// Appium capabilities /// </summary> public class AppiumCapabilities : DesiredCapabilities { /// <summary> /// Get the capabilities back as a ...
using OpenQA.Selenium.Remote; using System; using System.Collections.Generic; namespace OpenQA.Selenium.Appium { /// <summary> /// Appium capabilities /// </summary> public class AppiumCapabilities : DesiredCapabilities { /// <summary> /// Get the capabilities back as a dictionary ...
apache-2.0
C#
a721074827c1ef179ea77bece64539fb375ddf4e
Add IsBroadcaster property to ChatStatus
damagefilter/damagebot4twitch
DamageLib/Users/ChatStatus.cs
DamageLib/Users/ChatStatus.cs
namespace DamageBot.Users { /// <summary> /// Contains information about the last messages chat status. /// Since it is sent through twitch on every message it would appear /// to make no sense to store it anywhere. /// Also, while you CAN change the values here it's actually read-only. /// This...
namespace DamageBot.Users { /// <summary> /// Contains information about the last messages chat status. /// Since it is sent through twitch on every message it would appear /// to make no sense to store it anywhere. /// </summary> public struct ChatStatus { /// <summary> ...
mit
C#
81361593ac5e8a2a9bdd8769d817dc91c6c5455e
Fix feed url for @ghuntley (#358)
planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin
src/Firehose.Web/Authors/GeoffreyHuntley.cs
src/Firehose.Web/Authors/GeoffreyHuntley.cs
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class GeoffreyHuntley : IAmAMicrosoftMVP, IAmAXamarinMVP { public string FirstName => "Geoffrey"; public string LastName => "Huntley"; public string ShortBioOrTagL...
using System; using System.Collections.Generic; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class GeoffreyHuntley : IAmAMicrosoftMVP, IAmAXamarinMVP { public string FirstName => "Geoffrey"; public string LastName => "Huntley"; public string ShortBioOrTagL...
mit
C#
913d30885f3a079da6a617e9404b4ad0b7872864
Update MichaelMilitoni.cs
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/MichaelMilitoni.cs
src/Firehose.Web/Authors/MichaelMilitoni.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class MichaelMilitoni : IAmACommunityMember { public string FirstName => "Michael" public string...
mit
C#
c1a7e8cac9b3d6ffd3028ffa20b2586b0a14cc5e
Fix Add Pos
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestionePOS/InsertPos/AddPosCommandHandler.cs
src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestionePOS/InsertPos/AddPosCommandHandler.cs
//----------------------------------------------------------------------- // <copyright file="AddPosCommandHandler.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public...
//----------------------------------------------------------------------- // <copyright file="AddPosCommandHandler.cs" company="CNVVF"> // Copyright (C) 2017 - CNVVF // // This file is part of SOVVF. // SOVVF is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public...
agpl-3.0
C#
2a94d1b85e6e1f4a62be731d7bace5833fd62813
Fix TeamCity shortcoming: when a branch is called "develop" or "master", it is considered a default branch. Possible future improvement: make this configurable per view and per tile.
amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre,amoerie/teamcity-theatre
src/TeamCityTheatre.Core/Client/Mappers/BuildMapper.cs
src/TeamCityTheatre.Core/Client/Mappers/BuildMapper.cs
using System; using System.Collections.Generic; using System.Linq; using TeamCityTheatre.Core.Client.Responses; using TeamCityTheatre.Core.Models; namespace TeamCityTheatre.Core.Client.Mappers { public class BuildMapper : IBuildMapper { readonly IAgentMapper _agentMapper; readonly IBuildStatusMapper _buildS...
using System; using System.Collections.Generic; using System.Linq; using TeamCityTheatre.Core.Client.Responses; using TeamCityTheatre.Core.Models; namespace TeamCityTheatre.Core.Client.Mappers { public class BuildMapper : IBuildMapper { readonly IAgentMapper _agentMapper; readonly IBuildStatusMapper _buildS...
mit
C#
2e866ce0fed74b9936aae44b51ad21fca7a9fe15
Implement SynchronousIOManager.GetFiles
Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Host/Core/SynchronousIOManager.cs
src/Tgstation.Server.Host/Core/SynchronousIOManager.cs
using System; using System.Collections.Generic; using System.IO; using System.Threading; namespace Tgstation.Server.Host.Core { /// <inheritdoc /> sealed class SynchronousIOManager : ISynchronousIOManager { /// <inheritdoc /> public IEnumerable<string> GetDirectories(string path, CancellationToken cancellation...
using System; using System.Collections.Generic; using System.IO; using System.Threading; namespace Tgstation.Server.Host.Core { /// <inheritdoc /> sealed class SynchronousIOManager : ISynchronousIOManager { /// <inheritdoc /> public IEnumerable<string> GetDirectories(string path, CancellationToken cancellation...
agpl-3.0
C#
826be4f70c8cdb94b90d16cfa9552fc19275c94c
Apply PR #69 from andreabalducci that was sent to WebAPIContrib.
WebApiContrib/WebApiContrib.IoC.CastleWindsor,modulexcite/WebApiContrib.IoC.CastleWindsor,kalyanraman/WebApiContrib.IoC.CastleWindsor,WebApiContrib/WebApiContrib.IoC.CastleWindsor
src/WebApiContrib.IoC.CastleWindsor/WindsorResolver.cs
src/WebApiContrib.IoC.CastleWindsor/WindsorResolver.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http.Dependencies; using Castle.Windsor; namespace WebApiContrib.IoC.CastleWindsor { public class WindsorDependencyScope : IDependencyScope { private IWindsorContainer container; public WindsorDependencyScope(...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http.Dependencies; using Castle.Windsor; namespace WebApiContrib.IoC.CastleWindsor { public class WindsorDependencyScope : IDependencyScope { private IWindsorContainer container; public WindsorDependencyScope(...
mit
C#
96d41d9027eaa3f0460a69ddc9de6161256f83aa
Change description of assembly
paralleltree/Scallion.Tools
vmdscale/Properties/AssemblyInfo.cs
vmdscale/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("vmdscale")] [assembly: AssemblyDescription("scale a vmd file and write to a file")] [assembly: AssemblyCompany("paltee.net")] [assembly: AssemblyProduct("vmdscale")] [assembly: AssemblyCopyr...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("vmdscale")] [assembly: AssemblyDescription("scale vmd files and output to a file")] [assembly: AssemblyCompany("paltee.net")] [assembly: AssemblyProduct("vmdscale")] [assembly: AssemblyCopyr...
mit
C#
500be44ffa3a899593fde0d5d665b55aa71fe5c1
Move config
DarkIrata/WinCommandPalette
WinCommandPalette/App.xaml.cs
WinCommandPalette/App.xaml.cs
using System; using System.Diagnostics; using System.IO; using System.Windows; using WinCommandPalette.Helper; using WinCommandPalette.PluginSystem; using WinCommandPalette.Views; namespace WinCommandPalette { /// <summary> /// Interaktionslogik für "App.xaml" /// </summary> public partia...
using System.Diagnostics; using System.IO; using System.Windows; using WinCommandPalette.Helper; using WinCommandPalette.PluginSystem; using WinCommandPalette.Views; namespace WinCommandPalette { /// <summary> /// Interaktionslogik für "App.xaml" /// </summary> public partial class App : A...
mit
C#
5058b55784582041a1a13070408724e440bdea4b
Change in comment oonly.
bar-and-c/bubbles
GameObjectTemplateSelector.cs
GameObjectTemplateSelector.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Bubbles { public class GameObjectTemplateSelector : DataTemplateSelector { // TODO: Add/remove DataTemplate properties as...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace Bubbles { public class GameObjectTemplateSelector : DataTemplateSelector { // TODO: Change these names! Add/remove DataTe...
mit
C#
391057ba2847f8ebf39f1dd348ccf20ad5dcdfa1
Comment updated
alvivar/Hasten
Gigas/EntitySet.cs
Gigas/EntitySet.cs
// This file is auto-generated. Modifications won't be saved, be cool. // EntitySet is a static database of GameObjects (Entities) and MonoBehaviour // classes (Components). Check out 'Femto.cs' for more information about the // code generated. // Refresh with the menu item 'Tools/Gigas/Generate EntitySet.cs' public...
// This file is auto-generated. Modifications won't be saved, be cool. // EntitySet is a static database of MonoBehaviour classes that are considered a // Entity, classes with '// !Gigas' somewhere in their file. // Refresh with the menu item 'Tools/Gigas/Generate EntitySet.cs' public static class EntitySet { }
mit
C#
54a1aa921fafa23ac2750027ce83e11184eaf3ba
Remove useless method.
ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton,ZooPin/CK-Glouton
src/CK.Glouton.Lucene/LuceneConstant.cs
src/CK.Glouton.Lucene/LuceneConstant.cs
using System; using System.IO; namespace CK.Glouton.Lucene { public class LuceneConstant { internal const int MaxSearch = 10; /// <summary> /// Test in the directory of the indexer. /// On windows in appdata, in other os in home. /// If he doesn't find anything create ...
using System; using System.IO; namespace CK.Glouton.Lucene { public class LuceneConstant { internal const int MaxSearch = 10; /// <summary> /// Test in the directory of the indexer. /// On windows in appdata, in other os in home. /// If he doesn't find anything create ...
mit
C#
6c5036207646662f723b7185dc8ad85c75d6c348
Add statusline logdebug exception
nopara73/DotNetTor
src/DotNetTor/Http/Models/StatusLine.cs
src/DotNetTor/Http/Models/StatusLine.cs
using System; using static DotNetTor.Http.Constants; using System.Net; using DotNetEssentials.Logging; namespace DotNetTor.Http.Models { public class StatusLine : StartLine { public HttpStatusCode StatusCode { get; private set; } public StatusLine(HttpProtocol protocol, HttpStatusCode status) { Protocol =...
using System; using static DotNetTor.Http.Constants; using System.Net; namespace DotNetTor.Http.Models { public class StatusLine : StartLine { public HttpStatusCode StatusCode { get; private set; } public StatusLine(HttpProtocol protocol, HttpStatusCode status) { Protocol = protocol; StatusCode = statu...
mit
C#
494d198df0494281d391fed24462e15cf0bb6d75
Test code
aidka011/apmathcloudaida
site/index.cshtml
site/index.cshtml
@{ var txt = "fdsjfl"; } <html> <body> <p>The dateTime is @txt</p> </body> </html>
@{ var txt = DateTime.Now; } <html> <body> <p>The dateTime is @txt</p> </body> </html>
mit
C#
4b7ab15a8ce4dd62d5b87c38a1df57e80aba3a65
remove required setter for IDomainObject.ID to allow for better Record type support
ahanusa/Peasy.NET,ahanusa/facile.net,peasy/Peasy.NET
src/Peasy/IDomainObject.cs
src/Peasy/IDomainObject.cs
namespace Peasy { /// <summary> /// A marker interface that represents a domain object or resource. /// </summary> public interface IDomainObject { } /// <summary> /// Represents a domain object or resource. /// </summary> /// <typeparam name="TKey">Represents an identifier for a domai...
namespace Peasy { /// <summary> /// A marker interface that represents a domain object or resource. /// </summary> public interface IDomainObject { } /// <summary> /// Represents a domain object or resource. /// </summary> /// <typeparam name="TKey">Represents an identifier for a domai...
mit
C#
17fe39607092d287b4489f3f13287ae66bdc310e
Add accumulated cost into SummaryData
nfleet/.net-sdk
NFleetSDK/Data/SummaryData.cs
NFleetSDK/Data/SummaryData.cs
 namespace NFleet.Data { public class SummaryData { public double TravelDistanceSum { get; set; } public double WorkingTimeSum { get; set; } public int TotalTaskCount { get; set; } public int PlannedTaskCount { get; set; } public int TotalVehicleCount { get; set; } ...
 namespace NFleet.Data { public class SummaryData { public double TravelDistanceSum { get; set; } public double WorkingTimeSum { get; set; } public int TotalTaskCount { get; set; } public int PlannedTaskCount { get; set; } public int TotalVehicleCount { get; set; } ...
mit
C#
39664ac0979780fef4f02357290066902b9adf37
test commit to master
bytePassion/OpenQuoridorFramework
OpenQuoridorFramework/OQF.PlayerVsBot.Visualization/ViewModels/BoardPlacement/BoardPlacementViewModelSampleData.cs
OpenQuoridorFramework/OQF.PlayerVsBot.Visualization/ViewModels/BoardPlacement/BoardPlacementViewModelSampleData.cs
using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows.Input; using Lib.SemanicTypes; using OQF.Bot.Contracts.Coordination; using OQF.Bot.Contracts.GameElements; #pragma warning disable 0067 namespace OQF.PlayerVsBot.Visualization.ViewModels.BoardPlacement { internal class BoardPlac...
using System.Collections.ObjectModel; using System.ComponentModel; using System.Windows.Input; using Lib.SemanicTypes; using OQF.Bot.Contracts.Coordination; using OQF.Bot.Contracts.GameElements; #pragma warning disable 0067 namespace OQF.PlayerVsBot.Visualization.ViewModels.BoardPlacement { internal class BoardPlac...
apache-2.0
C#
07ab2ddcc0dec9a8d1870aea60aa444769593c91
save input manager
tim-hub/TiminesSweeper-3D-
Assets/_Scripts/InputManager.cs
Assets/_Scripts/InputManager.cs
using UnityEngine; using System.Collections; public class InputManager : MonoBehaviour { public GameObject ParentObject; public float Speed=3f; //move speed //fild of view public float MinFov=15f; public float MaxFov=90f; public float SensitivityFox=10f; private...
using UnityEngine; using System.Collections; public class InputManager : MonoBehaviour { public GameObject ParentObject; public float Speed=3f; //move speed public float RotateSpeed=3f; //rotate speed public float SwipeThreshold=50f; //fild of view public float MinFov=15f; pub...
epl-1.0
C#
2b8ade5615560cad060d1c5a197c680bdf21f948
Support 404 url suggestions for /rooms/xyz in addition to /xyz.
timgranstrom/JabbR,e10/JabbR,JabbR/JabbR,borisyankov/JabbR,18098924759/JabbR,yadyn/JabbR,SonOfSam/JabbR,SonOfSam/JabbR,M-Zuber/JabbR,M-Zuber/JabbR,18098924759/JabbR,borisyankov/JabbR,ajayanandgit/JabbR,yadyn/JabbR,mzdv/JabbR,borisyankov/JabbR,timgranstrom/JabbR,mzdv/JabbR,e10/JabbR,JabbR/JabbR,ajayanandgit/JabbR,yadyn/...
JabbR/Nancy/ErrorPageHandler.cs
JabbR/Nancy/ErrorPageHandler.cs
using System.Text.RegularExpressions; using JabbR.Services; using Nancy; using Nancy.ErrorHandling; using Nancy.ViewEngines; namespace JabbR.Nancy { public class ErrorPageHandler : DefaultViewRenderer, IStatusCodeHandler { private readonly IJabbrRepository _repository; public ErrorPageHandl...
using System.Linq; using JabbR.Services; using Nancy; using Nancy.ErrorHandling; using Nancy.ViewEngines; namespace JabbR.Nancy { public class ErrorPageHandler : DefaultViewRenderer, IStatusCodeHandler { private readonly IJabbrRepository _repository; public ErrorPageHandler(IViewFactory fac...
mit
C#
9678bee214e1c004915dffffcb0045eafbfc9623
fix the argument type of Component.Inspect() extend method.
hecomi/uREPL
Assets/uREPL/Scripts/Core/Utility.cs
Assets/uREPL/Scripts/Core/Utility.cs
using UnityEngine; using System.Reflection; using System.Linq; namespace uREPL { static public class Utility { static public string GetPath(this Transform tform) { if (tform.parent == null) { return "/" + tform.name; } return tform.parent.GetPath() + "/" + tform.name; } static public GameObject[] GetAl...
using UnityEngine; using System.Reflection; using System.Linq; namespace uREPL { static public class Utility { static public string GetPath(this Transform tform) { if (tform.parent == null) { return "/" + tform.name; } return tform.parent.GetPath() + "/" + tform.name; } static public GameObject[] GetAl...
mit
C#
1c898b398d29371fbab00ef17c9c550326592075
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> @*<h2 style="color: blue">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</h2>*@ <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Science...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> @*<h2 style="color: blue">PLEASE NOTE: The Analytical Lab will be closed on July 4th and 5th.</h2>*@ <p class="lead">The UC Davis Analytical Laboratory is a core support facility of the UC Davis College of Agriculture and Environmental Science...
mit
C#
c2f4e0d1ccc39d68fd608f3f83f955c0b83a6aea
Update Index.cshtml
ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab
Anlab.Mvc/Views/Home/Index.cshtml
Anlab.Mvc/Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> <h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 10 weeks.</h3> <strong> We ...
@{ ViewData["Title"] = "Home Page"; } <div class="col-8"> <div class="alert alert-info"> <button type="button" class="close" data-dismiss="alert">×</button> <h3>The lab is experiencing much longer turnarounds than normal. Most tests are subject to at least 6 - 8 weeks.</h3> <strong> ...
mit
C#
52126522dbf3ad96e1724b7d72a14101efb0d461
FIX IsPalindrome() to not accept whitespace input
martinlindhe/Punku
punku/Extensions/StringExtensions.cs
punku/Extensions/StringExtensions.cs
using System; using System.Text; using Punku; public static class StringExtensions { /** * repeat the string count times */ public static string Repeat (this string input, int count) { var builder = new StringBuilder ((input == null ? 0 : input.Length) * count); for (int i = 0; i < count; i++) builder....
using System; using System.Text; using Punku; public static class StringExtensions { /** * repeat the string count times */ public static string Repeat (this string input, int count) { var builder = new StringBuilder ((input == null ? 0 : input.Length) * count); for (int i = 0; i < count; i++) builder....
mit
C#
8029dc421d1e04725b4f9b229b9c1e8c16c5500b
Fix typo on CultureView-de-De in Localization Demo
jmptrader/Nancy,VQComms/Nancy,anton-gogolev/Nancy,damianh/Nancy,sloncho/Nancy,danbarua/Nancy,AlexPuiu/Nancy,nicklv/Nancy,jeff-pang/Nancy,grumpydev/Nancy,ccellar/Nancy,malikdiarra/Nancy,joebuschmann/Nancy,sloncho/Nancy,murador/Nancy,EIrwin/Nancy,hitesh97/Nancy,sadiqhirani/Nancy,phillip-haydon/Nancy,rudygt/Nancy,EliotJon...
src/Nancy.Demo.Razor.Localization/Views/CultureView-de-DE.cshtml
src/Nancy.Demo.Razor.Localization/Views/CultureView-de-DE.cshtml
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic> @{ Layout = "razor-layout.cshtml"; } <h1>You're here based on the German culture set in HomeModule however the HomeModule only calls return View["CultureView"]. It uses View Location Conventions therefore there must be a file called CultureView-...
@inherits Nancy.ViewEngines.Razor.NancyRazorViewBase<dynamic> @{ Layout = "razor-layout.cshtml"; } <h1>You're here based on ther German culture set in HomeModule however the HomeModule only calls return View["CultureView"]. It uses View Location Conventions therefore there must be a file called CultureView...
mit
C#
5879746e298400e0ec638340236689ee79211000
move cached tile manager stream reader inside using statement
brnkhy/MapzenGo,brnkhy/MapzenGo
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
Assets/MapzenGo/Models/CachedDynamicTileManager.cs
using System.IO; using System.Text; using MapzenGo.Helpers; using UniRx; using UnityEngine; namespace MapzenGo.Models { public class CachedDynamicTileManager : DynamicTileManager { public string RelativeCachePath = "../CachedTileData/{0}/"; protected string CacheFolderPath; public ove...
using System.IO; using System.Text; using MapzenGo.Helpers; using UniRx; using UnityEngine; namespace MapzenGo.Models { public class CachedDynamicTileManager : DynamicTileManager { public string RelativeCachePath = "../CachedTileData/{0}/"; protected string CacheFolderPath; public ove...
mit
C#
94e36cb5fa375d2d319929fef23b57d88c4ea73e
Change accessibility modifiers of MySqlOldGuidTypeMapping to be consistent with the project's other type mapping classes.
PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,PomeloFoundation/Pomelo.EntityFrameworkCore.MySql,caleblloyd/Pomelo.EntityFrameworkCore.MySql,caleblloyd/Pomelo.EntityFrameworkCore.MySql
src/EFCore.MySql/Storage/Internal/MySqlOldGuidTypeMapping.cs
src/EFCore.MySql/Storage/Internal/MySqlOldGuidTypeMapping.cs
// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. using System; using JetBrains.Annotations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Pomelo.EntityFrameworkCore.MySql.Utilities; namespace Microsoft.En...
// Copyright (c) Pomelo Foundation. All rights reserved. // Licensed under the MIT. See LICENSE in the project root for license information. using System; using JetBrains.Annotations; using Pomelo.EntityFrameworkCore.MySql.Utilities; namespace Microsoft.EntityFrameworkCore.Storage { /// <summary> /// Thi...
mit
C#
f99a4cf9d1dbc498f99e4426cd6d1e0b62766029
Remove constructor parameter of type IUnitOfWork.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/MitternachtBot/Modules/Utility/Services/RemindService.cs
src/MitternachtBot/Modules/Utility/Services/RemindService.cs
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Mitternacht.Common.Replacements; using Mitternacht.Extensions; using Mitternacht.Services; using Mitternacht.Services.Database; using Mitternacht.Services.Database.Models; using Mitternac...
using System; using System.Linq; using System.Threading; using System.Threading.Tasks; using Discord; using Discord.WebSocket; using Mitternacht.Common.Replacements; using Mitternacht.Extensions; using Mitternacht.Services; using Mitternacht.Services.Database; using Mitternacht.Services.Database.Models; using Mitternac...
mit
C#
f37a33dbf5b5d097d7b6d97631c1ee49a7cbf3f9
Fix nullable reference type issue
jskeet/nodatime.org,jskeet/nodatime.org,jskeet/nodatime.org,jskeet/nodatime.org
src/NodaTime.Web/ViewModels/CompareTypesByCommitViewModel.cs
src/NodaTime.Web/ViewModels/CompareTypesByCommitViewModel.cs
// Copyright 2017 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using MoreLinq; using NodaTime.Benchmarks; using NodaTime.Web.Helpers; using System; using System.Collections.Generic; using System.Linq; namespace NodaT...
// Copyright 2017 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using MoreLinq; using NodaTime.Benchmarks; using NodaTime.Web.Helpers; using System; using System.Collections.Generic; using System.Linq; namespace NodaT...
apache-2.0
C#
1096685d0ee16f5a28a2cda7d3a29314661decf1
order properties base type first
kevinphelps/base-rest
BaseWeb/WebApiContractResolver.cs
BaseWeb/WebApiContractResolver.cs
using BaseService.General; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Collections.Generic; using System.Linq; using System.Reflection; using System; namespace BaseWeb { public class WebApiContractResolver : CamelCasePropertyNamesContractResolver { protected override JsonP...
using BaseService.General; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System.Linq; using System.Reflection; namespace BaseWeb { public class WebApiContractResolver : CamelCasePropertyNamesContractResolver { protected override JsonProperty CreateProperty(MemberInfo member, Member...
mit
C#
ef99780d45c8c2be643a6badf0f7335f5ac4f5cd
Put in (temporary) check to throw an exception if no character-verse data is loaded (trying to diagnose problem on TC)
sillsdev/Glyssen,sillsdev/Glyssen
ProtoScript/CharacterVerse.cs
ProtoScript/CharacterVerse.cs
using System; using System.Collections.Generic; using System.Linq; using SIL.ScriptureUtils; namespace ProtoScript { public class CharacterVerse { private static IEnumerable<CharacterVerse> s_data; static CharacterVerse() { LoadAll(); } public static int GetCharacter(string bookId, int chapter, int v...
using System; using System.Collections.Generic; using System.Linq; using SIL.ScriptureUtils; namespace ProtoScript { public class CharacterVerse { private static IEnumerable<CharacterVerse> s_data; static CharacterVerse() { LoadAll(); } public static int GetCharacter(string bookId, int chapter, int v...
mit
C#
332f0b8806a6e462e191c51e7138a5d0f1d5960e
Create tests for each method
kropp/ReSharper-TestToolsPlugin
CreateTestPlugin/CreateTestAction.cs
CreateTestPlugin/CreateTestAction.cs
using System; using JetBrains.Application; using JetBrains.Application.Progress; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Bulbs; using JetBrains.ReSharper.Feature.Services.CSharp.Bulbs; using JetBrains.ReSharper.Intentions.Extensibility; using JetBrains.ReSharper.Psi; using JetBrains.ReS...
using System; using JetBrains.Application; using JetBrains.Application.Progress; using JetBrains.ProjectModel; using JetBrains.ReSharper.Feature.Services.Bulbs; using JetBrains.ReSharper.Feature.Services.CSharp.Bulbs; using JetBrains.ReSharper.Intentions.Extensibility; using JetBrains.ReSharper.Psi; using JetBrains.ReS...
apache-2.0
C#
dcd8ae86889dd4adabfeb4535f043828de3e687a
add dummy test function for builtin functions
maul-esel/CobaltAHK,maul-esel/CobaltAHK
CobaltAHK/ExpressionTree/Scope.cs
CobaltAHK/ExpressionTree/Scope.cs
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace CobaltAHK.ExpressionTree { public class Scope { public Scope() : this(null) { } public Scope(Scope parentScope) { parent = parentScope; #if DEBUG var msgbox = Expression.Lambda<Action>( Expression.Block( Expr...
using System; using System.Collections.Generic; using System.Linq.Expressions; namespace CobaltAHK.ExpressionTree { public class Scope { public Scope() : this(null) { } public Scope(Scope parentScope) { parent = parentScope; } private readonly Scope parent; public bool IsRoot { get { return parent ==...
mit
C#
aecd6bc5137a9251e2484c69840c33e3a749c926
Update AutoMapperConfiguration.cs - Added SkillEntity, Skill Map.
NinjaVault/NinjaHive,NinjaVault/NinjaHive
NinjaHive.BusinessLayer/AutoMapperConfiguration.cs
NinjaHive.BusinessLayer/AutoMapperConfiguration.cs
using AutoMapper; using NinjaHive.Contract.DTOs; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer { public class AutoMapperConfiguration { public static void Configure() { Mapper.CreateMap<EquipmentItemEntity, EquipmentItem>() .ForMember(destination => de...
using AutoMapper; using NinjaHive.Contract.DTOs; using NinjaHive.Domain; namespace NinjaHive.BusinessLayer { public class AutoMapperConfiguration { public static void Configure() { Mapper.CreateMap<EquipmentItemEntity, EquipmentItem>() .ForMember(destination => de...
apache-2.0
C#
574cce11c2b525afb2b03c4d65e0c96eae6fec2e
Revert 'Terms of Use Form closes in a better way'
quasar/QuasarRAT,quasar/QuasarRAT
Server/Forms/FrmTermsOfUse.cs
Server/Forms/FrmTermsOfUse.cs
using System; using System.Threading; using System.Windows.Forms; using xServer.Settings; namespace xServer.Forms { public partial class FrmTermsOfUse : Form { private static bool _exit = true; public FrmTermsOfUse() { InitializeComponent(); rtxtContent.Text = ...
using System; using System.Threading; using System.Windows.Forms; using xServer.Settings; namespace xServer.Forms { public partial class FrmTermsOfUse : Form { private static bool _exit = true; public FrmTermsOfUse() { InitializeComponent(); rtxtContent.Text = ...
mit
C#
4fd755fd2294a1813957569c6043be96a64580df
Use nested class.
JohanLarsson/Gu.ChangeTracking,JohanLarsson/Gu.State,JohanLarsson/Gu.State
Gu.ChangeTracking.Tests/EqualBy/EqualByPropertiesSettingsTests.cs
Gu.ChangeTracking.Tests/EqualBy/EqualByPropertiesSettingsTests.cs
namespace Gu.ChangeTracking.Tests { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using NUnit.Framework; public class EqualByPropertiesSettingsTests { [Test] public void Ignores() { var type = ty...
namespace Gu.ChangeTracking.Tests { using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Gu.ChangeTracking.Tests.CopyStubs; using NUnit.Framework; public class EqualByPropertiesSettingsTests { [Test] public void...
mit
C#
b8e852a4736b281e10754edbaacb6403e3d2cae6
Use the new OperatingSystem class.
dlemstra/Magick.NET,dlemstra/Magick.NET
tests/Magick.NET.Tests/MagickNETTests/TheFeaturesProperty.cs
tests/Magick.NET.Tests/MagickNETTests/TheFeaturesProperty.cs
// Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (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.imagemagick.org/script/license.php // // Unless req...
// Copyright 2013-2020 Dirk Lemstra <https://github.com/dlemstra/Magick.NET/> // // Licensed under the ImageMagick License (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.imagemagick.org/script/license.php // // Unless req...
apache-2.0
C#
bb3c2b24986ad424f6ec608530f18bcc22e33024
Change NaN with large number (#817)
facebook/yoga,facebook/css-layout,facebook/yoga,facebook/css-layout,facebook/yoga,facebook/css-layout,facebook/css-layout,facebook/yoga,facebook/yoga,facebook/css-layout,facebook/yoga,facebook/css-layout,facebook/yoga,facebook/css-layout,facebook/yoga,facebook/yoga,facebook/yoga,facebook/css-layout,facebook/css-layout
csharp/Facebook.Yoga/YogaConstants.cs
csharp/Facebook.Yoga/YogaConstants.cs
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ namespace Facebook.Yoga { public static class YogaConstants { /** * Large positive number signifies that...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ namespace Facebook.Yoga { public static class YogaConstants { public const float Undefined = float.NaN; ...
mit
C#
afe77b5a7192107bb14378dc6ba9cadb2fc6d110
Initialize zoom
EasyPeasyLemonSqueezy/MadCat
MadCat/NutEngine/Camera/Camera2D.cs
MadCat/NutEngine/Camera/Camera2D.cs
using Microsoft.Xna.Framework; namespace NutEngine.Camera { public abstract class Camera2D { public abstract Matrix2D Transform { get; } public Vector2 Position { get; set; } public float Rotation { get; set; } public float Zoom { get; set; } public Vector2 Frame { ge...
using Microsoft.Xna.Framework; namespace NutEngine.Camera { public abstract class Camera2D { public abstract Matrix2D Transform { get; } public Vector2 Position { get; set; } public float Rotation { get; set; } public float Zoom { get; set; } public Vector2 Frame { ge...
mit
C#
e89e3ece66e48b300530768200a05a7d9501a1ed
Add test for RacingKingsChessGame.IsDraw
ProgramFOX/Chess.NET
ChessDotNet.Variants.Tests/RacingKingsChessGameTests.cs
ChessDotNet.Variants.Tests/RacingKingsChessGameTests.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace ChessDotNet.Variants.Tests { using RacingKings; [TestFixture] public class RacingKingsChessGameTests { [Test] public static void TestSta...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace ChessDotNet.Variants.Tests { using RacingKings; [TestFixture] public class RacingKingsChessGameTests { [Test] public static void TestSta...
mit
C#
e819e0f2f64e029b00072dd20a585f8040a57f47
add newlines between static functions and classes
biboudis/LambdaMicrobenchmarking
LambdaMicrobenchmarking/Script.cs
LambdaMicrobenchmarking/Script.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LambdaMicrobenchmarking { public static class Script { public static Script<T> Of<T>(params Tuple<String, Func<T>>[] actions) { return Script<T>.Of(actions...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LambdaMicrobenchmarking { public static class Script { public static Script<T> Of<T>(params Tuple<String, Func<T>>[] actions) { return Script<T>.Of(actions...
apache-2.0
C#
fd81adb595ae4c19fabcc0cb099e789c350af06a
Stop TCP listeners
Fredi/NetIRC
tests/NetIRC.Tests/ClientConnectionTests.cs
tests/NetIRC.Tests/ClientConnectionTests.cs
using NetIRC.Extensions; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Xunit; namespace NetIRC.Tests { public class ClientConnectionTests { private static User FakeUser = new User("test", "test"); [Fact] public async Task WhenConnecti...
using NetIRC.Extensions; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using Xunit; namespace NetIRC.Tests { public class ClientConnectionTests { private static User FakeUser = new User("test", "test"); [Fact] public async Task WhenConnecti...
mit
C#
6758c6ed34edc10d71f8b000809ba1b875b3c766
add normals to object-cube
RealRui/SimpleScene,Namone/SimpleScene,smoothdeveloper/SimpleScene,jeske/SimpleScene
SimpleScene/Objects/SSObjectCube.cs
SimpleScene/Objects/SSObjectCube.cs
// Copyright(C) David W. Jeske, 2013 // Released to the public domain. Use, modify and relicense at will. using System; using OpenTK; using OpenTK.Graphics.OpenGL; namespace SimpleScene { public class SSObjectCube : SSObject { private void drawQuadFace(Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3)...
// Copyright(C) David W. Jeske, 2013 // Released to the public domain. Use, modify and relicense at will. using System; using OpenTK; using OpenTK.Graphics.OpenGL; namespace SimpleScene { public class SSObjectCube : SSObject { private void drawQuadFace(Vector3 p0, Vector3 p1, Vector3 p2, Vector3 p3)...
apache-2.0
C#
7a260cb3cc9ec19ffd0007b04220f93ed92130c9
fix bug in SoundInfoStruct
Alexx999/SwfSharp
SwfSharp/Structs/SoundInfoStruct.cs
SwfSharp/Structs/SoundInfoStruct.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Utils; namespace SwfSharp.Structs { public class SoundInfoStruct { public bool SyncStop { get; set; } public bool SyncNoMultiple { get; set; } public bool HasEnvelope { get; set; } ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using SwfSharp.Utils; namespace SwfSharp.Structs { public class SoundInfoStruct { public bool SyncStop { get; set; } public bool SyncNoMultiple { get; set; } public bool HasEnvelope { get; set; } ...
mit
C#
18c45f2a304bedfbbd41e20512e2a7637b749f00
Remove explicit private setter for bullets (#5)
ForNeVeR/TankDriver
TankDriver.App/Logic/BulletSpace.cs
TankDriver.App/Logic/BulletSpace.cs
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using TankDriver.Models; namespace TankDriver.Logic { internal class BulletSpace { public List<Bullet> Bullets { get; } private Rectangle _bounds; private TextureStorage _textureStorage; p...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using TankDriver.Models; namespace TankDriver.Logic { internal class BulletSpace { public List<Bullet> Bullets { get; private set; } private Rectangle _bounds; private TextureStorage _texture...
mit
C#
8c02c40e5718659c74551b3c4c656d0306f72723
Fix vxtwitter
stanriders/den0bot,stanriders/den0bot
den0bot/Modules/ModVxtwitter.cs
den0bot/Modules/ModVxtwitter.cs
// den0bot (c) StanR 2022 - MIT License using System.Linq; using Telegram.Bot.Types; using System.Threading.Tasks; using System.Text.RegularExpressions; using den0bot.Types; namespace den0bot.Modules { internal class ModVxtwitter : IModule, IReceiveAllMessages { private readonly Regex regex = new(@".+\/\/twi...
// den0bot (c) StanR 2022 - MIT License using System; using System.Linq; using Telegram.Bot.Types; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Threading.Tasks; using System.Text.RegularExpressions; using den0bot.Util; using den0bot.Types; namespace den0bot.Modules { internal class ModVx...
mit
C#
994b031a2def2af81abfadf093bf8c8239128f8d
Package Version Bump #CHANGE: Pseudo-change to bump package versions after weird CI deployment, just to be sure.
mfep/duality,AdamsLair/duality,BraveSirAndrew/duality,SirePi/duality,Barsonax/duality
Source/Core/Duality/CorePlugin.cs
Source/Core/Duality/CorePlugin.cs
using System; using System.Linq; using System.Reflection; namespace Duality { public abstract class CorePlugin : DualityPlugin { /// <summary> /// Called when initializing the plugin. It is guaranteed that all plugins have been loaded at this point, so /// this is the ideal place to establish communication wi...
using System; using System.Linq; using System.Reflection; namespace Duality { public abstract class CorePlugin : DualityPlugin { /// <summary> /// Called when initializing the plugin. It is guaranteed that all plugins have been loaded at this point, so /// this is the ideal place to establish communication wi...
mit
C#
7393e9510fcf95897db4bfaba15e92c3a46cd53f
Extend ISound
tainicom/Aether
Source/Elementary/Audio/ISound.cs
Source/Elementary/Audio/ISound.cs
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
#region License // Copyright 2015 Kastellanos Nikolaos // // 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 requi...
apache-2.0
C#
36bd8cdc0f3fc657a9dc0e6993005b7745df4bca
Use the correct assertion for testing null
tempodb/tempodb-net
TempoDB.Tests/src/TempoDBTests.cs
TempoDB.Tests/src/TempoDBTests.cs
using NUnit.Framework; using RestSharp; namespace TempoDB.Tests { [TestFixture] public class TempoDBTests { [Test] public void Defaults() { var tempodb = new TempoDB("key", "secret"); Assert.AreEqual("key", tempodb.Key); Assert.AreEqual("secret",...
using NUnit.Framework; using RestSharp; namespace TempoDB.Tests { [TestFixture] public class TempoDBTests { [Test] public void Defaults() { var tempodb = new TempoDB("key", "secret"); Assert.AreEqual("key", tempodb.Key); Assert.AreEqual("secret",...
mit
C#
8b0fe71d118d2bdca5ca51dd95eaf0fadc8230c8
Add comments to code
mplacona/TwilioMakeAndReceiveCalls
TwilioMakeAndReceiveCalls/Controllers/HomeController.cs
TwilioMakeAndReceiveCalls/Controllers/HomeController.cs
using System; using System.Web.Mvc; using Twilio; using Twilio.TwiML; using Twilio.TwiML.Mvc; namespace TwilioMakeAndReceiveCalls.Controllers { public class HomeController : TwilioController { //Get: Index public ActionResult Index() { return View(); } ...
using System; using System.Web.Mvc; using Twilio; using Twilio.TwiML; using Twilio.TwiML.Mvc; namespace TwilioMakeAndReceiveCalls.Controllers { public class HomeController : TwilioController { //Get: Index public ActionResult Index() { return View(); } ...
mit
C#
4696e5a1552fafdd5e94da9c03680250e2d079c7
Add README
atbyrd/Withings.NET,atbyrd/Withings.NET
Withings.Net.Specifications/When/GettingRequestToken.cs
Withings.Net.Specifications/When/GettingRequestToken.cs
using Withings.NET; using Machine.Specifications; namespace When { [Tags("Integration")] public class GettingRequestToken { static WithingsClient Subject; Because GetRequstTokenHasNotBeenCalled = () => Subject = new WithingsClient(); It ShouldHaveANullOauthToken = () => Subject.oauthToken.ShouldBeNull(...
using Withings.NET; using Machine.Specifications; namespace When { public class GettingRequestToken { static WithingsClient Subject; Because GetRequstTokenHasNotBeenCalled = () => Subject = new WithingsClient(); It ShouldHaveANullOauthToken = () => Subject.oauthToken.ShouldBeNull(); } }
mit
C#
ca1decec85ec5e39a0b03e3c385214b685133ac0
add StringFormat
TakeAsh/cs-WpfUtility
WpfUtility/DataGridExAttribute.cs
WpfUtility/DataGridExAttribute.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WpfUtility { [AttributeUsage(AttributeTargets.Property)] public class DataGridExAttribute : Attribute { public DataGridExAttribute() { } public DataGridExAttribute(string hea...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace WpfUtility { [AttributeUsage(AttributeTargets.Property)] public class DataGridExAttribute : Attribute { public DataGridExAttribute() { } public DataGridExAttribute(string hea...
mit
C#
c88fe822ce8903d3bf69fd777e7b7ccbef9dbe4d
add sql insert user
ravjotsingh9/DBLike
DBLike/Server/DatabaseAccess/Query.SignUp.cs
DBLike/Server/DatabaseAccess/Query.SignUp.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Server.DatabaseAccess { public partial class Query { ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace Server.DatabaseAccess { public partial class Query { ...
apache-2.0
C#
298c429cf9fe8d793df6f9c5d093f92d9c8373d7
Create floating coin effect
LadyNatika/MazeUdacity
Assets/UdacityVR/Scripts/Coin.cs
Assets/UdacityVR/Scripts/Coin.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coin : MonoBehaviour { //Create a reference to the CoinPoofPrefab public GameObject coinPoof; private float _basePositionY; public void Start() { _basePositionY = transform.position.y; } ...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Coin : MonoBehaviour { //Create a reference to the CoinPoofPrefab public GameObject coinPoof; // public AudioClip clipClick; //private AudioSource _audioSource; // private void Awake() { // _audioSo...
mit
C#
d0f375a87b5e5139c028b9d3000c03e9c8890b52
Update assembly info
LordMike/B2Lib
B2Lib/Properties/AssemblyInfo.cs
B2Lib/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("B2...
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("B2...
mit
C#
07bd6a924f1999f5de0fb66374e41ece2e6d4862
Update Program.cs
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Program.cs
Battery-Commander.Web/Program.cs
namespace BatteryCommander.Web { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Core; public class Program { public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Serilog.Events.LogEventLevel.Information); ...
namespace BatteryCommander.Web { using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Serilog; using Serilog.Core; public class Program { public static LoggingLevelSwitch LogLevel { get; } = new LoggingLevelSwitch(Se...
mit
C#
fb067403a3aa2ad75ef32211f63e8b8b1f971243
Fix widget IDs not read only
danielchalmers/DesktopWidgets
DesktopWidgets/Classes/WidgetSettings.cs
DesktopWidgets/Classes/WidgetSettings.cs
using System.Windows; using System.Windows.Media; using DesktopWidgets.Helpers; namespace DesktopWidgets.Classes { public class WidgetSettings { public Thickness Padding { get; set; } = new Thickness(2); //public Point ScreenDpi = new Point(96, 96); public string Name { get; set; } = "...
using System.Windows; using System.Windows.Media; using DesktopWidgets.Helpers; namespace DesktopWidgets.Classes { public class WidgetSettings { public Thickness Padding { get; set; } = new Thickness(2); //public Point ScreenDpi = new Point(96, 96); public string Name { get; set; } = "...
apache-2.0
C#
4324cc9d01186a43493ab56bddd3d07d3e8e7c36
Test para comprobar qeu soporta ficheros de 55Mb.
JuanQuijanoAbad/UniversalSync,JuanQuijanoAbad/UniversalSync
Storage/Azure/StorageAzureTests/BlobTests.cs
Storage/Azure/StorageAzureTests/BlobTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; namespace StorageAzure.Tests { [TestClass()] public class BlobTests { public Boolean Exist(string fileName) { var container = new BlobContanier().Create(); var blob = container.GetBlo...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.IO; namespace StorageAzure.Tests { [TestClass()] public class BlobTests { public Boolean Exist(string fileName) { var container = new BlobContanier().Create(); var blob = container.GetBlo...
mit
C#
63a0872ae3014b0c1aa9250253bc0d68f4bab0a0
Remove test code
nbarbettini/beautiful-rest-api-aspnetcore
src/BeautifulRestApi/Controllers/PeopleController.cs
src/BeautifulRestApi/Controllers/PeopleController.cs
using System; using System.Dynamic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using BeautifulRestApi.Dal; using BeautifulRestApi.Models; using BeautifulRestApi.Queries; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; namespace BeautifulRestApi.Controllers { [Route...
using System; using System.Dynamic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using BeautifulRestApi.Dal; using BeautifulRestApi.Models; using BeautifulRestApi.Queries; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; namespace BeautifulRestApi.Controllers { [Route...
apache-2.0
C#
5dfeacd2e5f57f2d824bc870b683746b3a6314d1
Set the version
drmohundro/Jump-Location,drmohundro/Jump-Location,tkellogg/Jump-Location
Jump.Location/Properties/AssemblyInfo.cs
Jump.Location/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("Ju...
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("Ju...
mit
C#