Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Markup / Baml2006 / Baml2006KeyRecord.cs / 1586720 / Baml2006KeyRecord.cs
using System; using System.Collections.Generic; using System.Text; using System.Xaml; using System.Windows.Markup; using System.Diagnostics; namespace System.Windows.Baml2006 { [DebuggerDisplay("{DebuggerString}")] internal class KeyRecord { public KeyRecord(bool shared, bool sharedSet, int valuePosition, Type keyType) : this(shared, sharedSet, valuePosition) { _data = keyType; } public KeyRecord(bool shared, bool sharedSet, int valuePosition, string keyString) : this(shared, sharedSet, valuePosition) { _data = keyString; } public KeyRecord(bool shared, bool sharedSet, int valuePosition, XamlSchemaContext context) : this(shared, sharedSet, valuePosition) { _data = new XamlNodeList(context, 8); } private KeyRecord(bool shared, bool sharedSet, int valuePosition) { _shared = shared; _sharedSet = sharedSet; ValuePosition = valuePosition; } public bool Shared { get { return _shared; } } public bool SharedSet { get { return _sharedSet; } } public long ValuePosition { get; set; } public int ValueSize { get; set; } public byte Flags { get; set; } // This can either be a StaticResource or an OptimizedStaticResource // Since they don't share anything in common, we've made this a list of objects. public List
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextBlock.cs
- FlowLayoutSettings.cs
- DocumentPageTextView.cs
- DependencyObjectProvider.cs
- SqlSelectStatement.cs
- XmlAnyElementAttribute.cs
- InternalMappingException.cs
- FileAuthorizationModule.cs
- UntrustedRecipientException.cs
- Environment.cs
- CLSCompliantAttribute.cs
- CompiledQueryCacheKey.cs
- ImageBrush.cs
- DataControlImageButton.cs
- GeometryConverter.cs
- TextParagraphProperties.cs
- httpapplicationstate.cs
- XamlSerializerUtil.cs
- HandleRef.cs
- MemberRelationshipService.cs
- Win32SafeHandles.cs
- XmlNamespaceDeclarationsAttribute.cs
- OciEnlistContext.cs
- DataGridItem.cs
- TimersDescriptionAttribute.cs
- nulltextcontainer.cs
- ImageInfo.cs
- DataTable.cs
- DbProviderFactories.cs
- RenderCapability.cs
- Schema.cs
- Authorization.cs
- InvalidFilterCriteriaException.cs
- Partitioner.cs
- Listbox.cs
- ModuleConfigurationInfo.cs
- TypeConverterHelper.cs
- ManualResetEvent.cs
- XmlElementAttribute.cs
- ImplicitInputBrush.cs
- KnownTypesHelper.cs
- _AcceptOverlappedAsyncResult.cs
- KeyNotFoundException.cs
- TrailingSpaceComparer.cs
- WindowsGraphics.cs
- PersonalizationState.cs
- MessageLogTraceRecord.cs
- RepeaterItemCollection.cs
- COM2Properties.cs
- CompositeTypefaceMetrics.cs
- Tokenizer.cs
- BindingEditor.xaml.cs
- KnownBoxes.cs
- CodeDelegateCreateExpression.cs
- BatchStream.cs
- WindowVisualStateTracker.cs
- FixUpCollection.cs
- RotateTransform.cs
- KeyEventArgs.cs
- VirtualizingPanel.cs
- WriteableBitmap.cs
- StandardCommandToolStripMenuItem.cs
- ManipulationDevice.cs
- ContentElement.cs
- ExceptionUtil.cs
- MessageBox.cs
- ShaperBuffers.cs
- dsa.cs
- FrameworkPropertyMetadata.cs
- HttpListenerElement.cs
- reliableinputsessionchannel.cs
- ThreadPool.cs
- ApplicationActivator.cs
- DragStartedEventArgs.cs
- Renderer.cs
- ContentType.cs
- SystemFonts.cs
- HttpApplicationFactory.cs
- ImplicitInputBrush.cs
- SqlConnection.cs
- StrokeCollection.cs
- UIElement3D.cs
- MobileFormsAuthentication.cs
- DataGridState.cs
- SemaphoreFullException.cs
- Positioning.cs
- ApplicationDirectory.cs
- Size.cs
- SmiEventSink_Default.cs
- XmlSerializerSection.cs
- XmlAtomicValue.cs
- AutomationPropertyInfo.cs
- PngBitmapEncoder.cs
- BCryptSafeHandles.cs
- MimeTypePropertyAttribute.cs
- EntityConnection.cs
- CompilerGeneratedAttribute.cs
- PrinterResolution.cs
- FrameworkReadOnlyPropertyMetadata.cs
- HebrewCalendar.cs