private void validate(ref CMS.TreeEngine.TreeNode sku, DocTypeDefinition col, string productData) { NewMethod(ref sku, col, productData); } private void validate(ref SKUInfo sku, DocTypeDefinition col, string productData) {
NewMethod(ref sku, col, productData); } private static void NewMethod(ISimpleDataContainer sku, DocTypeDefinition col, string productData) { switch (col.ColumnType) { case "integer": sku.SetValue(col.ColumnID, ValidationHelper.GetInteger(productData, 0)); break; } }
|