Common Custom data source
Common_CustomDataSource_CSharp\TiledMapDataSource_CSharp\TileAccessInfo.cs
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 


using System;
using System.Collections.Generic;
using System.Text;

namespace TiledMapDataSource_CSharp
{
    internal class TileAccessInfo
    {
        private string server;
        private string service;
        private string vdir;
        private string webserviceHandler;
        private string dataFrame;
        private tileAccessMethod tileAccess;

        private ESRI.ArcGIS.ADF.Web.WebImageFormat webImageFormat;
        private System.Drawing.Imaging.ImageFormat imageFormat;
        private string imageFormatExtension;
        private string cacheTileFormat;

        public string DataFrame
        {
            get
            {
                return dataFrame;
            }
            set
            {
                dataFrame = value;
            }
        }

        public string CacheTileFormat
        {
            get
            {
                return cacheTileFormat;
            }
            set
            {
                cacheTileFormat = value;
            }
        }

        public string ImageFormatExtension
        {
            get
            {
                return imageFormatExtension;
            }
            set
            {
                imageFormatExtension = value;
            }
        }

        public string Server
        {
            get
            {
                return server;
            }
            set
            {
                server = value;
            }
        }

        public string Service
        {
            get
            {
                return service;
            }
            set
            {
                service = value;
            }
        }

        public string VirtualDirectory
        {
            get
            {
                return vdir;
            }
            set
            {
                vdir = value;
            }
        }

        public string WebServiceHandlerUrl
        {
            get
            {
                return webserviceHandler;
            }
            set
            {
                webserviceHandler = value;
            }
        }

        public tileAccessMethod TileAccess
        {
            get
            {
                return tileAccess;
            }
            set
            {
                tileAccess = value;
            }
        }

        public ESRI.ArcGIS.ADF.Web.WebImageFormat WebImageFormat
        {
            get
            {
                return webImageFormat;
            }
            set
            {
                webImageFormat = value;
            }
        }

        public System.Drawing.Imaging.ImageFormat ImageFormat
        {
            get
            {
                return imageFormat;
            }
            set
            {
                imageFormat = value;
            }
        }
    }
}