public static bool HasTaskType <TTask>(this ITaskMetadataManager taskMetadataManager)
        {
            if (taskMetadataManager == null)
            {
                throw new ArgumentNullException(nameof(taskMetadataManager));
            }

            return(taskMetadataManager.HasTaskType(typeof(TTask)));
        }
예제 #2
0
 public void HasTaskType()
 {
     Assert.True(metadataManager.HasTaskType(typeof(TestTask)));
 }