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

AddStyle() private method

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

            this.SetStyle(this.current, name, value);
        }