public bool DoesBlockHaveMetaDataTasks(HistoryMeta.Type metaType) { for (PowerTaskList list = this.GetOrigin(); list != null; list = list.m_next) { if (list.HasMetaDataTasks(metaType)) { return(true); } } return(false); }
public static bool IsNonMetaTaskListInMetaBlock(PowerTaskList taskList) { if (!taskList.DoesBlockHaveMetaDataTasks(HistoryMeta.Type.TARGET)) { return(false); } if (taskList.HasMetaDataTasks(HistoryMeta.Type.TARGET)) { return(false); } return(true); }