public async Task <UEEnum> GetEnum() { if (ObjEnumProperty.Empty()) { ObjEnumProperty = await Object.Cast <UEnumProperty>(); } if (!ObjEnumProperty.Enum.IsValid()) { return(new UEEnum()); } return((await ObjectsStore.GetByAddress(ObjEnumProperty.Enum)).Cast <UEEnum>()); }
public async Task <UENumericProperty> GetUnderlyingProperty() { if (ObjEnumProperty.Empty()) { ObjEnumProperty = await Object.Cast <UEnumProperty>(); } if (!ObjEnumProperty.UnderlyingProp.IsValid()) { return(new UENumericProperty()); } return((await ObjectsStore.GetByAddress(ObjEnumProperty.UnderlyingProp)).Cast <UENumericProperty>()); }