public SPContentTypeViewModel(SPClientContentType contentType, TreeViewItemViewModel parent) : this(parent, false) { if (contentType == null) throw new ArgumentNullException(nameof(contentType)); _contentType = contentType; }
public SPContentTypeFieldCollectionViewModel(SPClientContentType contentType, SPContentTypeViewModel parent) : this(parent, true) { if (contentType == null) throw new ArgumentNullException(nameof(contentType)); _contentType = contentType; }