コード例 #1
0
        public override UserPromptBase Clone()
        {
            SampleFileUserPrompt newProperty = new SampleFileUserPrompt();

            CopyTo(newProperty);
            return(newProperty);
        }
コード例 #2
0
        public void CopyTo(SampleFileUserPrompt targetProperty)
        {
            base.CopyTo(targetProperty);

            targetProperty.MaxLength      = this.MaxLength;
            targetProperty.MinLength      = this.MinLength;
            targetProperty.HiddenProperty = this.HiddenProperty;
            targetProperty.FilePath       = this.FilePath;
        }