Пример #1
0
 public static CodeClass2 LastCodeClass2OrDefault(this global::EnvDTE.CodeElements codeElements)
 {
     return(codeElements.LastOrDefault() as CodeClass2);
 }
Пример #2
0
 public static CodeNamespace LastCodeNamespaceOrDefault(this global::EnvDTE.CodeElements codeElements)
 {
     return(codeElements.LastOrDefault() as CodeNamespace);
 }