CastToInternal() private method

private CastToInternal ( Type castType, IntPtr handle, int version ) : object
castType System.Type
handle System.IntPtr
version int
return object
Ejemplo n.º 1
0
 public T CastTo <T>() where T : struct
 {
     return((T)((object)Playables.CastToInternal(typeof(T), this.m_Handle, this.m_Version)));
 }
Ejemplo n.º 2
0
 public T CastTo <T>() where T : struct =>
 ((T)Playables.CastToInternal(typeof(T), this.m_Handle, this.m_Version));