Пример #1
0
        private static string GetKind(ParameterViewModel a)
        {
            if (a.IsIn)
            {
                return string.Empty;
            }

            if (a.IsOut)
            {
                return "out ";
            }

            if (a.IsRef)
            {
                return "ref ";
            }

            throw new Exception();
        }
Пример #2
0
        private static string GetKind(ParameterViewModel a)
        {
            if (a.IsIn)
            {
                return(string.Empty);
            }

            if (a.IsOut)
            {
                return("out ");
            }

            if (a.IsRef)
            {
                return("ref ");
            }

            throw new Exception();
        }