Class EmailCollection
- Namespace
- Dynamicweb.EmailMarketing
- Assembly
- Dynamicweb.EmailMarketing.dll
Collection of emails.
public class EmailCollection : Collection<Email>, IList<Email>, ICollection<Email>, IReadOnlyList<Email>, IReadOnlyCollection<Email>, IEnumerable<Email>, IList, ICollection, IEnumerable
- Inheritance
-
EmailCollection
- Implements
- Inherited Members
- Extension Methods
Properties
Data
Gets the underlying data storage.
protected List<Email> Data { get; }
Property Value
Methods
GetRange(int, int)
Creates a shallow copy of a range of elements in the source EmailCollection.
public List<Email> GetRange(int index, int count)
Parameters
Returns
Sort(IComparer<Email>)
Sorts elements according to the given comparer.
public void Sort(IComparer<Email> comparer)
Parameters
Sort(Comparison<Email>)
Sorts elements according to the given comparison.
public void Sort(Comparison<Email> comparison)
Parameters
comparison
Comparison<Email>Comparison.
SortByCreatedDate(string)
Sorts emails by a creation date (ascending).
public void SortByCreatedDate(string direction = "DESC")
Parameters
direction
string
SortByEmailName(string)
Sorts emails by name
public void SortByEmailName(string direction = "DESC")
Parameters
direction
stringThe sort direction
SortByOpeningRate(string)
Sorts emails by a sender name (ascending).
public void SortByOpeningRate(string direction = "DESC")
Parameters
direction
string
SortByScheduledDate(string)
Sorts emails by a scheduled date (ascending).
public void SortByScheduledDate(string direction = "DESC")
Parameters
direction
string
SortBySendDate(string)
Sorts emails by a send start date.
public void SortBySendDate(string direction = "DESC")
Parameters
direction
string
SortBySendEndDate(string)
Sorts emails by a send compleated date.
public void SortBySendEndDate(string direction)
Parameters
direction
string
SortBySenderName(string)
Sorts emails by a sender name (ascending).
public void SortBySenderName(string direction = "DESC")
Parameters
direction
string
SortByState(string)
Sorts emails by a state.
public void SortByState(string direction = "DESC")
Parameters
direction
string
SortBySubject(string)
Sorts emails by a subject (ascending).
public void SortBySubject(string direction = "DESC")
Parameters
direction
string
SortByTemplateName(string)
Sorts emails by TemplateName
public void SortByTemplateName(string direction)
Parameters
direction
string
SortByTotalSend(string)
Sorts emails by a sender name (ascending).
public void SortByTotalSend(string direction = "DESC")
Parameters
direction
string
See Also
Collection<T>