Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / validationstate.cs / 2 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageSetupDialog.cs
- DataControlPagerLinkButton.cs
- ArrayConverter.cs
- SchemaObjectWriter.cs
- CompileXomlTask.cs
- CaseInsensitiveHashCodeProvider.cs
- EdmRelationshipRoleAttribute.cs
- ValidationRuleCollection.cs
- CodeCommentStatementCollection.cs
- AssertSection.cs
- DBDataPermission.cs
- TextMarkerSource.cs
- SymbolDocumentGenerator.cs
- DrawingImage.cs
- PriorityQueue.cs
- XmlDataContract.cs
- Decimal.cs
- HotSpot.cs
- MimePart.cs
- RewritingSimplifier.cs
- EntityWrapper.cs
- BaseDataList.cs
- PropertyAccessVisitor.cs
- PingOptions.cs
- LinkLabel.cs
- WebPartAddingEventArgs.cs
- ToolStripSystemRenderer.cs
- XamlClipboardData.cs
- DBCommand.cs
- HashMembershipCondition.cs
- Message.cs
- ConstructorBuilder.cs
- TreePrinter.cs
- BuildManagerHost.cs
- WSHttpBinding.cs
- RectAnimationBase.cs
- WebPartDisplayModeEventArgs.cs
- HttpContext.cs
- Setter.cs
- CodeLabeledStatement.cs
- DbConnectionPoolGroupProviderInfo.cs
- MobileControlDesigner.cs
- PassportIdentity.cs
- __Filters.cs
- ServiceNameElementCollection.cs
- HttpConfigurationContext.cs
- ClientBuildManagerCallback.cs
- DataGridViewAccessibleObject.cs
- RegexCompilationInfo.cs
- DataTableReaderListener.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- ConfigurationSection.cs
- MenuBase.cs
- UnaryOperationBinder.cs
- TaskDesigner.cs
- DataServiceRequest.cs
- ComponentCommands.cs
- DesignerForm.cs
- XmlMapping.cs
- OperatingSystem.cs
- DataTableNewRowEvent.cs
- SpecularMaterial.cs
- NetworkInformationException.cs
- DataStreamFromComStream.cs
- TempFiles.cs
- KernelTypeValidation.cs
- FactoryRecord.cs
- JapaneseCalendar.cs
- MultiTargetingUtil.cs
- ADMembershipUser.cs
- ProgressChangedEventArgs.cs
- DirectoryRedirect.cs
- MoveSizeWinEventHandler.cs
- PageThemeCodeDomTreeGenerator.cs
- ClientSettingsStore.cs
- RawStylusInputReport.cs
- Rect.cs
- Process.cs
- Primitive.cs
- basevalidator.cs
- UpdateTracker.cs
- ObjectPropertyMapping.cs
- UserPreferenceChangedEventArgs.cs
- TypographyProperties.cs
- _HeaderInfoTable.cs
- DbgUtil.cs
- ServiceDescriptionReflector.cs
- MembershipUser.cs
- ListItemParagraph.cs
- NameSpaceExtractor.cs
- StructuralCache.cs
- WindowShowOrOpenTracker.cs
- DataMemberAttribute.cs
- XmlSchemaComplexType.cs
- ThousandthOfEmRealDoubles.cs
- DataGridTableCollection.cs
- ClientScriptManagerWrapper.cs
- OdbcFactory.cs
- SQLMembershipProvider.cs
- HwndHostAutomationPeer.cs