/// <summary>
		/// 
		/// </summary>
		/// <param name="dataElement"></param>
		/// <param name="executeEventHandler"></param>
		/// <param name="type"> </param>
		public ConditionDisplayParameterTotalAttachmentSize(IDataElement dataElement, OnExecuteHandler executeEventHandler, Policy.PolicyType type)
			: base(Properties.Resources.IDS_EXPRESSION_PARAM_TOTALATTACHMENTSIZE_DEFAULT, null, type)
		{
			AddExecuteEventHandler(executeEventHandler);

			if (dataElement != null)
			{
				Object = dataElement;
				Text = GetDisplayName();
			}
		}
Beispiel #2
0
 public void AddExecuteEventHandler(OnExecuteHandler handler)
 {
     OnExecute = handler;
 }
 public ConditionDisplayParameterPropertyValue(IDataElement dataElement, OnExecuteHandler executeEventHandler, Workshare.Policy.PolicyType type) :
     base(Properties.Resources.FILE_PROPERTY_VALUE, dataElement, executeEventHandler, type)
 {
 }