示例#1
0
        // -----------------------------------------------------------------------
        // Singleton Access
        // -----------------------------------------------------------------------

        /// <summary>
        /// 
        /// </summary>
        /// <param name="bootstrap">Identifies the Service instance to which the
        ///                         object will belong
        /// </param>
        /// <returns></returns>
        public static DynamicTypeFactory GetInstance(Bootstrap bootstrap)
        {
            return bootstrap.GetSPI().GetTypeFactory();
        }
示例#2
0
        // -----------------------------------------------------------------------
        // Factory Methods
        // -----------------------------------------------------------------------

        /// <summary>
        /// 
        /// </summary>
        /// <param name="bootstrap">Identifies the Service instance to which the new object will belong</param>
        /// <returns></returns>
        public static WaitSet NewWaitSet(Bootstrap bootstrap)
        {
            return bootstrap.GetSPI().NewWaitSet();
        }
 /// <summary>
 /// Singleton Access
 /// </summary>
 /// <param name="bootstrap">Identifies the Service instance to which the
 ///                         object will belong</param>
 /// <returns></returns>
 public static DomainParticipantFactory GetInstance(Bootstrap bootstrap)
 {
     return bootstrap.GetSPI().GetParticipantFactory();
 }