GetExpandedPaths() public static method

public static GetExpandedPaths ( string expandedPaths ) : HashSet
expandedPaths string
return HashSet
Exemplo n.º 1
0
 public ServerSerializationContext(
     ITypeResolver typeMapper,
     string expandedPaths,
     bool debugMode,
     IUriResolver uriResolver,
     IContainer container
     )
 {
     if (typeMapper == null)
     {
         throw new ArgumentNullException(nameof(typeMapper));
     }
     if (expandedPaths == null)
     {
         throw new ArgumentNullException(nameof(expandedPaths));
     }
     if (uriResolver == null)
     {
         throw new ArgumentNullException(nameof(uriResolver));
     }
     if (container == null)
     {
         throw new ArgumentNullException(nameof(container));
     }
     TypeMapper       = typeMapper;
     DebugMode        = debugMode;
     this.uriResolver = uriResolver;
     this.container   = container;
     ExpandedPaths    = ExpandPathsUtils.GetExpandedPaths(expandedPaths);
 }