TypeBase

Class in Yarn

Inherits from System.Object

Summary

Provides the base class for all concrete types.

public abstract class TypeBase : IType, IEquatable<TypeBase>

Methods

NameDescription
Equals(object)
Equals(TypeBase)
GetHashCode()
IsAncestorOf(TypeBase)Gets whether this type is an ancestor of other .
IsConvertibleTo(TypeBase)Checks if this type is convertible to the type represented by otherType .
ToString()

Properties

NameDescription
ConvertibleToTypesGets the collection of types that this type may be converted to.
DescriptionGets a string describing this type.
MethodsGets the collection of methods that are defined on this type.
NameGets the name of this type.
ParentGets the parent of this type.
TypeMembersGets a dictionary containing the members of this type.