Exemple #1
0
 public static PSSecurityAutomationSource ConvertToPSType(this AutomationSource value)
 {
     return(new PSSecurityAutomationSource()
     {
         EventSource = value.EventSource,
         RuleSets = value.RuleSets?.Select(ruleSet => ruleSet.ConvertToPSType()).ToList()
     });
 }
Exemple #2
0
 public Base()
 {
     source = new AutomationSource();
 }