public static bool HasTaskType <TTask>(this ITaskMetadataManager taskMetadataManager) { if (taskMetadataManager == null) { throw new ArgumentNullException(nameof(taskMetadataManager)); } return(taskMetadataManager.HasTaskType(typeof(TTask))); }
public void HasTaskType() { Assert.True(metadataManager.HasTaskType(typeof(TestTask))); }