Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.PackageSupport.Junction Class

Implements junctions (symlinks).

YetaWF makes use of junctions (symlinks) to map addons (JavaScript and CSS files) from packages into the .\Website\wwwroot\Addons folder (.\Website\Addons on .NET) on development systems. It also maps the website's node_modules folder into each package source code folder to avoid duplication.

Much of this was gladly accepted from Manipulating NTFS Junction Points in .NET (https://www.codeproject.com/Articles/15633/Manipulating-NTFS-Junction-Points-in-NET).

Namespace: YetaWF.Core.PackageSupport
Assembly: YetaWF.Core

Inheritance

Syntax

public static class Junction;

Constructors

This class cannot be instantiated.

Methods

PublicStaticCreateAsyncCreates a junction point from the specified directory to the specified target directory.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
PublicStaticExistsAsyncDetermines whether the specified path exists and refers to a junction point.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

See Also YetaWF.Core Overview