public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as SimpleNoteConfig; if (other == null) { return(false); } if (this.Username != other.Username) { return(false); } if (this.Password != other.Password) { return(false); } if (this.PermanentlyDeleteNotes != other.PermanentlyDeleteNotes) { return(false); } if (this.BlankLineBelowTitle != other.BlankLineBelowTitle) { return(false); } return(true); }
public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as FilesystemConfig; if (other == null) { return(false); } if (this.Folder != other.Folder) { return(false); } if (this.Extension != other.Extension) { return(false); } if (this.StrEncoding != other.StrEncoding) { return(false); } if (this.SearchDepth != other.SearchDepth) { return(false); } return(true); }
public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as NextcloudConfig; if (other == null) { return(false); } if (this.Username != other.Username) { return(false); } if (this.Password != other.Password) { return(false); } if (this.Host != other.Host) { return(false); } if (this.BlankLineBelowTitle != other.BlankLineBelowTitle) { return(false); } return(true); }
public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as StandardNoteConfig; if (other == null) { return(false); } if (this.Email != other.Email) { return(false); } if (this.Password != other.Password) { return(false); } if (this.Server != other.Server) { return(false); } if (this.RemEmptyTags != other.RemEmptyTags) { return(false); } return(true); }
public override INote CreateEmptyNote(IRemoteStorageConnection iconn, IRemoteStorageConfiguration cfg) { var conn = (StandardNoteConnection)iconn; return(new StandardFileNote(Guid.NewGuid(), (StandardNoteConfig)cfg, conn.HConfig) { ContentVersion = CURRENT_SCHEMA, NoteCreationDate = DateTimeOffset.Now }); }
public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as HeadlessConfig; if (other == null) { return(false); } if (this.Name != other.Name) { return(false); } return(true); }
public bool IsEqual(IRemoteStorageConfiguration iother) { var other = iother as EvernoteConfig; if (other == null) { return(false); } if (this.Email != other.Email) { return(false); } if (this.Password != other.Password) { return(false); } if (this.UseSandbox != other.UseSandbox) { return(false); } return(true); }
public override IRemoteStorageConnection CreateRemoteStorageConnection(IWebProxy proxy, IRemoteStorageConfiguration config, HierachyEmulationConfig hConfig) { return(new HeadlessConnection()); }
public override INote CreateEmptyNote(IRemoteStorageConnection iconn, IRemoteStorageConfiguration cfg) { return(new FilesystemNote(Guid.NewGuid(), (FilesystemConfig)cfg)); }
public override IRemoteStorageConnection CreateRemoteStorageConnection(IWebProxy proxy, IRemoteStorageConfiguration config, HierachyEmulationConfig hConfig) { return(new FilesystemConnection(logger, (FilesystemConfig)config)); }
public override INote CreateEmptyNote(IRemoteStorageConnection iconn, IRemoteStorageConfiguration cfg) { var conn = (EvernoteConnection)iconn; return(new EvernoteNote(Guid.NewGuid(), (EvernoteConfig)cfg, conn.HConfig)); }
public override IRemoteStorageConnection CreateRemoteStorageConnection(IWebProxy proxy, IRemoteStorageConfiguration config, HierachyEmulationConfig hConfig) { return(new EvernoteConnection(_logger, proxy, (EvernoteConfig)config, hConfig)); }
public override INote CreateEmptyNote(IRemoteStorageConnection iconn, IRemoteStorageConfiguration cfg) { return(new NextcloudNote(-1, Guid.NewGuid(), (NextcloudConfig)cfg)); }
public abstract INote CreateEmptyNote(IRemoteStorageConnection conn, IRemoteStorageConfiguration cfg);
public abstract IRemoteStorageConnection CreateRemoteStorageConnection(IWebProxy proxy, IRemoteStorageConfiguration config, HierachyEmulationConfig hierachicalConfig);
public override INote CreateEmptyNote(IRemoteStorageConnection conn, IRemoteStorageConfiguration cfg) { return(new HeadlessNote(Guid.NewGuid())); }
public RemoteStorageAccount(Guid id, IRemotePlugin plugin, IRemoteStorageConfiguration cfg) { _plugin = plugin; _id = id; _config = cfg; }
public override INote CreateEmptyNote(IRemoteStorageConnection iconn, IRemoteStorageConfiguration cfg) { var conn = (SimpleNoteConnection)iconn; return(new SimpleNote(Guid.NewGuid().ToString("N").ToUpper(), (SimpleNoteConfig)cfg, conn.HConfig)); }