예제 #1
0
        public MetadataSetContentCommand CreateMetadataSetContentCommand(Metadata metadata, string content)
        {
            MetadataSetContentCommand command = Create <MetadataSetContentCommand>();

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

            MetadataSetContentCommand otherz = other as MetadataSetContentCommand;

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

            // TODO: test local equality

            return(true);
        }