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
- PointLightBase.cs
- SQLBytes.cs
- Accessible.cs
- Pts.cs
- ClientFormsAuthenticationMembershipProvider.cs
- __Filters.cs
- ResolvedKeyFrameEntry.cs
- ScrollPatternIdentifiers.cs
- XmlTypeAttribute.cs
- CacheRequest.cs
- SiteOfOriginContainer.cs
- SoapTypeAttribute.cs
- TypeUsageBuilder.cs
- XmlILAnnotation.cs
- RIPEMD160Managed.cs
- FixedPageAutomationPeer.cs
- BooleanAnimationBase.cs
- TargetConverter.cs
- AccessKeyManager.cs
- SRGSCompiler.cs
- IsolatedStoragePermission.cs
- XmlSerializerAssemblyAttribute.cs
- PolyQuadraticBezierSegment.cs
- RemotingSurrogateSelector.cs
- AllowedAudienceUriElement.cs
- WSHttpBinding.cs
- Error.cs
- ConnectionStringSettingsCollection.cs
- WebSysDefaultValueAttribute.cs
- FileLevelControlBuilderAttribute.cs
- ToolStripManager.cs
- XPathDocument.cs
- CacheRequest.cs
- XsltInput.cs
- Dispatcher.cs
- DataGridViewCellCollection.cs
- UrlMapping.cs
- NavigateEvent.cs
- CodeTryCatchFinallyStatement.cs
- CompilerError.cs
- PropertyDescriptor.cs
- ExpressionBindingCollection.cs
- ParentControlDesigner.cs
- Condition.cs
- ADMembershipUser.cs
- EntityClassGenerator.cs
- StoragePropertyMapping.cs
- DataSetFieldSchema.cs
- DataServicePagingProviderWrapper.cs
- SafeEventLogWriteHandle.cs
- BitmapMetadata.cs
- Odbc32.cs
- ThreadStateException.cs
- BufferAllocator.cs
- ArrayElementGridEntry.cs
- AuthStoreRoleProvider.cs
- StylusCaptureWithinProperty.cs
- entityreference_tresulttype.cs
- LineServicesRun.cs
- UniqueSet.cs
- XsltSettings.cs
- ObjectViewQueryResultData.cs
- DataObjectFieldAttribute.cs
- ThreadStaticAttribute.cs
- DetailsView.cs
- SelectionEditor.cs
- UnsafeNativeMethods.cs
- UnsignedPublishLicense.cs
- _NativeSSPI.cs
- DataSourceView.cs
- TypeReference.cs
- AutomationPattern.cs
- Delay.cs
- ProfilePropertySettings.cs
- XamlStyleSerializer.cs
- UpDownBaseDesigner.cs
- PackWebRequest.cs
- XmlEntityReference.cs
- ClientTarget.cs
- SchemaElement.cs
- ModifierKeysValueSerializer.cs
- Compilation.cs
- ScrollableControl.cs
- Clause.cs
- Dynamic.cs
- Timer.cs
- CollectionEditor.cs
- XmlSchemaSubstitutionGroup.cs
- SourceChangedEventArgs.cs
- FormattedText.cs
- sitestring.cs
- ConstructorBuilder.cs
- DynamicFilterExpression.cs
- TextTrailingCharacterEllipsis.cs
- Repeater.cs
- XmlCharacterData.cs
- unsafenativemethodstextservices.cs
- DisplayInformation.cs
- ToolStripPanel.cs
- CollectionConverter.cs