예제 #1
0
 private void InitializeActiveObject(bool force = false)
 {
     if (!string.IsNullOrEmpty(this.resultObjectId))
     {
         if (force || this._activeObject == null)
         {
             this._activeObject = IIQHelper.GetIIQObjectAttributes(this.resultObjectId);
         }
     }
 }
예제 #2
0
        public bool SetActiveObject(string objectId)
        {
            log.Debug(">SetActiveObject");

            Dictionary <string, string> activeObject = IIQHelper.GetIIQObjectAttributes(objectId);

            if (activeObject != null && activeObject.Count > 0)
            {
                this.resultObjectId = objectId;
                this._activeObject  = activeObject;
                return(true);
            }
            else
            {
                return(false);
            }
        }