Пример #1
0
        internal static EnvDTE.CodeStruct Create(
            CodeModelState state,
            ProjectId projectId,
            ITypeSymbol typeSymbol
            )
        {
            var element = new ExternalCodeStruct(state, projectId, typeSymbol);

            return((EnvDTE.CodeStruct)ComAggregate.CreateAggregatedObject(element));
        }
Пример #2
0
 internal static EnvDTE.CodeStruct Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
 {
     var element = new ExternalCodeStruct(state, projectId, typeSymbol);
     return (EnvDTE.CodeStruct)ComAggregate.CreateAggregatedObject(element);
 }