C# Class Castle.ManagementExtensions.ManagedObjectName

Inheritance: ISerializable
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Protected Properties

Свойство Type Description
allProperties bool
domain String
literalProperties String
properties System.Collections.Hashtable

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
ManagedObjectName ( SerializationInfo info, StreamingContext context ) : System

Serialization constructor.

ManagedObjectName ( String name ) : System

Creates a ManagedObjectName using a name pattern like "domain:key=value,key2=value2"

ManagedObjectName ( String domain, Hashtable properties ) : System

Creates a ManagedObjectName with specified domain and properties.

ManagedObjectName ( String domain, String properties ) : System

Creates a ManagedObjectName with specified domain and properties.

ToString ( ) : string
this ( String key ) : String

Méthodes protégées

Méthode Description
Setup ( String name ) : void

Parses the full name extracting the domain and properties.

SetupDomain ( String domain ) : void

Sets up the domain. Can be empty but can't be null.

SetupProperties ( Hashtable properties ) : void

Validates a properties Hashtable.

SetupProperties ( String properties ) : void

Parses and validate a properties list string like "key=value,key2=value2" and so on.

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

ManagedObjectName() public méthode

Serialization constructor.
public ManagedObjectName ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

ManagedObjectName() public méthode

Creates a ManagedObjectName using a name pattern like "domain:key=value,key2=value2"
public ManagedObjectName ( String name ) : System
name String Complete name
Résultat System

ManagedObjectName() public méthode

Creates a ManagedObjectName with specified domain and properties.
public ManagedObjectName ( String domain, Hashtable properties ) : System
domain String Domain name
properties System.Collections.Hashtable Property list.
Résultat System

ManagedObjectName() public méthode

Creates a ManagedObjectName with specified domain and properties.
public ManagedObjectName ( String domain, String properties ) : System
domain String Domain name
properties String Property list.
Résultat System

Setup() protected méthode

Parses the full name extracting the domain and properties.
protected Setup ( String name ) : void
name String Full name.
Résultat void

SetupDomain() protected méthode

Sets up the domain. Can be empty but can't be null.
protected SetupDomain ( String domain ) : void
domain String
Résultat void

SetupProperties() protected méthode

Validates a properties Hashtable.
protected SetupProperties ( Hashtable properties ) : void
properties System.Collections.Hashtable Property list.
Résultat void

SetupProperties() protected méthode

Parses and validate a properties list string like "key=value,key2=value2" and so on.
protected SetupProperties ( String properties ) : void
properties String Property list.
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

public this ( String key ) : String
key String
Résultat String

Property Details

allProperties protected_oe property

protected bool allProperties
Résultat bool

domain protected_oe property

protected String domain
Résultat String

literalProperties protected_oe property

protected String literalProperties
Résultat String

properties protected_oe property

protected Hashtable,System.Collections properties
Résultat System.Collections.Hashtable