This application must be denied, for several reasons.
1. The court, and not the referee, makes the order for the extra allowance, and, of course, the court itself must decide whether “ the prosecution or defence has been unreasonably or unfairly conducted.” In this case no facts are presented to the court, upon which a decision can be based. The referee has assumed to decide that that question; and the court is left to perform only the formal duty of making the order. The referee had no power to pass upon this point. The statute has given it to the court alone.
*2532. It will follow, from what has been said, that the order cannot be granted on an ex parte application. When the cause has been tried by a referee, the court can decide upon the propriety of granting the allowance, only on a view of the facts on which the charge of unfairly or unreasonably conducting the defence is predicated, and those facts can be brought to the knowledge of the court only by an affidavit. Such was the practice under the provisions of the Revised Statutes, by which executors were charged with costs for “ unreasonably resisting or neglecting ” the payment of a demand. (6 Hill, 386 ; 22 Wend. 271; 9 id. 488; 6 id. 554.) The affidavit may be explained or contradicted. To enable the party to do this, he must have notice of the motion and of the grounds on which the application is made.