private const string DirectoryType = "application/directory";
private readonly IEventAggregator _events ;
- private string _title;
- public string Title
- {
- get { return _title; }
- set
- {
- _title = value;
- NotifyOfPropertyChange(() => Title);
- }
- }
public AccountSettings Account { get; set; }
{
Account = account;
AccountName = account.AccountName;
- Title = account.AccountName;
+ DisplayName = account.AccountName;
_monitor = monitor;
_events = events;
TaskEx.Run(LoadRootNode);
select new DirectoryRecord
{
DisplayName=account.name,
+ Uri=new Uri(client.StorageUrl,"../"+ account.name),
Directories=(from container in client.ListContainers(account.name)
select new DirectoryRecord
{
DisplayName=container.Name,
+ Uri = new Uri(client.StorageUrl, "../" + account.name + "/" + container.Name),
Directories=(from folder in client.ListObjects(account.name,container.Name,"")
where folder.Content_Type==DirectoryType
select new DirectoryRecord{DisplayName=folder.Name,ObjectInfo=folder}).ToList()