Exemple #1
0
        /// <summary>
        /// Creates a new <see cref="ImportExportClient"/> instance
        /// </summary>
        /// <param name="connection"></param>
        public ImportExportClient(IIS24Connection connection)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }

            Connection      = connection;
            RealEstates     = new RealEstateResource(Connection);
            Contacts        = new ContactResource(Connection);
            Publish         = new PublishResource(Connection);
            PublishChannels = new PublishChannelResource(Connection);
        }
Exemple #2
0
 /// <summary>
 /// Creates a new <see cref="ImportExportClient"/> instance
 /// </summary>
 /// <param name="connection"></param>
 public ImportExportClient(IIS24Connection connection)
 {
     Connection         = connection ?? throw new ArgumentNullException("connection");
     RealEstates        = new RealEstateResource(Connection);
     RealEstateCounts   = new RealEstateCountsResource(Connection);
     Contacts           = new ContactResource(Connection);
     Publish            = new PublishResource(Connection);
     PublishChannels    = new PublishChannelResource(Connection);
     RealEstateProjects = new RealEstateProjectResource(Connection);
     ShowcasePlacements = new ShowcasePlacementResource(Connection);
     PremiumPlacements  = new PremiumPlacementResource(Connection);
     TopPlacements      = new TopPlacementResource(Connection);
 }
        /// <summary>
        /// Creates a new <see cref="ImportExportClient"/> instance
        /// </summary>
        /// <param name="connection"></param>
        public ImportExportClient(IIS24Connection connection)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }

            Connection = connection;
            RealEstates = new RealEstateResource(Connection);
            Contacts = new ContactResource(Connection);
            Publish = new PublishResource(Connection);
            PublishChannels = new PublishChannelResource(Connection);
        }
        /// <summary>
        /// Creates a new <see cref="ImportExportClient"/> instance
        /// </summary>
        /// <param name="connection"></param>
        public ImportExportClient(IIS24Connection connection)
        {
            if (connection == null)
            {
                throw new ArgumentNullException("connection");
            }

            Connection = connection;
            RealEstates = new RealEstateResource(Connection);
            RealEstateCounts = new RealEstateCountsResource(Connection);
            Contacts = new ContactResource(Connection);
            Publish = new PublishResource(Connection);
            PublishChannels = new PublishChannelResource(Connection);
            RealEstateProjects = new RealEstateProjectResource(Connection);
            ShowcasePlacements = new ShowcasePlacementResource(Connection);
            PremiumPlacements = new PremiumPlacementResource(Connection);
            TopPlacements = new TopPlacementResource(Connection);
        }