C# 클래스 Adf.Business.ValueObject.FileName

Class representing the value object File.
파일 보기 프로젝트 열기: NLADP/ADF 1 사용 예제들

공개 메소드들

메소드 설명
CompareTo ( object obj ) : int

Compares an FileName to the supplied object.

Equals ( object obj ) : bool

Compares this instance to another FileName object.

FileName ( string newvalue ) : System

Initializes a new instance of the FileName.

If the filename could not be validated, a FormatException exception is thrown.

GetHashCode ( ) : int

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

New ( ) : FileName

Creates a new empty FileName object.

New ( string value ) : FileName

Creates a new empty FileName object using the specified value.

ToString ( ) : string

Returns the fully qualified type name of this instance.

TryParse ( string s, FileName &result ) : bool

Tries to parse the supplied string into the supplied FileName object.

TryParse ( string s, IFormatProvider provider, FileName &result ) : bool
operator ( ) : bool

Returns the inequality of two FileName objects.

비공개 메소드들

메소드 설명
IsValidFileName ( string newValue ) : bool

Checks whether the supplied value is a valid FileName or not.

메소드 상세

CompareTo() 공개 메소드

Compares an FileName to the supplied object.
public CompareTo ( object obj ) : int
obj object The object to compare to.
리턴 int

Equals() 공개 메소드

Compares this instance to another FileName object.
public Equals ( object obj ) : bool
obj object The object to compare against.
리턴 bool

FileName() 공개 메소드

Initializes a new instance of the FileName.
If the filename could not be validated, a FormatException exception is thrown.
public FileName ( string newvalue ) : System
newvalue string The filename to use.
리턴 System

GetHashCode() 공개 메소드

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int

New() 공개 정적인 메소드

Creates a new empty FileName object.
public static New ( ) : FileName
리턴 FileName

New() 공개 정적인 메소드

Creates a new empty FileName object using the specified value.
public static New ( string value ) : FileName
value string The supplied value.
리턴 FileName

ToString() 공개 메소드

Returns the fully qualified type name of this instance.
public ToString ( ) : string
리턴 string

TryParse() 공개 정적인 메소드

Tries to parse the supplied string into the supplied FileName object.
public static TryParse ( string s, FileName &result ) : bool
s string The string to parse.
result FileName The object.
리턴 bool

TryParse() 공개 정적인 메소드

public static TryParse ( string s, IFormatProvider provider, FileName &result ) : bool
s string
provider IFormatProvider
result FileName
리턴 bool

operator() 공개 정적인 메소드

Returns the inequality of two FileName objects.
public static operator ( ) : bool
리턴 bool