public RoutingInfo GetRoutingInfo() { return(GenericDataContractSerializer <RoutingInfo> .ReadObject(persist)); }
public RouteEntity(string routeName, RoutingInfo routingInfo) : base(_partitionKey, routeName) { persist = GenericDataContractSerializer <RoutingInfo> .WriteObject(routingInfo); }