示例#1
0
        public Task<List<Identity>> GetLocalboxUsers()
		{
			return Task.Run (() => {
				var currentBox = GetSelectedOrDefaultBox ();
				var remoteExplorer = new RemoteExplorer ();
				var users = remoteExplorer.GetLocalBoxUsers ().Result.Where (e => e.Username != currentBox.User).ToList ();
				return users;
			});
		}