internal ThunderbirdProfile(ThunderbirdClient client, string profileName, string profilePath) { this.client = client; this.stores = new ArrayList(); this.profileName = profileName; this.profilePath = profilePath; this.PopulateProfile(); }
public ThunderbirdStore(string storePath, ThunderbirdClient client) { this.storePath = Path.GetDirectoryName(storePath); this.persistName = Path.GetFileName(this.storePath); this.displayName = this.persistName; this.profile = null; this.client = client; this.contacts = new ArrayList(); this.folders = new ArrayList(); string folderName = Path.GetFileName(storePath); FolderKind folderKind = this.GetFolderKind(folderName); ThunderbirdFolder folder = new ThunderbirdFolder( folderKind, folderName, storePath, null, this); this.folders.Add(folder); }