/// <summary>
 /// Construtor padrão.
 /// </summary>
 /// <param name="instance"></param>
 public InstanceComposablePartDefinition(TypeInstance instance)
 {
     _typeInstance = instance;
 }
Esempio n. 2
0
 /// <summary>
 /// Construtor padrão.
 /// </summary>
 /// <param name="typeInstance"></param>
 /// <param name="metadata"></param>
 public InstanceComposablePart(TypeInstance typeInstance, IDictionary <string, object> metadata)
 {
     _metadata     = metadata;
     _typeInstance = typeInstance;
 }