Antmicro.OptionsParser.ElementDescriptor.WithLengthChangedBy C# (CSharp) Method

WithLengthChangedBy() public method

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