Partager via


ClassOps Class

Definition

Support methods for PowerShell classes.

public ref class ClassOps abstract sealed
public static class ClassOps
type ClassOps = class
Public Class ClassOps
Inheritance
ClassOps

Methods

CallBaseCtor(Object, ConstructorInfo, Object[])

Performs base ctor call as a method call.

CallMethodNonVirtually(Object, MethodInfo, Object[])

Performs non-virtual method call with return value. Main usage: base class method call inside subclass method.

CallVoidMethodNonVirtually(Object, MethodInfo, Object[])

Performs non-virtual void method call. Main usage: base class method call inside subclass method.

ValidateSetProperty(Type, String, Object)

This method calls all Validate attributes for the property to validate value. Called from class property setters with ValidateArgumentsAttribute attributes.

Applies to