public void Add(string tocFile, BuildGroupType groupType, string groupId, bool isRooted, bool isExcluded) { if (_listTocMerges == null) { _listTocMerges = new BuildKeyedList <TocMerge>(); } if (String.IsNullOrEmpty(tocFile) || String.IsNullOrEmpty(groupId)) { return; } if (groupType == BuildGroupType.Conceptual) { if (_conceptualGroups == null) { _conceptualGroups = new List <string>(); } _conceptualGroups.Add(groupId); } else if (groupType == BuildGroupType.Reference) { if (_referenceGroups == null) { _referenceGroups = new List <string>(); } _referenceGroups.Add(groupId); } _listTocMerges.Add(new TocMerge(this.ExpandPath(tocFile), groupType, groupId, isRooted, isExcluded)); }
public TocMerge(TocMerge source) { _isIncluded = source._isIncluded; _isEncluded = source._isEncluded; _tocFile = source._tocFile; _groupId = source._groupId; _groupType = source._groupType; _isRooted = source._isRooted; }
public TocMerge(string tocFile, BuildGroupType groupType, string groupId, bool isRooted, bool isExcluded) { _isIncluded = true; _isEncluded = isExcluded; _tocFile = tocFile; _groupId = groupId; _groupType = groupType; _isRooted = isRooted; }