Exemplo n.º 1
0
 internal static EnvDTE80.CodeElement2 CreateUnknown(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
 {
     var element = new CodeInheritsStatement(state, fileCodeModel, nodeKind, name);
     return (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);
 }
Exemplo n.º 2
0
        internal static EnvDTE80.CodeElement2 CreateUnknown(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            int nodeKind,
            string name)
        {
            var element = new CodeInheritsStatement(state, fileCodeModel, nodeKind, name);

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

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

            return(result);
        }