Click or drag to resize

NamespaceInfo Class

Helper class to get information about a namespace and assembly
Inheritance Hierarchy
SystemObject
  EtoNamespaceInfo

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public class NamespaceInfo

The NamespaceInfo type exposes the following members.

Constructors
  NameDescription
Public methodNamespaceInfo(String)
Initializes a new instance of the NamespaceInfo class.
Public methodNamespaceInfo(String, Assembly)
Initializes a new instance of the NamespaceInfo class.
Top
Properties
  NameDescription
Public propertyAssembly
Gets or sets the assembly.
Public propertyNamespace
Gets the namespace.
Top
Methods
  NameDescription
Public methodFindResource
Finds the resource in the Assembly with the specified Namespace
Public methodFindResource(String)
Finds the resource in the Namespace of this Assembly
Public methodFindType
Finds the specified type in the Namespace of this Assembly
Top
Remarks
This is used to easily split the namespace and assembly parts from a string, and get the assembly instance. For example, "Eto.Drawing, Eto" will be split into "Eto.Drawing" for the namespace and the Assembly instance for the Eto.dll. Used primarily for serialization and conversion of types.
See Also

Reference