static OperationResult() { var result = new OperationResult(); OperationErrors.Init(result, OperationErrorCodes.Success); SuccessResult = result; }
public static OperationResult Create(OperationErrorCodes code) { var opResult = new OperationResult(); OperationErrors.Init(opResult, code); return(opResult); }