Algebra.QL.Form.Type.BaseType.IsChildOf C# (CSharp) Method

IsChildOf() public method

public IsChildOf ( IFormType other ) : bool
other IFormType
return bool
        public bool IsChildOf(IFormType other)
        {
            if (SuperType != null && (SuperType.Equals(other) || SuperType.IsChildOf(other)))
            {
                return true;
            }

            return false;
        }