示例#1
0
        public void AddInvokeMethodFilter(string fullQualifyObjectName, string propertyName, string propertyValue)
        {
            WmiInvokeMethodFilter wmiFilter = new WmiInvokeMethodFilter(fullQualifyObjectName, propertyName, propertyValue);

            if (this.Filter == null)
            {
                this.Filter = new List <WmiInvokeMethodFilter>();
            }
            this.Filter.Add(wmiFilter);
        }
示例#2
0
 public void AddInvokeMethodFilter(string fullQualifyObjectName, string propertyName, string propertyValue)
 {
     WmiInvokeMethodFilter wmiFilter = new WmiInvokeMethodFilter(fullQualifyObjectName, propertyName, propertyValue);
     if (this.Filter == null)
         this.Filter = new List<WmiInvokeMethodFilter>();
     this.Filter.Add(wmiFilter);
 }