public IglooUpdateAndPublish(IIglooService iglooService, IIglooUpdateAndPublishErrorHandler errorHandler, long layoutId, IglooVisibility?visibility, MutableSceneLayout sceneLayout) { this.iglooService = iglooService; this.errorHandler = errorHandler; this.layoutId = layoutId; this.visibility = visibility; this.sceneLayout = sceneLayout; eventChannel = new EventChannel(Service.Get <EventDispatcher>()); }
public void UpdateAndPublish(long layoutId, IglooVisibility?visibility, MutableSceneLayout sceneLayout, IIglooUpdateAndPublishErrorHandler errorHandler) { IglooUpdateAndPublish iglooUpdateAndPublish = new IglooUpdateAndPublish(this, errorHandler, layoutId, visibility, sceneLayout); iglooUpdateAndPublish.Execute(); }