public FakeStorageAppendBlob(string blobName, FakeStorageBlobContainer parent, FakeStorageBlobProperties properties = null) : base(parent.GetBlobUri(blobName)) { _store = parent._store; _blobName = blobName; _parent = parent; _containerName = parent.Name; _metadata = new Dictionary <string, string>(); if (properties != null) { _properties = properties; ApplyProperties(); } else { _properties = new FakeStorageBlobProperties(); } // currentBlob.Properties.LastModified.Value.UtcDateTime; // CloudBlob.Properties { return this.attributes.Properties } // where attributes is internal BlobAttributes class. // return BlobProperties this.SetInternalProperty(nameof(ServiceClient), parent._client); }
public FakeStoragePageBlob(string blobName, FakeStorageBlobContainer parent, FakeStorageBlobProperties properties = null) : base(parent.GetBlobUri(blobName)) { _store = parent._store; _blobName = blobName; _parent = parent; _containerName = parent.Name; _metadata = new Dictionary <string, string>(); if (properties != null) { _properties = properties; ApplyProperties(); } else { _properties = new FakeStorageBlobProperties(); } this.SetInternalProperty(nameof(ServiceClient), parent._client); }