Example #1
0
 static DomainDrivenConfiguration()
 {
     Current = ConfigurationManager.GetSection("codeArt.domainDriven") as DomainDrivenConfiguration;
     if (Current == null)
     {
         Current = new DomainDrivenConfiguration();
     }
 }
Example #2
0
        public object Create(object parent, object configContext, XmlNode section)
        {
            DomainDrivenConfiguration config = new DomainDrivenConfiguration();

            config.RepositoryConfig = DeserializeRepositoryConfig(section);
            config.RemotableConfig  = DeserializeRemotableConfig(section);
            config.BufferConfig     = DeserializeBufferConfig(section);
            return(config);
        }