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
- SmiEventStream.cs
- TypedReference.cs
- CheckBoxFlatAdapter.cs
- DataServiceClientException.cs
- TimeSpanConverter.cs
- DocobjHost.cs
- Globals.cs
- PenLineCapValidation.cs
- WindowsTooltip.cs
- DocumentOrderComparer.cs
- NavigationProperty.cs
- CancelEventArgs.cs
- basecomparevalidator.cs
- XmlText.cs
- FileDataSourceCache.cs
- RequestSecurityToken.cs
- CriticalFinalizerObject.cs
- TabletCollection.cs
- SspiHelper.cs
- QueryInterceptorAttribute.cs
- PageWrapper.cs
- PasswordBoxAutomationPeer.cs
- Opcode.cs
- UnsafeMethods.cs
- XPathCompiler.cs
- ListBoxChrome.cs
- FunctionImportMapping.cs
- HtmlInputPassword.cs
- RNGCryptoServiceProvider.cs
- DocumentGridPage.cs
- CollectionConverter.cs
- XmlElementList.cs
- WebColorConverter.cs
- __FastResourceComparer.cs
- UInt16Converter.cs
- EntityTypeEmitter.cs
- SafeFileHandle.cs
- TraceUtility.cs
- XmlCharType.cs
- DiscoveryDocument.cs
- ContractsBCL.cs
- SafeBitVector32.cs
- HtmlInputRadioButton.cs
- OptimizedTemplateContentHelper.cs
- ApplicationServiceHelper.cs
- URLString.cs
- TreeNodeSelectionProcessor.cs
- WindowHideOrCloseTracker.cs
- GroupStyle.cs
- RangeValidator.cs
- KeyValuePairs.cs
- WebConfigurationHost.cs
- TcpHostedTransportConfiguration.cs
- OpenTypeLayoutCache.cs
- EventProvider.cs
- HttpListenerPrefixCollection.cs
- MetadataItem.cs
- TableLayoutStyleCollection.cs
- ResizeGrip.cs
- RandomNumberGenerator.cs
- RepeatButton.cs
- _LoggingObject.cs
- Matrix3D.cs
- CanExecuteRoutedEventArgs.cs
- PathGeometry.cs
- TagMapInfo.cs
- SmiEventSink.cs
- ServicesExceptionNotHandledEventArgs.cs
- SizeChangedInfo.cs
- UshortList2.cs
- SmiContext.cs
- ChannelServices.cs
- InkCanvas.cs
- HttpProcessUtility.cs
- SqlWebEventProvider.cs
- CountdownEvent.cs
- StreamGeometry.cs
- NamespaceMapping.cs
- TextParagraphCache.cs
- VerticalAlignConverter.cs
- WebPartVerb.cs
- DesignerOptionService.cs
- AccessibleObject.cs
- AccessDataSourceView.cs
- WebPartConnectionsConnectVerb.cs
- UInt16Storage.cs
- x509store.cs
- HwndSource.cs
- ConfigurationLockCollection.cs
- ILGenerator.cs
- tibetanshape.cs
- GridViewDeletedEventArgs.cs
- CacheMemory.cs
- Matrix.cs
- HttpModulesSection.cs
- recordstate.cs
- UnicastIPAddressInformationCollection.cs
- TextBoxLine.cs
- AuthenticationServiceManager.cs
- NavigationWindow.cs