当前位置: 首页>>代码示例>>C#>>正文


C# CodeModelState类代码示例

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


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


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