public SubscriberCollection GetSubscriptions(IPropBag host, uint propId) { throw new NotImplementedException(); }
public bool DoesChildExist_PropBag(IPropBag data, Type type, string pathElement) { return(data.PropertyExists(pathElement)); }
public PSAccessServiceInterface CreatePropStoreService(IPropBag propBag) { PSAccessServiceInterface result = CreatePropStoreService(propBag, null, out BagNode notUsed); return(result); }
// TODO: should be able to have IPropStoreAccessServiceInternal provide all of this with a single call. private PropNameType GetPropertyName(PSAccessServiceInterface propStoreAccessService, IPropBag propBag, PropIdType propId, out PropStorageStrategyEnum storageStrategy) { PropNameType result; if (propStoreAccessService.TryGetPropName(propId, out PropNameType propertyName)) { result = propertyName; } else { throw new InvalidOperationException("Cannot retrieve the Target's property name from the TargetPropId."); } if (propStoreAccessService.TryGetValue(propBag, propId, out IPropData genProp)) { storageStrategy = genProp.TypedProp.PropTemplate.StorageStrategy; } else { throw new InvalidOperationException("Cannot retrieve the Target's property name from the TargetPropId."); } return(result); }
public BagNode(ObjectIdType objectId, IPropBag propBag, int maxPropsPerObject, ICacheDelegates <CallPSParentNodeChangedEventSubDelegate> callPSParentNodeChangedEventSubsCache) : this(objectId, propBag, null, maxPropsPerObject, callPSParentNodeChangedEventSubsCache) { }
ExKeyType HaveTheKeyType.GetTheKey(IPropBag propBag, PropIdType propId) { ExKeyType result = GetCompKey(propBag, propId); return(result); }
SimpleExKey IHaveTheSimpleKey.GetTheKey(IPropBag propBag, PropIdType propId) { SimpleExKey result = GetCompKey(propBag, propId); return(result); }