public static IMBeanInfoBuilderConstructors WithOperations(this IMBeanInfoBuilderOperations builder, params MBeanOperationInfo[] operations) { return(builder.WithOperations(() => operations)); }
public static IMBeanInfoBuilderConstructors WithOperations(this IMBeanInfoBuilderOperations builder, params Func <MBeanOperationInfo>[] operations) { return(builder.WithOperations(() => operations.Select(x => x()))); }