Example #1
0
    public whatif_products_routing()
    {
        PAGENAME      = "whatif_products_routing.aspx";
        featureHelper = new RoutingDelegate();

        int value = 3;

        helperProduct = new ProductDelegatePage(value);

        fieldsNonEditable    = new bool[featureHelper.FIELDS.Length];
        fieldsNonEditable[1] = true;
        fieldsNonEditable[2] = true;
        fieldsNonEditable[3] = true;
    }
 private static RoutingDelegate WrapCallback <T>(RoutingDelegate <T> callback)
 {
     return((context, message) => callback(context, (T)message));
 }