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())); } }
public bool HasChanged() { return(_targetMethod != null?_targetMethod.HasChanged() : false); }