本文整理汇总了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());
}
示例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());
}
示例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;
}
示例4: SetHouseUnderConstruction
//САДом
protected override void SetHouseUnderConstruction(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例5: SetFurnishType
//ТипОтделки
protected override void SetFurnishType(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例6: SetYearOfConstruction
//ГодПостройки
protected override void SetYearOfConstruction(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例7: SetLoggia
//Лоджия
protected override void SetLoggia(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例8: SetAdText
//ТекстОбъявления
protected override void SetAdText(HtmlDocument page, DirtyApartments dirtyApartment)
{
//dirtyApartment.ТекстОбъявления = "";
}
示例9: SetPhoto
//Фото
protected override void SetPhoto(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例10: SetQuarterOfDelivery
//КварталСдачи
protected override void SetQuarterOfDelivery(HtmlDocument page, DirtyApartments dirtyApartment)
{
// dirtyApartment.КварталСдачи = "";
}
示例11: SetDeveloper
//Застройщик
protected override void SetDeveloper(HtmlDocument page, DirtyApartments dirtyApartment)
{
// dirtyApartment.Застройщик = "";
}
示例12: SetTypeOfContactPerson
//ТипКонтактногоЛица
protected override void SetTypeOfContactPerson(HtmlDocument page, DirtyApartments dirtyApartment)
{
// dirtyApartment.ТипКонтактногоЛица = "";
}
示例13: SetCompanyName
//компания
protected override void SetCompanyName(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例14: SetAdDate
//дата объявления
protected override void SetAdDate(HtmlDocument page, DirtyApartments dirtyApartment)
{
}
示例15: SetWallMaterial
//материал стен
protected override void SetWallMaterial(HtmlDocument page, DirtyApartments dirtyApartment)
{
}