public static BlockComponent CreateBlockComponent(XDesign_DesignBlock xDesignBlock) { var result = BlockComponent.Create( xDesignBlock.blockCategory ?? Constants.DefaultComponentCategory, xDesignBlock.blockName, CreateFabricStyleList(xDesignBlock.fabricStyles)); return(result); }