コード例 #1
0
        public AlternateContentMetadataSetContentCommand CreateAlternateContentMetadataSetContentCommand(AlternateContentProperty altContentProperty, AlternateContent altContent, MetadataAttribute metadataAttribute, string content)
        {
            AlternateContentMetadataSetContentCommand command = Create <AlternateContentMetadataSetContentCommand>();

            command.Init(altContentProperty, altContent, metadataAttribute, content);
            return(command);
        }
        public override bool ValueEquals(WithPresentation other)
        {
            if (!base.ValueEquals(other))
            {
                return(false);
            }

            AlternateContentMetadataSetContentCommand otherz = other as AlternateContentMetadataSetContentCommand;

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

            // TODO: test local equality

            return(true);
        }