Пример #1
0
        private static IDictionary <string, IXmlReader> DefaultReaders()
        {
            IDictionary <string, IXmlReader> readers = new Dictionary <string, IXmlReader>();

            readers["details"]           = new DetailXmlReader();
            readers["detailCollections"] = new DetailCollectionXmlReader();
            readers["authorizations"]    = new AuthorizationXmlReader();
            readers["attachments"]       = new AttachmentXmlReader();
            return(readers);
        }
Пример #2
0
 private static IDictionary<string, IXmlReader> DefaultReaders()
 {
     IDictionary<string, IXmlReader> readers = new Dictionary<string, IXmlReader>();
     readers["details"] = new DetailXmlReader();
     readers["detailCollections"] = new DetailCollectionXmlReader();
     readers["authorizations"] = new AuthorizationXmlReader();
     readers["properties"] = new PersistablePropertyXmlReader();
     readers["attachments"] = new AttachmentXmlReader();
     // do via parent relation instead: readers["children"] = new ChildXmlReader();
     return readers;
 }
Пример #3
0
        private static IDictionary <string, IXmlReader> DefaultReaders()
        {
            IDictionary <string, IXmlReader> readers = new Dictionary <string, IXmlReader>();

            readers["details"]           = new DetailXmlReader();
            readers["detailCollections"] = new DetailCollectionXmlReader();
            readers["authorizations"]    = new AuthorizationXmlReader();
            readers["properties"]        = new PersistablePropertyXmlReader();
            readers["attachments"]       = new AttachmentXmlReader();
            // do via parent relation instead: readers["children"] = new ChildXmlReader();
            return(readers);
        }
Пример #4
0
 private static IDictionary<string, IXmlReader> DefaultReaders()
 {
     IDictionary<string, IXmlReader> readers = new Dictionary<string, IXmlReader>();
     readers["details"] = new DetailXmlReader();
     readers["detailCollections"] = new DetailCollectionXmlReader();
     readers["authorizations"] = new AuthorizationXmlReader();
     readers["attachments"] = new AttachmentXmlReader();
     return readers;
 }