public bool remove(ITezValueDescriptor descriptor) { if (this.attributes.binaryFind(descriptor.ID, out int index)) { this.attributes.removeAt(index); return(true); } return(false); }
public T getOrCreate <T>(ITezValueDescriptor descriptor) where T : ITezLitProperty, new() { if (this.attributes.binaryFind(descriptor.ID, out int index)) { return((T)m_Attributes[index]); } else { var property = new T(); property.descriptor = descriptor; this.attributes.insert(index, property); return(property); } }
public virtual void close() { this.target = null; }
public int CompareTo(ITezValueDescriptor other) { return(this.ID.CompareTo(other.ID)); }
public bool Equals(ITezValueDescriptor other) { return(this.ID == other.ID); }
public TezNotificationValue(ITezValueDescriptor name) : base(name) { }
public TezValueWithBasic(ITezValueDescriptor name) : base(name) { }
public TezValueWithMinMax(ITezValueDescriptor name) : base(name) { }
public TezValueGetterSetter(ITezValueDescriptor name) : base(name) { }
public TezPV_Type(ITezValueDescriptor name) : base(name) { }
public TezValueWrapper(ITezValueDescriptor name) { this.descriptor = name; }
public T get <T>(ITezValueDescriptor descriptor) where T : ITezLitProperty { return((T)this.attributes.binaryFind(descriptor.ID)); }
protected TezLitPropertyFloat(ITezValueDescriptor name) : base(name) { }
public T get <T>(ITezValueDescriptor descriptor) where T : ITezProperty { return((T)this.properties.binaryFind(descriptor.ID)); }
protected TezProperty(ITezValueDescriptor name, TezValueModifierBaseCache <T> cache) : base(name) { m_ModifierCache = cache; }
protected TezMRProperty(ITezValueDescriptor name, TezValueModifierBaseCache <T> cache) : base(name, cache) { }