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
- XmlStringTable.cs
- OpenFileDialog.cs
- XmlEnumAttribute.cs
- ApplicationDirectoryMembershipCondition.cs
- FixedTextBuilder.cs
- ConfigUtil.cs
- FamilyCollection.cs
- CatalogZone.cs
- BaseCodeDomTreeGenerator.cs
- CreateBookmarkScope.cs
- CheckableControlBaseAdapter.cs
- RuntimeConfigurationRecord.cs
- TemplateApplicationHelper.cs
- glyphs.cs
- ThrowHelper.cs
- FreezableCollection.cs
- XmlSchemaInferenceException.cs
- TranslateTransform3D.cs
- MultiSelector.cs
- SecurityToken.cs
- Atom10FormatterFactory.cs
- PageAsyncTaskManager.cs
- WeakKeyDictionary.cs
- DataGridTableCollection.cs
- XmlSchemaAll.cs
- ErrorHandlerModule.cs
- Brush.cs
- ClientSession.cs
- OracleLob.cs
- SqlUdtInfo.cs
- DependencyPropertyDescriptor.cs
- XslException.cs
- OdbcConnectionString.cs
- SqlFactory.cs
- objectquery_tresulttype.cs
- InternalConfigSettingsFactory.cs
- WorkflowFormatterBehavior.cs
- StyleCollection.cs
- StringUtil.cs
- FormViewInsertEventArgs.cs
- DescendantBaseQuery.cs
- XmlDsigSep2000.cs
- ApplicationProxyInternal.cs
- DataRelation.cs
- QueryContinueDragEvent.cs
- MembershipSection.cs
- PathFigureCollectionConverter.cs
- DesignerHost.cs
- DataGridViewAccessibleObject.cs
- securitycriticaldata.cs
- EventPrivateKey.cs
- DefaultObjectMappingItemCollection.cs
- SQLMembershipProvider.cs
- SplayTreeNode.cs
- Frame.cs
- CustomSignedXml.cs
- AuthorizationRuleCollection.cs
- MetadataCache.cs
- XmlEncodedRawTextWriter.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ObjectView.cs
- RegisteredScript.cs
- TileBrush.cs
- TableParaClient.cs
- XsdDuration.cs
- DataBoundControlParameterTarget.cs
- DtdParser.cs
- ObjectCloneHelper.cs
- ThrowHelper.cs
- BrowserCapabilitiesCodeGenerator.cs
- AppSettingsExpressionBuilder.cs
- TrackBar.cs
- DisposableCollectionWrapper.cs
- XamlBrushSerializer.cs
- QueryExpr.cs
- UseAttributeSetsAction.cs
- ComNativeDescriptor.cs
- CacheEntry.cs
- BaseCollection.cs
- HttpSysSettings.cs
- Helpers.cs
- RadioButtonFlatAdapter.cs
- figurelength.cs
- EmptyControlCollection.cs
- CorruptingExceptionCommon.cs
- DataBoundControlAdapter.cs
- BindUriHelper.cs
- DBConcurrencyException.cs
- LowerCaseStringConverter.cs
- Timer.cs
- UnicastIPAddressInformationCollection.cs
- ExpressionEditorAttribute.cs
- DrawingDrawingContext.cs
- Classification.cs
- Events.cs
- FindCriteriaCD1.cs
- NameValueFileSectionHandler.cs
- X509Certificate2.cs
- milrender.cs
- SimpleApplicationHost.cs