Пример #1
0
            public Component(PerfionXml xml, XElement element)
            {
                if (xml == null)
                {
                    throw new ArgumentNullException(nameof(xml));
                }
                if (element == null)
                {
                    throw new ArgumentNullException(nameof(element));
                }

                _xml     = xml;
                _element = element;
            }
Пример #2
0
            public File(PerfionXml xml, XElement element)
            {
                if (xml == null)
                {
                    throw new ArgumentNullException(nameof(xml));
                }
                if (element == null)
                {
                    throw new ArgumentNullException(nameof(element));
                }

                Element = element;
                _xml    = xml;
            }
Пример #3
0
 public Image(PerfionXml xml, XElement element)
     : base(xml, element)
 {
     _xml = xml;
 }