Silverlight 5 | WinRT |
public abstract sealed class AttributedModelServices | public abstract sealed class AttributedModelServices |
static public ComposablePart AddExportedValue(CompositionBatch batch, T exportedValue); | static public ComposablePart AddExportedValue(CompositionBatch batch, T exportedValue); |
static public ComposablePart AddExportedValue(CompositionBatch batch, String contractName, T exportedValue); | static public ComposablePart AddExportedValue(CompositionBatch batch, String contractName, T exportedValue); |
static public ComposablePart AddPart(CompositionBatch batch, Object attributedPart); | static public ComposablePart AddPart(CompositionBatch batch, Object attributedPart); |
static public void ComposeExportedValue(CompositionContainer container, T exportedValue); | static public void ComposeExportedValue(CompositionContainer container, T exportedValue); |
static public void ComposeExportedValue(CompositionContainer container, String contractName, T exportedValue); | static public void ComposeExportedValue(CompositionContainer container, String contractName, T exportedValue); |
static public void ComposeParts(CompositionContainer container, Object attributedParts); | static public void ComposeParts(CompositionContainer container, Object attributedParts); |
static public ComposablePart CreatePart(Object attributedPart); | static public ComposablePart CreatePart(Object attributedPart); |
static public ComposablePart CreatePart(Object attributedPart, ReflectionContext reflectionContext); | |
static public ComposablePart CreatePart(ComposablePartDefinition partDefinition, Object attributedPart); | |
static public ComposablePartDefinition CreatePartDefinition(Type type, ICompositionElement origin); | static public ComposablePartDefinition CreatePartDefinition(Type type, ICompositionElement origin); |
static public ComposablePartDefinition CreatePartDefinition(Type type, ICompositionElement origin, Boolean ensureIsDiscoverable); | static public ComposablePartDefinition CreatePartDefinition(Type type, ICompositionElement origin, Boolean ensureIsDiscoverable); |
static public Boolean Exports(ComposablePartDefinition part, Type contractType); | |
static public Boolean Exports(ComposablePartDefinition part); | |
static public String GetContractName(Type type); | static public String GetContractName(Type type); |
static public TMetadataView GetMetadataView(IDictionary`2<String, Object> metadata); | static public TMetadataView GetMetadataView(IDictionary`2<String, Object> metadata); |
static public String GetTypeIdentity(Type type); | static public String GetTypeIdentity(Type type); |
static public String GetTypeIdentity(MethodInfo method); | static public String GetTypeIdentity(MethodInfo method); |
static public Boolean Imports(ComposablePartDefinition part, Type contractType); | |
static public Boolean Imports(ComposablePartDefinition part); | |
static public Boolean Imports(ComposablePartDefinition part, Type contractType, ImportCardinality importCardinality); | |
static public Boolean Imports(ComposablePartDefinition part, ImportCardinality importCardinality); | |
static public ComposablePart SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart); | static public ComposablePart SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart); |
public class CatalogReflectionContextAttribute | |
: Attribute, _Attribute | |
public ReflectionContext CreateReflectionContext(); |
public class ChangeRejectedException | public class ChangeRejectedException |
: CompositionException, _Exception | : CompositionException, ISerializable, _Exception |
public virtual String Message { get; } | public virtual String Message { get; } |
public class CompositionContractMismatchException | public class CompositionContractMismatchException |
: Exception, _Exception | : Exception, ISerializable, _Exception |
public class CompositionError | public class CompositionError |
: ICompositionError | |
public String Description { get; } | public String Description { get; } |
public virtual ICompositionElement Element { get; } | public ICompositionElement Element { get; } |
public Exception Exception { get; } | public Exception Exception { get; } |
public virtual String ToString(); | public virtual String ToString(); |
public class CompositionException | public class CompositionException |
: Exception, _Exception | : Exception, ISerializable, _Exception |
public ReadOnlyCollection`1<CompositionError> Errors { get; } | public ReadOnlyCollection`1<CompositionError> Errors { get; } |
public virtual String Message { get; } | public virtual String Message { get; } |
public abstract sealed class CompositionInitializer | |
static public void SatisfyImports(Object attributedPart); | |
static public void SatisfyImports(ComposablePart part); |
public sealed enum CreationPolicy | public sealed enum CreationPolicy |
: IComparable, IFormattable, IConvertible | : IComparable, IFormattable, IConvertible |
{ Any, Shared, NonShared } | { Any, Shared, NonShared, NewScope } |
public class ExportAttribute | public class ExportAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public String ContractName { get; } | public String ContractName { get; set; } |
public Type ContractType { get; } | public Type ContractType { get; set; } |
public class ExportFactory`1<T> | public class ExportFactory`1<T> |
public ExportLifetimeContext`1<T> CreateExport(); | public ExportLifetimeContext`1<T> CreateExport(); |
public class ExportFactory`2<T, TMetadata> | public class ExportFactory`2<T, TMetadata> |
: ExportFactory`1<T> | : ExportFactory`1<T> |
public TMetadata Metadata { get; } | public TMetadata Metadata { get; } |
public sealed class ExportLifetimeContext`1<T> | public sealed class ExportLifetimeContext`1<T> |
: IDisposable | : IDisposable |
public T Value { get; } | public T Value { get; } |
public virtual void Dispose(); | public virtual void Dispose(); |
public sealed class ExportMetadataAttribute | public sealed class ExportMetadataAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public Boolean IsMultiple { get; set; } | public Boolean IsMultiple { get; set; } |
public String Name { get; } | public String Name { get; set; } |
public Object Value { get; } | public Object Value { get; set; } |
public abstract interface ICompositionService | public abstract interface ICompositionService |
public abstract virtual void SatisfyImportsOnce(ComposablePart part); | public abstract virtual void SatisfyImportsOnce(ComposablePart part); |
public class ImportAttribute | public class ImportAttribute |
: Attribute, _Attribute, IAttributedImport | : Attribute, _Attribute, IAttributedImport |
public Boolean AllowDefault { get; set; } | public Boolean AllowDefault { get; set; } |
public virtual Boolean AllowRecomposition { get; set; } | public virtual Boolean AllowRecomposition { get; set; } |
public virtual String ContractName { get; } | public virtual String ContractName { get; set; } |
public virtual Type ContractType { get; } | public virtual Type ContractType { get; set; } |
public virtual CreationPolicy RequiredCreationPolicy { get; set; } | public virtual CreationPolicy RequiredCreationPolicy { get; set; } |
public class ImportCardinalityMismatchException | public class ImportCardinalityMismatchException |
: Exception, _Exception | : Exception, ISerializable, _Exception |
public class ImportingConstructorAttribute | public class ImportingConstructorAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public class ImportManyAttribute | public class ImportManyAttribute |
: Attribute, _Attribute, IAttributedImport | : Attribute, _Attribute, IAttributedImport |
public virtual Boolean AllowRecomposition { get; set; } | public virtual Boolean AllowRecomposition { get; set; } |
public virtual String ContractName { get; } | public virtual String ContractName { get; set; } |
public virtual Type ContractType { get; } | public virtual Type ContractType { get; set; } |
public virtual CreationPolicy RequiredCreationPolicy { get; set; } | public virtual CreationPolicy RequiredCreationPolicy { get; set; } |
public sealed enum ImportSource | |
: IComparable, IFormattable, IConvertible | |
{ Any, Local, NonLocal } |
public class InheritedExportAttribute | public class InheritedExportAttribute |
: ExportAttribute, _Attribute | : ExportAttribute, _Attribute |
public abstract interface IPartImportsSatisfiedNotification | public abstract interface IPartImportsSatisfiedNotification |
public abstract virtual void OnImportsSatisfied(); | public abstract virtual void OnImportsSatisfied(); |
public sealed class MetadataAttributeAttribute | public sealed class MetadataAttributeAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public sealed class MetadataViewImplementationAttribute | |
: Attribute, _Attribute | |
public Type ImplementationType { get; set; } |
public sealed class PartCreationPolicyAttribute | public sealed class PartCreationPolicyAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public CreationPolicy CreationPolicy { get; } | public CreationPolicy CreationPolicy { get; set; } |
public sealed class PartMetadataAttribute | public sealed class PartMetadataAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |
public String Name { get; } | public String Name { get; set; } |
public Object Value { get; } | public Object Value { get; set; } |
public sealed class PartNotDiscoverableAttribute | public sealed class PartNotDiscoverableAttribute |
: Attribute, _Attribute | : Attribute, _Attribute |