private void LoadNsDefHelper(IList <XmlNsDefinition> result, string xmlns, string clrns, System.Reflection.Assembly assembly) { if (string.IsNullOrEmpty(xmlns) || (clrns == null)) { throw new XamlSchemaException(System.Xaml.SR.Get("BadXmlnsDefinition", new object[] { assembly.FullName })); } XmlNsDefinition item = new XmlNsDefinition { ClrNamespace = clrns, XmlNamespace = xmlns }; result.Add(item); }
private void LoadNsDefHelper(IList<XmlNsDefinition> result, string xmlns, string clrns, System.Reflection.Assembly assembly) { if (string.IsNullOrEmpty(xmlns) || (clrns == null)) { throw new XamlSchemaException(System.Xaml.SR.Get("BadXmlnsDefinition", new object[] { assembly.FullName })); } XmlNsDefinition item = new XmlNsDefinition { ClrNamespace = clrns, XmlNamespace = xmlns }; result.Add(item); }