Class Namespace
Syntax
public sealed class Namespace
Properties
Ancestors
Declaration
public IEnumerable<Namespace> Ancestors { get; }
Property Value
FullName
Declaration
public string FullName { get; }
Property Value
Global
Declaration
public static Namespace Global { get; }
Property Value
IsGlobal
Declaration
public bool IsGlobal { get; }
Property Value
IsRoot
Declaration
public bool IsRoot { get; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Parent
Declaration
public Namespace Parent { get; }
Property Value
Root
Declaration
public Namespace Root { get; }
Property Value
Methods
AndAncestors()
Declaration
public IEnumerable<Namespace> AndAncestors()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
FromFullName(String)
Declaration
public static Namespace FromFullName(string fullName)
Parameters
Type |
Name |
Description |
String |
fullName |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(Namespace, Namespace)
Declaration
public static bool operator ==(Namespace a, Namespace b)
Parameters
Returns
Implicit(String to Namespace)
Declaration
public static implicit operator Namespace(string fullName)
Parameters
Type |
Name |
Description |
String |
fullName |
|
Returns
Implicit(Namespace to String)
Declaration
public static implicit operator string (Namespace namespace)
Parameters
Returns
Inequality(Namespace, Namespace)
Declaration
public static bool operator !=(Namespace a, Namespace b)
Parameters
Returns
Extension Methods