public override IProp CreateCVProp(string propertyName, IProvideAView viewProvider, IPropTemplate propTemplate) { IEqualityComparer <ListCollectionView> comparer = RefEqualityComparer <ListCollectionView> .Default; bool comparerIsRefEquality = true; if (propTemplate == null) { propTemplate = GetPropTemplate <ListCollectionView>(PropKindEnum.CollectionView, PropStorageStrategyEnum.Internal, comparer.Equals, comparerIsRefEquality, null); } propTemplate.PropCreator = CookedCVPropCreator; CViewProp result = new CViewProp(propertyName, viewProvider, (IPropTemplate <ListCollectionView>)propTemplate); return(result); }
private static IProp CookedCVPropCreator(string propertyName2, object initialValue2, bool typeIsSolid2, IPropTemplate propTemplate2) { CViewProp result2 = new CViewProp(propertyName2, (IProvideAView)initialValue2, (IPropTemplate <ListCollectionView>)propTemplate2); return(result2); }