/// <summary> /// After the callback has been registered, when a contract is extracted /// from a method, the callback will be notified. /// </summary> public void RegisterContractProviderCallback(IContractProviderCallback contractProviderCallback) { this.callbacks.Add(contractProviderCallback); }
/// <summary> /// Delegate callback to underlying contract extractor. /// </summary> public void RegisterContractProviderCallback(IContractProviderCallback contractProviderCallback) { this.underlyingContractProvider.RegisterContractProviderCallback(contractProviderCallback); }
/// <summary> /// Delegate to the primary provider /// </summary> /// <param name="contractProviderCallback"></param> public void RegisterContractProviderCallback(IContractProviderCallback contractProviderCallback) { this.primaryExtractor.RegisterContractProviderCallback(contractProviderCallback); }