C# Class XG.Model.Domain.Helper

Datei anzeigen Open project: lformella/xdcc-grabscher

Public Methods

Method Description
RemoveBadCharsFromFileName ( string aName ) : string
ShrinkFileName ( string aName, System.Int64 aSize ) : string

Returns the file name ripped of the following chars ()[]{}-_.

Method Details

RemoveBadCharsFromFileName() public static method

public static RemoveBadCharsFromFileName ( string aName ) : string
aName string
return string

ShrinkFileName() public static method

Returns the file name ripped of the following chars ()[]{}-_.
public static ShrinkFileName ( string aName, System.Int64 aSize ) : string
aName string
aSize System.Int64
return string