예제 #1
0
        public static IInformationObject GetTarget_CreatedObject(IContainerOwner owner, string objectDomainName, string objectName)
        {
            string             objectTypeName = objectDomainName + "." + objectName;
            Type               objectType     = Type.GetType(objectTypeName);
            IInformationObject iObj           = (IInformationObject)Activator.CreateInstance(objectType);
            var relativeLocation = StorageSupport.GetBlobOwnerAddress(owner, objectDomainName + "/" + objectName + "/" + iObj.ID);

            iObj.RelativeLocation = relativeLocation;
            return(iObj);
        }