/// <summary>
        /// Gets the target target <see cref="CloudBlob"/> object of a <see cref="SerializableCloudBlob"/> object.
        /// </summary>
        /// <param name="blobSerialization">A <see cref="SerializableCloudBlob"/> object.</param>
        /// <returns>The target <see cref="CloudBlob"/> object.</returns>
        internal static CloudBlob GetBlob(SerializableCloudBlob blobSerialization)
        {
            if (null == blobSerialization)
            {
                return(null);
            }

            return(blobSerialization.Blob);
        }
        internal static CloudBlob GetBlob(SerializableCloudBlob blobSerialization)
        {
            if (null == blobSerialization)
            {
                return null;
            }

            return blobSerialization.Blob;
        }
        private AzureBlobLocation(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new System.ArgumentNullException("info");
            }

            this.blobSerializer = (SerializableCloudBlob)info.GetValue(BlobName, typeof(SerializableCloudBlob));
            this.accessCondition = (SerializableAccessCondition)info.GetValue(AccessConditionName, typeof(SerializableAccessCondition));
            this.CheckedAccessCondition = info.GetBoolean(CheckedAccessConditionName);
            this.requestOptions = (SerializableBlobRequestOptions)info.GetValue(RequestOptionsName, typeof(SerializableBlobRequestOptions));
            this.ETag = info.GetString(ETagName);
            this.BlockIdPrefix = info.GetString(BlockIDPrefixName);
        }
        /// <summary>
        /// Sets the target target <see cref="CloudBlob"/> object of a <see cref="SerializableCloudBlob"/> object.
        /// </summary>
        /// <param name="blobSerialization">A <see cref="SerializableCloudBlob"/> object.</param>
        /// <param name="value">A <see cref="CloudBlob"/> object.</param>
        internal static void SetBlob(ref SerializableCloudBlob blobSerialization, CloudBlob value)
        {
            if ((null == blobSerialization) &&
                (null == value))
            {
                return;
            }

            if (null != blobSerialization)
            {
                blobSerialization.Blob = value;
            }
            else
            {
                blobSerialization = new SerializableCloudBlob()
                {
                    Blob = value
                };
            }
        }
        internal static void SetBlob(ref SerializableCloudBlob blobSerialization, CloudBlob value)
        {
            if ((null == blobSerialization)
                && (null == value))
            {
                return;
            }

            if (null != blobSerialization)
            {
                blobSerialization.Blob = value;
            }
            else
            {
                blobSerialization = new SerializableCloudBlob()
                {
                    Blob = value
                };
            }
        }