이것은 페이지 Home
를 삭제할 것입니다. 다시 한번 확인하세요.
This sample shows how to add a custom javascript type for Guid
/ Uuid
.
That allows to call functions / indexers which use a Guid
in dotnet.
First you need to create three classes UuidInstance
, UuidPrototype
and UuidConstructor
.
Use the links for sample implementation.
Second step is to register the constructor to be usable.
If you need to pass a Guid
to the engine which should be automatically converted to your javascript type you need to thwo classes JsUuid
and UuiConverter
.
After this the converter can be registered to the engine.
See UuidTests.cs
for sample usage.
이것은 페이지 Home
를 삭제할 것입니다. 다시 한번 확인하세요.