/// <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(); }
/// <summary> /// Sets the Contact Information /// </summary> /// <param name="i">Contact Informatiom Object</param> public void SetContactInformation(ContactInformation i) { ContactInformation = i; }
/// <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); }
/// <summary> /// Initializes a new instance of the AidResponding class /// </summary> public AidResponding() { Resources = new List <ResponseResourceKind>(); ContactInformation = new ContactInformation(); }