C# Класс Scorchio.Infrastructure.Extensions.XElementExtensions

Defines the XElementExtensions type.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetSafeAttributeStringValue ( this instance, string attributeName ) : string

Gets the safe attribute string value.

GetSafeElementStringValue ( this instance, string elementName ) : string

Gets the safe element string value.

Описание методов

GetSafeAttributeStringValue() публичный статический Метод

Gets the safe attribute string value.
public static GetSafeAttributeStringValue ( this instance, string attributeName ) : string
instance this The instance.
attributeName string Name of the attribute.
Результат string

GetSafeElementStringValue() публичный статический Метод

Gets the safe element string value.
public static GetSafeElementStringValue ( this instance, string elementName ) : string
instance this The instance.
elementName string Name of the element.
Результат string