Esempio n. 1
0
        public AlternateContentRemoveCommand CreateAlternateContentRemoveCommand(TreeNode treeNode, AlternateContent altContent)
        {
            AlternateContentRemoveCommand command = Create <AlternateContentRemoveCommand>();

            command.Init(treeNode, altContent);
            return(command);
        }
Esempio n. 2
0
        public override bool ValueEquals(WithPresentation other)
        {
            if (!base.ValueEquals(other))
            {
                return(false);
            }

            AlternateContentRemoveCommand otherz = other as AlternateContentRemoveCommand;

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

            // TODO: test local equality

            return(true);
        }