public SubscriberCollection GetSubscriptions(IPropBag host, uint propId)
 {
     throw new NotImplementedException();
 }
Example #2
0
 public bool DoesChildExist_PropBag(IPropBag data, Type type, string pathElement)
 {
     return(data.PropertyExists(pathElement));
 }
Example #3
0
        public PSAccessServiceInterface CreatePropStoreService(IPropBag propBag)
        {
            PSAccessServiceInterface result = CreatePropStoreService(propBag, null, out BagNode notUsed);

            return(result);
        }
Example #4
0
        // 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);
        }
Example #5
0
 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);
        }