コード例 #1
0
 public ExtracterComplexModel ReadComplexData(IReadHandler handler)
 {
     return(handler.AnalyeExcelData(_workbook));
 }
コード例 #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));
 }
コード例 #3
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);
 }
コード例 #4
0
 protected ReadService(IReadHandler <TModel> handler)
 {
     Handler = handler;
 }