C# Class Suteki.Shop.Contact

Inheritance: IEntity
Datei anzeigen Open project: mikehadlow/sutekishop Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Contact ( ) : System.Collections.Generic
GetAddressLines ( ) : IEnumerable

Get an enumerator over the contact lines, but only return the ones that are available. This is a convenience method that allows us to easily write a nice address by simply foreach(ing) over GetAddressLines: foreach(var line in myContact.GetAddressLines()) { Console.WriteLine(line); }

Method Details

Contact() public method

public Contact ( ) : System.Collections.Generic
return System.Collections.Generic

GetAddressLines() public method

Get an enumerator over the contact lines, but only return the ones that are available. This is a convenience method that allows us to easily write a nice address by simply foreach(ing) over GetAddressLines: foreach(var line in myContact.GetAddressLines()) { Console.WriteLine(line); }
public GetAddressLines ( ) : IEnumerable
return IEnumerable