public override ContractParameter Generate(Contract contract) { VisitWaypoint vw = new VisitWaypoint(index, distance, hideOnCompletion, title); return vw.FetchWaypoint(contract) != null ? vw : null; }
public WaypointChecker(VisitWaypoint vw) { visitWaypoint = vw; ContractConfigurator.OnParameterChange.Add(new EventData<Contract, ContractParameter>.OnEvent(OnParameterChange)); }
public WaypointChecker(VisitWaypoint vw) { visitWaypoint = vw; ContractConfigurator.OnParameterChange.Add(new EventData <Contract, ContractParameter> .OnEvent(OnParameterChange)); }