Files
PowerShell/src/System.Management.Automation/engine/PositionalCommandParameter.cs
T
PowerShell Team ae8d2ed794 Refactor - convert to auto-property
Mostly using R# to automatically refactor, with some manual
fixups where it wouldn't work automatically (e.g. xml comments
on fields) or some it seemed to miss.

Some minor code reformatting was also done on properties near
other stuff I was manually inspecting.
2016-08-03 12:14:28 -07:00

31 lines
938 B
C#

/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System.Collections.ObjectModel;
namespace System.Management.Automation
{
internal class PositionalCommandParameter
{
#region ctor
/// <summary>
/// Constructs a container for the merged parameter metadata and
/// parameter set specific metadata for a positional parameter
/// </summary>
///
internal PositionalCommandParameter(MergedCompiledCommandParameter parameter)
{
Parameter = parameter;
}
#endregion ctor
internal MergedCompiledCommandParameter Parameter { get; }
internal Collection<ParameterSetSpecificMetadata> ParameterSetData { get; } = new Collection<ParameterSetSpecificMetadata>();
}
}