Dynamo.Graph.Workspaces.WorkspaceModel.ImportPresets C# (CSharp) Method

ImportPresets() public method

Adds a specified collection PresetModel objects to the preset collection of the workspace.
public ImportPresets ( IEnumerable presetCollection ) : void
presetCollection IEnumerable objects to add.
return void
        public void ImportPresets(IEnumerable<PresetModel> presetCollection)
        {
            presets.AddRange(presetCollection);
        }
WorkspaceModel