예제 #1
0
        public static Tuple <AopContainer, Type, string> Bind <T>(this AopContainer factory, string name)
        {
            if (factory == null)
            {
                throw new ArgumentNullException("factory");
            }

            return(new Tuple <AopContainer, Type, string>(factory, typeof(T), name));
        }
예제 #2
0
 public static Tuple <AopContainer, Type, string> Bind <T>(this AopContainer factory)
 {
     return(factory.Bind <T>(null));
 }