Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RijndaelManaged.cs
- TransformerInfoCollection.cs
- EventItfInfo.cs
- CalendarAutomationPeer.cs
- FontClient.cs
- Bits.cs
- BitmapEffect.cs
- TraceSwitch.cs
- CodeObject.cs
- RootBuilder.cs
- SchemaElementDecl.cs
- IdlingCommunicationPool.cs
- ListViewEditEventArgs.cs
- MetadataItemEmitter.cs
- ListParaClient.cs
- ELinqQueryState.cs
- ProcessHostConfigUtils.cs
- WebServiceBindingAttribute.cs
- QilInvoke.cs
- FigureHelper.cs
- TimelineGroup.cs
- DynamicQueryableWrapper.cs
- OwnerDrawPropertyBag.cs
- WorkflowInstanceRecord.cs
- AuthorizationRuleCollection.cs
- FreeFormPanel.cs
- RuntimeIdentifierPropertyAttribute.cs
- BitStream.cs
- DependencyPropertyConverter.cs
- metrodevice.cs
- FunctionUpdateCommand.cs
- odbcmetadatafactory.cs
- PasswordRecoveryDesigner.cs
- NavigationHelper.cs
- PassportPrincipal.cs
- MenuItemCollectionEditor.cs
- Utils.cs
- UInt32Storage.cs
- MailBnfHelper.cs
- FixedSOMElement.cs
- GridItemProviderWrapper.cs
- RuleSettings.cs
- ComponentSerializationService.cs
- TraceLevelStore.cs
- LineSegment.cs
- Gdiplus.cs
- PersistChildrenAttribute.cs
- VisualStyleTypesAndProperties.cs
- LinearGradientBrush.cs
- Cursor.cs
- MarshalByRefObject.cs
- PasswordDeriveBytes.cs
- CodeCompileUnit.cs
- NativeMethods.cs
- ConfigurationElement.cs
- GlyphShapingProperties.cs
- FixedMaxHeap.cs
- OuterGlowBitmapEffect.cs
- coordinatorfactory.cs
- WebBrowser.cs
- OperationResponse.cs
- ToolboxDataAttribute.cs
- WindowsClaimSet.cs
- DateTimeOffset.cs
- IndicCharClassifier.cs
- WindowsListViewScroll.cs
- StateDesigner.Helpers.cs
- ReadOnlyTernaryTree.cs
- DictionaryKeyPropertyAttribute.cs
- CodeAttributeArgumentCollection.cs
- HiddenField.cs
- ServiceModelConfiguration.cs
- SqlProcedureAttribute.cs
- GenericsInstances.cs
- Constants.cs
- JavaScriptObjectDeserializer.cs
- NullExtension.cs
- ConfigurationFileMap.cs
- SettingsContext.cs
- HtmlWindow.cs
- EncodingNLS.cs
- MutexSecurity.cs
- LogicalChannelCollection.cs
- Cursor.cs
- COAUTHINFO.cs
- ObjectSecurity.cs
- XamlToRtfWriter.cs
- ReadOnlyHierarchicalDataSourceView.cs
- DayRenderEvent.cs
- RootNamespaceAttribute.cs
- NotifyCollectionChangedEventArgs.cs
- basecomparevalidator.cs
- KeyValueInternalCollection.cs
- StringPropertyBuilder.cs
- SerializationException.cs
- HierarchicalDataSourceControl.cs
- XmlQueryCardinality.cs
- SequenceRange.cs
- SinglePhaseEnlistment.cs
- ByteStorage.cs