Пример #1
0
 internal AzureResource(TargetServiceType serviceType, string id, AzureResourcePropertiesBase resourceProperties) : base(serviceType)
 {
     Id = id;
     ResourceProperties = resourceProperties;
     ServiceType        = serviceType;
 }
Пример #2
0
 internal ConfluentBootstrapServer(TargetServiceType serviceType, string endpoint) : base(serviceType)
 {
     Endpoint    = endpoint;
     ServiceType = serviceType;
 }
Пример #3
0
 internal ConfluentSchemaRegistry(TargetServiceType serviceType, string endpoint) : base(serviceType)
 {
     Endpoint    = endpoint;
     ServiceType = serviceType;
 }
Пример #4
0
 /// <summary>
 /// Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider"
 /// /> and <see cref="ignoreCase" />
 /// </summary>
 /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
 /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
 /// <param name="formatProvider">not used by this TypeConverter.</param>
 /// <param name="ignoreCase">when set to <c>true</c>, will ignore the case when converting.</param>
 /// <returns>
 /// an instance of <see cref="TargetServiceType" />, or <c>null</c> if there is no suitable conversion.
 /// </returns>
 public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => TargetServiceType.CreateFrom(sourceValue);
Пример #5
0
 internal TargetServiceBase(TargetServiceType serviceType)
 {
     ServiceType = serviceType;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApplicationEndpointSettings"/> class.
 /// </summary>
 /// <param name="applicationEndpointId">The application endpoint identifier.</param>
 public ApplicationEndpointSettings(SipUri applicationEndpointId)
 {
     ApplicationEndpointId = applicationEndpointId;
     TargetServiceType     = TargetServiceType.PlatformService;
 }