|
using System;
|
|
namespace appsrv.attributes
|
|
{
|
|
public enum Serialization {
|
|
PLAIN,
|
|
JSON,
|
|
XML
|
|
}
|
|
|
|
public class WebCallable : Attribute
|
|
{
|
|
public String Name { get; set; }
|
|
public Serialization Serialization { get; set; } = Serialization.PLAIN;
|
|
|
|
public WebCallable()
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|