Ejemplo n.º 1
0
		void OnEnable()
		{
			Connection = new PhotoshopConnection();

			PhotoshopProtocol = new PhotoshopProtocol( Connection );

			Cameras = new CameraCollection();

			BackBufferHandler = new BackBufferHandler( Cameras );

			LUTWriter = new LUTWriter();

			PhotoshopHandler = new PhotoshopHandler( PhotoshopProtocol, BackBufferHandler, LUTWriter, Settings, Cameras );

			FileHandler = new FileHandler( BackBufferHandler, LUTWriter, Settings, Cameras );

			Cameras.GenerateCameraList();
		}
        void OnEnable()
        {
            Connection = new PhotoshopConnection();

            PhotoshopProtocol = new PhotoshopProtocol(Connection);

            Cameras = new CameraCollection();

            BackBufferHandler = new BackBufferHandler(Cameras);

            LUTWriter = new LUTWriter();

            PhotoshopHandler = new PhotoshopHandler(PhotoshopProtocol, BackBufferHandler, LUTWriter, Settings, Cameras);

            FileHandler = new FileHandler(BackBufferHandler, LUTWriter, Settings, Cameras);

            Cameras.GenerateCameraList();
        }
		public PhotoshopProtocol( PhotoshopConnection connection )
		{
			_connection = connection;
			_utf8Encoding = new UTF8Encoding();
		}
 public PhotoshopProtocol(PhotoshopConnection connection)
 {
     _connection   = connection;
     _utf8Encoding = new UTF8Encoding();
 }