SuperImageEvolver.ModuleManager.GetPresets C# (CSharp) Méthode

GetPresets() public static méthode

public static GetPresets ( ModuleFunction function ) : ModulePreset>.Dictionary
function ModuleFunction
Résultat ModulePreset>.Dictionary
        public static Dictionary<string, ModulePreset> GetPresets( ModuleFunction function )
        {
            return Presets.Where( p => p.Value.Factory.Function == function ).ToDictionary( k => k.Key, v => v.Value );
        }