SenseNet.Portal.Site.SetProperty C# (CSharp) Method

SetProperty() public method

public SetProperty ( string name, object value ) : void
name string
value object
return void
		public override void SetProperty(string name, object value)
		{
			switch (name)
			{
				case "Description":
					this.Description = (string)value;
					break;
				case "PendingUserLang":
					this.PendingUserLang = (string)value;
					break;
				case "Language":
					this.Language = (string)value;
					break;
                case "EnableClientBasedCulture":
                    this.EnableClientBasedCulture = (bool)value;
                    break;
				case "UrlList":
					this.UrlList = (Dictionary<string, string>)value;
					break;
				case "StartPage":
					this.StartPage = (Page)value;
					break;
				case "LoginPage":
					this.LoginPage = (Page)value;
					break;
                case "SiteSkin":
                    this.SiteSkin = (Node)value;
                    break;
                case DENYCROSSSITEACCESSPROPERTY:
                    this.DenyCrossSiteAccess = (bool)value;
                    break;
                //case "StatisticalLog":
                //    this.StatisticalLog = (bool)value;
                //    break;
                //case "AuditLog":
                //    this.AuditLog = (bool)value;
                //    break;
				default:
					base.SetProperty(name, value);
					break;
			}
		}