예제 #1
0
 public static ComponentRegistration <object> TryAddAopBehavior(this ComponentRegistration <object> componentRegistration)
 {
     if (componentRegistration.Implementation.IsDefined(typeof(AopAttribute), true))
     {
         return(componentRegistration.AddAopBehavior());
     }
     return(componentRegistration);
 }