Skip to content
Merged
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
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#nullable enable
namespace System.Management.Automation.Provider
{
#region IDynamicPropertyCmdletProvider

/// <summary>
/// An interface that can be implemented on a Cmdlet provider to expose the dynamic
/// manipulation of properties.
Expand Down Expand Up @@ -61,7 +61,7 @@ void NewProperty(
string path,
string propertyName,
string propertyTypeName,
object value);
object? value);

/// <summary>
/// Gives the provider an opportunity to attach additional parameters to the
Expand All @@ -87,11 +87,11 @@ void NewProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object NewPropertyDynamicParameters(
object? NewPropertyDynamicParameters(
string path,
string propertyName,
string propertyTypeName,
object value);
object? value);

/// <summary>
/// Removes a property on the item specified by the path.
Expand Down Expand Up @@ -196,7 +196,7 @@ void RenameProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object RenamePropertyDynamicParameters(
object? RenamePropertyDynamicParameters(
string path,
string sourceProperty,
string destinationProperty);
Expand Down Expand Up @@ -262,7 +262,7 @@ void CopyProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object CopyPropertyDynamicParameters(
object? CopyPropertyDynamicParameters(
string sourcePath,
string sourceProperty,
string destinationPath,
Expand Down Expand Up @@ -328,7 +328,7 @@ void MoveProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object MovePropertyDynamicParameters(
object? MovePropertyDynamicParameters(
string sourcePath,
string sourceProperty,
string destinationPath,
Expand Down