private void InitializeActiveObject(bool force = false) { if (!string.IsNullOrEmpty(this.resultObjectId)) { if (force || this._activeObject == null) { this._activeObject = IIQHelper.GetIIQObjectAttributes(this.resultObjectId); } } }
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); } }