In This Article

ITextStatisticsFactory Interface

Provides the base requirements for a factory capable of creating ITextStatistics objects.

public interface ITextStatisticsFactory

Remarks

This interface type can be registered with an ISyntaxLanguage using the RegisterService(object, object) method. Once an object that implements this interface is registered with the language for this interface type, its features can be used by the language.

Methods

CreateStatistics(string)

Creates an ITextStatistics for the specified text.

ITextStatistics CreateStatistics(string text)
Parameter Type Description
text string

The text to examine.

Returns

ITextStatistics:

The ITextStatistics that was created.