예제 #1
0
 public AssetManager(IServiceRegistry services)
 {
     Serializer = new AssetSerializer();
     if (services != null)
     {
         services.AddService(typeof(IAssetManager), this);
         services.AddService(typeof(AssetManager), this);
         Serializer.SerializerContextTags.Set(ServiceRegistry.ServiceRegistryKey, services);
     }
 }
예제 #2
0
 public AssetManager()
 {
     Serializer = new AssetSerializer {
         LowLevelSerializerSelector = SerializerSelector.Default
     };
 }