Show / Hide Table of Contents

Class OverlayBinding

Make a chosen Implementation available by overlaying it onto another part of the file-system.

Inheritance
Object
XmlUnknown
FeedElement
Binding
OverlayBinding
Implements
IEquatable<XmlUnknown>
IEquatable<FeedElement>
ICloneable<Binding>
IEquatable<OverlayBinding>
Inherited Members
Binding.Normalize()
FeedElement.FilterMismatch<T>(T)
FeedElement.FilterMismatch(IRecipeStep)
FeedElement.Equals(FeedElement)
FeedElement.IfZeroInstallVersion
FeedElement.IfZeroInstallVersionString
XmlUnknown.UnknownAttributes
XmlUnknown.UnknownElements
XmlUnknown.EnsureAttribute(Object, String)
XmlUnknown.EnsureAttributeSafeID(String, String)
XmlUnknown.ToShortXml()
XmlUnknown.Equals(XmlUnknown)
Namespace: ZeroInstall.Model
Assembly: ZeroInstall.Model.dll
Syntax
public sealed class OverlayBinding : Binding
Remarks

This is to support legacy programs which use hard-coded paths.

Constructors

OverlayBinding()

Declaration
public OverlayBinding()

Properties

MountPoint

The mount point on which src is to appear in the filesystem. If missing, '/' (on POSIX) or '%systemdrive%' (on Windows) is assumed.

Declaration
public string MountPoint { get; set; }
Property Value
Type Description
String

Source

The relative path of the directory in the implementation to publish. The default is to publish everything.

Declaration
public string Source { get; set; }
Property Value
Type Description
String

Methods

Clone()

Creates a deep copy of this OverlayBinding instance.

Declaration
public override Binding Clone()
Returns
Type Description
Binding

The new copy of the OverlayBinding.

Overrides
Binding.Clone()

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
FeedElement.Equals(Object)

Equals(OverlayBinding)

Declaration
public bool Equals(OverlayBinding other)
Parameters
Type Name Description
OverlayBinding other
Returns
Type Description
Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
FeedElement.GetHashCode()

ToString()

Returns the binding in the form "Source => MountPoint". Not safe for parsing!

Declaration
public override string ToString()
Returns
Type Description
String

Operators

Equality(OverlayBinding, OverlayBinding)

Indicates whether the object on the left is equal to the object on the right.

Declaration
public static bool operator ==(OverlayBinding left, OverlayBinding right)
Parameters
Type Name Description
OverlayBinding left

The left object

OverlayBinding right

The right object

Returns
Type Description
Boolean

true if the objects are equal; otherwise, false.

Inequality(OverlayBinding, OverlayBinding)

Indicates whether the object on the left is not equal to the object on the right.

Declaration
public static bool operator !=(OverlayBinding left, OverlayBinding right)
Parameters
Type Name Description
OverlayBinding left

The left object

OverlayBinding right

The right object

Returns
Type Description
Boolean

true if the objects are not equal; otherwise, false.

Implements

System.IEquatable<T>
System.IEquatable<T>
ICloneable<T>
System.IEquatable<T>
In This Article
Back to top Copyright Bastian Eicher et al