Ejemplo n.º 1
0
        protected void EnsureParentOnPropertySet(IConfigurationObject oldValueObj, IConfigurationObject newValueObj)
        {
            if ((object)oldValueObj != null)
            {
                oldValueObj.Surround = null;
                oldValueObj.Parent = null;
            }

            if ((object)newValueObj != null)
            {
                newValueObj.Surround = null;
                newValueObj.Parent = this;
            }
        }
Ejemplo n.º 2
0
 public void Load(IConfigurationObject value)
 {
     throw new NotImplementedException();
 }
Ejemplo n.º 3
0
		/// <summary>
		/// </summary>
		public void Save(IConfigurationObject value)
		{
			value.SetProperty("ConvertTabsToSpace", this.ConvertTabsToSpace, false);
			value.SetProperty("TabSize", this.TabSize, 4);
		}
Ejemplo n.º 4
0
		/// <summary>
		/// </summary>
		public void Load(IConfigurationObject value)
		{
			this.ConvertTabsToSpace = (Boolean)value.GetProperty("ConvertTabsToSpace", false);
			this.TabSize = (Int32)value.GetProperty("TabSize", 4);
		}