Beispiel #1
0
            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>());
            }
Beispiel #2
0
            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>());
            }