Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / xsp / System / Web / Extensions / ApplicationServices / KnownTypesProvider.cs / 1 / KnownTypesProvider.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.Configuration; using System.Reflection; using System.Security.Permissions; using System.Web.Profile; namespace System.Web.ApplicationServices { [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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.Security.Permissions; using System.Web.Profile; namespace System.Web.ApplicationServices { [AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] 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
- EarlyBoundInfo.cs
- FileChangesMonitor.cs
- CellTreeNodeVisitors.cs
- HttpChannelBindingToken.cs
- followingsibling.cs
- SafeNativeMethods.cs
- ConnectionConsumerAttribute.cs
- ApplicationFileParser.cs
- DetailsViewUpdateEventArgs.cs
- PriorityRange.cs
- keycontainerpermission.cs
- DelegatingConfigHost.cs
- OutOfProcStateClientManager.cs
- SByteConverter.cs
- HealthMonitoringSection.cs
- Match.cs
- ValidatingReaderNodeData.cs
- AsyncResult.cs
- AudioStateChangedEventArgs.cs
- WebReferencesBuildProvider.cs
- AuthenticationServiceManager.cs
- HelpKeywordAttribute.cs
- AsyncPostBackTrigger.cs
- TagPrefixCollection.cs
- DataKey.cs
- xdrvalidator.cs
- XmlChoiceIdentifierAttribute.cs
- MetadataUtilsSmi.cs
- WebPartEditVerb.cs
- BlurBitmapEffect.cs
- TraceLog.cs
- RoleManagerEventArgs.cs
- DataSourceControlBuilder.cs
- ExpressionBuilder.cs
- RightNameExpirationInfoPair.cs
- ResourceDescriptionAttribute.cs
- ThicknessAnimationUsingKeyFrames.cs
- AutoResetEvent.cs
- SimpleHandlerBuildProvider.cs
- AsymmetricKeyExchangeDeformatter.cs
- OleDbMetaDataFactory.cs
- TransformProviderWrapper.cs
- DataStreams.cs
- OleStrCAMarshaler.cs
- metadatamappinghashervisitor.cs
- MethodAccessException.cs
- SecurityContextTokenValidationException.cs
- InvokeWebService.cs
- CanonicalFontFamilyReference.cs
- StylusOverProperty.cs
- RSACryptoServiceProvider.cs
- ClockController.cs
- ConfigurationElementProperty.cs
- CodeDirectiveCollection.cs
- HiddenField.cs
- PersonalizationStateQuery.cs
- GenericEnumerator.cs
- SecurityDocument.cs
- DataColumnMappingCollection.cs
- AuthorizationContext.cs
- ByteStack.cs
- PlatformNotSupportedException.cs
- coordinator.cs
- RoutedEventHandlerInfo.cs
- DataGridPageChangedEventArgs.cs
- ReadWriteSpinLock.cs
- ListViewItemMouseHoverEvent.cs
- LinkClickEvent.cs
- ObjectHandle.cs
- util.cs
- FastPropertyAccessor.cs
- DefaultSection.cs
- AssemblyHash.cs
- StackBuilderSink.cs
- CheckBox.cs
- InstancePersistenceCommand.cs
- propertyentry.cs
- System.Data.OracleClient_BID.cs
- HtmlTableCellCollection.cs
- Margins.cs
- Mapping.cs
- WindowsToolbarAsMenu.cs
- TrackPoint.cs
- TableParagraph.cs
- SafeFreeMibTable.cs
- SqlProvider.cs
- MimeBasePart.cs
- PersistenceProviderFactory.cs
- LeaseManager.cs
- ControlEvent.cs
- ViewBase.cs
- SchemaNames.cs
- HtmlSelect.cs
- WebPartConnectionCollection.cs
- MergeFailedEvent.cs
- ObjectSet.cs
- AnimationClock.cs
- CryptoKeySecurity.cs
- TablePatternIdentifiers.cs
- PropertyManager.cs