MediaTypeNames.cs :  » Business-Application » 32feet.NET » InTheHand » Net » Mime » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Business Application » 32feet.NET 
32feet.NET » InTheHand » Net » Mime » MediaTypeNames.cs
// 32feet.NET - Personal Area Networking for .NET
//
// InTheHand.Net.Mime.MediaTypeNames
// 
// Copyright (c) 2003-2006 In The Hand Ltd, All rights reserved.
// This source code is licensed under the In The Hand Community License - see License.txt

using System;

namespace InTheHand.Net.Mime{
  /// <summary>
  /// Specifies the media type information for an object.
  /// </summary>
#if V2
  public static class MediaTypeNames
  {
#else
    public class MediaTypeNames
  {
    private MediaTypeNames(){}
#endif

    /// <summary>
    /// Specifies the type of image data in an object.
    /// </summary>
#if V2
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
        public static class Image
    {
#else
        public class Image
        {
      private Image(){}
#endif
      /// <summary>
      /// Specifies that the image data is in Graphics Interchange Format (GIF).
      /// </summary>
      public const string Gif = "image/gif";

      /// <summary>
      /// Specifies that the image data is in Joint Photographic Experts Group (JPEG) format.
      /// </summary>
      public const string Jpg = "image/jpg";
    }


    /// <summary>
    /// Specifies the type of text data in an object.
    /// </summary>
#if V2
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
    public static class Text
    {
#else
        public class Text
        {
      private Text(){}
#endif
      /// <summary>
      /// Specifies that the data is in HTML format.
      /// </summary>
      public const string Html = "text/html";

      /// <summary>
      /// Specifies that the data is in plain text format.
      /// </summary>
      public const string Plain = "text/plain";

      /// <summary>
      /// Specifies that the data is in vCalendar format.
            /// </summary>
#if CODE_ANALYSIS
            [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Member")]
#endif
            public const string vCalendar = "text/x-vcal";

      /// <summary>
      /// Specifies that the data is in vCard format.
            /// </summary>
#if CODE_ANALYSIS
            [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Member")]
#endif
            public const string vCard = "text/x-vcard";

      /// <summary>
      /// Specifies that the data is in vMsg format.
            /// </summary>
#if CODE_ANALYSIS
            [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Member")]
#endif
            public const string vMessage = "text/x-vMsg";

      /// <summary>
      /// Specifies that the data is in vNote format.
            /// </summary>
#if CODE_ANALYSIS
            [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Member")]
#endif
            public const string vNote = "text/x-vnote";

      /// <summary>
      /// Specifies that the data is in XML format.
      /// </summary>
      public const string Xml = "text/xml";
    }

    /// <summary>
    /// Specifies the type of Object Exchange specific data.
    /// </summary>
#if V2
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1034:NestedTypesShouldNotBeVisible")]
        public static class ObjectExchange
    {
#else
    public class ObjectExchange
    {
      private ObjectExchange(){}
#endif
      /// <summary>
      /// Used to retrieve supported object types.
      /// </summary>
      public const string Capabilities = "x-obex/capability";

      /// <summary>
      /// Used to retrieve folder listing with OBEX FTP.
      /// </summary>
      public const string FolderListing = "x-obex/folder-listing";

      /// <summary>
      /// Used to retrieve an object profile.
      /// </summary>
      public const string ObjectProfile = "x-obex/object-profile";
    }
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.