Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Protocols / MimeFormatter.cs / 1305376 / MimeFormatter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Protocols { using System.IO; using System; using System.Xml.Serialization; using System.Reflection; using System.Collections; using System.Web.Services; using System.Security.Permissions; ////// /// public abstract class MimeFormatter { ///[To be supplied.] ////// /// public abstract object GetInitializer(LogicalMethodInfo methodInfo); ///[To be supplied.] ////// /// public abstract void Initialize(object initializer); ///[To be supplied.] ////// /// public virtual object[] GetInitializers(LogicalMethodInfo[] methodInfos) { object[] initializers = new object[methodInfos.Length]; for (int i = 0; i < initializers.Length; i++) initializers[i] = GetInitializer(methodInfos[i]); return initializers; } ///[To be supplied.] ////// /// [PermissionSet(SecurityAction.LinkDemand, Name="FullTrust")] public static object GetInitializer(Type type, LogicalMethodInfo methodInfo) { return ((MimeFormatter)Activator.CreateInstance(type)).GetInitializer(methodInfo); } ///[To be supplied.] ////// /// [PermissionSet(SecurityAction.LinkDemand, Name="FullTrust")] public static object[] GetInitializers(Type type, LogicalMethodInfo[] methodInfos) { return ((MimeFormatter)Activator.CreateInstance(type)).GetInitializers(methodInfos); } ///[To be supplied.] ////// /// [PermissionSet(SecurityAction.LinkDemand, Name="FullTrust")] public static MimeFormatter CreateInstance(Type type, object initializer) { MimeFormatter formatter = (MimeFormatter)Activator.CreateInstance(type); formatter.Initialize(initializer); return formatter; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _LocalDataStoreMgr.cs
- CqlIdentifiers.cs
- TouchDevice.cs
- MetadataPropertyCollection.cs
- DataGridViewHitTestInfo.cs
- RepeaterItemCollection.cs
- ProtocolReflector.cs
- SessionParameter.cs
- PathSegmentCollection.cs
- FormViewDeletedEventArgs.cs
- StateFinalizationDesigner.cs
- Parallel.cs
- UrlMappingCollection.cs
- SchemaNotation.cs
- DataGridViewCellStyleConverter.cs
- UserControlAutomationPeer.cs
- SchemaImporterExtensionElement.cs
- DrawingCollection.cs
- XmlUrlEditor.cs
- RSAProtectedConfigurationProvider.cs
- ExtendedPropertyDescriptor.cs
- CodeCommentStatementCollection.cs
- QilFunction.cs
- GroupItemAutomationPeer.cs
- ExtensionSimplifierMarkupObject.cs
- ColorTranslator.cs
- Matrix.cs
- SharedPersonalizationStateInfo.cs
- PackageRelationship.cs
- Win32.cs
- DateTimeFormatInfoScanner.cs
- MonitorWrapper.cs
- SqlInternalConnectionTds.cs
- CodeAttributeDeclarationCollection.cs
- DragStartedEventArgs.cs
- ToolStripContextMenu.cs
- LogWriteRestartAreaAsyncResult.cs
- XPathDocumentIterator.cs
- SetterBase.cs
- GotoExpression.cs
- SegmentInfo.cs
- PrefixHandle.cs
- MembershipSection.cs
- InternalConfirm.cs
- TreeNodeCollection.cs
- LocationReferenceValue.cs
- PointHitTestResult.cs
- TabItem.cs
- KnownIds.cs
- EdmProviderManifest.cs
- ListViewEditEventArgs.cs
- X500Name.cs
- SystemIcmpV6Statistics.cs
- WaitForChangedResult.cs
- X509Chain.cs
- GatewayDefinition.cs
- ProgressChangedEventArgs.cs
- HtmlGenericControl.cs
- ManipulationDeltaEventArgs.cs
- CharacterShapingProperties.cs
- FreeFormDragDropManager.cs
- GenericPrincipal.cs
- clipboard.cs
- TextDecorationCollection.cs
- DesignColumn.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ConnectionInterfaceCollection.cs
- TypeNameConverter.cs
- UdpMessageProperty.cs
- SurrogateDataContract.cs
- SemanticAnalyzer.cs
- Int32Rect.cs
- AttributeParameterInfo.cs
- SqlXmlStorage.cs
- XmlSchemaSimpleContentExtension.cs
- RenderContext.cs
- CustomTrackingQuery.cs
- InkSerializer.cs
- cache.cs
- AsyncStreamReader.cs
- Brush.cs
- XmlSerializerOperationFormatter.cs
- Table.cs
- MsmqInputSessionChannel.cs
- AsymmetricAlgorithm.cs
- ObfuscateAssemblyAttribute.cs
- EventMappingSettings.cs
- MenuAdapter.cs
- TextEndOfParagraph.cs
- CounterCreationDataCollection.cs
- XmlWrappingReader.cs
- HitTestResult.cs
- infer.cs
- EntryPointNotFoundException.cs
- SessionKeyExpiredException.cs
- SqlStatistics.cs
- Documentation.cs
- IERequestCache.cs
- ConfigXmlElement.cs
- FacetChecker.cs