예제 #1
0
 public override void OnValidate(ITaskSystem ownerSystem)
 {
     if (method != null && method.HasChanged())
     {
         SetMethod(method);
     }
 }
 public override void OnValidate(ITaskSystem ownerSystem)
 {
     if (method != null && method.HasChanged())
     {
         SetMethod(method.Get());
     }
     if (method != null && method.Get() == null)
     {
         Error(string.Format("Missing Method '{0}'", method.GetMethodString()));
     }
 }
예제 #3
0
 public bool HasChanged()
 {
     return(_targetMethod != null?_targetMethod.HasChanged() : false);
 }