示例#1
0
 /// <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);
 }
示例#2
0
 /// <summary>
 /// Adds the dependent bind point.
 /// </summary>
 /// <param name="bindPoint">The dependent bind point.</param>
 internal void AddDependents(IMethodsBindPointDesc bindPoint)
 {
     dependents.Add(bindPoint);
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <summary>
 /// Adds the provider bind point.
 /// </summary>
 /// <param name="bindPoint">The provider bind point.</param>
 internal void AddProvider(IMethodsBindPointDesc bindPoint)
 {
     providers.Add(bindPoint);
 }