示例#1
0
        /// <exclude />
        public bool Equals(PageMetaDataDescription dataAssociationVisabilityRule)
        {
            if (dataAssociationVisabilityRule == null)
            {
                return(false);
            }

            return
                (this.PageMetaDataDescriptionType == dataAssociationVisabilityRule.PageMetaDataDescriptionType &&
                 this.StartLevel == dataAssociationVisabilityRule.StartLevel &&
                 this.Levels == dataAssociationVisabilityRule.Levels);
        }
        /// <exclude />
        public bool Equals(PageMetaDataDescription dataAssociationVisabilityRule)
        {
            if (dataAssociationVisabilityRule == null) return false;

            return
                this.PageMetaDataDescriptionType == dataAssociationVisabilityRule.PageMetaDataDescriptionType &&
                this.StartLevel == dataAssociationVisabilityRule.StartLevel &&
                this.Levels == dataAssociationVisabilityRule.Levels;
        }
示例#3
0
 public object Deserialize(string serializedObject)
 {
     return(PageMetaDataDescription.Deserialize(serializedObject));
 }
示例#4
0
        public string Serialize(object objectToSerialize)
        {
            PageMetaDataDescription dataAssociationVisabilityRule = (PageMetaDataDescription)objectToSerialize;

            return(dataAssociationVisabilityRule.Serialize());
        }