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); } }
public AssetManager() { Serializer = new AssetSerializer { LowLevelSerializerSelector = SerializerSelector.Default }; }