コード例 #1
0
        public static HostModel Initialize(Element element, Document document)
        {
            HostModel result = new HostModel();

            result._element  = element;
            result._document = document;
            result.ElementId = element.Id;
            result.SetProperties();
            return(result);
        }
コード例 #2
0
 public HostViewModel(HostModel hostModel)
 {
     HostModel = hostModel;
     SetProperties();
 }