Exemplo n.º 1
0
        //
        //	Public
        //

        public SpecificFileAttachmentsFilter(
            TIS_ATTACHMENTS_FILTER attachmentsFilter,
            string excludedFileName,
            string excludedFileDirectory = null)
        {
            m_AttachmentsFilter     = attachmentsFilter;
            m_ExcludedFileName      = excludedFileName;
            m_ExcludedFileDirectory = excludedFileDirectory;
        }
Exemplo n.º 2
0
        public SimpleAttachmentsFilter(
            TIS_ATTACHMENTS_FILTER attachmentsFilter,
            IList <string> excludedAttachmentTypes)
        {
            m_AttachmentsFilter = attachmentsFilter;

            // Create array of the same size
            m_ExcludedAttachmentTypes = new List <string>();

            for (int i = 0; i < excludedAttachmentTypes.Count; i++)
            {
                // Store all values as upper-case
                m_ExcludedAttachmentTypes.Add(excludedAttachmentTypes[i].ToUpper());
            }
        }