public AreaTextureViewModel(IServiceModelTexture service) : this() { _service = service; service.GetData( (item, error) => { if (error != null) { return; } SelectedAreaTextures = (AreaTextures)item; }); }
public SelectedTextureList(IServiceModelTexture service) : this() { _service = service; service.GetData( (item, error) => { if (error != null) { return; } var selected = (AreaTextures)item; if (selected != null) { List = selected.List; } }); }