Castle.Core This attribute is usefull only when you want to register all components on an assembly as a batch process. By doing so, the batch register will look for this attribute to distinguish components from other classes. Base for Attributes that want to express lifestyle chosen by the component. Initializes a new instance of the class. The type. Gets or sets the lifestyle. The lifestyle. Used to declare that a component wants interceptors acting on it. Constructs the InterceptorAttribute pointing to a key to a interceptor Constructs the InterceptorAttribute pointing to a service Indicates that the target components wants a singleton lifestyle. Initializes a new instance of the class. Indicates that the target components wants a transient lifestyle. Initializes a new instance of the class. Indicates that the target components wants a per thread lifestyle. Initializes a new instance of the class. Indicates that the target components wants a pooled lifestyle. Initializes a new instance of the class using the default initial pool size (5) and the max pool size (15). Initializes a new instance of the class. Initial size of the pool. Max pool size. Gets the initial size of the pool. The initial size of the pool. Gets the maximum pool size. The size of the max pool. Indicates that the target components wants a custom lifestyle. Initializes a new instance of the class. The lifestyle handler. Gets the type of the lifestyle handler. The type of the lifestyle handler. New interface that is going to be used by DynamicProxy 2 New interface that is going to be used by DynamicProxy 2 Returns the method on the target of invocation, which can be for example the method defined on an interface, if dealing with an interface proxy Interface that should be implemented by any component that wishes to be referenced as interceptor. This interface will be replaced by IInterceptor Method invoked by the proxy in order to allow the interceptor to do its work before and after the actual invocation. The invocation holds the details of this interception The original method arguments The return value of this invocation Supply information about the current method invocation. This interface will be replaced by IInvocation The Proceed go on with the actual invocation. The arguments of the method The proxy instance. The target of this invocation, which usually is the instance of the class being proxy. You might change the target, but be aware of the implications. The Method being invoked. The Method being invoked on the target. Interceptors might implement this to receive the ComponentModel on behalf of the component where the interceptor is acting. Basic implementation of Intercepts the specified invocation. The invocation. Pre-process the invocation. The invocation. Post-process the invocation. The invocation. Abstract representation of a vertex. Kind of copy constructor The nodes that dependes on this node The nodes that this node depends Represents a collection of objects which are guaranted to be unique and holds a color for them Holds a timestamp (integer) for a given item Returns the node at the specified index. The lookup index. The node at the specified index. If the specified is greater than the number of objects within the list. Validates the specified index. The lookup index. If the index is invalid. Lifecycle interface. If implemented by a component, the method Initialized will be invoked by the container before making the component available to the external world. Implementors should perform any initialization logic. Only called for components that belongs to a pool when the component comes back to the pool. Implementors should perform any initialization/clean up. Interface for components that wish to be started by the container Starts this instance. Stops this instance. Manages the instantiation of s. Creates a new logger, getting the logger name from the specified type. Creates a new logger. Creates a new logger, getting the logger name from the specified type. Creates a new logger. Gets the configuration file. i.e. log4net.config Summary description for ConsoleFactory. NullLogFactory used when logging is turned off. Creates an instance of ILogger with the specified name. Name. Creates an instance of ILogger with the specified name and LoggerLevel. Name. Level. Creates outputing to files. The name of the file is derived from the log name plus the 'log' extension. The Logger sending everything to the standard output streams. This is mainly for the cases when you have a utility that does not have a logger to supply. The Level Filtered Logger class. This is a base clase which provides a LogLevel attribute and reroutes all functions into one Log method. Manages logging. This is a facade for the different logging subsystems. It offers a simplified interface that follows IOC patterns and a simplified priority/level/severity abstraction. Logs a debug message. The Message Logs a debug message. The Message The Exception Logs a debug message. Message format Array of objects to write using format Logs an info message. The Message Logs an info message. The Message The Exception Logs an info message. Message format Array of objects to write using format Logs a warn message. The Message Logs a warn message. The Message The Exception Logs a warn message. Message format Array of objects to write using format Logs an error message. The Message Logs an error message. The Message The Exception Logs an error message. Message format Array of objects to write using format Logs a fatal error message. The Message Logs a fatal error message. The Message The Exception Logs a fatal error message. Message format Array of objects to write using format Create a new child logger. The name of the child logger is [current-loggers-name].[passed-in-name] The Subname of this logger. The New ILogger instance. If the name has an empty element name. Determines if messages of priority "debug" will be logged. True if "debug" messages will be logged. Determines if messages of priority "info" will be logged. True if "info" messages will be logged. Determines if messages of priority "warn" will be logged. True if "warn" messages will be logged. Determines if messages of priority "error" will be logged. True if "error" messages will be logged. Determines if messages of priority "fatalError" will be logged. True if "fatalError" messages will be logged. Creates a new LevelFilteredLogger. Keep the instance alive in a remoting scenario Logs a debug message. The Message Logs a debug message. The Message The Exception Logs a debug message. Message format Array of objects to write using format Logs an info message. The Message Logs an info message. The Message The Exception Logs an info message. Message format Array of objects to write using format Logs a warn message. The Message Logs a warn message. The Message The Exception Logs an warn message. Message format Array of objects to write using format Logs an error message. The Message Logs an error message. The Message The Exception Logs an error message. Message format Array of objects to write using format Logs a fatal error message. The Message Logs a fatal error message. The Message The Exception Logs a fatal error message. Message format Array of objects to write using format Implementors output the log content by implementing this method only. Note that exception can be null The LoggerLevel that this logger will be using. Defaults to LoggerLevel.Off The name that this logger will be using. Defaults to String.Empty Determines if messages of priority "debug" will be logged. true if log level flags include the bit Determines if messages of priority "info" will be logged. true if log level flags include the bit Determines if messages of priority "warn" will be logged. true if log level flags include the bit Determines if messages of priority "error" will be logged. true if log level flags include the bit Determines if messages of priority "fatal" will be logged. true if log level flags include the bit Creates a new ConsoleLogger with the Level set to LoggerLevel.Debug and the Name set to String.Empty. Creates a new ConsoleLogger with the Name set to String.Empty. The logs Level. Creates a new ConsoleLogger with the Level set to LoggerLevel.Debug. The logs Name. Creates a new ConsoleLogger. The logs Name. The logs Level. A Common method to log. The level of logging The name of the logger The Message The Exception Returns a new ConsoleLogger with the name added after this loggers name, with a dot in between. The added hierarchical name. A new ConsoleLogger. The Logger using standart Diagnostics namespace. Creates a logger based on . Creates a logger based on . Creates a logger based on . The Null Logger class. This is useful for implementations where you need to provide a logger to a utility class, but do not want any output from it. It also helps when you have a utility that does not have a logger to supply. Creates a new NullLogger. No-op. Ignored No-op. Ignored Ignored No-op. Ignored Ignored No-op. Ignored No-op. Ignored Ignored No-op. Ignored Ignored No-op. Ignored No-op. Ignored Ignored No-op. Ignored Ignored No-op. Ignored No-op. Ignored Ignored No-op. Ignored Ignored No-op. Ignored No-op. Ignored Ignored No-op. Ignored Ignored Returns this NullLogger. Ignored This ILogger instance. No-op. false No-op. false No-op. false No-op. false No-op. false The Stream Logger class. This class can stream log information to any stream, it is suitable for storing a log file to disk, or to a MemoryStream for testing your components. This logger is not thread safe. Creates a new StreamLogger with default encoding and buffer size. Initial Level is set to Debug. The name of the log. The stream that will be used for logging, seeking while the logger is alive Creates a new StreamLogger with default buffer size. Initial Level is set to Debug. The name of the log. The stream that will be used for logging, seeking while the logger is alive The encoding that will be used for this stream. Creates a new StreamLogger. Initial Level is set to Debug. The name of the log. The stream that will be used for logging, seeking while the logger is alive The encoding that will be used for this stream. The buffer size that will be used for this stream. Creates a new StreamLogger with Debug as default Level. The name of the log. The StreamWriter the log will write to. The WebLogger sends everything to the HttpContext.Trace Trace must be enabled on the Asp.Net configuration file (web.config or machine.config) Creates a new WebLogger with the priority set to DEBUG. Creates a new WebLogger. The Log level typecode. Creates a new WebLogger. The Log name. Creates a new WebLogger. The Log name. The Log level typecode. A Common method to log. The level of logging The Message The Exception Just returns this logger (WebLogger is not hierarchical). Ignored This ILogger instance. Supporting Logger levels. Logging will be off Fatal logging level Error logging level Warn logging level Info logging level Debug logging level This is an abstract implementation that deals with methods that can be abstracted away from underlying implementations. AbstractConfiguration makes easier to implementers to create a new version of Summary description for IConfiguration. is a interface encapsulating a configuration node used to retrieve configuration values. Gets the value of the node and converts it into specified . The The Default value returned if the convertion fails. The Value converted into the specified type. Gets the name of the node. The Name of the node. Gets the value of the node. The Value of the node. Gets an of elements containing all node children. The Collection of child nodes. Gets an of the configuration attributes. Gets the value of the node and converts it into specified . The The Default value returned if the convertion fails. The Value converted into the specified type. Gets the name of the . The Name of the . Gets the value of . The Value of the . Gets all child nodes. The of child nodes. Gets node attributes. All attributes of the node. A collection of objects. Creates a new instance of ConfigurationCollection. Creates a new instance of ConfigurationCollection. Creates a new instance of ConfigurationCollection. Adds an . The to add. The index at which the new element was inserted. Adds an array of . The Array of to add. Adds a . The to add. Copies the elements to a one-dimensional instance at the specified index. The one-dimensional must have zero-based indexing. The zero-based index in array at which copying begins. Gets a value indicating whether the contains in the collection. The to locate. if the is contained in the collection; otherwise, . Removes a specific from the collection. The to remove from the collection. is not found in the collection. Represents the entry at the specified index of the . The zero-based index of the entry to locate in the collection. The entry at the specified index of the collection. is outside the valid range of indexes for the collection. Summary description for MutableConfiguration. Enumeration used to mark the component's lifestyle. No lifestyle specified. Singleton components are instantiated once, and shared between all clients. Thread components have a unique instance per thread. Transient components are created on demand. Optimization of transient components that keeps instance in a pool instead of always creating them. Any other logic to create/release components. Represents the collection of information and meta information collected about a component. Name (key) of the component Service exposed Implementation for the service Extended properties Lifestyle for the component Custom lifestyle, if any Custom activator, if any Dependencies the kernel must resolve All available constructors All potential properties that can be setted by the kernel Steps of lifecycle External parameters Configuration node associated Interceptors associated Constructs a ComponentModel Sets or returns the component key Gets or sets the service exposed. The service. Gets or sets the component implementation. The implementation. Gets or sets a value indicating whether the component requires generic arguments. true if generic arguments are required; otherwise, false. Gets or sets the extended properties. The extended properties. Gets the constructors candidates. The constructors. Gets the properties set. The properties. Gets or sets the configuration. The configuration. Gets the lifecycle steps. The lifecycle steps. Gets or sets the lifestyle type. The type of the lifestyle. Gets or sets the strategy for inspecting public properties on the components Gets or sets the custom lifestyle. The custom lifestyle. Gets or sets the custom component activator. The custom component activator. Gets the interceptors. The interceptors. Gets the parameter collection. The parameters. Dependencies are kept within constructors and properties. Others dependencies must be registered here, so the kernel (as a matter of fact the handler) can check them Represents a constructor of the component that the container can use to initialize it properly. Initializes a new instance of the class. The constructor info. The dependencies. Gets the ConstructorInfo (from reflection). The constructor. Gets the dependencies this constructor candidate exposes. The dependencies. Gets or sets the points (used to decided the constructor to use) The points. Collection of Adds the specified candidate. The candidate. Clears this instance. Gets the fewer arguments candidate. The fewer arguments candidate. Gets or sets the best candidate. The best candidate. Represents a dependency (other component or a fixed value available through external configuration). Initializes a new instance of the class. The type. The dependency key. Type of the target. if set to true [is optional]. Returns a that represents the current . A that represents the current . Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. A hash code for the current . Determines whether the specified is equal to the current . The to compare with the current . if the specified is equal to the current ; otherwise, . Gets or sets the type of the dependency. The type of the dependency. Gets or sets the dependency key. The dependency key. Gets the type of the target. The type of the target. Gets or sets whether this dependency is optional. true if this dependency is optional; otherwise, false. Collection of . Initializes a new instance of the class. Initializes a new instance of the class. The dependencies. Initializes a new instance of the class. The dependencies. Adds the specified model. The model. Removes the specified model. The model. Clears this instance. Determines whether this collection contains the the specified model. The model. true if the collection contains the specified model; otherwise, false. Represents an reference to a Interceptor component. Initializes a new instance of the class. The component key. Initializes a new instance of the class. Type of the service. Gets the type of the service. The type of the service. Gets the interceptor component key. The component key. Gets the type of the reference. The type of the reference. Collection of Adds the specified interceptor. The interceptor. Adds the the specified interceptor as the first. The interceptor. Adds the the specified interceptor as the last. The interceptor. Inserts the specified interceptor at the specified index. The index. The interceptor. When implemented by a class, copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in at which copying begins. is . is less than zero. is multidimensional. -or- is equal to or greater than the length of . -or- The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination . Returns an enumerator that can iterate through a collection. An that can be used to iterate through the collection. Gets a value indicating whether this instance has interceptors. true if this instance has interceptors; otherwise, false. Gets the number of elements contained in the . Gets an object that can be used to synchronize access to the . Gets a value indicating whether access to the is synchronized (thread-safe). Represents a collection of ordered lifecycle steps. Initializes a new instance of the class. Returns all steps for the commission phase Returns all steps for the decommission phase Adds a step to the commission or decomission phases. Copies the elements of the to an , starting at a particular index. The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. The zero-based index in at which copying begins. is . is less than zero. is multidimensional. -or- is equal to or greater than the length of . -or- The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination . Returns an enumerator that can iterate through a collection. An that can be used to iterate through the collection. Gets a value indicating whether this instance has commission steps. true if this instance has commission steps; otherwise, false. Gets a value indicating whether this instance has decommission steps. true if this instance has decommission steps; otherwise, false. Gets the number of elements contained in the . Gets an object that can be used to synchronize access to the . Gets a value indicating whether access to the is synchronized (thread-safe). Represents meta information associated with a method (not yet defined) Initializes a new instance of the class. The config node. Gets the config node. The config node. Collection of Adds the specified model. The model. Gets the method info2 model. The method info2 model. Represents a parameter. Usually the parameter comes from the external world, ie, an external configuration. Initializes a new instance of the class. The name. The value. Initializes a new instance of the class. The name. The value. Gets the name. The name. Gets the value. The value. Gets the config value. The config value. Collection of Initializes a new instance of the class. Adds the specified name. The name. The value. Adds the specified name. The name. The config node. Determines whether this collection contains the specified key. The key. true if yes; otherwise, false. Adds the specified key. Not implemented The key. The value. Clears this instance. Not implemented Removes the specified key. The key. Not implemented Copy the content to the specified array target array target index Not implemented Returns an enumerator that can iterate through a collection. An that can be used to iterate through the collection. Gets the keys. The keys. Not implemented Gets the values. The values. Not implemented Gets a value indicating whether this instance is read only. true if this instance is read only; otherwise, false. Gets a value indicating whether this instance is fixed size. true if this instance is fixed size; otherwise, false. Gets the with the specified key. Gets the count. The count. Gets the sync root. The sync root. Gets a value indicating whether this instance is synchronized. true if this instance is synchronized; otherwise, false. Represents a property and the respective dependency. Initializes a new instance of the class. The property info. The dependency. Gets the property. The property. Gets the dependency. The dependency. Collection of Adds the specified property. The property. Clears this instance. Finds a PropertySet the by PropertyInfo. The info. Represents a 'streamable' resource. Can be a file, a resource in an assembly. Returns a reader for the stream It's up to the caller to dispose the reader. Returns a reader for the stream It's up to the caller to dispose the reader. Returns an instance of created according to the relativePath using itself as the root. Only valid for resources that can be obtained through relative paths Do not allow closing and disposal of the underlying . Depicts the contract for resource factories. Used to check whether the resource factory is able to deal with the given resource identifier. Implementors should return true only if the given identificator is supported by the resource factory Creates an instance for the given resource identifier Creates an instance for the given resource identifier Adapts a static string content as an Enable access to files on network shares Defines that the implementation wants a in order to access other components. The creator must be aware that the component might (or might not) implement the interface. Used by Castle Project components to, for example, gather logging factories