You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This list will include all the features removed in the Cosmos.Standard 0.2.0 release plan #2 .
Remove FastMember integration.
Due to the existence of NMS.Leo.Typed and Newbe.ObjectVisitor, Cosmos.Standard no longer needs to integrate FastMember (and its downstream Alexinea.FastMember, which fixes .NET Core 3.1 issues).
We have transferred the related code of FastMember integrated in Cosmos.Standard to Alexinea.FastMember.Extensions as a backup.
Remove all methods to get Attribute(s) in the extension method.
Please use TypeReflections or Types directly to get the Attribute(s) of the Type, MemberInfo(and its derived classes) or objects.
Remove all extension methods and utility methods for TypeInfo.
TypeInfo is a derived class of Type, so you can directly use extension methods or utility methods for Type.
- [x] Remove `ToTypeInfo()` extension methods.
Remove all Get and Set extension methods of PropertyValue.
With the refactoring of TypeReflections, SystemTypeExtensions, SystemPropertyExtensions and CosmosExpressionsExtensions (and the addition of TypeVisit that handles PropertyInfo and FieldInfo), we removed all the Get and Set extension methods of PropertyValue, including:
- [x] Remove all `GetPropertyValue`/`GetPropertyValueQuickly` extension methods
- [x] Remove all `SetPropertyValue`/`SetPropertyValueQuickly` extension methods
- [x] Remove `TypeAccessExtensions`, `TypeAccessCache`
As compensation, we transferred the code of GetPropertyValueQuickly and SetPropertyValueQuickly to Alexinea.FastMember.Extensions.
In the future, we will provide more APIs (including experimental API design) through the two projects Alexinea.FastMember.Extensions and Alexinea.TypedLeo.Extensions, among which mature and reliable APIs will be transplanted to the cosmos-loops project.
Remove and refactor all APIs related to type inheritance.
We adjust all APIs related to type inheritance to TypeInherit, and the specific entry is TypeReflections. Therefore, we removed the entry of all other tools and methods, as well as the related extension methods.
This discussion was converted from issue #60 on December 09, 2020 07:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This list will include all the features removed in the Cosmos.Standard 0.2.0 release plan #2 .
Remove FastMember integration.
Due to the existence of NMS.Leo.Typed and Newbe.ObjectVisitor, Cosmos.Standard no longer needs to integrate FastMember (and its downstream Alexinea.FastMember, which fixes .NET Core 3.1 issues).
We have transferred the related code of FastMember integrated in Cosmos.Standard to Alexinea.FastMember.Extensions as a backup.
Remove all methods to get Attribute(s) in the extension method.
Please use
TypeReflections
orTypes
directly to get the Attribute(s) of theType
,MemberInfo
(and its derived classes) or objects.Remove all extension methods and utility methods for
TypeInfo
.TypeInfo
is a derived class ofType
, so you can directly use extension methods or utility methods forType
.Remove all
Get
andSet
extension methods of PropertyValue.With the refactoring of
TypeReflections
,SystemTypeExtensions
,SystemPropertyExtensions
andCosmosExpressionsExtensions
(and the addition ofTypeVisit
that handles PropertyInfo and FieldInfo), we removed all theGet
andSet
extension methods of PropertyValue, including:Remove and refactor all APIs related to type inheritance.
We adjust all APIs related to type inheritance to
TypeInherit
, and the specific entry isTypeReflections
. Therefore, we removed the entry of all other tools and methods, as well as the related extension methods.The APIs we removed include:
Beta Was this translation helpful? Give feedback.
All reactions