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
- returneventsaver.cs
- ByteConverter.cs
- DataServiceHost.cs
- ProcessModule.cs
- ApplicationInfo.cs
- XmlWellformedWriter.cs
- ForwardPositionQuery.cs
- PointIndependentAnimationStorage.cs
- ViewStateModeByIdAttribute.cs
- StringWriter.cs
- CodeIterationStatement.cs
- ProofTokenCryptoHandle.cs
- ComboBox.cs
- RtType.cs
- SingleAnimationBase.cs
- WebPartRestoreVerb.cs
- LockRecursionException.cs
- ZipIOBlockManager.cs
- AssemblyInfo.cs
- ParameterElement.cs
- BaseConfigurationRecord.cs
- SqlClientPermission.cs
- ApplicationDirectory.cs
- Html32TextWriter.cs
- InvalidOleVariantTypeException.cs
- ThreadStartException.cs
- ComplexPropertyEntry.cs
- XPathDocumentIterator.cs
- ReadOnlyDataSourceView.cs
- DependencyObject.cs
- SplayTreeNode.cs
- DesignerAdapterAttribute.cs
- FixedTextContainer.cs
- LocalizationComments.cs
- GACIdentityPermission.cs
- HtmlMobileTextWriter.cs
- XmlSchemaType.cs
- SerialReceived.cs
- TriggerCollection.cs
- Ipv6Element.cs
- AggregateNode.cs
- SerializationHelper.cs
- GridViewPageEventArgs.cs
- VectorAnimationBase.cs
- SqlDataSourceAdvancedOptionsForm.cs
- SqlStatistics.cs
- FormViewDeleteEventArgs.cs
- RegisteredDisposeScript.cs
- XmlSchemaObject.cs
- HotSpot.cs
- FileUpload.cs
- Int64AnimationBase.cs
- InputEventArgs.cs
- precedingsibling.cs
- ObjectAnimationBase.cs
- sqlmetadatafactory.cs
- Convert.cs
- ExpandableObjectConverter.cs
- ExpandCollapseIsCheckedConverter.cs
- webeventbuffer.cs
- HttpRawResponse.cs
- InternalPolicyElement.cs
- HitTestWithPointDrawingContextWalker.cs
- RelationshipEnd.cs
- DescendentsWalker.cs
- SQLBytes.cs
- WebMethodAttribute.cs
- ToolStripLabel.cs
- SendMailErrorEventArgs.cs
- COM2PropertyDescriptor.cs
- CodeFieldReferenceExpression.cs
- HatchBrush.cs
- KeyProperty.cs
- ParserContext.cs
- BaseTemplateParser.cs
- Point4DConverter.cs
- StyleCollection.cs
- WeakReadOnlyCollection.cs
- FigureHelper.cs
- InputProcessorProfilesLoader.cs
- AxisAngleRotation3D.cs
- ItemChangedEventArgs.cs
- TreeNodeBinding.cs
- BitmapCacheBrush.cs
- SecurityProtocolCorrelationState.cs
- ChannelServices.cs
- Formatter.cs
- PublisherMembershipCondition.cs
- KeyValueInternalCollection.cs
- DocumentOrderQuery.cs
- Menu.cs
- OuterGlowBitmapEffect.cs
- DataColumnCollection.cs
- RegexWorker.cs
- NativeWindow.cs
- RefreshPropertiesAttribute.cs
- TargetParameterCountException.cs
- GridProviderWrapper.cs
- SafeEventLogReadHandle.cs
- ProcessManager.cs