public SendTable(IBitStream bitstream) { var dataTable = new DP.FastNetmessages.SendTable(); foreach (var prop in dataTable.Parse(bitstream)) { var property = new SendTableProperty { DataTableName = prop.DtName, HighValue = prop.HighValue, LowValue = prop.LowValue, Name = prop.VarName, NumberOfBits = prop.NumBits, NumberOfElements = prop.NumElements, Priority = prop.Priority, RawFlags = prop.Flags, RawType = prop.Type }; Properties.Add(property); } Name = dataTable.NetTableName; IsEnd = dataTable.IsEnd; }
private bool IsPropExcluded(SendTable table, SendTableProperty prop) { return(CurrentExcludes.Exists(a => table.Name == a.DTName && prop.Name == a.VarName)); }
public FlattenedPropEntry(string propertyName, SendTableProperty prop, SendTableProperty arrayElementProp) { Prop = prop; ArrayElementProp = arrayElementProp; PropertyName = propertyName; }