Exemplo n.º 1
0
 public void Initialize(LinkContext context, MarkContext markContext)
 {
     _context = context;
     markContext.RegisterMarkAssemblyAction(assembly => DiscoverTypesInAssembly(assembly));
     markContext.RegisterMarkTypeAction(type => DiscoverMethodsInType(type));
     markContext.RegisterMarkMethodAction(method => DiscoverMethodsOnDeclaringType(method));
 }
Exemplo n.º 2
0
 public override void Initialize(LinkContext context, MarkContext markContext)
 {
     base.Initialize(context, markContext);
     markContext.RegisterMarkAssemblyAction(assembly => ProcessAssembly(assembly));
     markContext.RegisterMarkTypeAction(type => ProcessType(type));
 }