JsonFx.UI.Jbst.JbstWriter.AddAttribute C# (CSharp) Method

AddAttribute() private method

private AddAttribute ( string name, JbstControl value ) : void
name string
value JbstControl
return void
        private void AddAttribute(string name, JbstControl value)
        {
            if (this.current == null)
            {
                throw new InvalidOperationException("Unexpected attribute");
            }

            this.current.Attributes[name] = value;
        }

Same methods

JbstWriter::AddAttribute ( string name, string value ) : void