Alternate() 공개 메소드

public Alternate ( ) : string
리턴 string
예제 #1
0
        public object CardProperty(int id, string property)
        {
            Card c = Card.Find(id);

            property = property.ToLowerInvariant();
            var value = c.GetProperty(property, "", StringComparison.InvariantCultureIgnoreCase, c.Alternate());

            if (value is RichTextPropertyValue richText)
            {
                return(richText.ToString());
            }
            return(value);
        }
예제 #2
0
        public object CardProperty(int id, string property)
        {
            Card c = Card.Find(id);

            property = property.ToLowerInvariant();
            return(c.GetProperty(property, "", StringComparison.InvariantCultureIgnoreCase, c.Alternate()));
        }