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
18bfabebecf40a50391c21cb90e80048103088f6
Add dynamic entity update into default list of directives
stoiveyp/alexa-skills-dotnet,timheuer/alexa-skills-dotnet
Alexa.NET/Response/Converters/DirectiveConverter.cs
Alexa.NET/Response/Converters/DirectiveConverter.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using Alexa.NET.Response.Directive; using Newtonsoft.Json.Linq; namespace Alexa.NET.Response.Converters { public class DirectiveConverter : JsonConverter { public override bool CanRead => true; public override bool CanWrit...
using Newtonsoft.Json; using System; using System.Collections.Generic; using Alexa.NET.Response.Directive; using Newtonsoft.Json.Linq; namespace Alexa.NET.Response.Converters { public class DirectiveConverter : JsonConverter { public override bool CanRead => true; public override bool CanWrit...
mit
C#
59ccce331e6f82bbb71f7d70c382ceba49e4d45b
Allow anonymous on the error page
mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander,mattgwagner/Battery-Commander
Battery-Commander.Web/Controllers/HomeController.cs
Battery-Commander.Web/Controllers/HomeController.cs
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { ...
using BatteryCommander.Web.Models; using BatteryCommander.Web.Services; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Threading.Tasks; namespace BatteryCommander.Web.Controllers { ...
mit
C#
0d6467b597e6edb44c29791aac406db4f391e4be
add example call for datetimeparser
datalust/superpower,datalust/superpower
sample/DateTimeParser/Program.cs
sample/DateTimeParser/Program.cs
using System; using Superpower; namespace DateTimeParser { class Program { static void ParseAndPrint(string input) { try { var dt = DateTimeParser.DateTime.Parse(input); Console.WriteLine("Input: '{0}', ParsedValue: '{1}'", input, dt.ToSt...
using System; namespace DateTimeParser { class Program { static void Main(string[] args) { Console.WriteLine("Hello World!"); } } }
apache-2.0
C#
0301a7b21a538b73b5ca2ee65b8395f61eac5356
Fix mysql transaction rollback bug(#598)
ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP
src/DotNetCore.CAP.MySql/IDbContextTransaction.CAP.cs
src/DotNetCore.CAP.MySql/IDbContextTransaction.CAP.cs
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using DotNetCore.CAP; // ReSharper disable once CheckNamespace namespace Microsoft.EntityFrame...
// Copyright (c) .NET Core Community. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System; using System.Threading; using System.Threading.Tasks; using DotNetCore.CAP; // ReSharper disable once CheckNamespace namespace Microsoft.EntityFrame...
mit
C#
0fc43494513ab52cfc88e79e27248ab09f171a8b
Change NotifyAdministrators to send a message instead of an email
ucdavis/Badges,ucdavis/Badges
Badges/Services/NotificationService.cs
Badges/Services/NotificationService.cs
using Badges.Core.Domain; using Badges.Core.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Web; namespace Badges.Services { public interface INotificationService { void Notify(User user, string message); void No...
using Badges.Core.Domain; using Badges.Core.Repositories; using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Web; namespace Badges.Services { public interface INotificationService { void Notify(User user, string message); void No...
mpl-2.0
C#
1c0f9a6930d6e142edf66f0303bc3d13233c9fe0
Add configuration options
EamonNerbonne/ExpressionToCode
ExpressionToCodeLib/ObjectStringify.cs
ExpressionToCodeLib/ObjectStringify.cs
using System; using System.Linq; using ExpressionToCodeLib.Internal; namespace ExpressionToCodeLib { public static class ObjectStringify { public static readonly IObjectStringifier Default = new ObjectStringifyImpl(); public static readonly IObjectStringifier WithFullTypeNames = new O...
using System; using System.Linq; using ExpressionToCodeLib.Internal; namespace ExpressionToCodeLib { public static class ObjectStringify { public static readonly IObjectStringifier Default = new ObjectStringifyImpl(); public static readonly IObjectStringifier WithFullTypeNames = new O...
apache-2.0
C#
a2a935cad8a091a5ef33c1366275f7dd16da8f48
Remove unnecessary suppressions.
GGG-KILLER/GUtils.NET
GUtils.CLI.Tests/GlobalSuppressions.cs
GUtils.CLI.Tests/GlobalSuppressions.cs
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modi...
/* * Copyright © 2019 GGG KILLER <gggkiller2@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the “Software”), to deal in the Software without * restriction, including without limitation the rights to use, copy, modi...
mit
C#
84c3f4de340a96d6a1e8d1db1b8bb928918c8890
Update version to 4.9.5
GibraltarSoftware/Gibraltar.Agent.Web.Module,GibraltarSoftware/Gibraltar.Agent.Web.Module,GibraltarSoftware/Gibraltar.Agent.Web.Module
Src/Loupe.Agent.Web.Module/Properties/AssemblyInfo.cs
Src/Loupe.Agent.Web.Module/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("Lo...
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("Lo...
apache-2.0
C#
cce08cd52b6629d3ed3e2e4fadff1dae1742e661
update version
brookshi/LLMListView
LLMListView/Properties/AssemblyInfo.cs
LLMListView/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("LL...
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("LL...
apache-2.0
C#
56fdfc7ba312bcf3f229b59e94c3e0aac994b461
Add document icon to Help tree nodes
jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl
MatterControlLib/SetupWizard/HelpArticleTreeNode.cs
MatterControlLib/SetupWizard/HelpArticleTreeNode.cs
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2019, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
3f037a720dcba19803b7e333f4538a6b2b44bffd
Remove unnecessary imports.
xoofx/roslyn,xasx/roslyn,stephentoub/roslyn,abock/roslyn,jcouv/roslyn,physhi/roslyn,jeffanders/roslyn,dotnet/roslyn,MattWindsor91/roslyn,mgoertz-msft/roslyn,yeaicc/roslyn,mattwar/roslyn,weltkante/roslyn,pdelvo/roslyn,bartdesmet/roslyn,KevinRansom/roslyn,paulvanbrenk/roslyn,diryboy/roslyn,physhi/roslyn,CyrusNajmabadi/ro...
src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.cs
src/Workspaces/Core/Portable/FindSymbols/SyntaxTree/SyntaxTreeIdentifierInfo_Set.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.Collections.Generic; using System.Threading; using Microsoft.CodeAnalysis.Host; namespace Microsoft.CodeAnalysis.FindSymbols { internal par...
// 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.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Host; using Microsoft.CodeAnalysis.Share...
mit
C#
74156e8e302fd7b547c39d87e8a99f994c0f971c
Fix thinko
danmiser/MonoTouch.Dialog,benoitjadinon/MonoTouch.Dialog,hisystems/MonoTouch.Dialog,jstedfast/MonoTouch.Dialog,migueldeicaza/MonoTouch.Dialog,newky2k/MonoTouch.Dialog,Milan1992/MonoTouch.Dialog,ClusterReplyBUS/MonoTouch.Dialog
MonoTouch.Dialog/Utilities/Graphics.cs
MonoTouch.Dialog/Utilities/Graphics.cs
using System; using MonoTouch.CoreGraphics; using System.Drawing; namespace MonoTouch.Dialog { public static class GraphicsUtil { /// <summary> /// Creates a path for a rectangle with rounded corners /// </summary> /// <param name="rect"> /// The <see cref="RectangleF"/> rectangle bounds /// </param>...
using System; using MonoTouch.CoreGraphics; using System.Drawing; namespace MonoTouch.Dialog { public static class GraphicsUtil { /// <summary> /// Creates a path for a rectangle with rounded corners /// </summary> /// <param name="rect"> /// The <see cref="RectangleF"/> rectangle bounds /// </param>...
mit
C#
d3d4adec3e4964fa1c7f869ed24eb2631ff2065f
debug board views
avisuj/myeventurl,avisuj/myeventurl,avisuj/myeventurl
MyEventURL/Views/Boards/Details.cshtml
MyEventURL/Views/Boards/Details.cshtml
@model MyEventURL.Models.Board @{ ViewBag.Title = "Details"; if (ViewBag.Embed) { Layout = "~/Views/Shared/_BlankLayout.cshtml"; } } <div style="margin:10px"><h2>@Model.BoardName</h2></div> @{ string[] emailarray = Model.Email.Split('@'); if ((Model.Private == true) && (ViewBag.Dom...
@{ ViewBag.Title = "Details"; if (ViewBag.Embed) { Layout = "~/Views/Shared/_BlankLayout.cshtml"; } } <div style="margin:10px"><h2>@Model.BoardName</h2></div> @{ string[] emailarray = Model.Email.Split('@'); if ((Model.Private == true) && (ViewBag.Domain != emailarray[1])) { ...
mit
C#
54de85afa11100655ca604b2a7972b467e6a6e8b
Comment some of the attributes.
Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600,Yttrmin/CSharpTo2600
VCSFramework/Attributes.cs
VCSFramework/Attributes.cs
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; [assembly: InternalsVisibleTo("VCSCompiler")] namespace VCSFramework { /// <summary> /// Instructs compiler to replace all invocations of this method with its body. /// </summary> [DoNotCompile] [AttributeU...
using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Text; [assembly: InternalsVisibleTo("VCSCompiler")] namespace VCSFramework { [DoNotCompile] [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] public sealed class AlwaysInlineAttribute : Attribute { ...
mit
C#
7195eb842eaf62c88185b73b534b6bee031830a2
Fix bug #33 - non-localized calendar
diolive/cache,diolive/cache
DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_DatePickersScriptsPartial.cshtml
DioLive.Cache/src/DioLive.Cache.WebUI/Views/Shared/_DatePickersScriptsPartial.cshtml
@{ string culture = System.Globalization.CultureInfo.CurrentUICulture.Name.Split('-')[0]; } <script> CFG.dateFormat = 'yyyy-mm-dd'; CFG.culture = '@culture'; </script> <environment names="Development"> <script src="~/js/lib/bootstrap-datepicker.js"></script> </environment> <environment names="Staging,...
@{ string culture = System.Globalization.CultureInfo.CurrentUICulture.Name; } <script> CFG.dateFormat = 'yyyy-mm-dd'; CFG.culture = '@culture'; </script> <environment names="Development"> <script src="~/js/lib/bootstrap-datepicker.js"></script> </environment> <environment names="Staging,Production"> ...
mit
C#
4035e17d081b0aa36a551967062b595c9159fbcf
Edit copyright (mistake).
mntone/NintendoNetworkHelper
Mntone.NintendoNetworkHelper/Mntone.NintendoNetworkHelper/Properties/AssemblyInfo.cs
Mntone.NintendoNetworkHelper/Mntone.NintendoNetworkHelper/Properties/AssemblyInfo.cs
using System.Resources; using System.Reflection; using Mntone.NintendoNetworkHelper.Internal; [assembly: AssemblyTitle(AssemblyInfo.Name)] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany(AssemblyInfo.Author)] [assembly: AssemblyProduct(AssemblyInfo.Name)] [assembly...
using System.Resources; using System.Reflection; using Mntone.NintendoNetworkHelper.Internal; [assembly: AssemblyTitle(AssemblyInfo.Name)] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("mntone")] [assembly: AssemblyProduct(AssemblyInfo.Name)] [assembly: AssemblyC...
mit
C#
c93869427efd3a795e1af406478664fe6c5196d0
Fix failing test
Zvirja/ReSharperHelpers
code/AlexPovar.ReSharperHelpers.Tests/ContextActions/CopyFullClassNameActionTests.cs
code/AlexPovar.ReSharperHelpers.Tests/ContextActions/CopyFullClassNameActionTests.cs
using AlexPovar.ReSharperHelpers.ContextActions; using JetBrains.Application.Components; using JetBrains.Application.UI.Components; using NUnit.Framework; namespace AlexPovar.ReSharperHelpers.Tests.ContextActions { public class CopyFullClassNameActionTests : PathedContextActionExecuteTestBase<CopyFullClassNameActio...
using AlexPovar.ReSharperHelpers.ContextActions; using NUnit.Framework; namespace AlexPovar.ReSharperHelpers.Tests.ContextActions { public class CopyFullClassNameActionTests : PathedContextActionExecuteTestBase<CopyFullClassNameAction> { [Test] public void TestFileIsNotChanged() { this.DoNamedTest2(); } ...
mit
C#
30d4dd93558f00bb806612040568e3827ec41d3e
Change + rank strings to be cleaner for the end-user
smoogipoo/osu,peppy/osu,peppy/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,peppy/osu,ZLima12/osu,johnn...
osu.Game/Scoring/ScoreRank.cs
osu.Game/Scoring/ScoreRank.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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
// 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.ComponentModel; namespace osu.Game.Scoring { public enum ScoreRank { [Description(@"F")] F, [Description(@"F")] D,...
mit
C#
7eff1409557ed9546036a297ca3ebc99131ce61a
Add more supported commands to test
yishn/GTPWrapper
GTPWrapperTest/Program.cs
GTPWrapperTest/Program.cs
using GTPWrapper; using GTPWrapper.DataTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapperTest { public class Program { static void Main(string[] args) { Engine engine = new Engine(); engine...
using GTPWrapper; using GTPWrapper.DataTypes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GTPWrapperTest { public class Program { static void Main(string[] args) { Engine engine = new Engine(); engine...
mit
C#
6d29ff092869b2e58ae983c8919bec93b2b6cc9b
Fix banana showers not using cancellation token
smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,peppy/osu,ppy/osu,peppy/osu-new,NeoAdonis/osu,peppy/osu
osu.Game.Rulesets.Catch/Objects/BananaShower.cs
osu.Game.Rulesets.Catch/Objects/BananaShower.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.Threading; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catch.Objects { public class BananaSh...
// 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.Threading; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects.Types; namespace osu.Game.Rulesets.Catch.Objects { public class BananaSh...
mit
C#
777a68b07d2c6ad3aeb98c62defff0182598796e
Add generic TSessionProperty to SessionMiddlewareOptions class
huysentruitw/owin-session-middleware
src/OwinSessionMiddleware/SessionMiddlewareOptions.cs
src/OwinSessionMiddleware/SessionMiddlewareOptions.cs
using System; using System.Security.Cryptography; namespace OwinSessionMiddleware { public class SessionMiddlewareOptions<TSessionProperty> { public static class Defaults { public const string CookieName = "osm.sid"; public const string SessionContextOwinEnvironmentKey...
using System; using System.Security.Cryptography; namespace OwinSessionMiddleware { public class SessionMiddlewareOptions { public static class Defaults { public const string CookieName = "osm.sid"; public const string SessionContextOwinEnvironmentKey = "OSM.SessionCon...
apache-2.0
C#
27518e5e2cf1867c1ad1cbe96fb6d204a8acc49a
Modify CatalogItem for stocking
productinfo/eShopOnContainers,albertodall/eShopOnContainers,albertodall/eShopOnContainers,skynode/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,dotnet-architecture/eShopOnContainers,productinfo/eShopOnContainers,skynode/eShopOnContainers,productinfo/eShopOnContainers...
src/Services/Catalog/Catalog.API/Model/CatalogItem.cs
src/Services/Catalog/Catalog.API/Model/CatalogItem.cs
using Catalog.API.Infrastructure.Exceptions; using System; namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model { public class CatalogItem { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public decimal Price ...
using System; namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model { public class CatalogItem { public int Id { get; set; } public string Name { get; set; } public string Description { get; set; } public decimal Price { get; set; } public string PictureU...
mit
C#
3c427dfe62a499152300708727638851afebe6c0
Test again
Laumania/Dinero.Tools,Laumania/Dinero.Tools
Dinero.Tools.Difference/Dinero.Tools.Difference.Web/Views/Shared/Error.cshtml
Dinero.Tools.Difference/Dinero.Tools.Difference.Web/Views/Shared/Error.cshtml
@model System.Web.Mvc.HandleErrorInfo @{ ViewBag.Title = "Ups, noget gik galt... "; } <div class="container" role="main"> <div class="row"> <div class="col-md-12"> <h1 class="error">@ViewBag.Title</h1> </div> </div> <div class="row"> <div class="col-md-12"> ...
@*@model System.Web.Mvc.HandleErrorInfo*@ @model Exception @{ ViewBag.Title = "Ups, noget gik galt... "; } <div class="container" role="main"> <div class="row"> <div class="col-md-12"> <h1 class="error">@ViewBag.Title</h1> </div> </div> <div class="row"> <div cla...
mit
C#
633199938fec473556cffd84ff2b952517af05b9
Move to SemVer for packaging
alfhenrik/ScriptCs.OctoKit
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
src/ScriptCs.Octokit/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("ScriptCs.Octokit")] [assembly: AssemblyDescription("Octokit Script Pack for ScriptCs.")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Henrik Andersson")] [assembly: AssemblyProduct("ScriptCs.Octokit")] [assem...
mit
C#
7767bce322aae79e2d865586c79de718c8681ed4
Bump version #.
google/access-bridge-explorer
src/WindowsAccessBridgeInterop/VersionNumber.cs
src/WindowsAccessBridgeInterop/VersionNumber.cs
// Copyright 2016 Google 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 // // Unless required b...
// Copyright 2016 Google 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 // // Unless required b...
apache-2.0
C#
605d37321a785610a886d5c3cfc7c958e5a3e216
Update ReverseString.cs
michaeljwebb/Algorithm-Practice
LeetCode/ReverseString.cs
LeetCode/ReverseString.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; class ReverseString { public string Reverse_String(string s) { char[] sArray = s.ToCharArray(); string result = ""; for (int i = sArray.Length - 1; i >= 0; i--) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class ReverseString { public string Reverse_String(string s) { char[] sArray = s.ToCharArray(); string result = ""; for (int i = sArray.Length ...
mit
C#
8abbf42eac53327ea3ef1a77a2ab9dda216385a7
Fix #3 Remove "name" property from link-templates
JornWildt/Mason,JornWildt/Mason
Mason.Net/LinkTemplate.cs
Mason.Net/LinkTemplate.cs
using Newtonsoft.Json; using System.Collections.Generic; namespace Mason.Net { public class LinkTemplate { [JsonIgnore] public string name { get; set; } public string template { get; set; } public string title { get; set; } public string description { get; set; } publ...
using System.Collections.Generic; namespace Mason.Net { public class LinkTemplate { public string name { get; set; } public string template { get; set; } public string title { get; set; } public string description { get; set; } public List<LinkTemplateParameter> parameters ...
mit
C#
d22f213cf70f09150fd0aa8c257be7db1b684cf0
Update NotesRepository.cs
CarmelSoftware/MVCDataRepositoryXML
Models/NotesRepository.cs
Models/NotesRepository.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace IoCDependencyInjection.Models { public class NotesRepository : INotesRepository { private List<Note> notes = new List<Note>(); private int iNumberOfEntries = 1; private XDocument doc; public NotesRepo...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Xml.Linq; namespace IoCDependencyInjection.Models { public class NotesRepository : INotesRepository { private List<Note> notes = new List<Note>(); private int iNumberOfEntries = 1; private XDocument doc; public NotesRepo...
mit
C#
78aea35fdcd73567abcdaf87045376bfbbc20fba
Remove geometry from PointInWorldUnits sample
charlenni/Mapsui,pauldendulk/Mapsui,charlenni/Mapsui
Tests/Mapsui.Tests.Common/Maps/PointInWorldUnits.cs
Tests/Mapsui.Tests.Common/Maps/PointInWorldUnits.cs
using System.Collections.Generic; using Mapsui.Layers; using Mapsui.Providers; using Mapsui.Samples.Common; using Mapsui.Styles; using Mapsui.UI; namespace Mapsui.Tests.Common.Maps { public class PointInWorldUnits : ISample { public string Name => "Point in World Units"; public string Category...
using System.Collections.Generic; using Mapsui.Geometries; using Mapsui.GeometryLayer; using Mapsui.Layers; using Mapsui.Providers; using Mapsui.Samples.Common; using Mapsui.Styles; using Mapsui.UI; namespace Mapsui.Tests.Common.Maps { public class PointInWorldUnits : ISample { public string Name => "...
mit
C#
2ae5302bbf1efc7f98855ae59fa7bc1c027d9b86
use raw api to delete
os2kitos/kitos,os2kitos/kitos,os2kitos/kitos,os2kitos/kitos
Tools.Test.Database/Model/Tasks/DropDatabaseTask.cs
Tools.Test.Database/Model/Tasks/DropDatabaseTask.cs
namespace Tools.Test.Database.Model.Tasks { public class DropDatabaseTask : DatabaseTask { private readonly string _connectionString; public DropDatabaseTask(string connectionString) : base(connectionString) { _connectionString = connectionString; } ...
namespace Tools.Test.Database.Model.Tasks { public class DropDatabaseTask : DatabaseTask { public DropDatabaseTask(string connectionString) : base(connectionString) { } public override bool Execute() { using (var context = CreateKitosContext()) ...
mpl-2.0
C#
16fdfe3af834bcad78c5cfc51a51eb6cb8227c76
Fix Alarm clock snooze command
samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays
TwitchPlaysAssembly/Src/Commands/AlarmClockCommands.cs
TwitchPlaysAssembly/Src/Commands/AlarmClockCommands.cs
using System.Collections; using System.Reflection; using Assets.Scripts.Props; /// <summary>Commands for the alarm clock.</summary> public static class AlarmClockCommands { [Command("snooze")] public static IEnumerator Snooze(TwitchHoldable holdable, string user, bool isWhisper) => holdable.RespondToCommand(user,...
using System.Collections; using System.Reflection; using Assets.Scripts.Props; /// <summary>Commands for the alarm clock.</summary> public static class AlarmClockCommands { [Command(@"snooze")] public static IEnumerator Snooze(AlarmClock clock, string user, bool isWhisper) { var onField = typeof(AlarmClock).Get...
mit
C#
2c510317c27576cb6a6ddef8b848999bc4d17106
Update HttpTests.cs
hprose/hprose-dotnet
tests/Hprose.UnitTests/RPC/HttpTests.cs
tests/Hprose.UnitTests/RPC/HttpTests.cs
using Hprose.RPC; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Net; using System.Threading.Tasks; namespace Hprose.UnitTests.RPC { [TestClass] public class HttpTest { public Task<int> Sum(int x, int y) { return Task<int>.Factory.StartNew(() => x + y); } ...
using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Threading.Tasks; using System.Reflection; using System; using Hprose.RPC; using System.Net; namespace Hprose.UnitTests.RPC { [TestClass] public class HttpTest { public Task<int> Sum(int x, int y) { return Task<int>.Factory.St...
mit
C#
a1581e99c3d82619e981b89ebfccead5a6891a69
Print Function uses ValueUtilities.AsPrintString
ajlopez/PythonSharp,ajlopez/PythonSharp
Src/PythonSharp/Functions/PrintFunction.cs
Src/PythonSharp/Functions/PrintFunction.cs
namespace PythonSharp.Functions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using PythonSharp.Language; using PythonSharp.Utilities; public class PrintFunction : IFunction { private Machine machine; public PrintF...
namespace PythonSharp.Functions { using System; using System.Collections.Generic; using System.Linq; using System.Text; using PythonSharp.Language; public class PrintFunction : IFunction { private Machine machine; public PrintFunction(Machine machine) ...
mit
C#
66fb79bafb75672c28d2c12dc563c9102663b0e0
Add method to convert scientific notation string to float
tparviainen/oscilloscope
SCPI/Extensions/ValueTypeExtensions.cs
SCPI/Extensions/ValueTypeExtensions.cs
using System.Globalization; namespace SCPI.Extensions { public static class ValueTypeExtensions { /// <summary> /// Checks that the value is within specified range /// </summary> /// <param name="value">Value to check</param> /// <param name="minValue">The inclusive low...
namespace SCPI.Extensions { public static class ValueTypeExtensions { /// <summary> /// Checks that the value is within specified range /// </summary> /// <param name="value">Value to check</param> /// <param name="minValue">The inclusive lower bound</param> /// ...
mit
C#
1cb26fc120f1bbd290b454ab45b30c12c6a581c5
fix using
drebrez/DiscUtils
Tests/LibraryTests/Swap/SampleDataTests.cs
Tests/LibraryTests/Swap/SampleDataTests.cs
using System.Collections.Generic; using System.IO; using DiscUtils; using DiscUtils.Complete; using DiscUtils.Streams; using DiscUtils.Swap; using DiscUtils.Vhdx; using LibraryTests.Utilities; using Xunit; namespace LibraryTests.Swap { public class SampleDataTests { [Fact] public void SwapVhdxG...
using System.Collections.Generic; using System.IO; using DiscUtils; using DiscUtils.Complete; using DiscUtils.Swap; using DiscUtils.Vhdx; using LibraryTests.Utilities; using Xunit; namespace LibraryTests.Swap { public class SampleDataTests { [Fact] public void SwapVhdxGzip() { ...
mit
C#
ee1b2c5f286b9e18bad9c34c7a51ad42700da4fb
Initialize AppHarborClient with api
appharbor/appharbor-cli
src/AppHarbor/AppHarborClient.cs
src/AppHarbor/AppHarborClient.cs
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AppHarborApi _api; public AppHarborClient(string AccessToken) { var authInfo = new AuthInfo { AccessToken = AccessToken }; try { _api = ...
using System; using System.Collections.Generic; using AppHarbor.Model; namespace AppHarbor { public class AppHarborClient : IAppHarborClient { private readonly AuthInfo _authInfo; public AppHarborClient(string AccessToken) { _authInfo = new AuthInfo { AccessToken = AccessToken }; } public CreateResul...
mit
C#
8f827c0574319968e8bc470d5781fa4af7163df2
change AssemblyBuilderAccess
AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions,AspectCore/AspectCore-Framework
src/AspectCore.Lite.Abstractions.Resolution/Generators/ModuleGenerator.cs
src/AspectCore.Lite.Abstractions.Resolution/Generators/ModuleGenerator.cs
using System; using System.Collections.Concurrent; using System.Reflection; using System.Reflection.Emit; namespace AspectCore.Lite.Abstractions.Resolution.Generators { internal sealed class ModuleGenerator { private static readonly ModuleGenerator instance = new ModuleGenerator(); internal st...
using System; using System.Collections.Concurrent; using System.Reflection; using System.Reflection.Emit; namespace AspectCore.Lite.Abstractions.Resolution.Generators { internal sealed class ModuleGenerator { private static readonly ModuleGenerator instance = new ModuleGenerator(); internal st...
mit
C#
39ff66345dd0cd6959bc6b6460302f5562053fcd
clean up mailchimp controller
2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms,2sic/app-mobius-forms
api/MailchimpController.cs
api/MailchimpController.cs
using System; using DotNetNuke.Security; using DotNetNuke.Web.Api; using System.Web.Http; using ToSic.SexyContent.WebApi; using System.Web.Compilation; using System.Runtime.CompilerServices; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading...
using System; using DotNetNuke.Security; using DotNetNuke.Web.Api; using System.Web.Http; using ToSic.SexyContent.WebApi; using System.Web.Compilation; using System.Runtime.CompilerServices; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Threading...
mit
C#
112a434424debf0d3bdd4bc440b68a4ea90b0e2f
Allow for case-insensitive HasStringPrefix (#644)
Confruggy/Discord.Net,RogueException/Discord.Net,AntiTcb/Discord.Net
src/Discord.Net.Commands/Extensions/MessageExtensions.cs
src/Discord.Net.Commands/Extensions/MessageExtensions.cs
using System; namespace Discord.Commands { public static class MessageExtensions { public static bool HasCharPrefix(this IUserMessage msg, char c, ref int argPos) { var text = msg.Content; if (text.Length > 0 && text[0] == c) { argPos = 1; ...
namespace Discord.Commands { public static class MessageExtensions { public static bool HasCharPrefix(this IUserMessage msg, char c, ref int argPos) { var text = msg.Content; if (text.Length > 0 && text[0] == c) { argPos = 1; r...
mit
C#
91cd031fd10d92c4ca59b094fa8c504ef72ceb43
add ability to click a table cell
mvbalaw/FluentBrowserAutomation
src/FluentBrowserAutomation/Controls/TableCellWrapper.cs
src/FluentBrowserAutomation/Controls/TableCellWrapper.cs
using FluentBrowserAutomation.Accessors; namespace FluentBrowserAutomation.Controls { public class TableCellWrapper : BasicInfoWrapper, ICanBeClicked { public TableCellWrapper(RemoteWebElementWrapper tableCell, string howFound, IBrowserContext browserContext) : base(tableCell, howFound, browserContext) { } ...
using FluentBrowserAutomation.Accessors; namespace FluentBrowserAutomation.Controls { public class TableCellWrapper : BasicInfoWrapper { public TableCellWrapper(RemoteWebElementWrapper tableCell, string howFound, IBrowserContext browserContext) : base(tableCell, howFound, browserContext) { } public ReadO...
mit
C#
9f4ab5bee229a845e22cc2f8505f74926a7cbeaa
Mark the assembly as CLS compliant (#10)
huysentruitw/pem-utils
src/DerConverter/AssemblyInfo.cs
src/DerConverter/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("1.0.0.0")] [assembly: CLSCompliant(true)] [assembly: InternalsVisibleTo("DerConverter.Tests")]
using System.Reflection; using System.Runtime.CompilerServices; [assembly: AssemblyVersion("1.0.0.0")] [assembly: InternalsVisibleTo("DerConverter.Tests")]
apache-2.0
C#
24d5ff5512fe1c211a0796cdacb32bc36b4128b8
Fix broken terminal colour setting of TerminationConsoleReporter.
symbooglix/symbooglix,symbooglix/symbooglix,symbooglix/symbooglix
src/Symbooglix/Executor/TerminationHandlers/TerminationConsoleReporter.cs
src/Symbooglix/Executor/TerminationHandlers/TerminationConsoleReporter.cs
using System; using Microsoft.Boogie; using System.Collections.Generic; using System.Diagnostics; namespace Symbooglix { public class TerminationConsoleReporter : IExecutorEventHandler { public TerminationConsoleReporter() { } public static void WriteLine(ConsoleColor Colour ,s...
using System; using Microsoft.Boogie; using System.Collections.Generic; using System.Diagnostics; namespace Symbooglix { public class TerminationConsoleReporter : IExecutorEventHandler { public TerminationConsoleReporter() { } public static void WriteLine(ConsoleColor Colour ,s...
bsd-2-clause
C#
e41cf9f66d6fb677205023e89e4cf8231f98f18f
Increment version
bussemac/n2cms,nimore/n2cms,DejanMilicic/n2cms,n2cms/n2cms,SntsDev/n2cms,EzyWebwerkstaden/n2cms,nimore/n2cms,SntsDev/n2cms,n2cms/n2cms,VoidPointerAB/n2cms,DejanMilicic/n2cms,n2cms/n2cms,nicklv/n2cms,n2cms/n2cms,bussemac/n2cms,DejanMilicic/n2cms,VoidPointerAB/n2cms,EzyWebwerkstaden/n2cms,nicklv/n2cms,SntsDev/n2cms,nimor...
src/Framework/AssemblyVersion.cs
src/Framework/AssemblyVersion.cs
using System.Reflection; // Version information for an assembly consists of the following four values: You can specify all the values or you can default the Revision and Build Numbers by using the '*' as shown below: [assembly: AssemblyVersion("2.5")] [assembly: AssemblyFileVersion("2.5.0.1")]
using System.Reflection; // Version information for an assembly consists of the following four values: You can specify all the values or you can default the Revision and Build Numbers by using the '*' as shown below: [assembly: AssemblyVersion("2.5")] [assembly: AssemblyFileVersion("2.5")]
lgpl-2.1
C#
fa72b324a429c8ac0ac8dc36b843dfd40dc14de2
Convert Chrome to a Browser subclass
freenet/wintray,freenet/wintray
Browsers/Chrome.cs
Browsers/Chrome.cs
using System; using System.IO; using System.Linq; namespace FreenetTray.Browsers { class Chrome: Browser { /* * Google Chrome does not maintain a registry entry with a path to its executable. * Usual Google Chrome installation locations: * See https://code.google.com/p/selen...
using System; using System.Diagnostics; using System.IO; using System.Linq; namespace FreenetTray.Browsers { class Chrome : IBrowser { /* * Google Chrome does not maintain a registry entry with a path to its executable. * Usual Google Chrome installation locations: * See htt...
mit
C#
25c89c19313f791a575d3d3ceb1fbd0a10cc45b8
align variable names for NHibernate
aranasoft/cobweb
src/Testing.NHibernate4/Fetching/FakeFetchingProvider.cs
src/Testing.NHibernate4/Fetching/FakeFetchingProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Cobweb.Data.NHibernate.Fetching; namespace Cobweb.Testing.NHibernate.Fetching { public class FakeFetchingProvider : IFetchingProvider { public IFetchRequest<TOriginatingEntity, TFetch> Fetch<TOriginatin...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using Cobweb.Data.NHibernate.Fetching; namespace Cobweb.Testing.NHibernate.Fetching { public class FakeFetchingProvider : IFetchingProvider { public IFetchRequest<TOriginatingEntity, TFetch> Fetch<TOriginatin...
bsd-3-clause
C#
fb6ee5f436f21e1a57827780c63d49ad2283e632
Add optional invoice param
xamarin/XamarinStripe,haithemaraissia/XamarinStripe
XamarinStripe/StripeInvoiceItemInfo.cs
XamarinStripe/StripeInvoiceItemInfo.cs
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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/LIC...
/* * Copyright 2011 Joe Dluzen * * Author(s): * Joe Dluzen (jdluzen@gmail.com) * * 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/LIC...
apache-2.0
C#
f4dfaeae6c3367f8d9458ce0513665027cff24f0
Allow saving contacts again. Oops.
ekyoung/contact-repository,ekyoung/contact-repository
Source/Web/Controllers/ContactsController.cs
Source/Web/Controllers/ContactsController.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using AutoMapper; using EthanYoung.ContactRepository; using EthanYoung.ContactRepository.Contacts; using Web.Models; namespace Web.Controllers { public class ContactsController : ApiController { private readonly ...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; using AutoMapper; using EthanYoung.ContactRepository; using EthanYoung.ContactRepository.Contacts; using Web.Models; namespace Web.Controllers { public class ContactsController : ApiController { private readonly ...
mit
C#
cd89517a0b24994b7b26e1512e693904aa1582f7
Update IOrthodoxProvider.cs
tinohager/Nager.Date,tinohager/Nager.Date,tinohager/Nager.Date
Src/Nager.Date/Contract/IOrthodoxProvider.cs
Src/Nager.Date/Contract/IOrthodoxProvider.cs
using Nager.Date.Model; using System; namespace Nager.Date.Contract { /// <summary> /// Orthodox /// </summary> public interface IOrthodoxProvider { /// <summary> /// Get Orthodox easter for requested year /// </summary> /// <param name="year"></param> /// <r...
using Nager.Date.Model; using System; namespace Nager.Date.Contract { /// <summary> /// Orthodox /// </summary> public interface IOrthodoxProvider { /// <summary> /// Get Orthodox easter for requested year /// </summary> /// <param name="year"></param> /// <r...
mit
C#
31559b3df5f5a145d0f28fb9160c2f855bd68569
Update XML doc comment
modulexcite/dnlib,ZixiangBoy/dnlib,kiootic/dnlib,Arthur2e5/dnlib,jorik041/dnlib,ilkerhalil/dnlib,picrap/dnlib,yck1509/dnlib,0xd4d/dnlib
src/W32Resources/ResourceData.cs
src/W32Resources/ResourceData.cs
using System; using System.IO; using dot10.IO; namespace dot10.W32Resources { /// <summary> /// A resource blob /// </summary> public sealed class ResourceData : ResourceDirectoryEntry, IDisposable { IBinaryReader reader; uint codePage; uint reserved; /// <summary> /// Gets/sets the data reader. This i...
using System; using System.IO; using dot10.IO; namespace dot10.W32Resources { /// <summary> /// A resource blob /// </summary> public sealed class ResourceData : ResourceDirectoryEntry, IDisposable { IBinaryReader reader; uint codePage; uint reserved; /// <summary> /// Gets/sets the data reader. This i...
mit
C#
3f61c01d69e98a69915f6f02dd27991e2211fa3c
Enable automatic migrations
johanhelsing/vaskelista,johanhelsing/vaskelista
Vaskelista/Global.asax.cs
Vaskelista/Global.asax.cs
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Vaskelista.Models; namespace Vaskelista { public class MvcApplication : System.Web.HttpApplicat...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Web; using System.Web.Http; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; using Vaskelista.Models; namespace Vaskelista { public class MvcApplication : System.Web.HttpApplicat...
mit
C#
41a7e5f97792e9c46579fbe8fe2cb0acfe5cef5e
add ObserverController instance
maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,isse-augsburg/ssharp
models/SelfOrganizingPillProduction/Modeling/Model.cs
models/SelfOrganizingPillProduction/Modeling/Model.cs
using SafetySharp.Modeling; namespace SelfOrganizingPillProduction.Modeling { public class Model : ModelBase { public const int MaximumRecipeLength = 30; public const int ContainerStorageSize = 30; public const int MaximumRoleCount = 30; public const int MaximumResourceCount = ...
using SafetySharp.Analysis; using SafetySharp.Modeling; namespace SelfOrganizingPillProduction.Modeling { public class Model : ModelBase { public const int MaximumRecipeLength = 30; public const int ContainerStorageSize = 30; public const int MaximumRoleCount = 30; public const...
mit
C#
af3baad5d0a01ce7e340230642479114f68f456f
Build and publish nuget package
bfriesen/Rock.StaticDependencyInjection,RockFramework/Rock.StaticDependencyInjection
src/Properties/AssemblyInfo.cs
src/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("Ro...
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("Ro...
mit
C#
6b0679c092e3265608ca9d7ce94ab8bee679b66d
fix AppVeyor url test (second try)
qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox
Wox.Test/UrlPluginTest.cs
Wox.Test/UrlPluginTest.cs
using NUnit.Framework; using Wox.Infrastructure; using Wox.Plugin.Url; namespace Wox.Test { [TestFixture] public class UrlPluginTest { [OneTimeSetUp] public void Setup() { Constant.Initialize(); } [Test] public void URLMatchTest() ...
using NUnit.Framework; using Wox.Infrastructure; using Wox.Plugin.Url; namespace Wox.Test { [TestFixture] public class UrlPluginTest { [Test] public void URLMatchTest() { Constant.Initialize(); var plugin = new Main(); Assert.IsTrue(plugin.IsURL...
mit
C#
268fb8bf3c7b6e12ff9e5e33b26e3755b1e0205b
Add "Vsix" trait automatically to all VSIX test cases
kzu/xunit.vsix
src/Xunit.Vsix/VsixTestCase.cs
src/Xunit.Vsix/VsixTestCase.cs
using System; using System.Collections.Generic; using System.ComponentModel; using Xunit.Abstractions; using Xunit.Sdk; namespace Xunit { class VsixTestCase : XunitTestCase { [EditorBrowsable (EditorBrowsableState.Never)] [Obsolete ("Called by the de-serializer; should only be called by deriving classes for de-...
using System; using System.Collections.Generic; using System.ComponentModel; using Xunit.Abstractions; using Xunit.Sdk; namespace Xunit { class VsixTestCase : XunitTestCase { [EditorBrowsable (EditorBrowsableState.Never)] [Obsolete ("Called by the de-serializer; should only be called by deriving classes for de-...
mit
C#
99b604c00ec2a62d837c6c1e8342d55a51d28cb6
Update assembly version to 0.5
wooga/nunitlite,nunit/nunitlite,nunit/nunitlite
src/NUnitLite/AssemblyInfo.cs
src/NUnitLite/AssemblyInfo.cs
// ***************************************************** // Copyright 2007, Charlie Poole // // Licensed under the Open Software License version 3.0 // ***************************************************** using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; ...
// ***************************************************** // Copyright 2007, Charlie Poole // // Licensed under the Open Software License version 3.0 // ***************************************************** using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; ...
mit
C#
eee4fdd1792649fe828e5c191a3103c053216362
fix endpoint
Ulterius/server
RemoteTaskServer/TaskServer/Network/PacketHandlers/NetworkPacketHandler.cs
RemoteTaskServer/TaskServer/Network/PacketHandlers/NetworkPacketHandler.cs
#region using System; using UlteriusServer.TaskServer.Network.Messages; using UlteriusServer.TaskServer.Network.Models; using UlteriusServer.TaskServer.Services.Network; using UlteriusServer.WebSocketAPI.Authentication; using static UlteriusServer.TaskServer.Network.PacketManager; #endregion namespace UlteriusServe...
#region using UlteriusServer.TaskServer.Network.Messages; using UlteriusServer.TaskServer.Network.Models; using UlteriusServer.TaskServer.Services.Network; using UlteriusServer.WebSocketAPI.Authentication; using static UlteriusServer.TaskServer.Network.PacketManager; #endregion namespace UlteriusServer.TaskServer.N...
mpl-2.0
C#
d15557617a39dd70098ec027aeb735b8201ef8ea
add anchor title in menu item.
jtm789/CMS,lingxyd/CMS,techwareone/Kooboo-CMS,andyshao/CMS,Kooboo/CMS,andyshao/CMS,jtm789/CMS,Kooboo/CMS,lingxyd/CMS,jtm789/CMS,techwareone/Kooboo-CMS,techwareone/Kooboo-CMS,lingxyd/CMS,andyshao/CMS,Kooboo/CMS
Kooboo.CMS/Kooboo.CMS.Web/Views/Shared/MenuItem.cshtml
Kooboo.CMS/Kooboo.CMS.Web/Views/Shared/MenuItem.cshtml
@model Kooboo.Web.Mvc.Menu.MenuItem @if (Model.Visible) { var menuItem = Model as Kooboo.Web.Mvc.Menu.MenuItem; if (menuItem != null) { var controller = menuItem.Controller ?? ViewContext.RequestContext.GetRequestValue("controller"); var folderClass = ""; var folderControllders = ne...
@model Kooboo.Web.Mvc.Menu.MenuItem @if (Model.Visible) { var menuItem = Model as Kooboo.Web.Mvc.Menu.MenuItem; if (menuItem != null) { var controller = menuItem.Controller ?? ViewContext.RequestContext.GetRequestValue("controller"); var folderClass = ""; var folderControllders = ne...
bsd-3-clause
C#
fa4bbec27563c787cf8f0a44a309c62b2bb99c6f
fix header
OBeautifulCode/OBeautifulCode.Build
Conventions/VisualStudioProjectTemplates/Assembly.Test/[SUBSYSTEM_NAME]dummyfactory.designer.cs
Conventions/VisualStudioProjectTemplates/Assembly.Test/[SUBSYSTEM_NAME]dummyfactory.designer.cs
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="[SUBSYSTEM_NAME]DummyFactory.designer.cs" company="OBeautifulCode"> // Copyright (c) OBeautifulCode 2018. All rights reserved. // </copyright> // <auto-generated> // Sourced f...
// -------------------------------------------------------------------------------------------------------------------- // <auto-generated> // Sourced from NuGet package [VISUAL_STUDIO_TEMPLATE_PACKAGE_NAME] ([VISUAL_STUDIO_TEMPLATE_PACKAGE_VERSION]) // </auto-generated> // ------------------------------------------...
mit
C#
d4df29a13448e0fb68b038a8f6b90021d07a6824
fix vari
vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf
src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/Utility/GetInfoRichiesta.cs
src/backend/SO115App.Persistence.MongoDB/GestioneInterventi/Utility/GetInfoRichiesta.cs
using SO115App.API.Models.Classi.Marker; using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso; using SO115App.Models.Servizi.Infrastruttura.InfoRichiesta; namespace SO115App.Persistence.MongoDB.GestioneInterventi.Utility { internal class GetInfoRichiesta : IGetInfoRichiesta { private readonly...
using SO115App.API.Models.Classi.Marker; using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso; using SO115App.Models.Servizi.Infrastruttura.InfoRichiesta; namespace SO115App.Persistence.MongoDB.GestioneInterventi.Utility { internal class GetInfoRichiesta : IGetInfoRichiesta { private readonly...
agpl-3.0
C#
e5986050c857418ea5c47fc1cb3cb850544098bc
improve logger
ben-spiller/OutlookBetterReminders
Logger.cs
Logger.cs
using System; using System.IO; using System.Threading; namespace BetterReminders { /// <summary> /// A trivial class for diagnostic logging to a text file in usuer=profiledir/AppData/Local/OutlookBetterReminders; /// also writes to the standard Diagnostics.Trace logger as a backup, though that's not so easy...
using System; using System.IO; using System.Threading; namespace BetterReminders { /// <summary> /// A trivial class for diagnostic logging to a text file in usuer=profiledir/AppData/Local/OutlookBetterReminders; /// also writes to the standard Diagnostics.Trace logger as a backup, though that's not so easy...
mit
C#
3effdf0f4d43c29b7c84c56e78f14763be4b42b4
Update UpdateCoinSwitchSettings.cshtml
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/Stores/UpdateCoinSwitchSettings.cshtml
BTCPayServer/Views/Stores/UpdateCoinSwitchSettings.cshtml
@using Microsoft.AspNetCore.Mvc.Rendering @model UpdateCoinSwitchSettingsViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Update Store CoinSwitch Settings"); } <h4>@ViewData["Title"]</h4> <partial name="_StatusMessage" for="StatusMessage"/> <div class=...
@using Microsoft.AspNetCore.Mvc.Rendering @model UpdateCoinSwitchSettingsViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Update Store CoinSwitch Settings"); } <h4>@ViewData["Title"]</h4> <partial name="_StatusMessage" for="StatusMessage"/> <div class=...
mit
C#
1b0da7c3783562a1e6cda3879922ec9f96497f9c
Add support to update the metadata property of an order line
Viincenttt/MollieApi,Viincenttt/MollieApi
Mollie.Api/Models/Order/Request/OrderLineUpdateRequest.cs
Mollie.Api/Models/Order/Request/OrderLineUpdateRequest.cs
using Mollie.Api.JsonConverters; using Newtonsoft.Json; namespace Mollie.Api.Models.Order { public class OrderLineUpdateRequest { /// <summary> /// A description of the order line, for example LEGO 4440 Forest Police Station. /// </summary> public string Name { get; set; } ...
namespace Mollie.Api.Models.Order { public class OrderLineUpdateRequest { /// <summary> /// A description of the order line, for example LEGO 4440 Forest Police Station. /// </summary> public string Name { get; set; } /// <summary> /// A link pointing to an image of...
mit
C#
bbcd6adb509146d71e3b7579d8166455d9cf26c3
bump AssemblyInfo - AssemblyFileVersion up to 1.32.0.0 to be consistent for Microsoft.Azure.Management.Sql.csproj (#6931)
yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,hyonholee/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,brjohnstmsf...
sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs
sdk/sqlmanagement/Microsoft.Azure.Management.SqlManagement/src/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System; using System.Resources; // 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: AssemblyConfigurati...
using System.Reflection; using System.Runtime.InteropServices; using System; using System.Resources; // 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: AssemblyConfigurati...
mit
C#
fa5568ff9263a3c0f46acc8dc93d9bca6fc578b5
Add public designator to tag
PietroProperties/holms.platformclient.net
csharp/HOLMS.Platform/HOLMS.Platform/Support/ReservationTags/MigratedReservationTag.cs
csharp/HOLMS.Platform/HOLMS.Platform/Support/ReservationTags/MigratedReservationTag.cs
namespace HOLMS.Platform.Support.ReservationTags { public class MigratedReservationTag : ReservationTagBase { protected override string[] GetDescriptorPartsAfterCategory() => new string[] { }; protected override string GetCategoryDescriptor() => MigratedBookingCategory; public...
namespace HOLMS.Platform.Support.ReservationTags { class MigratedReservationTag : ReservationTagBase { protected override string[] GetDescriptorPartsAfterCategory() => new string[] { }; protected override string GetCategoryDescriptor() => MigratedBookingCategory; public overri...
mit
C#
d33d65031c79d3100a9a37a3c9cef378e77a4471
Add a minimum size to the browser Form
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
Core/FormBrowser.Designer.cs
Core/FormBrowser.Designer.cs
namespace TweetDck.Core { sealed partial class FormBrowser { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
namespace TweetDck.Core { sealed partial class FormBrowser { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
mit
C#
71aa843bfe0fcefdcda5aaba1b017ce099077fb0
Use Traversal.Create.
ExRam/ExRam.Gremlinq
src/ExRam.Gremlinq.Core/Projections/GroupProjection.cs
src/ExRam.Gremlinq.Core/Projections/GroupProjection.cs
using System.Linq; using ExRam.Gremlinq.Core.Steps; using Gremlin.Net.Process.Traversal; namespace ExRam.Gremlinq.Core.Projections { public sealed class GroupProjection : Projection { private readonly Projection _keyProjection; private readonly Projection? _valueProjection; internal G...
using System.Linq; using System.Collections.Immutable; using ExRam.Gremlinq.Core.Steps; using Gremlin.Net.Process.Traversal; namespace ExRam.Gremlinq.Core.Projections { public sealed class GroupProjection : Projection { private readonly Projection _keyProjection; private readonly Projection? _...
mit
C#
2e6076ca5b40bf94296e0a463308397d38818f77
make fields nullable
dnauck/License.Manager,dnauck/License.Manager
src/License.Manager.Core/ServiceModel/FindLicenses.cs
src/License.Manager.Core/ServiceModel/FindLicenses.cs
// // Copyright 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software withou...
// // Copyright 2012 - 2013 Nauck IT KG http://www.nauck-it.de // // Author: // Daniel Nauck <d.nauck(at)nauck-it.de> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software withou...
mit
C#
aaccc198d26895cb860b06a0a3d6cae2b000f45e
Remove deprecated "quirks mode" test coverage: although this concept has been an issue for test frameworks, it was never really an issue for Fixie as Fixie has always targeted net45 or higher, and the problem involved only applied to end users whose projects really targeted 4.0. Also, the test was meant to catch regres...
fixie/fixie
src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs
src/Fixie.Tests/Execution/ExecutionEnvironmentTests.cs
#if NET471 namespace Fixie.Tests.Execution { using System; using System.Configuration; using System.Linq; using System.Runtime.Versioning; using Assertions; public class ExecutionEnvironmentTests { public void ShouldEnableAccessToTestAssemblyConfigFile() { Config...
#if NET471 namespace Fixie.Tests.Execution { using System; using System.Configuration; using System.Linq; using System.Runtime.Versioning; using Assertions; public class ExecutionEnvironmentTests { public void ShouldEnableAccessToTestAssemblyConfigFile() { Confi...
mit
C#
9ed678f43d82c19c419594f4070bb39733575337
check if current node is root node - if yes cannot be child of list view
OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView,OPTEN/Opten.Umbraco.ListView
src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs
src/Opten.Umbraco.ListView/Events/TreeEventHandler.cs
using AutoMapper; using Opten.Umbraco.ListView.Extensions; using System.Linq; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Trees; namespace ClassLibrary1 { public class TreeEventHandler : ApplicationEventHandler { protected override void Application...
using AutoMapper; using Opten.Umbraco.ListView.Extensions; using System.Linq; using Umbraco.Core; using Umbraco.Core.Models; using Umbraco.Web.Models.ContentEditing; using Umbraco.Web.Trees; namespace ClassLibrary1 { public class TreeEventHandler : ApplicationEventHandler { protected override void Application...
mit
C#
84a3b221bf3fa5dd3a15fb8d35b673710b79e506
Add error messages to model
SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers,SkillsFundingAgency/das-employerusers
src/SFA.DAS.EmployerUsers.Web/Models/LoginViewModel.cs
src/SFA.DAS.EmployerUsers.Web/Models/LoginViewModel.cs
namespace SFA.DAS.EmployerUsers.Web.Models { public class LoginViewModel : ViewModelBase { public string EmailAddress { get; set; } public string Password { get; set; } public string OriginatingAddress { get; set; } public string ReturnUrl { get; set; } ...
namespace SFA.DAS.EmployerUsers.Web.Models { public class LoginViewModel { public string EmailAddress { get; set; } public string Password { get; set; } public string OriginatingAddress { get; set; } public bool InvalidLoginAttempt { get; set; } public string R...
mit
C#
43f77521a16d6c120797235ea1f56ff6660807ef
remove unused field
nguyenbanguyen/Thinktecture.IdentityModel.45,yonglehou/Thinktecture.IdentityModel.45,IdentityModel/Thinktecture.IdentityModel.45,darraghoriordan/Thinktecture.IdentityModel.45,rmorris8812/Thinktecture.IdentityModel.45,jbn566/Thinktecture.IdentityModel.45,shashwatchandra/Thinktecture.IdentityModel.45
IdentityModel/Thinktecture.IdentityModel/Authorization/WebApi/ClaimsAuthorizeAttribute.cs
IdentityModel/Thinktecture.IdentityModel/Authorization/WebApi/ClaimsAuthorizeAttribute.cs
using System.Web.Http; using System.Web.Http.Controllers; namespace Thinktecture.IdentityModel.Authorization.WebApi { public class ClaimsAuthorizeAttribute : AuthorizeAttribute { private string _action; private string[] _resources; public ClaimsAuthorizeAttribute() { } ...
using System.Web.Http; using System.Web.Http.Controllers; namespace Thinktecture.IdentityModel.Authorization.WebApi { public class ClaimsAuthorizeAttribute : AuthorizeAttribute { private string _resource; private string _action; private string[] _resources; public ClaimsAuthor...
bsd-3-clause
C#
cadff9521b62be8e02a009f84675f50104b46dae
Make console app usage clear in code
atifaziz/NCrontab,atifaziz/NCrontab
NCrontabConsole/Program.cs
NCrontabConsole/Program.cs
#region License and Terms // // NCrontab - Crontab for .NET // Copyright (c) 2008 Atif Aziz. 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.apac...
#region License and Terms // // NCrontab - Crontab for .NET // Copyright (c) 2008 Atif Aziz. 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.apac...
apache-2.0
C#
a62a3c8dd222bc02584692b2f36a633cb87fc87f
improve code
sebas77/Svelto-ECS,sebas77/Svelto.ECS
Svelto.ECS/EGID.cs
Svelto.ECS/EGID.cs
using Svelto.ECS.Internal; namespace Svelto.ECS { public struct EGID { long _GID; public long GID { get { return _GID; } } public int entityID { get { return (int) (_GID & 0xFFFFFFFF); } } public ...
using Svelto.ECS.Internal; namespace Svelto.ECS { public struct EGID { long _GID; public long GID { get { return _GID; } } public int entityID { get { return (int) (_GID & 0xFFFFFFFF); } } public ...
mit
C#
690ab29863c5001c8f80790ae349a2bbbdd6206e
Use the database "agnostic" query for this (see U4-3876)
mstodd/Umbraco-CMS,tcmorris/Umbraco-CMS,WebCentrum/Umbraco-CMS,gkonings/Umbraco-CMS,gregoriusxu/Umbraco-CMS,markoliver288/Umbraco-CMS,mittonp/Umbraco-CMS,Scott-Herbert/Umbraco-CMS,markoliver288/Umbraco-CMS,DaveGreasley/Umbraco-CMS,Khamull/Umbraco-CMS,leekelleher/Umbraco-CMS,NikRimington/Umbraco-CMS,arknu/Umbraco-CMS,ra...
src/Umbraco.Web/Strategies/Migrations/ClearMediaXmlCacheForDeletedItemsAfterUpgrade.cs
src/Umbraco.Web/Strategies/Migrations/ClearMediaXmlCacheForDeletedItemsAfterUpgrade.cs
using System; using Umbraco.Core.Logging; using Umbraco.Core.Persistence.Migrations; using Umbraco.Core.Persistence.SqlSyntax; using umbraco.interfaces; namespace Umbraco.Web.Strategies.Migrations { /// <summary> /// This will execute after upgrading to remove any xml cache for media that are currently in the...
using System; using Umbraco.Core; using Umbraco.Core.Logging; using Umbraco.Core.Persistence.Migrations; using Umbraco.Core.Persistence.SqlSyntax; using Umbraco.Core.Services; using umbraco.interfaces; namespace Umbraco.Web.Strategies.Migrations { /// <summary> /// This will execute after upgrading to remove ...
mit
C#
1221d0bcc16b20ad7275fb2c8b8e2866187048f2
Simplify the Board class
gldraphael/mg-ttt
TicTacToe/Board.cs
TicTacToe/Board.cs
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; namespace TicTacToe { public class Board : DrawableGameComponent { private List<List<Tile>> tiles; public Board(Game game) : base(game) { } public override void Initialize() { base.Initialize(); initTiles(); ti...
using System; using System.Collections.Generic; using Microsoft.Xna.Framework; namespace TicTacToe { public class Board : DrawableGameComponent { private List<List<Tile>> tiles; public Board(Game game) : base(game) { } public override void Initialize() { base.Initialize(); initTiles(); ti...
mit
C#
bab44633411c76b1b4c4daa973887edf8dbb2907
Bump version
o11c/WebMConverter,Yuisbean/WebMConverter,nixxquality/WebMConverter
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("We...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("We...
mit
C#
19fa3895cb9a903a7a222a41ebf02cb69aaf3036
Update performance tests to use TestData attribute
ninjanye/SearchExtensions
NinjaNye.SearchExtensions.Tests/LevenshteinTests/LevenshteinDistancePerformanceTests.cs
NinjaNye.SearchExtensions.Tests/LevenshteinTests/LevenshteinDistancePerformanceTests.cs
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; using NinjaNye.SearchExtensions.Levenshtein; namespace NinjaNye.SearchExtensions.Tests.LevenshteinTests { #if DEBUG // Performance test will always fail in debug mode [Ignore] #endif [TestFixture] public class Levenshtei...
using System; using System.Diagnostics; using System.Linq; using NUnit.Framework; using NinjaNye.SearchExtensions.Levenshtein; namespace NinjaNye.SearchExtensions.Tests.LevenshteinTests { [TestFixture] public class LevenshteinDistancePerformanceTests : BuildStringTestsBase { #if DEBUG // P...
mit
C#
81469a778254a98b1aad5a2548f762dbe036e5fd
Remove unused constructor.
dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch,dsteinweg/TeacherPouch
TeacherPouch.Models/Tag.cs
TeacherPouch.Models/Tag.cs
using System; namespace TeacherPouch.Models { public class Tag { public int ID { get; set; } public string Name { get; set; } public bool IsPrivate { get; set; } public override bool Equals(object obj) { return (this.GetHashCode() == obj.GetHashCode()); ...
using System; namespace TeacherPouch.Models { public class Tag { public int ID { get; set; } public string Name { get; set; } public bool IsPrivate { get; set; } public Tag() { } public Tag(string name) { this.Name = name; ...
mit
C#
15e1816e00af3cd9f29b6fe824f99009d5f4b761
Remove duplicated code
KodrAus/elasticsearch-net,wawrzyn/elasticsearch-net,abibell/elasticsearch-net,ststeiger/elasticsearch-net,robertlyson/elasticsearch-net,gayancc/elasticsearch-net,SeanKilleen/elasticsearch-net,geofeedia/elasticsearch-net,TheFireCookie/elasticsearch-net,starckgates/elasticsearch-net,amyzheng424/elasticsearch-net,RossLieb...
src/Nest/DSL/IndicesStatsDescriptor.cs
src/Nest/DSL/IndicesStatsDescriptor.cs
using System; using System.Collections.Generic; using System.Linq; using Elasticsearch.Net; using Newtonsoft.Json; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface IIndicesStatsRequest : IIndicesOptionalPath<IndicesStatsRequestParameters> { IEnumerable<TypeNameMarke...
using System; using System.Collections.Generic; using System.Linq; using Elasticsearch.Net; using Newtonsoft.Json; namespace Nest { [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public interface IIndicesStatsRequest : IIndicesOptionalPath<IndicesStatsRequestParameters> { IEnumerable<TypeNameMarke...
apache-2.0
C#
746163126db2cab2b07bbc6f9c908437d0acec90
Use longer delay in test (#31072)
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
src/Testing/test/TaskExtensionsTest.cs
src/Testing/test/TaskExtensionsTest.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; using System.Threading; using System.Threading.Tasks; using Xunit; namespace Microsoft.AspNetCore.Testing { public class TaskExtensi...
// 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; using System.Threading.Tasks; using Xunit; namespace Microsoft.AspNetCore.Testing { public class TaskExtensionsTest { [F...
apache-2.0
C#
ad226ddadaa621216a96583218fdf8afcbbf1d7a
Update SolutionInfo.cs
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
5fbb09293d68c254a809a522590c7e6cb4235b25
fix for GA
autumn009/TanoCSharpSamples
chap36/DataClassAndRrecord/DataClassAndRrecord/Program.cs
chap36/DataClassAndRrecord/DataClassAndRrecord/Program.cs
using System; record Result3(string FamilyName, string FirstName, int Point); class Program { static void Main() { var r = new Result3("夢野", "サリー", 100); Console.WriteLine($"{r.FamilyName}{r.FirstName}は{r.Point}点"); } }
using System; // この定義は将来のバージョンで不要になる見込みである // エラーになる場合は削除してみると良い namespace System.Runtime.CompilerServices { internal class IsExternalInit : Attribute { } } // dataキーワードはサンプルソース作成時には機能していない模様である #if false public data class Result1 { public string FamilyName { get; init; } public string FirstName { get; i...
mit
C#
5c9c890c295abc8e2a0aa7098ecb5b014376d5c0
Update 01-CreateTable.cs
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
.dotnet/example_code/DynamoDB/TryDax/01-CreateTable.cs
.dotnet/example_code/DynamoDB/TryDax/01-CreateTable.cs
// snippet-start:[dynamodb.dotNET.trydax.01-CreateTable] // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 using System; using System.Collections.Generic; using System.Threading.Tasks; using Amazon.DynamoDBv2; using Amazon.DynamoDBv2.Model; namespace Client...
// snippet-sourcedescription:[ ] // snippet-service:[dynamodb] // snippet-keyword:[dotNET] // snippet-keyword:[Amazon DynamoDB] // snippet-keyword:[Code Sample] // snippet-keyword:[ ] // snippet-sourcetype:[full-example] // snippet-sourcedate:[ ] // snippet-sourceauthor:[AWS] // snippet-start:[dynamodb.dotNET.trydax.01...
apache-2.0
C#
d714c7dcf06e4e93469e1232b7dec9b9c8c55b64
Bump version to 0.26.1
github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity
common/SolutionInfo.cs
common/SolutionInfo.cs
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
#pragma warning disable 436 using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyProduct("GitHub for Unity")] [assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)] [assembly: AssemblyFileVersion(System.Assembl...
mit
C#
fe1104a3487ac3e77cecd90b3a25554740e73cb1
fix missing reference
evicertia/HermaFx,evicertia/HermaFx,evicertia/HermaFx
HermaFx.Foundation/RuntimeExtensions/GuidExtensions.cs
HermaFx.Foundation/RuntimeExtensions/GuidExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using HermaFx.Text; namespace HermaFx { public static class GuidExtensions { public static bool TryParse(string input, out Guid result) { try { result = new Guid(input); return true; } catch { } result...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace HermaFx { public static class GuidExtensions { public static bool TryParse(string input, out Guid result) { try { result = new Guid(input); return true; } catch { } result = default(Guid); ...
mit
C#
de3aea8ade63adf3e84304be7d7be08f251d6158
Make whitespace a bit nicer
mlorbetske/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Startup.cs
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Startup.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; #if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; #endif u...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; #if (OrganizationalAuth || IndividualB2CAuth) using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.JwtBearer; #endif u...
mit
C#
35ff25940b11437e8823b0b904c78c99ee101428
Add sample playback to juice stream test scene
NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,peppy/osu,ppy/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu
osu.Game.Rulesets.Catch.Tests/TestSceneAutoJuiceStream.cs
osu.Game.Rulesets.Catch.Tests/TestSceneAutoJuiceStream.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System.Collections.Generic; using System.Linq; using osu.Game.Audio; using osu.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Catch....
// 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.Game.Beatmaps; using osu.Game.Rulesets.Catch.Objects; using osu.Game.Rulesets.Catch.UI; using osu.Game.Rulesets.Objects; using osu.Game.Rule...
mit
C#
2fab16cfa584ee86ef87a128ef5338a461e5c461
fix && logic.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Behaviors/SplitViewAutoBehavior.cs
WalletWasabi.Fluent/Behaviors/SplitViewAutoBehavior.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Xaml.Interactivity; using System; using System.Reactive.Disposables; using System.Reactive.Linq; using ReactiveUI; namespace WalletWasabi.Fluent.Behaviors { public class SplitViewAutoBehavior : Behavior<SplitView> { private bool _sidebarWasForceClosed; pri...
using Avalonia; using Avalonia.Controls; using Avalonia.Xaml.Interactivity; using System; using System.Reactive.Disposables; using System.Reactive.Linq; using ReactiveUI; namespace WalletWasabi.Fluent.Behaviors { public class SplitViewAutoBehavior : Behavior<SplitView> { private bool _sidebarWasForceClosed; pri...
mit
C#
f0663287fef6f44b166c7e292e5e596680919485
fix for issue #6, put connection provider get inside the lock for reading out of the providers
fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra,fluentcassandra/fluentcassandra
FluentCassandra/Connection/ConnectionProviderFactory.cs
FluentCassandra/Connection/ConnectionProviderFactory.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FluentCassandra { public static class ConnectionProviderFactory { private static readonly object _lock = new object(); private static volatile IDictionary<string, IConnectionProvider> _providers = new Dictionary<stri...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FluentCassandra { public static class ConnectionProviderFactory { private static readonly object _lock = new object(); private static volatile IDictionary<string, IConnectionProvider> _providers = new Dictionary<stri...
apache-2.0
C#
30777e3a15960c0274536d1d55bf8475c8b34236
test fix
Insire/InsireBot-V2,Insire/Maple
InsireBot/Maple.Test/DependencyInjectionFactoryTests.cs
InsireBot/Maple.Test/DependencyInjectionFactoryTests.cs
using DryIoc; using Maple.Core; using Microsoft.VisualStudio.TestTools.UnitTesting; using NSubstitute; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Maple.Test { [TestClass] public class DependencyInjectionFactoryTests { [TestMethod] public a...
using DryIoc; using Maple.Core; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NSubstitute; namespace Maple.Test { [TestClass] public class DependencyInjectionFactoryTests { [TestMethod] public a...
mit
C#
6c7ee3f052d7f507cf3c5c62c6d4c26669274ed4
bump 1.0.7
GangZhuo/BaiduPCS_NET
Sample/Sample_0_FileExplorer/Properties/AssemblyInfo.cs
Sample/Sample_0_FileExplorer/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("Ex...
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("Ex...
mit
C#
55cee687c3ed6e57a925208b496e73891da1ee7b
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
99238a6b58ee6345082e2e7bfa9c4896c54fc224
update version
prodot/ReCommended-Extension
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
Sources/ReCommendedExtension/Properties/AssemblyInfo.cs
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
using System.Reflection; using ReCommendedExtension; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle(ZoneMarker.ExtensionName)] [assembly: AssemblyDescript...
apache-2.0
C#
af55d3e4c6d4f0a036a7ce8336e326a0f6d505df
Mark assembly as CLS compliant
aarondandy/DoTheMath.Linear
src/DoTheMath.Linear/Properties/AssemblyInfo.cs
src/DoTheMath.Linear/Properties/AssemblyInfo.cs
using System; using System.Reflection; [assembly: AssemblyTitle("DoTheMath.Linear")] [assembly: AssemblyDescription("A bunch of stuff for Linear Algebra.")] [assembly: CLSCompliant(true)]
using System.Reflection; [assembly: AssemblyTitle("DoTheMath.Linear")] [assembly: AssemblyDescription("A bunch of stuff for Linear Algebra.")]
mit
C#
b3fead21829ac366294515c06b31b675a7f3fa01
Fix issue vertigra/NetTelebot-2.0#33
vertigra/NetTelebot-2.0,themehrdad/NetTelebot
NetTelebot/SendMessageResult.cs
NetTelebot/SendMessageResult.cs
using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace NetTelebot { /// <summary> /// When calling SendMessage method on TelegramBotClient class, this object will be returned. /// </summary> public class SendMessageResult { internal SendMessageResult(string jsonText) { ...
using Newtonsoft.Json; using Newtonsoft.Json.Linq; #pragma warning disable 1591 namespace NetTelebot { /// <summary> /// When calling SendMessage method on TelegramBotClient class, this object will be returned. /// </summary> public class SendMessageResult { internal SendMessageResult(stri...
mit
C#
a02523e18dfd1edd05dbf8873f5c85ea371b47ca
add connection string
jefking/King.Service
King.Service.Demo/Program.cs
King.Service.Demo/Program.cs
namespace King.Service.Demo { using King.Service.Demo.Factories; using System; using System.Threading; public class Program { public static void Main(string[] args) { // Load Config var config = new AppConfig { ConnectionString = ...
namespace King.Service.Demo { using King.Service.Demo.Factories; using System; using System.Threading; public class Program { public static void Main(string[] args) { // Load Config var config = new AppConfig { ConnectionString = ...
mit
C#
256eb979e0c3e4f6627b3d7c42cfd2e4f8e4e406
Add comment
danielmundt/csremote
source/Remoting.Server/FormMain.cs
source/Remoting.Server/FormMain.cs
#region Header // Copyright (C) 2012 Daniel Schubert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify, ...
#region Header // Copyright (C) 2012 Daniel Schubert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify, ...
mit
C#
d217a476f956273c664ca9ffebd5e95f9f8d4fac
change configuration interface
feuerwelt/estellaris
Estellaris.Core/Configuration/Configs.cs
Estellaris.Core/Configuration/Configs.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration.Memory; namespace Estellaris.Core { public class Configs { static bool _isLoaded { get; set; } public static IConfigurationRoot Configuration ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration.Memory; namespace Estellaris.Core { public class Configs { static bool _isLoaded { get; set; } protected static IConfiguration Configuration {...
mit
C#
d6e38548096f5ae29bbed548bcccdd4668022daf
Use options to decide if analyze is enabled.
amacal/leak
sources/Leak.Announce/Program.cs
sources/Leak.Announce/Program.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using Leak.Client.Tracker; using Leak.Common; using Pargos; namespace Leak.Announce { public static class Program { public static void Main(string[] args) { Options options = Argument.Parse<Options>(args)...
using System; using System.Threading; using Leak.Client.Tracker; using Leak.Common; using Pargos; namespace Leak.Announce { public static class Program { public static void Main(string[] args) { Options options = Argument.Parse<Options>(args); if (options.IsValid()) ...
mit
C#
77553f7620ba3db8d80d270bf54284be30f37f4b
Use lab apps for selenium tests instead of hardcoded apps
AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet
tests/Microsoft.Identity.Test.Integration/SeleniumTests/InteractiveFlowTests.cs
tests/Microsoft.Identity.Test.Integration/SeleniumTests/InteractiveFlowTests.cs
using Microsoft.Identity.Client; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client.PlatformsCommon.Factories; using Microsoft.Identity.Test.Common; using Microsoft.Identity.Test.Integration.Infrastructure; using Microsoft.Identity.Test.LabInfrastructure; using Microsoft.VisualStudio.TestTools.UnitT...
using Microsoft.Identity.Client; using Microsoft.Identity.Client.Core; using Microsoft.Identity.Client.PlatformsCommon.Factories; using Microsoft.Identity.Test.Common; using Microsoft.Identity.Test.Integration.Infrastructure; using Microsoft.Identity.Test.LabInfrastructure; using Microsoft.VisualStudio.TestTools.UnitT...
mit
C#