예제 #1
0
        private void InitializeFields()
        {
            importHeaders = new Dictionary <int, string> ();
            // Insert an empty mapping for properties that will not be mapped
            importHeaders.Add(-1, string.Empty);
            foreach (string header in importer.GetDataHeaders(file))
            {
                importHeaders.Add(importHeaders.Count - 1, header);
            }

            foreach (ImportProperty prop in ExchangeHelper.GetExchangeInfo <ImportProperty> (typeof(T)))
            {
                AppendProperty(prop);
            }
        }