Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- PolyQuadraticBezierSegment.cs
- SymbolPair.cs
- ImportOptions.cs
- FullTextState.cs
- RowToFieldTransformer.cs
- ResourceCodeDomSerializer.cs
- XmlHierarchyData.cs
- DbInsertCommandTree.cs
- __Filters.cs
- BitmapMetadataBlob.cs
- DataGridViewCell.cs
- GeneralTransformGroup.cs
- ResourceProviderFactory.cs
- PropertyCollection.cs
- SymmetricAlgorithm.cs
- XmlAtomErrorReader.cs
- RIPEMD160Managed.cs
- ScaleTransform3D.cs
- ClientSideQueueItem.cs
- DesignerRegion.cs
- PtsContext.cs
- TemplateApplicationHelper.cs
- SerTrace.cs
- PlatformNotSupportedException.cs
- DetailsViewCommandEventArgs.cs
- RoutedPropertyChangedEventArgs.cs
- RenderDataDrawingContext.cs
- MarkupProperty.cs
- NativeMethods.cs
- GraphicsContext.cs
- ReadWriteObjectLock.cs
- SqlConnectionString.cs
- MergeFailedEvent.cs
- ContractSearchPattern.cs
- RegisteredScript.cs
- DefaultObjectMappingItemCollection.cs
- SmtpNegotiateAuthenticationModule.cs
- PrintPreviewGraphics.cs
- SelfIssuedAuthAsymmetricKey.cs
- HtmlInputButton.cs
- SelectionProcessor.cs
- Ray3DHitTestResult.cs
- WrappedIUnknown.cs
- ParallelEnumerable.cs
- NameTable.cs
- MachineKey.cs
- AnnotationObservableCollection.cs
- SplineKeyFrames.cs
- RectangleGeometry.cs
- EventLevel.cs
- UInt32.cs
- TransactionScopeDesigner.cs
- unitconverter.cs
- RecipientInfo.cs
- DataViewSettingCollection.cs
- WebPartUserCapability.cs
- CodeCompileUnit.cs
- TreeNodeCollection.cs
- PageAsyncTaskManager.cs
- DataPagerFieldCommandEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- tibetanshape.cs
- DrawingContextDrawingContextWalker.cs
- _NegoState.cs
- CngKeyCreationParameters.cs
- NavigationPropertyEmitter.cs
- PointConverter.cs
- InputBindingCollection.cs
- XmlSchemaComplexType.cs
- TableTextElementCollectionInternal.cs
- CopyNodeSetAction.cs
- SqlDataSourceSelectingEventArgs.cs
- TimeManager.cs
- base64Transforms.cs
- ToolStripSeparator.cs
- SiteMapHierarchicalDataSourceView.cs
- ComNativeDescriptor.cs
- BindingNavigator.cs
- SelectionPattern.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- RectAnimation.cs
- COM2PropertyDescriptor.cs
- ManipulationInertiaStartingEventArgs.cs
- JpegBitmapDecoder.cs
- UriTemplateLiteralQueryValue.cs
- DbMetaDataFactory.cs
- SqlNotificationRequest.cs
- DataViewSettingCollection.cs
- SystemIcmpV6Statistics.cs
- ServiceBehaviorElement.cs
- XmlCountingReader.cs
- ToolZone.cs
- CacheMemory.cs
- BaseParser.cs
- RuleDefinitions.cs
- PenContext.cs
- DatatypeImplementation.cs
- mda.cs
- StylusOverProperty.cs
- XamlStackWriter.cs