Exemplo n.º 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)));
 }
Exemplo n.º 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());
 }
 public static NktExportedFunction[] CollectAll(this NktExportedFunctionsEnum aFunctionsEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => aFunctionsEnumerator.Count, index => aFunctionsEnumerator.GetAt(index)));
 }
Exemplo n.º 4
0
 public static NktParam[] CollectAll(this NktParamsEnum anEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => anEnumerator.Count, index => anEnumerator.GetAt(index)));
 }
Exemplo n.º 5
0
 public static NktProcess[] CollectAll(this NktProcessesEnum aProcessesEnumerator)
 {
     return(NktEnumExtensions.CollectAll(() => aProcessesEnumerator.Count, index => aProcessesEnumerator.GetAt(index)));
 }