Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AidResponding class
 /// </summary>
 /// <param name="app">Approved Status</param>
 /// <param name="resourceList">(Optional) List of Responding Resource Kinds</param>
 /// <param name="info">(Optional) Contact Information</param>
 public AidResponding(bool app, List <ResponseResourceKind> resourceList = null, ContactInformation info = null)
 {
     Approved           = app;
     Resources          = (resourceList != null) ? resourceList : new List <ResponseResourceKind>();
     ContactInformation = (info != null) ? info : new ContactInformation();
 }
Пример #2
0
 /// <summary>
 /// Sets the Contact Information
 /// </summary>
 /// <param name="i">Contact Informatiom Object</param>
 public void SetContactInformation(ContactInformation i)
 {
     ContactInformation = i;
 }
Пример #3
0
 /// <summary>
 /// Creates a new contact infomation object and sets it
 /// </summary>
 /// <param name="mean">The contact mean</param>
 /// <param name="entity">(Optional) The contact entity</param>
 /// <param name="entityDesc">(Optional) The contact entity's description</param>
 /// <param name="infoDesc">(Optional) The contact information description</param>
 /// <param name="responder">(Optional) The contact responder</param>
 /// <param name="augmentPoint">(Optional) The contact augmentation point</param>
 public void SetContactInformation(string mean, string entity = null, string entityDesc = null, string infoDesc = null, string responder = null, string augmentPoint = null)
 {
     ContactInformation = new ContactInformation(mean, entity, entityDesc, infoDesc, responder, augmentPoint);
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the AidResponding class
 /// </summary>
 public AidResponding()
 {
     Resources          = new List <ResponseResourceKind>();
     ContactInformation = new ContactInformation();
 }