Ejemplo n.º 1
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);
 }
Ejemplo n.º 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));
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 4
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;
        }