示例#1
0
        public void SetProperty(StringPropertyTag propertyTag, PropertyValue propertyValue)
        {
            var resolvedTag = propertyNameToIdMap.Resolve(propertyTag);

            if (resolvedTag.HasNoValue)
            {
                return;
            }

            objectTracker.SetProperty(objectPath, resolvedTag.Value, propertyValue);
        }
示例#2
0
        public Maybe <PropertyValue> GetProperty(StringPropertyTag propertyTag)
        {
            var resolvedTag = propertyNameToIdMap.Resolve(propertyTag);

            if (resolvedTag.HasNoValue)
            {
                return(Maybe <PropertyValue> .NoValue());
            }

            return(GetProperty(resolvedTag.Value));
        }
示例#3
0
文件: Recipient.cs 项目: phx255/PST
        public void DeleteProperty(StringPropertyTag propertyTag)
        {
            var resolvedTag = propertyNameToIdMap.Resolve(propertyTag);

            if (resolvedTag.HasNoValue)
            {
                return;
            }

            objectTracker.DeleteProperty(
                messageObjectPath,
                recipientTableNodeId,
                recipientRowId,
                resolvedTag.Value);
        }