共用方式為


LocalRegistryMock.AddClass(Type, Object) Method

Definition

public:
 void AddClass(Type ^ classType, System::Object ^ instance);
public void AddClass (Type classType, object instance);
member this.AddClass : Type * obj -> unit
Public Sub AddClass (classType As Type, instance As Object)

Parameters

classType
Type
instance
Object

Applies to