C# Class SenseNet.ContentRepository.Storage.BinaryFileName

BinaryFileName handles the filename of the data was saved in a BinaryData.
Show file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
BinaryFileName ( string fullFileName ) : System

Initializes a new instance of the BinaryFileName struct.

BinaryFileName ( string fileNameWithoutExtension, string extension ) : System

Initializes a new instance of the BinaryFileName struct.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Returns the hash code for this instance.

ToString ( ) : string

Returns the fully qualified type name of this instance.

Private Methods

Method Description
GetExtension ( string fileName ) : string
GetFileNameWithoutExtension ( string fileName ) : string

Method Details

BinaryFileName() public method

Initializes a new instance of the BinaryFileName struct.
public BinaryFileName ( string fullFileName ) : System
fullFileName string Full name of the file.
return System

BinaryFileName() public method

Initializes a new instance of the BinaryFileName struct.
public BinaryFileName ( string fileNameWithoutExtension, string extension ) : System
fileNameWithoutExtension string The file name without extension.
extension string The extension.
return System

Equals() public method

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object Another object to compare to.
return bool

GetHashCode() public method

Returns the hash code for this instance.
public GetHashCode ( ) : int
return int

ToString() public method

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