public override void OnValidate(ITaskSystem ownerSystem) { if (functionWrapper != null && functionWrapper.HasChanged()) { SetMethod(functionWrapper.GetMethod()); } }
public override void OnValidate(ITaskSystem ownerSystem) { if (functionWrapper != null && functionWrapper.HasChanged()) { SetMethod(functionWrapper.GetMethod()); } if (functionWrapper != null && targetMethod == null) { Error(string.Format("Missing Property '{0}'", functionWrapper.GetMethodString())); } }