C# Class ThoughtWorksMingleLib.MingleProject

Inheritance: IMingleProject
Afficher le fichier Open project: ThoughtWorksStudios/mingle.net Class Usage Examples

Méthodes publiques

Méthode Description
ClearCardSetPropertyValues ( ) : void

Clears card set property values from the cache

CreateCard ( string type, string name ) : MingleCard

Creates a new card

ExecMql ( string mql ) : System.Xml.Linq.XElement

Execute an MQL request and return results in a MingleCardCollection

GetCard ( int number ) : MingleCard

Returns a card given a card number from this project

GetCardType ( string cardNumber ) : string

Returns the card_type value

GetCardTypes ( ) : MingleCardTypeCollection

Get the CartTypes property results set

GetCardValuedProperties ( bool transitionOnly ) : Hashtable

Get the list of property definitions for properties that are not restricted to transition-only

GetCards ( ) : MingleCardCollection

Returns all the cards

GetCards ( Collection filters ) : MingleCardCollection

Given filter criteria, return a collection of cards

GetCardsOfType ( string cardType ) : MingleCardCollection

Returns card of the type indicated by cardType

GetFavorites ( ) : MingleFavoriteCollection

Get favorites

GetMurmurs ( ) : IEnumerable

Returns murmurs from Mingle

GetProperties ( ) : MinglePropertyDefinitionCollection

Get property definitions for the project

GetTeam ( ) : MingleProjectMemberCollection

Get list of team members for the project

GetTransitions ( ) : MingleTransitionCollection

Get the Transitions property from the Mingle server

GetView ( string name ) : MingleCardCollection

Returns a MingleCardCollection for a view

MingleProject ( string projectId, IMingleServer mingle ) : System

Constructs a new MingleProject

ResultsCount ( System.Xml.Linq.XElement results ) : int

Count of the result tags returned from a MQL query

RunMacro ( string macro ) : string

Given a macro, return the renderable HTML

SendMurmur ( string murmur ) : MingleMurmur

Sends a murmur to Mingle

Method Details

ClearCardSetPropertyValues() public méthode

Clears card set property values from the cache
public ClearCardSetPropertyValues ( ) : void
Résultat void

CreateCard() public méthode

Creates a new card
public CreateCard ( string type, string name ) : MingleCard
type string
name string
Résultat MingleCard

ExecMql() public méthode

Execute an MQL request and return results in a MingleCardCollection
May throw an exception bubbling up from below
public ExecMql ( string mql ) : System.Xml.Linq.XElement
mql string MQL query string
Résultat System.Xml.Linq.XElement

GetCard() public méthode

Returns a card given a card number from this project
public GetCard ( int number ) : MingleCard
number int
Résultat MingleCard

GetCardType() public méthode

Returns the card_type value
public GetCardType ( string cardNumber ) : string
cardNumber string
Résultat string

GetCardTypes() public méthode

Get the CartTypes property results set
public GetCardTypes ( ) : MingleCardTypeCollection
Résultat MingleCardTypeCollection

GetCardValuedProperties() public méthode

Get the list of property definitions for properties that are not restricted to transition-only
public GetCardValuedProperties ( bool transitionOnly ) : Hashtable
transitionOnly bool
Résultat System.Collections.Hashtable

GetCards() public méthode

Returns all the cards
public GetCards ( ) : MingleCardCollection
Résultat MingleCardCollection

GetCards() public méthode

Given filter criteria, return a collection of cards
public GetCards ( Collection filters ) : MingleCardCollection
filters Collection MingleFilter describing selection criteria
Résultat MingleCardCollection

GetCardsOfType() public méthode

Returns card of the type indicated by cardType
public GetCardsOfType ( string cardType ) : MingleCardCollection
cardType string
Résultat MingleCardCollection

GetFavorites() public méthode

Get favorites
public GetFavorites ( ) : MingleFavoriteCollection
Résultat MingleFavoriteCollection

GetMurmurs() public méthode

Returns murmurs from Mingle
public GetMurmurs ( ) : IEnumerable
Résultat IEnumerable

GetProperties() public méthode

Get property definitions for the project
public GetProperties ( ) : MinglePropertyDefinitionCollection
Résultat MinglePropertyDefinitionCollection

GetTeam() public méthode

Get list of team members for the project
public GetTeam ( ) : MingleProjectMemberCollection
Résultat MingleProjectMemberCollection

GetTransitions() public méthode

Get the Transitions property from the Mingle server
public GetTransitions ( ) : MingleTransitionCollection
Résultat MingleTransitionCollection

GetView() public méthode

Returns a MingleCardCollection for a view
public GetView ( string name ) : MingleCardCollection
name string
Résultat MingleCardCollection

MingleProject() public méthode

Constructs a new MingleProject
public MingleProject ( string projectId, IMingleServer mingle ) : System
projectId string An existing Mingle project_id
mingle IMingleServer Mingle server
Résultat System

ResultsCount() public méthode

Count of the result tags returned from a MQL query
public ResultsCount ( System.Xml.Linq.XElement results ) : int
results System.Xml.Linq.XElement
Résultat int

RunMacro() public méthode

Given a macro, return the renderable HTML
public RunMacro ( string macro ) : string
macro string Macro text
Résultat string

SendMurmur() public méthode

Sends a murmur to Mingle
public SendMurmur ( string murmur ) : MingleMurmur
murmur string
Résultat MingleMurmur