/// <inheritdoc /> public override IFileHandler GetHandler(Enumeradores.FileHandlerType enumType) { try { return(EnumHandlers[enumType]); } catch { throw new ArgumentException(message: "Invalid handler type.", paramName: nameof(enumType)); } }
/// <summary> /// Get a concrete <see cref="IFileHandler"/>. /// </summary> /// <paramref name="enumType">Type of handler.</paramref> /// <returns>An implementation of <see cref="IFileHandler"/></returns> public abstract IFileHandler GetHandler(Enumeradores.FileHandlerType enumType);