/// <summary>
 /// Add resource manager to asset.
 /// </summary>
 /// <param name="list"></param>
 public void Build(IList <IAsset> list)
 {
     if (type != null)
     {
         list.Add(ResourceManagerStringLocalizerAsset.Create(resourcePath, type, loggerFactory));
     }
     else
     {
         list.Add(ResourceManagerStringLocalizerAsset.Create(location, resourcePath, basename, loggerFactory));
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="list"></param>
 public void Build(IList <IAsset> list)
 {
     list.Add(ResourceManagerStringLocalizerAsset.CreateFactory(resourcePath, loggerFactory));
 }