C# Class GSF.Diagnostics.PublisherFilter

Describes a kind of publisher. This can be All, or a subset based on Assembly (dll) or Type (namespace/type)
Afficher le fichier Open project: GridProtectionAlliance/gsf Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

ContainsPublisher() public méthode

Gets if this subscription contains the publisher.
public ContainsPublisher ( LogPublisherInternal publisher ) : bool
publisher LogPublisherInternal the publisher to check
Résultat bool

ContainsTheSameLogSearchCriteria() public méthode

public ContainsTheSameLogSearchCriteria ( PublisherFilter other ) : bool
other PublisherFilter
Résultat bool

CreateAssembly() public static méthode

Creates a topic from the specified assembly.
public static CreateAssembly ( Assembly assembly ) : PublisherFilter
assembly System.Reflection.Assembly
Résultat PublisherFilter

CreateAssembly() public static méthode

Creates a topic from the specified assembly file name.
public static CreateAssembly ( string name ) : PublisherFilter
name string the assembly file name (.dll or .exe)
Résultat PublisherFilter

CreateType() public static méthode

Creates a type topic on a specified type.
public static CreateType ( Type type ) : PublisherFilter
type System.Type
Résultat PublisherFilter

CreateType() public static méthode

Creates a topic from the specified list
public static CreateType ( string name ) : PublisherFilter
name string
Résultat PublisherFilter

CreateUniversal() public static méthode

Creates a universal topic.
public static CreateUniversal ( ) : PublisherFilter
Résultat PublisherFilter

ToString() public méthode

Returns a string that represents the current object.
public ToString ( ) : string
Résultat string