Class DeviceExtensions
Namespace: Belay.Sync
Assembly: Belay.Sync.dll
Extension methods to add file system support to Device instances. This approach avoids circular dependencies between Belay.Core and Belay.Sync.
csharp
public static class DeviceExtensions
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Gets a DeviceFileSystem instance for the specified device with lazy initialization. This is the recommended approach for performance-sensitive scenarios.
GetFileSystem(Device, ILogger<DeviceFileSystem>?)
Gets or creates a DeviceFileSystem instance for the specified device.