示例#1
0
 /// <summary>
 /// Creates an instance of <see cref="NamespacePredicate"/> with the specified namespace with prefix.
 /// </summary>
 /// <param name="domain">The domain of the stream.</param>
 /// <param name="streamType">The stream type.</param>
 /// <param name="version">The version number of the model.</param>
 public NamespacePredicate(string domain, string streamType, uint version = 1)
 {
     _targetStreamNamespace = StreamHelper.GetNamespace(domain, streamType, version);
 }
示例#2
0
 /// <summary>
 /// Creates an instance of <see cref="NamespacePredicate"/> with the specified namespace with prefix.
 /// </summary>
 /// <param name="streamNamespace">The stream namespace.</param>
 public NamespacePredicate(string streamNamespace)
 {
     _targetStreamNamespace = StreamHelper.GetNamespace(streamNamespace);
 }