예제 #1
0
        private void AddLocalResourcesToProto()
        {
            MaybeInitBuilder();
            builder.ClearLocalResources();
            if (localResources == null)
            {
                return;
            }
            IEnumerable <YarnProtos.StringLocalResourceMapProto> iterable = new _IEnumerable_211
                                                                                (this);

            builder.AddAllLocalResources(iterable);
        }
예제 #2
0
 public _IEnumerator_215(_IEnumerable_211 _enclosing)
 {
     this._enclosing = _enclosing;
     this.keyIter    = this._enclosing._enclosing.localResources.Keys.GetEnumerator();
 }