C# Класс SimpleFramework.Xml.Core.ScannerFactory

The ScannerFactory is used to create scanner objects that will scan a class for its XML class schema. Caching is done by this factory so that repeat retrievals of a Scanner will not require repeat scanning of the class for its XML schema.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetInstance ( Class type ) : Scanner

This creates a Scanner object that can be used to examine the fields within the XML class schema. The scanner maintains information when a field from within the scanner is visited, this allows the serialization and deserialization process to determine if all required XML annotations are used.

ScannerFactory ( ) : System

Constructor for the ScannerFactory object. This is used to create a factory that will create and cache scanned data for a given class. Scanning the class is required to find the fields and methods that have been annotated.

Описание методов

GetInstance() публичный Метод

This creates a Scanner object that can be used to examine the fields within the XML class schema. The scanner maintains information when a field from within the scanner is visited, this allows the serialization and deserialization process to determine if all required XML annotations are used.
public GetInstance ( Class type ) : Scanner
type Class /// the schema class the scanner is created for ///
Результат Scanner

ScannerFactory() публичный Метод

Constructor for the ScannerFactory object. This is used to create a factory that will create and cache scanned data for a given class. Scanning the class is required to find the fields and methods that have been annotated.
public ScannerFactory ( ) : System
Результат System