Example #1
0
 public void Lock(ITypeCategory category, TaskContext context)
 {
     category.Dispatcher.Invoke(() =>
     {
         if (category.Parent == null)
         {
             return;
         }
         var comment = RandomUtility.NextString();
         category.Lock(context.Authentication, comment);
     });
 }
Example #2
0
 public void Lock()
 {
     category.Lock(authentication, RandomUtility.NextString());
 }