This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var routes = { | |
| CollateralController: { | |
| Urls: { | |
| Index: { | |
| get: function(id) { return "/index"; }, | |
| post: function() { return "/index"; } | |
| } | |
| } | |
| } | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using (ISession session = sessionManager.OpenSession()) | |
| { | |
| transaction = session.Transaction; | |
| Assert.IsFalse(transaction.IsActive); | |
| FirstDao service = container.Resolve<FirstDao>("myfirstdao"); | |
| // This call is transactional | |
| Blog blog = service.Create(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type RemoteRequestListener(bindAddress:String, zContextAccessor:ZContextAccessor, kernel:IKernel) = | |
| inherit BaseListener(zContextAccessor) | |
| override this.GetConfig() = | |
| let parts = bindAddress.Split(':') | |
| new ZConfig(parts.[0], Convert.ToUInt32(parts.[1])) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @if (true) | |
| { | |
| <p></p> | |
| } | |
| else | |
| { | |
| <text>texto solto</text> | |
| } |