internal Enumerator(SpanSelectManyEnumerable <TSource, TSubEnumerable, TSubEnumerator, TResult, TSelector> enumerable) { source = enumerable.source; selector = enumerable.selector; state = EnumeratorState.Enumerating; sourceIndex = -1; end = sourceIndex + enumerable.source.Length; subEnumerator = default; }
protected internal TileTagEntrySelection(ITileTagEntrySelectionFactory <TSelector> factory, TSelector selector, ushort index, string tag) { Owner = factory ?? throw new ArgumentNullException(); Selector = selector; SelectorText = selector?.ToString() ?? ""; Index = index; Tag = tag; }
public CotpOptions(IsoConnectionParameters cp) { if (cp == null) { tSelDst = new TSelector(2, 0x0001); tSelSrc = new TSelector(2, 0x0000); tpduSize = 0x0a; // 1024 byte max PDU size } else { tSelDst = cp.remoteTSelector; tSelSrc = cp.localTSelector; tpduSize = 0x0a; // 1024 byte max PDU size } }