public static void RouteMemberType(IValueDescriptor descriptor, string name, Type memberType,
                                    bool skipSpecialMethod = false)
 {
     descriptor.Route(descriptor.StateMember.WithMemberType(memberType).WithName(name), memberType, descriptor.Owner,
                      skipSpecialMethod);
 }
 public static void RouteRuntimeType(this IValueDescriptor descriptor, Type runtimeType,
                                     bool skipSpecialMethod = false)
 {
     descriptor.Route(descriptor.StateMember, runtimeType, descriptor.Owner, skipSpecialMethod);
 }