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
Expand Up @@ -3,6 +3,7 @@

using System.Collections.ObjectModel;

#nullable enable
namespace System.Management.Automation.Provider
{
#region IPropertyCmdletProvider
Expand Down Expand Up @@ -58,7 +59,7 @@ public interface IPropertyCmdletProvider
/// </remarks>
void GetProperty(
string path,
Collection<string> providerSpecificPickList);
Collection<string>? providerSpecificPickList);

/// <summary>
/// Gives the provider an opportunity to attach additional parameters to the
Expand All @@ -79,9 +80,9 @@ void GetProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object GetPropertyDynamicParameters(
object? GetPropertyDynamicParameters(
string path,
Collection<string> providerSpecificPickList);
Collection<string>? providerSpecificPickList);

/// <summary>
/// Sets the specified properties of the item at the specified path.
Expand Down Expand Up @@ -137,7 +138,7 @@ void SetProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object SetPropertyDynamicParameters(
object? SetPropertyDynamicParameters(
string path,
PSObject propertyValue);

Expand Down Expand Up @@ -191,7 +192,7 @@ void ClearProperty(
///
/// The default implementation returns null. (no additional parameters)
/// </returns>
object ClearPropertyDynamicParameters(
object? ClearPropertyDynamicParameters(
string path,
Collection<string> propertyToClear);
}
Expand Down