1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

Add file from ScormEngine's copy

This commit is contained in:
Kevin Glynn 2012-09-10 10:15:57 +02:00
parent adbdfde9cc
commit e8bfc96263
2 changed files with 49 additions and 4 deletions

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is
Copyright 2007,2008,2009,2010 Rustici Software, LLC
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
-->
<Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0">
<Imports />
<Java>SecureRandom</Java>
<Name>System.Security.Cryptography.RNGCryptoServiceProvider</Name>
<Uses />
<Inherits>
<Type>System.Object</Type>
</Inherits>
<Methods>
<Method>
<Imports />
<Java>${this:16}.nextBytes(${arg})</Java>
<Params>
<Param>
<Type>System.Byte[]</Type>
<Name>arg</Name>
</Param>
</Params>
<Name>GetBytes</Name>
<Return></Return>
</Method>
</Methods>
<Constructors>
<Constructor>
<Imports>
<Import>java.security.SecureRandom</Import>
</Imports>
<Java>new java.security.SecureRandom()</Java>
<Params />
</Constructor>
</Constructors>
<Fields />
<Casts />
<UnaryOps />
<BinaryOps />
</Class>

View File

@ -32,13 +32,13 @@ cheat-dir =
net-templates-dir = Z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework\ net-templates-dir = Z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework\
ex-net-templates-dir = ex-net-templates-dir =
app-dir = Z:\keving\svnrepos\ScormEngineNet\src\app\ScormEngine.Core\ app-dir = Z:\keving\gitrepos\rustici\ScormEngine\net\src\app\ScormEngine.Core\
ex-app-dir = ex-app-dir =
cs-dir = Z:\keving\svnrepos\ScormEngineNet\src\app\ScormEngine.Core\ cs-dir = Z:\keving\gitrepos\rustici\ScormEngine\net\src\app\ScormEngine.Core\Logic
ex-cs-dir = ex-cs-dir =
out-java-dir = Z:\keving\tmp\java\se\src out-java-dir = Z:\keving\gitrepos\rustici\ScormEngine\java\RusticiSoftware.ScormContentPlayer.Logic\src
; Enable Alternate Translation Templates ; Enable Alternate Translation Templates
alt-translations = alt-translations =
@ -49,7 +49,7 @@ timestamp-files = false
blanket-throw = true blanket-throw = true
exception-is-throwable = false exception-is-throwable = false
make-javadoc-comments = true make-javadoc-comments = true
make-java-naming-conventions = true make-java-naming-conventions = false
; These are experimental settings. ; These are experimental settings.
; They may change (or disappear, or move to General section, or ....) in future releases ; They may change (or disappear, or move to General section, or ....) in future releases