Definition
Assembly: CloudNimble.Breakdance.Assemblies.dll Namespace: CloudNimble.Breakdance.Assemblies Inheritance: System.ObjectSyntax
Summary
This class represents the live NON public INTERNAL object in the systemRemarks
This type originally lived in Microsoft.VisualStudio.TestTools.UnitTesting but was removed from V2.Constructors
.ctor
Initializes a new instance of the PrivateObject class that contains the already existing object of the private classSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object | object that serves as starting point to reach the private members |
memberToAccess | string | the derefrencing string using . that points to the object to be retrived as in m_X.m_Y.m_Z |
.ctor
Initializes a new instance of the PrivateObject class that wraps the specified type.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
assemblyName | string | Name of the assembly |
typeName | string | fully qualified name |
args | object[] | Argmenets to pass to the constructor |
.ctor
Initializes a new instance of the PrivateObject class that wraps the specified type.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
assemblyName | string | Name of the assembly |
typeName | string | fully qualified name |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the constructor to get |
args | object[] | Arguments to pass to the constructor |
.ctor
Initializes a new instance of the PrivateObject class that wraps the specified type.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
type | System.Type | type of the object to create |
args | object[] | Arguments to pass to the constructor |
.ctor
Initializes a new instance of the PrivateObject class that wraps the specified type.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
type | System.Type | type of the object to create |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the constructor to get |
args | object[] | Arguments to pass to the constructor |
.ctor
Initializes a new instance of the PrivateObject class that wraps the given object.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object | object to wrap |
.ctor
Initializes a new instance of the PrivateObject class that wraps the given object.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object | object to wrap |
type | CloudNimble.Breakdance.Assemblies.PrivateType | PrivateType object |
.ctor Inherited
Inherited from
objectSyntax
Properties
RealType
Gets the type of underlying objectSyntax
Property Value
Type:System.Type
Target
Gets or sets the targetSyntax
Property Value
Type:object
Methods
Equals Override
EqualsSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object | Object with whom to compare |
Returns
Type:bool
returns true if the objects are equal.
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetArrayElement
Gets the array element using array of subsrcipts for each dimensionSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
indices | int[] | the indices of array |
Returns
Type:object
An arrya of elements.
GetArrayElement
Gets the array element using array of subsrcipts for each dimensionSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
indices | int[] | the indices of array |
Returns
Type:object
An arrya of elements.
GetField
Get the fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
Returns
Type:object
The field.
GetField
Gets the fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
Returns
Type:object
The field.
GetFieldOrProperty
Get the field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
Returns
Type:object
The field or property.
GetFieldOrProperty
Gets the field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
Returns
Type:object
The field or property.
GetHashCode Override
returns the hash code of the target objectSyntax
Returns
Type:int
int representing hashcode of the target object
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetProperty
Gets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
The property.
GetProperty
Gets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the indexed property. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
The property.
GetProperty
Gets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
The property.
GetProperty
Gets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the indexed property. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
The property.
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
typeArguments | System.Type[] | An array of types corresponding to the types of the generic arguments. |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
args | object[] | Arguments to pass to the member to invoke. |
culture | System.Globalization.CultureInfo | Culture info |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
culture | System.Globalization.CultureInfo | Culture info |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
args | object[] | Arguments to pass to the member to invoke. |
culture | System.Globalization.CultureInfo | Culture info |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
culture | System.Globalization.CultureInfo | Culture info |
Returns
Type:object
Result of method call
Invoke
Invokes the specified methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the method |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to get. |
args | object[] | Arguments to pass to the member to invoke. |
culture | System.Globalization.CultureInfo | Culture info |
typeArguments | System.Type[] | An array of types corresponding to the types of the generic arguments. |
Returns
Type:object
Result of method call
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
SetArrayElement
Sets the array element using array of subsrcipts for each dimensionSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
value | object | Value to set |
indices | int[] | the indices of array |
SetArrayElement
Sets the array element using array of subsrcipts for each dimensionSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
value | object | Value to set |
indices | int[] | the indices of array |
SetField
Sets the fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
value | object | value to set |
SetField
Sets the fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
value | object | value to set |
SetFieldOrProperty
Sets the field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
value | object | value to set |
SetFieldOrProperty
Sets the field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
value | object | value to set |
SetProperty
Set the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
value | object | value to set |
args | object[] | Arguments to pass to the member to invoke. |
SetProperty
Set the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the indexed property. |
value | object | value to set |
args | object[] | Arguments to pass to the member to invoke. |
SetProperty
Sets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
value | object | value to set |
args | object[] | Arguments to pass to the member to invoke. |
SetProperty
Sets the propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | A bitmask comprised of one or more BindingFlags that specify how the search is conducted. |
value | object | value to set |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the indexed property. |
args | object[] | Arguments to pass to the member to invoke. |
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?