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