DataDictionary.Types.Structure.Match C# (CSharp) Méthode

Match() public méthode

Indicates that the other type can be placed in variables of this type
public Match ( Type otherType ) : bool
otherType Type
Résultat bool
        public override bool Match(Type otherType)
        {
            bool result = base.Match(otherType);

            if (!result)
            {
                Structure structure = otherType as Structure;
                if (structure != null)
                {
                    result = structure.ImplementedStructures.Contains(this);
                }
            }

            return result;
        }