Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / ApplicationServices / KnownTypesProvider.cs / 1305376 / KnownTypesProvider.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; using System.Reflection; using System.Web.Profile; namespace System.Web.ApplicationServices { public static class KnownTypesProvider { public static Type[] GetKnownTypes(ICustomAttributeProvider knownTypeAttributeTarget) { if (ProfileBase.Properties == null) return new Type[0]; Type[] retArray = new Type[ProfileBase.Properties.Count]; int i = 0; foreach (SettingsProperty property in ProfileBase.Properties) { retArray[i++] = property.PropertyType; } return retArray; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; using System.Reflection; using System.Web.Profile; namespace System.Web.ApplicationServices { public static class KnownTypesProvider { public static Type[] GetKnownTypes(ICustomAttributeProvider knownTypeAttributeTarget) { if (ProfileBase.Properties == null) return new Type[0]; Type[] retArray = new Type[ProfileBase.Properties.Count]; int i = 0; foreach (SettingsProperty property in ProfileBase.Properties) { retArray[i++] = property.PropertyType; } return retArray; } } } // 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
- CornerRadiusConverter.cs
- Imaging.cs
- UInt64Storage.cs
- MatrixStack.cs
- RadialGradientBrush.cs
- WaitForChangedResult.cs
- EntityCommandExecutionException.cs
- ToolStripDropDownClosingEventArgs.cs
- TickBar.cs
- CryptoHandle.cs
- SystemIPGlobalStatistics.cs
- DrawingGroupDrawingContext.cs
- PageTheme.cs
- CustomPopupPlacement.cs
- HttpHandlerActionCollection.cs
- XmlIlGenerator.cs
- TypeLoadException.cs
- CryptoProvider.cs
- WebRequestModuleElementCollection.cs
- ProfilePropertySettingsCollection.cs
- DBSqlParserColumn.cs
- SoapAttributes.cs
- ipaddressinformationcollection.cs
- SqlWorkflowPersistenceService.cs
- StringOutput.cs
- WebHttpBehavior.cs
- SelectionProcessor.cs
- AutomationPatternInfo.cs
- ReflectTypeDescriptionProvider.cs
- GrabHandleGlyph.cs
- URL.cs
- DateBoldEvent.cs
- sqlser.cs
- DbTransaction.cs
- StylusButton.cs
- ByteRangeDownloader.cs
- TextTreeRootTextBlock.cs
- TextServicesCompartment.cs
- URIFormatException.cs
- Help.cs
- XmlFormatMapping.cs
- XsltFunctions.cs
- FixedPageAutomationPeer.cs
- IDataContractSurrogate.cs
- ExpressionBuilder.cs
- GridViewCancelEditEventArgs.cs
- ExtentKey.cs
- TransformerInfoCollection.cs
- SqlDelegatedTransaction.cs
- InternalSafeNativeMethods.cs
- CharacterString.cs
- SessionKeyExpiredException.cs
- Converter.cs
- ItemsControlAutomationPeer.cs
- ProgressBarBrushConverter.cs
- ViewStateException.cs
- KernelTypeValidation.cs
- UdpReplyToBehavior.cs
- SignalGate.cs
- WindowsEditBoxRange.cs
- SimpleType.cs
- ScriptReferenceEventArgs.cs
- ReflectionHelper.cs
- SchemaImporter.cs
- ListViewTableRow.cs
- UserControlAutomationPeer.cs
- CollectionChangeEventArgs.cs
- Model3DGroup.cs
- DesignerSerializerAttribute.cs
- PropertyPath.cs
- ProgramPublisher.cs
- DefaultShape.cs
- Signature.cs
- EntityTypeEmitter.cs
- WebSysDescriptionAttribute.cs
- ContentValidator.cs
- TextSearch.cs
- unsafenativemethodstextservices.cs
- __ComObject.cs
- TdsEnums.cs
- EncoderBestFitFallback.cs
- HideDisabledControlAdapter.cs
- SystemTcpStatistics.cs
- SpotLight.cs
- RelationshipEnd.cs
- ImageAutomationPeer.cs
- safemediahandle.cs
- UserNameSecurityTokenAuthenticator.cs
- MsmqSecureHashAlgorithm.cs
- mactripleDES.cs
- ComponentEditorForm.cs
- ZipIOLocalFileDataDescriptor.cs
- XmlNode.cs
- autovalidator.cs
- Control.cs
- XmlEncodedRawTextWriter.cs
- DataSetUtil.cs
- Tracking.cs
- ConfigXmlAttribute.cs
- BuilderElements.cs