コード例 #1
0
 public static NktModule[] CollectAll(this NktModulesEnum aModulesEnumerator)
 {
     if (aModulesEnumerator == null)
     {
         return(new NktModule[0]);
     }
     return(NktEnumExtensions.CollectAll(() => aModulesEnumerator.Count, index => aModulesEnumerator.GetAt(index)));
 }
コード例 #2
0
 public static NktParam[] CollectAllInspectables(this NktParamsEnum anEnumerator)
 {
     return
         (NktEnumExtensions.CollectAll(() => anEnumerator.Count, index => anEnumerator.GetAt(index)).Where(
              param => AllowedParameterClasses.Contains(param.Class)).ToArray());
 }
コード例 #3
0
 public static NktExportedFunction[] CollectAll(this NktExportedFunctionsEnum aFunctionsEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => aFunctionsEnumerator.Count, index => aFunctionsEnumerator.GetAt(index)));
 }
コード例 #4
0
 public static NktParam[] CollectAll(this NktParamsEnum anEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => anEnumerator.Count, index => anEnumerator.GetAt(index)));
 }
コード例 #5
0
 public static NktProcess[] CollectAll(this NktProcessesEnum aProcessesEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => aProcessesEnumerator.Count, index => aProcessesEnumerator.GetAt(index)));
 }