RetrieveWorkflowMappings() public method

Retrieve Workflow Mappings
public RetrieveWorkflowMappings ( string mappingFileName ) : NWFMappingEntries
mappingFileName string
return NWFMappingEntries
 private void DeployWorkflows(SPFeatureReceiverProperties properties)
 {
     var workflowAdapter = new NWFAdapter(properties);
     //Workflows
     var workflowMappings = workflowAdapter.RetrieveWorkflowMappings("NWMappings.xml");
     foreach (var nwMappingEntry in workflowMappings)
     {
         try
         {
             workflowAdapter.PublishReusableWorkflow(nwMappingEntry);
             WorkflowUtilities.BindWorkflow((SPWeb)properties.Feature.Parent, nwMappingEntry.BindingName, nwMappingEntry.WorkflowName);
         }
         catch (Exception ex)
         {
             NWLoggingService.WriteError(ex);
         }
     }
 }