Class UnitCategory
Syntax
[AttributeUsage(AttributeTargets.Class)]
[fsObject(Converter = typeof(UnitCategoryConverter))]
public class UnitCategory : Attribute, _Attribute
Constructors
UnitCategory(String)
Declaration
public UnitCategory(string fullName)
Parameters
Type |
Name |
Description |
String |
fullName |
|
Properties
ancestors
Declaration
public IEnumerable<UnitCategory> ancestors { get; }
Property Value
fullName
Declaration
public string fullName { get; }
Property Value
isRoot
Declaration
public bool isRoot { get; }
Property Value
name
Declaration
public string name { get; }
Property Value
parent
Declaration
public UnitCategory parent { get; }
Property Value
root
Declaration
public UnitCategory root { get; }
Property Value
Methods
AndAncestors()
Declaration
public IEnumerable<UnitCategory> AndAncestors()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(UnitCategory, UnitCategory)
Declaration
public static bool operator ==(UnitCategory a, UnitCategory b)
Parameters
Returns
Inequality(UnitCategory, UnitCategory)
Declaration
public static bool operator !=(UnitCategory a, UnitCategory b)
Parameters
Returns
Extension Methods