CSLE.CLS_Content.Clone C# (CSharp) Метод

Clone() публичный Метод

public Clone ( ) : CLS_Content
Результат CLS_Content
        public CLS_Content Clone()
        {
            CLS_Content con = new CLS_Content(environment,useDebug);
            foreach(var c in this.values)
            {
                con.values.Add(c.Key, c.Value);
            }
            con.CallThis = this.CallThis;
            con.CallType = this.CallType;

            return con;
        }
        public ICLS_Environment environment

Usage Example

 public CLS_Content.Value ComputeValue(CLS_Content content)
 {
     return(new CLS_Content.Value()
     {
         type = typeof(IEnumerator), value = CustomCoroutine(content.Clone())
     });
 }
All Usage Examples Of CSLE.CLS_Content::Clone