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
ca25cfbfa5020dc37607b97b7f4d0bc9e9089910
update iframework.foundatioLock version number
IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework
Src/iFramework.Plugins/IFramework.FoundatioLock/Properties/AssemblyInfo.cs
Src/iFramework.Plugins/IFramework.FoundatioLock/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("IFr...
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("IFr...
mit
C#
c371e67d705df820ded3c66344a27cf3d1b07b20
Update diffcalc test to match ground-truth formula
peppy/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,ppy/osu
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
osu.Game.Rulesets.Osu.Tests/OsuDifficultyCalculatorTest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using NUnit.Framework; using osu.Game.Beatmaps; using osu.Game.Rulesets.Difficulty; using osu.Game.Rulesets.Osu.Difficulty; using osu.Game.Rulesets.Osu.Mods; using osu.Ga...
mit
C#
801c46ea042f96b729a28c133b35de5c72e83095
Fix data migration code for UserRecord
jersiovic/Orchard,planetClaire/Orchard-LETS,qt1/orchard4ibn,KeithRaven/Orchard,grapto/Orchard.CloudBust,DonnotRain/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCode,qt1/orchard4ibn,planetClaire/Orchard-LETS,SzymonSel/Orchard,hbulzy/Orchard,m2cms/Orchard,SouleDesigns/SouleDesigns.Orchard,jchenga/Orchard,JRKelso/O...
src/Orchard.Web/Modules/Orchard.Users/DataMigrations/UsersDataMigration.cs
src/Orchard.Web/Modules/Orchard.Users/DataMigrations/UsersDataMigration.cs
using Orchard.Data.Migration; namespace Orchard.Users.DataMigrations { public class UsersDataMigration : DataMigrationImpl { public int Create() { //CREATE TABLE Orchard_Users_UserRecord (Id INTEGER not null, UserName TEXT, Email TEXT, NormalizedUserName TEXT, Password TEXT, PasswordFor...
using Orchard.Data.Migration; namespace Orchard.Users.DataMigrations { public class UsersDataMigration : DataMigrationImpl { public int Create() { //CREATE TABLE Orchard_Users_UserRecord (Id INTEGER not null, UserName TEXT, Email TEXT, NormalizedUserName TEXT, Password TEXT, PasswordFor...
bsd-3-clause
C#
ba3b1b96507833255259a6874239c3f5f936da2f
Comment added
xavierfoucrier/gmail-notifier,xavierfoucrier/gmail-notifier
code/Program.cs
code/Program.cs
using System; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { /// <summary> /// Mutex associated to the application instance /// </summary> static Mutex mutex = new Mutex(true, "g...
using System; using System.Globalization; using System.Threading; using System.Windows.Forms; using notifier.Languages; using notifier.Properties; namespace notifier { static class Program { /// <summary> /// Mutex associated to the application instance /// </summary> static Mutex mutex = new Mutex(true, "g...
mit
C#
f828c2d60dc358a4bae89e43cc097e5513037667
Update ProductAssemblyInfo.cs
mattiasnordqvist/Web-Anchor
ProductAssemblyInfo.cs
ProductAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyProduct("WebAnchor")] [assembly: AssemblyCompany("Spinit AB, Mattias Nordqvist, Carl Berg and contributors")] [assembly: AssemblyCopyright("Copyright Spinit AB, Mattias Nordqvist, Carl Berg and contributors 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture...
using System.Reflection; [assembly: AssemblyProduct("WebAnchor")] [assembly: AssemblyCompany("Spinit AB, Mattias Nordqvist, Carl Berg and contributors")] [assembly: AssemblyCopyright("Copyright Spinit AB, Mattias Nordqvist, Carl Berg and contributors 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture...
mit
C#
f41bfd14ca890730c71b646ccda47222213c85b3
Add some xmldocs
UselessToucan/osu,naoey/osu,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,naoey/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu-new,DrabWeb/osu,smoogipooo/osu,ZLima12/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,2yangk23/osu,2yangk23/osu,ZLima12/o...
osu.Game/Rulesets/UI/Scrolling/Visualisers/ISpeedChangeVisualiser.cs
osu.Game/Rulesets/UI/Scrolling/Visualisers/ISpeedChangeVisualiser.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Rulesets.UI.Scrolling.Visualisers { public interface ISpeedChangeVisualiser { /// <summary> /// Given a point in time, comput...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE namespace osu.Game.Rulesets.UI.Scrolling.Visualisers { public interface ISpeedChangeVisualiser { double GetDisplayStartTime(double time); float...
mit
C#
eddae70823956172d88630f64452ceb46f19b610
add comments for public API
idseefeld/imagecropper4umbraco,idseefeld/imagecropper4umbraco,idseefeld/imagecropper4umbraco
idseefeld.de.imagecropper.pevc/ImageCropperExtendedPropertyEditorValueConverter.cs
idseefeld.de.imagecropper.pevc/ImageCropperExtendedPropertyEditorValueConverter.cs
using System; using System.Collections.Generic; using Umbraco.Core; using Umbraco.Core.PropertyEditors; using Umbraco.Web; using idseefeld.de.imagecropper.Model; using idseefeld.de.imagecropper.imagecropper; namespace idseefeld.de.imagecropper.PropertyEditorValueConverter { public class ImageCropperExtendedPropertyE...
using System; using System.Collections.Generic; using Umbraco.Core; using Umbraco.Core.PropertyEditors; using Umbraco.Web; using idseefeld.de.imagecropper.Model; using idseefeld.de.imagecropper.imagecropper; namespace idseefeld.de.imagecropper.PropertyEditorValueConverter { public class ImageCropperExtendedPropertyE...
mit
C#
0b7655e6ce54d2ff8d9e4b8042ab37b397aed4b6
Add serialization test for CookieContainer (#17673)
wtgodbe/corefx,elijah6/corefx,wtgodbe/corefx,cydhaselton/corefx,axelheer/corefx,ptoonen/corefx,JosephTremoulet/corefx,rjxby/corefx,YoupHulsebos/corefx,the-dwyer/corefx,rahku/corefx,twsouthwick/corefx,ptoonen/corefx,Petermarcu/corefx,shimingsg/corefx,elijah6/corefx,mazong1123/corefx,ViktorHofer/corefx,Jiayili1/corefx,kr...
src/System.Net.Primitives/tests/FunctionalTests/SerializationTest.cs
src/System.Net.Primitives/tests/FunctionalTests/SerializationTest.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.Collections.Generic; using System.Runtime.Serialization.Formatters.Tests; using Xunit; namespace Syste...
// 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.Collections.Generic; using System.Runtime.Serialization.Formatters.Tests; using Xunit; namespace Syste...
mit
C#
c463a8b15b364df3e5307733da71fab708462048
Refactor to make asynch callback functions exception safe
RoyalVeterinaryCollege/VetCompassClient
clr/VetCompassClient/RequestHelper.cs
clr/VetCompassClient/RequestHelper.cs
#if NET35 using System; using System.IO; using System.Net; using System.Threading.Tasks; namespace VetCompass.Client { /// <summary> /// This backports some methods on WebRequest available in .net 4.5 into .net 3.5 /// </summary> public static class RequestHelper { /// <summary> ...
#if NET35 using System; using System.IO; using System.Net; using System.Threading.Tasks; namespace VetCompass.Client { /// <summary> /// This backports some methods on WebRequest available in .net 4.5 into .net 3.5 /// </summary> public static class RequestHelper { /// <summary> ...
mit
C#
382a4af4f1a1d057077c69eb37026545910b966e
Fix GlobalCleanupAttributeTest.GlobalCleanupMethodRunsTest (#894)
ig-sinicyn/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,alinasmirnova/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,al...
tests/BenchmarkDotNet.IntegrationTests/GlobalCleanupAttributeTest.cs
tests/BenchmarkDotNet.IntegrationTests/GlobalCleanupAttributeTest.cs
using System; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Tests.Loggers; using Xunit; using Xunit.Abstractions; namespace BenchmarkDotNet.IntegrationTests { public class GlobalCleanupAttributeTest : BenchmarkTestExecutor { private const string GlobalCleanupCalled = "// ### GlobalCleanup ca...
using System; using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Tests.Loggers; using Xunit; using Xunit.Abstractions; namespace BenchmarkDotNet.IntegrationTests { public class GlobalCleanupAttributeTest : BenchmarkTestExecutor { private const string GlobalCleanupCalled = "// ### GlobalCleanup ca...
mit
C#
3f432bdf5e7896f8b73da63b0c89f183d6407ab8
add usage attribute to HeadOptions
Thilas/commandline,anthonylangsworth/commandline,Thilas/commandline,anthonylangsworth/commandline
demo/ReadText.Demo/Options.cs
demo/ReadText.Demo/Options.cs
using CommandLine; using CommandLine.Text; using System.Collections.Generic; namespace ReadText.Demo { interface IOptions { [Option('n', "lines", Default = 5U, SetName = "bylines", HelpText = "Lines to be printed from the beginning or end of the file.")] ...
using CommandLine; namespace ReadText.Demo { interface IOptions { [Option('n', "lines", Default = 5U, SetName = "bylines", HelpText = "Lines to be printed from the beginning or end of the file.")] uint? Lines { get; set; } [Option('c', "b...
mit
C#
1b8d034f53363ff2cf392df4689e7f24426a8e49
Support list of hints per problem
Kakarot/CITS
CITS/Models/MathProblemModel.cs
CITS/Models/MathProblemModel.cs
using System; using System.Collections.Generic; namespace CITS.Models { public class MathProblemModel : ProblemModel { public MathProblemModel(string problem, string solution, List<String> listOfHints):base(problem,solution, listOfHints){} public override Boolean IsSolutionCorrect(String candi...
using System; namespace CITS.Models { public class MathProblemModel : ProblemModel { public MathProblemModel(string Problem, string Solution):base(Problem,Solution){} public override Boolean IsSolutionCorrect(String candidateSolution) { return Solution.Equals(candidateSolut...
mit
C#
6571477e436181cca7a54bbeeb33fc9b7a151e8b
Clean up Assembly Info
jcolag/CreditCardValidator
CreditCardRange/CreditCardRange/Properties/AssemblyInfo.cs
CreditCardRange/CreditCardRange/Properties/AssemblyInfo.cs
//----------------------------------------------------------------------- // <copyright file="AssemblyInfo.cs" company="Colagioia Industries"> // Provided under the terms of the AGPL v3. // </copyright> //----------------------------------------------------------------------- using System.Reflection; using System....
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("CreditCardRange")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [...
agpl-3.0
C#
a766f08c22ff6b4afaced2daa06d7c2edda4d4cc
Update sys version to v2.0-a4 #280
FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray
src/Fan/Helpers/SysVersion.cs
src/Fan/Helpers/SysVersion.cs
namespace Fan.Helpers { public class SysVersion { public static string CurrentVersion = "v2.0-a4"; } }
namespace Fan.Helpers { public class SysVersion { public static string CurrentVersion = "v2.0-a3"; } }
apache-2.0
C#
799aa76f5c397b924e188b6a2fdc667a24785651
add field indexers to the Record
mvbalaw/EtlGate,mvbalaw/EtlGate,mvbalaw/EtlGate
src/EtlGate.Core/Record.cs
src/EtlGate.Core/Record.cs
using System; using System.Collections.Generic; using System.Linq; namespace EtlGate.Core { public class Record { public const string ErrorFieldIndexMustBeNonNegativeMessage = "field index must be >= 0."; public const string ErrorFieldNameIsNotAValidHeaderForThisRecordMessage = " is not a valid header for this ...
using System; using System.Collections.Generic; using System.Linq; namespace EtlGate.Core { public class Record { public const string ErrorFieldIndexMustBeNonNegativeMessage = "field index must be >= 0."; public const string ErrorFieldNameIsNotAValidHeaderForThisRecordMessage = " is not a valid header for this ...
mit
C#
c5e5c5328d5d048bc329c2e74d9325a7cd059a63
remove early Dispose() cleanup, to avoid a warning message from our cleanup system, see bug #6045
mono/maccore,jorik041/maccore,cwensley/maccore
src/Foundation/NSAction.cs
src/Foundation/NSAction.cs
// // Copyright 2009-2010, Novell, Inc. // Copyright 2012 Xamarin Inc. // // 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...
// // Copyright 2009-2010, Novell, Inc. // Copyright 2012 Xamarin Inc. // // 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...
apache-2.0
C#
12db483273a721da2d7d3d4b71d04e2bd57a561f
Fix unit tests
basho/riak-dotnet-client,rob-somerville/riak-dotnet-client,rob-somerville/riak-dotnet-client,basho/riak-dotnet-client
src/RiakClient/Models/NVal.cs
src/RiakClient/Models/NVal.cs
// <copyright file="NVal.cs" company="Basho Technologies, Inc."> // Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka // Copyright (c) 2014 - Basho Technologies, Inc. // // This file is provided to you under the Apache License, // Version 2.0 (the "License"); you may not use this file // except in compliance with the ...
// <copyright file="NVal.cs" company="Basho Technologies, Inc."> // Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka // Copyright (c) 2014 - Basho Technologies, Inc. // // This file is provided to you under the Apache License, // Version 2.0 (the "License"); you may not use this file // except in compliance with the ...
apache-2.0
C#
e76a61e1378d8726c76fd72f4af1abd850ef8674
Update TypeCatalogParser for CoreConsoleHost removal
kmosher/PowerShell,bmanikm/PowerShell,KarolKaczmarek/PowerShell,bmanikm/PowerShell,jsoref/PowerShell,JamesWTruher/PowerShell-1,kmosher/PowerShell,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,TravisEz13/PowerShell,TravisEz13/PowerShell,kmosher/PowerShell,bmanikm/PowerShell,KarolKaczmarek/PowerShell,PaulHigin/PowerShel...
src/TypeCatalogParser/Main.cs
src/TypeCatalogParser/Main.cs
using System; using System.IO; using System.Linq; using NuGet.Frameworks; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.ProjectModel; using Microsoft.DotNet.ProjectModel.Graph; using Microsoft.Extensions.DependencyModel.Resolution; namespace TypeCatalogParser { public class Program { public ...
using System; using System.IO; using System.Linq; using NuGet.Frameworks; using Microsoft.DotNet.Cli.Utils; using Microsoft.DotNet.ProjectModel; using Microsoft.DotNet.ProjectModel.Graph; using Microsoft.Extensions.DependencyModel.Resolution; namespace ConsoleApplication { public class Program { public...
mit
C#
09c154bbcd027a36ccc94998206a30101d8796c8
Solve build related issue
Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
Trappist/src/Promact.Trappist.Core/Controllers/QuestionsController.cs
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
using Microsoft.AspNetCore.Mvc; using Promact.Trappist.DomainModel.Models.Question; using Promact.Trappist.Repository.Questions; using System; namespace Promact.Trappist.Core.Controllers { [Route("api")] public class QuestionsController : Controller { private readonly IQuestionRepository _question...
mit
C#
0c3967f172227b4d55edf70e7f45e76512ba2062
Make test independent from dll version
WaltChen/NDatabase,WaltChen/NDatabase
tests/NDatabase.UnitTests/Layer2/When_we_use_class_info.cs
tests/NDatabase.UnitTests/Layer2/When_we_use_class_info.cs
using NDatabase.Odb.Core.Layers.Layer2.Meta; using NDatabase.Tool.Wrappers; using NUnit.Framework; namespace NDatabase.UnitTests.Layer2 { internal class When_we_use_class_info { private class Country { private readonly string _name; public Country(string na...
using NDatabase.Odb.Core.Layers.Layer2.Meta; using NDatabase.Tool.Wrappers; using NUnit.Framework; namespace NDatabase.UnitTests.Layer2 { internal class When_we_use_class_info { private class Country { private readonly string _name; public Country(string na...
apache-2.0
C#
bce1a002465e67c1f00182b71ac3747d74b558a5
Update Occupation.cs (#947)
vknet/vk,vknet/vk
VkNet/Model/Occupation.cs
VkNet/Model/Occupation.cs
using System; using Newtonsoft.Json; using VkNet.Enums.SafetyEnums; using VkNet.Utils; using VkNet.Utils.JsonConverter; namespace VkNet.Model { /// <summary> /// Информация о текущем роде занятия пользователя. /// </summary> [Serializable] public class Occupation { /// <summary> /// Название школы, вуза или ...
using System; using Newtonsoft.Json; using VkNet.Enums.SafetyEnums; using VkNet.Utils; using VkNet.Utils.JsonConverter; namespace VkNet.Model { /// <summary> /// Информация о текущем роде занятия пользователя. /// </summary> [Serializable] public class Occupation { /// <summary> /// Название школы, вуза или...
mit
C#
4985332ee2298709b782025c221628f8b663288a
Disable the disable mouse script for now
mherbold/starflight,mherbold/starflight,mherbold/starflight
Assets/General/Scripts/DisableMouse.cs
Assets/General/Scripts/DisableMouse.cs
 using UnityEngine; using UnityEngine.EventSystems; class DisableMouse : MonoBehaviour { // private stuff we don't want the editor to see private GameObject m_lastSelectedGameObject; // this is called by unity before start void Awake() { m_lastSelectedGameObject = new GameObject(); } // this is called by u...
 using UnityEngine; using UnityEngine.EventSystems; class DisableMouse : MonoBehaviour { // private stuff we don't want the editor to see private GameObject m_lastSelectedGameObject; // this is called by unity before start void Awake() { m_lastSelectedGameObject = new GameObject(); } // this is called by u...
unlicense
C#
10114fb952c4ea5a486a04d839ffe50960f404e3
Update interface for return type
techphernalia/MyPersonalAccounts
MyPersonalAccountsModel/Controller/IInventoryController.cs
MyPersonalAccountsModel/Controller/IInventoryController.cs
using com.techphernalia.MyPersonalAccounts.Model.Inventory; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace com.techphernalia.MyPersonalAccounts.Model.Controller { public interface IInventoryController { #region Stock Unit List<StockUnit> GetAll...
using com.techphernalia.MyPersonalAccounts.Model.Inventory; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace com.techphernalia.MyPersonalAccounts.Model.Controller { public interface IInventoryController { #region Stock Unit List<StockUnit> GetAll...
mit
C#
277808a4edaeeaffccf9c9c97402e5edf3521235
add null check
fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Items/Others/RandomItemSpot.cs
UnityProject/Assets/Scripts/Items/Others/RandomItemSpot.cs
using System; using System.Collections.Generic; using Mirror; using UnityEngine; using Random = UnityEngine.Random; namespace Items { public class RandomItemSpot : NetworkBehaviour, IServerSpawn { [Tooltip("Amout of items we could get from this pool")] [SerializeField] private int lootCount = 1; [Tooltip("Sho...
using System; using System.Collections.Generic; using Mirror; using UnityEngine; using Random = UnityEngine.Random; namespace Items { public class RandomItemSpot : NetworkBehaviour, IServerSpawn { [Tooltip("Amout of items we could get from this pool")] [SerializeField] private int lootCount = 1; [Tooltip("Sho...
agpl-3.0
C#
ba8fbeca63323e6e48cb3b6e1f1fa4987a1e26bb
Remove comment
tddbuddy/SpeedySqlLocalDb
source/TddBuddy.SpeedyLocalDb.EF.Example.Attachment/Context/AttachmentDbContext.cs
source/TddBuddy.SpeedyLocalDb.EF.Example.Attachment/Context/AttachmentDbContext.cs
using System.Data.Common; using System.Data.Entity; namespace TddBuddy.SpeedyLocalDb.EF.Example.Attachment.Context { public class AttachmentDbContext : DbContext { public AttachmentDbContext(DbConnection connection) : base(connection, false){ } public AttachmentDbContext() : base("Att...
using System.Data.Common; using System.Data.Entity; namespace TddBuddy.SpeedyLocalDb.EF.Example.Attachment.Context { public class AttachmentDbContext : DbContext { // NOTE: This would be a production contructor, here for illustration public AttachmentDbContext() : base("AttachmentCo...
mit
C#
80e69a347ef77c818337668ffe090275c9d9d2b4
修复了FormiumRequest的QueryString集合,当键值不存在时抛异常的问题。现在修改为当键值不存在时返回null。
NetDimension/NanUI,NetDimension/NanUI,NetDimension/NanUI
src/Library/shared/NetDimension.NanUI.SharedProject/ResourceHandler/QueryString.cs
src/Library/shared/NetDimension.NanUI.SharedProject/ResourceHandler/QueryString.cs
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace NetDimension.NanUI.ResourceHandler { public class QueryString: IEnumerable<KeyValuePair<string,StringValueCollection>> { readonly IDictionary<string, string[]> RawQueries; ...
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace NetDimension.NanUI.ResourceHandler { public class QueryString: IEnumerable<KeyValuePair<string,StringValueCollection>> { readonly IDictionary<string, string[]> RawQueries; ...
mit
C#
d17a9b4d33b0fee1c29d971a3d939ef8f3732833
change object to nullable type
OlegKleyman/AlphaDev,OlegKleyman/AlphaDev,OlegKleyman/AlphaDev
core/AlphaDev.Core/PositiveInteger.cs
core/AlphaDev.Core/PositiveInteger.cs
using System; using JetBrains.Annotations; namespace AlphaDev.Core { public class PositiveInteger : IEquatable<PositiveInteger> { public static readonly PositiveInteger MinValue = new PositiveInteger(1); public static readonly PositiveInteger MaxValue = new PositiveInteger(int.MaxValue); ...
using System; using JetBrains.Annotations; namespace AlphaDev.Core { public class PositiveInteger : IEquatable<PositiveInteger> { public static readonly PositiveInteger MinValue = new PositiveInteger(1); public static readonly PositiveInteger MaxValue = new PositiveInteger(int.MaxValue); ...
unlicense
C#
9c737ccf4340d7523fdad65934776f67a5a026ba
Call converter changes to support stdcall on x86. The changes are mostly: 1) Enabling the FEATURE_INTERPRETER in the converter, which seemed to me to be already capable of stdcall conventions 2) Moving the CallingConvention enum to the Internal.Runtime.CallConverter namespace, to allow it to be used by the converter
shrah/corert,tijoytom/corert,botaberg/corert,sandreenko/corert,krytarowski/corert,krytarowski/corert,botaberg/corert,yizhang82/corert,sandreenko/corert,tijoytom/corert,shrah/corert,shrah/corert,sandreenko/corert,botaberg/corert,krytarowski/corert,tijoytom/corert,shrah/corert,sandreenko/corert,tijoytom/corert,yizhang82/...
src/System.Private.CoreLib/src/System/Runtime/InteropServices/CallingConvention.cs
src/System.Private.CoreLib/src/System/Runtime/InteropServices/CallingConvention.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. //////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////...
// 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. //////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////...
mit
C#
bb2ba8c894151b283d4bc7ed8b11065dcb70f837
fix mute problem.
azyobuzin/Mystique,fin-alice/Mystique
Inscribe/Common/FilterHelper.cs
Inscribe/Common/FilterHelper.cs
using System.Linq; using Dulcet.Twitter; using Inscribe.Configuration; using Inscribe.Storage; namespace Inscribe.Common { public static class FilterHelper { public static bool IsMuted(TwitterStatusBase status) { return (Setting.Instance.TimelineFilteringProperty.MuteFilterCluster ...
using System.Linq; using Dulcet.Twitter; using Inscribe.Configuration; using Inscribe.Storage; namespace Inscribe.Common { public static class FilterHelper { public static bool IsMuted(TwitterStatusBase status) { return (Setting.Instance.TimelineFilteringProperty.MuteFilterCluster ...
mit
C#
b8339c5baa842c3af86958fb922bedf6e9445275
fix aggregate provider issue
reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap
unity/library/UtyMap.Unity/Maps/Providers/AggregateMapDataProvider.cs
unity/library/UtyMap.Unity/Maps/Providers/AggregateMapDataProvider.cs
using UtyDepend; using UtyDepend.Config; using UtyMap.Unity.Core.Tiling; using UtyMap.Unity.Infrastructure.Diagnostic; using UtyMap.Unity.Infrastructure.IO; using UtyMap.Unity.Infrastructure.Primitives; using UtyRx; namespace UtyMap.Unity.Maps.Providers { /// <summary> /// Aggregates different map data p...
using UtyDepend; using UtyDepend.Config; using UtyMap.Unity.Core.Tiling; using UtyMap.Unity.Infrastructure.Diagnostic; using UtyMap.Unity.Infrastructure.IO; using UtyMap.Unity.Infrastructure.Primitives; using UtyRx; namespace UtyMap.Unity.Maps.Providers { /// <summary> /// Aggregates different map data p...
apache-2.0
C#
f49845be1ff67f9d3d25032611a2ffd2dd1fefd3
修正 Bug
wukaixian/Jumony,yonglehou/Jumony,wukaixian/Jumony,zpzgone/Jumony,zpzgone/Jumony,yonglehou/Jumony
Ivony.Web/VirtualPathBasedProviders.cs
Ivony.Web/VirtualPathBasedProviders.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace Ivony.Web { /// <summary> /// 基于虚拟路径的提供程序列表 /// </summary> public static class VirtualPathBasedProviders { private static List<IVirtualPathBasedProvider> _providers = new List<IVirt...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; namespace Ivony.Web { /// <summary> /// 基于虚拟路径的提供程序列表 /// </summary> public static class VirtualPathBasedProviders { private static List<IVirtualPathBasedProvider> _providers; private st...
apache-2.0
C#
450a5ff4fe7e143061f6fbddf846063716b3291f
Update AddLibraryReferenceToVbaProject.cs
asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecel...
Examples/CSharp/Articles/AddLibraryReferenceToVbaProject.cs
Examples/CSharp/Articles/AddLibraryReferenceToVbaProject.cs
using System; using Aspose.Cells.Vba; namespace Aspose.Cells.Examples.Articles { class AddLibraryReferenceToVbaProject { static void Main() { //ExStart:1 string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); ...
using System; using Aspose.Cells.Vba; namespace Aspose.Cells.Examples.Articles { class AddLibraryReferenceToVbaProject { static void Main() { string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); string outputPat...
mit
C#
e079ff750e3761b00f922e31ed13be44700db8f2
Disable resource compiler verbosity by default
markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation
packages/C/bam/Scripts/Defaults/ICommonWinResourceCompilerSettings.cs
packages/C/bam/Scripts/Defaults/ICommonWinResourceCompilerSettings.cs
#region License // Copyright (c) 2010-2015, Mark Final // 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 copyright notice, this // ...
#region License // Copyright (c) 2010-2015, Mark Final // 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 copyright notice, this // ...
bsd-3-clause
C#
20460adcd150147cf9d3182232fb2e818673bfcb
bump verison to 1.0.0
PKRoma/Fody,ichengzi/Fody,shanselman/Fody,distantcam/Fody,shanselman/Fody,furesoft/Fody,huoxudong125/Fody,Fody/Fody,jasonholloway/Fody,ColinDabritzViewpoint/Fody,GeertvanHorrik/Fody,shanselman/Fody
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
using System.Reflection; [assembly: AssemblyTitle("Fody")] [assembly: AssemblyProduct("Fody")] [assembly: AssemblyVersion("0.20.1.0")] [assembly: AssemblyFileVersion("0.20.1.0")]
mit
C#
c3b8fba1677e9a5fe9e6e51e8d173514c3c78fde
bump ref
Fody/EmptyConstructor
CommonAssemblyInfo.cs
CommonAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("EmptyConstructor")] [assembly: AssemblyProduct("EmptyConstructor")] [assembly: AssemblyVersion("1.1.7")] [assembly: AssemblyFileVersion("1.1.7")]
using System.Reflection; [assembly: AssemblyTitle("EmptyConstructor")] [assembly: AssemblyProduct("EmptyConstructor")] [assembly: AssemblyVersion("1.1.6")] [assembly: AssemblyFileVersion("1.1.6")]
mit
C#
da63cf09391af800e86753d0f60be08cf8916580
Remove obsolete IActionGenerator
bbqchickenrobot/Eto-1,l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1,l8s/Eto
Source/Eto/Forms/GenerateActionArgs.cs
Source/Eto/Forms/GenerateActionArgs.cs
using System; using System.Collections; using System.Collections.Generic; namespace Eto.Forms { [Obsolete("Use separate collections for actions, menu and toolbar.")] public class GenerateActionArgs : EventArgs { #region Members readonly ActionCollection actions; readonly ActionItemCollection menu; readon...
using System; using System.Collections; using System.Collections.Generic; namespace Eto.Forms { public interface IActionGenerator { void Generate(GenerateActionArgs args); } [Obsolete("Use separate collections for actions, menu and toolbar.")] public class GenerateActionArgs : EventArgs { #region Members ...
bsd-3-clause
C#
b3e28b7e18ab57d54a2a55aa23eafec1402fc063
fix ObserveProperty document summary
runceel/ReactiveProperty,runceel/ReactiveProperty,runceel/ReactiveProperty
Source/NET40/Extensions/INotifyPropertyChangedExtensions.cs
Source/NET40/Extensions/INotifyPropertyChangedExtensions.cs
using System; using System.ComponentModel; using System.Linq.Expressions; using System.Diagnostics.Contracts; #if WINDOWS_PHONE using Microsoft.Phone.Reactive; #else using System.Reactive; using System.Reactive.Linq; using System.Reactive.Concurrency; using System.Reactive.Disposables; #endif namespace C...
using System; using System.ComponentModel; using System.Linq.Expressions; using System.Diagnostics.Contracts; #if WINDOWS_PHONE using Microsoft.Phone.Reactive; #else using System.Reactive; using System.Reactive.Linq; using System.Reactive.Concurrency; using System.Reactive.Disposables; #endif namespace C...
mit
C#
7191f54a264e1bfd077cb8754e303a6ef0205dfe
Update IExchangeRateProvider.cs
tiksn/TIKSN-Framework
TIKSN.Core/Finance/ForeignExchange/IExchangeRateProvider.cs
TIKSN.Core/Finance/ForeignExchange/IExchangeRateProvider.cs
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance.ForeignExchange { public interface IExchangeRateProvider { Task<ExchangeRate> GetExchangeRateAsync(CurrencyInfo baseCurrency, CurrencyInfo counterCurrency, DateTimeOffset asOn, CancellationToken can...
using System; using System.Threading; using System.Threading.Tasks; namespace TIKSN.Finance.ForeignExchange { public interface IExchangeRateProvider { Task<ExchangeRate> GetExchangeRateAsync(CurrencyInfo baseCurrency, CurrencyInfo counterCurrency, DateTimeOffset asOn, CancellationToken cancellationTok...
mit
C#
ce8c30fd845ad27adb795a797f07378787a5bf93
Add documentation for episode ids.
henrikfroehling/TraktApiSharp
Source/Lib/TraktApiSharp/Objects/Get/Shows/Episodes/TraktEpisodeIds.cs
Source/Lib/TraktApiSharp/Objects/Get/Shows/Episodes/TraktEpisodeIds.cs
namespace TraktApiSharp.Objects.Get.Shows.Episodes { using Basic; /// <summary>A collection of ids for various web services, including the Trakt id, for a Trakt episode.</summary> public class TraktEpisodeIds : TraktIds { } }
namespace TraktApiSharp.Objects.Get.Shows.Episodes { using Basic; public class TraktEpisodeIds : TraktIds { } }
mit
C#
75fa5ea9f0a5ed71588e464d807803fa08ba261f
Update ServiceCollectionExtensions.cs
tiksn/TIKSN-Framework
TIKSN.Framework.UWP/DependencyInjection/ServiceCollectionExtensions.cs
TIKSN.Framework.UWP/DependencyInjection/ServiceCollectionExtensions.cs
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using TIKSN.Advertising; using TIKSN.FileSystem; using TIKSN.Network; using TIKSN.Settings; namespace TIKSN.DependencyInjection { public static class ServiceCollectionExtensions { public static I...
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TIKSN.Advertising; using TIKSN.FileSystem; using TIKSN.Network; using TIKSN.Settings; nam...
mit
C#
3be0e26965c6d18f82a6339315157852a9c56d9f
fix xmldoc
poxet/Influx-Capacitor,poxet/influxdb-collector
Tharga.Influx-Capacitor.Collector/Interface/IPerformanceCounterInfo.cs
Tharga.Influx-Capacitor.Collector/Interface/IPerformanceCounterInfo.cs
using System.Collections.Generic; namespace Tharga.InfluxCapacitor.Collector.Interface { public interface IPerformanceCounterInfo { /// <summary> /// Gets the name of this informational counter. /// Can be <see cref="CounterName"/> or <see cref="InstanceName"/>, depending if <se...
using System.Collections.Generic; namespace Tharga.InfluxCapacitor.Collector.Interface { public interface IPerformanceCounterInfo { /// <summary> /// Gets the name of this informational counter. /// Can be <see cref="CounterName"/> or <see cref="InstanceName"/>, depending if <se...
mit
C#
60368346e6f1b6345b90acaf89887a2833789513
Fix DomainException LogError parameter order
geeklearningio/gl-dotnet-domain
src/GeekLearning.Domain.AspnetCore/DomainExceptionFilter.cs
src/GeekLearning.Domain.AspnetCore/DomainExceptionFilter.cs
namespace GeekLearning.Domain.AspnetCore { using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; public class DomainExceptionFilter : IActionFilter { private ILoggerFactory loggerFactory; private IOptions<DomainOptions> opti...
namespace GeekLearning.Domain.AspnetCore { using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; public class DomainExceptionFilter : IActionFilter { private ILoggerFactory loggerFactory; private IOptions<DomainOptions> opti...
mit
C#
b19b6faa5a37a42f5096172c582d56a537353d6b
升级版本到2.2.3
Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/equeue,geffzhang/equeue,tangxuehua/equeue
src/EQueue/Properties/AssemblyInfo.cs
src/EQueue/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EQueue")] [assembly: AssemblyCopy...
using System.Reflection; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("EQueue")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("EQueue")] [assembly: AssemblyCopy...
mit
C#
ca801365115c52253343f8002cff06e67c9a9c5e
Update div converter functionality
mysticmind/reversemarkdown-net
src/ReverseMarkdown/Converters/Div.cs
src/ReverseMarkdown/Converters/Div.cs
using System; using System.Collections.Generic; using System.Linq; using HtmlAgilityPack; namespace ReverseMarkdown.Converters { public class Div : ConverterBase { public Div(Converter converter) : base(converter) { Converter.Register("div", this); } public overrid...
using System; using HtmlAgilityPack; namespace ReverseMarkdown.Converters { public class Div : ConverterBase { public Div(Converter converter) : base(converter) { Converter.Register("div", this); } public override string Convert(HtmlNode node) { ...
mit
C#
d3eb24e70a2861cbfbe3f5d3759bf67f1cb23628
Fix score retrieval no longer working
UselessToucan/osu,2yangk23/osu,peppy/osu,ZLima12/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,johnneijzen/osu,2yangk23/osu,naoey/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,smoogipooo/osu,NeoAdonis/osu,DrabWeb/osu,NeoAdonis/osu,smoogipoo/osu,naoey/osu,DrabWeb/osu,EVAST9919/osu,naoey...
osu.Game/Rulesets/Scoring/Score.cs
osu.Game/Rulesets/Scoring/Score.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 System.Collections.Generic; using Newtonsoft.Json; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Users; using osu.Game.Rules...
// 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 System.Collections.Generic; using osu.Game.Beatmaps; using osu.Game.Rulesets.Mods; using osu.Game.Users; using osu.Game.Rulesets.Replays; namespace...
mit
C#
c2d0467741b52e31840684ae6b298d8262d0fca2
increment pre-release version
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
60c4d132de98e1b8f2c708102f83249e399f7d13
increment minor version,
jwChung/Experimentalism,jwChung/Experimentalism
build/CommonAssemblyInfo.cs
build/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Jin-Wook Chung")] [assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: Co...
mit
C#
00eae8e75ac62d695fe4c7c6d939c2c2d23ba74d
Fix bug in OpenFileDialog
celeron533/marukotoolbox
mp4box/Extension/OpenFileDialogExt.cs
mp4box/Extension/OpenFileDialogExt.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static mp4box.Utility.DialogUtil; namespace System.Windows.Forms { public static class OpenFileDialogExt { public static OpenFileDialog Prepare(this OpenFileDialog dialog, string filter = "", string presetFileN...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using static mp4box.Utility.DialogUtil; namespace System.Windows.Forms { public static class OpenFileDialogExt { public static OpenFileDialog Prepare(this OpenFileDialog dialog, string filter = "", string presetFileN...
apache-2.0
C#
c0cff16756fbaaa1ac2978a24cd526ee92c98a1b
add logic on queues for retrieval
azure-contrib/netmfazurestorage
netmfazurestorage/Tests/QueueTests.cs
netmfazurestorage/Tests/QueueTests.cs
using System; using Microsoft.SPOT; using netmfazurestorage.Queue; namespace netmfazurestorage.Tests { public class QueueTests { private QueueClient _queueClient; public QueueTests(string accountName, string accountKey) { _queueClient = new QueueClient(accountName, accountK...
using System; using Microsoft.SPOT; using netmfazurestorage.Queue; namespace netmfazurestorage.Tests { public class QueueTests { private QueueClient _queueClient; public QueueTests(string accountName, string accountKey) { _queueClient = new QueueClient(accountName, accountK...
apache-2.0
C#
6d62861a8d77b7e29cab1186b53bfb8d6ba88b1b
Make the Csv Parser could parse a single line
gydisme/Unity-DataManager
Assets/DataManager/Custom/TableParserCsv.cs
Assets/DataManager/Custom/TableParserCsv.cs
using System.IO; using System.Text; using System.Collections.Generic; using DataManagement; public class TableParserCsv : TableParser { public override object Parse( object input ) { try { using( StringReader readFile = new StringReader( (string)input ) ) { return _Parse( readFile ); } } catch ...
using System.IO; using System.Text; using System.Collections.Generic; using DataManagement; public class TableParserCsv : TableParser { public override object Parse( object input ) { try { using( StringReader readFile = new StringReader( (string)input ) ) { return _Parse( readFile ); } } catch ...
mit
C#
116121a9bdb527823d8cc6e68350d400e6ee33de
Remove redundant line
ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,Tom94/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,Tom94/osu-framework,ZLi...
osu.Framework/Graphics/Video/StdIo.cs
osu.Framework/Graphics/Video/StdIo.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Graphics.Video { internal static class StdIo { internal const int SEEK_SET = 0; internal const int SEEK_CUR =...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE namespace osu.Framework.Graphics.Video { internal static class StdIo { internal const int SEEK_SET = 0; internal const int SEEK_CUR ...
mit
C#
07c10c59a0315b7b83baad8b862d6ee0194a0ce4
Add conditional access
peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework
osu.Framework/Utils/OrderAttribute.cs
osu.Framework/Utils/OrderAttribute.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; namespace osu.Framework.Utils { public static class OrderAttributeUtils { /// <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.Collections.Generic; using System.Linq; namespace osu.Framework.Utils { public static class OrderAttributeUtils { /// <summary...
mit
C#
f89abf3140aae14952dc4c422441108c6436344a
Add comment.
dotnet/roslyn,mattscheffer/roslyn,orthoxerox/roslyn,bkoelman/roslyn,diryboy/roslyn,eriawan/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,davkean/roslyn,jcouv/roslyn,xasx/roslyn,VSadov/roslyn,pdelvo/roslyn,AmadeusW/roslyn,OmarTawfik/roslyn,mavasani/roslyn,jamesqo/roslyn,mattschef...
src/Features/Core/Portable/AddImport/CodeActions/ProjectSymbolReferenceCodeAction.cs
src/Features/Core/Portable/AddImport/CodeActions/ProjectSymbolReferenceCodeAction.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.Immutable; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.AddImport ...
// 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.Immutable; using Microsoft.CodeAnalysis.CodeActions; using Microsoft.CodeAnalysis.Text; namespace Microsoft.CodeAnalysis.AddImport ...
mit
C#
e70a14b83093d3c85e6b6d0c04fe9a78691f149d
Enable testing in emulated or actual device mode
crosswalk-project/crosswalk-extensions-twoinone,crosswalk-project/crosswalk-extensions-twoinone,crosswalk-project/crosswalk-extensions-twoinone
twoinone-windows-test/TwoinoneTest.cs
twoinone-windows-test/TwoinoneTest.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace xwalk { class TwoinoneTest { static void Main(string[] args) { if (args.Length > 0 && args[0] == "emulator") ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace xwalk { class TwoinoneTest { static void Main(string[] args) { Emulator emulator = new Emulator(); TabletM...
bsd-3-clause
C#
aa795f05d7e242eaaa55b11b99f32e44abcdfcab
make SetValue work with JToken null
JSONAPIdotNET/JSONAPI.NET,SathishN/JSONAPI.NET,SphtKr/JSONAPI.NET,danshapir/JSONAPI.NET
JSONAPI/Core/EnumAttributeValueConverter.cs
JSONAPI/Core/EnumAttributeValueConverter.cs
using System; using System.Reflection; using Newtonsoft.Json.Linq; namespace JSONAPI.Core { /// <summary> /// Implementation of <see cref="IAttributeValueConverter" /> suitable for /// use converting between enum CLR properties and integer attributes. /// </summary> public class EnumAttributeValueC...
using System; using System.Reflection; using Newtonsoft.Json.Linq; namespace JSONAPI.Core { /// <summary> /// Implementation of <see cref="IAttributeValueConverter" /> suitable for /// use converting between enum CLR properties and integer attributes. /// </summary> public class EnumAttributeValueC...
mit
C#
52fa1e7cebd83c12fa557b1e8a649a6ba815ab78
Add interval-value comparer
skonves/Konves.Collections
Konves.Collections.ObjectModel/Comparers.cs
Konves.Collections.ObjectModel/Comparers.cs
using System; using System.Collections; using System.Collections.Generic; namespace Konves.Collections.ObjectModel { public class IntervalComparer<TBound> : IComparer<IInterval<TBound>> where TBound : IComparable<TBound> { public int Compare(IInterval<TBound> x, IInterval<TBound> y) { int lowerUpper = x.Lowe...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Konves.Collections.ObjectModel { public class IntervalComparer<TBound> : IComparer<IInterval<TBound>> where TBound : IComparable<TBound> { public int Compare(IInterval<TBound> x, IInterval<TBound> y) { int lowerUp...
apache-2.0
C#
cafd5d06b4d795234d155dd4148b8b460739eea5
Enable the user to choose PNG file as thumbnail.
allenlooplee/Lbookshelf
Lbookshelf/Utils/ChangeThumbnailBehavior.cs
Lbookshelf/Utils/ChangeThumbnailBehavior.cs
using Lbookshelf.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Interactivity; namespace Lbookshelf.Utils { public class ChangeThumbnailBehavior : Behavior<FrameworkElement> ...
using Lbookshelf.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Interactivity; namespace Lbookshelf.Utils { public class ChangeThumbnailBehavior : Behavior<FrameworkElement> ...
mit
C#
b3cd2d1b7dde5c377463577357f4400b3ccddc91
clean up code
maxlmo/outlook-matters,maxlmo/outlook-matters,makmu/outlook-matters,makmu/outlook-matters
OutlookMatters/Mattermost/RestMattermost.cs
OutlookMatters/Mattermost/RestMattermost.cs
using System; using Newtonsoft.Json; using OutlookMatters.Http; namespace OutlookMatters.Mattermost { public class RestMattermost: IMattermost { private readonly ISessionFactory _sessionFactory; private readonly IHttpClient _client; public RestMattermost(ISessionFactory sessionFactory...
using System; using Newtonsoft.Json; using OutlookMatters.Http; namespace OutlookMatters.Mattermost { public class RestMattermost: IMattermost { private readonly ISessionFactory _sessionFactory; private readonly IHttpClient _client; public RestMattermost(ISessionFactory sessionFactory...
mit
C#
2d829dc3539b86d5ee1c7e2116bf45bdea3318ca
Fix compilation error in sample
VirusFree/SharpDX,fmarrabal/SharpDX,sharpdx/SharpDX,davidlee80/SharpDX-1,andrewst/SharpDX,mrvux/SharpDX,manu-silicon/SharpDX,davidlee80/SharpDX-1,shoelzer/SharpDX,PavelBrokhman/SharpDX,TigerKO/SharpDX,fmarrabal/SharpDX,weltkante/SharpDX,fmarrabal/SharpDX,VirusFree/SharpDX,RobyDX/SharpDX,shoelzer/SharpDX,PavelBrokhman/S...
Samples/Toolkit/Desktop/MiniCube/Program.cs
Samples/Toolkit/Desktop/MiniCube/Program.cs
// Copyright (c) 2010-2012 SharpDX - Alexandre Mutel // // 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 (c) 2010-2012 SharpDX - Alexandre Mutel // // 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#
de6931a9ebbcaea4254fa51197f37e7068d30f1e
Update release version
ninjanye/SearchExtensions
SearchExtensions/Properties/AssemblyInfo.cs
SearchExtensions/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("Ni...
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("Ni...
mit
C#
0c0fb257e47839808da573d4217aa6332db98c07
Disable SSL checks for now
AlmirKadric/mage-sdk-unity,mage/mage-sdk-unity
Mage/Mage.cs
Mage/Mage.cs
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using System.Net; using Newtonsoft.Json.Linq; public class MageSetupStatus { public bool done = false; public Exception error = null; } public class Mage : Singleton<Mage> { // public EventManager eventManager; ...
using System; using System.Collections; using System.Collections.Generic; using System.Reflection; using Newtonsoft.Json.Linq; public class MageSetupStatus { public bool done = false; public Exception error = null; } public class Mage : Singleton<Mage> { // public EventManager eventManager; public Session se...
mit
C#
fbdea1fc8a628c841e10981b020c2d44fd93c212
Update CastSpellParams.cs (#3894)
LtRipley36706/ACE,ACEmulator/ACE,LtRipley36706/ACE,LtRipley36706/ACE,ACEmulator/ACE,ACEmulator/ACE
Source/ACE.Server/Entity/CastSpellParams.cs
Source/ACE.Server/Entity/CastSpellParams.cs
using ACE.Entity.Enum; using ACE.Server.WorldObjects; namespace ACE.Server.Entity { public class CastSpellParams { public Spell Spell { get; set; } //public bool IsWeaponSpell { get; set; } public WorldObject Caster { get; set; } public uint MagicSkill { get; set; } publ...
using ACE.Entity.Enum; using ACE.Server.WorldObjects; namespace ACE.Server.Entity { public class CastSpellParams { public Spell Spell { get; set; } //public bool IsWeaponSpell { get; set; } public WorldObject Caster { get; set; } public uint MagicSkill { get; set; } publ...
agpl-3.0
C#
05f9fa1ee753e2468b1d8bc9f6643f2eddf86cf7
Update ML info assertion (#5872) (#5875)
elastic/elasticsearch-net,elastic/elasticsearch-net
tests/Tests/XPack/MachineLearning/MachineLearningInfo/MachineLearningInfoApiTests.cs
tests/Tests/XPack/MachineLearning/MachineLearningInfo/MachineLearningInfoApiTests.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 FluentAssertions; using Nest; using Tests.Core.Client; using Tests.Co...
// 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 FluentAssertions; using Nest; using Tests.Core.Client; using Tests.Co...
apache-2.0
C#
cf1a378390e23567907a0fc7ac5ecf262e6c7d1e
Update CurrencyFactory.cs
tiksn/TIKSN-Framework
TIKSN.Core/Globalization/CurrencyFactory.cs
TIKSN.Core/Globalization/CurrencyFactory.cs
using System; using System.Globalization; using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using TIKSN.Data.Cache.Memory; using TIKSN.Finance; namespace TIKSN.Globalization { public class CurrencyFactory : MemoryCacheDecoratorBase<CurrencyInfo>, ICurrencyFactory { private...
using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; using System; using System.Globalization; using TIKSN.Data.Cache.Memory; using TIKSN.Finance; namespace TIKSN.Globalization { public class CurrencyFactory : MemoryCacheDecoratorBase<CurrencyInfo>, ICurrencyFactory { private...
mit
C#
3357df01ed45642b065550172ae715b2b05c1ebb
FIx HelenaX second hit effect
bunashibu/kikan
Assets/Scripts/Skill/Helena/HelenaX.cs
Assets/Scripts/Skill/Helena/HelenaX.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { [RequireComponent(typeof(SkillSynchronizer))] public class HelenaX : Skill { void Awake() { _synchronizer = GetComponent<SkillSynchronizer>(); _hitRistrictor = new HitRistrictor(_hitInfo); ...
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Bunashibu.Kikan { [RequireComponent(typeof(SkillSynchronizer))] public class HelenaX : Skill { void Awake() { _synchronizer = GetComponent<SkillSynchronizer>(); _hitRistrictor = new HitRistrictor(_hitInfo); ...
mit
C#
cf6aa18d13dfedb431a4019ee5610c2d9ffcf357
Rename of local variables
arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5
src/Arkivverket.Arkade/Core/Addml/Definitions/FieldIndex.cs
src/Arkivverket.Arkade/Core/Addml/Definitions/FieldIndex.cs
using Arkivverket.Arkade.ExternalModels.Addml; using Arkivverket.Arkade.Util; namespace Arkivverket.Arkade.Core.Addml.Definitions { internal class FieldIndex { private readonly string _flatFileDefinitionName; private readonly string _recordDefinitionName; private readonly string _field...
using Arkivverket.Arkade.ExternalModels.Addml; using Arkivverket.Arkade.Util; namespace Arkivverket.Arkade.Core.Addml.Definitions { internal class FieldIndex { private readonly string _flatFileDefinitionReference; private readonly string _recordDefinitionReference; private readonly str...
agpl-3.0
C#
70cd22ab740330b4ce4a3ff0b092864d717740b4
Fix AutoSuggestBox being focused when going back to Schedules page.
betrakiss/Tramline-5,betrakiss/Tramline-5
src/TramlineFive/TramlineFive/Views/Pages/Schedules.xaml.cs
src/TramlineFive/TramlineFive/Views/Pages/Schedules.xaml.cs
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using TramlineFive.Common.Models; using TramlineFive.ViewModels; using Windows.UI.Xaml; using Windows.UI.Xaml.Cont...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using System.Threading.Tasks; using TramlineFive.Common.Models; using TramlineFive.ViewModels; using Windows.UI.Xaml; using Windows.UI.Xaml.Cont...
apache-2.0
C#
cc0aa83eeccac1208efec7446d6003f4ace315ad
make odata response compatible with system.text.json
bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework,bit-foundation/bit-framework
src/Universal/Bit.Universal.Http/Contracts/ODataResponse.cs
src/Universal/Bit.Universal.Http/Contracts/ODataResponse.cs
using Newtonsoft.Json; using System.Text.Json.Serialization; namespace Bit.Http.Contracts { public class ODataResponse<T> { [JsonProperty("value")] [JsonPropertyName("value")] public virtual T Value { get; set; } = default!; [JsonProperty("@odata.context")] [JsonProper...
using Newtonsoft.Json; namespace Bit.Http.Contracts { public class ODataResponse<T> { [JsonProperty("value")] public virtual T Value { get; set; } = default!; [JsonProperty("@odata.context")] public virtual string? Context { get; set; } /// <summary> /// It ca...
mit
C#
352b0b4b3fb5d7e8b6a561dbf5a21921a3533be8
Use expression body
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/Controls/Dialog.xaml.cs
WalletWasabi.Fluent/Controls/Dialog.xaml.cs
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// A simple overlay Dialog control. /// </summary> public class Dialog : ContentControl { public static readonly StyledProperty<bool> IsDialogOpenProperty = AvaloniaProperty.Re...
using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; namespace WalletWasabi.Fluent.Controls { /// <summary> /// A simple overlay Dialog control. /// </summary> public class Dialog : ContentControl { public static readonly StyledProperty<bool> IsDialogOpenProperty = AvaloniaProperty.Re...
mit
C#
fda19b5a8f05b5aa1b37e4149450864501c49bad
Change 'Echos' to 'Echoes' (#964)
AntiTcb/Discord.Net,RogueException/Discord.Net
docs/guides/commands/samples/module.cs
docs/guides/commands/samples/module.cs
// Create a module with no prefix public class Info : ModuleBase<SocketCommandContext> { // ~say hello -> hello [Command("say")] [Summary("Echoes a message.")] public async Task SayAsync([Remainder] [Summary("The text to echo")] string echo) { // ReplyAsync is a method on ModuleBase await ReplyAsync(echo); } ...
// Create a module with no prefix public class Info : ModuleBase<SocketCommandContext> { // ~say hello -> hello [Command("say")] [Summary("Echos a message.")] public async Task SayAsync([Remainder] [Summary("The text to echo")] string echo) { // ReplyAsync is a method on ModuleBase await ReplyAsync(echo); } }...
mit
C#
8f1800568a9fd78f742e93c437a790babae65756
Add overloads
bartdesmet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,mavasani/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,bartdesmet/ro...
src/Features/Core/Portable/ExternalAccess/UnitTesting/API/UnitTestingSearchHelpers.cs
src/Features/Core/Portable/ExternalAccess/UnitTesting/API/UnitTestingSearchHelpers.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; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
// 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; using System.Collections.Immutable; using System.Threading; using System.Threading.Tasks; using Micro...
mit
C#
4c52edd1e6532f0283cfe1bbc44792d1f7831043
Add method ToString to override default display and replace by Caption
Seddryck/NBi,Seddryck/NBi
NBi.Core/Analysis/Metadata/Property.cs
NBi.Core/Analysis/Metadata/Property.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NBi.Core.Analysis.Metadata { public class Property : IField { public string UniqueName { get; private set; } public string Caption { get; set; } public Property(string uniqueNam...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NBi.Core.Analysis.Metadata { public class Property : IField { public string UniqueName { get; private set; } public string Caption { get; set; } public Property(string uniqueNam...
apache-2.0
C#
f38b01793fc6cdf5bef041ce5cd443779eb6852d
add manual pipeline status
Xarlot/NGitLab
NGitLab/NGitLab/Models/PipelineData.cs
NGitLab/NGitLab/Models/PipelineData.cs
using System.Runtime.Serialization; namespace NGitLab.Models { public enum PipelineStatus { undefined, pending, success, created, failed, aborted, running, canceled, skipped, manual, } [DataContract] public class Pipelin...
using System.Runtime.Serialization; namespace NGitLab.Models { public enum PipelineStatus { undefined, pending, success, created, failed, aborted, running, canceled, skipped, } [DataContract] public class PipelineData { ...
mit
C#
ffb59513f48842b35f1bdcc85cfa31fa5e924e96
Build problem fixed
tanyta78/CSharpOOPGame
BACKTOBG/BackToBg.Business/Business/PlayerActions/Actions/PauseMenuAction.cs
BACKTOBG/BackToBg.Business/Business/PlayerActions/Actions/PauseMenuAction.cs
using BackToBg.Core.Business.Attributes; using BackToBg.Core.Business.Menu; using BackToBg.Core.Business.UtilityInterfaces; namespace BackToBg.Core.Business.PlayerActions.Actions { [PlayerAction("Escape")] public class PauseMenuAction : PlayerAction { [Inject] private IReader reader; [Inj...
using BackToBg.Core.Business.Attributes; using BackToBg.Core.Business.Menu; using BackToBg.Core.Business.UtilityInterfaces; namespace BackToBg.Core.Business.PlayerActions.Actions { [PlayerAction("Escape")] public class PauseMenuAction : PlayerAction { [Inject] private IReader reader; [Inj...
mit
C#
e9ee1e030a2a949434b71e78dc4ada71e78e31a6
remove hard coded credentials
lderache/LeTruck,lderache/LeTruck,lderache/LeTruck
src/mvc5/TheTruck.Web/DataContexts/IdentityMigrations/Configuration.cs
src/mvc5/TheTruck.Web/DataContexts/IdentityMigrations/Configuration.cs
namespace TheTruck.Web.DataContexts.IdentityMigrations { using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Models; using System.Configuration; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConf...
namespace TheTruck.Web.DataContexts.IdentityMigrations { using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; using Models; using System.Data.Entity.Migrations; using System.Linq; internal sealed class Configuration : DbMigrationsConfiguration<TheTruck.Web.DataConte...
mit
C#
a29b36b854655ee808e30f6f4ee7e7dd5d5cc277
throw error for invalid input
alexperovich/buildtools,weshaggard/buildtools,ericstj/buildtools,nguerrera/buildtools,crummel/dotnet_buildtools,alexperovich/buildtools,weshaggard/buildtools,mmitche/buildtools,mmitche/buildtools,mmitche/buildtools,stephentoub/buildtools,alexperovich/buildtools,weshaggard/buildtools,joperezr/buildtools,crummel/dotnet_b...
src/xunit.netcore.extensions/Discoverers/ConditionalClassDiscoverer.cs
src/xunit.netcore.extensions/Discoverers/ConditionalClassDiscoverer.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; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection...
// 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; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection...
mit
C#
64e800187ddfd6e419a9bea5c298f5452a470943
disable namespace resharper autofix
RetireNet/dotnet-retire,RetireNet/dotnet-retire
RetireRuntimeMiddleware/RetireRunTimeMiddlewareExtensions.cs
RetireRuntimeMiddleware/RetireRunTimeMiddlewareExtensions.cs
using RetireRuntimeMiddleware.Middlewares; // ReSharper disable once CheckNamespace // On purpose to avoid cluttering hosts with new package namespace namespace Microsoft.AspNetCore.Builder { public static class RetireRunTimeMiddlewareExtensions { public static IApplicationBuilder UseRuntimeVulnerabili...
using RetireRuntimeMiddleware.Middlewares; namespace Microsoft.AspNetCore.Builder { public static class RetireRunTimeMiddlewareExtensions { public static IApplicationBuilder UseRuntimeVulnerabilityReport(this IApplicationBuilder builder) { return builder.UseMiddleware<RetireRunTimeM...
mit
C#
45924abd66fefb31e55d79592271ce0c708288d8
Add test files to tree
smo-key/NXTLib,smo-key/NXTLib
tests/nxtlibtester/Program.cs
tests/nxtlibtester/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NXTLib; using System.IO; namespace nxtlibtester { class Program { static void Main(string[] args) { try { string filename = "../../v...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NXTLib; using System.IO; namespace nxtlibtester { class Program { static void Main(string[] args) { try { string filename = "version...
mit
C#
7c6ec990d2795d8618fd9a0f81f09b39c18b93d6
Fix issue building demo
proyecto26/RestClient
demo/Assets/MainScript.cs
demo/Assets/MainScript.cs
using UnityEngine; using UnityEditor; using Models; using Proyecto26; using System.Collections.Generic; public class MainScript : MonoBehaviour { private readonly string basePath = "https://jsonplaceholder.typicode.com"; public void Get(){ // We can add default request headers for all requests RestClient.Defa...
using UnityEngine; using UnityEditor; using Models; using Proyecto26; using System.Collections.Generic; public class MainScript : MonoBehaviour { private readonly string basePath = "https://jsonplaceholder.typicode.com"; public void Get(){ // We can add default request headers for all requests RestClient.Defa...
mit
C#
ce21eee1554d7e31afff4c09e699af05a5fad577
replace target-typed object creation
jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,jkoritzinsky/Avalonia,jkoritzi...
tests/Avalonia.Visuals.UnitTests/Rendering/SceneGraph/LineNodeTests.cs
tests/Avalonia.Visuals.UnitTests/Rendering/SceneGraph/LineNodeTests.cs
using System.Collections.Generic; using Avalonia.Media; using Avalonia.Rendering.SceneGraph; using Xunit; namespace Avalonia.Visuals.UnitTests.Rendering.SceneGraph { public class LineNodeTests { [Fact] public void HitTest_Should_Be_True() { var lineNode = new LineNode( ...
using System.Collections.Generic; using Avalonia.Media; using Avalonia.Rendering.SceneGraph; using Xunit; namespace Avalonia.Visuals.UnitTests.Rendering.SceneGraph { public class LineNodeTests { [Fact] public void HitTest_Should_Be_True() { var lineNode = new LineNode( ...
mit
C#
72526229f70863a8edc6f319169cbae19d9c620d
Update UnixTimeToDateTimeOffsetJsonConverter; fix #17
arthurrump/Zermelo.API
Zermelo.API/Helpers/UnixTimeToDateTimeOffsetJsonConverter.cs
Zermelo.API/Helpers/UnixTimeToDateTimeOffsetJsonConverter.cs
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zermelo.API.Helpers { internal class UnixTimeToDateTimeOffsetJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { ...
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Zermelo.API.Helpers { internal class UnixTimeToDateTimeOffsetJsonConverter : JsonConverter { public override bool CanConvert(Type objectType) { ...
mit
C#
c105ae3ab08d95e2c94afd5b1126c8e4bcabed16
Fix name of changelog tests
amcoder/Curse.RestProxy
Curse.RestProxy.Tests/Controllers/AddOnFilesControllerChangelogTests.cs
Curse.RestProxy.Tests/Controllers/AddOnFilesControllerChangelogTests.cs
using System; using System.Threading.Tasks; using System.Web.Http.Results; using Curse.RestProxy.Controllers; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace Curse.RestProxy.Tests.Controllers { [TestClass] public class AddOnFilesControllerChangelogTests { [TestMethod] ...
using System; using System.Threading.Tasks; using System.Web.Http.Results; using Curse.RestProxy.Controllers; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace Curse.RestProxy.Tests.Controllers { [TestClass] public class AddOnFilesControllerChangelogTests { [TestMethod] ...
mit
C#
58185bfeb7201703defa1b1034d632e887ac4aba
Fix german three holy kings holiday name test
kappy/DateTimeExtensions
DateTimeExtensions.Tests/HolidaysTranslations/GermanHolidayNamesTest.cs
DateTimeExtensions.Tests/HolidaysTranslations/GermanHolidayNamesTest.cs
using DateTimeExtensions.WorkingDays; using DateTimeExtensions.WorkingDays.CultureStrategies; using NUnit.Framework; using System.Globalization; namespace DateTimeExtensions.Tests.HolidaysTranslations { [TestFixture] public class GermanHolidayNamesTest { [TestFixtureSetUp] public void Setu...
using DateTimeExtensions.WorkingDays; using DateTimeExtensions.WorkingDays.CultureStrategies; using NUnit.Framework; using System.Globalization; namespace DateTimeExtensions.Tests.HolidaysTranslations { [TestFixture] public class GermanHolidayNamesTest { [TestFixtureSetUp] public void Setu...
apache-2.0
C#
345ab279c3f02d0cb14f72e85edbfad26283d41b
update copyright strings in generated AssemblyInfo.cs in C# binding
OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch,OBIGOGIT/etch
binding-csharp/runtime/src/main/csharp/Properties/AssemblyInfo.cs
binding-csharp/runtime/src/main/csharp/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("Etch")] [assembly: AssemblyDescription("Ap...
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("Etch")] [assembly: AssemblyDescription("Ap...
apache-2.0
C#
1083e8276249975e3b5b9b9b3f81872042ac4716
Fix not using OverridedValue.Reason
ryancyq/aspnetboilerplate,fengyeju/aspnetboilerplate,Nongzhsh/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/aspnetboilerplate,verdentk/aspnetboilerplate,ryancyq/aspnetboilerplate,fengyeju/aspnetboilerplate,ryancyq/aspnetboilerplate,verdentk/aspnetboilerplate,zclmoon/aspnetboilerplate,virtualcca/aspnetboil...
src/Abp.AspNetCore/AspNetCore/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
src/Abp.AspNetCore/AspNetCore/EntityHistory/HttpRequestEntityChangeSetReasonProvider.cs
using Abp.Dependency; using Abp.EntityHistory; using Abp.Runtime; using JetBrains.Annotations; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; namespace Abp.AspNetCore.EntityHistory { /// <summary> /// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP...
using Abp.Dependency; using Abp.EntityHistory; using Abp.Runtime; using JetBrains.Annotations; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Extensions; namespace Abp.AspNetCore.EntityHistory { /// <summary> /// Implements <see cref="IEntityChangeSetReasonProvider"/> to get reason from HTTP...
mit
C#
782eda8def95ccc457fa292da6bbb8daa97c7239
Revert changes in CSharpOrderModifiersDiagnosticAnalyzer
shyamnamboodiripad/roslyn,KevinRansom/roslyn,sharwell/roslyn,sharwell/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,eriawan/roslyn,KevinRansom/roslyn,bartdesmet/roslyn,AmadeusW/roslyn,eriawan/roslyn,bartdesmet/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,sharwell/roslyn,CyrusNajmabadi/roslyn,ph...
src/Analyzers/CSharp/Analyzers/OrderModifiers/CSharpOrderModifiersDiagnosticAnalyzer.cs
src/Analyzers/CSharp/Analyzers/OrderModifiers/CSharpOrderModifiersDiagnosticAnalyzer.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. #nullable disable using System.Collections.Generic; using Microsoft.CodeAnalysis.CSharp.CodeStyle; using Microsoft...
// 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. #nullable disable using System.Collections.Generic; using Microsoft.CodeAnalysis.CSharp.CodeStyle; using Microsoft...
mit
C#
a5784b5654984a98a84fd51f515ddc60a60adac9
clean up FormatXml
mattfrear/Swashbuckle.AspNetCore.Examples
src/Swashbuckle.AspNetCore.Filters/Extensions/ObjectExtensions.cs
src/Swashbuckle.AspNetCore.Filters/Extensions/ObjectExtensions.cs
using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; using Microsoft.Net.Http.Headers; namespace Swashbuckle.AspNetCore.Filters.Extensions { public static class ObjectExtensions { public static string XmlSerialize<T>(this T value) { ...
using System; using System.IO; using System.Xml; using System.Xml.Linq; using System.Xml.Serialization; using Microsoft.Net.Http.Headers; namespace Swashbuckle.AspNetCore.Filters.Extensions { public static class ObjectExtensions { public static string XmlSerialize<T>(this T value) { ...
mit
C#
7b85e1fe63160ffa9da6cdb651b1a5300adc3190
Use WebUrl for OpenOnGitHub command
github/VisualStudio,github/VisualStudio,github/VisualStudio
src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml.cs
src/GitHub.VisualStudio/Views/GitHubPane/PullRequestDetailView.xaml.cs
using System; using System.ComponentModel.Composition; using System.Globalization; using System.Reactive.Linq; using System.Windows; using System.Windows.Input; using GitHub.Exports; using GitHub.Extensions; using GitHub.Services; using GitHub.UI; using GitHub.UI.Helpers; using GitHub.ViewModels.GitHubPane; using GitH...
using System; using System.ComponentModel.Composition; using System.Globalization; using System.Reactive.Linq; using System.Windows; using System.Windows.Input; using GitHub.Exports; using GitHub.Extensions; using GitHub.Services; using GitHub.UI; using GitHub.UI.Helpers; using GitHub.ViewModels.GitHubPane; using GitH...
mit
C#
f107cbe9afcde294785971dc269f8b5cf09df5ef
Convert to NFluent
blorgbeard/pickles,blorgbeard/pickles,irfanah/pickles,magicmonty/pickles,irfanah/pickles,picklesdoc/pickles,ludwigjossieaux/pickles,dirkrombauts/pickles,picklesdoc/pickles,magicmonty/pickles,magicmonty/pickles,ludwigjossieaux/pickles,picklesdoc/pickles,magicmonty/pickles,dirkrombauts/pickles,dirkrombauts/pickles,ludwig...
src/Pickles/Pickles.Test/WhenGeneratingPathsFromFeaturesToDitaFiles.cs
src/Pickles/Pickles.Test/WhenGeneratingPathsFromFeaturesToDitaFiles.cs
using System; using Autofac; using NUnit.Framework; using PicklesDoc.Pickles.DirectoryCrawler; using PicklesDoc.Pickles.DocumentationBuilders.DITA; using PicklesDoc.Pickles.ObjectModel; using NFluent; namespace PicklesDoc.Pickles.Test { [TestFixture] public class WhenGeneratingPathsFromFeaturesToDitaFiles : B...
using System; using Autofac; using NUnit.Framework; using PicklesDoc.Pickles.DirectoryCrawler; using PicklesDoc.Pickles.DocumentationBuilders.DITA; using PicklesDoc.Pickles.ObjectModel; using PicklesDoc.Pickles.Parser; using Should; namespace PicklesDoc.Pickles.Test { [TestFixture] public class WhenGenerating...
apache-2.0
C#
8954e14ad293d410593611fcbe29c9dabd25c4a2
Revert "Dummy commit to test PR. No real changes"
pharring/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet,Microsoft/ApplicationInsights-dotnet,pharring/ApplicationInsights-dotnet
Test/CoreSDK.Test/Net40/Extensibility/Implementation/Platform/PlatformReferencesTests.cs
Test/CoreSDK.Test/Net40/Extensibility/Implementation/Platform/PlatformReferencesTests.cs
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Platform { using Microsoft.ApplicationInsights.DataContracts; using Microsoft.VisualStudio.TestTools.UnitTesting; using Assert = Xunit.Assert; [TestClass] public class PlatformReferencesTests { [TestMethod] pu...
namespace Microsoft.ApplicationInsights.Extensibility.Implementation.Platform { using Microsoft.ApplicationInsights.DataContracts; using Microsoft.VisualStudio.TestTools.UnitTesting; using Assert = Xunit.Assert; [TestClass] public class PlatformReferencesTests { [TestMethod] pu...
mit
C#
234fffb719f21298e838a0433cc390aacaa26c98
Update version
mj1856/TimeZoneNames
SharedAssemblyInfo.cs
SharedAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.0.1.*")] [assembly: AssemblyInformationalVersion("1.0.1")]
using System.Reflection; [assembly: AssemblyCompany("Matt Johnson")] [assembly: AssemblyProduct("Time Zone Names")] [assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")] [assembly: AssemblyVersion("1.0.0.*")] [assembly: AssemblyInformationalVersion("1.0.0")]
mit
C#
f29642c13b16a7fcf2b5aae5b5cd52c8ec1dea9f
Add ApiException message when throwing DispatchException
appharbor/appharbor-cli
src/AppHarbor/CommandDispatcher.cs
src/AppHarbor/CommandDispatcher.cs
using System; using System.Linq; using Castle.MicroKernel; namespace AppHarbor { public class CommandDispatcher { private readonly IAliasMatcher _aliasMatcher; private readonly ITypeNameMatcher _typeNameMatcher; private readonly IKernel _kernel; public CommandDispatcher(IAliasMatcher aliasMatcher, ITypeNam...
using System; using System.Linq; using Castle.MicroKernel; namespace AppHarbor { public class CommandDispatcher { private readonly IAliasMatcher _aliasMatcher; private readonly ITypeNameMatcher _typeNameMatcher; private readonly IKernel _kernel; public CommandDispatcher(IAliasMatcher aliasMatcher, ITypeNam...
mit
C#
8a856105f0522681b77d8f55592ea6bd7f90fa4e
Mark Activity and it's properties as Serializable
richlander/corefx,jlin177/corefx,yizhang82/corefx,ViktorHofer/corefx,axelheer/corefx,wtgodbe/corefx,the-dwyer/corefx,billwert/corefx,krytarowski/corefx,parjong/corefx,zhenlan/corefx,cydhaselton/corefx,alexperovich/corefx,MaggieTsang/corefx,the-dwyer/corefx,mmitche/corefx,ptoonen/corefx,fgreinacher/corefx,Ermiar/corefx,...
src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.cs
src/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.Current.net45.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.Runtime.Remoting.Messaging; using System.Security; namespace System.Diagnostics { // this code is ...
// 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.Remoting.Messaging; using System.Security; namespace System.Diagnostics { public partial c...
mit
C#
11f780dfde514c0d8e2e7cb5b8c57b77bf643991
set hunger text when its in winter.
ZackAdams/squirrel-simulator,ZackAdams/squirrel-simulator
unity/Assets/HudDisplay.cs
unity/Assets/HudDisplay.cs
using UnityEngine; using System.Collections; public class HudDisplay : MonoBehaviour { public GUIText alertMessage; public GUIText nutsCollected; public GUIText hunger; public GUIText displayTimer; public CharacterStats player; public float fallTimelimit = 60; public float winterTimelimit = 60; public floa...
using UnityEngine; using System.Collections; public class HudDisplay : MonoBehaviour { public GUIText alertMessage; public GUIText nutsCollected; public GUIText hunger; public GUIText displayTimer; public CharacterStats player; public float fallTimelimit = 60; public float winterTimelimit = 60; public floa...
mit
C#
a24209f1a6a97b82939d4cf324400f05409504f4
Add ExposureNotificationCallbackBroadcastReceiver (#920)
xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents
XPlat/ExposureNotification/source/Xamarin.ExposureNotification/CallbackService.android.cs
XPlat/ExposureNotification/source/Xamarin.ExposureNotification/CallbackService.android.cs
using System.Collections.Generic; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.Gms.Nearby.ExposureNotification; using Android.Runtime; using AndroidX.Core.App; namespace Xamarin.ExposureNotifications { [BroadcastReceiver(Permission = permissionExposureCallback, Exported = tru...
using System.Collections.Generic; using System.Threading.Tasks; using Android.App; using Android.Content; using Android.Gms.Nearby.ExposureNotification; using Android.Runtime; using AndroidX.Core.App; namespace Xamarin.ExposureNotifications { [BroadcastReceiver( Permission = "com.google.android.gms.nearby.exposure...
mit
C#
036b41173208e824f50f489e53b35d541a3ff409
Update DateTimeExtensions.cs
keith-hall/Extensions,keith-hall/Extensions
src/DateTimeExtensions.cs
src/DateTimeExtensions.cs
using System; using System.Globalization; public static class DateTimeExtensions { public static string ToISO8601String(this DateTime dt) { // ISO-8601 date format return dt.ToString(@"yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture); } }
public static class DateTimeExtensions { public static string ToISO8601String (this DateTime dt) { // ISO-8601 date format return dt.ToString(@"yyyy-MM-ddTHH:mm:ss.fff", CultureInfo.InvariantCulture); } }
apache-2.0
C#
182708c2fc754327938f1ee01fd78b31d2f57a54
update API URL
IdentityModel/IdentityModel.OidcClient.Samples,IdentityModel/IdentityModel.OidcClient.Samples
iOSClient/iOSClient/ViewController.cs
iOSClient/iOSClient/ViewController.cs
using System; using System.Text; using IdentityModel.OidcClient; using UIKit; using Foundation; using System.Net.Http; using Newtonsoft.Json.Linq; namespace iOSClient { public partial class ViewController : UIViewController { SafariServices.SFSafariViewController safari; OidcClient _client; AuthorizeState _st...
using System; using System.Text; using IdentityModel.OidcClient; using UIKit; using Foundation; using System.Net.Http; using Newtonsoft.Json.Linq; namespace iOSClient { public partial class ViewController : UIViewController { SafariServices.SFSafariViewController safari; OidcClient _client; AuthorizeState _st...
apache-2.0
C#
6bcf32242cb5c527d284b1cec811956c55e9645f
fix urls
marihachi/MSharp2
src/MSharp.Core/Config.cs
src/MSharp.Core/Config.cs
using System; namespace MSharp.Core { public static class Config { public static string SessionKeyName { get; set; } = "hmsk"; public static Uri Url { get; set; } = new Uri("https://misskey.link"); public static Uri LoginUrl { get; set; } = new Uri("https://login.misskey.link"); public static Uri ApiUrl { g...
using System; namespace MSharp.Core { public static class Config { public static string SessionKeyName { get; set; } = "hmsk"; public static Uri Url { get; set; } = new Uri("https://misskey.xyz"); public static Uri LoginUrl { get; set; } = new Uri("https://login.misskey.xyz"); public static Uri ApiUrl { get...
mit
C#
64a25d4e06f57d7e2895ef3c9c85674d07108af5
Fix empty values for form item. (Thanks Eno!).
mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,jmptrader/manos,jmptrader/manos,mdavid/manos-spdy,jmptrader/manos,jacksonh/manos,mdavid/manos-spdy,jacksonh/manos,jmptrader/manos,jacksonh/manos,mdavid/manos...
src/Manos/Manos.Http/HttpFormDataHandler.cs
src/Manos/Manos.Http/HttpFormDataHandler.cs
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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,...
// // Copyright (C) 2010 Jackson Harper (jackson@manosdemono.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,...
mit
C#
2f927783ad6590452c65960111cb09919fe2c0e5
Add some tests for a bug.
KirillOsenkov/XmlParser
src/Microsoft.Language.Xml.Tests/TestApi.cs
src/Microsoft.Language.Xml.Tests/TestApi.cs
using System.Linq; using Xunit; namespace Microsoft.Language.Xml.Tests { public class TestApi { [Fact] public void TestAttributeValue() { var root = Parser.ParseText("<e a=\"\"/>"); var attributeValue = root.Attributes.First().Value; Asse...
using System.Linq; using Xunit; namespace Microsoft.Language.Xml.Tests { public class TestApi { [Fact] public void TestAttributeValue() { var root = Parser.ParseText("<e a=\"\"/>"); var attributeValue = root.Attributes.First().Value; Asse...
apache-2.0
C#