コード例 #1
0
partial         void CopyExtraPropertiesToClone(ResourceInfo clone, bool includeLocalProperties);
コード例 #2
0
 public ResourceInfo Clone(bool includeLocalProperties)
 {
     var c = new ResourceInfo
             {
                 Description = Description,
                 Help = Help,
                 Href = Href,
                 Rel = Rel,
                 SupportsOData = SupportsOData,
                 SupportsTQL = SupportsTQL,
                 Title = Title,
                 SupportedHttpMethods = SupportedHttpMethods.ToList(),
             };
     CopyExtraPropertiesToClone(c, includeLocalProperties);
     return c;
 }