/// <summary> /// Initializes a new instance of the AidRequested class /// </summary> /// <param name="res">Requested Resource</param> /// <param name="loc">Location Extension (optional)</param> public AidRequested(RequestedResources res, LocationExtension loc = null) { bool hasLocation = loc != null; Resource = res; if (hasLocation) { location = loc; } }
/// <summary> /// Initializes a new instance of the AidRequested class /// </summary> public AidRequested() { Resource = new RequestedResources(); }