예제 #1
0
 internal static EnvDTE80.CodeElement2 CreateUnknown(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
 {
     var element = new CodeOptionsStatement(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 CodeOptionsStatement(state, fileCodeModel, nodeKind, name);

            return((EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element));
        }
예제 #3
0
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            string name,
            int ordinal)
        {
            var element = new CodeOptionsStatement(state, fileCodeModel, name, ordinal);
            var result  = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return(result);
        }
예제 #4
0
        internal static EnvDTE80.CodeElement2 Create(
            CodeModelState state,
            FileCodeModel fileCodeModel,
            string name,
            int ordinal)
        {
            var element = new CodeOptionsStatement(state, fileCodeModel, name, ordinal);
            var result = (EnvDTE80.CodeElement2)ComAggregate.CreateAggregatedObject(element);

            return result;
        }