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
- XmlObjectSerializerWriteContext.cs
- AttributeTableBuilder.cs
- BuildProvider.cs
- LinearGradientBrush.cs
- WebPartConnectionsConnectVerb.cs
- BamlReader.cs
- EnumDataContract.cs
- PublishLicense.cs
- SoapParser.cs
- DesignSurfaceEvent.cs
- MaskedTextBoxTextEditorDropDown.cs
- RecognizerStateChangedEventArgs.cs
- SpotLight.cs
- ColumnResult.cs
- WmlControlAdapter.cs
- HWStack.cs
- CompositeFontInfo.cs
- WebHeaderCollection.cs
- HttpResponseHeader.cs
- Point3DAnimationUsingKeyFrames.cs
- FixedTextSelectionProcessor.cs
- PropertyTab.cs
- TextEditorSelection.cs
- LicenseContext.cs
- SqlException.cs
- PartialList.cs
- XmlUtil.cs
- StrongName.cs
- ProcessHost.cs
- IdentitySection.cs
- ValidationErrorInfo.cs
- XsltException.cs
- DateTimeValueSerializerContext.cs
- XmlEntity.cs
- OptimisticConcurrencyException.cs
- ResourceDescriptionAttribute.cs
- EntityException.cs
- HttpsTransportElement.cs
- XdrBuilder.cs
- DesignTimeVisibleAttribute.cs
- TransactionManager.cs
- Win32.cs
- IOException.cs
- PrintingPermissionAttribute.cs
- Utils.cs
- AutomationIdentifierGuids.cs
- WinInetCache.cs
- MatrixTransform.cs
- FacetValues.cs
- StateBag.cs
- CompilerState.cs
- BamlVersionHeader.cs
- OleDbDataAdapter.cs
- ScriptControlManager.cs
- ValueTypeFixupInfo.cs
- NotifyParentPropertyAttribute.cs
- AttachmentCollection.cs
- EditingCommands.cs
- CodeLabeledStatement.cs
- DrawingGroupDrawingContext.cs
- XmlQueryContext.cs
- XmlSchemaValidationException.cs
- LogStream.cs
- SchemaMapping.cs
- XamlToRtfWriter.cs
- PackWebRequestFactory.cs
- MenuRenderer.cs
- ParameterElement.cs
- Deflater.cs
- InstancePersistenceCommandException.cs
- ClientApiGenerator.cs
- OneOfTypeConst.cs
- FileDetails.cs
- VariableElement.cs
- CopyOnWriteList.cs
- FragmentQuery.cs
- LinkLabelLinkClickedEvent.cs
- EventPropertyMap.cs
- XamlGridLengthSerializer.cs
- TemplateField.cs
- ViewKeyConstraint.cs
- SchemaHelper.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- CodeThrowExceptionStatement.cs
- PasswordRecovery.cs
- BitmapVisualManager.cs
- VisualProxy.cs
- WsdlExporter.cs
- AssertUtility.cs
- SrgsNameValueTag.cs
- ResXResourceWriter.cs
- InputMethodStateTypeInfo.cs
- ConfigsHelper.cs
- DesignerEventService.cs
- BigInt.cs
- InternalBufferOverflowException.cs
- CodeTypeDeclarationCollection.cs
- ResourceDescriptionAttribute.cs
- QueryIntervalOp.cs
- ThumbButtonInfo.cs