Exemple #1
0
        public override void Apply(WorkspaceFixContext context)
        {
            var commandBinding = "{command: " + CommandName + "()}";
            var value          = new AttributeQuotedValueToken(0, "\"", commandBinding);

            Tag.AddOrUpdateAttribute(Name, value);
        }
        public override void Apply(WorkspaceFixContext context)
        {
            var commandBinding = "{value: " + ViewModelProperty + "}";
            var value          = new AttributeQuotedValueToken(0, "\"", commandBinding);

            Tag.AddOrUpdateAttribute(Name, value);
        }