Skip to main content
All docs
V26.1
  • XPDictionary.CollectClassInfos(Boolean, IEnumerable<Assembly>) Method

    Namespace: DevExpress.Xpo.Metadata

    Assembly: DevExpress.Xpo.v26.1.dll

    Declaration

    public XPClassInfo[] CollectClassInfos(
        bool addNonPersistent,
        IEnumerable<Assembly> assemblies
    )

    Parameters

    Name Type
    addNonPersistent Boolean
    assemblies IEnumerable<Assembly>

    Returns

    Type
    XPClassInfo[]

    Remarks

    The CollectClassInfos method enumerates all the types available in the specified assemblies. Some types may reference other assemblies. If CLR cannot load a referenced assembly, it throws the FileNotFoundException, FileLoadException, or BadImageFormatException. The CollectClassInfos method handles all exceptions and skips the problematic assembly without adding corresponding persistent classes to the dictionary.

    See Also