コード例 #1
0
ファイル: QosPolicy.cs プロジェクト: Egipto87/DOOP.ec
 /// <summary>
 /// Get the QoS policy ID for the given QoS policy class.
 /// </summary>
 /// <param name="policyClass"></param>
 /// <param name="bootstrap">Identifies the Service instance to which the object will belong</param>
 /// <returns></returns>
 public static QosPolicyId GetId(System.Type policyClass, Bootstrap bootstrap)
 {
     return bootstrap.GetSPI().GetQosPolicyId(policyClass);
 }
コード例 #2
0
ファイル: GuardCondition.cs プロジェクト: Egipto87/DOOP.ec
        // -----------------------------------------------------------------------
        // Factory Methods
        // -----------------------------------------------------------------------

        /// <summary>
        /// 
        /// </summary>
        /// <param name="bootstrap">Identifies the Service instance to which the new object will belong</param>
        /// <returns></returns>
        public static GuardCondition NewGuardCondition(Bootstrap bootstrap)
        {
            return bootstrap.GetSPI().NewGuardCondition();
        }