C# 클래스 GSF.Diagnostics.PublisherFilter

Describes a kind of publisher. This can be All, or a subset based on Assembly (dll) or Type (namespace/type)
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 메소드들

메소드 설명
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