C# Class SyncanoSyncServer.Net.Notifications.NotificationTypeEnumStringConverter

Class converts NotificationTypes to String and the other way.
显示文件 Open project: Syncano/syncano-dotnet Class Usage Examples

Public Methods

Method Description
GetNotificationType ( string value ) : NotificationType

Converts to NotificationType.

GetString ( NotificationType type ) : string

Converts to string.

Method Details

GetNotificationType() public static method

Converts to NotificationType.
public static GetNotificationType ( string value ) : NotificationType
value string String object.
return NotificationType

GetString() public static method

Converts to string.
public static GetString ( NotificationType type ) : string
type NotificationType NotificationType object.
return string