예제 #1
0
 partial void Initialize()
 {
     this.PatternValueChanged += (s, e) =>
     {
         this.Pattern = (UseCaseStepPattern)Enum.Parse(typeof(UseCaseStepPattern), PatternValue);
     };
     if (this.PatternValue != null && this.PatternValue.Length > 0)
     {
         this.pattern = (UseCaseStepPattern)Enum.Parse(typeof(UseCaseStepPattern), PatternValue);
     }
 }
예제 #2
0
partial         void Initialize()
        {
            this.PatternValueChanged += (s, e) =>
                {
                    this.Pattern = (UseCaseStepPattern) Enum.Parse(typeof(UseCaseStepPattern), PatternValue);
                };
            if (this.PatternValue != null && this.PatternValue.Length > 0)
            {
                this.pattern = (UseCaseStepPattern)Enum.Parse(typeof(UseCaseStepPattern), PatternValue);
            }
        }