private static void BuildPrefixSignature(Form1ViewModelData viewModel, StringBuilder sb) { if (viewModel.IsPure) { sb.AppendLine("[PureMethod]"); } if (viewModel.IsCppMethod) { sb.AppendFormat("[CppMethodBody(Header = \"{0}\", Code = \"\")]", viewModel.Header); sb.AppendLine(); } }
public CodeBuilder(Type sourceType, string destinationType, Form1ViewModelData viewModel) { _sourceType = sourceType; _destinationType = destinationType; _viewModel = viewModel; }