Core.ConfigurationPart.GetExportedValue C# (CSharp) Method

GetExportedValue() public method

public GetExportedValue ( System.ComponentModel.Composition.Primitives.ExportDefinition definition ) : object
definition System.ComponentModel.Composition.Primitives.ExportDefinition
return object
        public override object GetExportedValue(ExportDefinition definition)
        {
            if (!definition.Equals(ExportDefinition))
            {
                throw new NotImplementedException(string.Format("Wrong export definition. Is '{0}', should be '{1}'",
                                                                definition, ExportDefinition));
            }

            return ConfigurationInstance;
        }