예제 #1
0
		private static DiskContext.RoleReference CreateRoleReference(RoleReference roleReference)
		{
			if (roleReference != null)
			{
				DiskContext.RoleReference deploymentName = new DiskContext.RoleReference();
				deploymentName.DeploymentName = roleReference.DeploymentName;
				deploymentName.HostedServiceName = roleReference.HostedServiceName;
				deploymentName.RoleName = roleReference.RoleName;
				return deploymentName;
			}
			else
			{
				return null;
			}
		}