LibiadaCore.Core.CongenericChain.Get C# (CSharp) Method

Get() public method

Gets element by position index. If position is empty returns NullValue.
public Get ( int index ) : IBaseObject
index int /// Index of position. ///
return IBaseObject
        public override IBaseObject Get(int index)
        {
            return positions.Contains(index) ? element.Clone() : NullValue.Instance();
        }