OmniXaml.ObjectAssembler.ObjectAssembler.OverrideInstance C# (CSharp) Méthode

OverrideInstance() public méthode

public OverrideInstance ( object instance ) : void
instance object
Résultat void
        public void OverrideInstance(object instance)
        {
            StateCommuter.RaiseLevel();
            StateCommuter.Current.Instance = instance;

            var collection = instance as ICollection;
            if (collection != null)
            {
                StateCommuter.Current.Collection = collection;
            }
        }