protected override IEnumerable <IElement> GetChildElements() { var typeElement = new AssemblyType(field.FieldType, this); if (typeElement.DataType.IsSystemCollectionType) { if (queryWhereProperty != null && queryWhereProperty == "Type") { yield return(new AssemblyType(typeElement.DataType.CollectionType, this)); } else { yield return(new AssemblyType(typeElement.DataType.CollectionType, this)); } } else { if (queryWhereProperty != null && queryWhereProperty == "Type") { yield return(typeElement); } else { yield return(typeElement); } } }
protected virtual IEnumerable <IElement> GetChildElements() { var typeElement = new AssemblyType(property.PropertyType, this); if (typeElement.DataType.IsCollectionType) { if (queryWhereProperty != null && queryWhereProperty == "Type") { yield return(new AssemblyType(typeElement.DataType.CollectionType, this)); } else { yield return(new AssemblyType(typeElement.DataType.CollectionType, this)); } } else { if (queryWhereProperty != null && queryWhereProperty == "Type") { yield return(typeElement); } else { yield return(typeElement); } } }
protected override List <AssemblyType> GetTypes() { var typeElement = new AssemblyType(field.FieldType, this); return(new List <AssemblyType>() { typeElement }); }
protected override List <AssemblyType> GetTypes() { var typeElement = new AssemblyType(method.GetGetterSetterType(), this); return(new List <AssemblyType>() { typeElement }); }
protected virtual List <AssemblyType> GetTypes() { var typeElement = new AssemblyType(property.PropertyType, this); return(new List <AssemblyType>() { typeElement }); }