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
9a17d2b1fd325410549b9c5cfb45d952cd24c602
remove log4net references, see if that helps fix bamboo
rryk/omp-server,AlphaStaxLLC/taiga,QuillLittlefeather/opensim-1,justinccdev/opensim,ft-/arribasim-dev-extras,justinccdev/opensim,bravelittlescientist/opensim-performance,TechplexEngineer/Aurora-Sim,Michelle-Argus/ArribasimExtract,Michelle-Argus/ArribasimExtract,rryk/omp-server,N3X15/VoxelSim,TechplexEngineer/Aurora-Sim...
OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs
OpenSim/Data/MySQL/Tests/MySQLInventoryTest.cs
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must r...
bsd-3-clause
C#
774ee18ca62eaf1179b0bc939deeafb0949ed3a7
Bump version
rabbit-link/rabbit-link,rabbit-link/rabbit-link
src/RabbitLink/Properties/AssemblyInfo.cs
src/RabbitLink/Properties/AssemblyInfo.cs
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
#region Usings using System.Reflection; using System.Runtime.InteropServices; #endregion // 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("R...
mit
C#
447d4cf2e427ae6aec187d19d694ef159cdf063b
Add public API comments to UnityAutoMoqExtensions
thedersen/UnityAutoMoq,azarkevich/UnityAutoMoq,thedersen/UnityAutoMoq,thedersen/UnityAutoMoq,Henadz/UnityAutoMoq,azarkevich/UnityAutoMoq,Henadz/UnityAutoMoq,Henadz/UnityAutoMoq,azarkevich/UnityAutoMoq
src/UnityAutoMoq/UnityAutoMoqExtension.cs
src/UnityAutoMoq/UnityAutoMoqExtension.cs
using Microsoft.Practices.Unity; using Microsoft.Practices.Unity.ObjectBuilder; namespace UnityAutoMoq { /// <summary> /// Provide extensions for Unity Auto Moq /// </summary> public class UnityAutoMoqExtension : UnityContainerExtension { private readonly UnityAutoMoqContainer aut...
using Microsoft.Practices.Unity; using Microsoft.Practices.Unity.ObjectBuilder; namespace UnityAutoMoq { /// <summary> /// Provide extensions for Unity Auto Moq /// </summary> public class UnityAutoMoqExtension : UnityContainerExtension { private readonly UnityAutoMoqContainer aut...
mit
C#
ebc8bb3bb7e8798590f3036414f5902645359df1
use random teste db name
ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian,ZA-PT/Obsidian
test/Obsidian.Persistence.Test/Repositories/MongoRepositoryTest.cs
test/Obsidian.Persistence.Test/Repositories/MongoRepositoryTest.cs
using MongoDB.Driver; using Obsidian.Domain.Shared; using System; namespace Obsidian.Persistence.Test.Repositories { public abstract class MongoRepositoryTest<TAggregate> : RepositoryTest<TAggregate> where TAggregate : class, IAggregateRoot { private static readonly Random rand = new Random(); ...
using MongoDB.Driver; using Obsidian.Domain.Shared; namespace Obsidian.Persistence.Test.Repositories { public abstract class MongoRepositoryTest<TAggregate> : RepositoryTest<TAggregate> where TAggregate : class, IAggregateRoot { private const string dbUri = "mongodb://127.0.0.1:27017"; private...
apache-2.0
C#
ab510cea704fa4a210e73f90cad77d8325492f80
Add more features to vector 2 -> vector 3 conversion
PearMed/Pear-Interaction-Engine
Scripts/Converters/Vector2ToVector3.cs
Scripts/Converters/Vector2ToVector3.cs
using System; using System.Collections.Generic; using UnityEngine; namespace Pear.InteractionEngine.Converters { /// <summary> /// Converts a Vector2 to Vector3 /// </summary> public class Vector2ToVector3 : MonoBehaviour, IPropertyConverter<Vector2, Vector3> { [Tooltip("Where should the X value be ...
using UnityEngine; namespace Pear.InteractionEngine.Converters { /// <summary> /// Converts a Vector2 to Vector3 /// </summary> public class Vector2ToVector3 : MonoBehaviour, IPropertyConverter<Vector2, Vector3> { public Vector3 Convert(Vector2 convertFrom) { return convertFrom; } } }
mit
C#
532bc1c98ae469cc889dc9756996a16240942729
Refactor pipe drawing.
michaellperry/flappy
Shared/Flappy.Logic/Characters/Pipe.cs
Shared/Flappy.Logic/Characters/Pipe.cs
using Flappy.Logic.Sprites; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Flappy.Logic.Characters { public class Pipe { private const float Se...
using Flappy.Logic.Sprites; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Flappy.Logic.Characters { public class Pipe { private static readonl...
mit
C#
0386ea6dd94acbe4f9ac65659ffee9bf0281c4ec
remove ContextualItemsHelper.Start
AlejandroCano/framework,signumsoftware/framework,avifatal/framework,signumsoftware/framework,AlejandroCano/framework,avifatal/framework
Signum.Web/ButtonBar/ContextualItem.cs
Signum.Web/ButtonBar/ContextualItem.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Signum.Utilities; using System.Text; using Signum.Entities; namespace Signum.Web { public class SelectedItemsMenuContext { public UrlHelper Url { get; set; } public Con...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using Signum.Utilities; using System.Text; using Signum.Entities; namespace Signum.Web { public class SelectedItemsMenuContext { public UrlHelper Url { get; set; } public Con...
mit
C#
5b9df408dce4e6e0128a8737240b3d8b2068cace
update version to 1.4.14.0
evitself/HTML-Renderer,Perspex/HTML-Renderer,Perspex/HTML-Renderer,windygu/HTML-Renderer,ArthurHub/HTML-Renderer,evitself/HTML-Renderer,todor-dk/HTML-Renderer,slagou/HTML-Renderer,drickert5/HTML-Renderer,ArthurHub/HTML-Renderer,verdesgrobert/HTML-Renderer,todor-dk/HTML-Renderer,windygu/HTML-Renderer,tinygg/graphic-HTML...
Source/HtmlRenderer/Properties/AssemblyInfo.cs
Source/HtmlRenderer/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("HTML Renderer")] [assembly: AssemblyDescr...
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("HTML Renderer")] [assembly: AssemblyDescr...
bsd-3-clause
C#
e7ff96c5bc327a0fc69941dc9715ea47bf2191db
Add Employee Standard Hours endpoints
KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet,KeyPay/keypay-dotnet
src/keypay-dotnet/Properties/AssemblyInfo.cs
src/keypay-dotnet/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("KeyPay")] [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("KeyPay")] [assembly: AssemblyDescription("...
mit
C#
aa0ae0c6447a36ad1ae0849cb517dfe082e44fda
Fix for CS0104
antoniusriha/gtk-sharp,Gankov/gtk-sharp,Gankov/gtk-sharp,akrisiun/gtk-sharp,openmedicus/gtk-sharp,openmedicus/gtk-sharp,orion75/gtk-sharp,sillsdev/gtk-sharp,Gankov/gtk-sharp,openmedicus/gtk-sharp,orion75/gtk-sharp,openmedicus/gtk-sharp,akrisiun/gtk-sharp,antoniusriha/gtk-sharp,akrisiun/gtk-sharp,orion75/gtk-sharp,orion...
sample/GladeTest.cs
sample/GladeTest.cs
// GladeViewer.cs - Tests for LibGlade in C# // // Author: Ricardo Fernndez Pascual <ric@users.sourceforge.net> // // (c) 2002 Ricardo Fernndez Pascual namespace GladeSamples { using System; using Gtk; using Gnome; using Glade; using GtkSharp; using System.IO; using System.Reflection; public class GladeTest...
// GladeViewer.cs - Tests for LibGlade in C# // // Author: Ricardo Fernndez Pascual <ric@users.sourceforge.net> // // (c) 2002 Ricardo Fernndez Pascual namespace GladeSamples { using System; using Gtk; using Gnome; using Glade; using GtkSharp; using System.IO; using System.Reflection; public class GladeTest...
lgpl-2.1
C#
00d95ecfa1dc65b879b8d21c6b548d2d1e723e6c
Add code to allow vendo img to show on Azure
jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew,jnnfrlocke/VendingMachineNew
Views/Home/Index.cshtml
Views/Home/Index.cshtml
@{ ViewBag.Title = "Home Page"; } <div class="col-md-5"> <h1> Vendo 5.0 </h1> <p class="lead">The Future of Vending Machines</p> <p class="text-justify"> Vendo 5.0 is among the first digitally integrated vending machines of the 21st century. It's so gr...
@{ ViewBag.Title = "Home Page"; } <div class="col-md-5"> <h1> Vendo 5.0 </h1> <p class="lead">The Future of Vending Machines</p> <p class="text-justify"> Vendo 5.0 is among the first digitally integrated vending machines of the 21st century. It's so gr...
mit
C#
81441603283817abaf5d62987754510be51e2b33
Fix link
theplastictoy/webcamp2015-aspnet,theplastictoy/webcamp2015-aspnet
Views/Home/Index.cshtml
Views/Home/Index.cshtml
@{ ViewData["Title"] = "Home Page"; } <div class="row"> @foreach(var meetup in Model) { <div class="col-md-4"> <a href="@meetup.Link %>" target="blank"> <div style="width: 360px; height: 205px; overflow: hidden;"> <!-- <img class="img-r...
@{ ViewData["Title"] = "Home Page"; } <div class="row"> @foreach(var meetup in Model) { <div class="col-md-4"> <a href="@meetup.Link %>" target="blank"> <div style="width: 360px; height: 205px; overflow: hidden;"> <!-- <img class="img-r...
mit
C#
34bb80265464466fa66e6e00207391dbc124a329
update logging version
agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov,agrc/api.mapserv.utah.gov
WebAPI.Common/Logging/LoggingConfig.cs
WebAPI.Common/Logging/LoggingConfig.cs
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; using Serilog.Sinks.GoogleCloudLogging; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var config...
using System.IO; using System.Web; using Serilog; using Serilog.Core; using Serilog.Events; using Serilog.Sinks.Email; using Serilog.Sinks.GoogleCloudLogging; namespace WebAPI.Common.Logging { public static class LoggingConfig { public static void Register(string name) { var config...
mit
C#
7c6a38886a704265fe9ac6f4f5cea889558c851f
move TODOs to github issues
dimaaan/pgEdit
PgEdit/Program.cs
PgEdit/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace PgEdit { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace PgEdit { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main...
mit
C#
efeefec579412967e7b5c658d48f1d816a3dcc81
Fix namespace of the AmbiguousImplementationException (#22291)
ptoonen/corefx,shimingsg/corefx,wtgodbe/corefx,ViktorHofer/corefx,ericstj/corefx,ptoonen/corefx,BrennanConroy/corefx,BrennanConroy/corefx,ericstj/corefx,ViktorHofer/corefx,wtgodbe/corefx,wtgodbe/corefx,ericstj/corefx,shimingsg/corefx,wtgodbe/corefx,ptoonen/corefx,ptoonen/corefx,wtgodbe/corefx,ViktorHofer/corefx,shiming...
src/Common/src/CoreLib/System/Runtime/AmbiguousImplementationException.cs
src/Common/src/CoreLib/System/Runtime/AmbiguousImplementationException.cs
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Globalization; using System.Runtime.Serialization; namespace System.Runtime { [Serializable] p...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime; using System.Globalization; namespace System.Runtime.Serialization { [Serializable] p...
mit
C#
68ba4388587ac8ca4644ece84f4ab140bd3d6be2
Increase project version number to 0.7.0
atata-framework/atata,YevgeniyShunevych/Atata,atata-framework/atata,YevgeniyShunevych/Atata
src/CommonAssemblyInfo.cs
src/CommonAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Yevgeniy Shunevych")] [assembly: AssemblyProduct("Atata")] [assembly: AssemblyCopyright("Copyright © Yevgeniy Shunevych 2016")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: AssemblyVersion("0.6.0.0")...
apache-2.0
C#
fd1936626783f64d45d3142f77115ed5e85266b3
Add the ability to have a simple variable declared inline.
gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT
LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs
LINQToTTree/LINQToTTreeLib/Variables/VarSimple.cs
using System; using LinqToTTreeInterfacesLib; namespace LINQToTTreeLib.Variables { /// <summary> /// A simple variable (like int, etc.). /// </summary> public class VarSimple : IVariable { public string VariableName { get; private set; } public string RawValue { get; pri...
using System; using LinqToTTreeInterfacesLib; namespace LINQToTTreeLib.Variables { /// <summary> /// A simple variable (like int, etc.). /// </summary> public class VarSimple : IVariable { public string VariableName { get; private set; } public string RawValue { get; pri...
lgpl-2.1
C#
96f29c5696946c6f1365ea8f9e8d2318776f7915
Use latest compat version in MvcSandbox
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/MvcSandbox/Startup.cs
samples/MvcSandbox/Startup.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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft...
// 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.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft...
apache-2.0
C#
47df7f6a847173f7c8babbc853e7ce592b073d60
Fix CircularContainer using DrawSize too early
smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,default0/osu-framework,ppy/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,default0...
osu.Framework/Graphics/Containers/CircularContainer.cs
osu.Framework/Graphics/Containers/CircularContainer.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; using osu.Framework.Caching; namespace osu.Framework.Graphics.Containers { /// <summary> /// A container which is rounded (via...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE using System; namespace osu.Framework.Graphics.Containers { /// <summary> /// A container which is rounded (via automatic corner-radius) on t...
mit
C#
f43a5245ee994ed9868321b5e577c3c459e03294
remove unnecessary using
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Converters/MoneyConverters.cs
WalletWasabi.Fluent/Converters/MoneyConverters.cs
using Avalonia.Data.Converters; using NBitcoin; namespace WalletWasabi.Fluent.Converters { public static class MoneyConverters { public static readonly IValueConverter MoneyToString = new FuncValueConverter<Money?, string>(x => { return x switch { null => "Unknown", { } => x.ToString(fplus...
using Avalonia.Data.Converters; using Avalonia.Media; using NBitcoin; namespace WalletWasabi.Fluent.Converters { public static class MoneyConverters { public static readonly IValueConverter MoneyToString = new FuncValueConverter<Money?, string>(x => { return x switch { null => "Unknown", {...
mit
C#
b79a2f368caa674286cc10c24fa65d8780453ef8
Make sure to store milliseconds in preferences for boss best time value.
Noxalus/Xmas-Hell
Xmas-Hell/Xmas-Hell-Core/PlayerData/PlayerData.cs
Xmas-Hell/Xmas-Hell-Core/PlayerData/PlayerData.cs
using XmasHell.Entities.Bosses; using System; namespace XmasHell.PlayerData { public class PlayerData { private IPreferences _preferences; public PlayerData(IPreferences preferences) { _preferences = preferences; } public void DeathCounter(int value) ...
using XmasHell.Entities.Bosses; using System; namespace XmasHell.PlayerData { public class PlayerData { private IPreferences _preferences; public PlayerData(IPreferences preferences) { _preferences = preferences; } public void DeathCounter(int value) ...
mit
C#
d7b543bc270b3ed6b0fd28e5182e524376d3e6d0
Improve log message.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Modules/Forum/Services/ForumService.cs
src/NadekoBot/Modules/Forum/Services/ForumService.cs
using System.Threading.Tasks; using Mitternacht.Services; using NLog; namespace Mitternacht.Modules.Forum.Services { public class ForumService : INService { private readonly IBotCredentials _creds; private readonly Logger _log; public GommeHDnetForumAPI.Forum Forum { get; priv...
using System.Threading.Tasks; using Mitternacht.Services; using NLog; namespace Mitternacht.Modules.Forum.Services { public class ForumService : INService { private readonly IBotCredentials _creds; private readonly Logger _log; public GommeHDnetForumAPI.Forum Forum { get; priv...
mit
C#
32741e60edba09f5da4a381b0d8bf288a95c3c9d
update metrics to resolve to knowenums
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs
src/Nest/CommonAbstractions/Infer/Metrics/Metrics.cs
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using Elastic.Transport; using Elastic.Transport.Extensions; using Elasticsearch.Net; namespace Nes...
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using Elastic.Transport; using Elastic.Transport.Extensions; using Elasticsearch.Net; namespace Nes...
apache-2.0
C#
ae0da67520b7279feddef8a9f70cbd1d1a321dbd
Fix schema filter
ASP-NET-Core-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-MVC-Boilerplate/Templates,RehanSaeed/ASP.NET-MVC-Boilerplate,ASP-NET-Core-Boilerplate/Templates,ASP-NET-Core-Boilerplate/Templates
Source/Boilerplate.Templates/Content/ApiTemplate/ViewModelSchemaFilters/PageResultCarSchemaFilter.cs
Source/Boilerplate.Templates/Content/ApiTemplate/ViewModelSchemaFilters/PageResultCarSchemaFilter.cs
namespace ApiTemplate.ViewModelSchemaFilters { using System.Collections.Generic; using ApiTemplate.ViewModels; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; public class PageResultCarSchemaFilter : ISchemaFilter { public void Apply(Schema model, SchemaFi...
namespace ApiTemplate.ViewModelSchemaFilters { using System.Collections.Generic; using ApiTemplate.ViewModels; using Swashbuckle.AspNetCore.Swagger; using Swashbuckle.AspNetCore.SwaggerGen; public class PageResultCarSchemaFilter : ISchemaFilter { public void Apply(Schema model, SchemaF...
mit
C#
972a8d2143a5c07bef84f73083234b5347f39b28
Update UploadResultJson.cs
mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WxOpen,jiehanlin/WeiXinMPSDK,JeffreySu/WxOpen,mc7246/WeiXinMPSDK,wanddy/WeiXinMPSDK,lishewen/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jieha...
Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/UploadResultJson.cs
Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/Media/UploadResultJson.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Senparc.Weixin.MP.Entities; namespace Senparc.Weixin.MP.AdvancedAPIs { /// <summary> /// 上传媒体文件返回结果 /// </summary> public class UploadResultJson : WxJsonResult { public UploadMediaFileType type { get...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Senparc.Weixin.MP.Entities; namespace Senparc.Weixin.MP.AdvancedAPIs { /// <summary> /// 上传媒体文件返回结果 /// </summary> public class UploadResultJson : WxJsonResult { public UploadMediaFileType type { get...
apache-2.0
C#
665ef5fdcc06c9d8bcdb8bfb705b1ebee8e61047
Add test coverage for API-incompatible rulesets wrt mods
peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu,ppy/osu
osu.Game.Tests/Rulesets/TestSceneBrokenRulesetHandling.cs
osu.Game.Tests/Rulesets/TestSceneBrokenRulesetHandling.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 System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; u...
// 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 System.Collections.Generic; using System.Linq; using NUnit.Framework; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game....
mit
C#
64fd3bd854aa87ea4e1125623da84aca3b93c5cc
Fix compile warning (#1602)
exercism/xcsharp,exercism/xcsharp
generators/Exercises/Generators/Sieve.cs
generators/Exercises/Generators/Sieve.cs
using System; using System.Collections.Generic; using Exercism.CSharp.Output; using Exercism.CSharp.Output.Rendering; namespace Exercism.CSharp.Exercises.Generators { internal class Sieve : ExerciseGenerator { protected override void UpdateNamespaces(ISet<string> namespaces) => namespaces....
using System; using System.Collections.Generic; using Exercism.CSharp.Output; using Exercism.CSharp.Output.Rendering; namespace Exercism.CSharp.Exercises.Generators { internal class Sieve : ExerciseGenerator { protected override void UpdateNamespaces(ISet<string> namespaces) => namespaces....
mit
C#
aa0639ac54889fd46ba4374951544198ac49a749
Fix deserialization of scheduled job.
Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex,Squidex/squidex
src/Squidex.Domain.Apps.Entities/Contents/ScheduleJob.cs
src/Squidex.Domain.Apps.Entities/Contents/ScheduleJob.cs
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ===========================...
mit
C#
628e642b36d89a71a1a13c12c60c71a38be462d7
Add ConverterTypeName to SettingMetadata
NFig/NFig
NFig/SettingMetadata.cs
NFig/SettingMetadata.cs
using System; using NFig.Converters; namespace NFig { /// <summary> /// Describes all information about an individual setting, except for its values. /// </summary> public class SettingMetadata : IBySettingDictionaryItem { /// <summary> /// The name of the setting. Dots in the name...
using System; namespace NFig { /// <summary> /// Describes all information about an individual setting, except for its values. /// </summary> public class SettingMetadata : IBySettingDictionaryItem { /// <summary> /// The name of the setting. Dots in the name represent nesting leve...
mit
C#
981dba4dde7fb08f48cd10b0926c0c04e1bb1e3c
Add special http method to return unprocessable entities
denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs
src/Diploms.WebUI/Configuration/ControllerExtensions.cs
src/Diploms.WebUI/Configuration/ControllerExtensions.cs
using System.Linq; using Diploms.Dto; using Microsoft.AspNetCore.Mvc; namespace Diploms.WebUI { public static class ControllerExtensions { public static OperationResult GetErrors(this Controller controller, object model) { var result = new OperationResult(); if (model =...
using System.Linq; using Diploms.Dto; using Microsoft.AspNetCore.Mvc; namespace Diploms.WebUI { public static class ControllerExtensions { public static OperationResult GetErrors(this Controller controller, object model) { var result = new OperationResult(); if (model =...
mit
C#
067263cdaa8f98cd0caa0289b345b094e887715e
Change timeout to 15 sec and document findings
agray/nunit,mikkelbu/nunit,appel1/nunit,jadarnel27/nunit,mikkelbu/nunit,NikolayPianikov/nunit,agray/nunit,OmicronPersei/nunit,ggeurts/nunit,nunit/nunit,appel1/nunit,mjedrzejek/nunit,JustinRChou/nunit,JustinRChou/nunit,OmicronPersei/nunit,ggeurts/nunit,agray/nunit,nunit/nunit,jadarnel27/nunit,NikolayPianikov/nunit,mjedr...
src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs
src/NUnitFramework/tests/Internal/ThreadUtilityTests.cs
#if !NETSTANDARD1_3 && !NETSTANDARD1_6 using System.Runtime.InteropServices; using System.Threading; using NUnit.TestUtilities; namespace NUnit.Framework.Internal { [TestFixture] public class ThreadUtilityTests { [Platform("Win")] [TestCase(false, TestName = "Abort")] [TestCase(tr...
#if !NETSTANDARD1_3 && !NETSTANDARD1_6 using System.Runtime.InteropServices; using System.Threading; using NUnit.TestUtilities; namespace NUnit.Framework.Internal { [TestFixture] public class ThreadUtilityTests { [Platform("Win")] [TestCase(false, TestName = "Abort")] [TestCase(tr...
mit
C#
5e6e38f3658ac51b48d5b7fa9a472d1cd1e733bc
Add interface methods.
kyourek/Pagination,kyourek/Pagination,kyourek/Pagination
sln/Pagination/IPageSource.cs
sln/Pagination/IPageSource.cs
using System.Linq; namespace Pagination { public interface IPageSource { IPageConfig Config { get; } IPageRequest Request { get; } IPageSource SetItemsPerPage(int value); IPageSource SetPageBaseZero(int value); } public interface IPageSource<TItem> : IPageSource { ...
using System.Linq; namespace Pagination { public interface IPageSource { IPageConfig Config { get; } IPageRequest Request { get; } } public interface IPageSource<TItem> : IPageSource { IOrderedQueryable<TItem> ItemsSource { get; } IPage<TItem> FindPage(); } public...
mit
C#
6434968696631f270d63a6138e0cd4bd653f7681
update entities in sample
stombeur/IdentityServer3.Samples,ravibisht27/IdentityServer3.Samples,codedecay/IdentityServer3.Samples,JaonDong/IdentityServer3.Samples,pirumpi/IdentityServer3.Samples,kouweizhong/IdentityServer3.Samples,andyshao/IdentityServer3.Samples,ccccccmd/IdentityServer3.Samples,gavinbarron/IdentityServer3.Samples,sumedhmeshram/...
source/AspNetIdentity/SelfHost/AspId/SimpleEntities.cs
source/AspNetIdentity/SelfHost/AspId/SimpleEntities.cs
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
/* * Copyright 2014 Dominick Baier, Brock Allen * * 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 la...
apache-2.0
C#
18d935b13e6601286a394d0df690ace3c3b098a4
Update SMSTodayAMController.cs
dkitchen/bpcc,dkitchen/bpcc
src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs
src/BPCCScheduler.Web/Controllers/SMSTodayAMController.cs
using BPCCScheduler.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Twilio; namespace BPCCScheduler.Controllers { public class SMSTodayAMController : SMSApiController { //public IEnumerable<SMSMessage> Get...
using BPCCScheduler.Models; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; using Twilio; namespace BPCCScheduler.Controllers { public class SMSTodayAMController : SMSApiController { //public IEnumerable<SMSMessage> Get...
mit
C#
00553a352720376a10acbf20f2b56175961c1be7
Define Service.BindAndDispose() which can be used to bind a model to a service that is also a disposable and disposes the service when the binding is disposed.
bordoley/RxApp
RxApp/Service.cs
RxApp/Service.cs
using System; using System.ComponentModel; using System.Diagnostics.Contracts; using System.Reactive.Disposables; using System.Windows.Input; using ReactiveUI; namespace RxApp { public interface IService: INotifyPropertyChanged { bool IsStarted { get; } void Start(); void Stop(); ...
using System; using System.ComponentModel; using System.Diagnostics.Contracts; using System.Reactive.Disposables; using System.Windows.Input; using ReactiveUI; namespace RxApp { public interface IService: INotifyPropertyChanged { bool IsStarted { get; } void Start(); void Stop(); ...
apache-2.0
C#
9654e22a1c09162f623e147a0718055de4d8a76e
Adjust namespace
pardahlman/RawRabbit,northspb/RawRabbit
src/RawRabbit/Consumer/Eventing/EventingRawConsumer.cs
src/RawRabbit/Consumer/Eventing/EventingRawConsumer.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using RabbitMQ.Client; using RabbitMQ.Client.Events; using RabbitMQ.Client.Exceptions; using RawRabbit.Consumer.Contract; using RawRabbit.Logging; namespace RawRabbit.Consumer.Eventing { internal class EventingRawConsumer : EventingBasicCo...
using System; using System.Collections.Generic; using System.Threading.Tasks; using RabbitMQ.Client; using RabbitMQ.Client.Events; using RabbitMQ.Client.Exceptions; using RawRabbit.Consumer.Contract; using RawRabbit.Logging; namespace RawRabbit.Consumer { internal class EventingRawConsumer : EventingBasicConsumer, I...
mit
C#
9533d44f62025c47f89e606397abb812d0c4c589
Add some skiahelper extensions methods that allow for convenient layering within a rendering context.
SuperJMN/Avalonia,grokys/Perspex,SuperJMN/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,grokys/Perspex,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia
src/Skia/Avalonia.Skia/Helpers/DrawingContextHelper.cs
src/Skia/Avalonia.Skia/Helpers/DrawingContextHelper.cs
using System; using Avalonia.Platform; using Avalonia.Rendering; using SkiaSharp; namespace Avalonia.Skia.Helpers { public static class DrawingContextHelper { /// <summary> /// Wrap Skia canvas in drawing context so we can use Avalonia api to render to external skia canvas /// this is ...
using Avalonia.Platform; using Avalonia.Rendering; using SkiaSharp; namespace Avalonia.Skia.Helpers { public class DrawingContextHelper { /// <summary> /// Wrap Skia canvas in drawing context so we can use Avalonia api to render to external skia canvas /// this is useful in scenarios w...
mit
C#
059638790a1fdadad38977515c4d92ca7cd99e60
Add test for protocol.
gigya/KafkaNetClient,Jroland/kafka-net,bridgewell/kafka-net,nightkid1027/kafka-net,CenturyLinkCloud/kafka-net,EranOfer/KafkaNetClient,martijnhoekstra/kafka-net,geffzhang/kafka-net,BDeus/KafkaNetClient,aNutForAJarOfTuna/kafka-net,PKRoma/kafka-net
kafka-tests/Unit/ProtocolMessageTests.cs
kafka-tests/Unit/ProtocolMessageTests.cs
using System.Linq; using KafkaNet; using KafkaNet.Protocol; using NUnit.Framework; namespace kafka_tests { [TestFixture] [Category("Unit")] public class ProtocolMessageTests { [Test] [ExpectedException(typeof(FailCrcCheckException))] public void DecodeMessageShouldThrowWhenCrc...
using System.Linq; using KafkaNet; using KafkaNet.Protocol; using NUnit.Framework; namespace kafka_tests { [TestFixture] [Category("Unit")] public class ProtocolMessageTests { [Test] [ExpectedException(typeof(FailCrcCheckException))] public void DecodeMessageShouldThrowWhenCrc...
apache-2.0
C#
0ed190e3a587520a7b03b3a5a711ce72919fb3fc
Add missing using in Silverlight build
nazim9214/NLog,babymechanic/NLog,rajk987/NLog,ilya-g/NLog,BrandonLegault/NLog,RRUZ/NLog,ArsenShnurkov/NLog,michaeljbaird/NLog,zbrad/NLog,RichiCoder1/NLog,bhaeussermann/NLog,vbfox/NLog,vladikk/NLog,vladikk/NLog,breyed/NLog,BrandonLegault/NLog,AqlaSolutions/NLog-Unity3D,rajeshgande/NLog,BrandonLegault/NLog,littlesmilelov...
src/NLog/LayoutRenderers/AssemblyVersionLayoutRenderer.cs
src/NLog/LayoutRenderers/AssemblyVersionLayoutRenderer.cs
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
// // Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net> // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // * Redistributions of source code must retain the above c...
bsd-3-clause
C#
2ccc0d05bafcee76963738fdad80448dcb647678
Address potential stutering/deadlocks in NetworkMovementSendMovementChangeEventListeners
HelloKitty/Booma.Proxy
src/Booma.Proxy.Client.Unity.Ship/Engine/Initializables/NetworkMovementSendMovementChangeEventListener.cs
src/Booma.Proxy.Client.Unity.Ship/Engine/Initializables/NetworkMovementSendMovementChangeEventListener.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GladNet; using Nito.AsyncEx; using UnityEngine; namespace Booma.Proxy { //This current design could put the movement a frame or two behind the actual local movement //probably doesn't matter for...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GladNet; using Nito.AsyncEx; using UnityEngine; namespace Booma.Proxy { //This current design could put the movement a frame or two behind the actual local movement //probably doesn't matter for...
agpl-3.0
C#
0778e30c45b30db772ed56b8c58320d970c63b3e
comment for UILayout
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/OpenGLObjects/UILayout/UIRenderer.cs
CSharpGL/OpenGLObjects/UILayout/UIRenderer.cs
 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpGL { /// <summary> /// 支持UI布局的渲染器 /// </summary> public partial class UIRenderer : RendererBase, IUILayout { protected Renderer ...
 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CSharpGL { /// <summary> /// 支持UI布局的渲染器 /// </summary> public partial class UIRenderer : RendererBase, IUILayout { protected Renderer ...
mit
C#
c539707271e3f4d7944f3860d41ed79f7d93f79a
Fix expected test output following behavior change in 1124126
abock/roslyn,CyrusNajmabadi/roslyn,heejaechang/roslyn,tmat/roslyn,AmadeusW/roslyn,panopticoncentral/roslyn,eriawan/roslyn,brettfo/roslyn,KirillOsenkov/roslyn,CyrusNajmabadi/roslyn,gafter/roslyn,wvdd007/roslyn,nguerrera/roslyn,weltkante/roslyn,panopticoncentral/roslyn,weltkante/roslyn,mavasani/roslyn,shyamnamboodiripad/...
src/EditorFeatures/CSharpTest/Formatting/FormattingAnalyzerTests.cs
src/EditorFeatures/CSharpTest/Formatting/FormattingAnalyzerTests.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Ed...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Ed...
mit
C#
f319a72d2a400ee73459e7b48b9b7db1c5aee880
Fix OracleQuoterTest
spaccabit/fluentmigrator,spaccabit/fluentmigrator
src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleQuoterTest.cs
src/FluentMigrator.Tests/Unit/Generators/Oracle/OracleQuoterTest.cs
using System; using System.Globalization; using System.Threading; using FluentMigrator.Model; using FluentMigrator.Runner.Generators; using FluentMigrator.Runner.Generators.Generic; using FluentMigrator.Runner.Generators.Jet; using FluentMigrator.Runner.Generators.MySql; using FluentMigrator.Runner.Generators.Oracle; ...
using System; using System.Globalization; using System.Threading; using FluentMigrator.Model; using FluentMigrator.Runner.Generators; using FluentMigrator.Runner.Generators.Generic; using FluentMigrator.Runner.Generators.Jet; using FluentMigrator.Runner.Generators.MySql; using FluentMigrator.Runner.Generators.Oracle; ...
apache-2.0
C#
29091f3fe2c7febbccf2d01b98ce798d95670547
Fix some formatting for Teams
laurentkempe/HipChatConnect,laurentkempe/HipChatConnect
src/HipChatConnect/Controllers/Listeners/Github/GithubAggregator.cs
src/HipChatConnect/Controllers/Listeners/Github/GithubAggregator.cs
using System.Linq; using System.Text; using System.Threading.Tasks; using HipChatConnect.Controllers.Listeners.Github.Models; using HipChatConnect.Controllers.Listeners.TeamCity; namespace HipChatConnect.Controllers.Listeners.Github { public class GithubAggregator { private IHipChatRoom Room { get; } ...
using System.Linq; using System.Text; using System.Threading.Tasks; using HipChatConnect.Controllers.Listeners.Github.Models; using HipChatConnect.Controllers.Listeners.TeamCity; namespace HipChatConnect.Controllers.Listeners.Github { public class GithubAggregator { private IHipChatRoom Room { get; } ...
mit
C#
12dfa1635af3cb6ff6b4c9bd4da82a33688e7a5a
Fix typo in MenuViewModel.cs
serenabenny/Caliburn.Micro,Caliburn-Micro/Caliburn.Micro
samples/features/Features.CrossPlatform.Shared/ViewModels/MenuViewModel.cs
samples/features/Features.CrossPlatform.Shared/ViewModels/MenuViewModel.cs
using System; using Caliburn.Micro; #if XAMARINFORMS using INavigationService = Caliburn.Micro.Xamarin.Forms.INavigationService; #endif namespace Features.CrossPlatform.ViewModels { public class MenuViewModel : Screen { private readonly INavigationService navigationService; public MenuViewMod...
using System; using Caliburn.Micro; #if XAMARINFORMS using INavigationService = Caliburn.Micro.Xamarin.Forms.INavigationService; #endif namespace Features.CrossPlatform.ViewModels { public class MenuViewModel : Screen { private readonly INavigationService navigationService; public MenuViewMod...
mit
C#
bf1a7dfb850c7ea143372ea48e628edeb1cbd981
Add Layer to scene. Currently breaking on asset load
HotPrawns/Jiemyu_Unity,HotPrawns/Jiemyu
src/Chess-Demo/AppDelegate.cs
src/Chess-Demo/AppDelegate.cs
using System.Reflection; using Microsoft.Xna.Framework; using CocosDenshion; using CocosSharp; namespace Chess_Demo { class AppDelegate : CCApplicationDelegate { static CCWindow sharedWindow; public static CCWindow SharedWindow { get { return sharedWindow; } } ...
using System.Reflection; using Microsoft.Xna.Framework; using CocosDenshion; using CocosSharp; namespace Chess_Demo { class AppDelegate : CCApplicationDelegate { static CCWindow sharedWindow; public static CCWindow SharedWindow { get { return sharedWindow; } } ...
mit
C#
70d87d88a54caa005a58065530f24c28124f4f26
Update Class1.cs
Jolka/babajaga
DokumentyPacjenci/DokumentyPacjenci/Class1.cs
DokumentyPacjenci/DokumentyPacjenci/Class1.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DokumentyPacjenci { public class Class1 { void a() { } int b = 5; string = "Witaj w pliku" } }
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DokumentyPacjenci { public class Class1 { void a() { } int b = 5; } }
mit
C#
49a20ac087709fca315f6eef91972ede88998cfc
ADD interfaces and Install/InstallAsync
lightlikeD/DSACharacterSheet,lightlike/DSACharacterSheet
Drachenhorn.Xml/Template/ITemplateMetadata.cs
Drachenhorn.Xml/Template/ITemplateMetadata.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Drachenhorn.Xml.Template { public interface ITemplateMetadata : IEquatable<ITemplateMetadata>, INotifyPropertyCh...
using System; using System.Collections.Generic; using System.Globalization; using System.Text; using System.Text.RegularExpressions; namespace Drachenhorn.Xml.Template { public interface ITemplateMetadata : IEquatable<ITemplateMetadata> { double Version { get; set; } string Name { get; set; } ...
mit
C#
06bde29fe9aa8d541baf4d0a03f9a4311757447d
Fix typo in ParserOptions.AdaptRegexp doc (#79)
sebastienros/esprima-dotnet,sebastienros/esprima-dotnet
src/Esprima/ParserOptions.cs
src/Esprima/ParserOptions.cs
namespace Esprima { public class ParserOptions { public ParserOptions() { ErrorHandler = new ErrorHandler(); } public ParserOptions(string source) { ErrorHandler = new ErrorHandler() { Source = source }; } public ParserOptions(IE...
namespace Esprima { public class ParserOptions { public ParserOptions() { ErrorHandler = new ErrorHandler(); } public ParserOptions(string source) { ErrorHandler = new ErrorHandler() { Source = source }; } public ParserOptions(IE...
bsd-3-clause
C#
9aca04fc2049e939fb5644d578060eae3454f5a6
Add more info to xml doc of BitFormsAppCompatActivity's UseDefaultConfiguration in bit cs client
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
src/CSharpClient/Bit.CSharpClient.Prism/Droid/BitFormsAppCompatActivity.cs
src/CSharpClient/Bit.CSharpClient.Prism/Droid/BitFormsAppCompatActivity.cs
#if Android using Android.Content.PM; using Android.OS; using Android.Runtime; using Xamarin.Essentials; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; namespace Bit.Droid { public class BitFormsAppCompatActivity : FormsAppCompatActivity { private bool _useDefaultConfiguration = false; ...
#if Android using Android.Content.PM; using Android.OS; using Android.Runtime; using Xamarin.Essentials; using Xamarin.Forms; using Xamarin.Forms.Platform.Android; namespace Bit.Droid { public class BitFormsAppCompatActivity : FormsAppCompatActivity { private bool _useDefaultConfiguration = false; ...
mit
C#
d64289ae706a4a0366237c4a4177c7a5f322a21a
Fix null object pattern
AliakseiFutryn/dotnet-design-patterns-samples
Generating/NullObject/Entities/SpriteDrink.cs
Generating/NullObject/Entities/SpriteDrink.cs
using NullObject.Abstract; namespace NullObject.Entities { public class SpriteDrink : Drink { /// <summary> /// The drink name. /// </summary> public override string Name => string.Empty; /// <summary> /// The drink's cost in the US dollars. /// </summary> public override decimal Cost => default(de...
using NullObject.Abstract; namespace NullObject.Entities { public class SpriteDrink : Drink { /// <summary> /// The drink name. /// </summary> public override string Name => "Sprite"; /// <summary> /// The drink's cost in the US dollars. /// </summary> public override decimal Cost => 2; } }
mit
C#
db07178843e8c36b5cdf4651d98e712457d07efd
Update EntryType.cs
salmonthinlion/GoogleCloudPrintApi
GoogleCloudPrintApi/Models/Share/EntryType.cs
GoogleCloudPrintApi/Models/Share/EntryType.cs
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace GoogleCloudPrintApi.Models.Share { [JsonConverter(typeof(StringEnumConverter))] public enum EntryType { USER, GROUP, DOMAIN, PUBLIC } }
using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace GoogleCloudPrintApi.Models.Share { [JsonConverter(typeof(StringEnumConverter))] public enum EntryType { USER, GROUP, DOMAIN } }
mit
C#
01aa5cb9364cdedec14379da08b4328caf8d9e80
fix test
WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common
test/WeihanLi.Common.Test/ProfilerTest.cs
test/WeihanLi.Common.Test/ProfilerTest.cs
using System.Threading; using Xunit; namespace WeihanLi.Common.Test { public class ProfilerTest { [Theory] [InlineData(200)] [InlineData(500)] [InlineData(1000)] public void StopWatchProfileTest(int delay) { var profiler = new StopwatchProfiler(); ...
using System.Threading; using Xunit; namespace WeihanLi.Common.Test { public class ProfilerTest { [Theory] [InlineData(200)] [InlineData(500)] [InlineData(1000)] public void StopWatchProfileTest(int delay) { var profiler = new StopwatchProfiler(); ...
mit
C#
32ebde13fa16ed9d47e23ccc3c92ad9f7f47aefc
Update PathToEnlightenment.cs
NotMyself/DotNetCoreKoans
Koans/PathToEnlightenment.cs
Koans/PathToEnlightenment.cs
using System; using DotNetCoreKoans.Engine; namespace DotNetCoreKoans.Koans { public class PathToEnlightenment : Path { public PathToEnlightenment() { Types = new Type[] { typeof(AboutAsserts), typeof(AboutNull), typeof(AboutArrays), typeof(AboutArrayAssignment), typeof(Ab...
using System; using DotNetCoreKoans.Engine; namespace DotNetCoreKoans.Koans { public class PathToEnlightenment : Path { public PathToEnlightenment() { Types = new Type[] { typeof(AboutAsserts), typeof(AboutNull), typeof(AboutArrays), typeof(AboutArrayAssignment), ...
mit
C#
35d0e96fb0803a839ff88e47b59cee21d4bfa949
Update FreezeFrogsTarget.cs
Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare
Assets/Resources/Microgames/FreezeFrogs/Scripts/FreezeFrogsTarget.cs
Assets/Resources/Microgames/FreezeFrogs/Scripts/FreezeFrogsTarget.cs
using UnityEngine; using System.Collections; public class FreezeFrogsTarget : MonoBehaviour { public float progress, progressFromBreath; public SpriteRenderer white; public Animator animator; public ParticleSystem[] particleSystems; new public AudioSource audio; void Start() { reset(); } public void re...
using UnityEngine; using System.Collections; public class FreezeFrogsTarget : MonoBehaviour { public float progress, progressFromBreath; public SpriteRenderer white; public Animator animator; public ParticleSystem[] particleSystems; new public AudioSource audio; void Start() { reset(); } public void re...
mit
C#
58d1364aeac0abfa0d6c577a31fc15b8c2f4565f
Bump for next version
BurningEnlightenment/libsodium-net,adamcaudill/libsodium-net,bitbeans/libsodium-net,fraga/libsodium-net,deckar01/libsodium-net,bitbeans/libsodium-net,fraga/libsodium-net,adamcaudill/libsodium-net,tabrath/libsodium-core,BurningEnlightenment/libsodium-net,deckar01/libsodium-net
libsodium-net/Properties/AssemblyInfo.cs
libsodium-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("li...
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("li...
mit
C#
672604ffe649779254dda0aa7967396f7d5d464b
Build fix after namespace adjustment
madelson/MedallionOData,madelson/MedallionOData,madelson/MedallionOData
MedallionOData.Samples.Web/Models/Provider.cs
MedallionOData.Samples.Web/Models/Provider.cs
using Medallion.OData.Service.Sql; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Medallion.OData.Samples.Web.Models { public class Provider : DatabaseProvider { protected override string GetSqlTypeName(Trees.ODataExpressionType oDataType) { ...
using Medallion.OData.Sql; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Medallion.OData.Samples.Web.Models { public class Provider : DatabaseProvider { protected override string GetSqlTypeName(Trees.ODataExpressionType oDataType) { ...
mit
C#
604172bca0555166a6e99d96aa370e33f3872cc7
Add random position of card
TomaNikolov/MemoryGame
MemoryGames/MemoryGames/CardRandomPosition.cs
MemoryGames/MemoryGames/CardRandomPosition.cs
using System; using System.Collections.Generic; using System.Linq; namespace MemoryGames { public class CardRandomPosition { public static CardFace[,] GetRandomCardFace(int dimentionZero, int dimentionOne) { const int pair = 2; const int pairCount = 9; CardF...
using System; using System.Collections.Generic; using System.Linq; namespace MemoryGames { public class CardRandomPosition { private List<CardFace> gameCard = new List<CardFace>(); private string[] cardName = new string[8];//here will be the name of the card private Random randomGenerato...
mit
C#
fa56a0abd423ddaabe39513b262e13f96322ca5a
Add ReportGenerator.Format overload that calls on a instance
FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative
Creative/StatoBot/StatoBot.Reports/ReportGenerator.cs
Creative/StatoBot/StatoBot.Reports/ReportGenerator.cs
using System.IO; using Newtonsoft.Json; using StatoBot.Analytics; namespace StatoBot.Reports { public static class ReportGenerator { public static Report FromBot(AnalyzerBot bot) { return new Report( new ReportInput( bot.Analyzer.Statistics, ...
using System.IO; using Newtonsoft.Json; using StatoBot.Analytics; namespace StatoBot.Reports { public static class ReportGenerator { public static Report ForAnalyzingBot(AnalyzerBot bot) { return new Report( new ReportInput( bot.Analyzer.Statistics, BotInfo.FromBot(bot) ) ); } public...
mit
C#
59b98d40c50beacb974b2d74d596cc9b2115c9d4
Remove unnecessary Any() clause before adding children
sergeyshushlyapin/Sitecore.FakeDb,hermanussen/Sitecore.FakeDb,pveller/Sitecore.FakeDb
src/Sitecore.FakeDb/DbItem.cs
src/Sitecore.FakeDb/DbItem.cs
namespace Sitecore.FakeDb { using System.Collections; using System.Collections.Generic; using System.Diagnostics; using Sitecore.Data; using Sitecore.Diagnostics; using Sitecore.FakeDb.Security.AccessControl; [DebuggerDisplay("{FullPath}, {ID.ToString()}")] public class DbItem : IEnumerable { pub...
namespace Sitecore.FakeDb { using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Sitecore.Data; using Sitecore.Diagnostics; using Sitecore.FakeDb.Security.AccessControl; [DebuggerDisplay("{FullPath}, {ID.ToString()}")] public class DbItem : IE...
mit
C#
929b5c7951c29e8cf82ba56715d6e88a9aaaf96c
Add display attributes. Fix #98
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs
BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Validation; using System.ComponentModel; namespace BTCPayServer.Models.InvoicingModels { public class CreateInv...
using Microsoft.AspNetCore.Mvc.Rendering; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using BTCPayServer.Validation; namespace BTCPayServer.Models.InvoicingModels { public class CreateInvoiceModel { publi...
mit
C#
8b970803cea8c03015079207478bb743dbb215a9
Revert "Update SocketThread"
sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi,sguertl/Flying_Pi
Dronection/Android/WiFi/Android_Wifi_Test/Android_Wifi_Test/SocketThread.cs
Dronection/Android/WiFi/Android_Wifi_Test/Android_Wifi_Test/SocketThread.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Java.Lang; using Java.Net; namespace Android_Wifi_Test { public class SocketThread : Thread ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Android.App; using Android.Content; using Android.OS; using Android.Runtime; using Android.Views; using Android.Widget; using Java.Lang; using Java.Net; namespace Android_Wifi_Test { public class SocketThread : Thread ...
apache-2.0
C#
abee6c62e7c6201fceae74cd169b000f94545e5d
Save List.aspx filter after insert new record
ernado-x/X.DynamicData,ernado-x/X.DynamicData,ernado-x/X.DynamicData
Site/DynamicData/PageTemplates/Insert.aspx.cs
Site/DynamicData/PageTemplates/Insert.aspx.cs
using System; using System.Web.DynamicData; using System.Web.UI.WebControls; using X.DynamicData.Core; namespace Site { public partial class Insert : XPage { protected void Page_Init(object sender, EventArgs e) { CheckPartialRendering(_table); FormView1.SetMetaTable(_ta...
using System; using System.Web.DynamicData; using System.Web.UI.WebControls; using X.DynamicData.Core; namespace Site { public partial class Insert : XPage { protected void Page_Init(object sender, EventArgs e) { CheckPartialRendering(_table); FormView1.SetMetaTable(_ta...
mit
C#
64f20d5b47ecfd62269764a8c360be60d3910614
Test needs to be public
zhoffice/nodejstools,hagb4rd/nodejstools,hoanhtien/nodejstools,necroscope/nodejstools,bowdenk7/nodejstools,mjbvz/nodejstools,paladique/nodejstools,Microsoft/nodejstools,redabakr/nodejstools,paladique/nodejstools,paladique/nodejstools,lukedgr/nodejstools,bowdenk7/nodejstools,paulvanbrenk/nodejstools,np83/nodejstools,avi...
Nodejs/Tests/AnalysisTests/SerializedAnalysisTests.cs
Nodejs/Tests/AnalysisTests/SerializedAnalysisTests.cs
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
/* **************************************************************************** * * Copyright (c) Microsoft Corporation. * * This source code is subject to terms and conditions of the Apache License, Version 2.0. A * copy of the license can be found in the License.html file at the root of this distribution. If ...
apache-2.0
C#
ec79cd3123731a119f7e61f4a5751f28dcd01a8b
Set invariant culture for BooleanOpacityConverter parse operation. Closes #6.
hartez/TodotxtTouch.WindowsPhone
TodotxtTouch.WindowsPhone/ValueConverters/BooleanOpacityConverter.cs
TodotxtTouch.WindowsPhone/ValueConverters/BooleanOpacityConverter.cs
using System; using System.Globalization; using System.Windows.Data; namespace TodotxtTouch.WindowsPhone.ValueConverters { public class BooleanOpacityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { double opacity = 1.0; if (parame...
using System; using System.Globalization; using System.Windows.Data; namespace TodotxtTouch.WindowsPhone.ValueConverters { public class BooleanOpacityConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { double opacity = 1.0; if (parame...
mit
C#
e2e6b8e4cb174d46d50812887e13d8c8e1657654
Allow filtering weapons by unit
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/API/WeaponsController.cs
Battery-Commander.Web/Controllers/API/WeaponsController.cs
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers.API { public class WeaponsController : ApiController { public WeaponsController(Database db) : base(db) ...
using BatteryCommander.Web.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers.API { public class WeaponsController : ApiController { public WeaponsCon...
mit
C#
bb4bbbb8a88ad9554a81975b29a173d1e47216c8
Make ReconnectTest async behavior consistent (#2728)
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.IntegrationTests/Tests/Networking/ReconnectTest.cs
Content.IntegrationTests/Tests/Networking/ReconnectTest.cs
using System.Threading.Tasks; using NUnit.Framework; using Robust.Client.Console; using Robust.Shared.Interfaces.Network; using Robust.Shared.IoC; namespace Content.IntegrationTests.Tests.Networking { [TestFixture] public class ReconnectTest : ContentIntegrationTest { [Test] public async Ta...
using System.Threading.Tasks; using NUnit.Framework; using Robust.Client.Console; using Robust.Shared.Interfaces.Network; using Robust.Shared.IoC; namespace Content.IntegrationTests.Tests.Networking { [TestFixture] public class ReconnectTest : ContentIntegrationTest { [Test] public async Ta...
mit
C#
f002dae2e57c0f2ac33b430f7117a08b12879ddd
Check configuration values are set in tests
auth0/auth0.net,auth0/auth0.net
tests/Auth0.ManagementApi.IntegrationTests/TestBase.cs
tests/Auth0.ManagementApi.IntegrationTests/TestBase.cs
using System; using System.Threading.Tasks; using Auth0.AuthenticationApi; using Auth0.AuthenticationApi.Models; using Microsoft.Extensions.Configuration; namespace Auth0.Tests.Shared { public class TestBase { private readonly IConfigurationRoot _config; public TestBase() { ...
using System.Threading.Tasks; using Auth0.AuthenticationApi; using Auth0.AuthenticationApi.Models; using Microsoft.Extensions.Configuration; namespace Auth0.Tests.Shared { public class TestBase { private readonly IConfigurationRoot _config; public TestBase() { _config = ne...
mit
C#
2a5654edb95f916d90c481f5a72f5e4c4c83413f
Remove an unused using
tgstation/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools
tests/Tgstation.Server.Host.Tests/TestServerFactory.cs
tests/Tgstation.Server.Host.Tests/TestServerFactory.cs
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.System; namespace Tgstation.Server.Host.Tests { /// <summary> /// Tests for <see cref="ServerFactory"/> /// </summary> [TestClass] public sealed class TestServerFactory { [T...
using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using System; using Tgstation.Server.Host.Core; using Tgstation.Server.Host.IO; using Tgstation.Server.Host.System; namespace Tgstation.Server.Host.Tests { /// <summary> /// Tests for <see cref="ServerFactory"/> /// </summary> [TestClass] public seal...
agpl-3.0
C#
72a2199894f07e5798d6b90aaa539f932cabf3e9
Set version 3.0.0.0
grantcolley/dipmapper
DevelopmentInProgress.DipMapper/Properties/AssemblyInfo.cs
DevelopmentInProgress.DipMapper/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("Di...
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("Di...
apache-2.0
C#
892f0729e7262dc48eb6a0a985f4a9fb7470f75a
Comment out the resource not found fix for .NET Core
quartz-software/kephas,quartz-software/kephas
Samples/Configuration/ConfigurationConsole/Program.cs
Samples/Configuration/ConfigurationConsole/Program.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Implements the program class. // </summar...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Program.cs" company="Quartz Software SRL"> // Copyright (c) Quartz Software SRL. All rights reserved. // </copyright> // <summary> // Implements the program class. // </summar...
mit
C#
04922088c3d1a4ff484adfb3476dae391f62bb99
increase version
tinohager/Nager.AmazonProductAdvertising,tinohager/Nager.AmazonProductAdvertising
Nager.AmazonProductAdvertising/Properties/AssemblyInfo.cs
Nager.AmazonProductAdvertising/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("Nag...
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("Na...
mit
C#
3667d5a7bf3f2eb7138f67af1b4e75389b014526
Add missing license banner
StefanoRaggi/Lean,StefanoRaggi/Lean,jameschch/Lean,jameschch/Lean,JKarathiya/Lean,jameschch/Lean,QuantConnect/Lean,AlexCatarino/Lean,AlexCatarino/Lean,JKarathiya/Lean,StefanoRaggi/Lean,QuantConnect/Lean,jameschch/Lean,StefanoRaggi/Lean,QuantConnect/Lean,AlexCatarino/Lean,QuantConnect/Lean,JKarathiya/Lean,jameschch/Lean...
Tests/Algorithm/Framework/NotifiedSecurityChangesTests.cs
Tests/Algorithm/Framework/NotifiedSecurityChangesTests.cs
/* * QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals. * Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
using System; using System.Collections.Generic; using NUnit.Framework; using QuantConnect.Algorithm.Framework; using QuantConnect.Data.UniverseSelection; using QuantConnect.Securities; using QuantConnect.Securities.Equity; namespace QuantConnect.Tests.Algorithm.Framework { [TestFixture] public class NotifiedS...
apache-2.0
C#
6ae7367c019a3b4360580e3e892bb73002a48eef
Prepare release 4.5.5 - update file version. Work Item #1926
CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork
trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs
trunk/Solutions/CslaGenFork/Properties/AssemblyInfo.cs
using System; 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("Csla Generato...
using System; 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("Csla Generato...
mit
C#
6fdd3bf7d41b4ec0bb0306bafd11f859c51e666f
Fix filtering in logging
rowanmiller/UnicornStore,rowanmiller/UnicornStore,rowanmiller/UnicornStore
UnicornStore/src/UnicornStore/Logging/SqlLoggerProvider.cs
UnicornStore/src/UnicornStore/Logging/SqlLoggerProvider.cs
using System; using System.Linq; using Microsoft.Framework.Logging; using Microsoft.Data.Entity.Update; using Microsoft.Data.Entity.Query; namespace UnicornStore.Logging { public class SqlLoggerProvider : ILoggerProvider { private static readonly string[] _whitelist = new string[] { ...
using System; using System.Linq; using Microsoft.Framework.Logging; namespace UnicornStore.Logging { public class SqlLoggerProvider : ILoggerProvider { private static readonly string[] _whitelist = new string[] { "Microsoft.Data.Entity.Relational.Update.BatchExecutor", ...
apache-2.0
C#
55f7f0fbb66936d8133297e176b0dde794c4950f
Remove user service refs
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/API/UsersController.cs
Battery-Commander.Web/Controllers/API/UsersController.cs
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace...
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Newtonsoft.Json; using System; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; namespace...
mit
C#
382b2648017a9b5f38b175d608652dddf65496b4
update interface
CatLib/Framework,yb199478/catlib
Assets/Scripts/System/Lib/API/Translator/ITranslator.cs
Assets/Scripts/System/Lib/API/Translator/ITranslator.cs
 using UnityEngine; namespace CatLib.API.Translator{ /// <summary> /// 翻译(国际化) /// </summary> public interface ITranslator{ /// <summary> /// 翻译内容 /// </summary> /// <param name="key">键</param> /// <param name="replace">替换翻译内容的占位符</param> /// <returns></returns> string Tr...
 using UnityEngine; namespace CatLib.API.Translator{ /// <summary> /// 翻译(国际化) /// </summary> public interface ITranslator{ /// <summary> /// 翻译内容 /// </summary> /// <param name="key">键</param> /// <param name="replace">替换翻译内容的占位符</param> /// <returns></returns> string Tr...
unknown
C#
e4053e2a7a8f9cfdabc15b1b579c1a3483d98140
Change widget action bar "Margin" default value
danielchalmers/DesktopWidgets
DesktopWidgets/WidgetBase/Styles/WidgetActionBarStyle.cs
DesktopWidgets/WidgetBase/Styles/WidgetActionBarStyle.cs
using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.WidgetBase.Styles { [ExpandableObject] [DisplayName("Action Bar Style")] public class WidgetActionBarStyle : BorderStyleBa...
using System.ComponentModel; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using Xceed.Wpf.Toolkit.PropertyGrid.Attributes; namespace DesktopWidgets.WidgetBase.Styles { [ExpandableObject] [DisplayName("Action Bar Style")] public class WidgetActionBarStyle : BorderStyleBa...
apache-2.0
C#
2da95e15e5902252789f95034966543c62e916b8
store in weather station's timezone
bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather
api/src/BellRichM.Weather.Api/Mapping/ConvertEpochTime.cs
api/src/BellRichM.Weather.Api/Mapping/ConvertEpochTime.cs
using AutoMapper; using BellRichM.Weather.Api.Data; using BellRichM.Weather.Api.Models; using System; namespace BellRichM.Weather.Api.Mapping { /// <summary> /// Converts the unix time on the observation model to a date and time on the observation. /// </summary> /// <remarks> /// <seealso cref="IM...
using AutoMapper; using BellRichM.Weather.Api.Data; using BellRichM.Weather.Api.Models; using System; namespace BellRichM.Weather.Api.Mapping { /// <summary> /// Converts the unix time on the observation model to a date and time on the observation. /// </summary> /// <remarks> /// <seealso cref="IM...
mit
C#
49873ecfa7fba7a8978ddaac285dc79e1463b9cd
Fix Edit
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestionePOS/EditPos/EditPosCommandHandler.cs
src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestionePOS/EditPos/EditPosCommandHandler.cs
//----------------------------------------------------------------------- // <copyright file="EditPosCommandHandler.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 Publi...
//----------------------------------------------------------------------- // <copyright file="EditPosCommandHandler.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 Publi...
agpl-3.0
C#
a8d30f6aee41f38fcbdd35df05e3a010675e9f5b
remove unused using
johnneijzen/osu,UselessToucan/osu,DrabWeb/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,naoey/osu,UselessToucan/osu,naoey/osu,NeoAdonis/osu,NeoAdonis/osu,ZLima12/osu,2yangk23/osu,johnneijzen/osu,ppy/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,2yangk23/osu,DrabWeb/osu,EVAST9919/osu,peppy/osu,smoogipooo/osu,UselessToucan/osu...
osu.Game.Rulesets.Osu/Mods/OsuModGrow.cs
osu.Game.Rulesets.Osu/Mods/OsuModGrow.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects.Drawables; using os...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using osu.Framework.Graphics; using osu.Game.Graphics; using osu.Game.Rulesets.Mods; using osu.Game.Rulesets.Objects.Drawables; using os...
mit
C#
4ee8224f8b624320b52743c2e68986b795002388
change naming to be less confusing
peppy/osu,peppy/osu,ppy/osu,ppy/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu
osu.Game.Tournament/Models/StableInfo.cs
osu.Game.Tournament/Models/StableInfo.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.IO; using Newtonsoft.Json; using osu.Framework.Platform; using osu.Game.Tournament.IO; namespace osu.Game.Tournament.Models { /// <summary...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.IO; using Newtonsoft.Json; using osu.Framework.Platform; using osu.Game.Tournament.IO; namespace osu.Game.Tournament.Models { /// <summary...
mit
C#
cad68bb82fce1bfdaed3ca85b092b39f484cb222
Add autoplay helper property
ZLima12/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,EVAST9919/osu,peppy/osu,ppy/osu,ppy/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu,UselessToucan/osu,ppy/osu,johnneijzen/osu,peppy/osu-new,peppy/osu,EVAST9919/osu,Z...
osu.Game/Tests/Visual/PlayerTestScene.cs
osu.Game/Tests/Visual/PlayerTestScene.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 osu.Framework.Allocation; using osu.Framework.Extensions.IEnumerableExtensions; using osu.Framework.Testing; using osu.Game.Configuration; 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.Linq; using osu.Framework.Allocation; using osu.Framework.Testing; using osu.Game.Configuration; using osu.Game.Rulesets; using osu.Game.Rulesets.Mods; using...
mit
C#
91aa9a79131b9040ea56b54af561bf38a30bf63e
fix warning
leotsarev/joinrpg-net,kirillkos/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net
JoinRpg.Data.Write.Interfaces/Properties/AssemblyInfo.cs
JoinRpg.Data.Write.Interfaces/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("JoinRpg.Data.Write.Interfaces")] [assembl...
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("Jo...
mit
C#
28168ab09798670d3c0d3445d8d7b91346778f77
update synapse factory
jobeland/NeuralNetwork
NeuralNetwork/NeuralNetwork/Factories/SynapseFactory.cs
NeuralNetwork/NeuralNetwork/Factories/SynapseFactory.cs
using ArtificialNeuralNetwork.WeightInitializer; namespace ArtificialNeuralNetwork.Factories { public class SynapseFactory : ISynapseFactory { private IWeightInitializer _weightInitializer; private SynapseFactory(IWeightInitializer weightInitializer) { _weightInitializer =...
using ArtificialNeuralNetwork.WeightInitializer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ArtificialNeuralNetwork.Factories { public class SynapseFactory : ISynapseFactory { private IWeightInitializer _weightInitializ...
mit
C#
c30d23c3065a277ef2c4c6b3640a712350cd98b1
add ToDateTime() invalid input exception tests
martinlindhe/Punku
PunkuTests/Validate/PersonalIdentityNumberSwedenTest.cs
PunkuTests/Validate/PersonalIdentityNumberSwedenTest.cs
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Validate")] public class PersonalIdentityNumberSwedenTestTest { [Test] public void IsPersonnummer01 () { Assert.AreEqual (PersonalIdentityNumberSweden.IsValid ("8112189876"), true); } [Test] public void IsPersonnummer02 () { Asser...
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Validate")] public class PersonalIdentityNumberSwedenTestTest { [Test] public void IsPersonnummer01 () { Assert.AreEqual (PersonalIdentityNumberSweden.IsValid ("8112189876"), true); } [Test] public void IsPersonnummer02 () { Asser...
mit
C#
a446b627da0decbb477efefbb0e63be4c1aa686f
Make TooltipText virtual
EVAST9919/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,smoogipoo/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,DrabWeb/osu,naoey/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,naoey/osu,nao...
osu.Game/Graphics/DrawableDate.cs
osu.Game/Graphics/DrawableDate.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using System; using Humanizer; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Cursor; using osu.Game.Graphics.Sprites; name...
mit
C#
391cd24a9f1582ed3cca9b16bf0702183b3f6623
Test date/days is robuster
Mozketo/TFSbot
ChangesetsNotReviewed/run.csx
ChangesetsNotReviewed/run.csx
#load "..\extensions\TfsEx.csx" using System; using System.Configuration; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { DateTime dFrom = DateTime.Now.Subtract(TimeSpan.FromDays(...
#load "..\extensions\TfsEx.csx" using System; using System.Configuration; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log) { DateTime dFrom = DateTime.Now.Subtract(TimeSpan.FromDays(...
mit
C#
e3460f9b1b2deb70101fd48e886bc7f803a20c0a
Change type of force added when throwing a weapon.
Warhead-Entertainment/OpenWorld
Assets/Scripts/Player/ObjectInteraction.cs
Assets/Scripts/Player/ObjectInteraction.cs
using UnityEngine; using System.Collections; public sealed class ObjectInteraction : MonoBehaviour { public GameObject ItemInHand; private int SelectedItem; private Transform FirstPersonCamera; private Inventory LocalInventory; void Start () { FirstPersonCamera = transform.Find("FirstPersonCamera"); LocalI...
using UnityEngine; using System.Collections; public sealed class ObjectInteraction : MonoBehaviour { public GameObject ItemInHand; private int SelectedItem; private Transform FirstPersonCamera; private Inventory LocalInventory; void Start () { FirstPersonCamera = transform.Find("FirstPersonCamera"); LocalI...
mit
C#
53c5c74cb3ef1e11487539f28b006ba27f4a63dc
update samples.
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
samples/Sample.RabbitMQ.MySql/Startup.cs
samples/Sample.RabbitMQ.MySql/Startup.cs
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Sample.RabbitMQ.MySql { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace Sample.RabbitMQ.MySql { public class Startup { public void ConfigureServices(IServiceCollection services) { ...
mit
C#
2e2e229d2f2d62e09afbe9099ac8f97d59c710f7
Fix issue where ratio was always returning "1"
janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent,janjonas/OpenContent
Components/TemplateHelpers/Images/Ratio.cs
Components/TemplateHelpers/Images/Ratio.cs
using System; namespace Satrabel.OpenContent.Components.TemplateHelpers { public class Ratio { private readonly float _ratio; public int Width { get; private set; } public int Height { get; private set; } public float AsFloat { get { return (float)Width / (...
using System; namespace Satrabel.OpenContent.Components.TemplateHelpers { public class Ratio { private readonly float _ratio; public int Width { get; private set; } public int Height { get; private set; } public float AsFloat { get { return (float)Width / (...
mit
C#
e049f7e0fa19661b964b7f9a3a2315ab034c50eb
bump to v0.1.17
abelsilva/swaggerwcf
src/SwaggerWcf/Properties/AssemblyInfo.cs
src/SwaggerWcf/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("Sw...
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("Sw...
apache-2.0
C#
152fb0aaa0aada84633b3951bb8a57997d370e28
Update docs
RonnChyran/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake,SnowflakePowered/snowflake,SnowflakePowered/snowflake,RonnChyran/snowflake
src/Snowflake.Framework.Primitives/Scraping/Extensibility/ICuller.cs
src/Snowflake.Framework.Primitives/Scraping/Extensibility/ICuller.cs
using System; using System.Collections.Generic; using System.Text; using Snowflake.Extensibility; namespace Snowflake.Scraping.Extensibility { /// <summary> /// A <see cref="ICuller"/> filters seeds that remain in consideration /// when the <see cref="ISeedRootContext"/> is traversed to produce a result. ...
using System; using System.Collections.Generic; using System.Text; using Snowflake.Extensibility; namespace Snowflake.Scraping.Extensibility { /// <summary> /// A <see cref="ICuller"/> filters seeds that remain in consideration /// when the <see cref="ISeedRootContext"/> is traversed to produce a result. ...
mpl-2.0
C#
eb6d2bf3ce11f951db53fffc138525fdeac9f3e7
add notification
Rychard/Skylines-ModTools,earalov/Skylines-ModTools,joaofarias/Unity-ModTools,Skylines-ModTools/Skylines-ModTools
Debugger/UserNotifications.cs
Debugger/UserNotifications.cs
using System.Collections.Generic; namespace ModTools { public static class UserNotifications { private static Configuration config { get { return ModTools.Instance.config; } } private static List<KeyValuePair<int, string>> notifications = new List<KeyValuePair<int...
using System.Collections.Generic; namespace ModTools { public static class UserNotifications { private static Configuration config { get { return ModTools.Instance.config; } } private static List<KeyValuePair<int, string>> notifications = new List<KeyValuePair<int...
mit
C#
1ade41e6442526fd57178d1411665d82b49a6c45
remove commented lines
messagebird/csharp-rest-api
Examples/VoiceMessage/ListVoiceMessages.cs
Examples/VoiceMessage/ListVoiceMessages.cs
using System; using MessageBird; using MessageBird.Exceptions; using MessageBird.Net.ProxyConfigurationInjector; using MessageBird.Objects; namespace Examples.VoiceMessage { class ListVoiceMessages { const string YourAccessKey = "YOUR_ACCESS_KEY"; // your access key here. static void Main(stri...
using System; using MessageBird; using MessageBird.Exceptions; using MessageBird.Net.ProxyConfigurationInjector; using MessageBird.Objects; namespace Examples.VoiceMessage { class ListVoiceMessages { const string YourAccessKey = "YOUR_ACCESS_KEY"; // your access key here. static void Main(stri...
isc
C#
1408666eecc94e8b3488dfb4fcf143fae302b0e7
change update dbconnection pool size (#5797)
greenlaw110/FrameworkBenchmarks,MTDdk/FrameworkBenchmarks,RockinRoel/FrameworkBenchmarks,RockinRoel/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,RockinRoel/FrameworkBenchmarks,MTDdk/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,jaguilill...
frameworks/CSharp/beetlex/PlatformBenchmarks/HttpServer.cs
frameworks/CSharp/beetlex/PlatformBenchmarks/HttpServer.cs
using BeetleX; using BeetleX.EventArgs; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PlatformBenchmarks { public class HttpServer : IHostedService { public static IServer ApiServer...
using BeetleX; using BeetleX.EventArgs; using Microsoft.Extensions.Hosting; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace PlatformBenchmarks { public class HttpServer : IHostedService { public static IServer ApiServer...
bsd-3-clause
C#
abf4cadab49e7baac51700029f29181550924e8c
Enable sliding expiration by default as that is what the Tea Commerce cache does
TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco
Source/TeaCommerce.Umbraco.Application/Caching/UmbracoRuntimeCacheService.cs
Source/TeaCommerce.Umbraco.Application/Caching/UmbracoRuntimeCacheService.cs
using System; using TeaCommerce.Api.Dependency; using TeaCommerce.Api.Infrastructure.Caching; using Umbraco.Core; using Umbraco.Core.Cache; namespace TeaCommerce.Umbraco.Application.Caching { [SuppressDependency("TeaCommerce.Api.Infrastructure.Caching.ICacheService", "TeaCommerce.Api")] public class UmbracoRu...
using System; using TeaCommerce.Api.Dependency; using TeaCommerce.Api.Infrastructure.Caching; using Umbraco.Core; using Umbraco.Core.Cache; namespace TeaCommerce.Umbraco.Application.Caching { [SuppressDependency("TeaCommerce.Api.Infrastructure.Caching.ICacheService", "TeaCommerce.Api")] public class UmbracoRu...
mit
C#
3b47f8dd6815eb88c6f5ff4139b1ab5982c3c80c
increase images range
M1chaelTran/Fun-Match-Game,M1chaelTran/Fun-Match-Game,M1chaelTran/Fun-Match-Game
FunMatchGame/Repositories/SetRepository.cs
FunMatchGame/Repositories/SetRepository.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; using AutoMapper; using FunMatchGame.Models; using Newtonsoft.Json; namespace FunMatchGame.Repositories { public class SetRepository : ISetRepository { private ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using System.Web; using AutoMapper; using FunMatchGame.Models; using Newtonsoft.Json; namespace FunMatchGame.Repositories { public class SetRepository : ISetRepository { private ...
mit
C#
82ec97343a604e166d3667cfaca758027d8a344d
Fix a missing semicolon in an example
MRCollective/MicrotestingPresentation
code_examples/01-SubcutaneousTestsVsImplementationTests/subcutaneous-test.cs
code_examples/01-SubcutaneousTestsVsImplementationTests/subcutaneous-test.cs
public class StudentControllerTests { [SetUp] public void Setup() { _fixture = new DatabaseFixture(); _controller = new StudentController(new StudentRepository(_fixture.Context)); } [Test] public void IndexAction_ShowsAllStudentsOrderedByName() { var expectedStudents = new List<Student> { ...
public class StudentControllerTests { [SetUp] public void Setup() { _fixture = new DatabaseFixture(); _controller = new StudentController(new StudentRepository(_fixture.Context)); } [Test] public void IndexAction_ShowsAllStudentsOrderedByName() { var expectedStudents = new List<Student> { ...
mit
C#
d44662bce026e82990476fd9ccd7406e49f790b0
Remove unconventional "age_eq" filter.
Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module,Lombiq/Orchard-Training-Demo-Module
GraphQL/Services/ContentItemTypeBuilder.cs
GraphQL/Services/ContentItemTypeBuilder.cs
using GraphQL.Types; using OrchardCore.ContentManagement.GraphQL.Queries.Types; using OrchardCore.ContentManagement.Metadata.Models; using System.Linq; namespace Lombiq.TrainingDemo.GraphQL.Services { // Services that implement IContentTypeBuilder extend the features of existing ContentItem type fields, in...
using GraphQL.Types; using OrchardCore.ContentManagement.GraphQL.Queries.Types; using OrchardCore.ContentManagement.Metadata.Models; using System.Linq; namespace Lombiq.TrainingDemo.GraphQL.Services { // Services that implement IContentTypeBuilder extend the features of existing ContentItem type fields, in...
bsd-3-clause
C#