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
- PassportAuthenticationEventArgs.cs
- DesignerHost.cs
- SmiContextFactory.cs
- listitem.cs
- NavigationWindowAutomationPeer.cs
- TabletCollection.cs
- Win32SafeHandles.cs
- HTTPNotFoundHandler.cs
- AuthenticationServiceManager.cs
- ObjectManager.cs
- ToolStripControlHost.cs
- EntityStoreSchemaGenerator.cs
- SmiRequestExecutor.cs
- NotificationContext.cs
- XNodeValidator.cs
- RelativeSource.cs
- SignedXml.cs
- BaseConfigurationRecord.cs
- TextInfo.cs
- CollectionBuilder.cs
- LateBoundBitmapDecoder.cs
- ThousandthOfEmRealPoints.cs
- RolePrincipal.cs
- ExpiredSecurityTokenException.cs
- MiniConstructorInfo.cs
- PreviewKeyDownEventArgs.cs
- XmlHierarchyData.cs
- Subtree.cs
- InputScopeNameConverter.cs
- ConfigViewGenerator.cs
- KeyValueConfigurationCollection.cs
- BinaryFormatterSinks.cs
- OdbcHandle.cs
- CollectionTypeElement.cs
- IOThreadScheduler.cs
- ProcessModule.cs
- XhtmlMobileTextWriter.cs
- TimelineGroup.cs
- DSACryptoServiceProvider.cs
- NamespaceImport.cs
- FixedSOMImage.cs
- RelationshipConstraintValidator.cs
- ToolStripDropDownButton.cs
- InlineObject.cs
- HashJoinQueryOperatorEnumerator.cs
- TextBreakpoint.cs
- TimeStampChecker.cs
- SpecialNameAttribute.cs
- UniqueIdentifierService.cs
- FileRecordSequence.cs
- StateManagedCollection.cs
- DataChangedEventManager.cs
- XmlEncodedRawTextWriter.cs
- AutomationInteropProvider.cs
- Activator.cs
- TypeDefinition.cs
- JournalEntryStack.cs
- DetailsViewCommandEventArgs.cs
- CodeCompiler.cs
- Stylesheet.cs
- XmlNode.cs
- CodeIterationStatement.cs
- OperationResponse.cs
- OrderByBuilder.cs
- WithParamAction.cs
- SequentialUshortCollection.cs
- COM2ComponentEditor.cs
- XmlSchemaComplexContent.cs
- ButtonChrome.cs
- EffectiveValueEntry.cs
- MSAAWinEventWrap.cs
- FontDriver.cs
- XhtmlConformanceSection.cs
- NotSupportedException.cs
- Point3DAnimationBase.cs
- RepeatBehavior.cs
- LocalTransaction.cs
- DynamicFilterExpression.cs
- TriState.cs
- AspNetHostingPermission.cs
- ClientUrlResolverWrapper.cs
- ConfigurationSchemaErrors.cs
- KeyConverter.cs
- RTLAwareMessageBox.cs
- DataServiceHost.cs
- DataServiceHost.cs
- WsiProfilesElementCollection.cs
- GridViewDeleteEventArgs.cs
- TypeInfo.cs
- PropertySet.cs
- DockPattern.cs
- XmlBindingWorker.cs
- AsymmetricSignatureDeformatter.cs
- EmbeddedMailObjectCollectionEditor.cs
- SqlMetaData.cs
- ExtentKey.cs
- HierarchicalDataBoundControlAdapter.cs
- _Rfc2616CacheValidators.cs
- Array.cs
- WindowProviderWrapper.cs