示例#1
0
 public static Product CreateDefault()
 {
     var result = new Product();
             result.SubProducts = ProductUsageCollection.CreateDefault();
             return result;
 }
示例#2
0
        void IInformationObject.SetInstanceTreeValuesAsUnmodified()
        {
            _unmodified_UsageAmountInDecimal = UsageAmountInDecimal;

                    _unmodified_Product = Product;
                    if(Product != null)
                        ((IInformationObject) Product).SetInstanceTreeValuesAsUnmodified();
        }
示例#3
0
 private void CopyContentFrom(Product sourceObject)
 {
     ImageBaseUrl = sourceObject.ImageBaseUrl;
             Title = sourceObject.Title;
             Excerpt = sourceObject.Excerpt;
             Description = sourceObject.Description;
             SubProducts = sourceObject.SubProducts;
 }
示例#4
0
        void IInformationObject.SetInstanceTreeValuesAsUnmodified()
        {
            _unmodified_ImageBaseUrl = ImageBaseUrl;
                    _unmodified_Title = Title;
                    _unmodified_Excerpt = Excerpt;
                    _unmodified_Description = Description;

                    _unmodified_Product = Product;
                    if(Product != null)
                        ((IInformationObject) Product).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_Who = Who;
                    if(Who != null)
                        ((IInformationObject) Who).SetInstanceTreeValuesAsUnmodified();
        }
示例#5
0
partial         static void CreateCustomDemo(ref Product customDemoObject);