internal Workset(revitDoc doc, revitWorkset workset) { _workset = workset; _id = workset.Id; _doc = doc; _name = workset.Name; }
/// <summary> /// Converts a Autodesk.Revit.DB.Workset to a Workset object. /// </summary> /// <param name="document">A workset.</param> /// <param name="workset">A Autodesk.Revit.DB.Workset.</param> /// <returns name="wrapped">A Autodesk.Revit.DB.Workset object.</returns> public static Workset Wrap(revitDoc document, revitWorkset workset) { return(new Workset(document, workset)); }