C# Class LongoMatch.Store.Project

Inheritance: IComparable
显示文件 Open project: GNOME/longomatch Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddPlay ( Category category, Time start, Time stop, Image miniature ) : LongoMatch.Store.Play

Adds a new play to a given category

AddPlay ( LongoMatch.Store.Play play ) : void
AllPlays ( ) : List
Clear ( ) : void

Frees all the project's resources helping the GC

CompareTo ( object obj ) : int
DeleteSubcategoryTags ( Category cat, List subcategories ) : void
Equals ( Project project ) : bool
Export ( Project project, string file ) : void
Import ( string file ) : Project
PlaysInCategory ( Category category ) : List
Project ( ) : System
RemoveCategory ( Category category ) : void

Delete a category

RemovePlayer ( TeamTemplate template, Player player ) : void
RemovePlays ( List plays ) : void

Delete a play from the project

Method Details

AddPlay() public method

Adds a new play to a given category
public AddPlay ( Category category, Time start, Time stop, Image miniature ) : LongoMatch.Store.Play
category Category
start Time /// A : start time of the play ///
stop Time /// A : stop time of the play ///
miniature Image
return LongoMatch.Store.Play

AddPlay() public method

public AddPlay ( LongoMatch.Store.Play play ) : void
play LongoMatch.Store.Play
return void

AllPlays() public method

public AllPlays ( ) : List
return List

Clear() public method

Frees all the project's resources helping the GC
public Clear ( ) : void
return void

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

DeleteSubcategoryTags() public method

public DeleteSubcategoryTags ( Category cat, List subcategories ) : void
cat Category
subcategories List
return void

Equals() public method

public Equals ( Project project ) : bool
project Project
return bool

Export() public static method

public static Export ( Project project, string file ) : void
project Project
file string
return void

Import() public static method

public static Import ( string file ) : Project
file string
return Project

PlaysInCategory() public method

public PlaysInCategory ( Category category ) : List
category Category
return List

Project() public method

public Project ( ) : System
return System

RemoveCategory() public method

Delete a category
public RemoveCategory ( Category category ) : void
category Category
return void

RemovePlayer() public method

public RemovePlayer ( TeamTemplate template, Player player ) : void
template TeamTemplate
player Player
return void

RemovePlays() public method

Delete a play from the project
public RemovePlays ( List plays ) : void
plays List
return void