本文整理汇总了C#中INestedUnitNamespaceReference类的典型用法代码示例。如果您正苦于以下问题:C# INestedUnitNamespaceReference类的具体用法?C# INestedUnitNamespaceReference怎么用?C# INestedUnitNamespaceReference使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
INestedUnitNamespaceReference类属于命名空间,在下文中一共展示了INestedUnitNamespaceReference类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: Visit
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
this.traverser.Traverse(nestedUnitNamespaceReference);
}
开发者ID:rasiths,项目名称:visual-profiler,代码行数:4,代码来源:Visitors.cs
示例2: Traverse
/// <summary>
/// Traverses the specified nested unit namespace reference.
/// </summary>
public void Traverse(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
Contract.Requires(nestedUnitNamespaceReference != null);
if (!this.objectsThatHaveAlreadyBeenTraversed.Add(nestedUnitNamespaceReference)) return;
if (this.preorderVisitor != null) this.preorderVisitor.Visit(nestedUnitNamespaceReference);
if (this.stopTraversal) return;
this.TraverseChildren(nestedUnitNamespaceReference);
if (this.stopTraversal) return;
if (this.postorderVisitor != null) this.postorderVisitor.Visit(nestedUnitNamespaceReference);
}
开发者ID:rasiths,项目名称:visual-profiler,代码行数:13,代码来源:Visitors.cs
示例3: TraverseChildren
/// <summary>
/// Traverses the specified nested unit namespace reference.
/// </summary>
public virtual void TraverseChildren(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
Contract.Requires(nestedUnitNamespaceReference != null);
this.TraverseChildren((IUnitNamespaceReference)nestedUnitNamespaceReference);
}
开发者ID:rasiths,项目名称:visual-profiler,代码行数:8,代码来源:Visitors.cs
示例4: Visit
public override void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
if(Process(nestedUnitNamespaceReference)){visitor.Visit(nestedUnitNamespaceReference);}
base.Visit(nestedUnitNamespaceReference);
}
开发者ID:Refresh06,项目名称:visualmutator,代码行数:5,代码来源:VisualCodeVisitorBase.cs
示例5: Visit
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
throw new NotImplementedException();
}
开发者ID:Refresh06,项目名称:visualmutator,代码行数:4,代码来源:Visitors.cs
示例6: IsWindowsUIXamlMediaMedia3D
private bool IsWindowsUIXamlMediaMedia3D(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Media3D) return false;
return IsWindowsUIXamlMedia(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:4,代码来源:WindowsRuntimeHost.cs
示例7: onMetadataElement
public virtual void onMetadataElement(INestedUnitNamespaceReference nestedUnitNamespaceReference) { }
开发者ID:lleraromero,项目名称:bytecodetranslator,代码行数:1,代码来源:Translator.cs
示例8: IsWindowsUIXamlControlsPrimitives
private bool IsWindowsUIXamlControlsPrimitives(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Primitives) return false;
return IsWindowsUIXamlControls(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:4,代码来源:WindowsRuntimeHost.cs
示例9: IsWindowsUIXamlInterop
private bool IsWindowsUIXamlInterop(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Interop) return false;
return IsWindowsUIXaml(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:4,代码来源:WindowsRuntimeHost.cs
示例10: IsWindowsFoundationMetadata
private bool IsWindowsFoundationMetadata(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Metadata) return false;
return IsWindowsFoundation(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:4,代码来源:WindowsRuntimeHost.cs
示例11: IsWindows
private bool IsWindows(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Windows) return false;
return namespaceReference.ContainingUnitNamespace is IRootUnitNamespaceReference;
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:4,代码来源:WindowsRuntimeHost.cs
示例12: Rewrite
/// <summary>
/// Rewrites the specified reference to a nested unit namespace.
/// </summary>
public virtual INestedUnitNamespaceReference Rewrite(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
return nestedUnitNamespaceReference;
}
开发者ID:Refresh06,项目名称:visualmutator,代码行数:7,代码来源:OperatorCodeRewriterBase.cs
示例13: Visit
/// <summary>
/// Performs some computation with the given nested unit namespace reference.
/// </summary>
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
this.Visit((IUnitNamespaceReference)nestedUnitNamespaceReference);
}
开发者ID:rasiths,项目名称:visual-profiler,代码行数:7,代码来源:Validator.cs
示例14: Visit
/// <summary>
/// Performs some computation with the given nested unit namespace reference.
/// </summary>
/// <param name="nestedUnitNamespaceReference"></param>
public virtual void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
//^ ensures this.path.Count == old(this.path.Count);
{
}
开发者ID:modulexcite,项目名称:IL2JS,代码行数:8,代码来源:Visitors.cs
示例15: GetNamespaceName
private NamespaceName/*?*/ GetNamespaceName(INameTable nameTable, INestedUnitNamespaceReference/*?*/ nestedUnitNamespaceReference) {
if (nestedUnitNamespaceReference == null) return null;
var parentNamespaceName = this.GetNamespaceName(nameTable, nestedUnitNamespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
return new NamespaceName(nameTable, parentNamespaceName, nestedUnitNamespaceReference.Name);
}
开发者ID:RUB-SysSec,项目名称:Probfuscator,代码行数:5,代码来源:Attributes.cs
示例16: TraverseChildren
public override void TraverseChildren(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{ MethodEnter(nestedUnitNamespaceReference);
base.TraverseChildren(nestedUnitNamespaceReference);
MethodExit(); }
开发者ID:Refresh06,项目名称:visualmutator,代码行数:4,代码来源:DebugCodeTraverser.cs
示例17: GetNestedNamespaceInternId
uint GetNestedNamespaceInternId(INestedUnitNamespaceReference nestedUnitNamespaceReference) {
Contract.Requires(nestedUnitNamespaceReference != null);
uint parentNamespaceInternedId = this.GetUnitNamespaceInternId(nestedUnitNamespaceReference.ContainingUnitNamespace);
uint value = this.NestedNamespaceHashtable.Find(parentNamespaceInternedId, (uint)nestedUnitNamespaceReference.Name.UniqueKey);
if (value == 0) {
value = this.CurrentNamespaceInternValue++;
this.NestedNamespaceHashtable.Add(parentNamespaceInternedId, (uint)nestedUnitNamespaceReference.Name.UniqueKey, value);
}
return value;
}
开发者ID:Refresh06,项目名称:visualmutator,代码行数:11,代码来源:Core.cs
示例18: TraverseChildren
/// <summary>
/// Traverses the specified nested unit namespace reference.
/// </summary>
public virtual void TraverseChildren(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
this.TraverseChildren((IUnitNamespaceReference)nestedUnitNamespaceReference);
}
开发者ID:nithinphilips,项目名称:Afterthought,代码行数:7,代码来源:Visitors.cs
注:本文中的INestedUnitNamespaceReference类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论