Create() статический приватный Метод

static private Create ( PixelChannel channel, IntPtr instance ) : ChannelMoments
channel PixelChannel
instance IntPtr
Результат ChannelMoments
Пример #1
0
        private void AddChannel(IntPtr list, PixelChannel channel)
        {
            IntPtr instance = NativeMoments.GetInstance(list, channel);

            ChannelMoments result = ChannelMoments.Create(channel, instance);

            if (result != null)
            {
                _channels.Add(result.Channel, result);
            }
        }