Src/Black.Beard.ComponentModel/ComponentModel/TypeDiscovery.cs
/// <summary>
/// Add a new directory for search types
/// </summary>
/// <param name="configuration"></param>
Add a new directory for search types
Add a new directory for search types
public void AddDirectories(params DirectoryInfo[] paths)
        {
            foreach (var configuration in paths)
            {
                configuration.Refresh();
                if (!configuration.Exists)
                    throw new DirectoryNotFoundException(configuration.FullName);
                _paths.Add(configuration.FullName);
            }
        }
public void AddDirectories ( params DirectoryInfo [ ] paths ) { foreach ( var configuration in paths ) { configuration . Refresh ( ) ; if ( ! configuration . Exists ) throw new DirectoryNotFoundException ( configuration . FullName ) ; _paths . Add ( configuration . FullName ) ; } }
Add a new directory for search types
Add a new directory for search types
configuration
None