It sounds as if you may be asking for something like:
var words = classname.split(' ');
for (var item in words) {
if (sometext.indexOf(words\[item\]) != -1) {
return true;
}
}
return false;
It sounds as if you may be asking for something like:
var words = classname.split(' ');
for (var item in words) {
if (sometext.indexOf(words\[item\]) != -1) {
return true;
}
}
return false;
I'm not sure about "E-POS", is that something based on the Unified POS standard? UPOS is an architecture for communicating with retail point of sale devices. The manufacturer of a UPOS-enabled receipt printer supplies a "service object" dll. Your code would use "POS for .NET" to talk to the receipt printer. See: Microsoft POS for .NET Overview[^] National Retail Federation, Unified POS[^]
This is the Intellectual Property Rights Policy[^] posted at the ISO20022.org site. (I am not a lawyer;) []Loren
There's a Scott Hanselman post here[^] that talks about using an XPathNavigator to get namespaces once it has a currentNode for scope. So this kind of thing works:
XmlNamespaceManager nsmgr = new XmlNamespaceManager( Document.NameTable );
XPathNavigator nav = Document.CreateNavigator();
nav.MoveToFollowing( XPathNodeType.Element );
foreach (var ns in nav.GetNamespacesInScope( XmlNamespaceScope.ExcludeXml ))
{
nsmgr.AddNamespace( ns.Key, ns.Value );
}
As you say, the framework may be doing the same work in each case.