> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class Extensions

Namespace: [Phoenix.Pacz.Impl](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl)\
Assembly: Phoenix.Pacz.dll

Contains extension and utility methods for the Pacz Implementation.

```csharp theme={null}
public static class Extensions

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[Extensions](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

[GetComponentName(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.GetComponentName.md#getcomponentname-string)

Gets the name of a component from the component's source URI.

[GetPaczName(MinervaRemote, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.GetPaczName.md)

Get the name of this MinervaRemote object's pacz. Requested creation
items are considered in this name.

[GetPaczUploadLocation(MinervaRemote)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.GetPaczUploadLocation.md#getpaczuploadlocation-minervaremote)

Return the remote path to upload this pacz to. For a compressed
pacz, it is the folder containing the .pacz file. For an expanded
pacz, it is the grandparent of the .pacj file. Requested creation
items are considered for this location.

[IsPaczReadOnly(MinervaRemote)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.IsPaczReadOnly.md#ispaczreadonly-minervaremote)

True if Saving to Minerva is not supported for the file

[OpenExtractedOrCompressedPaczFileAsync(IPaczClient, string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.OpenExtractedOrCompressedPaczFileAsync.md)

Opens a PACZ file or directory. This mehod determines whether the PACZ is extracted or compressed based on
whether the path to the PACZ ends with a .pacz file.

[OpenExtractedOrCompressedPaczFileAsync(IPaczClient, string, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.OpenExtractedOrCompressedPaczFileAsync.md)

Opens a PACZ file or directory.

[PointsToComponentPacj(MinervaRemote)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.PointsToComponentPacj.md#pointstocomponentpacj-minervaremote)

True if this MinervaRemote object is pointing to a component.pacj
file, false otherwise. Requested creation items are considered.

[StartSessionForLocalExtractedOrCompressedPaczAsync(IHarnessRunnerClient, string, IRunnerSessionOptions)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.StartSessionForLocalExtractedOrCompressedPaczAsync.md#startsessionforlocalextractedorcompressedpaczasync-iharnessrunnerclient-string-irunnersessionoptions)

[ToSafeSourceString(Uri)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.Pacz.Impl.Extensions.ToSafeSourceString.md#tosafesourcestring-uri)

Get a string representation of the URI, but omits the "file:///" scheme for file URI
This makes the string play nice with methods like `System.IO.File.Exists(System.String)`
