internal void Init(ISuggestItem i) { Name = i.Name; Description = i.Description; }
internal static SuggestItem Make(ISuggestItem rhs) { var rtn = new SuggestItem(); rtn.Update(rhs); return rtn; }
internal static SimpleSuggestItem Make(ISuggestItem i) { var rtn = new SimpleSuggestItem(); rtn.Init(i); return rtn; }
internal void Update(ISuggestItem rhs) { Name = rhs.Name; Description = rhs.Description; Icon = rhs.Icon; State = rhs.State; IconSource = IconReader.GetFileIcon(Description, AutoSuggest.Service.IconReader.IconSize.Large, false).ToImageSource(); }