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


C# FileCodeModel类代码示例

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


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

示例1: PartialTypeCollection

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

示例2: RetrieveCodeItems

 /// <summary>
 /// Walks the given FileCodeModel, turning CodeElements into code items within the specified
 /// code items set.
 /// </summary>
 /// <param name="codeItems">The code items set for accumulation.</param>
 /// <param name="fcm">The FileCodeModel to walk.</param>
 private static void RetrieveCodeItems(SetCodeItems codeItems, FileCodeModel fcm)
 {
     if (fcm != null && fcm.CodeElements != null)
     {
         RetrieveCodeItemsFromElements(codeItems, fcm.CodeElements);
     }
 }
开发者ID:reima,项目名称:codemaid,代码行数:13,代码来源:CodeModelBuilder.cs

示例3: CodeStruct

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

示例4: CodeVariable

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

示例5: 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

示例6: CodeFunctionDeclareDecl

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

示例7: CodeFunctionWithEventHandler

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

示例8: AbstractCodeType

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

示例9: CodeNamespace

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

示例10: 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

示例11: CreateUnknown

 internal static EnvDTE.CodeNamespace CreateUnknown(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
 {
     var element = new CodeNamespace(state, fileCodeModel, nodeKind, name);
     return (EnvDTE.CodeNamespace)ComAggregate.CreateAggregatedObject(element);
 }
开发者ID:GloryChou,项目名称:roslyn,代码行数:9,代码来源:CodeNamespace.cs

示例12: Create

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

示例13: CodeOptionsStatement

 private CodeOptionsStatement(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind)
 {
     _name = name;
 }
开发者ID:GuilhermeSa,项目名称:roslyn,代码行数:9,代码来源:CodeOptionsStatement.cs

示例14: CreateUnknown

 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);
 }
开发者ID:GuilhermeSa,项目名称:roslyn,代码行数:9,代码来源:CodeOptionsStatement.cs

示例15: CodeInheritsStatement

 private CodeInheritsStatement(
     CodeModelState state,
     FileCodeModel fileCodeModel,
     int nodeKind,
     string name)
     : base(state, fileCodeModel, nodeKind)
 {
     _namespaceName = name;
 }
开发者ID:GuilhermeSa,项目名称:roslyn,代码行数:9,代码来源:CodeInheritsStatement.cs


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