• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# CodeModelState类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中CodeModelState的典型用法代码示例。如果您正苦于以下问题:C# CodeModelState类的具体用法?C# CodeModelState怎么用?C# CodeModelState使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CodeModelState类属于命名空间,在下文中一共展示了CodeModelState类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: PartialTypeCollection

 private PartialTypeCollection(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     AbstractCodeType parent)
     : base(state, parent)
 {
 }
开发者ID:XieShuquan,项目名称:roslyn,代码行数:7,代码来源:PartialTypeCollection.cs


示例2: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     CodeFunction parent)
 {
     var collection = new OverloadsCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:7,代码来源:OverloadsCollection.cs


示例3: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     object parent)
 {
     var collection = new EmptyCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:7,代码来源:EmptyCollection.cs


示例4: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     AbstractCodeElement parent)
 {
     var collection = new AttributeCollection(state, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:GuilhermeSa,项目名称:roslyn,代码行数:7,代码来源:AttributeCollection.cs


示例5: UnionCollection

 private UnionCollection(
     CodeModelState state,
     AbstractCodeElement parent,
     ICodeElements[] collections)
     : base(state, parent)
 {
     _collections = collections;
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:UnionCollection.cs


示例6: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     AbstractCodeElement parent,
     params ICodeElements[] collections)
 {
     var collection = new UnionCollection(state, parent, collections);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:UnionCollection.cs


示例7: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     AbstractCodeType parent)
 {
     var collection = new PartialTypeCollection(state, fileCodeModel, parent);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:XieShuquan,项目名称:roslyn,代码行数:8,代码来源:PartialTypeCollection.cs


示例8: CodeStruct

 private CodeStruct(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
开发者ID:GloryChou,项目名称:roslyn,代码行数:8,代码来源:CodeStruct.cs


示例9: ExternalParameterCollection

 private ExternalParameterCollection(
     CodeModelState state,
     AbstractExternalCodeMember parent,
     ProjectId projectId)
     : base(state, parent)
 {
     _projectId = projectId;
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:ExternalParameterCollection.cs


示例10: CodeVariable

 private CodeVariable(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
开发者ID:kvainexx,项目名称:roslyn,代码行数:8,代码来源:CodeVariable.cs


示例11: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     AbstractExternalCodeMember parent,
     ProjectId projectId)
 {
     var collection = new ExternalParameterCollection(state, parent, projectId);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:ExternalParameterCollection.cs


示例12: ExternalNamespaceEnumerator

        private ExternalNamespaceEnumerator(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId)
        {
            _state = state;
            _projectId = projectId;
            _namespaceSymbolId = namespaceSymbolId;

            _childEnumerator = ChildrenOfNamespace(state, projectId, namespaceSymbolId).GetEnumerator();
        }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:ExternalNamespaceEnumerator.cs


示例13: PartialTypeCollection

 private PartialTypeCollection(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     AbstractCodeType parent)
     : base(state, parent)
 {
     _fileCodeModelHandle = new ComHandle<EnvDTE.FileCodeModel, FileCodeModel>(fileCodeModel);
 }
开发者ID:ehsansajjad465,项目名称:roslyn,代码行数:8,代码来源:PartialTypeCollection.cs


示例14: CodeFunctionDeclareDecl

 private CodeFunctionDeclareDecl(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:CodeFunctionDeclareDecl.cs


示例15: CodeFunctionWithEventHandler

 private CodeFunctionWithEventHandler(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
开发者ID:Rickinio,项目名称:roslyn,代码行数:8,代码来源:CodeFunctionWithEventHandler.cs


示例16: ExternalOverloadsCollection

 private ExternalOverloadsCollection(
     CodeModelState state,
     ExternalCodeFunction parent,
     ProjectId projectId)
     : base(state, parent)
 {
     _projectId = projectId;
 }
开发者ID:XieShuquan,项目名称:roslyn,代码行数:8,代码来源:ExternalOverloadsCollection.cs


示例17: Create

        internal static EnvDTE80.CodeAttributeArgument Create(CodeModelState state, CodeAttribute parent, int index)
        {
            Debug.Assert(parent != null);
            Debug.Assert(index >= 0);

            var newElement = new CodeAttributeArgument(state, parent, index);
            return (EnvDTE80.CodeAttributeArgument)ComAggregate.CreateAggregatedObject(newElement);
        }
开发者ID:GuilhermeSa,项目名称:roslyn,代码行数:8,代码来源:CodeAttributeArgument.cs


示例18: Create

 internal static EnvDTE.CodeElements Create(
     CodeModelState state,
     ExternalCodeFunction parent,
     ProjectId projectId)
 {
     var collection = new ExternalOverloadsCollection(state, parent, projectId);
     return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
 }
开发者ID:XieShuquan,项目名称:roslyn,代码行数:8,代码来源:ExternalOverloadsCollection.cs


示例19: CodeNamespace

 private CodeNamespace(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     SyntaxNodeKey nodeKey,
     int? nodeKind)
     : base(state, fileCodeModel, nodeKey, nodeKind)
 {
 }
开发者ID:GloryChou,项目名称:roslyn,代码行数:8,代码来源:CodeNamespace.cs


示例20: AbstractCodeType

 internal AbstractCodeType(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind, name)
 {
 }
开发者ID:JinGuoGe,项目名称:roslyn,代码行数:8,代码来源:AbstractCodeType.cs



注:本文中的CodeModelState类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# CodeNamespace类代码示例发布时间:2022-05-24
下一篇:
C# CodeMemberMethod类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap