Пример #1
0
        private XDocument getTemplate(string deviceName)
        {
            var resourceName = "DVST_" + deviceName;

            if (EmbeddedResource.Contains(resourceName))
            {
                using (Stream source = EmbeddedResource.Get(resourceName))
                    return(XDocument.Load(source));
            }
            return(null);
        }