示例#1
0
            public void Register([NotNull] IDryIocConventionContext context)
            {
                if (context == null)
                {
                    throw new ArgumentNullException(nameof(context));
                }

                context.ConfigureContainer(c => c.RegisterInstance(A.Fake <IAbc>()));
                context.Services.AddSingleton(A.Fake <IAbc2>());
                context.ConfigureContainer(c => { });
            }
示例#2
0
 //#endif
 //#if UseDryIoc
 public void Register(IDryIocConventionContext context)
 {
 }