a
This commit is contained in:
@@ -3,20 +3,17 @@ using Kingdee.BOS.Orm.DataEntity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Text;
|
||||
|
||||
namespace K3CExttensionMethods
|
||||
{
|
||||
public static class ListHeaderExtension
|
||||
{
|
||||
public static ListHeader SetHeader(this ListHeader thiObj, Func<ListHeader, ListHeader> func)
|
||||
public static ListHeader SetHeader(this ListHeader thiObj, Action<ListHeader> _action)
|
||||
{
|
||||
return func(thiObj);
|
||||
}
|
||||
_action(thiObj);
|
||||
|
||||
public static ListHeader SetWidth(this ListHeader thiObj,int width)
|
||||
{
|
||||
thiObj.Width = width;
|
||||
return thiObj;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user