public static NktModule[] CollectAll(this NktModulesEnum aModulesEnumerator) { if (aModulesEnumerator == null) { return(new NktModule[0]); } return(NktEnumExtensions.CollectAll(() => aModulesEnumerator.Count, index => aModulesEnumerator.GetAt(index))); }
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))); }
public static NktParam[] CollectAll(this NktParamsEnum anEnumerator) { return(NktEnumExtensions.CollectAll(() => anEnumerator.Count, index => anEnumerator.GetAt(index))); }
public static NktProcess[] CollectAll(this NktProcessesEnum aProcessesEnumerator) { return(NktEnumExtensions.CollectAll(() => aProcessesEnumerator.Count, index => aProcessesEnumerator.GetAt(index))); }