Table of Contents

Class StreamingProtocolExtension

Namespace
VAST.Common
Assembly
VAST.Common.dll

Provides extension methods for the StreamingProtocol enumeration.

public static class StreamingProtocolExtension
Inheritance
StreamingProtocolExtension
Inherited Members

Methods

Deserialize(string)

Deserializes a comma-separated string to streaming protocol flags.

public static StreamingProtocol Deserialize(string proto)

Parameters

proto string

The comma-separated string of protocol names.

Returns

StreamingProtocol

The combined streaming protocol flags.

Serialize(StreamingProtocol)

Serializes the streaming protocol flags to a comma-separated string.

public static string Serialize(this StreamingProtocol self)

Parameters

self StreamingProtocol

The streaming protocol flags.

Returns

string

A comma-separated string of protocol names.