コード例 #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
ファイル: ItemXmlReader.cs プロジェクト: brianmatic/n2cms
 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
ファイル: ItemXmlReader.cs プロジェクト: zeeshananjum/n2cms
        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;
 }