Antmicro.OptionsParser.ElementDescriptor.WithLengthChangedBy C# (CSharp) Méthode

WithLengthChangedBy() public méthode

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