internal static EnvDTE80.CodeElement2 CreateUnknown(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
 {
     var element = new CodeImplementsStatement(state, fileCodeModel, nodeKind, name);
     return (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);
 }
示例#2
0
        internal static EnvDTE80.CodeElement2 CreateUnknown(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            int nodeKind,
            string name)
        {
            var element = new CodeImplementsStatement(state, fileCodeModel, nodeKind, name);

            return((EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element));
        }
示例#3
0
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            AbstractCodeMember parent,
            string namespaceName,
            int ordinal)
        {
            var element = new CodeImplementsStatement(state, parent, namespaceName, ordinal);
            var result  = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return(result);
        }
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            AbstractCodeMember parent,
            string namespaceName,
            int ordinal)
        {
            var element = new CodeImplementsStatement(state, parent, namespaceName, ordinal);
            var result = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return result;
        }