Ejemplo n.º 1
0
        /// <summary>
        /// <para>
        /// Create <see cref="CimGetCimClass"/> object, which is
        /// used to delegate all Get-CimClass operations.
        /// </para>
        /// </summary>
        /// <returns></returns>
        CimGetCimClass CreateOperationAgent()
        {
            CimGetCimClass cimGetCimClass = new CimGetCimClass();

            this.AsyncOperation = cimGetCimClass;
            return(cimGetCimClass);
        }
Ejemplo n.º 2
0
        private CimGetCimClass CreateOperationAgent()
        {
            CimGetCimClass cimGetCimClass = new CimGetCimClass();

            base.AsyncOperation = cimGetCimClass;
            return(cimGetCimClass);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// ProcessRecord method.
        /// </summary>
        protected override void ProcessRecord()
        {
            base.CheckParameterSet();
            CimGetCimClass cimGetCimClass = this.GetOperationAgent() ?? CreateOperationAgent();

            cimGetCimClass.GetCimClass(this);
            cimGetCimClass.ProcessActions(this.CmdletOperation);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// EndProcessing method.
        /// </summary>
        protected override void EndProcessing()
        {
            CimGetCimClass cimGetCimClass = this.GetOperationAgent();

            if (cimGetCimClass != null)
            {
                cimGetCimClass.ProcessRemainActions(this.CmdletOperation);
            }
        }
Ejemplo n.º 5
0
        protected override void ProcessRecord()
        {
            base.CheckParameterSet();
            CimGetCimClass operationAgent = this.GetOperationAgent();

            if (operationAgent == null)
            {
                operationAgent = this.CreateOperationAgent();
            }
            operationAgent.GetCimClass(this);
            operationAgent.ProcessActions(this.CmdletOperation);
        }
Ejemplo n.º 6
0
 /// <summary>
 /// <para>
 /// Create <see cref="CimGetCimClass"/> object, which is
 /// used to delegate all Get-CimClass operations.
 /// </para>
 /// </summary>
 /// <returns></returns>
 CimGetCimClass CreateOperationAgent()
 {
     CimGetCimClass cimGetCimClass = new CimGetCimClass();
     this.AsyncOperation = cimGetCimClass;
     return cimGetCimClass;
 }
Ejemplo n.º 7
0
		private CimGetCimClass CreateOperationAgent()
		{
			CimGetCimClass cimGetCimClass = new CimGetCimClass();
			base.AsyncOperation = cimGetCimClass;
			return cimGetCimClass;
		}