Example #1
0
        public IList <IDescriptiveField> GetDescriptiveFields()
        {
            var result = new List <IDescriptiveField>();

            var approvedField = new DescriptiveField
            {
                Label          = "Approved",
                Level          = FieldLevel.TermLevel,
                Mandatory      = false,
                Multiple       = true,
                PickListValues = new List <string> {
                    "Approved", "Not Approved"
                },
                Type = FieldType.String
            };

            result.Add(approvedField);
            return(result);
        }
Example #2
0
        public IList <IDescriptiveField> GetDescriptiveFields()
        {
            var result = new List <IDescriptiveField>();

            var definitionField = new DescriptiveField
            {
                Label     = "Definition",
                Level     = FieldLevel.EntryLevel,
                Mandatory = true,
                Multiple  = true,
                Type      = FieldType.String
            };

            result.Add(definitionField);

            var domainField = new DescriptiveField
            {
                Label     = "Domain",
                Level     = FieldLevel.EntryLevel,
                Mandatory = true,
                Multiple  = true,
                Type      = FieldType.String
            };

            result.Add(domainField);

            var subdomainField = new DescriptiveField
            {
                Label     = "Subdomain",
                Level     = FieldLevel.LanguageLevel,
                Mandatory = true,
                Multiple  = true,
                Type      = FieldType.String
            };

            result.Add(subdomainField);

            return(result);
        }
        public IList<IDescriptiveField> GetDescriptiveFields()
        {
            var result = new List<IDescriptiveField>();

            var approvedField = new DescriptiveField
            {
                Label = "Approved",
                Level = FieldLevel.TermLevel,
                Mandatory = true,
                Multiple = true,
                PickListValues = new List<string> {"Approved", "Not Approved"},
                Type = FieldType.String
            };
            result.Add(approvedField);

            return result;
        }