本文整理汇总了C#中INestedUnitNamespaceReference类的典型用法代码示例。如果您正苦于以下问题:C# INestedUnitNamespaceReference类的具体用法?C# INestedUnitNamespaceReference怎么用?C# INestedUnitNamespaceReference使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
INestedUnitNamespaceReference类属于命名空间,在下文中一共展示了INestedUnitNamespaceReference类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Visit
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
this.traverser.Traverse(nestedUnitNamespaceReference);
}
示例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);
}
示例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);
}
示例4: Visit
public override void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
if(Process(nestedUnitNamespaceReference)){visitor.Visit(nestedUnitNamespaceReference);}
base.Visit(nestedUnitNamespaceReference);
}
示例5: Visit
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
throw new NotImplementedException();
}
示例6: IsWindowsUIXamlMediaMedia3D
private bool IsWindowsUIXamlMediaMedia3D(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Media3D) return false;
return IsWindowsUIXamlMedia(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
示例7: onMetadataElement
public virtual void onMetadataElement(INestedUnitNamespaceReference nestedUnitNamespaceReference) { }
示例8: IsWindowsUIXamlControlsPrimitives
private bool IsWindowsUIXamlControlsPrimitives(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Primitives) return false;
return IsWindowsUIXamlControls(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
示例9: IsWindowsUIXamlInterop
private bool IsWindowsUIXamlInterop(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Interop) return false;
return IsWindowsUIXaml(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
示例10: IsWindowsFoundationMetadata
private bool IsWindowsFoundationMetadata(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Metadata) return false;
return IsWindowsFoundation(namespaceReference.ContainingUnitNamespace as INestedUnitNamespaceReference);
}
示例11: IsWindows
private bool IsWindows(INestedUnitNamespaceReference/*?*/ namespaceReference) {
if (namespaceReference == null || namespaceReference.Name != this.Windows) return false;
return namespaceReference.ContainingUnitNamespace is IRootUnitNamespaceReference;
}
示例12: Rewrite
/// <summary>
/// Rewrites the specified reference to a nested unit namespace.
/// </summary>
public virtual INestedUnitNamespaceReference Rewrite(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
return nestedUnitNamespaceReference;
}
示例13: Visit
/// <summary>
/// Performs some computation with the given nested unit namespace reference.
/// </summary>
public void Visit(INestedUnitNamespaceReference nestedUnitNamespaceReference)
{
this.Visit((IUnitNamespaceReference)nestedUnitNamespaceReference);
}
示例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);
{
}
示例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);
}