Class ClassId
Defines a class identifier. A class identifier is a localhost file URI whose fragment part specifies a class name in a referenced library file.
The fragment part can begin with a '~.' prefix indicating that the library file name specifies the root namespace of the class. If a library path is not absolute, the path will be filled according to the current directory.
For example, the following values are valid class identifiers:
MyLibrary.dll#~.MyClass
file:///MyLibrary.dll#~.MyClass
file:///C:\MyDirectory\MyLibrary.dll#~.MyClass
file:///C:\MyDirectory\MyLibrary.dll#MyNamespace.MyClass
Inheritance
Inherited Members
Namespace: Juhta.Net.Common
Assembly: Juhta.Net.dll
Syntax
public class ClassId
Constructors
| Improve this Doc View SourceClassId(String)
Initializes a new instance.
Declaration
public ClassId(string classId)
Parameters
Type | Name | Description |
---|---|---|
System.String | classId | Specifies a class identifier as a string. |
ClassId(String, String)
Initializes a new instance.
Declaration
public ClassId(string classId, string libraryDirectory)
Parameters
Type | Name | Description |
---|---|---|
System.String | classId | Specifies a class identifier as a string. |
System.String | libraryDirectory | Specifies a library directory. Can be null. If non-null,
|
Properties
| Improve this Doc View SourceClassName
Gets the name of the class associated with this ClassId instance.
Declaration
public string ClassName { get; }
Property Value
Type | Description |
---|---|
System.String |
ClassNamespace
Gets the namespace of the class associated with this ClassId instance.
Declaration
public string ClassNamespace { get; }
Property Value
Type | Description |
---|---|
System.String |
FullClassName
Gets the full name of the class associated with this ClassId instance.
Declaration
public string FullClassName { get; }
Property Value
Type | Description |
---|---|
System.String |
LibraryDirectory
Gets the library directory of the class associated with this ClassId instance.
Declaration
public string LibraryDirectory { get; }
Property Value
Type | Description |
---|---|
System.String |
LibraryFileName
Gets the library file name of the class associated with this ClassId instance.
Declaration
public string LibraryFileName { get; }
Property Value
Type | Description |
---|---|
System.String |
LibraryFilePath
Gets the library file path of the class associated with this ClassId instance.
Declaration
public string LibraryFilePath { get; }
Property Value
Type | Description |
---|---|
System.String |