コード例 #1
0
        public static void AddAfterSelf(this JProperty property, CatalogType catalogType, ICatalogClient catalogClient)
        {
            var resultQuery = catalogClient.GetValue(catalogType, property.Value.ToString());

            property.AddAfterSelf(new JProperty($"{property.Name}Descripcion", resultQuery.DESCRIPCION));
        }
コード例 #2
0
        public static void AddAfterSelf(this JProperty property, ICatalogClient catalogClient, CatalogType catalogType, string propertyName)
        {
            var resultQuery = catalogClient.GetValue(catalogType, property.Value.ToString());

            property.AddAfterSelf(new JProperty(propertyName, resultQuery.DESCRIPCION));
        }