IOnBoardingController.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Drawing;
4 using System.Linq;
5 using System.Text;
6 
7 namespace Sage.ES.Onboarding.Interfaces
8 {
12  public interface IOnBoardingController : IDisposable
13  {
14  #region eventos
15 
20 
21  #endregion
22 
23  #region Propiedades
24  int _Aplicacion { get; set; }
28 
32  string _Usuario { get; set; }
33 
37  string _Licencia { get; set; }
38 
42  string _Mensaje_Error { get; set; }
43 
47  string _Entorno { get; set; }
48 
52  string _Version { get; set; }
53 
57  string _Compilacion { get; set; }
58 
62  bool _PlayingVideo { get; set; }
63 
67  INPS _NPS { get; set; }
68 
72  bool _IsLoaded { get; set; }
73 
77  bool _DescargarNoticias { get; set; }
78  #endregion Propiedades
79 
80  #region Métodos
81 
86  void _InicializarPropiedades(string tcUsuario = "");
87 
94  List<ICategoria> _LoadAyudaContextual(string tcPantalla, IAyudaContextual toAyudaContextual);
95 
104  bool _LoadAyudaContextual(string tcPantalla, string tcPantallaNoticias, IAyudaContextual toAyudaContextual, out Dictionary<TipoInformacion, object> tdicInf);
105 
110  void _SaveAyudaContextual(IAyudaContextual toAyudaContextual);
111 
116  bool _SaveNoticias(IAyudaContextual toAyudaContextual);
117 
122  bool _SaveNoticiasConfiguracionUsuario(IAyudaContextual toAyudaContextual);
123 
128  bool _SaveNoticiasConfiguracionPantalla(IAyudaContextual toAyudaContextual);
129 
134  bool _PresentacionAyuda();
135 
141  bool _OnClickAyudaContextualForm(INodo toNodo);
142 
148  bool _OnClickAyudaContextualURL(INodo toNodo);
149 
156  bool _OnClickAyudaContextualVideo(INodo toNodo, bool tlClose = false);
157 
163  bool _OnClickAyudaContextualColabora(string tcPantalla);
164 
169  bool _OnClickAyudaContextualQuieresSaberMas();
170 
175  bool _OnClickAyudaContextualVerAvisosYRecordatorios();
176 
182  bool _OnClickNoticiasURL(INoticia toNoticia);
183 
190  bool _OnClickNoticiasWalkthrough(INoticia toNoticia, IAyudaContextual toAyudaContextual);
191 
198  bool _OnClickRateNoticias(INoticia toNoticia, AccionNoticia toAccionNoticia);
199 
205  bool _OnClickRememberLater(INoticiaParam toNoticiaParam);
206 
212  bool _EsNoticiaRememberLater(INoticia toNoticia);
213 
220  bool _OpcionesServicioSoporte(ref List<ICategoria> tstCategorias, ref List<INodo> lstNodos);
221 
228  List<INodo> _Find(string tcTitulo = "", List<string> tlstPosiblesEtiquetas = null);
229 
236  List<INoticia> _FindNoticia(IAyudaContextual toAyudaContextual, string tcTexto = "");
237 
245  bool _OnShowNoticiasWalkthrough(IAyudaContextual toAyudaContextual, int tnIdNoticia = 0, Rectangle toRectangle = new Rectangle());
246 
251  bool _ShowConfiguracionNotificaciones(IAyudaContextual toAyudaContextual);
252 
257  List<INoticiaCategoria> _NoticiaCategorias();
258 
264  bool _Save(INodo toNodo);
265 
271  Dictionary<string, string> _DescargarJSON(DateTime tdFecha);
272 
279  void _ValidacionDescargaFicheros(string tcTipoDescarga, Dictionary<string, string> tdicFicheros);
280 
285  string _UrlBase();
286 
291  string _UrlBaseAyuda();
292 
301  bool _ObtenerInformacionJSON(DateTime tdFecha, ref List<ICategoria> tlstCategoria, ref List<INodo> tlstNodo, ref List<IVersion> tlstVersiones);
302 
309  bool _ObtenerInformacionJSON(DateTime tdFecha, out Dictionary<TipoInformacion, object> tdicInf);
310 
317  List<INoticia> _Noticias(IAyudaContextual toAyudaContextual, bool tlConfigPant = true);
318 
324  INoticiaCategoriasConfiguracion _NoticiasCategoriasPantalla(IAyudaContextual toAyudaContextual);
325 
331  INoticiaCategoriasConfiguracion _NoticiasCategoriasUsuario(IAyudaContextual toAyudaContextual);
332 
338  int _NumeroTotalNoticias(IAyudaContextual toAyudaContextual);
339 
344  void _Log(string tcLog);
345 
349  string _UserDataFolder();
350 
355  bool _LoadNewsPopUp();
356 
362  bool _DismissRememberLater(INoticia toNoticia);
363 
369  void _LaunchEventRememberLaterResult(INoticiaParam toNoticiaParam);
370 
374  void _RefreshNoticias();
375 
381  bool _AddonActivo(string tcAddon);
382 
383 
384  #endregion Métodos
385  }
386 
391  public delegate void _RememberLaterResult_Handler(INoticiaParam toNoticiaParam);
392 }
_RememberLaterResult_Handler _EventRememberLaterResult
Desencadena el evento con el resultado de Recordar más tarde
AccionNoticia
Tipos de acciones a realizar en una noticia
Definición de los métodos necesarios para realizar la encuenta (NPS)
Definition: INPS.cs:13
delegate void _RememberLaterResult_Handler(INoticiaParam toNoticiaParam)
Delegado para obtener el resultado de Recordar más tarde
Configuración categorias de las noticias ya sea por usuario o por pantalla
Interfaz que nos gestiona una noticia
Definition: INoticia.cs:12
Interfaz que nos define las propiedades cuando se ejecuta una opción de Recordar más tarde ...