C# Class ThoughtWorksMingleLib.MingleProject

Inheritance: IMingleProject
Datei anzeigen Open project: ThoughtWorksStudios/mingle.net Class Usage Examples

Public Methods

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

Clears card set property values from the cache
public ClearCardSetPropertyValues ( ) : void
return void

CreateCard() public method

Creates a new card
public CreateCard ( string type, string name ) : MingleCard
type string
name string
return MingleCard

ExecMql() public method

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
return System.Xml.Linq.XElement

GetCard() public method

Returns a card given a card number from this project
public GetCard ( int number ) : MingleCard
number int
return MingleCard

GetCardType() public method

Returns the card_type value
public GetCardType ( string cardNumber ) : string
cardNumber string
return string

GetCardTypes() public method

Get the CartTypes property results set
public GetCardTypes ( ) : MingleCardTypeCollection
return MingleCardTypeCollection

GetCardValuedProperties() public method

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

GetCards() public method

Returns all the cards
public GetCards ( ) : MingleCardCollection
return MingleCardCollection

GetCards() public method

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

GetCardsOfType() public method

Returns card of the type indicated by cardType
public GetCardsOfType ( string cardType ) : MingleCardCollection
cardType string
return MingleCardCollection

GetFavorites() public method

Get favorites
public GetFavorites ( ) : MingleFavoriteCollection
return MingleFavoriteCollection

GetMurmurs() public method

Returns murmurs from Mingle
public GetMurmurs ( ) : IEnumerable
return IEnumerable

GetProperties() public method

Get property definitions for the project
public GetProperties ( ) : MinglePropertyDefinitionCollection
return MinglePropertyDefinitionCollection

GetTeam() public method

Get list of team members for the project
public GetTeam ( ) : MingleProjectMemberCollection
return MingleProjectMemberCollection

GetTransitions() public method

Get the Transitions property from the Mingle server
public GetTransitions ( ) : MingleTransitionCollection
return MingleTransitionCollection

GetView() public method

Returns a MingleCardCollection for a view
public GetView ( string name ) : MingleCardCollection
name string
return MingleCardCollection

MingleProject() public method

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

ResultsCount() public method

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

RunMacro() public method

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

SendMurmur() public method

Sends a murmur to Mingle
public SendMurmur ( string murmur ) : MingleMurmur
murmur string
return MingleMurmur