Exemplo n.º 1
0
 public AtemState GetState()
 {
     lock (_state)
     {
         return(_state.Clone());
     }
 }
        public void TestClone()
        {
            var state = new AtemState();

            // Simply ensure it can be cloned, as it relies on all classes having an attribute
            state.Clone();
        }
Exemplo n.º 3
0
        public AtemState BuildLibState()
        {
            AtemState libState;

            lock (_libAtemStateLock)
            {
                libState = _libAtemState.Clone();
            }

            return(SanitiseStateIncompabalities(_mockServer.CurrentVersion, libState));
        }