Esempio n. 1
0
        // Token: 0x060012C9 RID: 4809 RVA: 0x0006594C File Offset: 0x00063B4C
        public bool Remove(string propertyName)
        {
            JProperty jproperty = this.Property(propertyName, StringComparison.Ordinal);

            if (jproperty == null)
            {
                return(false);
            }
            jproperty.Remove();
            return(true);
        }
Esempio n. 2
0
        public bool Remove(string propertyName)
        {
            JProperty jProperty = Property(propertyName);

            if (jProperty == null)
            {
                return(false);
            }
            jProperty.Remove();
            return(true);
        }
Esempio n. 3
0
		private void RemoveProperty(PatchRequest patchCmd, string propName, JProperty property)
        {
			EnsurePreviousValueMatchCurrentValue(patchCmd, property);
            EnsurePreviousValueMatchCurrentValue(patchCmd, property);
            if (property != null)
                property.Remove();
        }