Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- State.cs
- ColorConverter.cs
- CategoryAttribute.cs
- XmlTypeAttribute.cs
- PageWrapper.cs
- ProxyWebPartManager.cs
- PasswordValidationException.cs
- SettingsSection.cs
- datacache.cs
- ThreadStaticAttribute.cs
- ColorConverter.cs
- StartUpEventArgs.cs
- AsymmetricSignatureFormatter.cs
- ToolStripDropDownClosingEventArgs.cs
- ArgumentException.cs
- CellTreeNode.cs
- Util.cs
- DispatchWrapper.cs
- MembershipPasswordException.cs
- OutputCacheProfile.cs
- tibetanshape.cs
- ObjectConverter.cs
- BulletedListEventArgs.cs
- WebServicesInteroperability.cs
- TextDpi.cs
- MetricEntry.cs
- SymbolMethod.cs
- TextBreakpoint.cs
- TableLayoutPanelDesigner.cs
- BitmapPalettes.cs
- ApplicationContext.cs
- MatrixUtil.cs
- CollectionBuilder.cs
- WindowsGraphics.cs
- TextBoxBase.cs
- StandardCommands.cs
- EncoderExceptionFallback.cs
- SettingsBase.cs
- GridViewRow.cs
- RijndaelCryptoServiceProvider.cs
- CrossAppDomainChannel.cs
- RefreshEventArgs.cs
- InkPresenterAutomationPeer.cs
- EventProperty.cs
- SqlBulkCopyColumnMappingCollection.cs
- LookupBindingPropertiesAttribute.cs
- BoolExpr.cs
- RoleManagerModule.cs
- LassoHelper.cs
- EntityCollection.cs
- SocketException.cs
- PrintDialog.cs
- RuleCache.cs
- ToolboxBitmapAttribute.cs
- TableLayoutPanel.cs
- Size3DValueSerializer.cs
- ProviderSettings.cs
- SafeHandles.cs
- MD5.cs
- ListViewHitTestInfo.cs
- future.cs
- DefaultTextStore.cs
- DocumentPage.cs
- NativeMethods.cs
- CharKeyFrameCollection.cs
- XmlRawWriter.cs
- LocalBuilder.cs
- StaticResourceExtension.cs
- _Rfc2616CacheValidators.cs
- CompressionTransform.cs
- RuntimeEnvironment.cs
- CodeSnippetTypeMember.cs
- MetafileHeaderWmf.cs
- RegexWorker.cs
- ListViewItem.cs
- StackBuilderSink.cs
- ComPlusServiceLoader.cs
- TranslateTransform3D.cs
- SqlXmlStorage.cs
- TiffBitmapEncoder.cs
- PackageDigitalSignature.cs
- CodeNamespaceImportCollection.cs
- MarshalByRefObject.cs
- HttpApplicationStateBase.cs
- EventLogPermissionEntryCollection.cs
- SqlReorderer.cs
- Pts.cs
- EventLog.cs
- CorrelationManager.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SiteMapPath.cs
- DataGridViewColumnCollectionEditor.cs
- XmlSchemaSimpleType.cs
- MasterPageBuildProvider.cs
- RuntimeCompatibilityAttribute.cs
- RectAnimationBase.cs
- GeneralTransformCollection.cs
- DataSvcMapFileSerializer.cs
- CachedBitmap.cs
- LinkClickEvent.cs