C# Class PCSX2Bonus.Tools

Afficher le fichier Open project: CyberFoxHax/PCSXBonus

Méthodes publiques

Méthode Description
FindByName ( string name, FrameworkElement root ) : FrameworkElement
GetDescendantByName ( FrameworkElement element, string name ) : Visual
GetDescendantByType ( Visual element, Type type ) : Visual
GetLocalImage ( string name ) : BitmapImage
GetSizeReadable2 ( long i ) : string
HideAllWindows ( ) : void
ImageFromWeb ( string url, CancellationToken ct ) : Task
InternetAvaliable ( ) : Task
RemoveInvalidXMLChars ( string text ) : string
SaveFromWeb ( string url, string path ) : void
ShowAllWindows ( ) : void
ShowMessage ( string message, MessageType type ) : void
TryLoad ( string path ) : System.Xml.Linq.XElement

Method Details

FindByName() public static méthode

public static FindByName ( string name, FrameworkElement root ) : FrameworkElement
name string
root System.Windows.FrameworkElement
Résultat System.Windows.FrameworkElement

GetDescendantByName() public static méthode

public static GetDescendantByName ( FrameworkElement element, string name ) : Visual
element System.Windows.FrameworkElement
name string
Résultat Visual

GetDescendantByType() public static méthode

public static GetDescendantByType ( Visual element, Type type ) : Visual
element Visual
type System.Type
Résultat Visual

GetLocalImage() public static méthode

public static GetLocalImage ( string name ) : BitmapImage
name string
Résultat System.Windows.Media.Imaging.BitmapImage

GetSizeReadable2() public static méthode

public static GetSizeReadable2 ( long i ) : string
i long
Résultat string

HideAllWindows() public static méthode

public static HideAllWindows ( ) : void
Résultat void

ImageFromWeb() public static méthode

public static ImageFromWeb ( string url, CancellationToken ct ) : Task
url string
ct System.Threading.CancellationToken
Résultat Task

InternetAvaliable() public static méthode

public static InternetAvaliable ( ) : Task
Résultat Task

RemoveInvalidXMLChars() public static méthode

public static RemoveInvalidXMLChars ( string text ) : string
text string
Résultat string

SaveFromWeb() public static méthode

public static SaveFromWeb ( string url, string path ) : void
url string
path string
Résultat void

ShowAllWindows() public static méthode

public static ShowAllWindows ( ) : void
Résultat void

ShowMessage() public static méthode

public static ShowMessage ( string message, MessageType type ) : void
message string
type MessageType
Résultat void

TryLoad() public static méthode

public static TryLoad ( string path ) : System.Xml.Linq.XElement
path string
Résultat System.Xml.Linq.XElement