To replace a constructor with a factory method
  1. In the editor, place the caret at a constructor.
  2. Choose ReSharper | Refactor | Replace Constructor with Factory Method. The Replace Constructor with Factory Method dialog box opens:
    Refactorings__Replace_Constructor_with_Factory_Method__dialog_box
  3. In the Factory method name text box, specify a name for the new factory method.
  4. In the In class drop-down list, specify the fully qualified name of the class that the factory method should instantiate.
  5. Click Next. If no conflicts are found, the refactoring is applied immediately. Otherwise, resolve conflicts.