/// <summary> /// Whether an initial value is required for the specified subscription. /// This only applies to market data subscriptions and not to basic subscriptions. /// Default value of true indicating that initial values are required. /// </summary> /// <param name="requiresInitial"> /// True if the subscription requires an initial. /// </param> public void setRequiresInitial(bool requiresInitial) { // Verify that the native subscription has been allocated EnsurePeerCreated(); // Convert the boolean to an integer value for the native call int requiresInit = requiresInitial ? 1 : 0; // Call the native layer CheckResultCode(SubscriptionNativeMethods.mamaSubscription_setRequiresInitial(NativeHandle, requiresInit)); }