Esempio n. 1
0
 public DiscoveredPart(
     TypeInfo partType,
     AttributedModelProvider attributeContext,
     ActivationFeature[] activationFeatures)
 {
     _partType = partType;
     _attributeContext = attributeContext;
     _activationFeatures = activationFeatures;
     _partMetadata = new Lazy<IDictionary<string, object>>(() => GetPartMetadata(partType));
 }
Esempio n. 2
0
 private DiscoveredPart(
     TypeInfo partType,
     AttributedModelProvider attributeContext,
     ActivationFeature[] activationFeatures,
     Lazy<IDictionary<string, object>> partMetadata)
 {
     _partType = partType;
     _attributeContext = attributeContext;
     _activationFeatures = activationFeatures;
     _partMetadata = partMetadata;
 }
Esempio n. 3
0
 public TypeInspector(AttributedModelProvider attributeContext, ActivationFeature[] activationFeatures)
 {
     _attributeContext = attributeContext;
     _activationFeatures = activationFeatures;
 }