mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 03:32:37 +00:00
22 lines
539 B
C#
22 lines
539 B
C#
using System.Runtime.Serialization;
|
|
|
|
namespace CefSharp.Internals
|
|
{
|
|
[KnownType(typeof(JavascriptMethod))]
|
|
[KnownType(typeof(JavascriptProperty))]
|
|
[DataContract]
|
|
public abstract class JavascriptMember
|
|
{
|
|
[DataMember]
|
|
public JavascriptMemberDescription Description { get; set; }
|
|
|
|
[DataMember]
|
|
public long DescriptionId { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return Description != null ? Description.ToString() : base.ToString();
|
|
}
|
|
}
|
|
}
|