Class JobContactContainer
Holds a set of JobContacts associated with a Job.
Inheritance
System.Object
JobContactContainer
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class JobContactContainer : IEnumerable<JobContact>, IEnumerable
Properties
Count
The number of JobContacts in the container.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
AddJobContact(JobContact)
Adds the given jobContact_ to the container.
Declaration
public void AddJobContact(JobContact jobContact_)
Parameters
| Type | Name | Description |
|---|---|---|
| JobContact | jobContact_ | Contact to be added. |
Clear()
Removes all JobContacts from the container.
Declaration
public void Clear()
GetEnumerator()
Provides an iterator over the collection members.
Declaration
public IEnumerator<JobContact> GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerator<JobContact> | A strongly typed iterator over the collection members. |
Remarks
This method is present primarily to support the For ... Each syntax.
GetEnumerator1()
Declaration
public IEnumerator GetEnumerator1()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Provides a strongly typed iterator over the collection members.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type | Description |
|---|---|
| System.Collections.IEnumerator | An iterator over the collection members. |
Remarks
This method is present primarily to support the For ... Each syntax.
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable