Exemplo n.º 1
0
        /// <summary>
        /// ProcessRecord method.
        /// </summary>
        protected override void ProcessRecord()
        {
            base.CheckParameterSet();
            CimGetCimClass cimGetCimClass = this.GetOperationAgent() ?? CreateOperationAgent();

            cimGetCimClass.GetCimClass(this);
            cimGetCimClass.ProcessActions(this.CmdletOperation);
        }
Exemplo n.º 2
0
        protected override void ProcessRecord()
        {
            base.CheckParameterSet();
            CimGetCimClass operationAgent = this.GetOperationAgent();

            if (operationAgent == null)
            {
                operationAgent = this.CreateOperationAgent();
            }
            operationAgent.GetCimClass(this);
            operationAgent.ProcessActions(this.CmdletOperation);
        }