void PlayScript.IDynamicClass.__SetDynamicValue(string name, object value) { if (__dynamicProps == null) { __dynamicProps = new PlayScript.DynamicProperties(this); } __dynamicProps.__SetDynamicValue(name, value); }
private void WriteDynamicClass(PlayScript.IDynamicClass dc) { foreach (string key in dc.__GetDynamicNames()) { TypelessWrite(key); Write(dc.__GetDynamicValue(key)); } TypelessWrite(""); }
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(""); }
// this method can be used to override the dynamic property implementation of this dynamic class void __SetDynamicProperties(PlayScript.IDynamicClass props) { __dynamicProps = props; }