C# Класс GSF.Diagnostics.PublisherFilter

Describes a kind of publisher. This can be All, or a subset based on Assembly (dll) or Type (namespace/type)
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ContainsPublisher ( LogPublisherInternal publisher ) : bool

Gets if this subscription contains the publisher.

ContainsTheSameLogSearchCriteria ( PublisherFilter other ) : bool
CreateAssembly ( Assembly assembly ) : PublisherFilter

Creates a topic from the specified assembly.

CreateAssembly ( string name ) : PublisherFilter

Creates a topic from the specified assembly file name.

CreateType ( Type type ) : PublisherFilter

Creates a type topic on a specified type.

CreateType ( string name ) : PublisherFilter

Creates a topic from the specified list

CreateUniversal ( ) : PublisherFilter

Creates a universal topic.

ToString ( ) : string

Returns a string that represents the current object.

Приватные методы

Метод Описание
PublisherFilter ( FilterType filterType ) : System

Creates a either Universal or LogSource Topic

PublisherFilter ( FilterType filterType, string text ) : System

Creates an Assembly, Type.

TrimAfterFullName ( string name ) : string

Trims the unused information after the namespace.class+subclass details.

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

ContainsPublisher() публичный метод

Gets if this subscription contains the publisher.
public ContainsPublisher ( LogPublisherInternal publisher ) : bool
publisher LogPublisherInternal the publisher to check
Результат bool

ContainsTheSameLogSearchCriteria() публичный метод

public ContainsTheSameLogSearchCriteria ( PublisherFilter other ) : bool
other PublisherFilter
Результат bool

CreateAssembly() публичный статический метод

Creates a topic from the specified assembly.
public static CreateAssembly ( Assembly assembly ) : PublisherFilter
assembly System.Reflection.Assembly
Результат PublisherFilter

CreateAssembly() публичный статический метод

Creates a topic from the specified assembly file name.
public static CreateAssembly ( string name ) : PublisherFilter
name string the assembly file name (.dll or .exe)
Результат PublisherFilter

CreateType() публичный статический метод

Creates a type topic on a specified type.
public static CreateType ( Type type ) : PublisherFilter
type System.Type
Результат PublisherFilter

CreateType() публичный статический метод

Creates a topic from the specified list
public static CreateType ( string name ) : PublisherFilter
name string
Результат PublisherFilter

CreateUniversal() публичный статический метод

Creates a universal topic.
public static CreateUniversal ( ) : PublisherFilter
Результат PublisherFilter

ToString() публичный метод

Returns a string that represents the current object.
public ToString ( ) : string
Результат string