public List <DataType> GetEnumeratedReferenceTypes(DataType dataType) { List <DataType> referenceTypes = new List <DataType>(); UDTCompiler udtCompiler = CreateUDTCompiler(); referenceTypes.Add(dataType); GetEnumeratedReferenceTypes(dataType, referenceTypes, udtCompiler); return(referenceTypes); }
public void GetEnumeratedReferenceTypes(DataType dataType, List <DataType> dataTypes, UDTCompiler compiler) { IEnumerable <DataType> referencingTypes = compiler.EnumerateReferencingTypes(compiler.GetType(dataType.Category, dataType.Identifier)); foreach (DataType referencingType in referencingTypes) { dataTypes.Add(referencingType); GetEnumeratedReferenceTypes(referencingType, dataTypes, compiler); } }
/// <summary> /// Creates a new instance of the <see cref="ArrayType"/> class. /// </summary> /// <param name="underlyingType">The underlying type being made into an array.</param> public ArrayType(DataType underlyingType) { m_underlyingType = underlyingType; }