Пример #1
0
 public void SetConfiguration(TXRSessionConfig config)
 {
     if (config == null)
     {
         return;
     }
 }
Пример #2
0
        /// <summary>
        /// ValueType check if two TXRSessionConfig objects are equal.
        /// </summary>
        /// <returns>True if the two TXRSessionConfig objects are value-type equal, otherwise false.</returns>
        public override bool Equals(object other)
        {
            TXRSessionConfig otherConfig = other as TXRSessionConfig;

            if (other == null)
            {
                return(false);
            }

            if (OptimizedRendering != otherConfig.OptimizedRendering)
            {
                return(false);
            }

            return(true);
        }
Пример #3
0
 /// <summary>
 /// ValueType copy from another SessionConfig object into this one.
 /// </summary>
 /// <param name="other"></param>
 public void CopyFrom(TXRSessionConfig other)
 {
     OptimizedRendering = other.OptimizedRendering;
 }