public MetadataAddCommand CreateMetadataAddCommand(Metadata metadata) { MetadataAddCommand command = Create <MetadataAddCommand>(); command.Init(metadata); return(command); }
public override bool ValueEquals(WithPresentation other) { if (!base.ValueEquals(other)) { return(false); } MetadataAddCommand otherz = other as MetadataAddCommand; if (otherz == null) { return(false); } // TODO: test local equality return(true); }