Show / Hide Table of Contents

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
System.Object
ClassId
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Common
Assembly: Juhta.Net.dll
Syntax
public class ClassId

Constructors

| Improve this Doc View Source

ClassId(String)

Initializes a new instance.

Declaration
public ClassId(string classId)
Parameters
Type Name Description
System.String classId

Specifies a class identifier as a string.

| Improve this Doc View Source

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, classId must not contain a library directory part.

Properties

| Improve this Doc View Source

ClassName

Gets the name of the class associated with this ClassId instance.

Declaration
public string ClassName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ClassNamespace

Gets the namespace of the class associated with this ClassId instance.

Declaration
public string ClassNamespace { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FullClassName

Gets the full name of the class associated with this ClassId instance.

Declaration
public string FullClassName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LibraryDirectory

Gets the library directory of the class associated with this ClassId instance.

Declaration
public string LibraryDirectory { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX