C# Class ThoughtWorks.VisualStudio.Project

Models a MingleProject for the ViewModel
Inheritance: IProject
显示文件 Open project: ThoughtWorksStudios/vs-connector Class Usage Examples

Private Properties

Property Type Description
Project System.Collections

Public Methods

Method Description
CreateCard ( string type, string name ) : Card

Create a new card

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

Calls the execute_mql API and returns an XElement of results

GetCardType ( string cardNumber ) : string

Returns the CardType name of a card identified by cardNumber

GetCardValuedProperties ( bool transitionOnly ) : Hashtable

Returns a Hashtable of CardProperty

GetCards ( Collection filters ) : CardsCollection

Wraps MingleProject.GetCards(filters)

GetCardsOfType ( string cardTypeName ) : CardsCollection

Returns a CardsCollection collection of cards of type

GetView ( string name ) : CardsCollection

Returns a CardsCollection collection for cards for view of name

SendMurmur ( string murmur ) : void

Sends a murmur to Mingle

Private Methods

Method Description
Project ( string project, ViewModel model ) : System.Collections

Constructs a new Mingle Project object

Method Details

CreateCard() public method

Create a new card
public CreateCard ( string type, string name ) : Card
type string
name string
return Card

ExecMql() public method

Calls the execute_mql API and returns an XElement of results
public ExecMql ( string mql ) : System.Xml.Linq.XElement
mql string
return System.Xml.Linq.XElement

GetCardType() public method

Returns the CardType name of a card identified by cardNumber
public GetCardType ( string cardNumber ) : string
cardNumber string
return string

GetCardValuedProperties() public method

Returns a Hashtable of CardProperty
public GetCardValuedProperties ( bool transitionOnly ) : Hashtable
transitionOnly bool
return System.Collections.Hashtable

GetCards() public method

Wraps MingleProject.GetCards(filters)
public GetCards ( Collection filters ) : CardsCollection
filters Collection
return CardsCollection

GetCardsOfType() public method

Returns a CardsCollection collection of cards of type
public GetCardsOfType ( string cardTypeName ) : CardsCollection
cardTypeName string
return CardsCollection

GetView() public method

Returns a CardsCollection collection for cards for view of name
public GetView ( string name ) : CardsCollection
name string
return CardsCollection

SendMurmur() public method

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