Descriptor that points to specific object type by it's name and optional library(or module) where this type is defined.
More...
|
| TypeDescriptor () |
| Creates a new instance of the type descriptor. More...
|
|
| TypeDescriptor (string name, string library) |
| Creates a new instance of the type descriptor and sets its values. More...
|
|
override bool | Equals (object obj) |
| Compares this descriptor to a value. If the value is also a TypeDescriptor it compares their name and library fields.Otherwise this method returns false. More...
|
|
override int | GetHashCode () |
|
override string | ToString () |
| Gets a string representation of the object. The result has format name[, library] More...
|
|
|
static TypeDescriptor | FromString (string value) |
| Parses a string to get descriptor fields and returns them as a Descriptor. The string must have format name[, library] More...
|
|
|
string | Name [get] |
|
string | Library [get] |
|
Descriptor that points to specific object type by it's name and optional library(or module) where this type is defined.
This class has symmetric implementation across all languages supported by Pip.Services toolkit and used to support dynamic data processing.
◆ TypeDescriptor() [1/2]
PipServices3.Commons.Reflect.TypeDescriptor.TypeDescriptor |
( |
| ) |
|
Creates a new instance of the type descriptor.
◆ TypeDescriptor() [2/2]
PipServices3.Commons.Reflect.TypeDescriptor.TypeDescriptor |
( |
string |
name, |
|
|
string |
library |
|
) |
| |
Creates a new instance of the type descriptor and sets its values.
- Parameters
-
name | a name of the object type. |
library | a library or module where this object type is implemented. |
◆ Equals()
override bool PipServices3.Commons.Reflect.TypeDescriptor.Equals |
( |
object |
obj | ) |
|
Compares this descriptor to a value. If the value is also a TypeDescriptor it compares their name and library fields.Otherwise this method returns false.
- Parameters
-
- Returns
- true if value is identical TypeDescriptor and false otherwise.
◆ FromString()
static TypeDescriptor PipServices3.Commons.Reflect.TypeDescriptor.FromString |
( |
string |
value | ) |
|
|
static |
Parses a string to get descriptor fields and returns them as a Descriptor. The string must have format name[, library]
- Parameters
-
- Returns
- a newly created Descriptor.
◆ ToString()
override string PipServices3.Commons.Reflect.TypeDescriptor.ToString |
( |
| ) |
|
Gets a string representation of the object. The result has format name[, library]
- Returns
- a string representation of the object.
The documentation for this class was generated from the following file:
- src/Reflect/TypeDescriptor.cs