Definition
Assembly: CloudNimble.Breakdance.Assemblies.dll Namespace: CloudNimble.Breakdance.Assemblies Inheritance: System.ObjectSyntax
Summary
This class represents a private class for the Private Accessor functionality.Remarks
This type originally lived in Microsoft.VisualStudio.TestTools.UnitTesting but was removed from V2.Constructors
.ctor
Initializes a new instance of the PrivateType class that contains the private type.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
assemblyName | string | Assembly name |
typeName | string | fully qualified name of the |
.ctor
Initializes a new instance of the PrivateType class that contains the private type from the type objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
type | System.Type | The wrapped Type to create. |
.ctor Inherited
Inherited from
objectSyntax
Properties
ReferencedType
Gets the referenced typeSyntax
Property Value
Type:System.Type
Methods
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
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetStaticArrayElement
Gets the element in static arraySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the array |
indices | int[] | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to get. For instance, to access a[10][11] the indices would be |
Returns
Type:object
element at the specified location
GetStaticArrayElement
Gets the element in satatic arraySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the array |
bindingFlags | System.Reflection.BindingFlags | Additional InvokeHelper attributes |
indices | int[] | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to get. For instance, to access a[10][11] the array would be |
Returns
Type:object
element at the spcified location
GetStaticField
Gets the static fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
Returns
Type:object
The static field.
GetStaticField
Gets the static field using specified InvokeHelper attributesSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
Returns
Type:object
The static field.
GetStaticFieldOrProperty
Gets the static field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
Returns
Type:object
The static field or property.
GetStaticFieldOrProperty
Gets the static field or property using specified InvokeHelper attributesSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
Returns
Type:object
The static field or property.
GetStaticProperty
Gets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
args | object[] | Arguements to the invocation |
Returns
Type:object
The static property.
GetStaticProperty
Gets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes. |
args | object[] | Arguments to pass to the member to invoke. |
Returns
Type:object
The static property.
GetStaticProperty
Gets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes. |
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 static property.
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
InvokeStatic
Invokes static memberSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member to InvokeHelper |
args | object[] | Arguements to the invoction |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes static memberSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member to InvokeHelper |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invoction |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes static memberSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member to InvokeHelper |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invoction |
typeArguments | System.Type[] | An array of types corresponding to the types of the generic arguments. |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
args | object[] | Arguements to the invocation |
culture | System.Globalization.CultureInfo | Culture |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invocation |
culture | System.Globalization.CultureInfo | Culture info |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
args | object[] | Arguements to the invocation |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invocation |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
args | object[] | Arguements to the invocation |
culture | System.Globalization.CultureInfo | Culture |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invocation |
culture | System.Globalization.CultureInfo | Culture |
Returns
Type:object
Result of invocation
InvokeStatic
Invokes the static methodSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the member |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
parameterTypes | System.Type[] | An array of Type objects representing the number, order, and type of the parameters for the method to invoke |
args | object[] | Arguements to the invocation |
culture | System.Globalization.CultureInfo | Culture |
typeArguments | System.Type[] | An array of types corresponding to the types of the generic arguments. |
Returns
Type:object
Result of invocation
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
SetStaticArrayElement
Sets the memeber of the static arraySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the array |
value | object | value to set |
indices | int[] | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to set. For instance, to access a[10][11] the array would be |
SetStaticArrayElement
Sets the memeber of the static arraySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the array |
bindingFlags | System.Reflection.BindingFlags | Additional InvokeHelper attributes |
value | object | value to set |
indices | int[] | A one-dimensional array of 32-bit integers that represent the indexes specifying |
| the position of the element to set. For instance, to access a[10][11] the array would be |
SetStaticField
Sets the static fieldSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
value | object | Arguement to the invocation |
SetStaticField
Sets the static field using binding attributesSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field |
bindingFlags | System.Reflection.BindingFlags | Additional InvokeHelper attributes |
value | object | Arguement to the invocation |
SetStaticFieldOrProperty
Sets the static field or propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
value | object | Value to be set to field or property |
SetStaticFieldOrProperty
Sets the static field or property using binding attributesSyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the field or property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes |
value | object | Value to be set to field or property |
SetStaticProperty
Sets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
value | object | Value to be set to field or property |
args | object[] | Arguments to pass to the member to invoke. |
SetStaticProperty
Sets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
value | object | Value to be set to field or 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. |
SetStaticProperty
Sets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes. |
value | object | Value to be set to field or property |
args | object[] | Optional index values for indexed properties. The indexes of indexed properties are zero-based. This value should be null for non-indexed properties. |
SetStaticProperty
Sets the static propertySyntax
Parameters
| Name | Type | Description |
|---|---|---|
name | string | Name of the property |
bindingFlags | System.Reflection.BindingFlags | Additional invocation attributes. |
value | object | Value to be set to field or 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. |
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?