コード例 #1
0
ファイル: ExternalCodeInterface.cs プロジェクト: belav/roslyn
        internal static EnvDTE.CodeInterface Create(
            CodeModelState state,
            ProjectId projectId,
            ITypeSymbol typeSymbol
            )
        {
            var newElement = new ExternalCodeInterface(state, projectId, typeSymbol);

            return((EnvDTE.CodeInterface)ComAggregate.CreateAggregatedObject(newElement));
        }
コード例 #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);
 }