Improve Globalization domain

for now, the Globalization domain is not very good. And the performance of element provider is not good too. so should improve it with new component "IoC" instead of "MEF".

Id #4556 | Release: Sparrow BETA 1.0 (Revsion 3) | Updated: Jan 4, 2011 at 11:18 AM by cnlangzi | Created: Jan 4, 2011 at 11:18 AM by cnlangzi

Improve document comment in code

for now, the code has not any document comment, should improve them in this release. And should build them to a chm file.

Id #4555 | Release: Sparrow BETA 1.0 (Revsion 3) | Updated: Jan 4, 2011 at 9:25 AM by cnlangzi | Created: Jan 4, 2011 at 9:24 AM by cnlangzi

Should publish a setting item "DefaultOrderedExportIndex", let user can config the ordered index

e.g. I got a library, it contains an export without ordered index, and I will export an implementation to replace the default implementation, if i can NOT update the default ordered index, i can...

Id #4554 | Release: Sparrow BETA 1.0 (Revsion 3) | Updated: Jan 4, 2011 at 9:19 AM by cnlangzi | Created: Jan 4, 2011 at 9:03 AM by cnlangzi

Should throw a MissingContractException when a abstract class can not find any exports.

both throw a MissingContractExeption when a abstract class and an interface can not find any exports.

Id #4553 | Release: None | Updated: Dec 28, 2010 at 1:15 PM by cnlangzi | Created: Dec 27, 2010 at 12:42 AM by cnlangzi

Add a new attribute [ExportIndexAttribute] to order the mapping rule in collection

It will return the first mapping rule when we call ObjectContainer.CreateInstance. ObjectContainer.CreateInstace = ObjectContainer.CreateInstaces.FirstOrDefault(),so we hope the mapping has a [Or...

Id #4552 | Release: None | Updated: Dec 21, 2010 at 10:49 PM by cnlangzi | Created: Dec 15, 2010 at 12:18 PM by cnlangzi

Only one mapping rule should be added when a type is exported to the same type more than once.

for example: ObjectContainer.Export<MyClass>().To<IClass>(); ObjectContainer.Export<MyClass>().To<IClass>(); ObjectContainer.CreateInstances<IClass>().Count() should be ONE.

Id #4551 | Release: None | Updated: Dec 21, 2010 at 10:49 PM by cnlangzi | Created: Dec 15, 2010 at 11:26 AM by cnlangzi

Add a new attribute [InitializerAttribute] for creating an instance of the type

for some season, we will not provide a public constructor with no parameters,so we can NOT create an instance for the type under some TrustLevel (e.g. Medium). or we will get more better performa...

Id #4550 | Release: None | Updated: Dec 21, 2010 at 10:50 PM by cnlangzi | Created: Dec 15, 2010 at 10:07 AM by cnlangzi

Rename "ObjectContainer.Resolve" to "ObjectContainer.Create"

This is an object factory, its responsibility is create object , not rebuild.

Id #4549 | Release: None | Updated: Dec 21, 2010 at 10:50 PM by cnlangzi | Created: Dec 14, 2010 at 8:17 AM by cnlangzi

Support export a class with a contract name in ObjectContainer

like mef. Export(typeof(MyClass)."MyContracName"))

Id #4548 | Release: None | Updated: Dec 21, 2010 at 10:50 PM by cnlangzi | Created: Dec 13, 2010 at 11:17 AM by cnlangzi

Create Try-Resolve pattern for ObjectContainer,ContextContainer

Like Parse and TryParse. All exception will be handled in TryResolve.

Id #4547 | Release: None | Updated: Dec 12, 2010 at 1:44 AM by cnlangzi | Created: Dec 12, 2010 at 12:43 AM by cnlangzi

  • 1-10 of 10 Work Items
    • Previous
    • 1
    • Next
    • Showing
    • 10
    • Work Items