本文整理汇总了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)
{
}
示例2: Create
internal static EnvDTE.CodeElements Create(
CodeModelState state,
CodeFunction parent)
{
var collection = new OverloadsCollection(state, parent);
return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
}
示例3: Create
internal static EnvDTE.CodeElements Create(
CodeModelState state,
object parent)
{
var collection = new EmptyCollection(state, parent);
return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
}
示例4: Create
internal static EnvDTE.CodeElements Create(
CodeModelState state,
AbstractCodeElement parent)
{
var collection = new AttributeCollection(state, parent);
return (EnvDTE.CodeElements)ComAggregate.CreateAggregatedObject(collection);
}
示例5: UnionCollection
private UnionCollection(
CodeModelState state,
AbstractCodeElement parent,
ICodeElements[] collections)
: base(state, parent)
{
_collections = collections;
}
示例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);
}
示例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);
}
示例8: CodeStruct
private CodeStruct(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例9: ExternalParameterCollection
private ExternalParameterCollection(
CodeModelState state,
AbstractExternalCodeMember parent,
ProjectId projectId)
: base(state, parent)
{
_projectId = projectId;
}
示例10: CodeVariable
private CodeVariable(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例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);
}
示例12: ExternalNamespaceEnumerator
private ExternalNamespaceEnumerator(CodeModelState state, ProjectId projectId, SymbolKey namespaceSymbolId)
{
_state = state;
_projectId = projectId;
_namespaceSymbolId = namespaceSymbolId;
_childEnumerator = ChildrenOfNamespace(state, projectId, namespaceSymbolId).GetEnumerator();
}
示例13: PartialTypeCollection
private PartialTypeCollection(
CodeModelState state,
FileCodeModel fileCodeModel,
AbstractCodeType parent)
: base(state, parent)
{
_fileCodeModelHandle = new ComHandle<EnvDTE.FileCodeModel, FileCodeModel>(fileCodeModel);
}
示例14: CodeFunctionDeclareDecl
private CodeFunctionDeclareDecl(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}
示例15: CodeFunctionWithEventHandler
private CodeFunctionWithEventHandler(
CodeModelState state,
FileCodeModel fileCodeModel,
int nodeKind,
string name)
: base(state, fileCodeModel, nodeKind, name)
{
}