public IHTMLElement() { this.Token = new ExternalContext.Token(); this.Token.RequestToken = delegate { if (string.IsNullOrEmpty(this.id)) throw new Exception("id is missing"); this.Token.TokenValue = this.Token.Context.CreateToken(); this.Token.Context.ExternalContext_token_set_getElementById(this.Token.TokenValue, this.id); }; this.__innerHTML = new ExternalContext.Token.Property(this.Token, "innerHTML"); this.__title = new ExternalContext.Token.Property(this.Token, "title"); }
public IHTMLElement() { this.Token = new ExternalContext.Token(); this.Token.RequestToken = delegate { if (string.IsNullOrEmpty(this.id)) { throw new Exception("id is missing"); } this.Token.TokenValue = this.Token.Context.CreateToken(); this.Token.Context.ExternalContext_token_set_getElementById(this.Token.TokenValue, this.id); }; this.__innerHTML = new ExternalContext.Token.Property(this.Token, "innerHTML"); this.__title = new ExternalContext.Token.Property(this.Token, "title"); }