public static RuntimeConfigurationItemViewModelFactory WithOffset(
            this RuntimeConfigurationItemViewModelFactory factory, int offset)
        {
            var newFactory = factory.Clone() as RuntimeConfigurationItemViewModelFactory;

            newFactory.AddressOffset = offset;
            return(newFactory);
        }
        public static RuntimeConfigurationItemViewModelFactory WithParent(
            this RuntimeConfigurationItemViewModelFactory factory, IConfigurationItemViewModel parent)
        {
            var newFactory = factory.Clone() as RuntimeConfigurationItemViewModelFactory;

            newFactory.Parent = parent;
            return(newFactory);
        }