コード例 #1
0
 public void SetIsEnabled(ITableRow row, TaskContext context)
 {
     if (object.Equals(context.State, System.Data.DataRowState.Detached) == true)
     {
         return;
     }
     row.Dispatcher.Invoke(() =>
     {
         var isEnabled = RandomUtility.NextBoolean();
         row.SetIsEnabled(context.Authentication, isEnabled);
     });
 }
コード例 #2
0
 public void SetIsEnabled()
 {
     row.SetIsEnabled(authentication, false);
 }