コード例 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="NamespacedName"/>.
 /// </summary>
 /// <param name="source">The name.</param>
 /// <param name="namespace">The namespace.</param>
 public NamespacedName(string source, ISimpleNamespace @namespace)
     : this(source, @namespace.Name)
 {
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="SimpleNamespace"/>.
 /// </summary>
 /// <param name="other">Other instance of <see cref="ISimpleNamespace"/>.</param>
 public SimpleNamespace(ISimpleNamespace other) : this(other.Name)
 {
 }