コード例 #1
0
 /// <summary>
 /// Creates an instance of <see cref="DiscoveryAspect"/>
 /// </summary>
 /// <param name="compositionOptions"></param>
 /// <param name="rootType"></param>
 public DiscoveryAspect(CompositionOptions compositionOptions, Type rootType = null)
 {
     _compositionOptions = compositionOptions;
     _rootType           = rootType;
 }
コード例 #2
0
 /// <summary>
 /// Creates an instance of <see cref="ModularityAspect"/> using provided <see cref="CompositionOptions"/>
 /// </summary>
 /// <param name="options">The composition options</param>
 public ModularityAspect(CompositionOptions options)
 {
     _options = options;
 }