ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
Loading...
Searching...
No Matches
XmobiTea.Bean.IClassScannerContext Interface Reference

Defines methods for scanning and retrieving types within a given namespace or assembly. More...

Inheritance diagram for XmobiTea.Bean.IClassScannerContext:
XmobiTea.Bean.IBeanContext XmobiTea.Bean.BeanContext

Public Member Functions

System.Collections.Generic.IEnumerable< System.Type > ScanClass (string prefixNamespace)
 Scans and retrieves types within the specified namespace.
 
System.Collections.Generic.IEnumerable< System.Type > ScanClass (string prefixNamespace, System.Collections.Generic.IEnumerable< Assembly > assemblies)
 Scans and retrieves types within the specified namespace and assemblies.
 
System.Collections.Generic.IEnumerable< System.Type > ScanClassHasCustomAttribute (System.Type type, bool inherit)
 Scans and retrieves types that have the specified custom attribute.
 
System.Collections.Generic.IEnumerable< System.Type > ScanClassHasCustomAttribute (System.Type type, bool inherit, System.Collections.Generic.IEnumerable< Assembly > assemblies)
 Scans and retrieves types that have the specified custom attribute within the specified assemblies.
 
System.Collections.Generic.IEnumerable< System.Type > ScanClassFromAssignable (System.Type type)
 Scans and retrieves types that are assignable to the specified type.
 
System.Collections.Generic.IEnumerable< System.Type > ScanClassFromAssignable (System.Type type, System.Collections.Generic.IEnumerable< Assembly > assemblies)
 Scans and retrieves types that are assignable to the specified type within the specified assemblies.
 

Detailed Description

Defines methods for scanning and retrieving types within a given namespace or assembly.

Member Function Documentation

◆ ScanClass() [1/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClass ( string prefixNamespace)

Scans and retrieves types within the specified namespace.

Parameters
prefixNamespaceThe namespace to scan.
Returns
An enumeration of types within the specified namespace.

Implemented in XmobiTea.Bean.BeanContext.

◆ ScanClass() [2/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClass ( string prefixNamespace,
System.Collections.Generic.IEnumerable< Assembly > assemblies )

Scans and retrieves types within the specified namespace and assemblies.

Parameters
prefixNamespaceThe namespace to scan.
assembliesThe assemblies to scan.
Returns
An enumeration of types within the specified namespace and assemblies.

Implemented in XmobiTea.Bean.BeanContext.

◆ ScanClassFromAssignable() [1/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClassFromAssignable ( System.Type type)

Scans and retrieves types that are assignable to the specified type.

Parameters
typeThe type to scan for assignable types.
Returns
An enumeration of types that are assignable to the specified type.

Implemented in XmobiTea.Bean.BeanContext.

◆ ScanClassFromAssignable() [2/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClassFromAssignable ( System.Type type,
System.Collections.Generic.IEnumerable< Assembly > assemblies )

Scans and retrieves types that are assignable to the specified type within the specified assemblies.

Parameters
typeThe type to scan for assignable types.
assembliesThe assemblies to scan.
Returns
An enumeration of types that are assignable to the specified type within the specified assemblies.

Implemented in XmobiTea.Bean.BeanContext.

◆ ScanClassHasCustomAttribute() [1/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClassHasCustomAttribute ( System.Type type,
bool inherit )

Scans and retrieves types that have the specified custom attribute.

Parameters
typeThe custom attribute type to scan for.
inheritWhether to scan for inherited attributes.
Returns
An enumeration of types that have the specified custom attribute.

Implemented in XmobiTea.Bean.BeanContext.

◆ ScanClassHasCustomAttribute() [2/2]

System.Collections.Generic.IEnumerable< System.Type > XmobiTea.Bean.IClassScannerContext.ScanClassHasCustomAttribute ( System.Type type,
bool inherit,
System.Collections.Generic.IEnumerable< Assembly > assemblies )

Scans and retrieves types that have the specified custom attribute within the specified assemblies.

Parameters
typeThe custom attribute type to scan for.
inheritWhether to scan for inherited attributes.
assembliesThe assemblies to scan.
Returns
An enumeration of types that have the specified custom attribute within the specified assemblies.

Implemented in XmobiTea.Bean.BeanContext.


The documentation for this interface was generated from the following file: