Esempio n. 1
0
 /// <summary>
 /// Clears the list of properties
 /// </summary>
 public void ClearProperties()
 {
     foreach (WzImageProperty prop in WzProperties)
     {
         prop.Parent = null;
     }
     WzProperties.Clear();
 }
Esempio n. 2
0
 /// <summary>
 /// Disposes the object
 /// </summary>
 public override void Dispose()
 {
     name = null;
     foreach (WzImageProperty prop in WzProperties)
     {
         prop.Dispose();
     }
     WzProperties.Clear();
 }
Esempio n. 3
0
 /// <summary>
 /// Dispose the object
 /// </summary>
 public override void Dispose()
 {
     Name = null;
     PngProperty.Dispose();
     PngProperty = null;
     WzProperties?.ForEach(x => x.Dispose());
     WzProperties?.Clear();
     WzProperties = null;
 }
Esempio n. 4
0
        /// <summary>
        /// Disposes the object
        /// </summary>
        public override void Dispose()
        {
            Name = null;
            foreach (var prop in WzProperties)
            {
                prop.Dispose();
            }

            WzProperties.Clear();
            WzProperties = null;
        }
Esempio n. 5
0
 public void RemoveProperty(WzImageProperty prop)
 {
     prop.Parent = null;
     WzProperties.Remove(prop);
 }
Esempio n. 6
0
 /// <summary>
 /// Adds a property to the list
 /// </summary>
 /// <param name="prop">The property to add</param>
 public void AddProperty(WzImageProperty prop)
 {
     prop.Parent = this;
     WzProperties.Add(prop);
 }
Esempio n. 7
0
 public virtual void AddProperty(AWzImageProperty pProp)
 {
     pProp.Parent      = this;
     pProp.ParentImage = ParentImage;
     WzProperties.Add(pProp);
 }
Esempio n. 8
0
 public virtual void ClearProperties()
 {
     WzProperties.Clear();
 }
Esempio n. 9
0
 public virtual void RemoveProperty(AWzImageProperty pProp)
 {
     WzProperties.Remove(pProp);
 }