private PSUserDefinedResources GetValidUserDefinedResources(PSUserDefinedResources userDefinedResources)
 {
     if (userDefinedResources != null && userDefinedResources.Validate())
     {
         return(userDefinedResources);
     }
     return(null);
 }
예제 #2
0
        public override void ExecuteCmdlet()
        {
            PSUserDefinedResources userDefinedRes = new PSUserDefinedResources
            {
                Query = Query,
                QuerySubscriptions = QuerySubscriptionList
            };

            WriteObject(userDefinedRes, enumerateCollection: false);
        }