KnockoutMapping Class

Provides functionality for mapping between knockout models and JSON or vanilla script objects.

Namespace: SharpKit.KnockoutJs

Base Types

System.Object

Methods

Name Description
fromJS<TModel>(object) Creates a model instance from the specified script object.
fromJS<TModel>(object, object) Creates a model instance from the specified script object and a custom mapping.
fromJSON<TModel>(JsString) Creates a model instance from the specified JSON JsString.
fromJSON<TModel>(JsString, object) Creates a model instance from the specified JSON JsString and a custom mapping.
updateFromJS<TModel>(TModel, object)
updateFromJSON<TModel>(TModel, JsString)
© Copyright 2005-2011 SharpKit. All rights reserved.