20 references to Feature
PresentationFramework (20)
MS\Internal\Data\BindingWorker.cs (6)
34Debug.Assert((int)Feature.LastFeatureId <= 32, "UncommonValueTable supports only 32 Ids"); 129internal bool HasValue(Feature id) { return _values.HasValue((int)id); } 130internal object GetValue(Feature id, object defaultValue) { return _values.GetValue((int)id, defaultValue); } 131internal void SetValue(Feature id, object value) { _values.SetValue((int)id, value); } 132internal void SetValue(Feature id, object value, object defaultValue) { if (Object.Equals(value, defaultValue)) _values.ClearValue((int)id); else _values.SetValue((int)id, value); } 133internal void ClearValue(Feature id) { _values.ClearValue((int)id); }
MS\Internal\Data\ClrBindingWorker.cs (14)
111SetValue(Feature.XmlWorker, new XmlBindingWorker(this, path.SVI[0].drillIn == DrillIn.Never)); 216AsyncGetValueRequest pendingGetValueRequest = (AsyncGetValueRequest)GetValue(Feature.PendingGetValueRequest, null); 220ClearValue(Feature.PendingGetValueRequest); 223AsyncSetValueRequest pendingSetValueRequest = (AsyncSetValueRequest)GetValue(Feature.PendingSetValueRequest, null); 227ClearValue(Feature.PendingSetValueRequest); 563XmlBindingWorker XmlWorker { get { return (XmlBindingWorker)GetValue(Feature.XmlWorker, null); } } 638AsyncGetValueRequest pendingGetValueRequest = (AsyncGetValueRequest)GetValue(Feature.PendingGetValueRequest, null); 649SetValue(Feature.PendingGetValueRequest, pendingGetValueRequest); 687AsyncGetValueRequest pendingGetValueRequest = (AsyncGetValueRequest)GetValue(Feature.PendingGetValueRequest, null); 690ClearValue(Feature.PendingGetValueRequest); 722AsyncSetValueRequest pendingSetValueRequest = (AsyncSetValueRequest)GetValue(Feature.PendingSetValueRequest, null); 733SetValue(Feature.PendingSetValueRequest, pendingSetValueRequest); 769AsyncSetValueRequest pendingSetValueRequest = (AsyncSetValueRequest)GetValue(Feature.PendingSetValueRequest, null); 772ClearValue(Feature.PendingSetValueRequest);