Display the object instance object json from the type definition by using Activator.
Activity
01 Syntax
Microsoft.VisualBasic.Scripting.Activity
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| DisplayType | 1 | 请注意,所需要进行显示的类型必须要Public类型的,假若该目标类型在Module之中,请保证Module也是Public访问的 |
| Active | 1 | Display the json of the target type its instance object. |
| ActiveObject | 1 | 与Activator.CreateInstance())所不同的是,这个函数还会对属性进行一些Demo值得赋值操作 |
| __active | 1 | Creates the example instance object for the example |
| __activeList | 1 | + List + List(会统一返回这种类型) |
03 Members
DisplayType(
Type)请注意,所需要进行显示的类型必须要Public类型的,假若该目标类型在Module之中,请保证Module也是Public访问的
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |
Active(
Type)Display the json of the target type its instance object.
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |
ActiveObject(
Type)与Activator.CreateInstance()所不同的是,这个函数还会对属性进行一些Demo值得赋值操作
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |
__active(
Type)Creates the example instance object for the example
Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |
__activeList(
Type)Parameters
| Name | Type | Description |
|---|---|---|
type | Type | - |