C# Class Ushahidi.Model.Models.Incident

Inheritance: Common.MVC.Model
Afficher le fichier Open project: ushahidi/Ushahidi_WinMobile

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddMedia ( Media media ) : void
AddPhoto ( string imagePath ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
HasCategory ( int categoryID ) : bool
Load ( string filePath ) : Incident
Parse ( string xml ) : Incident
Save ( ) : bool
Save ( string filePath ) : bool
ToString ( ) : string

Method Details

AddMedia() public méthode

public AddMedia ( Media media ) : void
media Media
Résultat void

AddPhoto() public méthode

public AddPhoto ( string imagePath ) : void
imagePath string
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

HasCategory() public méthode

public HasCategory ( int categoryID ) : bool
categoryID int
Résultat bool

Load() public static méthode

public static Load ( string filePath ) : Incident
filePath string
Résultat Incident

Parse() public static méthode

public static Parse ( string xml ) : Incident
xml string
Résultat Incident

Save() public méthode

public Save ( ) : bool
Résultat bool

Save() public méthode

public Save ( string filePath ) : bool
filePath string
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string