Silverlight 5 | WinRT |
public abstract class ComposablePart | public abstract class ComposablePart |
public abstract virtual IEnumerable`1<ExportDefinition> ExportDefinitions { get; } | public abstract virtual IEnumerable`1<ExportDefinition> ExportDefinitions { get; } |
public abstract virtual IEnumerable`1<ImportDefinition> ImportDefinitions { get; } | public abstract virtual IEnumerable`1<ImportDefinition> ImportDefinitions { get; } |
public virtual IDictionary`2<String, Object> Metadata { get; } | public virtual IDictionary`2<String, Object> Metadata { get; } |
public virtual void Activate(); | public virtual void Activate(); |
public abstract virtual Object GetExportedValue(ExportDefinition definition); | public abstract virtual Object GetExportedValue(ExportDefinition definition); |
public abstract virtual void SetImport(ImportDefinition definition, IEnumerable`1<Export> exports); | public abstract virtual void SetImport(ImportDefinition definition, IEnumerable`1<Export> exports); |
public abstract class ComposablePartCatalog | public abstract class ComposablePartCatalog |
: IDisposable | : IDisposable |
public abstract virtual IQueryable`1<ComposablePartDefinition> Parts { get; } | public abstract virtual IQueryable`1<ComposablePartDefinition> Parts { get; } |
public virtual void Dispose(); | public virtual void Dispose(); |
protected virtual void Dispose(Boolean disposing); | |
public virtual IEnumerable`1<Tuple`2<ComposablePartDefinition, ExportDefinition>> GetExports(ImportDefinition definition); | public virtual IEnumerable`1<Tuple`2<ComposablePartDefinition, ExportDefinition>> GetExports(ImportDefinition definition); |
public abstract class ComposablePartDefinition | public abstract class ComposablePartDefinition |
public abstract virtual IEnumerable`1<ExportDefinition> ExportDefinitions { get; } | public abstract virtual IEnumerable`1<ExportDefinition> ExportDefinitions { get; } |
public abstract virtual IEnumerable`1<ImportDefinition> ImportDefinitions { get; } | public abstract virtual IEnumerable`1<ImportDefinition> ImportDefinitions { get; } |
public virtual IDictionary`2<String, Object> Metadata { get; } | public virtual IDictionary`2<String, Object> Metadata { get; } |
public abstract virtual ComposablePart CreatePart(); | public abstract virtual ComposablePart CreatePart(); |
public class ComposablePartException | public class ComposablePartException |
: Exception, _Exception, ICompositionError | : Exception, ISerializable, _Exception |
public virtual ICompositionElement Element { get; } | public ICompositionElement Element { get; } |
public class ContractBasedImportDefinition | public class ContractBasedImportDefinition |
: ImportDefinition | : ImportDefinition |
public virtual Expression`1<Func`2<ExportDefinition, Boolean>> Constraint { get; } | public virtual Expression`1<Func`2<ExportDefinition, Boolean>> Constraint { get; } |
public virtual CreationPolicy RequiredCreationPolicy { get; } | public virtual CreationPolicy RequiredCreationPolicy { get; } |
public virtual IEnumerable`1<KeyValuePair`2<String, Type>> RequiredMetadata { get; } | public virtual IEnumerable`1<KeyValuePair`2<String, Type>> RequiredMetadata { get; } |
public virtual String RequiredTypeIdentity { get; } | public virtual String RequiredTypeIdentity { get; } |
public virtual Boolean IsConstraintSatisfiedBy(ExportDefinition exportDefinition); | public virtual Boolean IsConstraintSatisfiedBy(ExportDefinition exportDefinition); |
public class Export | public class Export |
public virtual ExportDefinition Definition { get; } | public virtual ExportDefinition Definition { get; } |
public IDictionary`2<String, Object> Metadata { get; } | public IDictionary`2<String, Object> Metadata { get; } |
public Object Value { get; } | public Object Value { get; } |
public class ExportDefinition | public class ExportDefinition |
public virtual String ContractName { get; } | public virtual String ContractName { get; } |
public virtual IDictionary`2<String, Object> Metadata { get; } | public virtual IDictionary`2<String, Object> Metadata { get; } |
public virtual String ToString(); | public virtual String ToString(); |
public class ExportedDelegate | public class ExportedDelegate |
public virtual Delegate CreateDelegate(Type delegateType); | public virtual Delegate CreateDelegate(Type delegateType); |
public abstract interface ICompositionElement | public abstract interface ICompositionElement |
public abstract virtual String DisplayName { get; } | public abstract virtual String DisplayName { get; } |
public abstract virtual ICompositionElement Origin { get; } | public abstract virtual ICompositionElement Origin { get; } |
public sealed enum ImportCardinality | public sealed enum ImportCardinality |
: IComparable, IFormattable, IConvertible | : IComparable, IFormattable, IConvertible |
{ ZeroOrOne, ExactlyOne, ZeroOrMore } | { ZeroOrOne, ExactlyOne, ZeroOrMore } |
public class ImportDefinition | public class ImportDefinition |
public virtual ImportCardinality Cardinality { get; } | public virtual ImportCardinality Cardinality { get; } |
public virtual Expression`1<Func`2<ExportDefinition, Boolean>> Constraint { get; } | public virtual Expression`1<Func`2<ExportDefinition, Boolean>> Constraint { get; } |
public virtual String ContractName { get; } | public virtual String ContractName { get; } |
public virtual Boolean IsPrerequisite { get; } | public virtual Boolean IsPrerequisite { get; } |
public virtual Boolean IsRecomposable { get; } | public virtual Boolean IsRecomposable { get; } |
public virtual IDictionary`2<String, Object> Metadata { get; } | |
public virtual Boolean IsConstraintSatisfiedBy(ExportDefinition exportDefinition); | public virtual Boolean IsConstraintSatisfiedBy(ExportDefinition exportDefinition); |
public virtual String ToString(); | public virtual String ToString(); |