C# 클래스 Brunet.Applications.IPAddresses

상속: IEnumerable
파일 보기 프로젝트 열기: johnynek/brunet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllInterfaces IList

보호된 프로퍼티들

프로퍼티 타입 설명
_ints System.Collections.ArrayList

공개 메소드들

메소드 설명
GetAddresses ( ) : IList

This is the system depedent part of the code. It should call look up address information and place it into an IList.

GetEnumerator ( ) : IEnumerator

To be of type IEnumerable, here is the Enumerator. This enumerates through the IList given by GetIPAddresses

GetIPAddresses ( ) : IPAddresses

Automatically chooses which version of IPAddresses to instantiate. This version looks up all the interfaces for the host

GetIPAddresses ( string interfaces ) : IPAddresses

Automatically chooses which version of IPAddresses to instantiate. This version of the constructor allows you to choose which interfaces to look up

IPAddresses ( ) : System

Used to look up all interfaces

IPAddresses ( string interfaces ) : System

Used to look up specific list of interfaces. This should not be called directly use GetIPAddresses(string[] interfaces)

Print ( ) : void

Prints the IPAddresses IList to the console.

보호된 메소드들

메소드 설명
AddIfMatch ( Regex re, string line, Hashtable ht, string key ) : bool

Called by GetAddresses to add the value to the correct place in the hashtable.

메소드 상세

AddIfMatch() 보호된 메소드

Called by GetAddresses to add the value to the correct place in the hashtable.
protected AddIfMatch ( Regex re, string line, Hashtable ht, string key ) : bool
re System.Text.RegularExpressions.Regex The regular expression to match.
line string The line to check.
ht System.Collections.Hashtable The hashtable to store the data if their is a match.
key string Position in the key in the hashtable to store the result
리턴 bool

GetAddresses() 공개 추상적인 메소드

This is the system depedent part of the code. It should call look up address information and place it into an IList.
public abstract GetAddresses ( ) : IList
리턴 IList

GetEnumerator() 공개 메소드

To be of type IEnumerable, here is the Enumerator. This enumerates through the IList given by GetIPAddresses
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetIPAddresses() 공개 정적인 메소드

Automatically chooses which version of IPAddresses to instantiate. This version looks up all the interfaces for the host
public static GetIPAddresses ( ) : IPAddresses
리턴 IPAddresses

GetIPAddresses() 공개 정적인 메소드

Automatically chooses which version of IPAddresses to instantiate. This version of the constructor allows you to choose which interfaces to look up
public static GetIPAddresses ( string interfaces ) : IPAddresses
interfaces string An array of interfaces to look up,
리턴 IPAddresses

IPAddresses() 공개 메소드

Used to look up all interfaces
public IPAddresses ( ) : System
리턴 System

IPAddresses() 공개 메소드

Used to look up specific list of interfaces. This should not be called directly use GetIPAddresses(string[] interfaces)
public IPAddresses ( string interfaces ) : System
interfaces string A list of interfaces to look up
리턴 System

Print() 공개 메소드

Prints the IPAddresses IList to the console.
public Print ( ) : void
리턴 void

프로퍼티 상세

AllInterfaces 공개적으로 프로퍼티

Contains interfaces information
public IList AllInterfaces
리턴 IList

_ints 보호되어 있는 프로퍼티

A list of the interfaces to look up when GetAddresses is called
protected ArrayList,System.Collections _ints
리턴 System.Collections.ArrayList