Ejemplo n.º 1
0
 internal ResourcesChangeInfo(object key)
 {
     this.oldDictionaries = null;
     this.newDictionaries = null;
     this.key = key;
     this.container = null;
     this.flags = (ResourcesChangeInfo.PrivateFlags)0;
 }
 internal ResourcesChangeInfo(object key)
 {
     this.oldDictionaries = null;
     this.newDictionaries = null;
     this.key             = key;
     this.container       = null;
     this.flags           = (ResourcesChangeInfo.PrivateFlags) 0;
 }
 // Token: 0x06000855 RID: 2133 RVA: 0x0001B0F8 File Offset: 0x000192F8
 private void WritePrivateFlag(ResourcesChangeInfo.PrivateFlags bit, bool value)
 {
     if (value)
     {
         this._flags |= bit;
         return;
     }
     this._flags &= ~bit;
 }
Ejemplo n.º 4
0
 internal ResourcesChangeInfo(List<ResourceDictionary> oldDictionaries, List<ResourceDictionary> newDictionaries, bool isStyleResourcesChange, bool isTemplateResourcesChange, DependencyObject container)
 {
     this.oldDictionaries = oldDictionaries;
     this.newDictionaries = newDictionaries;
     this.key = null;
     this.container = container;
     this.flags = (ResourcesChangeInfo.PrivateFlags)0;
     this.IsStyleResourcesChange = isStyleResourcesChange;
     this.IsTemplateResourcesChange = isTemplateResourcesChange;
 }
 internal ResourcesChangeInfo(List <ResourceDictionary> oldDictionaries, List <ResourceDictionary> newDictionaries, bool isStyleResourcesChange, bool isTemplateResourcesChange, DependencyObject container)
 {
     this.oldDictionaries           = oldDictionaries;
     this.newDictionaries           = newDictionaries;
     this.key                       = null;
     this.container                 = container;
     this.flags                     = (ResourcesChangeInfo.PrivateFlags) 0;
     this.IsStyleResourcesChange    = isStyleResourcesChange;
     this.IsTemplateResourcesChange = isTemplateResourcesChange;
 }
        private void WritePrivateFlag(ResourcesChangeInfo.PrivateFlags bit, bool value)
        {
            if (value)
            {
                ResourcesChangeInfo resourcesChangeInfo = this;
                resourcesChangeInfo.flags = (ResourcesChangeInfo.PrivateFlags)((byte)(resourcesChangeInfo.flags | bit));
                return;
            }
            ResourcesChangeInfo resourcesChangeInfo1 = this;

            resourcesChangeInfo1.flags = (ResourcesChangeInfo.PrivateFlags)((byte)((byte)resourcesChangeInfo1.flags & (byte)(~bit)));
        }
Ejemplo n.º 7
0
 internal ResourcesChangeInfo(ResourceDictionary oldDictionary, ResourceDictionary newDictionary)
 {
     this.oldDictionaries = null;
     if (oldDictionary != null)
     {
         this.oldDictionaries = new List<ResourceDictionary>(1);
         this.oldDictionaries.Add(oldDictionary);
     }
     this.newDictionaries = null;
     if (newDictionary != null)
     {
         this.newDictionaries = new List<ResourceDictionary>(1);
         this.newDictionaries.Add(newDictionary);
     }
     this.key = null;
     this.container = null;
     this.flags = (ResourcesChangeInfo.PrivateFlags)0;
 }
 internal ResourcesChangeInfo(ResourceDictionary oldDictionary, ResourceDictionary newDictionary)
 {
     this.oldDictionaries = null;
     if (oldDictionary != null)
     {
         this.oldDictionaries = new List <ResourceDictionary>(1);
         this.oldDictionaries.Add(oldDictionary);
     }
     this.newDictionaries = null;
     if (newDictionary != null)
     {
         this.newDictionaries = new List <ResourceDictionary>(1);
         this.newDictionaries.Add(newDictionary);
     }
     this.key       = null;
     this.container = null;
     this.flags     = (ResourcesChangeInfo.PrivateFlags) 0;
 }
 private bool ReadPrivateFlag(ResourcesChangeInfo.PrivateFlags bit)
 {
     return((byte)(this.flags & bit) != 0);
 }
 // Token: 0x06000856 RID: 2134 RVA: 0x0001B11C File Offset: 0x0001931C
 private bool ReadPrivateFlag(ResourcesChangeInfo.PrivateFlags bit)
 {
     return((this._flags & bit) > (ResourcesChangeInfo.PrivateFlags) 0);
 }