Example #1
0
 void PlayScript.IDynamicClass.__SetDynamicValue(string name, object value)
 {
     if (__dynamicProps == null)
     {
         __dynamicProps = new PlayScript.DynamicProperties(this);
     }
     __dynamicProps.__SetDynamicValue(name, value);
 }
Example #2
0
        private void WriteDynamicClass(PlayScript.IDynamicClass dc)
        {
            foreach (string key in dc.__GetDynamicNames())
            {
                TypelessWrite(key);
                Write(dc.__GetDynamicValue(key));
            }

            TypelessWrite("");
        }
Example #3
0
        private void WriteDynamicClass(PlayScript.IDynamicClass dc)
        {
            var names = dc.__GetDynamicNames();

            if (names != null)
            {
                foreach (string key in names)
                {
                    TypelessWrite(key);
                    Write(dc.__GetDynamicValue(key));
                }
            }

            TypelessWrite("");
        }
Example #4
0
 // this method can be used to override the dynamic property implementation of this dynamic class
 void __SetDynamicProperties(PlayScript.IDynamicClass props)
 {
     __dynamicProps = props;
 }