/// <summary> /// Unregisters the specified bind point. /// </summary> /// <param name="bindPoint">The bind point.</param> internal void Unregister(IMethodsBindPointDesc bindPoint) { providers.RemoveAll(provider => provider == bindPoint); dependents.RemoveAll(dependent => dependent == bindPoint); requiredBy.RemoveAll(reqBy => reqBy == bindPoint); }
/// <summary> /// Adds the dependent bind point. /// </summary> /// <param name="bindPoint">The dependent bind point.</param> internal void AddDependents(IMethodsBindPointDesc bindPoint) { dependents.Add(bindPoint); }
/// <summary> /// Adds the "required by" bind point. (this resource is required by that bind point) /// </summary> /// <param name="bindPoint">The "required by" bind point.</param> internal void AddRequiredBy(IMethodsBindPointDesc bindPoint) { requiredBy.Add(bindPoint); }
/// <summary> /// Adds the provider bind point. /// </summary> /// <param name="bindPoint">The provider bind point.</param> internal void AddProvider(IMethodsBindPointDesc bindPoint) { providers.Add(bindPoint); }