当前位置: 首页>>代码示例>>C#>>正文


C# AlcionaDAL.DirtyApartments类代码示例

本文整理汇总了C#中Alciona.AlcionaDAL.DirtyApartments的典型用法代码示例。如果您正苦于以下问题:C# DirtyApartments类的具体用法?C# DirtyApartments怎么用?C# DirtyApartments使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DirtyApartments类属于Alciona.AlcionaDAL命名空间,在下文中一共展示了DirtyApartments类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CreateHashForApartment

 /// <summary>
 /// Вычисляем значение хеша на основе информации об объекте
 /// </summary>
 /// <param name="dirtyApartment">Объект для вычисления</param>
 public static void CreateHashForApartment(DirtyApartments dirtyApartment)
 {
     dirtyApartment.Hash = Services.GetHash(dirtyApartment.Балкон.Trim().ToLower() +
                         dirtyApartment.Край.Trim().ToLower() +
                         dirtyApartment.Город.Trim().ToLower() +
                         dirtyApartment.Район.Trim().ToLower() +
                         dirtyApartment.Массив.Trim().ToLower() +
                         dirtyApartment.Ориентир.Trim().ToLower() +
                         dirtyApartment.Планировка.Trim().ToLower() +
                         dirtyApartment.Материал.Trim().ToLower() +
                         dirtyApartment.Санузел.Trim().ToLower() +
                         dirtyApartment.ТипПлиты.Trim().ToLower() +
                         dirtyApartment.Дом.Trim().ToLower() +
                         dirtyApartment.Общая.Trim().ToLower() +
                         dirtyApartment.Жилая.Trim().ToLower() +
                         dirtyApartment.Кухня.Trim().ToLower() +
                         dirtyApartment.ЗаголовокОбъявления.Trim().ToLower() +
                         dirtyApartment.ТекстОбъявления.Trim().ToLower() +
                         dirtyApartment.Комнат.Trim().ToLower() +
                         // dirtyApartment.Лоджия.Trim().ToLower() +
                         dirtyApartment.Примечание.Trim().ToLower() +
                         dirtyApartment.Телефон1.Trim().ToLower() +
                         dirtyApartment.Телефон2.Trim().ToLower() +
                         dirtyApartment.Телефон3.Trim().ToLower() +
                         dirtyApartment.Телефон4.Trim().ToLower() +
                         dirtyApartment.Улица.Trim().ToLower() +
                         dirtyApartment.Этаж.Trim().ToLower() +
                         dirtyApartment.Этажность.Trim().ToLower());
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:33,代码来源:Services.cs

示例2: CreateHashForBroker

 /// <summary>
 /// Вычисляем значение хеша для посредника на основе информации об объекте
 /// </summary>
 public static string CreateHashForBroker(DirtyApartments apartment)
 {
     return Services.GetHash(apartment.Имя.Trim().ToLower() +
                                    apartment.Телефон1.Trim().ToLower() +
                                    apartment.Телефон2.Trim().ToLower() +
                                    apartment.Телефон3.Trim().ToLower() +
                                    apartment.Телефон4.Trim().ToLower());
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:11,代码来源:Services.cs

示例3: Add

 public bool Add(DirtyApartments da)
 {
     bool flag = false;
     try
     {
         lock (ap)
         {
             ap.Add(da);
             lock (added_aps)
             added_aps.Add(da.AddressParsing);
             flag = true;
         }
     }
     catch (Exception ex) { Console.WriteLine("Произошла ошибка добавления объявления " + ex.Message); }
     return flag;
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:16,代码来源:apartments.cs

示例4: SetHouseUnderConstruction

 //САДом
 protected override void SetHouseUnderConstruction(HtmlDocument page, DirtyApartments dirtyApartment)
 {
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:4,代码来源:RentArentaCollector.cs

示例5: SetFurnishType

 //ТипОтделки
 protected override void SetFurnishType(HtmlDocument page, DirtyApartments dirtyApartment)
 {
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:4,代码来源:RentArentaCollector.cs

示例6: SetYearOfConstruction

 //ГодПостройки
 protected override void SetYearOfConstruction(HtmlDocument page, DirtyApartments dirtyApartment)
 {
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:4,代码来源:RentArentaCollector.cs

示例7: SetLoggia

 //Лоджия
 protected override void SetLoggia(HtmlDocument page, DirtyApartments dirtyApartment)
 {
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:4,代码来源:RentArentaCollector.cs

示例8: SetAdText

 //ТекстОбъявления
 protected override void SetAdText(HtmlDocument page, DirtyApartments dirtyApartment)
 {
     //dirtyApartment.ТекстОбъявления = "";
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例9: SetPhoto

        //Фото
        protected override void SetPhoto(HtmlDocument page, DirtyApartments dirtyApartment)
        {


        }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:6,代码来源:RentArentaCollector.cs

示例10: SetQuarterOfDelivery

 //КварталСдачи
 protected override void SetQuarterOfDelivery(HtmlDocument page, DirtyApartments dirtyApartment)
 {
     // dirtyApartment.КварталСдачи = "";
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例11: SetDeveloper

 //Застройщик
 protected override void SetDeveloper(HtmlDocument page, DirtyApartments dirtyApartment)
 {
     // dirtyApartment.Застройщик = "";
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例12: SetTypeOfContactPerson

 //ТипКонтактногоЛица
 protected override void SetTypeOfContactPerson(HtmlDocument page, DirtyApartments dirtyApartment)
 {
     // dirtyApartment.ТипКонтактногоЛица = "";
 }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例13: SetCompanyName

        //компания
        protected override void SetCompanyName(HtmlDocument page, DirtyApartments dirtyApartment)
        {

        }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例14: SetAdDate

        //дата объявления
        protected override void SetAdDate(HtmlDocument page, DirtyApartments dirtyApartment)
        {

        }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs

示例15: SetWallMaterial

        //материал стен
        protected override void SetWallMaterial(HtmlDocument page, DirtyApartments dirtyApartment)
        {

        }
开发者ID:molec1,项目名称:MySPM_NewParsers,代码行数:5,代码来源:RentArentaCollector.cs


注:本文中的Alciona.AlcionaDAL.DirtyApartments类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。