示例#1
0
        public LockMessage(StorageView view, LockErrorType type, List <LockError> errors)
        {
            InitializeComponent();

            ParentView = view;
            Storages   = view.Storages;
            Type       = type;
            Errors     = errors;

            RootPath = view.Storages.GetRootPath(view.UserID, view.ProjectID);
        }
示例#2
0
        public LockMessage(StorageView view, LockErrorType type, List<LockError> errors)
        {
            InitializeComponent();

            ParentView = view;
            Storages = view.Storages;
            Type = type;
            Errors = errors;

            RootPath = view.Storages.GetRootPath(view.UserID, view.ProjectID);
        }
示例#3
0
 // used for unexpected (file) and existing errors
 public LockError(string path, string message, bool isFile, LockErrorType type, StorageFile file, bool history)
 {
     Path = path;
     Message = message;
     IsFile = isFile;
     Type = type;
     File = file;
     History = history;
 }
示例#4
0
 public LockError(string path, string message, bool isFile, LockErrorType type)
 {
     Path = path;
     Message = message;
     IsFile = isFile;
     Type = type;
 }