Example #1
0
        public virtual List <ImportTag> CreateTags()
        {
            DataValueType dataValueType = UserConnection.DataValueTypeManager.GetDataValueTypeByValueType(typeof(DateTime));
            string        currentDate   = dataValueType.GetColumnDisplayValue(null, UserConnection.CurrentUser.GetCurrentDateTime());
            string        tagTemplate   = new LocalizableString(UserConnection.Workspace.ResourceStorage, "FileImportTagManager",
                                                                "LocalizableStrings.TagTemplate.Value");

            return(new List <ImportTag> {
                new ImportTag {
                    DisplayValue = string.Format(tagTemplate, currentDate)
                }
            });
        }