private void CheckAdvices(InterceptorDefinitionCollection advices)
{
IDictionary advicesDefined = new Hashtable();
foreach(InterceptorDefinition advice in advices)
{
if (advice.TypeReference.TargetType == TargetTypeEnum.Link)
{
AssertKeyExists( _globalInterceptors, advice, advice.TypeReference.LinkRef, "The referenced interceptor is not declared in the global interceptor section" );
}
AssertUnique( advicesDefined, advice, advice.TypeReference.ToString(), "Duplicated advices found" );
}
}