Example #1
0
        private void AddLabelsToNodesToProto()
        {
            MaybeInitBuilder();
            builder.ClearLabelsToNodes();
            if (labelsToNodes == null)
            {
                return;
            }
            IEnumerable <YarnProtos.LabelsToNodeIdsProto> iterable = new _IEnumerable_92(this);

            builder.AddAllLabelsToNodes(iterable);
        }
Example #2
0
 public _IEnumerator_95(_IEnumerable_92 _enclosing)
 {
     this._enclosing = _enclosing;
     this.iter       = this._enclosing._enclosing.labelsToNodes.GetEnumerator();
 }