public TisServiceInfo( string sServiceName, string sServiceCreatorType, string sServiceImplType, string[] RequiredRoles, ServicesUsingMode usingMode) { Init( sServiceName, sServiceCreatorType, sServiceImplType, RequiredRoles, usingMode); }
protected static ITisServiceInfo CreateServiceInfo( string serviceName, string creatorType, string[] requiredRoles, string implType, ServicesUsingMode usingMode = ServicesUsingMode.Free) { return(new TisServiceInfo( serviceName, creatorType, implType, requiredRoles, usingMode)); }
private void Init( string sServiceName, string sServiceCreatorType, string sServiceImplType, string[] RequiredRoles, ServicesUsingMode usingMode) { lock (m_locker) { m_sServiceCreatorType = sServiceCreatorType; m_sServiceName = sServiceName; m_sServiceImplType = sServiceImplType; m_NodeRoles = RequiredRoles; UsingMode = usingMode; } }
public TisWebServiceInfo( string name, string contractType, string creatorType, string implementationType, string[] requiredRoles, bool isInternal, bool isAutoStart, bool isSingleton, string configurationName, ServicesUsingMode usingMode) : base(name, creatorType, implementationType, requiredRoles, usingMode) { WebServiceContractType = contractType; WebServiceConfigurationName = configurationName; WebServiceIsAutoStart = isAutoStart; WebServiceIsInternal = isInternal; WebServiceIsSingleton = isSingleton; }
protected void InternalInstallService( string sServiceName, string sServiceCreatorType, string sServiceImplType, string[] NodeRoles, bool bFromSchema, bool freeUse) { ServicesUsingMode servicesUsingMode = freeUse ? ServicesUsingMode.Free : ServicesUsingMode.Restricted; // Create new service info record TisServiceInfo oServiceInfo = new TisServiceInfo( sServiceName, sServiceCreatorType, sServiceImplType, NodeRoles, servicesUsingMode); oServiceInfo.SetFromSchema(bFromSchema); // Add it to map m_oInstalledServices[sServiceName] = oServiceInfo; }
protected static ITisServiceInfo CreateWebServiceInfo( string name, string contractType, string creatorType, string[] requiredRoles, string implementationType, bool isInternal = false, bool isAutoStart = false, bool isSingleton = false, string configurationName = null, ServicesUsingMode usingMode = ServicesUsingMode.Free) { return(new TisWebServiceInfo( name, contractType, creatorType, implementationType, requiredRoles, isInternal, isAutoStart, isSingleton, configurationName, usingMode)); }