Exemple #1
0
        /// <summary> 
        /// CreateParaclient 
        /// </summary>
        /// <param name="paraClientHandle"> 
        /// OUT: opaque to PTS paragraph client
        /// </param>
        internal override void CreateParaclient(
            out IntPtr paraClientHandle) 
        {
#pragma warning disable 6518 
            // Disable PRESharp warning 6518. ListParaClient is an UnmamangedHandle, that adds itself 
            // to HandleMapper that holds a reference to it. PTS manages lifetime of this object, and
            // calls DestroyParaclient to get rid of it. DestroyParaclient will call Dispose() on the object 
            // and remove it from HandleMapper.
            ListParaClient paraClient =  new ListParaClient(this);
            paraClientHandle = paraClient.Handle;
#pragma warning restore 6518 
        }
Exemple #2
0
        /// <summary>
        /// CreateParaclient
        /// </summary>
        /// <param name="paraClientHandle">
        /// OUT: opaque to PTS paragraph client
        /// </param>
        internal override void CreateParaclient(
            out IntPtr paraClientHandle)
        {
#pragma warning disable 6518
            // Disable PRESharp warning 6518. ListParaClient is an UnmamangedHandle, that adds itself
            // to HandleMapper that holds a reference to it. PTS manages lifetime of this object, and
            // calls DestroyParaclient to get rid of it. DestroyParaclient will call Dispose() on the object
            // and remove it from HandleMapper.
            ListParaClient paraClient = new ListParaClient(this);
            paraClientHandle = paraClient.Handle;
#pragma warning restore 6518
        }
Exemple #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="host">
 /// TextFormatter host
 /// </param>
 /// <param name="paraClient">
 /// Owner of the ListMarker
 /// </param>
 internal ListMarkerLine(TextFormatterHost host, ListParaClient paraClient) : base(paraClient)
 {
     _host = host;
 }
Exemple #4
0
        // Token: 0x060068AF RID: 26799 RVA: 0x001D8BC8 File Offset: 0x001D6DC8
        internal override void CreateParaclient(out IntPtr paraClientHandle)
        {
            ListParaClient listParaClient = new ListParaClient(this);

            paraClientHandle = listParaClient.Handle;
        }
Exemple #5
0
 /// <summary> 
 /// Constructor
 /// </summary> 
 /// <param name="host"> 
 /// TextFormatter host
 /// </param> 
 /// <param name="paraClient">
 /// Owner of the ListMarker
 /// </param>
 internal ListMarkerLine(TextFormatterHost host, ListParaClient paraClient) : base(paraClient) 
 {
     _host = host; 
 }