load assembly in DSC class resource

When defining a DSC resource using classes, how do I load an assembly so it’s types can be used as return values for helper methods ? For example,

 [Microsoft.SqlServer.Management.Smo.ConfigProperty] GetSqlFacet() { ... } 

I can load the assembly within the methods, but I need something more akin to the using statement in c#.

Thanks.

My suggestion would be to modify the manifest (something.psd1) of your DSC resource module, uncomment RequiredAssemblies and specify the required assemblies as an array.

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @('C:\.\xzy.dll','abc.dll')

Brilliant.

Thanks.