Zetbox.Client.Presentables.DtoViewModels.DtoBaseViewModel.ApplyChangesFrom C# (CSharp) Method

ApplyChangesFrom() protected method

protected ApplyChangesFrom ( DtoBaseViewModel otherBase ) : void
otherBase DtoBaseViewModel
return void
        protected internal virtual void ApplyChangesFrom(DtoBaseViewModel otherBase)
        {
            if (otherBase == null) throw new ArgumentNullException("otherBase");

            this.Background = otherBase.Background;
            this.Data = otherBase.Data;
            this.DebugInfo = otherBase.DebugInfo;
            this.Description = otherBase.Description;
            this.Formatting = otherBase.Formatting;
            this.IsPrintableRoot = otherBase.IsPrintableRoot;
            this.Root = otherBase.Root;
            this.Title = otherBase.Title;
        }