public FLifetimeProperty(ushort repIndex, ELifetimeCondition condition, ELifetimeRepNotifyCondition repNotifyCondition) { Debug.Assert(repIndex < 65535); RepIndex = repIndex; Condition = condition; RepNotifyCondition = repNotifyCondition; }
public void Add(string propertyName, ELifetimeCondition condition = ELifetimeCondition.None, ELifetimeRepNotifyCondition repNotifyCondition = ELifetimeRepNotifyCondition.OnChanged) { IntPtr property = FindProperty(propertyName); int arrayDim = Native_UProperty.Get_ArrayDim(property); ushort repIndex = Native_UProperty.Get_RepIndex(property); for (ushort i = 0; i < arrayDim; i++) { dest.Add(new FLifetimeProperty((ushort)(repIndex + i), condition, repNotifyCondition)); } }