GetFileVersion Method
Definition
- Namespace
- Cuemon.Reflection
- Assemblies
- Cuemon.Core.dll
GetFileVersion(IDecorator<Assembly>)
Returns a VersionResult that represents the AssemblyFileVersionAttribute of the underlying Assembly of the decorator.
public static VersionResult GetFileVersion(this IDecorator<Assembly> decorator)
Parameters
decoratorIDecorator<Assembly>The IDecorator<T> to extend.
Returns
- VersionResult
A VersionResult that represents the file version of the underlying Assembly of the
decorator; null if no AssemblyFileVersionAttribute could be retrieved.
Exceptions
- ArgumentNullException
decoratorcannot be null.