Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.PowerShell.Commands
class ConsoleColorCmdlet : PSCmdlet
{
/// <summary>
/// Default ctor.
/// Initializes a new instance of the <see cref="ConsoleColorCmdlet"/> class.
/// </summary>
public ConsoleColorCmdlet()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ internal class ExportCsvHelper : IDisposable
private readonly StringBuilder _outputString;

/// <summary>
/// Create ExportCsvHelper instance.
/// Initializes a new instance of the <see cref="ExportCsvHelper"/> class.
/// </summary>
/// <param name="delimiter">Delimiter char.</param>
/// <param name="quoteKind">Kind of quoting.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ internal class CustomSerialization
private CustomInternalSerializer _serializer;

/// <summary>
/// Constructor.
/// Initializes a new instance of the <see cref="CustomSerialization"/> class.
/// </summary>
/// <param name="writer">
/// writer to be used for serialization.
Expand Down Expand Up @@ -74,7 +74,7 @@ internal CustomSerialization(XmlWriter writer, bool notypeinformation, int depth
public static int MshDefaultSerializationDepth { get; } = 1;

/// <summary>
/// Constructor.
/// Initializes a new instance of the <see cref="CustomSerialization"/> class.
/// </summary>
/// <param name="writer">
/// writer to be used for serialization.
Expand Down Expand Up @@ -208,7 +208,7 @@ internal class
private bool _firstobjectcall = true;

/// <summary>
/// Constructor.
/// Initializes a new instance of the <see cref="CustomInternalSerializer"/> class.
/// </summary>
/// <param name="writer">
/// Xml writer to be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public sealed class PSRunspaceDebug
#region Constructors

/// <summary>
/// Constructor.
/// Initializes a new instance of the <see cref="PSRunspaceDebug"/> class.
/// </summary>
/// <param name="enabled">Enable debugger option.</param>
/// <param name="breakAll">BreakAll option.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class OutGridViewCommand : PSCmdlet, IDisposable
#region Constructors

/// <summary>
/// Constructor for OutGridView.
/// Initializes a new instance of the <see cref="OutGridViewCommand"/> class.
/// </summary>
public OutGridViewCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ internal class OutWindowProxy : IDisposable
private readonly GraphicalHostReflectionWrapper _graphicalHostReflectionWrapper;

/// <summary>
/// Initializes a new instance of the OutWindowProxy class.
/// Initializes a new instance of the <see cref="OutWindowProxy"/> class.
/// </summary>
internal OutWindowProxy(string title, OutputModeOption outPutMode, OutGridViewCommand parentCmdlet)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands
public class FormatListCommand : OuterFormatTableAndListBase
{
/// <summary>
/// Constructor to set the inner command.
/// Initializes a new instance of the <see cref="FormatListCommand"/> class
/// and sets the inner command.
/// </summary>
public FormatListCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands
public class FormatCustomCommand : OuterFormatShapeCommandBase
{
/// <summary>
/// Constructor to se the inner command.
/// Initializes a new instance of the <see cref="FormatCustomCommand"/> class
/// and sets the inner command.
/// </summary>
public FormatCustomCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands
public class FormatTableCommand : OuterFormatTableBase
{
/// <summary>
/// Constructor to set the inner command.
/// Initializes a new instance of the <see cref="FormatTableCommand"/> class
/// and sets the inner command.
/// </summary>
public FormatTableCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ namespace Microsoft.PowerShell.Commands
public class FormatWideCommand : OuterFormatShapeCommandBase
{
/// <summary>
/// Constructor to se the inner command.
/// Initializes a new instance of the <see cref="FormatWideCommand"/> class
/// and sets the inner command.
/// </summary>
public FormatWideCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ internal static FileMode Convert(OpenMode openMode)
public class OutFileCommand : FrontEndCommandBase
{
/// <summary>
/// Set inner command.
/// Initializes a new instance of the <see cref="OutFileCommand"/> class
/// and sets the inner command.
/// </summary>
public OutFileCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands
public class OutPrinterCommand : FrontEndCommandBase
{
/// <summary>
/// Set inner command.
/// Initializes a new instance of the <see cref="OutPrinterCommand"/> class
/// and sets the inner command.
/// </summary>
public OutPrinterCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ internal override void WriteLine(string s)
#endregion

/// <summary>
/// Initializes static members of the <see cref="PrinterLineOutput"/> class.
/// Used for static initializations like DefaultPrintFontName.
/// </summary>
static PrinterLineOutput()
Expand All @@ -81,7 +82,7 @@ static PrinterLineOutput()
}

/// <summary>
/// Constructor for the class.
/// Initializes a new instance of the <see cref="PrinterLineOutput"/> class.
/// </summary>
/// <param name="printerName">Name of printer, if null use default printer.</param>
internal PrinterLineOutput(string printerName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public SwitchParameter NoNewline
#endregion

/// <summary>
/// Set inner command.
/// Initializes a new instance of the <see cref="OutStringCommand"/> class
/// and sets the inner command.
/// </summary>
public OutStringCommand()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public override string ToString()
return Definition;
}
/// <summary>
/// Initializes a new instance of this class.
/// Initializes a new instance of the <see cref="MemberDefinition"/> class.
/// </summary>
public MemberDefinition(string typeName, string name, PSMemberTypes memberType, string definition)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ protected override void EndProcessing()
internal class PolymorphicRandomNumberGenerator
{
/// <summary>
/// Constructor.
/// Initializes a new instance of the <see cref="PolymorphicRandomNumberGenerator"/> class.
/// </summary>
public PolymorphicRandomNumberGenerator()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public abstract class MeasureInfo
public sealed class GenericMeasureInfo : MeasureInfo
{
/// <summary>
/// Default ctor.
/// Initializes a new instance of the <see cref="GenericMeasureInfo"/> class.
/// </summary>
public GenericMeasureInfo()
{
Expand Down Expand Up @@ -77,6 +77,7 @@ public GenericMeasureInfo()
public sealed class GenericObjectMeasureInfo : MeasureInfo
{
/// <summary>
/// Initializes a new instance of the <see cref="GenericObjectMeasureInfo"/> class.
/// Default ctor.
/// </summary>
public GenericObjectMeasureInfo()
Expand Down Expand Up @@ -122,6 +123,7 @@ public GenericObjectMeasureInfo()
public sealed class TextMeasureInfo : MeasureInfo
{
/// <summary>
/// Initializes a new instance of the <see cref="TextMeasureInfo"/> class.
/// Default ctor.
/// </summary>
public TextMeasureInfo()
Expand Down Expand Up @@ -162,6 +164,7 @@ private class MeasureObjectDictionary<V> : Dictionary<string, V>
where V : new()
{
/// <summary>
/// Initializes a new instance of the <see cref="MeasureObjectDictionary{V}"/> class.
/// Default ctor.
/// </summary>
internal MeasureObjectDictionary() : base(StringComparer.OrdinalIgnoreCase)
Expand Down Expand Up @@ -216,6 +219,7 @@ private class Statistics
}

/// <summary>
/// Initializes a new instance of the <see cref="MeasureObjectCommand"/> class.
/// Default constructor.
/// </summary>
public MeasureObjectCommand()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ internal ObjectCommandPropertyValue(object propVal)
}

/// <summary>
/// ObjectCommandPropertyValue constructor.
/// Initializes a new instance of the <see cref="ObjectCommandPropertyValue"/> class.
/// </summary>
/// <param name="propVal">Property Value.</param>
/// <param name="isCaseSensitive">Indicates if the Property value comparison has to be case sensitive or not.</param>
Expand Down Expand Up @@ -139,6 +139,7 @@ public override int GetHashCode()
internal class ObjectCommandComparer : IComparer
{
/// <summary>
/// Initializes a new instance of the <see cref="ObjectCommandComparer"/> class.
/// Constructor that doesn't set any private field.
/// Necessary because compareTo can compare two objects by calling
/// ((ICompare)obj1).CompareTo(obj2) without using a key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ bool caseSensitive
}

/// <summary>
/// OrderByProperty constructor.
/// Initializes a new instance of the <see cref="OrderByProperty"/> class.
/// </summary>
internal OrderByProperty()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Microsoft.PowerShell.Commands
public sealed class ReadHostCommand : PSCmdlet
{
/// <summary>
/// Constructs a new instance.
/// Initializes a new instance of the <see cref="ReadHostCommand"/> class.
/// </summary>
public
ReadHostCommand()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ namespace Microsoft.PowerShell.Commands
internal sealed class PSPropertyExpressionFilter
{
/// <summary>
/// Construct the class, using an array of patterns.
/// Initializes a new instance of the <see cref="PSPropertyExpressionFilter"/> class
/// with the specified array of patterns.
/// </summary>
/// <param name="wildcardPatternsStrings">Array of pattern strings to use.</param>
internal PSPropertyExpressionFilter(string[] wildcardPatternsStrings)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
public class ShowCommandCommandInfo
{
/// <summary>
/// Creates an instance of the ShowCommandCommandInfo class based on a CommandInfo object.
/// Initializes a new instance of the <see cref="ShowCommandCommandInfo"/> class
/// with the specified <see cref="CommandInfo"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down Expand Up @@ -62,7 +63,8 @@ public ShowCommandCommandInfo(CommandInfo other)
}

/// <summary>
/// Creates an instance of the ShowCommandCommandInfo class based on a PSObject object.
/// Initializes a new instance of the <see cref="ShowCommandCommandInfo"/> class
/// with the specified <see cref="PSObject"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
public class ShowCommandModuleInfo
{
/// <summary>
/// Creates an instance of the ShowCommandModuleInfo class based on a CommandInfo object.
/// Initializes a new instance of the <see cref="ShowCommandModuleInfo"/> class
/// with the specified <see cref="CommandInfo"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand All @@ -28,7 +29,8 @@ public ShowCommandModuleInfo(PSModuleInfo other)
}

/// <summary>
/// Creates an instance of the ShowCommandModuleInfo class based on a PSObject object.
/// Initializes a new instance of the <see cref="ShowCommandModuleInfo"/> class
/// with the specified <see cref="PSObject"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
public class ShowCommandParameterInfo
{
/// <summary>
/// Creates an instance of the ShowCommandParameterInfo class based on a CommandParameterInfo object.
/// Initializes a new instance of the <see cref="ShowCommandParameterInfo"/> class
/// with the specified <see cref="CommandParameterInfo"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand All @@ -41,6 +42,7 @@ public ShowCommandParameterInfo(CommandParameterInfo other)
}

/// <summary>
/// Initializes a new instance of the <see cref="ShowCommandParameterInfo"/> class.
/// Creates an instance of the ShowCommandParameterInfo class based on a PSObject object.
/// </summary>
/// <param name="other">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
public class ShowCommandParameterSetInfo
{
/// <summary>
/// Creates an instance of the ShowCommandParameterSetInfo class based on a CommandParameterSetInfo object.
/// Initializes a new instance of the <see cref="ShowCommandParameterSetInfo"/> class
/// with the specified <see cref="CommandParameterSetInfo"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand All @@ -32,7 +33,8 @@ public ShowCommandParameterSetInfo(CommandParameterSetInfo other)
}

/// <summary>
/// Creates an instance of the ShowCommandParameterSetInfo class based on a PSObject object.
/// Initializes a new instance of the <see cref="ShowCommandParameterSetInfo"/> class
/// with the specified <see cref="PSObject"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ namespace Microsoft.PowerShell.Commands.ShowCommandExtension
public class ShowCommandParameterType
{
/// <summary>
/// Creates an instance of the ShowCommandParameterType class based on a Type object.
/// Initializes a new instance of the <see cref="ShowCommandParameterType"/> class
/// with the specified <see cref="Type"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down Expand Up @@ -42,7 +43,8 @@ public ShowCommandParameterType(Type other)
}

/// <summary>
/// Creates an instance of the ShowCommandParameterType class based on a Type object.
/// Initializes a new instance of the <see cref="ShowCommandParameterType"/> class
/// with the specified <see cref="Type"/>.
/// </summary>
/// <param name="other">
/// The object to wrap.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,16 @@ public class BasicHtmlWebResponseObject : WebResponseObject
#region Constructors

/// <summary>
/// Constructor for BasicHtmlWebResponseObject.
/// Initializes a new instance of the <see cref="BasicHtmlWebResponseObject"/> class.
/// </summary>
/// <param name="response"></param>
public BasicHtmlWebResponseObject(HttpResponseMessage response)
: this(response, null)
{ }

/// <summary>
/// Constructor for HtmlWebResponseObject with memory stream.
/// Initializes a new instance of the <see cref="BasicHtmlWebResponseObject"/> class
/// with the specified <paramref name="contentStream"/>.
/// </summary>
/// <param name="response"></param>
/// <param name="contentStream"></param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ private void ProcessAuthentication()
public sealed class HttpResponseException : HttpRequestException
{
/// <summary>
/// Constructor for HttpResponseException.
/// Initializes a new instance of the <see cref="HttpResponseException"/> class.
/// </summary>
/// <param name="message">Message for the exception.</param>
/// <param name="response">Response from the HTTP server.</param>
Expand Down
Loading