Esempio n. 1
0
 static ScribbleMessage ToUnusedMessage(CodeSnippet snippet)
 {
     return new ScribbleMessage
     {
         File = snippet.File,
         LineNumber = snippet.StartRow,
         Message = string.Format("Code snippet reference '{0}' is not used in any pages and can be removed", snippet.Key)
     };
 }
Esempio n. 2
0
 static ScribbleMessage ToNotFoundMessage(CodeSnippet snippet)
 {
     return new ScribbleMessage
     {
         File = snippet.File,
         LineNumber = snippet.StartRow,
         Message = string.Format("Code snippet reference '{0}' was not closed (specify 'end code {0}').", snippet.Key)
     };
 }