Exemplo n.º 1
0
 // Token: 0x06001BA1 RID: 7073 RVA: 0x000D4D38 File Offset: 0x000D2F38
 public void SetProperties(PropertyPrecedence propertyPrecedence, Property[] properties, int propertyCount)
 {
     for (int i = 0; i < propertyCount; i++)
     {
         this.SetProperty(propertyPrecedence, properties[i].Id, properties[i].Value);
     }
 }
Exemplo n.º 2
0
 // Token: 0x06001BA0 RID: 7072 RVA: 0x000D4CDC File Offset: 0x000D2EDC
 public void SetProperty(PropertyPrecedence propertyPrecedence, PropertyId propertyId, PropertyValue value)
 {
     if (value.IsString)
     {
         this.converter.GetStringValue(value).AddRef();
     }
     else if (value.IsMultiValue)
     {
         this.converter.GetMultiValue(value).AddRef();
     }
     this.converter.ContainerStyleBuildHelper.SetProperty((int)propertyPrecedence, propertyId, value);
 }
Exemplo n.º 3
0
        // Token: 0x06001BA7 RID: 7079 RVA: 0x000D4E5C File Offset: 0x000D305C
        public void SetMultiValueProperty(PropertyPrecedence propertyPrecedence, PropertyId propertyId, out MultiValueBuilder multiValueBuilder)
        {
            MultiValue multiValue = this.converter.RegisterMultiValue(false, out multiValueBuilder);

            this.converter.ContainerStyleBuildHelper.SetProperty((int)propertyPrecedence, propertyId, multiValue.PropertyValue);
        }
Exemplo n.º 4
0
 // Token: 0x06001BA6 RID: 7078 RVA: 0x000D4E39 File Offset: 0x000D3039
 public void SetMultiValueProperty(PropertyPrecedence propertyPrecedence, PropertyId propertyId, MultiValue value)
 {
     value.AddRef();
     this.converter.ContainerStyleBuildHelper.SetProperty((int)propertyPrecedence, propertyId, value.PropertyValue);
 }
Exemplo n.º 5
0
        // Token: 0x06001BA5 RID: 7077 RVA: 0x000D4DFC File Offset: 0x000D2FFC
        public void SetStringProperty(PropertyPrecedence propertyPrecedence, PropertyId propertyId, char[] buffer, int offset, int count)
        {
            StringValue stringValue = this.converter.RegisterStringValue(false, new BufferString(buffer, offset, count));

            this.converter.ContainerStyleBuildHelper.SetProperty((int)propertyPrecedence, propertyId, stringValue.PropertyValue);
        }
Exemplo n.º 6
0
        // Token: 0x06001BA4 RID: 7076 RVA: 0x000D4DC8 File Offset: 0x000D2FC8
        public void SetStringProperty(PropertyPrecedence propertyPrecedence, PropertyId propertyId, BufferString value)
        {
            StringValue stringValue = this.converter.RegisterStringValue(false, value);

            this.converter.ContainerStyleBuildHelper.SetProperty((int)propertyPrecedence, propertyId, stringValue.PropertyValue);
        }