/// <summary> /// Froms the assembly. /// </summary> /// <param name="type">The type.</param> /// <returns></returns> public static AssemblyDescriptor FromAssembly(Type type) { return(AssemblyDescriptorFactory.CreateFromAssembly(Assembly.GetAssembly(type))); }
/// <summary> /// Froms the assembly. /// </summary> /// <param name="assemblyFile">The assembly file.</param> /// <returns></returns> public static AssemblyDescriptor FromAssembly(string assemblyFile) { var assembly = GetAssembly(assemblyFile); return(AssemblyDescriptorFactory.CreateFromAssembly(assembly)); }
/// <summary> /// Froms the this assembly. /// </summary> /// <returns></returns> public static AssemblyDescriptor FromThisAssembly() { return(AssemblyDescriptorFactory.CreateFromAssembly(Assembly.GetCallingAssembly())); }