本文整理汇总了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)
{
}
示例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);
}
}
示例3: CodeStruct
private CodeStruct(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例4: CodeVariable
private CodeVariable(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例5: PartialTypeCollection
private PartialTypeCollection(
CodeModelState state,
FileCodeModel fileCodeModel,
AbstractCodeType parent)
: base(state, parent)
{
_fileCodeModelHandle = new ComHandle<EnvDTE.FileCodeModel, FileCodeModel>(fileCodeModel);
}
示例6: CodeFunctionDeclareDecl
private CodeFunctionDeclareDecl(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例7: CodeFunctionWithEventHandler
private CodeFunctionWithEventHandler(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例8: AbstractCodeType
internal AbstractCodeType(
CodeModelState state,
FileCodeModel fileCodeModel,
SyntaxNodeKey nodeKey,
int? nodeKind)
: base(state, fileCodeModel, nodeKey, nodeKind)
{
}
示例9: CodeNamespace
private CodeNamespace(
CodeModelState state,
FileCodeModel fileCodeModel,
SyntaxNodeKey nodeKey,
int? nodeKind)
: base(state, fileCodeModel, nodeKey, nodeKind)
{
}
示例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);
}
示例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);
}
示例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);
}
示例13: CodeOptionsStatement
private CodeOptionsStatement(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind)
{
_name = name;
}
示例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);
}
示例15: CodeInheritsStatement
private CodeInheritsStatement(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind)
{
_namespaceName = name;
}