Ant Organisation Ltd documentation

ClassOverview Class

Attribute used at the top of a class which is being used for content entry.

For a list of all members of this type, see ClassOverview Members.

System.Object
   Attribute
      ClassOverview

public class ClassOverview : Attribute

Example

[ClassInformation("test")]
             public class TestEntryClass
            	{
            		string name;
            		public TestEntryClass()
            		{
            		}
            
            		[PropertyInformation(typeof(StringConverter), typeof(StringEntryDisplayer))]
            		[PropertyLanguage(PropertyLanguage.English, "Name", "This is the name of the item")]
            		[PropertyLanguage(PropertyLanguage.French, "Nom", "C'est le nom")]
            		[PropertyUserSecurity("Peter", "read", true)]
            		[PropertyUserSecurity("Peter", "read", false)]
            		[PropertyGroupSecurity("Administrator", "read", true)]
            		[PropertyGroupSecurity("Administrator", "read", false)]
            		[PropertyEncryption(EncryptionType.OneWay)]
            		[PropertyReadWrite(ReadWrite.ReadOnly, 1)]
            		[PropertyReadWrite(ReadWrite.WriteOnly, 2)]
            		public string Name
            		{
            			get
            			{
            				return name;
            			}
            			set
            			{
            				name=value;
            			}
            		}
            		[PropertyInformation(typeof(StringConverter), typeof(StringEntryDisplayer), 1)]
            		[PropertyLanguage(PropertyLanguage.English, "Name1", "This is the name of the item")]
            		[PropertyLanguage(PropertyLanguage.French, "Nom", "C'est le nom")]
            		[PropertyUserSecurity("Peter", "read", true)]
            		[PropertyUserSecurity("Peter", "read", false)]
            		[PropertyGroupSecurity("Administrator", "read", true)]
            		[PropertyGroupSecurity("Administrator", "read", false)]
            		[PropertyEncryption(EncryptionType.OneWay)]
            		[PropertyReadWrite(ReadWrite.ReadOnly, 1)]
            		[PropertyReadWrite(ReadWrite.WriteOnly, 2)]
            		public string Name1
            		{
            			get
            			{
            				return name;
            			}
            			set
            			{
            				name=value;
            			}
            		}
            		[PropertyInformation(typeof(StringConverter), typeof(StringEntryDisplayer), 0)]
            		[PropertyLanguage(PropertyLanguage.English, "Name0", "This is the name of the item")]
            		[PropertyLanguage(PropertyLanguage.French, "Nom", "C'est le nom")]
            		[PropertyUserSecurity("Peter", "read", true)]
            		[PropertyUserSecurity("Peter", "read", false)]
            		[PropertyGroupSecurity("Administrator", "read", true)]
            		[PropertyGroupSecurity("Administrator", "read", false)]
            		[PropertyEncryption(EncryptionType.OneWay)]
            		[PropertyReadWrite(ReadWrite.ReadOnly, 1)]
            		[PropertyReadWrite(ReadWrite.WriteOnly, 2)]
            		public string Name0
            		{
            			get
            			{
            				return name;
            			}
            			set
            			{
            				name=value;
            			}
            		}
            	}
            }

Requirements

Namespace: Ant.ContentEntry.ClassInformation

Assembly: Ant.ContentEntry (in Ant.ContentEntry.dll)

See Also

ClassOverview Members | Ant.ContentEntry.ClassInformation Namespace