public TisStationDeclarationInfo(string serviceImplTypeName) : this() { System.Type serviceImplType = StringUtil.IsStringInitialized(serviceImplTypeName) ? System.Type.GetType(serviceImplTypeName) : default(System.Type); if (serviceImplType != null) { TisStationDeclarationAttribute stationDeclarationAttribute = (TisStationDeclarationAttribute)ReflectionUtil.GetAttribute(serviceImplType, typeof(TisStationDeclarationAttribute)); if (stationDeclarationAttribute != null) { Type = stationDeclarationAttribute.Type; SubType = stationDeclarationAttribute.SubType; } } }
public TisStationDeclarationInfo(TisStationDeclarationAttribute stationDeclarationAttribute) : this(stationDeclarationAttribute.Type, stationDeclarationAttribute.SubType) { }