A base type providing default implementations of type provider functionality.
| Constructor | Description | 
            
                
              
                  Full Usage: 
                   
              TypeProviderForNamespaces(config, ?sourceAssemblies, ?assemblyReplacementMap, ?addDefaultProbingLocation)
                  Parameters: 
 TypeProviderConfig
                       - 
                       Type provider config. 
                    
                    ?sourceAssemblies : Assembly list
                       - 
                      
    Optionally specify the design-time assemblies available to use as a basis for authoring provided types.
    The transitive dependencies of these assemblies are also included. By default
    Assembly.GetCallingAssembly() and its transitive dependencies are used.
 
                    
                    ?assemblyReplacementMap : (string * string) list
                       - 
                      
    Optionally specify a map of assembly names from source model to referenced assemblies.
 
                    
                    ?addDefaultProbingLocation : bool
                       - 
                      
    Optionally specify that the location of the type provider design-time component should be used to resolve failing assembly resolutions.
    This flag or an equivalent call to RegisterProbingFolder is generally needed for any type provider design-time components loaded into .NET Core tooling.
 
                    
                    Returns: TypeProviderForNamespaces
                  
                   | 
          
             
                 
               
                 
              Initializes a type provider. 
 
  | 
        
            
                
              
                  Full Usage: 
                   
              TypeProviderForNamespaces(config, namespaceName, types, ?sourceAssemblies, ?assemblyReplacementMap, ?addDefaultProbingLocation)
                  Parameters: 
 TypeProviderConfig
                       - 
                       Type provider config. 
                    
                    namespaceName : string
                       - 
                       Name of namespace. 
                    
                    types : ProvidedTypeDefinition list
                       - 
                       Provided type definitions. 
                    
                    ?sourceAssemblies : Assembly list
                       - 
                      
    Optionally specify the design-time assemblies available to use as a basis for authoring provided types.
    The transitive dependencies of these assemblies are also included. By default
    Assembly.GetCallingAssembly() and its transitive dependencies are used.
 
                    
                    ?assemblyReplacementMap : (string * string) list
                       - 
                      
    Optionally specify a map of assembly names from source model to referenced assemblies.
 
                    
                    ?addDefaultProbingLocation : bool
                       - 
                      
    Optionally specify that the location of the type provider design-time component should be used to resolve failing assembly resolutions.
    This flag or an equivalent call to RegisterProbingFolder is generally needed for any type provider design-time components loaded into .NET Core tooling.
 
                    
                    Returns: TypeProviderForNamespaces
                  
                   | 
          
             
                 
               
                 
              Initializes a type provider to provide the types in the given namespace. 
 
  | 
        
| Instance member | Description | 
            
                
              
              
                  Full Usage: 
                   
              this.AddNamespace(namespaceName, types)
                  Parameters: 
 string
                    
                    types : ProvidedTypeDefinition list
                    
                     | 
          
             
                 
               
                 
              Invoked by the type provider to add a namespace of provided types in the specification of the type provider. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.ApplyStaticArgumentsForMethod(arg1, arg2, arg3)
                  Parameters: 
 MethodBase
                    
                    arg1 : string
                    
                    arg2 : obj[]
                    
                    Returns: MethodBase
                  
                   | 
          
             
                 
               
                 
              Invoked by the host of the type provider to apply the static argumetns for a method. 
 
  | 
        
            
                
              
               | 
          
             
                 
               
                 
              
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.GetStaticParametersForMethod(arg1)
                  Parameters: 
 MethodBase
                    
                    Returns: ParameterInfo[]
                  
                   | 
          
             
                 
               
                 
              Invoked by the host of the type provider to get the static parameters for a method. 
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.Invalidate()
                   | 
          
             
                 
               
                 
              Invoked by the type provider to invalidate the information provided by the provider  | 
        
            
                
              
               | 
          
             
                 
               
                 
              Invoked by the type provider to get all provided namespaces with their provided types. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.RegisterGeneratedTargetAssembly(fileName)
                  Parameters: 
 string
                    
                    Returns: Assembly
                  
                   | 
          
             
                 
               
                 
              Register that a given file is a provided generated target assembly, e.g. an assembly produced by an external code generation tool. This assembly should be a target assembly, i.e. use the same asssembly references as given by TargetContext.ReferencedAssemblyPaths 
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.RegisterProbingFolder(folder)
                  Parameters: 
 string
                    
                     | 
          
             
                 
               
                 
              Registers custom probing path that can be used for probing assemblies 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.RegisterRuntimeAssemblyLocationAsProbingFolder(config)
                  Parameters: 
 TypeProviderConfig
                    
                     | 
          
             
                 
               
                 
              Registers location of RuntimeAssembly (from TypeProviderConfig) as probing folder 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.ResolveAssembly(arg1)
                  Parameters: 
 ResolveEventArgs
                    
                    Returns: Assembly
                  
                  Modifiers: abstract  | 
          
             
                 
               
                 
              
                
 AssemblyResolve handler. Default implementation searches  
 
  | 
        
            
                
              
               | 
          
             
                 
               
                 
              The context for which code is eventually to be generated. You should not normally need to use this property directly, as translation from the compiler-hosted context to the design-time context will normally be performed automatically. 
  |