public static void AttachByProductIdHandler(int productId, FileHandlerFunction handler) { byProductIdHandler[productId] = handler; }
public static void AttachByCompressionHandler(int compressionType, FileHandlerFunction handler) { byCompressionTypeHandler[compressionType] = handler; }