public DisplayStringResourceAttribute(string resourceContainer, bool resourceFile, string baseName, Type usingResourceSet, string resourceName, string cultureName) { DisplayNameValue = (resourceFile) ? AttributeValueHelper.GetStringFromFileResource(resourceContainer, baseName, usingResourceSet, resourceName, cultureName) : AttributeValueHelper.GetStringFromResource(resourceContainer, baseName, usingResourceSet, resourceName, cultureName); }
public DisplayStringResourceAttribute(Type type, string baseName, Type usingResourceSet, string resourceName, string cultureName) { DisplayNameValue = AttributeValueHelper.GetStringFromResource(type, baseName, usingResourceSet, resourceName, cultureName); }