Exemple #1
0
        public static TextTokenKind GetTextTokenType(ExportedType et)
        {
            if (et == null)
                return TextTokenKind.Text;

            return GetTextTokenType(et.ToTypeRef());
        }
		/// <summary>
		/// Gets an exported type color
		/// </summary>
		/// <param name="exportedType">Exported type</param>
		/// <returns></returns>
		public virtual object GetColor(ExportedType exportedType) {
			if (exportedType == null)
				return BoxedTextColor.Text;

			return GetColor(exportedType.ToTypeRef());
		}