private IInternalConfigRoot ( IInternalConfigHost host, bool isDesignTime ) : void | ||
host | IInternalConfigHost | |
isDesignTime | bool | |
return | void |
void IInternalConfigRoot.Init(IInternalConfigHost host, bool isDesignTime) {
_host = host;
_isDesignTime = isDesignTime;
_hierarchyLock = new ReaderWriterLock();
// Dummy record to hold _children for root
if (_isDesignTime) {
_rootConfigRecord = MgmtConfigurationRecord.Create(this, null, string.Empty, null);
}
else {
_rootConfigRecord = (BaseConfigurationRecord) RuntimeConfigurationRecord.Create(this, null, string.Empty);
}
}