public void SetTypeSource(NodeId typeId, BaseTypeSource source)
{
if (NodeId.IsNull(typeId))
{
throw new ArgumentNullException("typeId");
}
lock (m_lock)
{
if (source != null)
{
m_sources[typeId] = source;
}
else
{
m_sources.Remove(typeId);
}
}
}
#endregion