C# 클래스 ZeroInstall.Store.Model.Element

상속: TargetBase, IBindingContainer, IDependencyContainer, ICloneable
파일 보기 프로젝트 열기: 0install/0install-win 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCommand Command
ICloneable object
InheritFrom void
this Command

공개 메소드들

메소드 설명
Clone ( ) : Element

Creates a deep copy of this Element instance.

ContainsCommand ( string name ) : bool

Determines whether Commands contains a Command with a specific name.

GetHashCode ( ) : int
Normalize ( [ feedUri ) : void

Sets missing default values and handles legacy elements.

This method should be called to prepare a Feed for solver processing. Do not call it if you plan on serializing the feed again since it may loose some of its structure.

보호된 메소드들

메소드 설명
CloneFromTo ( [ from, [ to ) : void

Copies all known values from one instance to another. Helper method for instance cloning.

Equals ( Element other ) : bool

비공개 메소드들

메소드 설명
GetCommand ( [ name ) : Command
ICloneable ( ) : object
InheritFrom ( [ parent ) : void

Transfers attributes from another Element object to this one. Existing values are not replaced. Provides an inheritance-like relation.

this ( [ name ) : Command

메소드 상세

Clone() 공개 추상적인 메소드

Creates a deep copy of this Element instance.
public abstract Clone ( ) : Element
리턴 Element

CloneFromTo() 보호된 정적인 메소드

Copies all known values from one instance to another. Helper method for instance cloning.
protected static CloneFromTo ( [ from, [ to ) : void
from [
to [
리턴 void

ContainsCommand() 공개 메소드

Determines whether Commands contains a Command with a specific name.
public ContainsCommand ( string name ) : bool
name string The to look for; for none.
리턴 bool

Equals() 보호된 메소드

protected Equals ( Element other ) : bool
other Element
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Normalize() 공개 메소드

Sets missing default values and handles legacy elements.
This method should be called to prepare a Feed for solver processing. Do not call it if you plan on serializing the feed again since it may loose some of its structure.
public Normalize ( [ feedUri ) : void
feedUri [ The feed the data was originally loaded from.
리턴 void