Ejemplo n.º 1
0
        private void OnDeserialized(StreamingContext context)
        {
            var registry = ServiceLocator.Default.Resolve <VariationRegistry>();

            _valueCache.Clear();
            _instance = registry.GetByName(Class, Weight);

            SetExtensionData(_instance, _instance.GetType(), new HashSet <StringKey>());
        }