C# Class Ushahidi.Model.Models.Incident

Inheritance: Common.MVC.Model
Mostra file Open project: ushahidi/Ushahidi_WinMobile

Private Properties

Property Type Description

Public Methods

Method 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 method

public AddMedia ( Media media ) : void
media Media
return void

AddPhoto() public method

public AddPhoto ( string imagePath ) : void
imagePath string
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

HasCategory() public method

public HasCategory ( int categoryID ) : bool
categoryID int
return bool

Load() public static method

public static Load ( string filePath ) : Incident
filePath string
return Incident

Parse() public static method

public static Parse ( string xml ) : Incident
xml string
return Incident

Save() public method

public Save ( ) : bool
return bool

Save() public method

public Save ( string filePath ) : bool
filePath string
return bool

ToString() public method

public ToString ( ) : string
return string