Code:
/ 4.0 / 4.0 / untmp / 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
- SvcFileManager.cs
- KerberosTicketHashIdentifierClause.cs
- StrongNamePublicKeyBlob.cs
- MarginsConverter.cs
- XmlIlVisitor.cs
- DataGridRowEventArgs.cs
- IsolatedStorage.cs
- ButtonChrome.cs
- XmlCodeExporter.cs
- EndpointNotFoundException.cs
- DbParameterHelper.cs
- ProxySimple.cs
- MenuItemCollectionEditorDialog.cs
- PolygonHotSpot.cs
- CommandConverter.cs
- OdbcConnectionOpen.cs
- NetTcpSectionData.cs
- ModelItemKeyValuePair.cs
- DataMember.cs
- ListBoxChrome.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SmtpFailedRecipientsException.cs
- ExtentKey.cs
- BindingElement.cs
- NullableIntAverageAggregationOperator.cs
- PreProcessInputEventArgs.cs
- WebPartMovingEventArgs.cs
- Panel.cs
- TriggerActionCollection.cs
- Stylus.cs
- ListViewSelectEventArgs.cs
- HideDisabledControlAdapter.cs
- EventLogStatus.cs
- Matrix3DStack.cs
- Assembly.cs
- XamlStyleSerializer.cs
- panel.cs
- ProfileSection.cs
- UrlPath.cs
- DataGridItem.cs
- AssemblyUtil.cs
- SqlFlattener.cs
- InfoCardRequestException.cs
- ArithmeticLiteral.cs
- AccessViolationException.cs
- HttpFileCollection.cs
- TreeViewHitTestInfo.cs
- FlowDocumentView.cs
- XComponentModel.cs
- XmlSchemaCollection.cs
- StrongNameUtility.cs
- HttpModuleCollection.cs
- Expression.cs
- ColumnReorderedEventArgs.cs
- COM2ColorConverter.cs
- SelectionRangeConverter.cs
- SmtpSection.cs
- ConnectivityStatus.cs
- TreeViewHitTestInfo.cs
- UnsafeNativeMethods.cs
- XpsImage.cs
- NotifyInputEventArgs.cs
- linebase.cs
- PathSegment.cs
- TriggerBase.cs
- RpcAsyncResult.cs
- ButtonPopupAdapter.cs
- DoubleLinkList.cs
- CodeMethodInvokeExpression.cs
- SubMenuStyle.cs
- XmlExtensionFunction.cs
- ComponentGlyph.cs
- GridErrorDlg.cs
- Effect.cs
- Shape.cs
- OracleMonthSpan.cs
- ConnectionsZoneAutoFormat.cs
- WindowsEditBoxRange.cs
- ConfigurationElementCollection.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- Renderer.cs
- SqlDataReaderSmi.cs
- sitestring.cs
- SerialReceived.cs
- ViewValidator.cs
- XmlAnyElementAttribute.cs
- KeyInterop.cs
- Point.cs
- TypedReference.cs
- OracleTransaction.cs
- XmlDataSource.cs
- ImageDesigner.cs
- ResXDataNode.cs
- DetailsViewInsertEventArgs.cs
- ToolBarTray.cs
- WebHeaderCollection.cs
- TcpActivation.cs
- SiteOfOriginContainer.cs
- TextDocumentView.cs
- MenuEventArgs.cs