SenseNet.ContentRepository.RepositoryQueryTemplateReplacer.GetProperty C# (CSharp) Method

GetProperty() protected method

protected GetProperty ( GenericContent content, string propertyName ) : string
content GenericContent
propertyName string
return string
        protected string GetProperty(GenericContent content, string propertyName)
        {
            if (content == null)
                return string.Empty;
            var value = content.GetProperty(propertyName);
            return value == null ? string.Empty : value.ToString();
        }
        protected string GetProperty(Node node, string propertyName)

Same methods

RepositoryQueryTemplateReplacer::GetProperty ( IUser user, string propertyName ) : string
RepositoryQueryTemplateReplacer::GetProperty ( Node node, string propertyName ) : string
RepositoryQueryTemplateReplacer