예제 #1
0
 protected override void OnRegisterDependencies(
     IInitializationContext context,
     InterfaceTypeDefinition definition)
 {
     base.OnRegisterDependencies(context, definition);
     context.RegisterDependencies(definition);
 }
예제 #2
0
 protected override void OnRegisterDependencies(
     IInitializationContext context,
     EnumTypeDefinition definition)
 {
     base.OnRegisterDependencies(context, definition);
     context.RegisterDependencies(definition);
     SetTypeIdentity(typeof(EnumType <>));
 }