コード例 #1
0
ファイル: CallViewModel.cs プロジェクト: RajOpteamix/moq
        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
ファイル: CallViewModel.cs プロジェクト: soorajmamar/moq
        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();
        }