Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 1 / validationstate.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit)] internal struct StateUnion { [FieldOffset(0)] public int State; //DFA [FieldOffset(0)] public int AllElementsRequired; //AllContentValidator [FieldOffset(0)] public int CurPosIndex; //NFAContentValidator [FieldOffset(0)] public int NumberOfRunningPos; //RangeContentValidator } internal sealed class ValidationState { public bool IsNill; public bool IsDefault; public bool NeedValidateChildren; // whether need to validate the children of this element public bool CheckRequiredAttribute; //PSVI public bool ValidationSkipped; public int Depth; // The validation state public XmlSchemaContentProcessing ProcessContents; public XmlSchemaValidity Validity; public SchemaElementDecl ElementDecl; // ElementDecl public SchemaElementDecl ElementDeclBeforeXsi; //elementDecl before its changed by that of xsi:type's public string LocalName; public string Namespace; public ConstraintStruct[] Constr; public StateUnion CurrentState; //For content model validation public bool HasMatched; // whether the element has been verified correctly //For NFAs public BitSet[] CurPos = new BitSet[2]; //For all public BitSet AllElementsSet; //For MinMaxNFA public ListRunningPositions; public bool TooComplex; }; } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Explicit)] internal struct StateUnion { [FieldOffset(0)] public int State; //DFA [FieldOffset(0)] public int AllElementsRequired; //AllContentValidator [FieldOffset(0)] public int CurPosIndex; //NFAContentValidator [FieldOffset(0)] public int NumberOfRunningPos; //RangeContentValidator } internal sealed class ValidationState { public bool IsNill; public bool IsDefault; public bool NeedValidateChildren; // whether need to validate the children of this element public bool CheckRequiredAttribute; //PSVI public bool ValidationSkipped; public int Depth; // The validation state public XmlSchemaContentProcessing ProcessContents; public XmlSchemaValidity Validity; public SchemaElementDecl ElementDecl; // ElementDecl public SchemaElementDecl ElementDeclBeforeXsi; //elementDecl before its changed by that of xsi:type's public string LocalName; public string Namespace; public ConstraintStruct[] Constr; public StateUnion CurrentState; //For content model validation public bool HasMatched; // whether the element has been verified correctly //For NFAs public BitSet[] CurPos = new BitSet[2]; //For all public BitSet AllElementsSet; //For MinMaxNFA public ListRunningPositions; public bool TooComplex; }; } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FontInfo.cs
- CommandBindingCollection.cs
- WpfMemberInvoker.cs
- WorkflowOperationBehavior.cs
- ModifierKeysValueSerializer.cs
- SiteMapNodeCollection.cs
- SafeRightsManagementPubHandle.cs
- DocumentPageViewAutomationPeer.cs
- DebugInfo.cs
- TreeChangeInfo.cs
- MatchAttribute.cs
- HttpClientChannel.cs
- ResolvedKeyFrameEntry.cs
- HitTestDrawingContextWalker.cs
- CounterCreationDataCollection.cs
- SliderAutomationPeer.cs
- DisplayNameAttribute.cs
- ActiveXContainer.cs
- TextEffectResolver.cs
- XmlSchemaInfo.cs
- LinkClickEvent.cs
- Rotation3DAnimation.cs
- IndexOutOfRangeException.cs
- EntityKeyElement.cs
- MasterPageParser.cs
- MimeMapping.cs
- ExpandedWrapper.cs
- WindowsSolidBrush.cs
- LogReservationCollection.cs
- CellQuery.cs
- HtmlElement.cs
- PackageDigitalSignatureManager.cs
- IOException.cs
- SrgsOneOf.cs
- _KerberosClient.cs
- ConnectionManagementElementCollection.cs
- FileLogRecordHeader.cs
- PeerContact.cs
- WebPartAuthorizationEventArgs.cs
- BoolExpression.cs
- XPathNodeList.cs
- DynamicResourceExtensionConverter.cs
- XmlReflectionMember.cs
- ReflectionUtil.cs
- PrintPreviewControl.cs
- RelationshipEnd.cs
- ErrorTableItemStyle.cs
- XMLDiffLoader.cs
- Page.cs
- WebUtility.cs
- TypeDescriptor.cs
- MasterPageBuildProvider.cs
- DataGridViewColumn.cs
- CheckBoxList.cs
- CompilerResults.cs
- SqlNodeAnnotations.cs
- DiagnosticsConfigurationHandler.cs
- InputScopeAttribute.cs
- RelationshipConstraintValidator.cs
- SQLRoleProvider.cs
- RawUIStateInputReport.cs
- VisualStates.cs
- PathGeometry.cs
- UserPreferenceChangingEventArgs.cs
- OleDbSchemaGuid.cs
- UInt64Storage.cs
- BindingListCollectionView.cs
- MulticastDelegate.cs
- HostProtectionPermission.cs
- ImageSource.cs
- EntitySqlQueryCacheKey.cs
- DocumentAutomationPeer.cs
- StrokeCollectionDefaultValueFactory.cs
- WsdlBuildProvider.cs
- PartDesigner.cs
- MetadataItem.cs
- FlowDocumentReaderAutomationPeer.cs
- DragSelectionMessageFilter.cs
- ServerProtocol.cs
- BinaryMethodMessage.cs
- AlternateView.cs
- DataGridColumn.cs
- AggregateNode.cs
- FtpRequestCacheValidator.cs
- Baml2006ReaderContext.cs
- CheckPair.cs
- Rights.cs
- SecurityTokenSerializer.cs
- TrackingRecord.cs
- KeySpline.cs
- WebPartConnectionsEventArgs.cs
- WebServiceAttribute.cs
- SchemaTypeEmitter.cs
- PropertyRecord.cs
- ProjectionQueryOptionExpression.cs
- FrameSecurityDescriptor.cs
- Double.cs
- CaseInsensitiveComparer.cs
- TemplateBindingExpression.cs
- ChannelPoolSettingsElement.cs