Пример #1
0
        public AlternateContentMetadataRemoveCommand CreateAlternateContentMetadataRemoveCommand(TreeNode treeNode, AlternateContentProperty altContentProperty, AlternateContent altContent, Metadata metadata, MetadataAttribute metadataAttribute)
        {
            AlternateContentMetadataRemoveCommand command = Create <AlternateContentMetadataRemoveCommand>();

            command.Init(treeNode, altContentProperty, altContent, metadata, metadataAttribute);
            return(command);
        }
Пример #2
0
        public override bool ValueEquals(WithPresentation other)
        {
            if (!base.ValueEquals(other))
            {
                return(false);
            }

            AlternateContentMetadataRemoveCommand otherz = other as AlternateContentMetadataRemoveCommand;

            if (otherz == null)
            {
                return(false);
            }

            // TODO: test local equality

            return(true);
        }