/// <inheritdoc /> public IAssetsConfiguration Assets(string urlPath, string fileSystemPath) { var assetConfig = new AssetConfiguration(urlPath, fileSystemPath, GetCurrentApiInformation()); ApplicationConfigurationService.AddConfigurationObject(assetConfig); return(assetConfig); }
/// <inheritdoc /> public IExposureConfiguration <T> Expose <T>() { var config = new TypeExposureConfiguration <T>(GetCurrentApiInformation()); ApplicationConfigurationService.AddConfigurationObject(config); return(config); }
/// <inheritdoc /> public ITypeSetExposureConfiguration Expose(IEnumerable <Type> types) { var config = new TypeSetExposureConfiguration(GetCurrentApiInformation(), types); ApplicationConfigurationService.AddConfigurationObject(config); return(config); }
/// <inheritdoc /> public IExposureConfiguration Expose(Type type) { var config = new TypeExposureConfiguration(GetCurrentApiInformation(), type); ApplicationConfigurationService.AddConfigurationObject(config); return(config); }