Example #1
0
        internal static EnvDTE.CodeInterface Create(
            CodeModelState state,
            ProjectId projectId,
            ITypeSymbol typeSymbol
            )
        {
            var newElement = new ExternalCodeInterface(state, projectId, typeSymbol);

            return((EnvDTE.CodeInterface)ComAggregate.CreateAggregatedObject(newElement));
        }
Example #2
0
 internal static EnvDTE.CodeInterface Create(CodeModelState state, ProjectId projectId, ITypeSymbol typeSymbol)
 {
     var newElement = new ExternalCodeInterface(state, projectId, typeSymbol);
     return (EnvDTE.CodeInterface)ComAggregate.CreateAggregatedObject(newElement);
 }