Exemplo n.º 1
0
        static OperationResult()
        {
            var result = new OperationResult();

            OperationErrors.Init(result, OperationErrorCodes.Success);
            SuccessResult = result;
        }
Exemplo n.º 2
0
        public static OperationResult Create(OperationErrorCodes code)
        {
            var opResult = new OperationResult();

            OperationErrors.Init(opResult, code);
            return(opResult);
        }