Antmicro.OptionsParser.ElementDescriptor.WithLengthChangedBy C# (CSharp) 메소드

WithLengthChangedBy() 공개 메소드

public WithLengthChangedBy ( int i ) : ElementDescriptor
i int
리턴 ElementDescriptor
        public ElementDescriptor WithLengthChangedBy(int i)
        {
            return new ElementDescriptor
            {
                Index = this.Index,
                LocalPosition = this.LocalPosition,
                Length = this.Length + i
            };
        }
ElementDescriptor