Ejemplo n.º 1
0
        /** Handle results returned from the document
         */
        public override void _HandleResult(Newtonsoft.Json.Linq.JToken value)
        {
            if (OfficeExtension.Utility._IsNullOrUndefined(value))
            {
                return;
            }
            Newtonsoft.Json.Linq.JObject obj = value as Newtonsoft.Json.Linq.JObject;
            if (obj == null)
            {
                return;
            }

            OfficeExtension.Utility._FixObjectPathIfNecessary(this, obj);
            if (!OfficeExtension.Utility._IsUndefined(obj["Criteria"]))
            {
                this.LoadedPropertyNames.Add("Criteria");
                this.m_criteria = obj["Criteria"].ToObject <Microsoft.ExcelServices.FilterCriteria>();
            }
        }
Ejemplo n.º 2
0
 public void Apply(Microsoft.ExcelServices.FilterCriteria criteria)
 {
     /* Begin_PlaceHolder_Filter_Apply */
     /* End_PlaceHolder_Filter_Apply */
     OfficeExtension.ActionFactory._CreateMethodAction(this.Context, this, "Apply", OfficeExtension.OperationType.Default, new object[] { criteria });
 }