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