parameters: (self, path, version, entries=None, variants=None,
                 websiteProperties=True)
docstring: Initializes the solution.
  
      Args:
        path: Path to solution file.
        version: Format version to emit.
        entries: List of entries in solution.  May contain Folder or Project
            objects.  May be None, if the folder is empty.
        variants: List of build variant strings.  If none, a default list will
            be used.
        websiteProperties: Flag to decide if the website properties section
            is generated.
docstring_summary: Initializes the solution.
docstring_tokens: Initializes the solution .
function: def __init__(self, path, version, entries=None, variants=None,
                 websiteProperties=True):
      """Initializes the solution.
  
      Args:
        path: Path to solution file.
        version: Format version to emit.
        entries: List of entries in solution.  May contain Folder or Project
            objects.  May be None, if the folder is empty.
        variants: List of build variant strings.  If none, a default list will
            be used.
        websiteProperties: Flag to decide if the website properties section
            is generated.
      """
      self.path = path
      self.websiteProperties = websiteProperties
      self.version = version
  
      # Copy passed lists (or set to empty lists)
      self.entries = list(entries or [])
  
      if variants:
        # Copy passed list
        self.variants = variants[:]
      else:
        # Use default
        self.variants = ['Debug|Win32', 'Release|Win32']
      # TODO(rspangler): Need to be able to handle a mapping of solution config
      # to project config.  Should we be able to handle variants being a dict,
      # or add a separate variant_map variable?  If it's a dict, we can't
      # guarantee the order of variants since dict keys aren't ordered.
  
  
      # TODO(rspangler): Automatically write to disk for now; should delay until
      # node-evaluation time.
      self.Write()
function_tokens: def __init__ ( self , path , version , entries = None , variants = None , websiteProperties = True ) : self . path = path self . websiteProperties = websiteProperties self . version = version # Copy passed lists (or set to empty lists) self . entries = list ( entries or [ ] ) if variants : # Copy passed list self . variants = variants [ : ] else : # Use default self . variants = [ 'Debug|Win32' , 'Release|Win32' ] # TODO(rspangler): Need to be able to handle a mapping of solution config # to project config.  Should we be able to handle variants being a dict, # or add a separate variant_map variable?  If it's a dict, we can't # guarantee the order of variants since dict keys aren't ordered. # TODO(rspangler): Automatically write to disk for now; should delay until # node-evaluation time. self . Write ( )