Exemple #1
0
        public FeatureControllerModelConvention(FeatureFolderOptions options)
        {
            if (options == null)
            {
                throw new ArgumentNullException(nameof(options));
            }

            _folderName = options.FeatureFolderName;

            _nameDerivationStrategy = options.DeriveFeatureFolderName ?? DeriveFeatureFolderName;
        }
 public FeatureViewLocationExpander(FeatureFolderOptions options)
 {
     _placeholder = options.FeatureNamePlaceholder;
 }