示例#1
0
        /// <summary>
        /// Creates a new StringData instance for the given script.
        /// </summary>
        private static StringData ForScript(TextScript textScript)
        {
            StringData result;

            result             = new StringData();
            result._textScript = textScript;
            result._value      = textScript.Sample;
            result._name       = textScript.Name;

            return(result);
        }
示例#2
0
        /// <summary>
        /// Creates a new StringData instance for the given script.
        /// </summary>
        private static StringData ForScript(TextScript textScript)
        {
            StringData result;

            result = new StringData();
            result._textScript = textScript;
            result._value = textScript.Sample;
            result._name = textScript.Name;

            return result;
        }