private void HandleResourceAvailable(ResourceAvailableMessage resourceAvailableMessage)
        {
            var resource            = resourceAvailableMessage.Resource;
            var timestampedResource = TimestampedResource.Create(resource);

            _availableResources.Enqueue(timestampedResource);
        }
        private void MakeResourceAvailable(TResource resource)
        {
            var resourceAvailableMessage = new ResourceAvailableMessage(resource);

            if (!_messageHandler.Post(resourceAvailableMessage))
            {
                DisposeResource(resource);
            }
        }
        private void MakeResourceAvailable(TResource resource)
        {
            var resourceAvailableMessage = new ResourceAvailableMessage(resource);

            _messageHandler.Post(resourceAvailableMessage);
        }