コード例 #1
0
 public ReportDescriptorParseState()
 {
     RootItem             = new DescriptorCollectionItem();
     GlobalItemStateStack = new List <IDictionary <GlobalItemTag, EncodedItem> >();
     LocalItemState       = new List <KeyValuePair <LocalItemTag, uint> >();
     Reset();
 }
コード例 #2
0
        void ParseMainCollection(uint value)
        {
            DescriptorCollectionItem collection = State.CurrentCollectionItem != State.RootItem ? new DescriptorCollectionItem() : new DeviceItem();

            collection.CollectionType = (CollectionType)value;
            State.CurrentCollectionItem.ChildItems.Add(collection);
            State.CurrentCollectionItem = collection;
            ParseMainIndexes(collection);
        }
コード例 #3
0
 public ReportCollectionItemChildren(DescriptorCollectionItem item)
 {
     Debug.Assert(item != null);
     _item = item;
 }