Beispiel #1
0
 public ExtracterComplexModel ReadComplexData(IReadHandler handler)
 {
     return(handler.AnalyeExcelData(_workbook));
 }
Beispiel #2
0
 /// <summary>
 /// Tries the get the handler.
 /// </summary>
 /// <param name="tag">The tag.</param>
 /// <param name="readHandler">The read handler.</param>
 /// <returns><c>true</c> if the handler is returned; <c>false</c> otherwise.</returns>
 protected bool TryGetHandler(string tag, out IReadHandler readHandler)
 {
     return(handlers.TryGetValue(tag, out readHandler));
 }
 /// <summary>
 /// Tries the get the handler.
 /// </summary>
 /// <param name="tag">The tag.</param>
 /// <param name="readHandler">The read handler.</param>
 /// <returns><c>true</c> if the handler is returned; <c>false</c> otherwise.</returns>
 protected bool TryGetHandler(string tag, out IReadHandler readHandler)
 {
     return handlers.TryGetValue(tag, out readHandler);
 }
 protected ReadService(IReadHandler <TModel> handler)
 {
     Handler = handler;
 }