public void AddResourceType(ResourceType type)
 {
    type.SetReadOnly();
    _resourceTypes.Add(type.FullName, type);
 }