public void SetUp()
 {
     converter = new CodeSnippetConverter {
         ReferencedContents = referencedContents
     };
 }
Exemplo n.º 2
0
 public bool Convert(string ProvidedSource, out string ConvertedSource, out string ErrorMessage)
 {
     CodeSnippetConverter converter = new CodeSnippetConverter() { ReferencedContents = ReferencedContentsSingleton.ReferencedContents };
     ConvertedSource = converter.VBToCSharp(ProvidedSource, out ErrorMessage);
     return (ErrorMessage.Length == 0);
 }